CN107861853A - Progress prompt method, terminal and computer-readable medium - Google Patents
Progress prompt method, terminal and computer-readable medium Download PDFInfo
- Publication number
- CN107861853A CN107861853A CN201710846739.8A CN201710846739A CN107861853A CN 107861853 A CN107861853 A CN 107861853A CN 201710846739 A CN201710846739 A CN 201710846739A CN 107861853 A CN107861853 A CN 107861853A
- Authority
- CN
- China
- Prior art keywords
- target process
- progress
- foreground
- prompt message
- terminal
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/328—Computer systems status display
Abstract
The embodiment of the invention discloses a kind of progress prompt method, terminal and computer-readable medium, wherein method includes:Target process is determined from background process, wherein, the background process is currently in the process of running background;The resource occupying situation of the target process is monitored;Progress prompt message is exported, the progress prompt message is used for the implementation progress for notifying the target process, wherein, the implementation progress is determined according to the resource occupying situation.The embodiment of the present invention can reduce the frequency that the target process switches between foreground and backstage, improve the acquisition efficiency of the implementation progress of the target process by the implementation progress in foreground notice target process.
Description
Technical field
The present invention relates to Computer Applied Technology field, more particularly to a kind of progress prompt method, terminal and computer can
Read medium.
Background technology
Because workable Internet resources are limited, the resource such as web page contents loading, video file buffering, audio-video document
Download etc. be required for the regular hour, when network condition is poor, it is necessary to time can be longer.Therefore, user can typically incite somebody to action
These need certain time to perform the program of completion to stay in backstage and slowly perform, and in other programs of front stage operation.If
User wants to know the implementation progress of some background program, then needs the current background program switching to foreground, and will be current
Backstage is switched to check the progress of background program execution in the program of front stage operation, if progress is undesirable, is had to
Again the background program is switched into backstage to continue executing with.
The content of the invention
The embodiment of the present invention provides a kind of progress prompt method, can by notifying the implementation progress of background process on foreground
The frequency switched over reduction process between foreground and backstage.
In a first aspect, the embodiments of the invention provide a kind of progress prompt method, this method includes:
Target process is determined from background process, wherein, the background process is currently in the process of running background;
The resource occupying situation of the target process is monitored;
Progress prompt message is exported, the progress prompt message is used to notify the execution of the target process to enter on foreground
Degree, wherein, the implementation progress is determined according to the resource occupying situation.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes being used to perform above-mentioned first aspect
Method unit.
The third aspect, the embodiments of the invention provide another terminal, the terminal includes processor, input equipment, defeated
Going out equipment and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used
Terminal is supported to perform the computer program of the above method in storage, the computer program includes programmed instruction, the processor
It is arranged to call described program instruction, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
The method for stating the above-mentioned first aspect of computing device.
The embodiment of the present invention to the resource occupying situation of target process by being monitored come to the target process
Implementation progress is monitored, and exports progress prompt message when monitoring resource occupying situation and meeting default implied condition
To notify the implementation progress of the target process on foreground, it can reduce what the target process switched between foreground and backstage
Frequency, improve the acquisition efficiency of the implementation progress of the target process.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of progress prompt method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow diagram of another progress prompt method provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic block diagram of terminal provided in an embodiment of the present invention;
Fig. 4 is the schematic block diagram of another terminal provided in an embodiment of the present invention;
Fig. 5 is the schematic block diagram of another terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, special described by the instruction of term " comprising "
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be solved according to context
Be interpreted as " when ... " or " once ".Similarly, phrase " if it is determined that " or " if receiving [described condition or event] " can be according to
Be interpreted to mean according to context " once it is determined that " or " in response to determining " or " once receiving [described condition or event] "
Or " in response to receiving [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It is a kind of schematic flow diagram of progress prompt method provided in an embodiment of the present invention referring to Fig. 1.In the specific implementation,
Each step that this method includes can be performed by terminal.Progress prompt method as shown in Figure 1 may include:
S11, target process is determined from background process.
Wherein, background process is referred to currently in the process of running background.It should be noted that single application program can be with
Take multiple processes.For example, when opening multiple Shipping Options Pages in browser program, each Shipping Options Page can take a process.
For another example when opening multiple news links in news program, each news links can take a process.Specifically, eventually
End can identify different processes by inquiring about network address.Wherein, have between process and network address one-to-one
Relation, network address for example can be Internet protocol (Internet Protocol, IP) addresses.
Specifically, terminal detects background process first.It is understood that the process run in terminal, or on foreground
Operation, or in running background.For the process in front stage operation, user can be intuitive to see that its implementation progress etc. runs feelings
Condition.
Then, terminal is judged in background process, and which process is to take Internet resources.It should be noted that process exists
Need to take Internet resources in implementation procedure, and Internet resources are just no longer taken after being finished.For example, when user is clear
Look in device program the Shipping Options Page for opening playing video file when, the browser program needs when buffering the video file
Internet resources are taken, and Internet resources are just no longer taken after the completion of video file buffering.Now, even if network connection disconnects,
User can also watch the video file offline.Specifically, terminal can according to background process take network speed whether be more than 0 come
Judge whether the background process takes Internet resources.Further specifically, when the network speed that background process takes is more than 0, terminal
It may determine that the background process takes Internet resources.
Then, terminal judges to take in the background process of Internet resources, and which process has foreground can illustrative.Wherein,
Process have foreground can illustrative show that the process can show user on foreground, also, the operation of the process is by user
Operation triggering, as user is opened the single-click operation of the application icon of the process, or the start that user is set for the process
It is dynamic.Specifically, terminal can to foreground can illustrative process carry out it is self-defined.Due to really influenceing Consumer's Experience,
Mostly some common application programs, as browser program, instant messaging program, download tool program, information class method, sound regard
Sound interval sequence etc., so as to, terminal the associated process of these application programs can be defined as having foreground can illustrative process.
Although it is understood that there is many necessary processes also to take Internet resources in terminal, these processes are transported on backstage always
OK, without showing user on foreground, user is also not relevant for the implementation progress of these processes.
Further, terminal, which may determine that, takes Internet resources and can be in the background process of illustrative with foreground, which
The execution of process is to operate triggering by user.It is understood that some background process perform automatically, user is not intended to
Know these programs implementation progress how.Only user oneself is put into backstage and is not carried out the process finished, and user just can not
When by the process switching to foreground to check its implementation progress.Specifically, terminal can be by judging background process default
Whether occur judging whether the execution of the background process is to operate triggering by user in time on foreground.It is further specific
Ground, when background process occurred in preset time on foreground, i.e., the background process in preset time once in front stage operation, then
Terminal may determine that the execution of the background process is to operate triggering by user.Wherein, the preset time can be set by terminal
Fixed default value or by user-defined numerical value.The preset time for example can be 5 minutes, 10 minutes etc., this
Inventive embodiments do not limit.
Finally, terminal will take Internet resources, have foreground can illustrative and by user operate triggering execution backstage
Process is as target process.
If for example, user opens a process to load video file, but being limited to network condition, video cardton, use
Family just by the process switching to slowly loading the video file from the background.Now, terminal can be using the process as target process.
It should be noted that terminal, which performs, judges which background process takes Internet resources, which background process tool judged
Have foreground can illustrative, and judge which background process be by user operate triggering perform these three steps it is as implied above
Order be the feasible example of one of which, the sequencing that the embodiment of the present invention performs these three steps to terminal does not limit
It is fixed.
S12, the resource occupying situation to the target process are monitored.
It is understood that terminal can be monitored to the resource occupying situation of single target process, can also
The resource occupying situation of multiple target process is monitored respectively.
Specifically, terminal to the resource occupying situation of target process by being monitored to be held to the target process
Traveling degree is monitored automatically.
S13, output progress prompt message.
Wherein, the progress prompt message is used for when the implementation progress of target process meets default implied condition, on foreground
Notify the implementation progress of the target process.Specifically, when the resource occupying situation of terminal-pair single target process is supervised
During control, the progress prompt message is used for when the implementation progress of the target process meets default implied condition, and on foreground, notice should
The implementation progress of target process.When the resource occupying situation of the multiple target process of terminal-pair is monitored, the progress carries
Show that message is used to, when the implementation progress of a certain target process of the plurality of target process meets default implied condition, on foreground lead to
Know the implementation progress of a certain target process.Wherein, the default implied condition can be finished.
Specifically, terminal can export progress prompt message to give with the mode of informing reminder message or suspended window
User prompts, and points out it is which background process.Wherein, due to having one-to-one relation between process and network address,
Therefore terminal can judge it is that the implementation progress of which background process meets default implied condition by inquiring about network address.
So, user is when other processes of front stage operation, it is possible to knows that it is placed on the task of some process on backstage (as loaded
Or downloading task) implementation progress (as be finished).Further, user can click on informing reminder message or outstanding
Floating window checks the task that the background process switches to foreground to be performed to the background process.
It should be noted that the implementation progress of target process is determined according to the resource occupying situation of the target process
's.For example, when network is in connection status, i.e., in the case of network is normal, if performing the target process of downloading task
The network speed of occupancy declines from the numerical value (such as 500k/s) more than 0 and eventually becomes 0, then show that the downloading task has been held suddenly
Row finishes.So as to which, terminal can notify in informing or in a manner of suspended window user's " resource that you download, which has been downloaded, to be finished ".
So, user just finishes without always toggling the target process in front and back to check whether the downloading task is downloaded.
For another example when browser program opens multiple Shipping Options Pages (i.e. webpage), the browser program take it is multiple enter
Journey, terminal corresponding which Shipping Options Page of which process can be judged according to the network address with process with one-to-one relationship.
Further, network address has also corresponded to web page title and web page contents.When having a certain network address in browser program
The network speed that a certain process (web page title corresponding to the process is " how checking networking process ") takes from 100k/s be changed into 0 when,
Illustrate that webpage loading finishes corresponding to the process, terminal can notify user that " you are put into the webpage of backstage loading " such as on foreground
What checks networking process " loaded ".So, user does not just have to always toggle the target process in front and back
Check the webpage whether loaded.
In embodiments of the present invention, terminal to the resource occupying situation of target process by being monitored come to the mesh
The implementation progress of mark process is monitored, and exports progress when monitoring resource occupying situation and meeting default implied condition
Prompting message can reduce the target process and enter between foreground and backstage to notify the implementation progress of the target process on foreground
The frequency of row switching, improve the acquisition efficiency of the implementation progress of the target process.
It is the schematic flow diagram of another progress prompt method provided in an embodiment of the present invention referring to Fig. 2.Specific implementation
In, each step that this method includes can be performed by terminal.Progress prompt method as shown in Figure 2 may include:
S21, target process is determined from background process.
Specifically, terminal determines that target process can specifically include from background process:Terminal judges that background process is
No occupancy Internet resources;If the background process takes Internet resources, terminal judges whether the background process has foreground can
Illustrative;If the background process have foreground can illustrative, whether the terminal background process is to operate triggering by user to hold
Capable;If the background process is to operate triggering by user to perform, terminal can be using the background process as target process.
Alternatively, after terminal judges whether the background process is that triggering execution is operated by user, terminal may be used also
To detect whether the implementation progress of the background process is currently among the monitoring of terminal;If the implementation progress of the background process
Currently without among the monitoring of terminal, then terminal can be using the background process as target process.
It should be noted that terminal periodically can be determined to need target process from background process.Current
Determine in the cycle, if a terminal detects that the implementation progress of a certain background process is among the monitoring of terminal, i.e. the backstage
The target process that program is determined in fixed cycle really before being, then currently, terminal repeatedly need not will in fixed cycle really
The background process is as target process.
It should also be noted that, terminal, which performs, judges whether background process takes Internet resources, whether background process is judged
With foreground can illustrative, judge whether background process is to operate triggering by user to perform, and detection background process is held
Traveling degree currently whether among the monitoring in terminal this four steps order instruction one of which as implied above it is feasible
Example, the sequencing that the embodiment of the present invention performs this four steps to terminal do not limit.
It should also be noted that, step S21 particular technique details may be referred to the step S11's shown in the application Fig. 1
Relevant portion describes.
S22, the detection target process current operation platform.
Specifically, terminal can periodically detect the current operation platform of target process.Wherein, the current operation platform
For foreground or backstage.If the current operation platform for detecting the target process is backstage, terminal performs step S23;If
The current operation platform for detecting the target process is foreground, shows that the target process has been switched to foreground fortune by user manually
OK, then terminal can stop performing step S23.Alternatively, the target process can also be labeled as foreground process by terminal.
S23, the resource occupying situation to the target process are monitored.
It is understood that terminal can be monitored to the resource occupying situation of single target process, can also
The resource occupying situation of multiple target process is monitored respectively.
Specifically, terminal to the resource occupying situation of target process by being monitored to be held to the target process
Traveling degree is monitored automatically.
S24, output progress prompt message.
Wherein, the progress prompt message is used for when the implementation progress of target process meets default implied condition, on foreground
Notify the implementation progress of the target process.
In an embodiment of the present invention, if target process is used to load video file, then when monitoring described regard
The size S of the loading section of frequency file, the solution bit rate V1 of the video file, the average transmission speed of the loading section
When the remaining reproduction time t of rate V2 and the video file meets preset relation, terminal can export progress prompt message (i.e.
First progress prompt message), the progress prompt message is used to notify user that the video file can play on foreground.
Wherein, the preset relation is specially:The size S of the loading section of the video file is equal to the video file
Solution bit rate V1 and the average transmission rate V2 difference of the loading section when being multiplied by the video file remaining and playing
Between t, i.e. S=(VI-V2) * t.When meeting the preset relation, show that the video file is already loaded into and be enough to make user smooth
The video file is watched on ground, i.e., the video file is small in following time interim card probability.
Alternatively, before progress prompt message is exported, terminal can also detect network state in which.Wherein, the net
Network can be that the cable networks such as cellular mobile network connect, or the nothing such as Wireless Fidelity (Wireless Fidelity, Wi-Fi)
Line network connection, the network state in which can be connection status or off-state.
Specifically, during being monitored to the resource occupying situation of target process, if detecting network
Be off, then terminal can be notified on foreground the current implementation progress of the target process (as download percentage) and/or
The state that network is presently in.Wherein, the implementation progress of the target process is the resource occupying feelings according to the target process
What condition determined.
For example, when target process is used for downloading video files, if the video file downloads to 50%, this is monitored
The network speed that target process takes declines and eventually becomes 0 suddenly, and detects that network connection disconnects suddenly, then terminal can be
Foreground notice user network connection has disconnected, and points out that the video file has downloaded 50%;Or terminal can be only on foreground
Notice user network connection has disconnected, and now user can switch to the target process on foreground to check its download progress.
In an embodiment of the present invention, when the Internet resources for monitoring target process occupancy are 0, terminal can detect
The state that network is presently in;If detecting that network is in connection status, terminal may determine that the execution of the target process
Progress meets default implied condition, and further, terminal can export progress prompt message (i.e. the second progress prompt message), should
Progress prompt message is used to notify user that the target process is finished on foreground;If detecting that network is off,
Then terminal can export progress prompt message (i.e. the 3rd progress prompt message), and the progress prompt message is used to notify to use on foreground
The state that the current implementation progress of the family target process and/or network are presently in.
Specifically, terminal can export progress prompt message to give with the mode of informing reminder message or suspended window
User prompts.Wherein, the progress prompt message can indicate that the target process.
Further, user can click on informing reminder message or suspended window and the target process is switched into foreground fortune
OK, so as to which being performed to the target process for task is checked.
In embodiments of the present invention, terminal to the resource occupying situation of target process by being monitored come to the mesh
The implementation progress of mark process is monitored, and exports progress when monitoring resource occupying situation and meeting default implied condition
Prompting message is to notify the implementation progress of the target process on foreground so that user can just know background process in time on foreground
Implementation progress, the frequency that the target process switches between foreground and backstage can be reduced, improves holding for the target process
The acquisition efficiency of traveling degree, user's operation is saved, lifts Consumer's Experience.
The embodiment of the present invention also provides a kind of terminal, and the terminal includes being used for the list for performing the method shown in the application Fig. 1
Member.Specifically, it is a kind of schematic block diagram of terminal provided in an embodiment of the present invention referring to Fig. 3.Terminal as shown in Figure 3 can
With including:First determining unit 31, monitoring unit 32 and output unit 33.Wherein,
First determining unit 31, for determining target process from background process, wherein, the background process is
Currently in the process of running background.
The monitoring unit 32, for being monitored to the resource occupying situation of the target process.
The output unit 33, for exporting progress prompt message, the progress prompt message is used to notify institute on foreground
The implementation progress of target process is stated, wherein, the implementation progress is determined according to the resource occupying situation.
Carried it should be noted that the specific workflow of terminal provided in an embodiment of the present invention refer to the embodiment of the present invention
The method flow part of confession, will not be repeated here.
In embodiments of the present invention, terminal to the resource occupying situation of target process by being monitored come to the mesh
The implementation progress of mark process is monitored, and exports progress when monitoring resource occupying situation and meeting default implied condition
Prompting message can reduce the target process and enter between foreground and backstage to notify the implementation progress of the target process on foreground
The frequency of row switching, improve the acquisition efficiency of the implementation progress of the target process.
The embodiment of the present invention also provides another terminal, and the terminal includes being used to perform the method shown in the application Fig. 2
Unit.Specifically, it is the schematic block diagram of another terminal provided in an embodiment of the present invention referring to Fig. 4.End as shown in Figure 4
End can include:First determining unit 41, detection unit 42, monitoring unit 43, output unit 44, control unit 45 and switching are single
Member 46.Wherein,
First determining unit 41, for determining target process from background process, wherein, the background process is
Currently in the process of running background.
In an embodiment of the present invention, first determining unit 41 can include:Judging unit 411 and second determines
Unit 412.Wherein,
The judging unit 411, for judging whether background process takes Internet resources.
The judging unit 411, it is additionally operable to, when the background process takes Internet resources, judge that the background process is
It is no to have foreground illustrative.
The judging unit 411, be additionally operable to when the background process have foreground can illustrative when, judge that the backstage is entered
Whether journey is to operate triggering by user to perform.
Second determining unit 412, described in when the background process is to operate triggering by user to perform, inciting somebody to action
Background process is as target process.
The detection unit 42, for detecting the current operation platform of the target process, the current operation platform is
Foreground or backstage.
The monitoring unit 43, for being monitored to the resource occupying situation of the target process.
The output unit 44, for exporting progress prompt message, the progress prompt message is used to notify institute on foreground
The implementation progress of target process is stated, wherein, the implementation progress is determined according to the resource occupying situation.
In an embodiment of the present invention, the target process is used to load video file;The output unit 44 performs
The output progress prompt message, specifically for when network is in connection status, if monitoring the video file
The size of loading section, the solution bit rate of the video file, the loading section average transmission rate and described regard
When the remaining reproduction time of frequency file meets preset relation, then the first progress prompt message is exported, first progress prompt disappears
Cease for notifying the video file to play.
Wherein, the preset relation is equal to solution bit rate and the institute of the video file for the size of the loading section
The difference for stating the average transmission rate of loading section is multiplied by the remaining reproduction time of the video file.
In an embodiment of the present invention, the output unit 44 performs the output progress prompt message, is specifically used for
If it is 0 to monitor the Internet resources that the target process takes, network state in which is detected;When network is in connection shape
During state, the second progress prompt message is exported, the second progress prompt message is used to notify the target process to be finished.
Further, the output unit 44, also particularly useful for when network is off, the 3rd progress of output carries
Show message, the 3rd progress prompt message is used to notify the current implementation progress of the target process and network institute on foreground
The state at place.
Described control unit 45, when the current operation platform for being detected when the detection unit 43 is foreground,
Control the monitoring unit 42 to stop execution being monitored the resource occupying situation of the target process.
The switch unit 46, if for receiving the selection operation for the progress prompt message, by described in
Target process switches to front stage operation.
Carried it should be noted that the specific workflow of terminal provided in an embodiment of the present invention refer to the embodiment of the present invention
The method flow part of confession, will not be repeated here.
In embodiments of the present invention, terminal to the resource occupying situation of target process by being monitored come to the mesh
The implementation progress of mark process is monitored, and exports progress when monitoring resource occupying situation and meeting default implied condition
Prompting message is to notify the implementation progress of the target process on foreground so that user can just know background process in time on foreground
Implementation progress, the frequency that the target process switches between foreground and backstage can be reduced, improves holding for the target process
The acquisition efficiency of traveling degree, user's operation is saved, lifts Consumer's Experience.
It is the schematic block diagram of another terminal provided in an embodiment of the present invention referring to Fig. 5.This implementation as shown in Figure 5
Terminal in example can include:One or more processors 51, one or more input equipments 52, one or more output equipments
53 and memory 54.Above-mentioned processor 51, input equipment 52, output equipment 53 and memory 54 are connected by bus 55.Storage
Device 54 is used to store computer program, and the computer program includes programmed instruction.
Specifically, processor 51 is arranged to call described program instruction to perform:
Target process is determined from background process, wherein, the background process is currently in the process of running background;
The resource occupying situation of the target process is monitored;
Progress prompt message is exported, the progress prompt message is used to notify the execution of the target process to enter on foreground
Degree, wherein, the implementation progress is determined according to the resource occupying situation.
Alternatively, processor 51 is arranged to call described in described program instruction execution determines mesh from background process
Specifically performed during mark process:
Judge whether background process takes Internet resources;
If the background process takes Internet resources, judge whether the background process has foreground can illustrative;
If the background process have foreground can illustrative, judge the background process whether be by user operate touch
What hair performed;
If the background process is to operate triggering by user to perform, using the background process as target process.
Alternatively, the target process is used to load video file;Processor 51 is arranged to call described program to refer to
Order specifically performs when performing the output progress prompt message:
When network is in connection status, if monitoring the size of the loading section of the video file, described regarding
The remaining reproduction time of the solution bit rate of frequency file, the average transmission rate of the loading section and the video file is expired
During sufficient preset relation, then the first progress prompt message is exported, the first progress prompt message is used to notify the video file
It can play;
Wherein, the preset relation is equal to solution bit rate and the institute of the video file for the size of the loading section
The difference for stating the average transmission rate of loading section is multiplied by the remaining reproduction time of the video file.
Alternatively, processor 51 is arranged to call described program instruction when performing the output progress prompt message to have
Body performs:
If it is 0 to monitor the Internet resources that the target process takes, network state in which is detected;
When network is in connection status, the second progress prompt message is exported, the second progress prompt message is used to lead to
Know that the target process is finished.
Alternatively, processor 51 is arranged to call described program instruction also to perform:
When network is off, the 3rd progress prompt message is exported, the 3rd progress prompt message is used for
Foreground notifies the current implementation progress of the target process and network state in which.
Alternatively, processor 51 is arranged to call described in described program instruction execution determines mesh from background process
Also performed after mark process:
The current operation platform of the target process is detected, the current operation platform is foreground or backstage;
If the current operation platform detected is foreground, stop performing the network to the target process
Occupation condition is monitored.
Alternatively, processor 51 be arranged to call described program instruction perform the output progress prompt message it
Also perform afterwards:
If receiving the selection operation for the progress prompt message, the target process is switched into foreground fortune
OK.
It should be appreciated that in embodiments of the present invention, alleged processor 51 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 52 can include Trackpad, fingerprint collecting sensor (is used for the finger print information and fingerprint for gathering user
Directional information), microphone etc., output equipment 53 can include display (LCDs (Liquid Crystal
Display, LCD) etc.), loudspeaker etc..
The memory 54 can include read-only storage (Read-Only Memory, ROM) and random access memory
(Random Access Memory, RAM), and provide computer program and data to processor 51.A part for memory 54
Nonvolatile RAM can also be included.For example, memory 54 can be with the information of storage device type.
In the specific implementation, the processor 51, input equipment 52, output equipment 53 described in the embodiment of the present invention are executable
The implementation of progress prompt method shown in the application Fig. 1 or Fig. 2, will not be repeated here.
In embodiments of the present invention, processor 51 calls the programmed instruction being stored in memory 54, by entering to target
The resource occupying situation of journey is monitored to be monitored to the implementation progress of the target process, and is monitoring network money
Source occupancy situation meets that output progress prompt message is to notify the implementation progress of the target process on foreground during default implied condition,
The frequency that the target process switches between foreground and backstage can be reduced, the implementation progress for improving the target process obtains
Take efficiency.
A kind of computer-readable recording medium, the computer-readable recording medium are also provided in an embodiment of the present invention
Computer program is stored with, the computer program includes programmed instruction, and the processor is arranged to call the journey
Sequence instructs, and performs the progress prompt method shown in the application Fig. 1 or Fig. 2.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the combination for generally describing each example according to function in the above description is obtained and walked
Suddenly.These functions are performed with hardware or software mode actually, application-specific and design constraint bar depending on technical scheme
Part.Professional and technical personnel can realize described function using distinct methods to each specific application, but this
Realize it is not considered that beyond the scope of this invention.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some computer programs are causing one
Computer equipment (can be personal computer, server, or network equipment etc.) performs side described in each embodiment of the present invention
The all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are each
Kind can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
- A kind of 1. progress prompt method, it is characterised in that including:Target process is determined from background process, wherein, the background process is currently in the process of running background;The resource occupying situation of the target process is monitored;Progress prompt message is exported, the progress prompt message is used for the implementation progress that the target process is notified on foreground, its In, the implementation progress is determined according to the resource occupying situation.
- 2. according to the method for claim 1, it is characterised in that it is described to determine target process from background process, including:Judge whether background process takes Internet resources;If the background process takes Internet resources, judge whether the background process has foreground can illustrative;If the background process have foreground can illustrative, judge whether the background process is to operate triggering by user to hold Capable;If the background process is to operate triggering by user to perform, using the background process as target process.
- 3. according to the method for claim 2, it is characterised in that the target process is used to load video file;It is described defeated Go out progress prompt message, specifically include:If monitor the size of the loading section of the video file, the solution bit rate of the video file, it is described plus When the remaining reproduction time of the average transmission rate and the video file that carry part meets preset relation, then export first and enter Prompting message is spent, the first progress prompt message is used to notify the video file to play on foreground;Wherein, the preset relation for the size of the loading section be equal to the solution bit rate of the video file with it is described The difference of the average transmission rate of loading section is multiplied by the remaining reproduction time of the video file.
- 4. according to the method for claim 2, it is characterised in that the output progress prompt message, specifically include:If it is 0 to monitor the Internet resources that the target process takes, network state in which is detected;When network is in connection status, the second progress prompt message is exported, the second progress prompt message is used on foreground The target process is notified to be finished.
- 5. according to the method for claim 4, it is characterised in that methods described also includes:When network is off, the 3rd progress prompt message is exported, the 3rd progress prompt message is used on foreground Notify the current implementation progress of the target process and network state in which.
- 6. according to the method for claim 1, it is characterised in that it is described determined from background process target process it Afterwards, methods described also includes:The current operation platform of the target process is detected, the current operation platform is foreground or backstage;If the current operation platform detected is foreground, stop performing the Internet resources to the target process Occupancy situation is monitored.
- 7. according to the method for claim 1, it is characterised in that after the output progress prompt message, methods described Also include:If receiving the selection operation for the progress prompt message, the target process is switched into front stage operation.
- 8. a kind of terminal, it is characterised in that including the unit for performing the method as described in claim any one of 1-7.
- 9. a kind of terminal, it is characterised in that the processor, defeated including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store computer program, the computer Program includes programmed instruction, and the processor is arranged to call described program instruction, performed such as any one of claim 1-7 Described method.
- A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710846739.8A CN107861853A (en) | 2017-09-18 | 2017-09-18 | Progress prompt method, terminal and computer-readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710846739.8A CN107861853A (en) | 2017-09-18 | 2017-09-18 | Progress prompt method, terminal and computer-readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107861853A true CN107861853A (en) | 2018-03-30 |
Family
ID=61699377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710846739.8A Withdrawn CN107861853A (en) | 2017-09-18 | 2017-09-18 | Progress prompt method, terminal and computer-readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107861853A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109300037A (en) * | 2018-09-28 | 2019-02-01 | 中国银行股份有限公司 | Transaction progress display methods and device |
CN115002556A (en) * | 2022-06-17 | 2022-09-02 | 深圳创维-Rgb电子有限公司 | Television channel switching method and device, television and storage medium |
-
2017
- 2017-09-18 CN CN201710846739.8A patent/CN107861853A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109300037A (en) * | 2018-09-28 | 2019-02-01 | 中国银行股份有限公司 | Transaction progress display methods and device |
CN109300037B (en) * | 2018-09-28 | 2021-07-30 | 中国银行股份有限公司 | Transaction progress display method and device |
CN115002556A (en) * | 2022-06-17 | 2022-09-02 | 深圳创维-Rgb电子有限公司 | Television channel switching method and device, television and storage medium |
CN115002556B (en) * | 2022-06-17 | 2024-03-22 | 深圳创维-Rgb电子有限公司 | Television channel switching method and device, television and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107528922A (en) | A kind of information push method, terminal and computer-readable recording medium | |
CN107463627A (en) | A kind of picture loading method and terminal | |
CN107844189A (en) | A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption | |
CN107181858A (en) | A kind of method and terminal for showing notification message | |
CN107390969B (en) | A kind of method and terminal controlling suspended window | |
CN107480001A (en) | System recovery method and device | |
CN110018765A (en) | Page display method, device, terminal and storage medium | |
CN107608724A (en) | A kind of method, terminal and computer-readable recording medium for managing application program | |
CN106375548A (en) | Method for processing voice information and terminal | |
CN106375186A (en) | Schedule sharing method and terminal | |
CN107066326A (en) | The method and terminal of a kind of scheduler task | |
CN108712559A (en) | A kind of disturbance-free method, system and terminal device | |
CN108804175A (en) | Multilingual adaptation method, mobile terminal and computer readable storage medium | |
CN107479806A (en) | The method and terminal of a kind of changing interface | |
CN110290058B (en) | Method and equipment for presenting session message in application | |
CN108089970A (en) | Predict method, terminal and the storage medium of remaining capacity up time | |
CN109298907B (en) | Application program display method, application program display device and terminal | |
CN108366298A (en) | Video broadcasting method, mobile terminal and computer readable storage medium | |
CN107861853A (en) | Progress prompt method, terminal and computer-readable medium | |
CN107861855A (en) | A kind of method, terminal, system and computer-readable recording medium for reducing abnormal power consumption | |
CN107783633A (en) | A kind of method, terminal and computer-readable recording medium for managing application program | |
CN106412289A (en) | Caller display method and terminal | |
CN108920704A (en) | File access pattern method, file restoring device and mobile terminal | |
CN108021301A (en) | A kind of volume adjusting method, terminal device and computer-readable recording medium | |
CN107943578A (en) | A kind of memory release method, terminal device and computer-readable medium |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180330 |