CN106502673B - The display methods and device of service condition - Google Patents
The display methods and device of service condition Download PDFInfo
- Publication number
- CN106502673B CN106502673B CN201610921121.9A CN201610921121A CN106502673B CN 106502673 B CN106502673 B CN 106502673B CN 201610921121 A CN201610921121 A CN 201610921121A CN 106502673 B CN106502673 B CN 106502673B
- Authority
- CN
- China
- Prior art keywords
- time
- business
- service condition
- service
- display
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
The present invention provides the display methods and device of a kind of service condition, by showing that service condition is operating status after postponing the T1 time when the first business starts, and service condition is switched to idle state after the delay T3 time after the first service ending, so that service condition realization smoothly switches, brings user and preferably experience.And the business shorter for runing time can be filtered out directly, and the service condition of interval time shorter adjacent business twice is connected, and continuously display service condition is operating status, guarantee the smooth transition of service condition.
Description
Technical field
The present invention relates to the communication technology more particularly to the display methods and device of a kind of service condition.
Background technique
Business understands service operation state in the process of running, for the ease of user, usually aobvious by status display control
Show service condition, status display control monitors the state of each business in real time, and service condition is shown to user in real time.
The prior art the above-mentioned service operation state of certain scenes display methods and be not suitable for, the characteristics of this kind of scene is
Service condition only has two states: operating status and idle state, and state change is sudden strong, and state duration has not
Certainty, user change no requirement of real-time to service condition, it is only necessary to know the inside of state machine in a period of time section
State.Than the network state of more typical scene such as equipment, network request is sudden strong, and request response time has a very wide distribution.
For the request that the response time is especially short, the operating status duration is very short, for a user, it is seen that will be state
Constantly flashing, user are difficult to differentiate between current network state.
Summary of the invention
The present invention provides the display methods and device of a kind of service condition, so that service condition realization smoothly switches, brings
User preferably experiences.
First aspect present invention provides a kind of display methods of service condition, comprising:
When detecting that the first business starts, the service condition after postponing the T1 time on display terminal is operating status,
In, the T1 time is the time that business starts rear service condition delay display;
If first business end of run within the T1 time, filters out first business;
If first business end of run after the T1 time terminates when the first service operation T2 time
When, the service condition is switched to idle state from operating status after postponing the T3 time, wherein the T2 time is described the
The time of one business actual motion, the T3 time are the time of service condition delay display after service ending.
Optionally, the method also includes:
If detecting that the second business starts within the T3 time, the continuously display service condition is operation shape
State;
After the second service operation T4 time, if not detecting that other business are opened within the T3 time
Begin, then the service condition is switched to idle state from operating status after the T3 time, wherein the T4 time is institute
State the time of the second business actual motion.
Optionally, the method also includes:
When the business of detecting starts, the value of traffic meter is added 1, the value of the traffic meter indicates the terminal
The number of upper currently running business, the initial value of the traffic meter are 0;
When detecting service ending, the value of the traffic meter is subtracted 1;
When the value of the traffic meter is not zero, the continuously display service condition is operating status.
Optionally, the method also includes:
When the value of the traffic meter is zero, if started within the T3 time without other business, in institute
It states and the service condition is switched to idle state from operating status after the T3 time.
Second aspect of the present invention provides a kind of display device of service condition, comprising:
Display module, for the service condition when detecting that the first business starts, after postponing the T1 time on display terminal
For operating status, wherein the T1 time is the time that business starts rear service condition delay display;
Filtering module, for filtering out first industry when first business end of run within the T1 time
Business;
Switching module is transported for end of run after first business is in the T1 time, and in first business
At the end of the row T2 time, the service condition is switched to idle state from operating status after postponing the T3 time, wherein the T2
Time is the time of first service operation, and the T3 time is the time of service condition delay display after service ending.
Optionally, the display module is also used to when detecting that the second business starts in the T3 time, continuously display
The service condition is operating status;
The switching module is also used to after the second service operation T4 time, if within the T3 time
When not detecting that other business start, the service condition is switched to idle shape from operating status after the T3 time
State, wherein the T4 time is the time of the second business actual motion.
Optionally, described device further include:
Counting module, for when the business of detecting starts, the value of traffic meter to be added 1, the traffic meter
Value indicates the number of currently running business in the terminal, and the initial value of the traffic meter is 0;
The counting module is also used to when detecting service ending, subtracts 1 for the value of the traffic meter;
The display module is also used to when the value of the traffic meter is not zero, the continuously display service condition
For operating status.
Optionally, the switching module is also used to:
When the value of the traffic meter is zero, and is started within the T3 time without other business, in the T3
The service condition is switched to idle state from operating status after time.
The display methods and device of service condition provided by the invention, after postponing the T1 time when the first business starts
Display service condition is operating status, and service condition is switched to idle shape after the delay T3 time after the first service ending
State brings user and preferably experiences so that service condition realization smoothly switches.And the business shorter for runing time can be with
It directly filters out, the service condition of interval time shorter adjacent business twice is connected, continuously display service condition is
Operating status guarantees the smooth transition of service condition.
Detailed description of the invention
Fig. 1 is the flow chart of the display methods for the service condition that the embodiment of the present invention one provides;
Fig. 2 is a kind of schematic diagram that the service condition of the embodiment of the present invention is shown;
Fig. 3 is the flow chart of the display methods of service condition provided by Embodiment 2 of the present invention;
Fig. 4 is another schematic diagram that the service condition of the embodiment of the present invention is shown;
Fig. 5 is another schematic diagram that the service condition of the embodiment of the present invention is shown;
Fig. 6 is a kind of structural schematic diagram of the display device for service condition that the embodiment of the present invention three provides.
Specific embodiment
Fig. 1 is the flow chart for the display methods of service condition that the embodiment of the present invention one provides, the method for the present embodiment by
Terminal executes, which can be PC, smart phone and tablet computer etc., specifically can be by the state that runs in terminal
Show that control executes, as shown in Figure 1, the method for the present embodiment may comprise steps of:
Step 101, when detecting that the first business starts, the service condition after postponing the T1 time on display terminal is operation
State, wherein the T1 time is the time that business starts rear service condition delay display.
In the present embodiment, the service condition in terminal includes operating status and idle state, here the first business be in order to
It is distinguished in chronological order with subsequent second business, third business, is not to refer in particular to some business.State is aobvious
The state for showing the business run in control meeting constant testing terminal not is to show immediately when detecting that the first business starts
Service condition is operating status, but show after postponing the T1 time service condition for operating status, and continuously display service condition
For operating status, the T1 time is the time that business starts rear service condition delay display, and the T1 time is that system or user are customized
Parameter.
Step 102, judge the first business whether within the T1 time end of run.
If the first business end of run within the T1 time, thens follow the steps 103, if the first business is transported after the T1 time
Row terminates, and thens follow the steps 104.Wherein, the first business end of run within the T1 time, when illustrating the actual motion of the first business
Between the T2 time be less than or equal to the T1 time, the first business terminates after the T1 time, illustrates the actual run time T2 of the first business
Time is greater than the T1 time.
Step 103 filters out the first business.
If the first business end of run within the T1 time, illustrate that the first business is bursts of traffic, service operation time
It is very short.Service condition is usually indicated with indicator light, for example, being indicated when service condition is operating status with red, when business shape
State is indicated when being idle state with green, if occurring a large amount of sudden short time service, business in a period of time
State will flash always variation, bring the bad experience of user.It, will be sudden short in order to avoid such case in the present embodiment
Time service filter falls, i.e., does not show the state of sudden short time service.
Step 104, at the end of the first service operation T2 time, postpone the T3 time after service condition is cut from operating status
Change to idle state, wherein the T2 time is the time of the first business actual motion, and the T3 time prolongs for service condition after service ending
The time shown late.
It is not to be immediately switched to service condition from operating status at the end of the first service operation in the present embodiment
Idle state, but continuously display service condition is operating status, cuts service condition from operating status after postponing a period of time
Change to idle state.Wherein, the time of service condition delay display is the T3 time after service ending, and the T3 time is system or user
Customized parameter.By show service condition after postponing the T1 time when the first business starts for operating status, and the
Service condition is switched to idle state from operating status after postponing the T3 time after one service ending, so that the operation of the first business
State for time extends the T3 time, and can be realized smoothly switching for service condition, is not in that service condition frequently flashes
The case where.For example, when the service condition of equipment is the network state of equipment, business is network request, since network request is prominent
Hair property is strong, and request response time has a very wide distribution.For the network request that the response time is especially short, the operating status duration is very
It is short, for a user, it is seen that the continuous flashing that will be state, user is difficult to differentiate between current network state.Pass through this
The method of embodiment is operating status by postponing T1 time showing service condition when business starts, and in service ending
Service condition is switched to idle state by the delay T3 time afterwards, so that smooth transition is totally presented in service condition, avoids network
State frequently flashes.
Fig. 2 is a kind of schematic diagram that the service condition of the embodiment of the present invention is shown, as shown in Fig. 2, the first business is in t0When
Quarter shows, i.e., in t after the first business starts after the operating status of the first business is postponed the T1 time0+ T1 the moment opens
Display service condition begin as operating status, terminates after the first service operation T2 time, after the first service operation, postpones T3
Service condition is switched to idle state after time.Therefore, the duration of the operating status of service condition is T2+T3-T1, T3
Service condition is switched to idle state after time.White rectangle frame indicates that service condition is idle state, oblique line filling in Fig. 2
Rectangle frame indicate service condition be operating status.
The method of the present embodiment, the business shape when detecting that the first business starts, after postponing the T1 time on display terminal
State is operating status, if the first business end of run within the T1 time, filters out the first business, if the first business is in T1
End of run after time, then at the end of the first service operation T2 time, by service condition from operating status after postponing the T3 time
It is switched to idle state.By showing that service condition is operating status, Yi Ji after postponing the T1 time when the first business starts
Service condition is switched to idle state after postponing the T3 time after first service ending, so that service condition realization smoothly switches,
User is brought preferably to experience.And the business shorter for runing time can be filtered out directly, and interval time is shorter
The service condition of adjacent business twice connects, and continuously display service condition is operating status, guarantees the smooth of service condition
Transition.
On the basis of example 1, second embodiment of the present invention provides a kind of display methods of service condition, Fig. 3 is this hair
The flow chart of the display methods for the service condition that bright embodiment two provides, as shown in figure 3, the method for the present embodiment may include with
Lower step:
Step 201, when detecting that the first business starts, the service condition after postponing the T1 time on display terminal is operation
State, wherein the T1 time is the time that business starts rear service condition delay display.
Step 202, judge the first business whether within the T1 time end of run.
If the first business end of run within the T1 time, thens follow the steps 203, if the first business is transported after the T1 time
Row terminates, and thens follow the steps 204.
Step 203 filters out the first business.
Step 204, at the end of the first service operation T2 time, judge whether there is the second business to start in the T3 time.
Wherein, the T2 time is the time of the first business actual motion, and the T3 time is aobvious for service condition delay after service ending
The time shown.If there is the second business to start in the T3 time, 205 are thened follow the steps, if opened in the T3 time without the second business
Begin, thens follow the steps 206.
Step 205, continuously display service condition are operating status.
In the present embodiment, after the first service ending, and before service condition is switched to Idle state, if detected
Second business starts, then continuously display service condition be operating status, thus effectively by interval time it is shorter it is adjacent twice
The service condition of business connects, and continuously display service condition is operating status, guarantees the smooth transition of service condition.
Service condition is switched to idle state from operating status after the T3 time by step 206.
Step 207, after the second service operation T4 time, if not detecting that other business are opened within the T3 time
Begin, then service condition is switched to idle state from operating status after the T3 time.
Wherein, the T4 time is the time of the second business actual motion.
Step 207 is executed after step 205.
Fig. 4 is another schematic diagram that the service condition of the embodiment of the present invention is shown, as shown in figure 4, the first business is in t0
Moment shows, the first business is then transported after the first business starts after the operating status of the first business is postponed the T1 time
Row terminates after the T2 time, after the first service operation, it is assumed that the second business T3 ' time after the first service ending,
T3 ' < T3, due to there is new business arrival, continuously display service condition is operating status, and the second business terminates by the T4 time,
After second service ending, service condition is switched to idle state after the T3 time, in example shown in Fig. 4, the fortune of service condition
Row state duration is T2+T3 '+T4+T3-T1.
In the present embodiment, after the first service ending, and service condition is switched to before idle state, can have been detected whether
New business starts, if detecting that the second business starts, continuously display service condition is operating status, to effectively will
The service condition of interval time shorter adjacent business twice connects, and continuously display service condition is operating status, guarantees
The smooth transition of service condition.
It might have multiple business in terminal to initiate, in other embodiments of the invention, by the way that a business meter is arranged
Number device carrys out maintenance service state, and the value of the traffic meter indicates currently running business number in terminal, whenever terminal detects
To when having new business to start, the value of traffic meter is added 1, whenever detecting service ending, by the value of traffic meter
Subtract 1.When the value of traffic meter is not zero, illustrate currently there is business to be currently running, then continuously display service condition is operation
State.When the value of traffic meter is zero, if started within the T3 time without other business, by business after the T3 time
State is switched to idle state.
In above-described embodiment one and the example of embodiment two, the value of traffic meter is 0 before the first business starts, business shape
State is idle state, when detecting that the first business starts, by traffic meter plus 1, and according to embodiment one and embodiment two
Process flow processing.After the first service ending, the value of traffic meter is subtracted 1, the value of traffic meter becomes 0.Similarly,
When the second business starts, the value of traffic meter adds 1, and in the second service ending, the value of traffic meter subtracts 1.
Fig. 5 is another schematic diagram that the service condition of the embodiment of the present invention is shown, as shown in figure 5, the first business is in t0
Moment starts, it is assumed that the initial value of traffic meter is 0, and when detecting that the first business starts, the value of traffic meter is added
1, the value of traffic meter becomes 1, after the first business starts, shows after the operating status of the first business is postponed the T1 time,
Terminate after first service operation T2 time, third business brings into operation after the first business starts T1 ', T1 ' < T1, then by business
The value of counter adds 1, and the value of traffic meter is to become 2, and the operating status of third business is not after postponing the T1 time at this time
It has been shown that, but shown simultaneously with the operating status of the first business, the actual run time of third business is in example shown in Fig. 5
T5, and T5 > T2, therefore, it is T5+T3- (T1-T1 ')=T5+T3-T1+T1 ', Fig. 5 institute that service condition, which is the time of operating status,
In example child, the value of traffic meter is subtracted 1 after the first service ending, by traffic meter after same third service ending
Value subtracts 1.It should be noted that by two business in example shown in Fig. 5: it is illustrated for the first business and third business, when
So it is also possible to run more business simultaneously.
Fig. 6 is a kind of structural schematic diagram of the display device for service condition that the embodiment of the present invention three provides, such as Fig. 6 institute
Show, the device of the present embodiment includes:
Display module 11, for the business shape when detecting that the first business starts, after postponing the T1 time on display terminal
State is operating status, wherein the T1 time is the time that business starts rear service condition delay display;
Filtering module 12, for filtering out described first when first business end of run within the T1 time
Business;
Switching module 13, for end of run after first business is in the T1 time, and in first business
At the end of running the T2 time, the service condition is switched to idle state from operating status after postponing the T3 time, wherein described
The T2 time be the first business actual motion time, the T3 time be service ending after service condition delay display when
Between.
Optionally, the display module 11 is also used to persistently show when detecting that the second business starts in the T3 time
Show that the service condition is operating status.Correspondingly, the switching module 13, was also used to when the second service operation T4 time
After, if do not detect that other business start within the T3 time, by the business shape after the T3 time
State is switched to idle state from operating status, wherein the T4 time is the time of the second business actual motion.
Optionally, described device further includes counting module (being not shown in Fig. 6).
Counting module, for when the business of detecting starts, the value of traffic meter to be added 1, the traffic meter
Value indicates the number of currently running business in the terminal, and the initial value of the traffic meter is 0;The counting module,
It is also used to when detecting service ending, the value of the traffic meter is subtracted 1;Correspondingly, the display module 11, is also used to
When the value of the traffic meter is not zero, the continuously display service condition is operating status.
Optionally, the switching module 13 is also used to: when the value of the traffic meter is zero, and within the T3 time
When starting without other business, the service condition is switched to idle state from operating status after the T3 time.
The device of the present embodiment can be used for executing the method for above-described embodiment, and specific implementation is similar with technical effect,
Which is not described herein again.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (6)
1. a kind of display methods of service condition characterized by comprising
When detecting that the first business starts, the service condition after postponing the T1 time on display terminal is operating status, wherein institute
Stating the T1 time is the time that business starts rear service condition delay display;
If first business end of run within the T1 time, filters out first business;
If first business end of run after the T1 time, at the end of the first service operation T2 time,
The service condition is switched to idle state from operating status after the delay T3 time, wherein the T2 time is described first
The time of business actual motion, the T3 time are the time of service condition delay display after service ending;
Wherein, if detecting that the second business starts within the T3 time, the continuously display service condition is operation shape
State;
After the second service operation T4 time, if not detecting that other business start within the T3 time,
The service condition is then switched to idle state from operating status after the T3 time, wherein the T4 time is described
The time of second business actual motion.
2. the method according to claim 1, wherein further include:
When the business of detecting starts, the value of traffic meter is added 1, the value of the traffic meter indicates that the terminal is taken in
The number of the business of preceding operation, the initial value of the traffic meter are 0;
When detecting service ending, the value of the traffic meter is subtracted 1;
When the value of the traffic meter is not zero, the continuously display service condition is operating status.
3. according to the method described in claim 2, it is characterized by further comprising:
When the value of the traffic meter is zero, if started within the T3 time without other business, in the T3
The service condition is switched to idle state from operating status after time.
4. a kind of display device of service condition characterized by comprising
Display module, for when detecting that the first business starts, the service condition after postponing the T1 time on display terminal to be fortune
Row state, wherein the T1 time is the time that business starts rear service condition delay display;
Filtering module, for filtering out first business when first business end of run within the T1 time;
Switching module, for end of run after first business is in the T1 time, and in the first service operation T2
At the end of time, the service condition is switched to idle state from operating status after postponing the T3 time, wherein the T2 time
For the time of the first business actual motion, the T3 time is the time of service condition delay display after service ending;
Wherein, the display module is also used to when detecting that the second business starts in the T3 time, the continuously display industry
Business state is operating status;
The switching module is also used to after the second service operation T4 time, if do not had within the T3 time
When detecting that other business start, the service condition is switched to idle state from operating status after the T3 time,
In, the T4 time is the time of the second business actual motion.
5. device according to claim 4, which is characterized in that further include:
Counting module, for the value of traffic meter being added 1, the value table of the traffic meter when the business of detecting starts
Show the number of currently running business in the terminal, the initial value of the traffic meter is 0;
The counting module is also used to when detecting service ending, subtracts 1 for the value of the traffic meter;
The display module is also used to when the value of the traffic meter is not zero, and the continuously display service condition is fortune
Row state.
6. device according to claim 5, which is characterized in that the switching module is also used to:
When the value of the traffic meter is zero, and is started within the T3 time without other business, in the T3 time
The service condition is switched to idle state from operating status afterwards.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610921121.9A CN106502673B (en) | 2016-10-21 | 2016-10-21 | The display methods and device of service condition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610921121.9A CN106502673B (en) | 2016-10-21 | 2016-10-21 | The display methods and device of service condition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106502673A CN106502673A (en) | 2017-03-15 |
CN106502673B true CN106502673B (en) | 2019-08-06 |
Family
ID=58318456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610921121.9A Active CN106502673B (en) | 2016-10-21 | 2016-10-21 | The display methods and device of service condition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106502673B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365761A (en) * | 2012-03-09 | 2013-10-23 | 苹果公司 | Progress bar |
CN103684821A (en) * | 2012-09-11 | 2014-03-26 | 中兴通讯股份有限公司 | Method and device for processing alarm messages |
CN103905259A (en) * | 2012-12-25 | 2014-07-02 | 富泰华工业(深圳)有限公司 | Server monitoring system |
CN104661016A (en) * | 2013-11-20 | 2015-05-27 | 扬智科技股份有限公司 | Detecting method and electronic device |
-
2016
- 2016-10-21 CN CN201610921121.9A patent/CN106502673B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365761A (en) * | 2012-03-09 | 2013-10-23 | 苹果公司 | Progress bar |
CN103684821A (en) * | 2012-09-11 | 2014-03-26 | 中兴通讯股份有限公司 | Method and device for processing alarm messages |
CN103905259A (en) * | 2012-12-25 | 2014-07-02 | 富泰华工业(深圳)有限公司 | Server monitoring system |
CN104661016A (en) * | 2013-11-20 | 2015-05-27 | 扬智科技股份有限公司 | Detecting method and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN106502673A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107872339B (en) | Operation and maintenance implementation method and device in virtual network and virtual network system | |
CN103176842A (en) | Background process management method and mobile terminal thereof | |
EP2600542B1 (en) | Process method and apparatus for preventing alarm jitter | |
CN108683616B (en) | Network configuration device of virtual switch queue | |
CN105446776A (en) | Application program closing method and device and electronic equipment | |
CN107547281A (en) | A kind of main and standby competition method, apparatus and application apparatus | |
CN103227662A (en) | Safety detection method and system of electric power communication equipment based on state control | |
CN108683528A (en) | A kind of data transmission method, central server, server and data transmission system | |
CN106502673B (en) | The display methods and device of service condition | |
CN105843675B (en) | Thread exit method and device | |
CN106161276A (en) | A kind of method and apparatus adjusting network traffics | |
CN106775620A (en) | A kind of timing method and device | |
CN116069774B (en) | Data cleaning method, device and medium based on wireless timeout intelligent analysis | |
CN103229458B (en) | Process the method and apparatus of residual risk | |
CN105487921B (en) | A kind of task stack management method and device | |
CN102387029B (en) | System and method for automatically saving equipment configuration information | |
CN103490964A (en) | Method and device for flexibly configuring number of access terminals | |
CN103347272B (en) | Network resource consumption appraisal procedure and device | |
DE102006034422A1 (en) | A method for managing the power transferred from a central network component over a line to a remote network component | |
CN108989137B (en) | Time delay measuring method and device for end-to-end communication and computer readable storage medium | |
CN110932975B (en) | Flow table issuing method, data forwarding method and device and electronic equipment | |
CN104754328B (en) | Distributed video quality diagnosis method | |
CN105224411B (en) | It is a kind of to avoid CPU from being depleted the method for causing house dog to be restarted | |
CN106897192B (en) | Monitoring plug-in control method and device based on time delay classification | |
CN103684821A (en) | Method and device for processing alarm messages |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |