CN108874522A - Message pushes setting method, device, computer equipment and readable storage medium storing program for executing - Google Patents

Message pushes setting method, device, computer equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108874522A
CN108874522A CN201810631752.6A CN201810631752A CN108874522A CN 108874522 A CN108874522 A CN 108874522A CN 201810631752 A CN201810631752 A CN 201810631752A CN 108874522 A CN108874522 A CN 108874522A
Authority
CN
China
Prior art keywords
application program
interface
message
tune
push
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810631752.6A
Other languages
Chinese (zh)
Inventor
王平涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 58 Information Technology Co Ltd
Original Assignee
Beijing 58 Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing 58 Information Technology Co Ltd filed Critical Beijing 58 Information Technology Co Ltd
Priority to CN201810631752.6A priority Critical patent/CN108874522A/en
Publication of CN108874522A publication Critical patent/CN108874522A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention proposes a kind of message to push setting method, including:The interface process of the second application program is played by the first application program tune;The message push process of second application program and the interface process are arranged in a background service process, receive PUSH message to push process by the message in the background service process.The invention also discloses a kind of message to push setting device, computer equipment and computer readable storage medium, by implementing above scheme, it realizes application program and normally receives PUSH message, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.

Description

Message pushes setting method, device, computer equipment and readable storage medium storing program for executing
Technical field
The present invention relates to field of computer technology more particularly to a kind of message to push setting method, device, computer equipment And computer readable storage medium.
Background technique
With computer equipment (such as:Mobile terminal) fast development, the application program installed in computer equipment (APP, Application) also obtained quickly universal.Wherein, most important operation means are runed as application program, message pushes away It send (push) to be paid attention to by more and more application program manufacturers, and increases a kind of important means of day amount living, but most of Computer equipment can all carry out periodic cleaning to the process of the application program of some running backgrounds, and after message push is typically all Platform service, so application program is caused often not receive message push.
Summary of the invention
The invention proposes a kind of message to push setting method, device, computer equipment and computer readable storage medium, What the push of message caused by the program process to solve running background in the prior art is cleaned can not normally receive asks Topic.
The technical solution adopted by the present invention is that a kind of message push setting method is provided, including:
The interface process of the second application program is played by the first application program tune;
The message push process of second application program and the interface process are arranged in a background service process, PUSH message is received to push process by the message in the background service process.
Optionally, described includes with lower section in such a way that the first application program tune plays the interface process of the second application program One of formula or a variety of combinations:
When starting first application program, the boundary of second application program is played by the first application program tune Face process;
Alternatively, at a set point in time, the interface process of second application program is played by the first application program tune;
Alternatively, playing the interface process of second application program by the first application program tune to set the period.
Optionally, after the interface process for passing through the second application program of the first application program tune, the method Further include:
Pellucidity is set by corresponding second Application Program Interface of the interface process of presentation, and closes described Two Application Program Interfaces.
Optionally, after the interface process for passing through the second application program of the first application program tune, the method Further include:
Forbid switching to current interface into corresponding second Application Program Interface of the interface process, and closes described second Application Program Interface.
Optionally, the message push process of second application program and the interface process are arranged at one described After background service process, the method also includes:
It improves the background service process and forbids pent priority.
The present invention also provides a kind of message to push setting device, including:
Module is adjusted, for playing the interface process of the second application program by the first application program tune;
Setup module, for being arranged the message push process of second application program and the interface process at one Background service process receives PUSH message to push process by the message in the background service process.
Optionally, described includes with lower section in such a way that the first application program tune plays the interface process of the second application program One of formula or a variety of combinations:
When starting first application program, the boundary of second application program is played by the first application program tune Face process;
Alternatively, at a set point in time, the interface process of second application program is played by the first application program tune;
Alternatively, playing the interface process of second application program by the first application program tune to set the period.
Optionally, described device further includes:
First display module, for it is described pass through the first application program tune rise the second application program interface process it Afterwards, pellucidity is set by corresponding second Application Program Interface of the interface process of presentation, and closes described second and answers Use program interface.
Optionally, described device further includes:
Second display module, for it is described pass through the first application program tune rise the second application program interface process it Afterwards, forbid switching to current interface into corresponding second Application Program Interface of the interface process, and close second application Program interface.
Optionally, described device further includes:
Priviledge module, for the message push process of second application program and the interface process to be arranged described After a background service process, improves the background service process and forbid pent priority.
The present invention also provides a kind of computer equipment, the computer equipment includes processor and memory;
The processor is used to execute the program of the message push setting stored in memory, is pushed away with the message for realizing above-mentioned The step of sending setting method.
The present invention also provides a kind of computer readable storage medium, the computer-readable recording medium storage have one or The multiple programs of person, one or more of programs can be executed by one or more processor, be pushed away with the message for realizing above-mentioned The step of sending setting method.
By adopting the above technical scheme, the present invention at least has following advantages:
A kind of message push setting method, device, computer equipment and computer readable storage medium of the present invention, it is real Application program is showed and has normally received PUSH message, the program process for avoiding running background is cleaned caused PUSH message It can not normally receive.
Detailed description of the invention
Fig. 1 is that message described in first embodiment of the invention pushes setting method flow chart;
Fig. 2 is that message described in second embodiment of the invention pushes setting method flow chart;
Fig. 3 is that message described in third embodiment of the invention pushes setting method flow chart;
Fig. 4 is that message described in fourth embodiment of the invention pushes setting method flow chart;
Fig. 5 is that message described in fifth embodiment of the invention pushes setting method flow chart;
Fig. 6 is message push setting device composed structure schematic diagram described in the 6th and the 7th embodiment of the invention;
Fig. 7 is the push setting device composed structure schematic diagram of message described in eighth embodiment of the invention;
Fig. 8 is the push setting device composed structure schematic diagram of message described in ninth embodiment of the invention;
Fig. 9 is the push setting device composed structure schematic diagram of message described in tenth embodiment of the invention;
Figure 10 is computer equipment composed structure schematic diagram described in eleventh embodiment of the invention.
Specific embodiment
Further to illustrate the present invention to reach the technical means and efficacy that predetermined purpose is taken, below in conjunction with attached drawing And preferred embodiment, the present invention is described in detail as after.
Message provided in an embodiment of the present invention pushes setting method, normally receives PUSH message for realizing application program, The program process for avoiding running background, which is cleaned caused PUSH message, to be normally received, to solve in the prior art The problem of push of message caused by the program process of running background is cleaned can not normally receive.
First embodiment of the invention, a kind of message push setting method, as shown in Figure 1, including step in detail below:
Step S101 plays the interface process of the second application program by the first application program tune.
In the present embodiment, the first application program can be the preset application for having adjusted the second Application Program Interface process Program is also possible to the application program developed with other manufacturers of the second application program cooperation.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
Step S102, by the message of the second application program push process and interface process be arranged a background service into Journey receives PUSH message to push process by the message in the background service process.
In the present embodiment, which can be the host process of the second application program, is also possible to second and answers With the subprocess of program.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
Message described in first embodiment of the invention pushes setting method, realizes application program and normally receives push and disappears Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Second embodiment of the invention, a kind of message push setting method, as shown in Fig. 2, including step in detail below:
Step S201 plays the interface process of the second application program by the first application program tune.
It optionally, include in following manner in such a way that the first application program tune plays the interface process of the second application program One or more combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period.
Such as:Time integral point (such as:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19, 20,21,22,23 and 24 point), the interface process of the second application program is played by the first application program tune.
For another example:To set 10 minute period, the interface process of the second application program is played by the first application program tune.
For another example:Time integral point (such as:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19, 20,21,22,23 and 24 point), the interface process of the second application program is played by the first application program tune;And with 10 points of setting The clock period plays the interface process of the second application program by the first application program tune.
For another example:When starting the first application program, the interface process of the second application program is played by the first application program tune; And time integral point (such as:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22, 23 and 24 points), pass through the first application program tune rise the second application program interface process;And to set 10 minute period, lead to Cross the interface process that the first application program tune plays the second application program.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
In the present embodiment, the quantity of the first application program is one or more.
Optionally, step S201, including:
In the case where the quantity of the first application program is multiple, the second application program is played by the first application program tune The mode of interface process includes one of following manner or a variety of combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period;
Wherein, when through the interface process of any modulated the second application program of first application program, stop executing it His the first application program tune plays the operation of the interface process of the second application program.
Such as:In the case where the quantity of the first application program is 4, when starting any first application program, pass through Any first application program tune plays the interface process of the second application program;And passing through modulated of any first application program In the case where the interface process of second application program, stop executing the interface that other the first application program tune play the second application program The operation of process.
For another example:In the case where the quantity of the first application program is 5, to set 10 minute period, pass through any first Application program tune plays the interface process of the second application program, and is applying journey by any first application program modulated second In the case where the interface process of sequence, stop the behaviour for executing the interface process that other the first application program tune play the second application program Make.
For another example:The quantity of the first application program be 6 in the case where, time integral point (such as:1,2,3,4,5,6,7, 8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 and 24 point), it is risen by any first application program tune The interface process of second application program, and in the interface process for passing through any modulated second application program of first application program In the case where, stop the operation for executing the interface process that other the first application program tune play the second application program.
For another example:In the case where the quantity of the first application program is 3, when starting any first application program, pass through Any first application program tune plays the interface process of the second application program;And time integral point (such as:1,2,3,4,5,6, 7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 and 24 point), it is risen by the first application program tune The interface process of second application program;And to set 10 minute period, second is played by the first application program tune and applies journey The interface process of sequence;And in the case where passing through the interface process of any modulated second application program of first application program, Stop executing the operation for the interface process that all first application program tune play the second application program.
Step S202, by the message of the second application program push process and interface process be arranged a background service into Journey receives PUSH message to push process by the message in the background service process.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
Message described in second embodiment of the invention pushes setting method, realizes application program and normally receives push and disappears Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Third embodiment of the invention, a kind of message push setting method, as shown in figure 3, including step in detail below:
Step S301 plays the interface process of the second application program by the first application program tune.
It optionally, include in following manner in such a way that the first application program tune plays the interface process of the second application program One or more combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
Step S302 sets pellucidity for corresponding second Application Program Interface of the interface process of presentation, and closes Close second Application Program Interface.
By setting pellucidity for corresponding second Application Program Interface of the interface process of presentation, realize user without The case where perception, has lowered the interface process of the second application program, avoids presentation by closing second Application Program Interface Two Application Program Interfaces influence inconvenience caused by user's normal use current interface.
Step S303, by the message of the second application program push process and interface process be arranged a background service into Journey receives PUSH message to push process by the message in the background service process.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
Message described in third embodiment of the invention pushes setting method, realizes application program and normally receives push and disappears Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Fourth embodiment of the invention, a kind of message push setting method, as shown in figure 4, including step in detail below:
Step S401 plays the interface process of the second application program by the first application program tune.
It optionally, include in following manner in such a way that the first application program tune plays the interface process of the second application program One or more combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
Step S402 forbids switching to current interface into corresponding second Application Program Interface of the interface process, and closes Second Application Program Interface.
By forbidding switching to current interface into corresponding second Application Program Interface of the interface process, realize user without The case where perception, has lowered the interface process of the second application program, and it is normal to avoid presentation the second Application Program Interface influence user Use inconvenience caused by current interface.
Step S403, by the message of the second application program push process and interface process be arranged a background service into Journey receives PUSH message to push process by the message in the background service process.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
Message described in fourth embodiment of the invention pushes setting method, realizes application program and normally receives push and disappears Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Fifth embodiment of the invention, a kind of message push setting method, as shown in figure 5, including step in detail below:
Step S501 plays the interface process of the second application program by the first application program tune.
It optionally, include in following manner in such a way that the first application program tune plays the interface process of the second application program One or more combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
Step S502 forbids switching to current interface into corresponding second Application Program Interface of the interface process, and closes Second Application Program Interface.
Optionally, step S502, including:
Pellucidity is set by corresponding second Application Program Interface of the interface process of presentation, and closes this and second answers Use program interface.
By step S502, the case where realizing user's unaware, has lowered the interface process of the second application program, avoids The second Application Program Interface, which is presented, influences inconvenience caused by user's normal use current interface.
Step S503, by the message of the second application program push process and interface process be arranged a background service into Journey receives PUSH message to push process by the message in the background service process.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
Step S504 improves the background service process and forbids pent priority.
Forbid pent priority by improving the background service process, can be avoided the background service process and calculated Machine equipment system is closed, and the probability that the background service process is survived in computer equipment is effectively increased.
Message described in fifth embodiment of the invention pushes setting method, realizes application program and normally receives push and disappears Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Message push setting device provided in an embodiment of the present invention, normally receives PUSH message for realizing application program, The program process for avoiding running background, which is cleaned caused PUSH message, to be normally received, to solve in the prior art The problem of push of message caused by the program process of running background is cleaned can not normally receive.
Sixth embodiment of the invention, a kind of message push setting device, as shown in fig. 6, including consisting of part:
Module 10 is adjusted, for playing the interface process of the second application program by the first application program tune.
In the present embodiment, the first application program can be the preset application for having adjusted the second Application Program Interface process Program is also possible to the application program developed with other manufacturers of the second application program cooperation.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
Setup module 30 takes for being arranged the message push process and interface process of the second application program on a backstage Business process receives PUSH message to push process by the message in the background service process.
In the present embodiment, which can be the host process of the second application program, is also possible to second and answers With the subprocess of program.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
The push setting device of message described in sixth embodiment of the invention, realizes application program and normally receives push and disappear Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Seventh embodiment of the invention, a kind of message push setting device, as shown in fig. 6, including consisting of part:
Module 10 is adjusted, for playing the interface process of the second application program by the first application program tune.
It optionally, include in following manner in such a way that the first application program tune plays the interface process of the second application program One or more combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period.
Such as:Adjusted module 10, for time integral point (such as:1,2,3,4,5,6,7,8,9,10,11,12,13,14, 15,16,17,18,19,20,21,22,23 and 24 point), the interface process of the second application program is played by the first application program tune.
For another example:Module 10 is adjusted, for playing the second application program by the first application program tune to set 10 minute period Interface process.
For another example:Adjusted module 10, for time integral point (such as:1,2,3,4,5,6,7,8,9,10,11,12,13,14, 15,16,17,18,19,20,21,22,23 and 24 point), the interface process of the second application program is played by the first application program tune; And to set 10 minute period, the interface process of the second application program is played by the first application program tune.
For another example:Module 10 is adjusted, for playing the second application by the first application program tune when starting the first application program The interface process of program;And time integral point (such as:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17, 18,19,20,21,22,23 and 24 point), the interface process of the second application program is played by the first application program tune;And to set In fixed 10 minute period, the interface process of the second application program is played by the first application program tune.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
In the present embodiment, the quantity of the first application program is one or more.
Optionally, module 10 has been adjusted, has been specifically used for:
In the case where the quantity of the first application program is multiple, the second application program is played by the first application program tune The mode of interface process includes one of following manner or a variety of combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period;
Wherein, when through the interface process of any modulated the second application program of first application program, other first are answered The operation for having adjusted the interface process of the second application program is executed with program stopped.
Such as:In the case where the quantity of the first application program is 4, when starting any first application program, pass through Any first application program tune plays the interface process of the second application program, and is passing through modulated of any first application program In the case where the interface process of second application program, stop executing the interface that other the first application program tune play the second application program The operation of process.
For another example:Adjusted module 10, for the quantity of the first application program be 5 in the case where, to set 10 minute week Phase is played the interface process of the second application program by any first application program tune, and is passing through any first application program In the case where the interface process of modulated the second application program, stop executing the second application program of other the first application program tune Interface process operation.
For another example:Adjusted module 10, for the quantity of the first application program be 6 in the case where, in time integral point (example Such as:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 and 24 point), by appointing One first application program tune plays the interface process of the second application program, and is passing through any first application program modulated second In the case where the interface process of application program, stop executing the interface process that other the first application program tune play the second application program Operation.
For another example:Adjusted module 10, for the quantity of the first application program be 3 in the case where, when starting any first When application program, the interface process of the second application program is played by any first application program tune;And in time integral point (example Such as:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 and 24 point), by this First application program tune plays the interface process of the second application program;And to set 10 minute period, by this first apply journey Sequence tune plays the interface process of the second application program;And on the boundary for passing through any modulated second application program of first application program In the case where the process of face, stop the operation for executing the interface process that all first application program tune play the second application program.
Setup module 30 takes for being arranged the message push process and interface process of the second application program on a backstage Business process receives PUSH message to push process by the message in the background service process.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
The push setting device of message described in seventh embodiment of the invention, realizes application program and normally receives push and disappear Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Eighth embodiment of the invention, a kind of message push setting device, as shown in fig. 7, comprises consisting of part:
Module 10 is adjusted, for playing the interface process of the second application program by the first application program tune.
It optionally, include in following manner in such a way that the first application program tune plays the interface process of the second application program One or more combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
First display module 20, for setting transparent for corresponding second Application Program Interface of the interface process presented State, and close second Application Program Interface.
By setting pellucidity for corresponding second Application Program Interface of the interface process of presentation, realize user without The case where perception, has lowered the interface process of the second application program, avoids presentation by closing second Application Program Interface Two Application Program Interfaces influence inconvenience caused by user's normal use current interface.
Setup module 30 takes for being arranged the message push process and interface process of the second application program on a backstage Business process receives PUSH message to push process by the message in the background service process.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
The push setting device of message described in eighth embodiment of the invention, realizes application program and normally receives push and disappear Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Ninth embodiment of the invention, a kind of message push setting device, as shown in figure 8, including consisting of part:
Module 10 is adjusted, for playing the interface process of the second application program by the first application program tune.
It optionally, include in following manner in such a way that the first application program tune plays the interface process of the second application program One or more combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
Current interface is switched to corresponding second application program circle of the interface process for forbidding by the second display module 21 Face, and close second Application Program Interface.
By forbidding switching to current interface into corresponding second Application Program Interface of the interface process, realize user without The case where perception, has lowered the interface process of the second application program, and it is normal to avoid presentation the second Application Program Interface influence user Use inconvenience caused by current interface.
Setup module 30 takes for being arranged the message push process and interface process of the second application program on a backstage Business process receives PUSH message to push process by the message in the background service process.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
The push setting device of message described in ninth embodiment of the invention, realizes application program and normally receives push and disappear Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Tenth embodiment of the invention, a kind of message push setting device, as shown in figure 9, including consisting of part:
Module 10 is adjusted, for playing the interface process of the second application program by the first application program tune.
It optionally, include in following manner in such a way that the first application program tune plays the interface process of the second application program One or more combinations:
When starting the first application program, the interface process of the second application program is played by the first application program tune;
Alternatively, at a set point in time, the interface process of the second application program is played by the first application program tune;
Alternatively, playing the interface process of the second application program by the first application program tune to set the period.
The interface process that the second application program is played by the first application program tune, can effectively avoid in running background The interface process of second application program is closed by computer equipment system.
First display module 20, for setting transparent for corresponding second Application Program Interface of the interface process presented State, and close second Application Program Interface.
Message push setting device can also replace the first display module 20 by the second display module 21;Wherein, Current interface is switched to corresponding second Application Program Interface of the interface process for forbidding, and closed by two display modules 21 Second Application Program Interface.
By the first display module 20 or the second display module 21, the case where realizing user's unaware, has lowered second and has answered With the interface process of program, avoid caused by the second Application Program Interface influence user's normal use current interface is presented not Just.
Setup module 30 takes for being arranged the message push process and interface process of the second application program on a backstage Business process receives PUSH message to push process by the message in the background service process.
It is arranged with interface process in a background service process by the way that the message of the second application program is pushed process, it can It effectively avoids being closed in the message push process of the second application program of running background by computer equipment system, leads to second The PUSH message of application program can not normally receive, or can not receive in time, greatly improve the second application program and receive in time The accuracy rate of PUSH message.
Priviledge module 40 forbids pent priority for improving the background service process.
Forbid pent priority by improving the background service process, can be avoided the background service process and calculated Machine equipment system is closed, and the probability that the background service process is survived in computer equipment is effectively increased.
The push setting device of message described in tenth embodiment of the invention, realizes application program and normally receives push and disappear Breath, the program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
Eleventh embodiment of the invention, a kind of computer equipment, as shown in Figure 10, including consisting of part:
Processor 501 and memory 502.In some embodiments of the invention, processor 501 and memory 502 can lead to Cross bus or other way connection.
Processor 501 can be general processor, such as central processing unit (Central Processing Unit, CPU), it can also be digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (English: Application Specific Integrated Circuit, ASIC), or be arranged to implement the embodiment of the present invention One or more integrated circuits.Wherein, memory 502 is used for the executable instruction of storage processor 501;
Memory 502 is transferred to processor 501 for storing program code, and by the program code.Memory 502 can To include volatile memory (Volatile Memory), such as random access memory (RandomAccess Memory, RAM);Memory 502 also may include nonvolatile memory (Non-Volatile Memory), such as read-only memory (Read-Only Memory, ROM), flash memory (FlashMemory), hard disk (Hard Disk Drive, HDD) or solid State hard disk (Solid-State Drive, SSD);Memory 502 can also include the combination of the memory of mentioned kind.
Wherein, the program code management code that processor 501 is used to that memory 502 to be called to store executes the present invention first Embodiment into fifth embodiment of the invention in any embodiment part or Overall Steps.
Computer equipment described in eleventh embodiment of the invention realizes application program and normally receives PUSH message, keeps away The program process for having exempted from running background, which is cleaned caused PUSH message, to be normally received.
Twelveth embodiment of the invention, a kind of computer readable storage medium.
Computer storage medium can be RAM memory, flash memory, ROM memory, eprom memory, EEPROM storage Device, register, hard disk, mobile hard disk, CD-ROM or any other form known in the art storage medium.
Computer-readable recording medium storage has one or more program, one or more program can by one or The multiple processors of person execute, with realize first embodiment of the invention into fifth embodiment of the invention in any embodiment part or Overall Steps.
Computer readable storage medium described in twelveth embodiment of the invention is stored with one or more program, should One or more program can be executed by one or more processor, be can be realized application program and normally received PUSH message, The program process for avoiding running background, which is cleaned caused PUSH message, to be normally received.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (12)

1. a kind of message pushes setting method, which is characterized in that including:
The interface process of the second application program is played by the first application program tune;
The message push process of second application program and the interface process are arranged in a background service process, with logical The message push process crossed in the background service process receives PUSH message.
2. the method according to claim 1, wherein the first application program tune that passes through plays the second application program The mode of interface process include one of following manner or a variety of combinations:
When starting first application program, by the first application program tune rise two application program interface into Journey;
Alternatively, at a set point in time, the interface process of second application program is played by the first application program tune;
Alternatively, playing the interface process of second application program by the first application program tune to set the period.
3. the method according to claim 1, wherein playing second using journey in the first application program tune that passes through After the interface process of sequence, the method also includes:
Pellucidity is set by corresponding second Application Program Interface of the interface process of presentation, and closes described second and answers Use program interface.
4. the method according to claim 1, wherein playing second using journey in the first application program tune that passes through After the interface process of sequence, the method also includes:
Forbid switching to current interface into corresponding second Application Program Interface of the interface process, and closes second application Program interface.
5. method according to claim 1 to 4, which is characterized in that described by second application program Message push process and the interface process be arranged after a background service process, the method also includes:
It improves the background service process and forbids pent priority.
6. a kind of message push setting device, which is characterized in that including:
Module is adjusted, for playing the interface process of the second application program by the first application program tune;
Setup module, for being arranged the message push process of second application program and the interface process on a backstage Service processes receive PUSH message to push process by the message in the background service process.
7. device according to claim 6, which is characterized in that the first application program tune that passes through plays the second application program The mode of interface process include one of following manner or a variety of combinations:
When starting first application program, by the first application program tune rise second application program interface into Journey;
Alternatively, at a set point in time, the interface process of second application program is played by the first application program tune;
Alternatively, playing the interface process of second application program by the first application program tune to set the period.
8. device according to claim 6, which is characterized in that described device further includes:
First display module, for inciting somebody to action after the interface process for passing through the second application program of the first application program tune Corresponding second Application Program Interface of the interface process presented is set as pellucidity, and closes second application program Interface.
9. device according to claim 6, which is characterized in that described device further includes:
Second display module, for prohibiting after the interface process for passing through the second application program of the first application program tune Current interface is only switched into corresponding second Application Program Interface of the interface process, and closes second application program circle Face.
10. device according to any one of claims 6 to 9, which is characterized in that described device further includes:
Priviledge module, for the message push process of second application program and the interface process to be arranged one described After a background service process, improves the background service process and forbid pent priority.
11. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory;
The processor is used to execute the program of the message push setting stored in memory, to realize according to claim 1~5 Any one of described in message push setting method the step of.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, with realize according to claim 1~ Message described in any one of 5 pushes the step of setting method.
CN201810631752.6A 2018-06-19 2018-06-19 Message pushes setting method, device, computer equipment and readable storage medium storing program for executing Pending CN108874522A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810631752.6A CN108874522A (en) 2018-06-19 2018-06-19 Message pushes setting method, device, computer equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810631752.6A CN108874522A (en) 2018-06-19 2018-06-19 Message pushes setting method, device, computer equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN108874522A true CN108874522A (en) 2018-11-23

Family

ID=64339637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810631752.6A Pending CN108874522A (en) 2018-06-19 2018-06-19 Message pushes setting method, device, computer equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN108874522A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020143555A1 (en) * 2019-01-10 2020-07-16 北京字节跳动网络技术有限公司 Method and device used for displaying information

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017049730A (en) * 2015-08-31 2017-03-09 ニフティ株式会社 Notification program, notification method and notification system
CN106648863A (en) * 2016-12-08 2017-05-10 武汉斗鱼网络科技有限公司 Live keeping method and system of Android application installation package and application target process
CN106648861A (en) * 2016-12-05 2017-05-10 广州优视网络科技有限公司 Method and device for keeping background service process activated
CN106708617A (en) * 2016-12-23 2017-05-24 武汉斗鱼网络科技有限公司 Service-based application process keep-alive system and keep-alive method
CN106933660A (en) * 2017-02-17 2017-07-07 广州启生信息技术有限公司 The implementation method of application process keep-alive under a kind of Android platform
CN107678782A (en) * 2017-09-14 2018-02-09 平安科技(深圳)有限公司 A kind of process protection method, device, equipment and computer-readable recording medium
CN107885569A (en) * 2017-11-16 2018-04-06 口碑(上海)信息技术有限公司 Based on the PUSH message method of reseptance and device for listening monotype

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017049730A (en) * 2015-08-31 2017-03-09 ニフティ株式会社 Notification program, notification method and notification system
CN106648861A (en) * 2016-12-05 2017-05-10 广州优视网络科技有限公司 Method and device for keeping background service process activated
CN106648863A (en) * 2016-12-08 2017-05-10 武汉斗鱼网络科技有限公司 Live keeping method and system of Android application installation package and application target process
CN106708617A (en) * 2016-12-23 2017-05-24 武汉斗鱼网络科技有限公司 Service-based application process keep-alive system and keep-alive method
CN106933660A (en) * 2017-02-17 2017-07-07 广州启生信息技术有限公司 The implementation method of application process keep-alive under a kind of Android platform
CN107678782A (en) * 2017-09-14 2018-02-09 平安科技(深圳)有限公司 A kind of process protection method, device, equipment and computer-readable recording medium
CN107885569A (en) * 2017-11-16 2018-04-06 口碑(上海)信息技术有限公司 Based on the PUSH message method of reseptance and device for listening monotype

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
AIGESTUDIO: "论Android应用进程长存的可行性", 《HTTPS://BLOG.CSDN.NET/AIGESTUDIO/ARTICLE/DETAILS/51348408》 *
JACKJIANG: "应用保活终极总结(二):Android6.0及以上的保活实践(进程防杀篇)", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/30304883》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020143555A1 (en) * 2019-01-10 2020-07-16 北京字节跳动网络技术有限公司 Method and device used for displaying information

Similar Documents

Publication Publication Date Title
CN107957906A (en) Application management method, computer installation, the computer-readable recording medium of terminal device
CN107615250B (en) Application-oriented processing method and device and intelligent terminal
EP2869190A1 (en) Method for starting activity of mobile terminal and the mobile terminal
CN107370877B (en) Application program pushing method and device, storage medium and electronic equipment
CN108334415A (en) A kind of fault-tolerance processing method, device, terminal and storage medium
CN108984243A (en) Application use timeout reminding method and device and readable storage medium
CN107832141A (en) Application program progress control method and equipment
CN108874522A (en) Message pushes setting method, device, computer equipment and readable storage medium storing program for executing
CN108733445A (en) A kind of view management method, device, equipment and computer readable storage medium
CN106610786A (en) Data storage method
CN105739982A (en) System hibernation method and apparatus
CN110308951A (en) A kind of processing method and processing device of startup interface Caton, equipment, storage medium
CN109885356A (en) ADB debugs port open method, apparatus, Android device and readable storage medium storing program for executing
US20120278666A1 (en) Mobile device and method for correcting errors occurring in attention commands of the mobile device
CN111030249B (en) Cut-off voltage control method and electronic equipment
CN105069381A (en) Intelligent terminal based partition protection method and system
CN114801868A (en) Method, device, equipment and medium for dynamically correcting available power of battery
WO2017219552A1 (en) Charging method and device, and storage medium
CN109491611B (en) Metadata dropping method, device and equipment
CN109542351B (en) Power consumption control method of solid state disk and solid state disk
CN106326049B (en) A kind of Fault Locating Method and terminal
CN108920218A (en) A kind of reflection call method, device, terminal and computer readable storage medium
CN109190079A (en) Evaluation method, device, computer equipment and the readable storage medium storing program for executing of application program
CN110177172A (en) Terminal Anti-addiction method, apparatus, terminal and computer readable storage medium
CN110362448A (en) A kind of GPU management-control method and relevant apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123