CN105786631A - Method and device for controlling detection score to be displayed - Google Patents
Method and device for controlling detection score to be displayed Download PDFInfo
- Publication number
- CN105786631A CN105786631A CN201410798224.1A CN201410798224A CN105786631A CN 105786631 A CN105786631 A CN 105786631A CN 201410798224 A CN201410798224 A CN 201410798224A CN 105786631 A CN105786631 A CN 105786631A
- Authority
- CN
- China
- Prior art keywords
- variable
- detection mark
- renewal
- update
- random number
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 240
- 238000000034 method Methods 0.000 title claims abstract description 44
- SBNFWQZLDJGRLK-UHFFFAOYSA-N phenothrin Chemical compound CC1(C)C(C=C(C)C)C1C(=O)OCC1=CC=CC(OC=2C=CC=CC=2)=C1 SBNFWQZLDJGRLK-UHFFFAOYSA-N 0.000 claims description 11
- 230000003247 decreasing effect Effects 0.000 description 10
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000006227 byproduct Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a method and device for controlling a detection score to be displayed, and relates to the field of intelligent terminals. The method and device are used for controlling a display process of the detection score of a device. The method includes the following steps: initializing a first variable; updating the first variable according a random number, wherein a variety range of the first variable before and after update is less than one third of an absolute value of a difference value between the initialized first variable and the detection score and is greater than one twentieth the absolute value of the difference value between the initialized first variable and the detection score; determining if the updated first variable reaches the detection score or not; displaying the updated first variable if the updated variable does not reach the detection score, and continuously executing updating of the first variable according to the random number; and displaying the detection score if the updated first variable reaches the detection score.
Description
Technical field
The present invention relates to intelligent terminal field, particularly relate to a kind of control and detect method and the device that mark shows.
Background technology
The fail-safe software that smart machine is installed has detection function, in order to quickly to check the safe condition of equipment, and provides detection scoring.
The method of conventional display detection mark is directly to show finally detecting mark, it does not have the dynamic effect of sandwich digit change.This method has the disadvantage that, if repeated detection score is identical, meeting cause the user equipment does not carry out the illusion detected.
In order to solve the problems referred to above, commercially there is the detection mark displaying scheme optimized is adopt the display packing changed successively.Such as start to add 1 successively from 0 dynamically to change, until display finally detects mark.
State in the process of Dynamic Announce detection mark in realization, inventor have found that in prior art, at least there are the following problems: owing to each numerical value in 0 to final detection mark is required for display, if each numerical value display time is too short, each numeral is jumped too fast, and user cannot find out display content;If increasing the display time of each numerical value, then total display time can increase, user needs to wait the final display detecting mark for a long time.So, it is not easy to user and experiences terminal at the change procedure carrying out detection process mid score, affect Consumer's Experience.
Summary of the invention
Embodiments of the invention provide a kind of and control method and the device that detection mark shows, in order to control the display process of the detection mark of equipment, improve Consumer's Experience.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, embodiments provides a kind of control and detects the method that mark shows, including: initialize the first variable;The first variable is updated according to random number;Amplitude of variation before and after first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th;Determine whether the first variable after renewal reaches detection mark;If the first variable after updating is not reaching to detection mark, then show the first variable after renewal, and continue executing with and update the first variable according to random number;If the first variable after updating reaches detection mark, then show detection mark.
Second aspect, embodiments provides a kind of equipment showing detection mark, including: initialization unit, it is used for initializing the first variable;Updating block, for updating the first variable according to random number;Amplitude of variation before and after described first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th;Determine unit, for whether the first variable after determining renewal reaches detection mark;Processing unit, when being not reaching to detection mark for the first variable in the updated, display update after the first variable, and continue executing with and update the first variable according to random number;Processing unit, be additionally operable to the first variable in the updated reach detection mark when, display detection mark.
Embodiments provide a kind of control and detect method and the device that mark shows, the method includes: initialize the first variable, the first variable is updated according to random number, amplitude of variation before and after first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th, determine whether the first variable after renewal reaches detection mark, if the first variable after updating is not reaching to detection mark, then show the first variable after updating, and continue executing with and update the first variable according to random number;If the first variable after updating reaches detection mark, then show detection mark.So owing to controlling the amplitude of variation of the first variable, it is possible to the value shown by the first variable and display number of times control in the reasonable scope every time so that can be user's change procedure of being clearly seen that each mark in the short period of time, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of schematic flow sheet controlling the method that detection mark shows that Fig. 1 provides for the embodiment of the present invention;
The another kind of schematic flow sheet controlling the method that detection mark shows that Fig. 2 provides for the embodiment of the present invention;
The functional schematic of a kind of equipment showing detection mark that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Embodiments provide a kind of control and detect the method that mark shows, as it is shown in figure 1, include:
101, the first variable is initialized.
It should be noted that the first variable value between zero to detection full marks.First variable does not have the meaning of actual representative at this, the value of intermediate change used when being only intended to detection mark Dynamic Announce.
Concrete, initializing the first variable is exactly compose initial value to the first variable.It is changed to the display number of times in detection mark according to the rule of increasing or decreasing to control the first variable, so the initial value one of the first variable fixes within the scope of one, it is to avoid the situation that digital change frequency that is that show is little because the initial value of the first variable is improper occurs.
Further, when the first variable is according to incremental variations, the first variable initializer show value is less, if initial random value is less than 1/10th of detection mark;When the first variable changes according to successively decreasing, the initial value of the first variable is relatively big, if initial random value is less than detection full marks and more than 9/10ths of detection full marks.
102, the first variable is updated according to random number.
Wherein, the amplitude of variation before and after the first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th.
It should be noted that, by restricting the first variable after updating with update before the absolute value of difference of the first variable between initialized first variable and 1st/1 to three/20ths of the absolute value detecting mark difference, it is possible to for the display number of times of same detection Fractional domination the first variable between 3 to 20 times.
It should be noted that, the present invention is from controlling the number of times that the initial value of the first variable and amplitude of variation each time control to flash, step 102 be the amplitude of variation by controlling the first variable within the specific limits so that the number of times that the first variable shows is in the reasonable scope.Such as, detection mark is detection full marks 100, and the initial value of the first variable is 0) between 9, the span of random number is 10) 20, first variable is updated to front first variable of renewal and random number sum every time, then just can control the display number of times of the first variable within 11 times.
It should be noted that the first variable changes according to the rule of monotonic increase or monotone decreasing.
Concrete, the first variable and random number are done the first variable after computing is updated.Wherein, described computing includes or several in addition, subtraction, multiplication, division.
Concrete, step 102 can be accomplished by:
The first, by the first variable update be the first variable with random number and.
Concrete, when the initial value of the first variable is less, in order to make the first variable according to incremental rule change, it is possible to by the first variable update be the first variable with random number and.
The second, is the difference that the first variable deducts random number by the first variable update.
Concrete, when the initial value of the first variable is bigger, in order to make the first variable according to the rule change successively decreased, it is possible to be the difference that the first variable deducts random number by the first variable update.
By the first variable update, the third, be that the first variable is multiplied by random number long-pending.
Concrete, when the initial value of the first variable is less, in order to make the first variable according to incremental rule change, it is possible to the value of regulation random number is 1.1) between 1.2, and by product that the first variable update is the first variable and random number;When the initial value of the first variable is bigger, in order to make the first variable according to the rule change successively decreased, it is possible to the value of regulation random number is 0.8) between 0.9, and by product that the first variable update is the first variable and random number.
It should be noted that the implementation of " updating the first variable according to random number " is not limited to above-mentioned three kinds.Can also is that other update other modes of the first variable according to stochastic variable according to the rule of monotonic increase or monotone decreasing, such as, the random number obtained each time is 0) between 9, the method updating the first variable according to random number is to add one by the tens of the first variable, then obtains the first variable after updating plus this random number.The present invention is without limitation.Mode owing to updating the first variable is different, in order to make amplitude of variation before and after the first variable update less than initialized first variable and the absolute value of detection mark difference 1/3rd and more than initialized first variable and 1st/20th of the absolute value of detection mark difference, it is possible to the scope of random value is made corresponding restriction.
Further, limit the amplitude of variation absolute value 1/5th less than initialized first variable and detection mark difference before and after the first variable update and the absolute value 1/10th more than initialized first variable with detection mark difference, namely limit update after the first variable with update before the first variable difference absolute value initialized first variable with detect mark difference absolute value 1/5th and to 1/10th between, so can limit further first variable show number of times.
103, determine whether the first variable after renewal reaches detection mark.
It should be noted that detection mark is to the actually detected mark obtained of terminal.Detection can be the safe coefficient of detection equipment, it is also possible to be the power consumption of detection equipment, it is also possible to be the utilization rate of the processor of detection equipment.The particular content of detection is not limited by the present invention.
It should be noted that the Changing Pattern according to the first variable is monotonic increase change or monotone decreasing change, it is determined that the method whether the first variable after renewal reaches detection mark is different.
Concrete, the Changing Pattern at the first variable is in monotonically increasing situation, it is thus necessary to determine that whether the first variable after renewal is more than detection mark;When the Changing Pattern of the first variable is monotone decreasing, it is thus necessary to determine that whether the first variable after renewal is less than detection mark.
It should be noted that perform different steps according to the result difference determined, when the first variable in the updated is not reaching to detection mark, performs step 104, do not perform step 105;When the first variable in the updated reaches detection mark, perform step 105, do not perform step 104.
If 104 update after the first variable be not reaching to detection mark, then show the first variable after renewal, and continues executing with and update the first variable according to random number.
It should be noted that the first variable in the updated is but without when reaching detection mark, detection mark need not be shown, it should the first variable after display renewal, then proceed to update the first variable, till the first variable reaches detection mark.
Concrete, can have following several with the specific implementation of the three of step 102 kinds of steps 104 that implementation is corresponding:
The first, if the first variable after updating is not more than detection mark, then show the first variable after updating, and continue executing with by the first variable update be the first variable and random number and.
The second, if the first variable after updating is not less than detection mark, then show the first variable after renewal, and to continue executing with the first variable update is the difference that the first variable deducts random number.
The third, in the value of random number 1.1) between 1.2, when the first variable is according to incremental rule change, if the first variable after updating is not more than detection mark, then show the first variable after updating, and continue executing with product that the first variable update is the first variable and random number;In the value of random number 0.8) between 0.9, when first variable is according to the rule change successively decreased, if the first variable after updating is not less than detection mark, then show the first variable after renewal, and continue executing with product that the first variable update is the first variable and random number.
If the first variable after 105 renewals reaches detection mark, then show detection mark.
It should be noted that when the first variable in the updated reaches detection mark, the change that the first variable is flashed need not be utilized, but directly displays detection mark.
Concrete, different according to the Changing Pattern of the first variable, the implementation of step 105 is different, when the first variable changes according to monotonically increasing rule, if the first variable after updating is more than detection mark, then shows detection mark;When the first variable changes according to the rule of monotone decreasing, if the first variable after updating is less than detection mark, then show detection mark.
nullExemplary,Initializing the first variable is 2,Obtain random number 13,Updating the first variable according to random number is 2+13=15,Determine whether the first variable after renewal reaches detection mark 95,Result is that the first variable 15 is not reaching to detection mark 95,So show the first variable 15,Then random number 16 is regained,Updating the first variable according to random number is 15+16=31,Determine whether the first variable 31 after renewal reaches detection mark 95,Result is that the first variable 31 is not reaching to detection mark 95,So show the first variable 31,Continue to update the first variable,If the random number next produced is 15 respectively、14、19、10,The numeral so shown is 46 respectively、60、79、89,Then continue to judge whether the first variable 89 reaches detection mark 95,Determine that the first variable 89 is not reaching to detection mark 89,So obtain new random number 13,Updating the first variable is 89+13=102,Determine that the first variable 102 after renewal reaches detection mark 95,Display detection mark 95.In this process, the numeral of display totally 7, respectively 15,31,46,60,79,89,95.The number of display digit is so controlled by controlling the generation of random number, make each interdigital Changing Pattern of number that equilibrium flashes and display, relative to background technology shows each mark successively, the altogether numeral of the display display mode of totally 95, the present embodiment can allow user easily find out the mark change of display within a short period of time.
Embodiments provide a kind of control and detect the method that mark shows, initialize the first variable, the first variable is updated according to random number, amplitude of variation before and after first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th, determine whether the first variable after renewal reaches detection mark, if the first variable after updating is not reaching to detection mark, then show the first variable after updating, and continue executing with and update the first variable according to random number;If the first variable after updating reaches detection mark, then show detection mark.So owing to controlling the amplitude of variation of the first variable, it is possible to the value shown by the first variable and display number of times control in the reasonable scope every time so that can be user's change procedure of being clearly seen that each mark in the short period of time, improve Consumer's Experience.
Embodiments provide a kind of method that detection mark shows that controls, reference Fig. 2.
It should be noted that detecting mark in the present embodiment is changing always, say, that the change that equipment is flashed while detection.So the present embodiment adds the step updating detection mark.
It should be noted that at detection mark in varying situations, it is possible to periodically update detection mark, it is also possible to aperiodicity updates detection mark, now can update detection mark while updating the first variable.
As in figure 2 it is shown, the method includes:
201, the first variable is initialized.
Concrete, it is referred to step 101, does not repeat them here.
202, update the first variable according to random number, and update detection mark.
Wherein, the amplitude of variation before and after the first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th.
Concrete, the method updating the first variable according to random number is referred to step 102, does not repeat them here.Updating detection mark is exactly that detection mark is updated to the detection mark that current detection has obtained.
203, determine whether the first variable after renewal reaches detection mark.
Concrete, it is referred to step 103, does not repeat them here.
It should be noted that perform different steps according to the result difference determined, when the first variable in the updated is not reaching to detection mark, performs step 204, do not perform step 205) 208;When the first variable in the updated reaches detection mark, perform step 205) 208, do not perform step 204.
If 204 update after the first variable be not reaching to detection mark, then show the first variable after renewal, and continues executing with and update the first variable according to random number.
Concrete, it is referred to step 104, does not repeat them here.
If the first variable after 205 renewals reaches detection mark, then show detection mark.
Concrete, it is referred to step 105, does not repeat them here.
It should be noted that, owing to detection mark is to constantly update, even if so the first variable reach detection mark after, the detection mark of display is not necessarily final detection mark, so needing to perform step 206) 208, determine that whether currently displaying mark is final detection mark, then perform different steps.
206, determine whether detection mark updates complete.
It should be noted that determine whether detection mark updates complete just to determine that whether currently displaying detection mark is final detection mark.
It should be noted that perform different steps according to the result difference determined.When detecting mark and not updating complete, perform step 207, do not perform step 208;When detecting mark and updating complete, terminate.
207, when detecting mark and not updating complete, continue executing with and update the first variable according to random number.
It should be noted that when current detection mark is not final detection mark, detection mark is described it also occur that change, so also needing to continue determine the first variable or detect the display of mark.
208, when detecting mark and updating complete, terminate.
It should be noted that detection mark updates, complete to refer to currently displaying detection mark be final detection mark.So terminate the dynamic changing process of mark, keep user is shown final detection mark.
Embodiments provide a kind of control and detect the method that mark shows, initialize the first variable, update detection mark, the first variable is updated according to random number, amplitude of variation before and after first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th, determine whether the first variable after renewal reaches detection mark, if the first variable after updating is not reaching to detection mark, then show the first variable after updating, and continue executing with and update the first variable according to random number;If the first variable after updating reaches detection mark, then show detection mark, continue to determine whether detection mark updates complete, when detecting mark and not updating complete, continue executing with and update the first variable according to random number, when detecting mark and not updating complete, terminate random number and show.So owing to controlling the amplitude of variation of the first variable, it is possible to the value shown by the first variable and display number of times control in the reasonable scope every time so that can be user's change procedure of being clearly seen that each mark in the short period of time, improve Consumer's Experience.Meanwhile, the present embodiment with the addition of renewal detection mark and determines whether detection mark updates complete and process step accordingly so that this method goes for the sight flashed while detection.
As it is shown on figure 3, the functional schematic of its a kind of equipment showing detection mark provided for the embodiment of the present invention.With reference to shown in Fig. 3, this processor includes: initialization unit 301, updating block 302, determine unit 303 and processing unit 304.
Initialization unit 301, is used for initializing the first variable;
Initialization unit 301, is initial random value specifically for initializing the first variable;Initial random value is less than 1/10th of detection full marks;
Or, initialization unit 301, is initial random value specifically for changing described first variable;Initial random value is less than detection full marks and more than 9/10ths of detection full marks;
Updating block 302, for updating the first variable according to random number;Amplitude of variation before and after first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th;
Updating block 302, specifically for by the first variable update be the first variable with random number and;
Or, updating block 302, specifically for being the difference that the first variable deducts random number by the first variable update;
Further, 1/20th the including of 1/3rd and the absolute value more than initialized first variable and detection mark difference less than initialized first variable and the absolute value of detection mark difference of the amplitude of variation before and after the first variable update: the amplitude of variation before and after the first variable update is less than initialized first variable absolute value 1/5th with detection mark difference and more than the absolute value 1/10th of initialized first variable with detection mark difference.
Determine unit 303, for whether the first variable after determining renewal reaches detection mark;
Determine unit 303, specifically for the first variable after determining renewal whether more than detecting mark;
Or, it is determined that unit 303, specifically for the first variable after determining renewal whether less than detecting mark;
Processing unit 304, when being not reaching to detection mark for the first variable in the updated, display update after the first variable, and trigger updating block 302 and continue executing with and update the first variable according to random number;
Described processing unit 304, when being not more than detection mark specifically for the first variable in the updated, display update after the first variable, and trigger updating block 302 continue executing with by the first variable update be the first variable with random number and;
Or, processing unit 304, when being not less than detection mark specifically for the first variable in the updated, display update after the first variable, and to trigger that updating block 302 continues executing with the first variable update be the difference that the first variable deducts random number;
Processing unit 304, be additionally operable to the first variable in the updated reach detection mark when, display detection mark.
Processing unit 304, when specifically for the first variable in the updated more than detection mark, display detection mark.
Or, processing unit 304, when specifically for the first variable in the updated less than detection mark, display detection mark.
Updating block 302, is additionally operable to update detection mark;
Determine unit 303, be additionally operable to determine whether detection mark updates complete;
Processing unit 304, is additionally operable to, when detecting mark and not updating complete, continue executing with and update the first variable according to random number;When detecting mark and updating complete, terminate.
Embodiments provide a kind of equipment showing detection mark, this equipment initializes the first variable, update detection mark, the first variable is updated according to random number, amplitude of variation before and after first variable update less than initialized first variable with detection mark difference absolute value 1/3rd and more than initialized first variable with detection mark difference absolute value 1/20th, determine whether the first variable after renewal reaches detection mark, if the first variable after updating is not reaching to detection mark, then show the first variable after updating, and continue executing with and update the first variable according to random number;If the first variable after updating reaches detection mark, then show detection mark, continue to determine whether detection mark updates complete, when detecting mark and not updating complete, continue executing with and update the first variable according to random number, when detecting mark and not updating complete, terminate random number and show.So owing to controlling the amplitude of variation of the first variable, it is possible to the value shown by the first variable and display number of times control in the reasonable scope every time so that can be user's change procedure of being clearly seen that each mark in the short period of time, improve Consumer's Experience.Meanwhile, the present embodiment with the addition of renewal detection mark and determines whether detection mark updates complete and process accordingly so that this equipment goes for the sight flashed while detection.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way.Such as, device embodiment described above is merely schematic, such as, the division of described unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that the independent physics of unit includes, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ hardware adds the form of SFU software functional unit and realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, it is possible to be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs the part steps of method described in each embodiment of the present invention.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (Read) OnlyMemory, be called for short ROM), random access memory (RandomAccessMemory, be called for short RAM), the various media that can store program code such as magnetic disc or CD.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that;Technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature carries out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. one kind controls the method that detection mark shows, it is characterised in that including:
Initialize the first variable;
Described first variable is updated according to random number;Amplitude of variation before and after described first variable update less than initialized first variable and the absolute value of detection mark difference 1/3rd and more than 1st/20th of described initialized first variable and the absolute value of described detection mark difference;
Determine whether the first variable after renewal reaches described detection mark;
If the first variable after described renewal is not reaching to described detection mark, then shows the first variable after described renewal, and continue executing with described according to random number described first variable of renewal;
If the first variable after described renewal reaches described detection mark, then show described detection mark.
2. method according to claim 1, it is characterised in that
After described initialization the first variable, also include: update described detection mark;
After the described detection mark of described display, also comprise determining that whether described detection mark updates complete;When described detection mark does not update complete, continue executing with described according to random number described first variable of renewal;When described detection mark updates complete, terminate.
3. method according to claim 1, it is characterised in that
Described initialization the first variable includes: initializing described first variable is initial random value;Described initial random value is less than 1/10th of described detection mark;
Described update described first variable according to random number and include: by described first variable update be described first variable with described random number and;
Described determine renewal after the first variable whether reach described detection mark and comprise determining that whether the first variable after described renewal is more than described detection mark;
If the first variable after described renewal is not reaching to described detection mark, then show the first variable after described renewal, and continue executing with described according to random number update described first variable include: if the first variable after described renewal is not more than described detection mark, then show the first variable after described renewal, and continue executing with described by described first variable update be described first variable with described random number and;
If the first variable after described renewal reaches described detection mark, then show that described detection mark includes: if the first variable after described renewal is more than described detection mark, then show described detection mark.
4. method according to claim 1, it is characterised in that described initialization the first variable includes: initializing described first variable is initial random value;Described initial random value is less than described detection full marks and more than 9/10ths of described detection full marks;
Described update described first variable according to random number and include: be the difference that described first variable deducts described random number by described first variable update;
Described determine renewal after the first variable whether reach detection mark and comprise determining that whether the first variable after described renewal is less than described detection mark;
If the first variable after described renewal is not reaching to described detection mark, then show the first variable after described renewal, and continue executing with described according to random number update described first variable include: if the first variable after described renewal is not less than described detection mark, then show the first variable after described renewal, and to continue executing with described be the difference that described first variable deducts described random number by described first variable update;
If the first variable after described renewal reaches described detection mark, then show that described detection mark includes: if the first variable after described renewal is less than described detection mark, then show described detection mark.
5. method according to claim 1, it is characterized in that, the amplitude of variation before and after described first variable update less than initialized first variable and the absolute value of detection mark difference 1/3rd and include more than 1st/20th of described initialized first variable and the absolute value of described detection mark difference: the amplitude of variation before and after described first variable update is less than described initialized first variable absolute value 1/5th with described detection mark difference and more than the absolute value 1/10th of described initialized first variable Yu described detection mark difference.
6. the equipment showing detection mark, it is characterised in that including:
Initialization unit, is used for initializing the first variable;
Updating block, for updating described first variable according to random number;Amplitude of variation before and after described first variable update less than initialized first variable and the absolute value of detection mark difference 1/3rd and more than 1st/20th of described initialized first variable and the absolute value of described detection mark difference;
Determine unit, for whether the first variable after determining renewal reaches described detection mark;
Processing unit, when being not reaching to described detection mark for the first variable after described renewal, shows the first variable after described renewal, and triggers described updating block and continue executing with and described update described first variable according to random number;
Described processing unit, is additionally operable to the first variable after described renewal when reaching described detection mark, shows described detection mark.
7. equipment according to claim 6, it is characterised in that
Described updating block, is additionally operable to update described detection mark;
Described determine unit, be additionally operable to determine whether described detection mark updates complete;
Described processing unit, is additionally operable to when described detection mark does not update complete, continues executing with described according to random number described first variable of renewal;When described detection mark updates complete, terminate.
8. equipment according to claim 6, it is characterised in that
Described initialization unit, is initial random value specifically for initializing described first variable;Described initial random value is less than 1/10th of described detection mark;
Described updating block, specifically for by described first variable update be described first variable with described random number and;
Described determine unit, specifically for determining that whether the first variable after described renewal is more than described detection mark;
Described processing unit, when being not more than described detection mark specifically for the first variable after described renewal, show the first variable after described renewal, and trigger described updating block continue executing with described by described first variable update be described first variable with described random number and;
Described processing unit, specifically for the first variable after described renewal more than described detection mark, shows described detection mark.
9. equipment according to claim 6, it is characterised in that
Described initialization unit, is initial random value specifically for initializing described first variable;Described initial random value is less than described detection full marks and more than 9/10ths of described detection full marks;
Described updating block, specifically for being the difference that described first variable deducts described random number by described first variable update;
Described determine unit, specifically for determining that whether the first variable after described renewal is less than described detection mark;
Described processing unit, when being not less than described detection mark specifically for the first variable after described renewal, show described first variable, and triggering described updating block, to continue executing with described be the difference that described first variable deducts described random number by described first variable update;
Described processing unit, specifically for the first variable after described renewal less than described detection mark, shows described detection mark.
10. equipment according to claim 6, it is characterized in that, the amplitude of variation before and after described first variable update less than initialized first variable and the absolute value of detection mark difference 1/3rd and include more than 1st/20th of described initialized first variable and the absolute value of described detection mark difference: the amplitude of variation before and after described first variable update is more than described initialized first variable absolute value 1/10th with described detection mark difference and less than the absolute value 1/5th of described initialized first variable Yu described detection mark difference.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410798224.1A CN105786631B (en) | 2014-12-19 | 2014-12-19 | A kind of method and device that control detection score is shown |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410798224.1A CN105786631B (en) | 2014-12-19 | 2014-12-19 | A kind of method and device that control detection score is shown |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105786631A true CN105786631A (en) | 2016-07-20 |
CN105786631B CN105786631B (en) | 2019-01-29 |
Family
ID=56385887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410798224.1A Expired - Fee Related CN105786631B (en) | 2014-12-19 | 2014-12-19 | A kind of method and device that control detection score is shown |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105786631B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114995817A (en) * | 2022-08-03 | 2022-09-02 | 杭州乾冠数字物联技术有限公司 | Web page large-screen data processing method based on Vuex |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7072787B1 (en) * | 2004-09-01 | 2006-07-04 | Emc Corporation | Method for analyzing data storage system test data |
CN1917659A (en) * | 2006-07-27 | 2007-02-21 | 华为技术有限公司 | Method and system of testing result displayed on terminal screen |
US20100100872A1 (en) * | 2008-10-22 | 2010-04-22 | Oracle International Corporation | Methods and systems for implementing a test automation framework for testing software applications on unix/linux based machines |
CN102519739A (en) * | 2011-12-14 | 2012-06-27 | 林建辉 | Train comfort level and stability detector and detection method thereof |
CN103399810A (en) * | 2013-08-01 | 2013-11-20 | 北京安兔兔科技有限公司 | Method and device for evaluating performance of mobile terminal and mobile terminal |
-
2014
- 2014-12-19 CN CN201410798224.1A patent/CN105786631B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7072787B1 (en) * | 2004-09-01 | 2006-07-04 | Emc Corporation | Method for analyzing data storage system test data |
CN1917659A (en) * | 2006-07-27 | 2007-02-21 | 华为技术有限公司 | Method and system of testing result displayed on terminal screen |
US20100100872A1 (en) * | 2008-10-22 | 2010-04-22 | Oracle International Corporation | Methods and systems for implementing a test automation framework for testing software applications on unix/linux based machines |
CN102519739A (en) * | 2011-12-14 | 2012-06-27 | 林建辉 | Train comfort level and stability detector and detection method thereof |
CN103399810A (en) * | 2013-08-01 | 2013-11-20 | 北京安兔兔科技有限公司 | Method and device for evaluating performance of mobile terminal and mobile terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114995817A (en) * | 2022-08-03 | 2022-09-02 | 杭州乾冠数字物联技术有限公司 | Web page large-screen data processing method based on Vuex |
Also Published As
Publication number | Publication date |
---|---|
CN105786631B (en) | 2019-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108053028B (en) | Data fixed-point processing method and device, electronic equipment and computer storage medium | |
US8248428B2 (en) | Parallel computation of computationally expensive parameter changes | |
CA2959677C (en) | Parametric inertia and apis | |
CN106485343A (en) | Rote learning device and method, life predication apparatus and electric motor system | |
CN107330768B (en) | Personalized material display control method, device and system | |
CN105641927A (en) | Virtual object steering control method and device | |
CN109718538A (en) | The frame choosing method of virtual objects and device, electronic equipment, storage medium in game | |
CN103199813B (en) | Based on the memristor resistance value state control circuit of negative feedback thought | |
CN104699408A (en) | Operation method and device of touch screen and touch device | |
CN114462350B (en) | Integrated circuit chip verification method and device, electronic equipment and storage medium | |
US20190205757A1 (en) | Model-free control for reinforcement learning agents | |
CN105786631A (en) | Method and device for controlling detection score to be displayed | |
CN105654880B (en) | Method of controlling scale factor and method of controlling luminance including the same | |
CN104978670A (en) | Method and apparatus for presenting data information of a plurality of indicators | |
CN106575118A (en) | Detection of consistent steady-state behavior in process plants | |
JP2020027644A (en) | Motor excitation signal search method and electronic apparatus | |
CN109529320A (en) | Rotating direction control method and device in a kind of game | |
CN106776749A (en) | Modes to open a file method to set up and system | |
CN115827914A (en) | Method and device for generating relational topological graph, storage medium and electronic equipment | |
CN102707917B (en) | Method and device for visualizing high-dimensional data | |
CN105786333A (en) | Method and device for operating mobile terminal | |
CN105553370B (en) | A kind of motor control method and electronic equipment | |
US20180120363A1 (en) | Data processing device, data processing method, and non-transitory storage medium | |
CN105224204A (en) | Parameters input method and apparatus | |
CN105429529A (en) | Motor control method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190129 |