CN108206777A - A kind of information push method and server - Google Patents
A kind of information push method and server Download PDFInfo
- Publication number
- CN108206777A CN108206777A CN201711219325.9A CN201711219325A CN108206777A CN 108206777 A CN108206777 A CN 108206777A CN 201711219325 A CN201711219325 A CN 201711219325A CN 108206777 A CN108206777 A CN 108206777A
- Authority
- CN
- China
- Prior art keywords
- message
- mobile terminal
- pushed
- application program
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/226—Delivery according to priorities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/234—Monitoring or handling of messages for tracking messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0229—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
- H04W52/0232—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal according to average transmission signal activity
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
An embodiment of the present invention provides a kind of information push method and servers, are related to field of communication technology.The embodiment of the present invention is by obtaining message to be pushed, when the message to be pushed is system message, and mobile terminal is when being in active state, the system message is pushed into the mobile terminal, when the message to be pushed is application message, and the application message is pushed to the application program when being in active state by the corresponding application program of application message described in mobile terminal.Only in mobile terminal or when being in active state of application program, just to mobile terminal or application program PUSH message, the wake-up times of mobile terminal are reduced, save flow consumption, improve the performance of mobile terminal, are avoided to interference caused by user.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of information push methods and server.
Background technology
With the continuous development of mobile terminal technology, various types of mobile terminals are received by users, in movement
Various application programs can be installed, different application programs can provide different functions, as game application, video should be cultivated in terminal
Can, social networking application, communication applications etc..
At present, in order to user is allowed to obtain the application server of newest message, vendor server and each application program in time
Newer message will be pushed to mobile terminal.
But vendor server and application server can lead to the property of mobile terminal frequently to mobile terminal PUSH message
It can reduce, vibration and prompt tone are often accompanied by PUSH message, is interfered to user.
Invention content
The embodiment of the present invention provides a kind of information push method, server and computer readable storage medium, to solve mesh
Preceding message push can lead to the reduced performance of mobile terminal, the problem of being interfered to user.
In order to solve the above-mentioned technical problem, the invention is realized in this way:A kind of information push method, including:
Obtain message to be pushed;
When the message to be pushed is system message, and mobile terminal is in active state, by the system message
Push to the mobile terminal;
When the message to be pushed is application message, and at the corresponding application program of application message described in mobile terminal
When active state, the application message is pushed into the application program.
In a first aspect, an embodiment of the present invention provides a kind of server, including:
Message capturing module, for obtaining message to be pushed;
System message pushing module, for being system message, and mobile terminal is in active when the message to be pushed
During state, the system message is pushed into the mobile terminal;
Application message pushing module, for being application message, and should described in mobile terminal when the message to be pushed
When being in active state with the corresponding application program of message, the application message is pushed into the application program.
Second aspect, the embodiment of the present invention additionally provide a kind of server, including processor, memory and are stored in described
It is real when the computer program is performed by the processor on memory and the computer program that can run on the processor
The step of existing information push method of the present invention.
The third aspect, the embodiment of the present invention is additionally provided with a kind of computer readable storage medium, described computer-readable
Computer program is stored on storage medium, the computer program realizes message push of the present invention when being executed by processor
The step of method.
In embodiments of the present invention, by obtaining message to be pushed, when the message to be pushed be system message, and
When mobile terminal is in active state, the system message is pushed into the mobile terminal, when the message to be pushed is
Application message, and when the corresponding application program of application message described in mobile terminal is in active state, by the application message
Push to the application program.Only in mobile terminal or application program when being in active state, just to mobile terminal or should
With program PUSH message, the wake-up times of mobile terminal are reduced, flow consumption is saved, improves the performance of mobile terminal, keep away
Exempt to interference caused by user.
Description of the drawings
Fig. 1 shows a kind of flow chart of information push method of the embodiment of the present invention one;
Fig. 2 shows a kind of flow charts of information push method of the embodiment of the present invention two;
Fig. 3 shows a kind of flow chart of information push method of the embodiment of the present invention three;
Fig. 4 shows a kind of structure diagram of server of the embodiment of the present invention four;
Fig. 5 shows the structure diagram of another server of the embodiment of the present invention four.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
With reference to Fig. 1, a kind of flow chart of information push method of the embodiment of the present invention one is shown, can specifically include such as
Lower step:
Step 101, message to be pushed is obtained.
In embodiments of the present invention, various types of application can be installed in the terminal, using alternatively referred to as should
With program, such as the applications such as wechat, microblogging, when the corresponding application server of application program has newer message, then to movement
The corresponding application program of terminal sends PUSH message;Correspondingly, when vendor server has newer message, such as system upgrade
Message etc. also can send corresponding PUSH message to mobile terminal.
Wherein, the PUSH message that vendor server is sent to mobile terminal can be described as system message, and application server is to right
The PUSH message that the application program answered is sent can be described as application message.
When vendor server or application server have newer message, obtain and treated in vendor server or application server
The message of push.
Step 102, when the message to be pushed is system message, and mobile terminal is in active state, by described in
System message pushes to the mobile terminal.
In embodiments of the present invention, according to the source of message, it is that system message or application disappear to determine message to be pushed
Breath, if newer message in vendor server, it is determined that message to be pushed is system message.
Then, it is determined that the state that mobile terminal is current, when mobile terminal is in active state, by vendor server more
New system message pushes to mobile terminal, after mobile terminal receives system message, is popped up in the display interface of mobile terminal
Notification window shows the system message in notification window or the system message is shown in the notification bar of mobile terminal, carries
Show that user checks the system message.Wherein, notification bar is the toolbar for display system message and application message.
It should be noted that according to preset rules, estimate whether current time user is using mobile terminal, when
The result estimated is user when using mobile terminal, it is determined that current mobile terminal is in active state, when the result estimated
It is user not when using mobile terminal, it is determined that current mobile terminal is in an inactive state.
Step 103, when the message to be pushed be application message, and application message described in mobile terminal it is corresponding should
When being in active state with program, the application message is pushed into the application program.
In embodiments of the present invention, according to the source of message, it is that system message or application disappear to determine message to be pushed
Breath, if newer message in application server, it is determined that message to be pushed is application message.
Then, it is determined that the state that the corresponding application program of application message described in mobile terminal is current, at application program
When active state, application message newer in application server is pushed to the application program in mobile terminal, application program
After receiving application message, in the display interface pop-up notification window of mobile terminal, the application message is shown in notification window,
Or the application message is shown in the notification bar of mobile terminal, user is prompted to check the application message.
In practical applications, each application program installed in mobile terminal at runtime, after all individually opening one
Platform pushes process, for receiving corresponding application message, and shows the application message in mobile terminal.
It should be noted that according to preset rules, estimate whether current time user is using application message pair
The application program answered, when the result estimated is user when using the corresponding application program of application message, it is determined that current application
The corresponding application program of message is in active state, when the result estimated is not using application message corresponding using journey for user
During sequence, it is determined that the corresponding application program of current application message is in an inactive state.
In a kind of preferred embodiment of the present invention, after obtaining message to be pushed in step 101, it is necessary first to judge
Message to be pushed is common message or emergency message;It, will be described urgent when described when the message pushed is emergency message
Message pushes to mobile terminal or application program.Wherein, when the message to be pushed is newer system in vendor server
During emergency message, system emergency message is directly pushed into mobile terminal;When the message to be pushed is in application server
During newer application emergency message, directly corresponding application program will be pushed to using emergency message;When described to be pushed disappears
When ceasing for common message, step 102 or step 103 are performed.
By that will treat that PUSH message is divided into emergency message and common message, emergency message delay push therein is avoided to cause
Push not in time, improve emergency message push timeliness.
In embodiments of the present invention, by obtaining message to be pushed, when the message to be pushed be system message, and
When mobile terminal is in active state, the system message is pushed into the mobile terminal, when the message to be pushed is
Application message, and when the corresponding application program of application message described in mobile terminal is in active state, by the application message
Push to the application program.Only in mobile terminal or application program when being in active state, just to mobile terminal or should
With program PUSH message, the wake-up times of mobile terminal are reduced, flow consumption is saved, improves the performance of mobile terminal, keep away
Exempt to interference caused by user.
Embodiment two
Information push method provided by Embodiment 2 of the present invention is mainly for the push of system message.
With reference to Fig. 2, a kind of flow chart of information push method of the embodiment of the present invention two is shown, can specifically include such as
Lower step:
Step 201, message to be pushed is obtained.
This step is similar with step 101 principle in embodiment one, and this will not be detailed here.
Step 202, the history usage time interval of the mobile terminal is obtained.
In embodiments of the present invention, it counts in certain period of time, user uses the light on and off screen time of mobile terminal, root daily
It uses the light on and off screen time of mobile terminal daily according to user, determines the history usage time interval of mobile terminal, obtain mobile terminal
History usage time interval.
For example, it is daily 8 using the light on and off screen time of mobile terminal to count user in one week:00 to 21:00, it is determined that move
The history usage time interval of dynamic terminal is 8:00 to 21:00.
Step 203, according to the history usage time interval of the mobile terminal, the object time of the mobile terminal is determined
Section.
In embodiments of the present invention, according to the history usage time interval of mobile terminal, analysis user uses movement in one day
The period of terminal, so that it is determined that going out the target time section of mobile terminal.
For example, if the history usage time interval of mobile terminal is 8 in one week:00 to 21:00, it is determined that the mesh of mobile terminal
It is 8 to mark the period:00 to 21:00;If the history usage time interval for having 6 day time mobile terminal in one week is 8:00 to 21:00,
History usage time interval one day remaining is 8:00 to 22:00, it is determined that the target time section of mobile terminal is 8:00 to 21:
00。
Step 204, it when being in the target time section of the mobile terminal at current time, determines at the mobile terminal
In active state.
In embodiments of the present invention, at the time of obtaining current, the target time section of current time and mobile terminal is carried out
If current time is in the target time section of mobile terminal, it is mobile whole to can determine that current time user is used for comparison
End, at this point, mobile terminal is in active state.
For example, current time is 9:00, the target time section of mobile terminal is 8:00 to 21:00, current time, which is in, moves
In the target time section of dynamic terminal, then it can determine that mobile terminal is in active state.
Step 205, when the message to be pushed is system message, and mobile terminal is in active state, by described in
System message pushes to the mobile terminal.
In embodiments of the present invention, message to be pushed is system message, when mobile terminal is in active state, by factory
Newer system message pushes to mobile terminal in quotient's server, after mobile terminal receives system message, shows that the system disappears
Breath.
Step 206, when being not at current time in the target time section of the mobile terminal, the mobile terminal is determined
In an inactive state.
In embodiments of the present invention, after step 203 determines the target time section of mobile terminal, when obtaining current
It carves, the target time section of current time and mobile terminal is compared, if current time is not in the target of mobile terminal
Between in section, then can determine that current time user is not using mobile terminal, at this point, mobile terminal is in an inactive state.
For example, current time is 7:00, the target time section of mobile terminal is 8:00 to 21:00, current time is not in
In the target time section of mobile terminal, then it can determine that mobile terminal is in an inactive state.
Step 207, when the message to be pushed is system message, and mobile terminal is in an inactive state, by institute
It states after system message was delayed to for the first specified time and pushes to the mobile terminal.
In embodiments of the present invention, message to be pushed is system message, when mobile terminal is in an inactive state, this
When, temporarily system message newer in vendor server is not pushed into mobile terminal, only when mobile terminal is from inactive shape
When state is converted into active state, system message is just pushed into mobile terminal so that user can effectively view push is
System message.
Wherein, first specified time for the mobile terminal from an inactive state be converted into active state when it is corresponding
Moment.
For example, current time is 7:00, the target time section of mobile terminal is 8:00 to 21:00, at this point, at mobile terminal
In an inactive state, then temporarily system message is not pushed into mobile terminal, system message is deferred to 8:00 pushes to shifting again
Dynamic terminal, at this point, the first specified time was 8:00, i.e., mobile terminal from an inactive state be converted into active state when it is corresponding when
It carves.
It, can be artificial in newer system message in obtaining vendor server in a kind of preferred embodiment of the present invention
It is common message or emergency message to judge the system message, if the system message is emergency message, directly by the system message
Mobile terminal is pushed to, the system message is pushed without determining whether according to the state of mobile terminal, even if mobile terminal is current
In an inactive state, also the system message is pushed to mobile terminal;If the system message is common message, the present invention is taken to carry
The method of confession is pushed, and only when mobile terminal is in active state, which is pushed to mobile terminal, works as shifting
When dynamic terminal is in an inactive state, it is delayed to after the first specified time and the system message is pushed into mobile terminal.
By classifying to system message, push caused by avoiding emergency message delay push therein not in time, carries
The high timeliness of emergency message push.
In embodiments of the present invention, by obtaining message to be pushed, the history usage time of the mobile terminal is obtained
Section, according to the history usage time interval of the mobile terminal, determines the target time section of the mobile terminal, at current time
When in the target time section of the mobile terminal, determine that the mobile terminal is in active state, when described to be pushed disappears
It ceases for system message, and when mobile terminal is in active state, the system message is pushed into the mobile terminal;Current
Moment is not in the target time section of the mobile terminal, is determined that the mobile terminal is in an inactive state, is treated when described
The message of push is system message, and when mobile terminal is in an inactive state, and the system message is delayed to first and is specified
The mobile terminal is pushed to after time.Only when mobile terminal is in active state, system message is just pushed into movement
When mobile terminal is in an inactive state, mobile terminal is pushed to when being delayed to active state by terminal for system message, is reduced
The wake-up times of mobile terminal save flow consumption, improve the performance of mobile terminal, avoid and done to caused by user
It disturbs;Meanwhile improve the validity that user checks system message.
Embodiment three
The information push method that the embodiment of the present invention three provides is mainly for the push of application message.
With reference to Fig. 3, a kind of flow chart of information push method of the embodiment of the present invention three is shown, can specifically include such as
Lower step:
Step 301, message to be pushed is obtained.
This step is similar with step 101 principle in embodiment one, and this will not be detailed here.
Step 302, the history usage time interval of application program in the mobile terminal is obtained.
In embodiments of the present invention, it counts in certain period of time, user is daily using each application program in mobile terminal
Time, according to user daily use each application program time, determine application program in mobile terminal history use when
Between section, obtain the history usage time interval of application program.
For example, it is 8 to count user in one week to use the time of " today's tops " application program daily:30 to 9:30, then really
The history usage time interval of fixed " today's tops " application program is 8:30 to 9:30.
Step 303, it according to the history usage time interval of application program in the mobile terminal, determines in the mobile terminal
The target time section of application program.
In embodiments of the present invention, according to the history usage time interval of application program in mobile terminal, analysis user one day
The interior period using application program in mobile terminal, so that it is determined that going out the target time section of application program in mobile terminal.
For example, if the history usage time interval of " today's tops " application program is 8 in one week:30 to 9:30, it is determined that " modern
Day top news " application program target time section be 8:30 to 9:30.
Step 304, it when being in the target time section of the corresponding application program of the application message at current time, determines
The corresponding application program of the application message is in active state.
In embodiments of the present invention, at the time of obtaining current, by current time application program corresponding with application message
Target time section is compared, if current time is in the target time section of the corresponding application program of application message, can be sentenced
Determine current time user and the corresponding application program of application message is used, it is determined that the corresponding application program of application message is in
Active state.
For example, current time is 8:40, application message be today's tops news A1, the target of " today's tops " application program
Period is 8:30 to 9:30, current time is in the target time section of " today's tops " application program, then can determine " today
Top news " application program is in active state.
Step 305, when the message to be pushed be application message, and application message described in mobile terminal it is corresponding should
When being in active state with program, the application message is pushed into the application program.
In embodiments of the present invention, message to be pushed is application message, and the application message described in the mobile terminal corresponds to
Application program when being in active state, application message newer in application server is pushed into corresponding application program, should
After receiving application message with program, the application message is shown in the terminal.
For example, application message is today's tops news A1, and " today's tops " application program is in active state, then will be modern
Day, top news A1 pushed to " today's tops " application program.
Step 306, when being not at current time in the target time section of the corresponding application program of the application message, really
Determine the corresponding application program of the application message and be in an inactive state.
In embodiments of the present invention, it is obtained after the target time section of application program in step 303 determines mobile terminal
At the time of taking current, by current time, the target time section of application program corresponding with application message compares, if when current
Quarter is not in the target time section of the corresponding application program of application message, then can determine that current time user is not using application
The corresponding application program of message, it is determined that the corresponding application program of application message is in an inactive state.
For example, current time is 8:00, application message be today's tops news A2, the target of " today's tops " application program
Period is 8:30 to 9:30, current time is not in the target time section of " today's tops " application program, then can determine " modern
Application program is in an inactive state to day top news ".
Step 307, when the message to be pushed be application message, and application message described in mobile terminal it is corresponding should
When being in an inactive state with program, the application message was delayed to after the second specified time and pushes to the application program.
In embodiments of the present invention, message to be pushed is application message, and the application message described in the mobile terminal corresponds to
Application program when being in an inactive state, at this point, temporarily application message newer in application server is not pushed to correspondence
Application program, only when application program is converted into active state from an inactive state, application message is just pushed into application
Program so that user can effectively view the application message of push.
Wherein, second specified time for the application program from an inactive state be converted into active state when it is corresponding
Moment.
For example, current time is 8:00, application message be today's tops news A2, the target of " today's tops " application program
Period is 8:30 to 9:30, at this point, " today's tops " application program is in an inactive state, then it is temporarily today's tops is not new
It hears A2 and pushes to " today's tops " application program, today's tops news A2 is deferred to 8:30 push to " today's tops " application again
Program, at this point, the second specified time was 8:30, i.e., " today's tops " application program from an inactive state be converted into active state when
At the time of corresponding.
It, can be artificial in newer application message in obtaining application server in a kind of preferred embodiment of the present invention
It is common message or emergency message to judge the application message, if the application message is emergency message, directly by the application message
Corresponding application program is pushed to, without determining whether that pushing the application disappears according to the state of the corresponding application program of application message
Breath, also should to the corresponding application program push of application message even if the corresponding application program of application message is in an inactive state
Application message;If the application message is common message, method provided by the invention is taken to be pushed, only in application message pair
When the application program answered is in active state, which is pushed into corresponding application program, when application message is corresponding
When application program is in an inactive state, be delayed to after the second specified time the application message is pushed to it is corresponding using journey
Sequence.
By classifying to application message, push caused by avoiding emergency message delay push therein not in time, carries
The high timeliness of emergency message push.
In embodiments of the present invention, by obtaining message to be pushed, going through for application program in the mobile terminal is obtained
History usage time interval, according to the history usage time interval of application program in the mobile terminal, determining should in the mobile terminal
With the target time section of program, when being in the target time section of the corresponding application program of the application message at current time,
Determine that the corresponding application program of the application message is in active state, when the message to be pushed is application message, and move
When the corresponding application program of application message is in active state described in dynamic terminal, the application message is pushed into the application
Program when being not at current time in the target time section of the corresponding application program of the application message, determines the application
The corresponding application program of message is in an inactive state, when the message to be pushed is application message, and institute in mobile terminal
When stating the corresponding application program of application message and being in an inactive state, the application message is delayed to the second specified time pusher
It send to the application program.Only when the corresponding application program of application message is in active state, just application message is pushed
Extremely corresponding application program, will when being delayed to active state when the corresponding application program of application message is in an inactive state
Application message pushes to corresponding application program, reduces the wake-up times of mobile terminal, saves flow consumption, improves movement
The performance of terminal is avoided to interference caused by user;Meanwhile improve the validity that user checks application message.
Example IV
With reference to Fig. 4, a kind of structure diagram of server of the embodiment of the present invention four is shown.
The server 400 includes:Message capturing module 401, system message pushing module 402 and application message push mould
Block 403.
Message capturing module 401, for obtaining message to be pushed.
System message pushing module 402, for being system message, and mobile terminal is in and lives when the message to be pushed
During jump state, the system message is pushed into the mobile terminal.
Application message pushing module 403, for being application message, and described in mobile terminal when the message to be pushed
When the corresponding application program of application message is in active state, the application message is pushed into the application program.
With reference to Fig. 5, the structure diagram of another server of the embodiment of the present invention four is shown.
On the basis of Fig. 4, optionally, the server 400 can also include:
Emergency message pushing module 404, for when it is described wait the message pushed be emergency message when, by the emergency message
Push to mobile terminal or application program.
Optionally, the server 400, can also include:
First acquisition module 405, for obtaining the history usage time interval of the mobile terminal;
First object period determining module 406 for the history usage time interval according to the mobile terminal, determines institute
State the target time section of mobile terminal;
First active state determining module 407, for being in the target time section of the mobile terminal at current time
When, determine that the mobile terminal is in active state;
First an inactive state determining module 408, for being not in the object time of the mobile terminal at current time
When in section, determine that the mobile terminal is in an inactive state.
Optionally, the server 400, can also include:
System message postpones pushing module 409, for being system message, and at mobile terminal when the message to be pushed
When an inactive state, the system message was delayed to after the first specified time and pushes to the mobile terminal;Described first
At the time of specified time corresponds to when being converted into active state from an inactive state for the mobile terminal.
Optionally, the server 400, can also include:
Second acquisition module 410, for obtaining the history usage time interval of application program in the mobile terminal;
Second target time section determining module 411, for according in the mobile terminal application program history use when
Between section, determine the target time section of application program in the mobile terminal;
Second active state determining module 412, for being in the corresponding application program of the application message at current time
Target time section in when, determine that the corresponding application program of the application message is in active state;
Second an inactive state determining module 413, for being not in the corresponding application of the application message at current time
When in the target time section of program, determine that the corresponding application program of the application message is in an inactive state.
Optionally, the server 400, can also include:
Application message postpones pushing module 414, for being application message, and in mobile terminal when the message to be pushed
When the corresponding application program of the application message is in an inactive state, after the application message was delayed to the second specified time
Push to the application program;Second specified time for the application program from an inactive state be converted into active state when
At the time of corresponding.
Server provided in an embodiment of the present invention can realize that server is realized each in the embodiment of the method for Fig. 1 to 3
Process is repeated to avoid, and which is not described herein again.
In embodiments of the present invention, by obtaining message to be pushed, when the message to be pushed be system message, and
When mobile terminal is in active state, the system message is pushed into the mobile terminal, when the message to be pushed is
Application message, and when the corresponding application program of application message described in mobile terminal is in active state, by the application message
Push to the application program.Only in mobile terminal or application program when being in active state, just to mobile terminal or should
With program PUSH message, the wake-up times of mobile terminal are reduced, flow consumption is saved, improves the performance of mobile terminal, keep away
Exempt to interference caused by user.
Embodiment five
Preferably, the embodiment of the present invention also provides a kind of server, and including processor, memory, storage is on a memory
And the computer program that can be run on the processor, the computer program realize above-mentioned message push when being executed by processor
Each process of embodiment of the method, and identical technique effect can be reached, it is repeated to avoid, which is not described herein again.
Embodiment six
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned information push method embodiment, and energy when being executed by processor
Reach identical technique effect, repeated to avoid, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services
Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form is belonged within the protection of the present invention.
Claims (14)
1. a kind of information push method, which is characterized in that including:
Obtain message to be pushed;
When the message to be pushed is system message, and mobile terminal is in active state, the system message is pushed
To the mobile terminal;
When the message to be pushed is application message, and the corresponding application program of application message described in mobile terminal is in and lives
During jump state, the application message is pushed into the application program.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
When the message to be pushed is system message, and mobile terminal is in an inactive state, the system message is prolonged
Late to pushing to the mobile terminal after the first specified time;First specified time is the mobile terminal from inactive shape
At the time of state corresponds to when being converted into active state.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
When the message to be pushed is application message, and the corresponding application program of application message described in mobile terminal is in non-
During active state, the application message was delayed to after the second specified time and pushes to the application program;Described second is specified
At the time of time corresponds to when being converted into active state from an inactive state for the application program.
4. according to the method described in claim 1, it is characterized in that, the system message is pushed into the movement eventually described
Before the step of end, further include:
Obtain the history usage time interval of the mobile terminal;
According to the history usage time interval of the mobile terminal, the target time section of the mobile terminal is determined;
When being in the target time section of the mobile terminal at current time, determine that the mobile terminal is in active state;
When being not at current time in the target time section of the mobile terminal, determine that the mobile terminal is in inactive shape
State.
5. according to the method described in claim 1, it is characterized in that, it is described the application message pushed to it is described using journey
Before the step of sequence, further include:
Obtain the history usage time interval of application program in the mobile terminal;
According to the history usage time interval of application program in the mobile terminal, the mesh of application program in the mobile terminal is determined
Mark the period;
When being in the target time section of the corresponding application program of the application message at current time, the application message is determined
Corresponding application program is in active state;
When being not at current time in the target time section of the corresponding application program of the application message, determine that the application disappears
It ceases corresponding application program and is in an inactive state.
6. according to the method described in claim 1, it is characterized in that, after described the step of obtaining message to be pushed, go back
Including:
When described when the message pushed is emergency message, the emergency message is pushed into mobile terminal or application program.
7. a kind of server, which is characterized in that including:
Message capturing module, for obtaining message to be pushed;
System message pushing module, for being system message, and mobile terminal is in active state when the message to be pushed
When, the system message is pushed into the mobile terminal;
Application message pushing module, for being application message, and apply and disappear described in mobile terminal when the message to be pushed
When ceasing corresponding application program and being in active state, the application message is pushed into the application program.
8. server according to claim 7, which is characterized in that further include:
System message postpones pushing module, for being system message, and mobile terminal is in non-live when the message to be pushed
During jump state, the system message was delayed to after the first specified time and pushes to the mobile terminal;It is described first it is specified when
Between be at the time of correspondence when the mobile terminal is converted into active state from an inactive state.
9. server according to claim 7, which is characterized in that further include:
Application message postpones pushing module, for being application message, and should described in mobile terminal when the message to be pushed
When being in an inactive state with the corresponding application program of message, pushed to after the application message was delayed to the second specified time
The application program;Second specified time for the application program from an inactive state be converted into active state when it is corresponding
Moment.
10. server according to claim 7, which is characterized in that further include:
First acquisition module, for obtaining the history usage time interval of the mobile terminal;
First object period determining module for the history usage time interval according to the mobile terminal, determines the movement
The target time section of terminal;
First active state determining module, for when being in the target time section of the mobile terminal at current time, determining
The mobile terminal is in active state;
First an inactive state determining module, during for being not in the target time section of the mobile terminal at current time,
Determine that the mobile terminal is in an inactive state.
11. server according to claim 7, which is characterized in that further include:
Second acquisition module, for obtaining the history usage time interval of application program in the mobile terminal;
Second target time section determining module, for the history usage time interval according to application program in the mobile terminal, really
The target time section of application program in the fixed mobile terminal;
Second active state determining module, during for being in the target of the corresponding application program of the application message at current time
Between in section when, determine that the corresponding application program of the application message is in active state;
Second an inactive state determining module, for being not in the mesh of the corresponding application program of the application message at current time
When marking in the period, determine that the corresponding application program of the application message is in an inactive state.
12. server according to claim 7, which is characterized in that further include:
Emergency message pushing module, for when the message pushed is emergency message, the emergency message to be pushed to when described
Mobile terminal or application program.
13. a kind of server, which is characterized in that including processor, memory and be stored on the memory and can be described
The computer program run on processor is realized when the computer program is performed by the processor as in claim 1 to 6
The step of any one of them information push method.
14. a kind of computer readable storage medium, which is characterized in that computer journey is stored on the computer readable storage medium
Sequence is realized when the computer program is executed by processor such as information push method according to any one of claims 1 to 6
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711219325.9A CN108206777A (en) | 2017-11-28 | 2017-11-28 | A kind of information push method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711219325.9A CN108206777A (en) | 2017-11-28 | 2017-11-28 | A kind of information push method and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108206777A true CN108206777A (en) | 2018-06-26 |
Family
ID=62604666
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711219325.9A Pending CN108206777A (en) | 2017-11-28 | 2017-11-28 | A kind of information push method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108206777A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062642A (en) * | 2018-06-29 | 2018-12-21 | 北京奇艺世纪科技有限公司 | A kind of control message informing method and device |
CN109739341A (en) * | 2018-12-20 | 2019-05-10 | 北京仁科互动网络技术有限公司 | Promote the method and device of terminal capabilities |
CN110336893A (en) * | 2019-08-22 | 2019-10-15 | 深圳市万普拉斯科技有限公司 | Information push method, device, mobile terminal and computer storage medium |
CN110493306A (en) * | 2019-07-05 | 2019-11-22 | 口碑(上海)信息技术有限公司 | Information-pushing method and client, server-side, system |
WO2020024454A1 (en) * | 2018-07-31 | 2020-02-06 | 平安科技(深圳)有限公司 | Time information acquisition method and apparatus, and readable storage medium |
CN110830929A (en) * | 2018-08-08 | 2020-02-21 | 三星电子株式会社 | Electronic device for providing notification message and method thereof |
CN111917811A (en) * | 2019-05-10 | 2020-11-10 | 北京车和家信息技术有限公司 | Message pushing method and system |
CN112333248A (en) * | 2020-10-26 | 2021-02-05 | 金蝶软件(中国)有限公司 | Login failure checking method and related device |
CN112600902A (en) * | 2020-12-08 | 2021-04-02 | 北京五八信息技术有限公司 | Notification message pushing method and device |
CN114114993A (en) * | 2021-11-01 | 2022-03-01 | 集度科技有限公司 | Vehicle control method, server, vehicle and vehicle system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103561152A (en) * | 2013-11-05 | 2014-02-05 | 广东欧珀移动通信有限公司 | Push message processing method and mobile terminal |
CN104065565A (en) * | 2014-06-12 | 2014-09-24 | 北京奇虎科技有限公司 | Information pushing method, server, client-side device and system |
CN105099870A (en) * | 2015-05-28 | 2015-11-25 | 努比亚技术有限公司 | Message pushing method and device |
US9628414B1 (en) * | 2013-03-15 | 2017-04-18 | Google Inc. | User state based engagement |
CN106953985A (en) * | 2017-03-31 | 2017-07-14 | 深圳市金立通信设备有限公司 | The management method and terminal of a kind of PUSH message |
-
2017
- 2017-11-28 CN CN201711219325.9A patent/CN108206777A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9628414B1 (en) * | 2013-03-15 | 2017-04-18 | Google Inc. | User state based engagement |
CN103561152A (en) * | 2013-11-05 | 2014-02-05 | 广东欧珀移动通信有限公司 | Push message processing method and mobile terminal |
CN104065565A (en) * | 2014-06-12 | 2014-09-24 | 北京奇虎科技有限公司 | Information pushing method, server, client-side device and system |
CN105099870A (en) * | 2015-05-28 | 2015-11-25 | 努比亚技术有限公司 | Message pushing method and device |
CN106953985A (en) * | 2017-03-31 | 2017-07-14 | 深圳市金立通信设备有限公司 | The management method and terminal of a kind of PUSH message |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062642B (en) * | 2018-06-29 | 2022-04-08 | 北京奇艺世纪科技有限公司 | Control message notification method and device |
CN109062642A (en) * | 2018-06-29 | 2018-12-21 | 北京奇艺世纪科技有限公司 | A kind of control message informing method and device |
WO2020024454A1 (en) * | 2018-07-31 | 2020-02-06 | 平安科技(深圳)有限公司 | Time information acquisition method and apparatus, and readable storage medium |
CN110830929A (en) * | 2018-08-08 | 2020-02-21 | 三星电子株式会社 | Electronic device for providing notification message and method thereof |
CN115499792A (en) * | 2018-08-08 | 2022-12-20 | 三星电子株式会社 | Electronic device for providing notification message and method thereof |
CN109739341A (en) * | 2018-12-20 | 2019-05-10 | 北京仁科互动网络技术有限公司 | Promote the method and device of terminal capabilities |
CN111917811B (en) * | 2019-05-10 | 2023-08-25 | 北京车和家信息技术有限公司 | Message pushing method and system |
CN111917811A (en) * | 2019-05-10 | 2020-11-10 | 北京车和家信息技术有限公司 | Message pushing method and system |
CN110493306A (en) * | 2019-07-05 | 2019-11-22 | 口碑(上海)信息技术有限公司 | Information-pushing method and client, server-side, system |
CN110336893B (en) * | 2019-08-22 | 2022-03-15 | 深圳市万普拉斯科技有限公司 | Message pushing method and device, mobile terminal and computer storage medium |
CN110336893A (en) * | 2019-08-22 | 2019-10-15 | 深圳市万普拉斯科技有限公司 | Information push method, device, mobile terminal and computer storage medium |
CN112333248A (en) * | 2020-10-26 | 2021-02-05 | 金蝶软件(中国)有限公司 | Login failure checking method and related device |
CN112333248B (en) * | 2020-10-26 | 2023-09-01 | 金蝶软件(中国)有限公司 | Login failure verification method and related device |
CN112600902A (en) * | 2020-12-08 | 2021-04-02 | 北京五八信息技术有限公司 | Notification message pushing method and device |
CN114114993A (en) * | 2021-11-01 | 2022-03-01 | 集度科技有限公司 | Vehicle control method, server, vehicle and vehicle system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108206777A (en) | A kind of information push method and server | |
CN105991477B (en) | A kind of method of adjustment and device in voice jitter buffer area | |
US9619275B2 (en) | Data processing method, apparatus and mobile terminal | |
US20160217491A1 (en) | Devices and methods for preventing user churn | |
CN109408223A (en) | Resource allocation method, device, terminal and storage medium | |
US20170192819A1 (en) | Method and electronic device for resource allocation | |
CN109473092B (en) | Voice endpoint detection method and device | |
US20150365360A1 (en) | Method and apparatus for processing push message in notification center of mobile terminal, and storage medium | |
WO2008072030A3 (en) | Contact list display system and method | |
CN109413186A (en) | Application program update method, terminal, server and system | |
CN104601770A (en) | Terminal and smoothness evaluation method thereof | |
CN112988362B (en) | Task processing method and device, electronic equipment and storage medium | |
CN111400596B (en) | Information sharing method and device | |
EP3310093A1 (en) | Traffic control method and apparatus | |
US10320729B2 (en) | Method, apparatus, and system for shielding harassment by mention in user generated content | |
CN106162362A (en) | A kind of video broadcasting method and player | |
CN109345281A (en) | Adjust method and device, the computer storage medium, electronic equipment of winning probability | |
CN109150675A (en) | A kind of exchange method and device of household electrical appliance | |
CN105491092B (en) | Message pushing method and device | |
CN102664945B (en) | For document down loading method, device and system that time-out connects | |
CN109214895A (en) | A kind of game resource promotion method, apparatus and system | |
CN107659647A (en) | The recognition methods of water note and device | |
CN108924365B (en) | Travel reminding method, device, equipment and computer readable storage medium | |
CN107291543B (en) | Application processing method and device, storage medium and terminal | |
CN110086835B (en) | Application program control method, terminal, server and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180626 |
|
WD01 | Invention patent application deemed withdrawn after publication |