CN104569839B - Display methods, device and the mobile terminal of charged state - Google Patents

Display methods, device and the mobile terminal of charged state Download PDF

Info

Publication number
CN104569839B
CN104569839B CN201410828152.0A CN201410828152A CN104569839B CN 104569839 B CN104569839 B CN 104569839B CN 201410828152 A CN201410828152 A CN 201410828152A CN 104569839 B CN104569839 B CN 104569839B
Authority
CN
China
Prior art keywords
area
virtual water
water particle
adjustment
virtual
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
Application number
CN201410828152.0A
Other languages
Chinese (zh)
Other versions
CN104569839A (en
Inventor
陈志军
龙飞
关亚勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410828152.0A priority Critical patent/CN104569839B/en
Publication of CN104569839A publication Critical patent/CN104569839A/en
Application granted granted Critical
Publication of CN104569839B publication Critical patent/CN104569839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The disclosure is directed to a kind of display methods of charged state, device and mobile terminal, belong to technical field of mobile terminals.Methods described includes:Display includes first area and the charging progress interface of second area when starting when charging;Increased battery electric quantity is obtained every preset duration;The drippage process of virtual water droplet is shown along default motion track in the second area, the starting point for presetting motion track is the coboundary of second area, end point is the coboundary of first area;The first area to be increased is determined according to increased battery electric quantity;At the end of the drippage process of virtual water droplet is shown, the area of first area is increased according to the first area and accordingly reduces the area of second area;First area and second area after display adjustment.The disclosure carrys out the increase of electricity during analog charge by come the inflow of electricity during analog charge, increasing with virtual water droplet with the area of storage zones so that charging process is more directly perceived, and relatively more lively.

Description

Display methods, device and the mobile terminal of charged state
Technical field
This disclosure relates to technical field of mobile terminals, more particularly to a kind of display methods of charged state, device and movement Terminal.
Background technology
With developing rapidly for mobile terminal technology, occur in that various mobile terminals, such as mobile phone, tablet personal computer, Intelligent bracelet etc..Generally, it is necessary to be charged in advance for the battery of these mobile terminals when using these mobile terminals.
Correlation technique presets a square region for representing battery electric quantity when showing charged state, often, and by the party Shape region is divided into three or four small lattice.On this basis, in charging process, come with the color for changing small lattice in square region The electricity that battery has been substituted the bad for the good is indicated, for example, the color of a certain small lattice is changed into after green from colourless, the small lattice is represented and has been filled with.
The content of the invention
The disclosure provides a kind of display methods of charged state, device and mobile terminal.
According to the first aspect of the embodiment of the present disclosure there is provided a kind of display methods of charged state, methods described includes:
When starting when charging, display includes first area and the charging progress interface of second area, the first area position In the initial quantity of electricity of the lower section of the second area and the first area for identifying battery;
Every preset duration, increased battery electric quantity is obtained;
According to the increased battery electric quantity, in the second area, virtual water droplet is shown along default motion track Drippage process, the starting point of the default motion track is the coboundary of the second area, and end point is the first area Coboundary;
According to the increased battery electric quantity, the first area to be increased is determined;
At the end of the drippage process of the virtual water droplet is shown, according to first area, increase the first area Area and accordingly reduce the area of the second area;
First area after display adjustment and the second area after adjustment.
With reference in a first aspect, in the first possible implementation of first aspect, methods described also includes:
Before display charging progress interface, the initial quantity of electricity of the battery is obtained;
The second area in the region constituted according to the initial quantity of electricity, the first area and the second area, it is determined that The first area.
It is described when the virtual water droplet with reference in a first aspect, in second of possible implementation of first aspect At the end of drippage process is shown, according to first area, increase the area of the first area and accordingly reduce described second Before the area in region, in addition to:
At the end of the drippage process of the virtual water droplet is shown, in first area top described in the virtual water drop contact The respective regions on boundary show water ripples.
With reference in a first aspect, in the third possible implementation of first aspect, methods described also includes:
After first area after display adjustment and the second area after adjustment, operation is rocked if detected, it is determined that The acceleration of each virtual water particle in first area after the adjustment;
According to the viscosity coefficient and virtual water particle between the acceleration, water density, virtual water particle of each virtual water particle The pressure of son, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm;
First position where before being rocked according to the speed of each virtual water particle, each virtual water particle, Determine the second place of each virtual water particle after duration is specified;
According to the second place of each virtual water particle, it is determined that the 3rd area that all virtual water particles are constituted after rocking Domain, highlights the 3rd region.
With reference to the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect In, each viscosity coefficient and virtual water particle virtually between the acceleration of water particle, water density, virtual water particle of the basis Pressure, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm, including:
According to the viscosity coefficient and virtual water particle between the acceleration, water density, virtual water particle of each virtual water particle The pressure of son, the speed of each virtual water particle is calculated using navier stokes equations;
First of place before the speed according to each virtual water particle, each virtual water particle rock Put, determine the second place of each virtual water particle after duration is specified, including:
First position where before being rocked according to the speed of each virtual water particle and each virtual water particle, To euler algorithm the second place of each virtual water particle after duration is specified is determined by preceding.
Any of the 4th kind of possible implementation with reference to first aspect to first aspect possible implementation, It is described in the charging progress interface in the 5th kind of possible implementation of first aspect, first after display adjustment Second area behind region and adjustment, including:
First area after the adjustment is rendered into the first color, the second area after the adjustment is rendered into second Color;
Or, highlight the cut-off rule between the first area after the adjustment and the second area after the adjustment.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of display device of charged state, described device includes:
First display module, during for starting when charging, display includes charging progress circle of first area and second area Face, the lower section and the first area that the first area is located at the second area is used for the initial quantity of electricity for identifying battery;
First acquisition module, for every preset duration, obtaining increased battery electric quantity;
Second display module, for according to the increased battery electric quantity, in the second area, along default moving rail Mark shows the drippage process of virtual water droplet, and the starting point of the default motion track is the coboundary of the second area, is terminated Point is the coboundary of the first area;
First determining module, for according to the increased battery electric quantity, determining the first area to be increased;
Adjusting module, at the end of being shown when the drippage process of the virtual water droplet, according to first area, increase The area of the first area and the area for accordingly reducing the second area;
3rd display module, for showing the first area after adjustment and the second area after adjustment.
With reference to second aspect, in the first possible implementation of second aspect, described device also includes:
Second acquisition module, for before display charging progress interface, obtaining the initial quantity of electricity of the battery;
Second determining module, for the area constituted according to the initial quantity of electricity, the first area and the second area The second area in domain, determines the first area.
With reference to second aspect, in second of possible implementation of second aspect, described device also includes:
4th display module, at the end of being shown when the drippage process of the virtual water droplet, connects in the virtual water droplet The respective regions for touching the first area coboundary show water ripples.
With reference to second aspect, in the third possible implementation of second aspect, described device also includes:
3rd determining module, after the first area after display adjustment and the second area after adjustment, if detection To rocking operation, it is determined that the acceleration of each virtual water particle in the first area after the adjustment;
Computing module, for the viscosity system between the acceleration according to each virtual water particle, water density, virtual water particle The pressure of number and virtual water particle, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm;
4th determining module, rocks for the speed according to each virtual water particle, each virtual water particle The first position at preceding place, determines the second place of each virtual water particle after duration is specified;
5th determining module, for the second place according to each virtual water particle, it is determined that all virtual after rocking Molecular 3rd region of water particle, highlights the 3rd region.
With reference to the third possible implementation of second aspect, in the 4th kind of possible implementation of second aspect In, the computing module, for the viscosity system between the acceleration according to each virtual water particle, water density, virtual water particle The pressure of number and virtual water particle, the speed of each virtual water particle is calculated using navier stokes equations;
4th determining module, for the speed according to each virtual water particle and each virtual water particle First position where before rocking, to euler algorithm second of each virtual water particle after duration is specified is determined by preceding Position.
Any of the 4th kind of possible implementation with reference to second aspect to second aspect possible implementation, In the 5th kind of possible implementation of second aspect, the 3rd display module includes:
First rendering unit, for the first area after the adjustment to be rendered into the first color;
Second rendering unit, for the second area after the adjustment to be rendered into the second color;
Or, unit is highlighted, for highlighting the first area after the adjustment and second after the adjustment Cut-off rule between region.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of mobile terminal, the mobile terminal includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When starting when charging, display includes first area and the charging progress interface of second area, the first area position In the initial quantity of electricity of the lower section of the second area and the first area for identifying battery;
Every preset duration, increased battery electric quantity is obtained;
According to the increased battery electric quantity, in the second area, virtual water droplet is shown along default motion track Drippage process, the starting point of the default motion track is the coboundary of the second area, and end point is the first area Coboundary;
According to the increased battery electric quantity, the first area to be increased is determined;
At the end of the drippage process of the virtual water droplet is shown, according to first area, increase the first area Area and accordingly reduce the area of the second area;
First area after display adjustment and the second area after adjustment.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By, come the inflow of electricity during analog charge, being increased with the area of storage zones and being filled to simulate with virtual water droplet The increase of electricity in electric process so that charging process is not only more directly perceived and more lively.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the present invention Example, and for explaining principle of the invention together with specification.
Fig. 1 is a kind of flow chart of the display methods of charged state according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the display methods of charged state according to an exemplary embodiment.
Fig. 3 is a kind of charging progress interface schematic diagram according to an exemplary embodiment.
Fig. 4 is a kind of terminal interface schematic diagram of display charged state according to an exemplary embodiment.
Fig. 5 be a kind of virtual water droplet according to an exemplary embodiment drippage process show at the end of terminal circle Face schematic diagram.
Fig. 6 is that a kind of virtual water droplet drippage process according to an exemplary embodiment shows the terminal interface after terminating Schematic diagram.
Fig. 7 is that a kind of mobile terminal according to an exemplary embodiment is shaken front and rear terminal interface schematic diagram.
Fig. 8 is a kind of block diagram of the display device of charged state according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of the display device of charged state according to an exemplary embodiment.
Figure 10 is a kind of block diagram of the display device of charged state according to an exemplary embodiment.
Figure 11 is a kind of block diagram of the display device of charged state according to an exemplary embodiment.
Figure 12 is a kind of block diagram of 3rd display module according to an exemplary embodiment.
Figure 13 is a kind of block diagram of mobile terminal according to an exemplary embodiment.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the present invention.
The charging process of mobile terminal is shown for dramatic, the embodiment of the present disclosure provides a kind of charged state Display methods.Fig. 1 is a kind of flow chart of the display methods of charged state according to an exemplary embodiment.Such as Fig. 1 institutes Show, the display methods of charged state is used in mobile terminal, comprises the following steps:
In step S101, when starting when charging, display includes first area and the charging progress interface of second area, its In, the lower section and first area that first area is located at second area are used for the initial quantity of electricity for identifying battery.
In step s 102, every preset duration, increased battery electric quantity is obtained.
In step s 103, according to increased battery electric quantity, in the second area, Virtual water is shown along default motion track The drippage process of drop, wherein, the starting point for presetting motion track is the coboundary of second area, and end point is upper for first area Border.
In step S104, according to increased battery electric quantity, the first area to be increased is determined.
In step S105, at the end of the drippage process of virtual water droplet is shown, according to the first area, increase first area Area and accordingly reduce second area area.
In step s 106, the first area after display adjustment and the second area after adjustment.
The method that the embodiment of the present disclosure is provided, by with virtual water droplet come the inflow of electricity during analog charge, to store up The area growth of aqua region carrys out the increase of electricity during analog charge so that charging process is not only more directly perceived, and more Vividly.
In another embodiment, method also includes:
Before display charging progress interface, the initial quantity of electricity of battery is obtained;
The second area in the region constituted according to initial quantity of electricity, first area and second area, determines first area.
In another embodiment, at the end of the drippage process of virtual water droplet is shown, according to the first area, increase by first Before the area in region and the accordingly area of reduction second area, in addition to:
At the end of the drippage process of virtual water droplet is shown, the respective regions in virtual water drop contact first area coboundary Show water ripples.
In another embodiment, method also includes:
After first area after display adjustment and the second area after adjustment, operation is rocked if detected, it is determined that The acceleration of each virtual water particle in first area after adjustment;
According to the viscosity coefficient and virtual water particle between the acceleration, water density, virtual water particle of each virtual water particle The pressure of son, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm;
First position where before being rocked according to the speed of each virtual water particle, each virtual water particle, it is determined that each The second place of the virtual water particle after duration is specified;
According to the second place of each virtual water particle, it is determined that the 3rd region that all virtual water particles are constituted after rocking, Highlight the 3rd region.
In another embodiment, according to viscous between the acceleration, water density, virtual water particle of each virtual water particle The pressure of coefficient and virtual water particle is spent, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm, including:
According to the viscosity coefficient and virtual water particle between the acceleration, water density, virtual water particle of each virtual water particle The pressure of son, the speed of each virtual water particle is calculated using navier stokes equations;
First position where before being rocked according to the speed of each virtual water particle, each virtual water particle, it is determined that each The second place of the virtual water particle after duration is specified, including:
The first position at place before being rocked according to the speed of each virtual water particle and each virtual water particle, by it is preceding to Euler algorithm determines the second place of each virtual water particle after duration is specified.
In another embodiment, in charging progress interface, second behind first area and adjustment after display adjustment Region, including:
First area after adjustment is rendered into the first color, the second area after adjustment is rendered into the second color;
Or, highlight the cut-off rule between the first area after adjustment and the second area after adjustment.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, herein no longer using any combination Repeat one by one.
The content of embodiment with reference to corresponding to Fig. 1, Fig. 2 is a kind of charged state according to an exemplary embodiment The flow chart of display methods.As shown in Fig. 2 the display methods of charged state is used in mobile terminal, comprise the following steps:
In step s 201, when starting when charging, the initial quantity of electricity of battery is obtained, display includes first area and the secondth area The charging progress interface in domain, wherein, the lower section and first area that first area is located at second area are used to identify the initial of battery The second area in the region that electricity and first area are constituted according to initial quantity of electricity, first area and second area is determined.
When starting when charging, dump energy may be 0 in battery, it is also possible to be not 0, be such as 2%, 5%, in the disclosure In embodiment, the dump energy of battery enters as initial quantity of electricity, and on the basis of initial quantity of electricity to battery when charging is started Row charging.Dump energy during in order to determine that charging starts in battery, needs to obtain the initial quantity of electricity of battery when charging and starting. Wherein, voltameter is usually provided with inside mobile terminal, the voltameter is used for the dump energy of real-time statistics battery, therefore, When obtaining the initial quantity of electricity of battery, the dump energy of the present battery that can be counted according to voltameter is realized.
In the disclosed embodiments, mobile terminal is when showing the charged state of battery, by showing charging progress interface To realize, and charging progress interface includes first area and second area.Wherein, in charging progress interface first area area Initial quantity of electricity for identifying battery, the area of second area is used for the electricity for identifying battery missing, first area and the secondth area The second area in the region that domain is constituted is used to identify total electricity when battery is full of.
In order to intuitively show the initial quantity of electricity of battery, it can set up between initial quantity of electricity and the area of first area There is corresponding relation.For example, the percentage that first area can be made to account for second area is equal to initial quantity of electricity.Therefore, getting After initial quantity of electricity, the second area in the region that can be constituted according to initial quantity of electricity, first area and second area determines the firstth area Domain.
If for example, the region that first area and second area are constituted is 5 centimetres * 8 centimetres of rectangular area, the second face Product is 5 centimetres * 8 centimetres=40 square centimeters.If initial quantity of electricity is 20%, the area of first area is flat for 40*20%=8 Square centimetre.Now, due to 8/5=1.6 centimetres, therefore, first area is a length of 5 centimetres, a height of 1.6 centimetres of region.
Further, can be to first area for the ease of intuitively showing the initial quantity of electricity of battery and the electricity of missing It is differently shown with second area.For example, the color of first area and second area can be set into different colours.Example Such as, first area can be set to blueness, second area is set to white or colourless etc..In another example, first can be passed through Cut-off rule between region and second area distinctly displays first area and second area.Region below cut-off rule is first Region, cut-off rule area above is second area.
As shown in figure 3, it illustrates a kind of charging progress interface schematic diagram.Rectangular area in Fig. 3 shown in thick line is The region for identifying total electricity that first area and second area are constituted, first area is shadow region as shown in Figure 3, the Two regions are the white space on first area top.
In addition, the shape in the region constituted on first area and second area, the embodiment of the present disclosure is not construed as limiting.Example Such as, first area and second area can constitute rectangular area, square area, border circular areas or hourglass shape region etc..
In addition, on the opportunity on display charging progress interface, can after mobile terminal connection power supply is detected, also may be used To be after the screen of mobile terminal is lit.For example, after mobile terminal connection power supply is detected, it may be determined that start as electricity Pond is charged, now, by showing that charging progress interface can make the initial quantity of electricity of the clear and definite battery of user.In another example, by moving The screen of dynamic terminal shows charging progress interface after being lit, and can make the current electric quantity of user's electrolytic cell, if for example, this When battery have been filled with, then without charge for battery again, therefore, it can be easy to user to determine whether that continuing as battery fills in real time Electricity.
In step S202, every preset duration, increased battery electric quantity is obtained.
When being charged to battery, the charger model used during combined charge, mobile terminal is often according to specified Charging rate charges for battery.Wherein, specified charging rate refers to battery increased electricity within the unit interval.When using different During the charger of model, every the increased electricity of preset duration battery and differ.If for example, the milli of charger model 300 Peace/hour, then it is 300 milliamperes/hour to specify charging rate, is 300 milliamperes per the increased electricity of battery every other hour;If filled Milliampere/hour of electrical equipment model 500, then it is 500 milliamperes/hour to specify charging rate, per the increased electricity of battery every other hour For 500 milliamperes.
With reference to the above, in order to determine the increased electricity of battery accounts for the number of battery total electricity every after preset duration, Increased battery electric quantity can be obtained every preset duration.Wherein, can when obtaining increased battery electric quantity every preset duration To be realized according to charger model, battery size and specified charging rate.If for example, battery size is 1200 milliamperes, preset Shi Changwei 30 minutes, milliampere/hour of charger model 300, then it is 300 milliamperes/hour to specify charging rate, at this point it is possible to It is determined that every 30 minutes increased battery electric quantities be 30/ ((1200/300) * 60)=12.5%.
In step S203, according to increased battery electric quantity, in the second area, Virtual water is shown along default motion track The drippage process of drop, wherein, the starting point for presetting motion track is the coboundary of second area, and end point is upper for first area Border.
The embodiment of the present disclosure, can be every default when in showing charging process every the electricity that preset duration battery is flowed into Duration shows that a virtual water droplet is dripped the animation of the coboundary to first area from the coboundary of second area.Each virtual water droplet Moved during drippage along default motion track, the starting point of the default motion track is the coboundary of second area, is terminated Point is the coboundary of first area.Wherein, the animation can be the animation that virtual water droplet carries out the movement of falling object, in the animation In, virtual water droplet drips the coboundary to first area from the coboundary of second area, and the coboundary of contact first area it Before, with the time change of whereabouts, the speed of whereabouts is more and more faster.
As shown in figure 4, it illustrates a kind of terminal interface schematic diagram for showing charged state.Hollow water droplet table in Fig. 4 Show that virtual water droplet is dripped the state of moment by the coboundary of second area, the shade water droplet with oblique line in Fig. 4 represents virtual Water droplet each state not in the same time during drippage.It can be obtained by Fig. 4, Virtual water is dropped in during freely falling body, its speed It is more and more faster.Certainly, the animation can also be that virtual water droplet carries out the animation of uniform motion, wherein, with the when anaplasia of whereabouts Change, its falling speed does not change.
Further, the embodiment of the present disclosure to battery during charging, in order to identify every increase in preset duration Battery electric quantity, the area of first area and second area can be adjusted, i.e., with the continuous progress of charging process, first area Area be continuously increased, the area of second area is constantly reduced.For example, when every 5 minutes batteries increase by 5% electricity, every 5 points Clock is that the increased area in first area accounts for the 5% of second area, with reference to the citing in above-mentioned steps S201, is within every 5 minutes first The increased area in region is 40*5%=2 square centimeters.
Behind virtual water drop contact first area, the increase of electricity can be embodied with the area increase of first area.Separately Outside, can be according to increase in order to indicate increased battery electric quantity in the preset duration by the increased area in first area Battery electric quantity, it is determined that the size of each virtual water droplet.For example, after virtual water droplet is contacted with first area, each Virtual water The increased battery electric quantity can be equal to for the ratio of the increased area in first area and second area by dripping.Such as, if every pre- If the increased battery electric quantity of duration is 5%, then each Virtual water is dropped in behind contact first area, is the increased area in first area It should be equal to 5% with the ratio of second area.
In step S204, at the end of the drippage process of virtual water droplet is shown, on virtual water drop contact first area The respective regions on border show water ripples.
In order to which more preferable simulation water drips the actual displayed effect of upstream face, in the disclosed embodiments, when virtual water droplet Drippage process show at the end of, i.e., virtual water drop contact first area when, in virtual water drop contact first area coboundary Respective regions show water ripples.Wherein, can when the respective regions of virtual water drop contact first area coboundary show water ripples To be realized by predetermined fluid simulation algorithm, the predetermined fluid simulation algorithm can be navier stokes equations etc..Such as Fig. 5 institutes Show, the terminal interface schematic diagram at the end of being shown it illustrates a kind of drippage process of virtual water droplet.
It should be noted that the step is optional step, by the optional step, Virtual water can be passed through with vivid The charging process of drop drippage process simulation battery.
In step S205, according to increased battery electric quantity, the first area to be increased is determined.
With reference to the content in above-mentioned steps S203, simulated by the way that each virtual water droplet is the increased area in first area In each preset duration during increased battery electric quantity, each virtual water droplet of embodiment of the present disclosure definition is the increased face in first area Product is the first area.Now, when identifying increased battery electric quantity in the preset duration by the first area, the first area accounts for The ratio of two areas should be equal to increased battery electric quantity.If for example, increased battery electric quantity is in each preset duration 10%, with reference to the citing in above-mentioned steps S201, then the first area is 40*10%=4 square centimeters.
In step S206, at the end of the drippage process of virtual water droplet is shown, according to the first area, increase first area Area and accordingly reduce second area area.
It will increase the area of first area after virtual water droplet instills first area, the increased area is the first face Product.In order to be shown by the area of first area to the electricity of present battery, it is necessary to according to the first area, to first Region and second area are adjusted., can be by when increasing the area of first area and the accordingly area of reduction second area First area expands the first area, correspondingly, and second area is reduced into the first area.
Wherein, behind virtual water drop contact first area, first area can be counted as storage zones, and storage zones are deposited The water of storage would generally be distributed in the bottom section of storage zones due to the effect of gravity, therefore, be adjusted to first area When whole, the bottom shape of first area can be kept constant, and be the corresponding height of first area increase.For example, with reference to step Citing in S201, when the region that first area and second area are constituted is rectangular area, can keep the bottom of first area 5 centimetres of portion's length of side is constant.In order that the area that must be adjusted is the first area, it is that the increased height in first area is 4/5=0.8 lis Rice.
As shown in fig. 6, showing the terminal interface schematic diagram after terminating it illustrates a kind of virtual water droplet drippage process.Its In, (a) figure in Fig. 6 is that (b) figure in the terminal interface schematic diagram before some virtual water droplet drippage, Fig. 6 is the Virtual water Drop drippage process shows the terminal interface schematic diagram after terminating.Can by the change procedure of (b) figure of (a) figure in Fig. 6 into Fig. 6 Know, after virtual water droplet drippage process, which is shown, to be terminated, the height of first area increases by 0.8 centimetre.Wherein, in (b) in Fig. 6 Data are the data determined according to the example above, do not constitute the limitation to the embodiment of the present disclosure.
In step S207, the first area after display adjustment and the second area after adjustment.
Wherein, when showing the first area after adjustment and the second area after adjustment, in order to pass through the area after adjustment Domain area, intuitively represents the current electric quantity of battery, the first area after adjustment and the second area after adjustment can also be entered Row is distinctly displayed.
For example, can be different colours by the color rendering of the first area after adjustment and the second area after adjustment, with Show difference.For example, in the differentiation display of the first area after to adjustment and the second area color after adjustment, will can adjust First area afterwards is rendered into the first color, and the second area after adjustment is rendered into the second color.
With reference to the citing in above-mentioned steps S201 and step S206, so that the bottom straight line in the rectangular area to be made as height Origin, can be rendered into the by the first area after a length of 5 centimetres, the adjustment of a height of 1.6+0.8=2.4 centimetres of composition One color;Second area after a length of 2 centimetres, a height of more than 2.4 centimetres 5.6 centimetres of adjustment is rendered into the second color.
On the first color and the specific color of the second color, the embodiment of the present disclosure is not construed as limiting, it is ensured that can distinguish tune The second area behind first area and adjustment after whole.For example, the first color can be white, the second color can be indigo plant Color;First color is yellow, and the second color is red etc..Wherein, can be with order that the charging progress interface better appearance of display The second color keep is the background colour at the charging progress interface, and the first area after adjustment is rendered into the first color.Its In, when the second area after adjustment remains the background colour at the charging progress interface, perform Rendering operations when, can only by First area after adjustment is rendered into the first color, and keeps the color of the second area after adjustment constant.
Wherein, the first area after by adjustment is rendered into the first color, and the second area after adjustment is rendered into second During color, it can be realized by OPENGL (open graphic package interface).Further, since in the disclosed embodiments, adjustment First area afterwards contains the container of Virtual water for simulation, should when rendering in order to characterize the characteristic of liquid well Make the intersection of the first area after adjustment and the second area after adjustment smoother.Therefore, when carrying out Rendering operations, need The intersection of first area after adjustment and the second area after adjustment is smoothed.Wherein, after to adjustment When first area and the intersection of the second area after adjustment are smoothed, MC (Marching Cubes, shifting can be passed through Dynamic cube) algorithm realization.
In addition, with reference to the method that first area and second area are differently shown in step S201, after to adjustment First area and adjustment after second area when being differently shown, can also be by highlighting the first area after adjustment Cut-off rule between the second area after adjustment is realized.
Wherein, when highlighting cut-off rule, the first area after adjustment and the second area after adjustment can be rendered For same color, and the cut-off rule is rendered into the colors different with second area after adjustment from the first area after adjustment. For example, the first area after adjustment and the second area after adjustment can be rendered into white, and the cut-off rule is rendered into red Color, blueness etc..
Above-mentioned steps S201 to step S207 is that mobile terminal keeps showing implementing for charged state during vertical state Mode.However, mobile terminal may can not keep vertical state due to a variety of causes, for example, after mobile terminal is shaken, It may run-off the straight etc..Because the first area after adjustment contains the container of Virtual water for simulation, when mobile terminal is not During vertical state, the water in first area after adjustment will flow.After determining that mobile terminal is adjusted after being shaken The state of water that includes of first area, following optional step S208 to step S211 can be continued executing with.
In step S208, operation is rocked if detected, it is determined that each virtual water particle in the first area after adjustment The acceleration of son.
Wherein, the water that splendid attire is simulated in the first area after adjustment is made up of each virtual water particle, and each is virtual The variation of position can occur because being shaken for water particle.Therefore, it is determined that adjustment after first area be shaken after state When, the state of each virtual water particle should consider.State after each virtual water particle is shaken is each Virtual water Particle is shaken the position at rear place.It is determined that each virtual water particle be shaken after where position when, can first determine every The acceleration that individual virtual water particle is produced because being shaken.
It is determined that each virtual water particle produced because being shaken acceleration when, can be by built-in in mobile terminal Acceleration transducer is realized.Further, since each virtual water particle is also affected by gravity, and therefore, each virtual water particle Acceleration remove the external force of rocking for including being subject to because being shaken and accelerate to be outside one's consideration, in addition to acceleration of gravity.
In step S209, according to the viscosity system between the acceleration, water density, virtual water particle of each virtual water particle The pressure of number and virtual water particle, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm.
When water flows, the factor such as pressure of viscosity coefficient and virtual water particle between water density, virtual water particle, it will The speed of each virtual water particle when influenceing water flowing, therefore, it can according to the acceleration of each virtual water particle, water density, The pressure of viscosity coefficient and virtual water particle between virtual water particle, each liquid grain is calculated using predetermined fluid simulation algorithm The speed of son.
On the content of predetermined fluid simulation algorithm, the embodiment of the present disclosure is not especially limited.When implementing, predetermined fluid Simulation algorithm includes but is not limited to navier stokes equations.Further, since water is incompressible form, therefore, stream is preset Body simulation algorithm can be further incompressible navier stokes equations.
Wherein, incompressible navier stokes equations include but is not limited to be following form:
Formula (1) is the equation of momentum, and formula (2) is mass equation or is incompressibility.In formula,Represent each empty Intend the speed of water particle;ρ is water density;It is the acceleration of each virtual water particle;V is the viscosity system between virtual water particle Number;P represents the pressure of virtual water particle, for identifying the power that the Virtual water of every unit area is applied to external world;AndPoint Biao Shi not gradient and divergence operator;Represent Laplace operator.
Knowable to being analyzed incompressible navier stokes equations in above-mentioned formula (1) and formula (2), according to The pressure of viscosity coefficient and virtual water particle between the acceleration of each virtual water particle, water density, virtual water particle, can be with The speed of each virtual water particle is calculated using navier stokes equations.Wherein, the acceleration of each virtual water particle can be with Obtained by above-mentioned steps S208, the pressure of viscosity coefficient and virtual water particle between water density, virtual water particle is being carried out During the display of data traffic, some numerical value can be set as previously according to experience or experimental result.
In step S210, first where before being rocked according to the speed of each virtual water particle, each virtual water particle Position, it is determined that the second place of each virtual water particle after duration is specified.
Wherein, a length of time step set in advance for being used to count the change in location of each virtual water particle when specifying, I.e. every the position for specifying duration to count once each virtual water particle.
First position, each liquid particle where getting before each virtual water particle rocks are produced because rocking After speed and specified duration, the second place of each virtual water particle after duration is specified just can be determined.For example, according to every The first position at place before the speed of individual virtual water particle, each virtual water particle rock, it is determined that each virtual water particle is referring to During the second place after timing is long, include but is not limited to:Shaken according to the speed of each virtual water particle and each virtual water particle First position where before shaking, passes through the preceding second place to each virtual water particle of euler algorithm determination after duration is specified.
Wherein, forward direction euler algorithm is described as follows with formula:
xn+1=xn+δtun
yn+1=yn+δtyn (3)
zn+1=zn+δtzn
In formula (3), xn+1、yn+1And zn+1The each virtual second place of water particle in three dimensions is represented respectively, xn、ynAnd znThe each virtual first position of water particle in three dimensions is represented respectively, and δ t represent to specify duration.
Wherein, it is determined that each virtual water particle first position and the second place when, coordinate system can be preestablished, and Realized by coordinate of each virtual water particle under the coordinate system.
In step S211, according to the second place of each virtual water particle, it is determined that all virtual water particle groups after rocking Into the 3rd region, highlight the 3rd region.
Wherein, the second place of each virtual water particle can constitute the 3rd region.In order to identify each virtual water particle Position after being shaken, is the first color by the 3rd zone rendering.Certainly, first color can also be with step S207 One color is different color, and the embodiment of the present disclosure is not construed as limiting to this.
As shown in fig. 7, being shaken front and rear terminal interface schematic diagram it illustrates a kind of mobile terminal.(a) figure in Fig. 7 Process into Fig. 7 shown in (b) figure is mobile terminal by vertical state to heeling condition, the change of the first area after adjustment Process.(b) Tu Ke get in Fig. 7, after mobile terminal is inclined by, the water surface of the first area simulative display after adjustment produces current Effect.
The method that the embodiment of the present disclosure is provided, by with virtual water droplet come the inflow of electricity during analog charge, to store up The area growth of aqua region carrys out the increase of electricity during analog charge so that charging process is not only more directly perceived, and more Vividly.
Fig. 8 is a kind of block diagram of the display device of charged state according to an exemplary embodiment, the charged state Display device be used for the display methods for performing the charged state that embodiment corresponding to above-mentioned Fig. 1 or Fig. 2 is provided., should referring to Fig. 8 It is true that the display device of charged state includes the first display module 801, the first acquisition module 802, the second display module 803, first Cover half block 804, the display module 806 of adjusting module 805 and the 3rd.Wherein:
When first display module 801 is configured as charging and started, display includes filling for first area and second area Electric progress interface, wherein, the lower section and first area that first area is located at second area are used for the initial quantity of electricity for identifying battery;
First acquisition module 802 is configured as, every preset duration, obtaining increased battery electric quantity;
Second display module 803 is configured as according to increased battery electric quantity, in the second area, along default moving rail Mark shows the drippage process of virtual water droplet, wherein, the starting point for presetting motion track is the coboundary of second area, and end point is The coboundary of first area;
First determining module 804 is configured as according to increased battery electric quantity, determines the first area to be increased;
The adjusting module 805 be configured as virtual water droplet drippage process show at the end of, according to the first area, increase The area of first area and the area for accordingly reducing second area;
3rd display module 806 is configured as the first area after display adjustment and the second area after adjustment.
The device that the embodiment of the present disclosure is provided, by with virtual water droplet come the inflow of electricity during analog charge, to store up The area growth of aqua region carrys out the increase of electricity during analog charge so that charging process is not only more directly perceived, and more Vividly.
In another embodiment, referring to Fig. 9, the display device of charged state also includes the second acquisition module 807 and the Two determining modules 808.Wherein:
Second acquisition module 807 is configured as before display charging progress interface, obtains the initial quantity of electricity of battery;
Second determining module 808 is configured as the region constituted according to initial quantity of electricity, first area and second area Second area, determines first area.
In another embodiment, referring to Figure 10, the display device of charged state also includes the 4th display module 809.Its In:
4th display module 809 be configured as virtual water droplet drippage process show at the end of, connect in virtual water droplet The respective regions for touching first area coboundary show water ripples.
In another embodiment, referring to Figure 11, the display device of charged state also includes the 3rd determining module 810, meter Calculate module 811, the 4th determining module 812 and the 5th determining module 813.Wherein:
3rd determining module 810 is configured as after the first area after display adjustment and the second area after adjustment, Operation is rocked if detected, it is determined that the acceleration of each virtual water particle in the first area after adjustment;
The computing module 811 is configured as between acceleration, water density, virtual water particle according to each virtual water particle Viscosity coefficient and virtual water particle pressure, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm;
4th determining module 812 is configured as being rocked according to each virtually speed of water particle, each virtual water particle The first position at preceding place, it is determined that the second place of each virtual water particle after duration is specified;
5th determining module 813 is configured as the second place according to each virtual water particle, it is determined that owning after rocking 3rd region of virtual water particle composition, highlights the 3rd region.
In another embodiment, the computing module 811 is configured as acceleration, watertight according to each virtual water particle The pressure of viscosity coefficient and virtual water particle between degree, virtual water particle, calculates each empty using navier stokes equations Intend the speed of water particle;
4th determining module 812 is configured as being rocked according to the speed and each virtual water particle of each virtual water particle The first position at preceding place, passes through the preceding second place to each virtual water particle of euler algorithm determination after duration is specified.
In another embodiment, referring to Figure 12, the 3rd display module 806 includes the first rendering unit 8061 and the second wash with watercolours Contaminate unit 8062.Wherein:
First rendering unit 8061 is configured as the first area after adjustment being rendered into the first color;
Second rendering unit 8062 is configured as the second area after adjustment being rendered into the second color;
Or, unit 8063 is highlighted, for highlighting the first area after adjustment and the second area after adjustment Between cut-off rule.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the present invention, herein no longer using any combination Repeat one by one.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Figure 13 is a kind of block diagram of mobile terminal according to an exemplary embodiment, and the mobile terminal can be used for holding The display methods for the charged state that embodiment corresponding to the above-mentioned Fig. 1 or Fig. 2 of row is provided.For example, mobile terminal 1 300 can be moved Mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building is set It is standby, personal digital assistant etc..
Reference picture 13, mobile terminal 1 300 can include following one or more assemblies:Processing assembly 1302, memory 1304, power supply module 1306, multimedia groupware 1308, audio-frequency assembly 1310, I/O (Input/Output, input/output) interface 1312, sensor cluster 1314, and communication component 1316.
The integrated operation of the generally control mobile terminal 1 300 of processing assembly 1302, such as with display, call, data are led to Letter, the camera operation operation associated with record operation.Processing assembly 1302 can include one or more processors 1320 Execute instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 1302 can include it is one or more Module, is easy to the interaction between processing assembly 1302 and other components.For example, processing assembly 1302 can include multimedia mould Block, to facilitate the interaction between multimedia groupware 1308 and processing assembly 1302.
Memory 1304 is configured as storing various types of data supporting the operation in mobile terminal 1 300.These numbers According to example include the instruction of any application program or method for being used to operate in mobile terminal 1 300, contact data, electricity Talk about book data, message, picture, video etc..Memory 1304 can be by any kind of volatibility or non-volatile memory device Or combinations thereof is realized, such as SRAM (Static Random Access Memory, static RAM), (Electrically-Erasable Programmable Read-Only Memory, electrically erasable is read-only by EEPROM Memory), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), PROM (Programmable Read-Only Memory, programmable read only memory), ROM (Read-Only Memory, only Read memory), magnetic memory, flash memory, disk or CD.
Power supply module 1306 provides electric power for the various assemblies of mobile terminal 1 300.Power supply module 1306 can include power supply Management system, one or more power supplys, and other groups associated with generating, managing and distributing electric power for mobile terminal 1 300 Part.
Multimedia groupware 1308 is included in the screen of one output interface of offer between mobile terminal 1 300 and user. In some embodiments, screen can include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch-screen, to receive from user's Input signal.Touch panel includes one or more touch sensors with the gesture on sensing touch, slip and touch panel.Touch Touch sensor can not only sensing touch or sliding action border, but also detection and touch or slide is related continues Time and pressure.In certain embodiments, multimedia groupware 1308 includes a front camera and/or rear camera.When Mobile terminal 1 300 is in operator scheme, such as screening-mode or during video mode, and front camera and/or rear camera can be with Multi-medium data outside receiving.Each front camera and rear camera can be a fixed optical lens system or With focusing and optical zoom capabilities.
Audio-frequency assembly 1310 is configured as output and/or input audio signal.For example, audio-frequency assembly 1310 includes one MIC (Microphone, microphone), when mobile terminal 1 300 is in operator scheme, such as call model, logging mode and voice are known During other pattern, microphone is configured as receiving external audio signal.The audio signal received, which can be further stored, is depositing Reservoir 1304 is sent via communication component 1316.In certain embodiments, audio-frequency assembly 1310 also includes a loudspeaker, uses In exports audio signal.
I/O interfaces 1312 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1302 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1314 includes one or more sensors, the shape for providing various aspects for mobile terminal 1 300 State is assessed.For example, sensor cluster 1314 can detect opening/closed mode of mobile terminal 1 300, component it is relatively fixed Position, such as component are the display and keypad of mobile terminal 1 300, and sensor cluster 1314 can also detect mobile terminal 1300 or 300 1 components of mobile terminal 1 position change, the existence or non-existence that user contacts with mobile terminal 1 300, shifting The temperature change in the dynamic orientation of terminal 1300 or acceleration/deceleration and mobile terminal 1 300.Sensor cluster 1314 can include close Sensor, is configured to the presence of the object near detection in not any physical contact.Sensor cluster 1314 may be used also With including optical sensor, such as CMOS (Complementary Metal Oxide Semiconductor, CMOS) Or CCD (Charge-coupled Device, charge coupled cell) imaging sensor, for being used in imaging applications.One In a little embodiments, the sensor cluster 1314 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure Sensor or temperature sensor.
Communication component 1316 is configured to facilitate the logical of wired or wireless way between mobile terminal 1 300 and miscellaneous equipment Letter.Mobile terminal 1 300 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.One In individual exemplary embodiment, communication component 1316 via broadcast channel receive broadcast singal from external broadcasting management system or Broadcast related information.In one exemplary embodiment, communication component 1316 also includes NFC (Near Field Communication, near-field communication) module, to promote junction service.For example, RFID (Radio can be based in NFC module Frequency Identification, radio frequency identification) technology, IrDA (Infra-red Data Association, infrared number According to association) technology, UWB (Ultra Wideband, ultra wide band) technology, BT (Bluetooth, bluetooth) technologies and other technologies are come Realize.
In the exemplary embodiment, mobile terminal 1 300 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital signal Processor, number Word signal processor), DSPD (Digital signal Processor Device, digital signal processing appts), PLD (Programmable Logic Device, PLD), FPGA (Field Programmable Gate Array, field programmable gate array), controller, microcontroller, microprocessor or other electron component realize, for execution State the display methods for the charged state that embodiment corresponding to Fig. 1 or Fig. 2 is provided.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1304 of instruction, above-mentioned instruction can be performed to complete above-mentioned Fig. 1 by the processor 1320 of mobile terminal 1 300 Or the display methods of the charged state of embodiment offer corresponding to Fig. 2.For example, the non-transitorycomputer readable storage medium Can be ROM, RAM (Random Access Memory, random access memory), CD-ROM (Compact Disc Read- Only Memory, compact disc read-only memory), tape, floppy disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of mobile terminal During row so that mobile terminal is able to carry out a kind of display methods of charged state, methods described includes:
When starting when charging, display includes first area and the charging progress interface of second area, wherein, first area position It is used for the initial quantity of electricity for identifying battery in the lower section and first area of second area;
Every preset duration, increased battery electric quantity is obtained;
According to increased battery electric quantity, in the second area, the drippage process of virtual water droplet is shown along default motion track, Wherein, the starting point for presetting motion track is the coboundary of second area, and end point is the coboundary of first area;
According to increased battery electric quantity, the first area to be increased is determined;
At the end of the drippage process of virtual water droplet is shown, according to the first area, the area of increase first area is simultaneously corresponding Reduce the area of second area;
First area after display adjustment and the second area after adjustment.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, also being included in the memory of mobile terminal is used to perform the instruction that operates below:Method Also include:
Before display charging progress interface, the initial quantity of electricity of battery is obtained;
The second area in the region constituted according to initial quantity of electricity, first area and second area, determines first area.
In the third the possible embodiment provided based on the first possible embodiment, mobile terminal Memory in also include and be used to perform the instruction that operates below:At the end of the drippage process of virtual water droplet is shown, according to Before one area, the accordingly area of increase first area and the area of reduction second area, in addition to:
At the end of the drippage process of virtual water droplet is shown, the respective regions in virtual water drop contact first area coboundary Show water ripples.
In the third the possible embodiment provided based on the first possible embodiment, mobile terminal Memory in also include and be used to perform the instruction that operates below:It is described also to include:
After first area after display adjustment and the second area after adjustment, operation is rocked if detected, it is determined that The acceleration of each virtual water particle in first area after adjustment;
According to the viscosity coefficient and virtual water particle between the acceleration, water density, virtual water particle of each virtual water particle The pressure of son, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm;
First position where before being rocked according to the speed of each virtual water particle, each virtual water particle, it is determined that each The second place of the virtual water particle after duration is specified;
According to the second place of each virtual water particle, it is determined that the 3rd region that all virtual water particles are constituted after rocking, Highlight the 3rd region.
In the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment, mobile terminal Memory in also include and be used to perform the instruction that operates below:According to the acceleration of each virtual water particle, water density, virtual The pressure of viscosity coefficient and virtual water particle between water particle, each virtual water particle is calculated using predetermined fluid simulation algorithm Speed, including:
According to the viscosity coefficient and virtual water particle between the acceleration, water density, virtual water particle of each virtual water particle The pressure of son, the speed of each virtual water particle is calculated using navier stokes equations;
First position where before being rocked according to the speed of each virtual water particle, each virtual water particle, it is determined that each The second place of the virtual water particle after duration is specified, including:
The first position at place before being rocked according to the speed of each virtual water particle and each virtual water particle, by it is preceding to Euler algorithm determines the second place of each virtual water particle after duration is specified.
At the first to providing based on any of the 5th kind of possible embodiment possible embodiment The 6th kind of possible embodiment in, also being included in the memory of mobile terminal is used to perform the instruction that operates below:Filling In electric progress interface, the first area after display adjustment and the second area after adjustment, including:
First area after adjustment is rendered into the first color, the second area after adjustment is rendered into the second color;
Or, highlight the cut-off rule between the first area after adjustment and the second area after adjustment.
The embodiment of the present disclosure provide non-transitorycomputer readable storage medium, by with virtual water droplet come analog charge During electricity inflow, increase the increase for carrying out electricity during analog charge with the area of storage zones so that charging process It is not only more directly perceived and more lively.
Those skilled in the art will readily occur to its of the present invention after considering specification and putting into practice invention disclosed herein Its embodiment.The application be intended to the present invention any modification, purposes or adaptations, these modifications, purposes or Person's adaptations follow the general principle of the present invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim.

Claims (13)

1. a kind of display methods of charged state, it is characterised in that methods described includes:
When starting when charging, display includes first area and the charging progress interface of second area, and the first area is located at institute State the initial quantity of electricity that the lower section and the first area of second area are used to identify battery;
Every preset duration, increased battery electric quantity is obtained;
According to the increased battery electric quantity, in the second area, the drippage of virtual water droplet is shown along default motion track Process, the starting point of the default motion track is the coboundary of the second area, and end point is upper for the first area Border;
According to the increased battery electric quantity, the first area to be increased is determined;
At the end of the drippage process of the virtual water droplet is shown, according to first area, increase the face of the first area Product and the area for accordingly reducing the second area;
First area after display adjustment and the second area after adjustment.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
Before display charging progress interface, the initial quantity of electricity of the battery is obtained;
The second area in the region constituted according to the initial quantity of electricity, the first area and the second area, it is determined that described First area.
3. according to the method described in claim 1, it is characterised in that described to terminate when the drippage process of the virtual water droplet is shown When, according to first area, before increasing the area of the first area and accordingly reducing the area of the second area, and also Including:
At the end of the drippage process of the virtual water droplet is shown, in first area coboundary described in the virtual water drop contact Respective regions show water ripples.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
After first area after display adjustment and the second area after adjustment, operation is rocked if detected, it is determined that described The acceleration of each virtual water particle in first area after adjustment;
According to the viscosity coefficient between the acceleration, water density, virtual water particle of each virtual water particle and virtual water particle Pressure, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm;
First position where before being rocked according to the speed of each virtual water particle, each virtual water particle, it is determined that The second place of each virtual water particle after duration is specified;
According to the second place of each virtual water particle, it is determined that after rocking all virtual water particles compositions the 3rd region, Highlight the 3rd region.
5. method according to claim 4, it is characterised in that acceleration, the watertight of each virtual water particle of the basis The pressure of viscosity coefficient and virtual water particle between degree, virtual water particle, calculates described every using predetermined fluid simulation algorithm The speed of individual virtual water particle, including:
According to the viscosity coefficient between the acceleration, water density, virtual water particle of each virtual water particle and virtual water particle Pressure, the speed of each virtual water particle is calculated using navier stokes equations;
The first position at place before the speed according to each virtual water particle, each virtual water particle rock, The second place of each virtual water particle after duration is specified is determined, including:
First position where before being rocked according to the speed of each virtual water particle and each virtual water particle, passes through Forward direction euler algorithm determines the second place of each virtual water particle after duration is specified.
6. the method according to any claim in claim 1 to 5, it is characterised in that the after the display adjustment Second area behind one region and adjustment, including:
First area after the adjustment is rendered into the first color, the second area after the adjustment is rendered into the second face Color;
Or, highlight the cut-off rule between the first area after the adjustment and the second area after the adjustment.
7. a kind of display device of charged state, it is characterised in that described device includes:
First display module, during for starting when charging, display includes first area and the charging progress interface of second area, institute State the initial quantity of electricity that first area is used to identify battery positioned at the lower section and the first area of the second area;
First acquisition module, for every preset duration, obtaining increased battery electric quantity;
Second display module, it is aobvious along default motion track in the second area for according to the increased battery electric quantity Show the drippage process of virtual water droplet, the starting point of the default motion track is the coboundary of the second area, and end point is The coboundary of the first area;
First determining module, for according to the increased battery electric quantity, determining the first area to be increased;
Adjusting module, at the end of being shown when the drippage process of the virtual water droplet, according to first area, increase is described The area of first area and the area for accordingly reducing the second area;
3rd display module, for showing the first area after adjustment and the second area after adjustment.
8. device according to claim 7, it is characterised in that described device also includes:
Second acquisition module, for before display charging progress interface, obtaining the initial quantity of electricity of the battery;
Second determining module, for the region that is constituted according to the initial quantity of electricity, the first area and the second area Second area, determines the first area.
9. device according to claim 7, it is characterised in that described device also includes:
4th display module, at the end of being shown when the drippage process of the virtual water droplet, in the virtual water drop contact institute The respective regions for stating first area coboundary show water ripples.
10. device according to claim 7, it is characterised in that described device also includes:
3rd determining module, after the first area after display adjustment and the second area after adjustment, shakes if detected Shake operation, it is determined that the acceleration of each virtual water particle in the first area after the adjustment;
Computing module, for the viscosity coefficient between the acceleration according to each virtual water particle, water density, virtual water particle and The pressure of virtual water particle, the speed of each virtual water particle is calculated using predetermined fluid simulation algorithm;
4th determining module, preceding institute is rocked for the speed according to each virtual water particle, each virtual water particle First position, determine the second place of each virtual water particle after duration is specified;
5th determining module, for the second place according to each virtual water particle, it is determined that all virtual water particles after rocking Molecular 3rd region, highlights the 3rd region.
11. device according to claim 10, it is characterised in that the computing module, for according to each virtual water particle Acceleration, water density, the pressure of the viscosity coefficient of virtual water particle and virtual water particle of son, using navier stokes equations Calculate the speed of each virtual water particle;
4th determining module, rocks for the speed according to each virtual water particle and each virtual water particle The first position at preceding place, to euler algorithm second of each virtual water particle after duration is specified is determined by preceding Put.
12. the device according to any claim in claim 7 to 11, it is characterised in that the 3rd display module Including:
First rendering unit, for the first area after the adjustment to be rendered into the first color;
Second rendering unit, for the second area after the adjustment to be rendered into the second color;
Or, unit is highlighted, for highlighting the first area after the adjustment and the second area after the adjustment Between cut-off rule.
13. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When starting when charging, display includes first area and the charging progress interface of second area, and the first area is located at institute State the initial quantity of electricity that the lower section and the first area of second area are used to identify battery;
Every preset duration, increased battery electric quantity is obtained;
According to the increased battery electric quantity, in the second area, the drippage of virtual water droplet is shown along default motion track Process, the starting point of the default motion track is the coboundary of the second area, and end point is upper for the first area Border;
According to the increased battery electric quantity, the first area to be increased is determined;
At the end of the drippage process of the virtual water droplet is shown, according to first area, increase the face of the first area Product and the area for accordingly reducing the second area;
First area after display adjustment and the second area after adjustment.
CN201410828152.0A 2014-12-26 2014-12-26 Display methods, device and the mobile terminal of charged state Active CN104569839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410828152.0A CN104569839B (en) 2014-12-26 2014-12-26 Display methods, device and the mobile terminal of charged state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410828152.0A CN104569839B (en) 2014-12-26 2014-12-26 Display methods, device and the mobile terminal of charged state

Publications (2)

Publication Number Publication Date
CN104569839A CN104569839A (en) 2015-04-29
CN104569839B true CN104569839B (en) 2017-10-24

Family

ID=53086362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410828152.0A Active CN104569839B (en) 2014-12-26 2014-12-26 Display methods, device and the mobile terminal of charged state

Country Status (1)

Country Link
CN (1) CN104569839B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9841466B2 (en) * 2015-12-30 2017-12-12 Thunder Power New Energy Vehicle Development Company Limited Dynamic battery level indicator
CN109818387B (en) * 2017-11-20 2021-11-30 北京小米移动软件有限公司 Charging state prompting method and device
CN111324404B (en) * 2020-01-20 2023-11-24 北京有竹居网络技术有限公司 Information acquisition progress display method and device, electronic equipment and readable medium
CN111606159B (en) * 2020-05-26 2023-02-03 上海三菱电梯有限公司 Identification and display method for representing travel progress information of elevator and elevator display device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004138588A (en) * 2002-10-21 2004-05-13 Matsushita Electric Ind Co Ltd Battery residual capacity indicator and mobile terminal
CN102572076B (en) * 2010-12-23 2013-10-30 汉王科技股份有限公司 Method and device for displaying charging state
CN103675690B (en) * 2012-09-25 2018-05-25 腾讯科技(深圳)有限公司 A kind of method and terminal of display terminal charged state
CN103217649A (en) * 2013-03-28 2013-07-24 广东欧珀移动通信有限公司 Method and device for displaying electric quantity, and mobile device

Also Published As

Publication number Publication date
CN104569839A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104539795B (en) The display packing of data traffic, device and mobile terminal
CN104569839B (en) Display methods, device and the mobile terminal of charged state
KR101676209B1 (en) Weather displaying method, apparatus, program and recording medium
CN104156166B (en) Operational controls layout adjustment method and device
CN104270565B (en) Image capturing method, device and equipment
EP3133541A1 (en) Method and device for prompting gear shifting of bicycle
KR101712306B1 (en) Method and device for controlling playing and electronic equipment
CN107948667A (en) The method and apparatus that special display effect is added in live video
CN106993229A (en) Interactive attribute methods of exhibiting and device
CN105138962A (en) Image display method and image display device
CN106407365A (en) Picture sharing method and apparatus
CN106104602A (en) Card display packing and device
US20170039753A1 (en) Method, apparatus and non-transitory computer-readable storage medium for uninstalling an application
CN107423063A (en) Multiwindow processing method, device and equipment
CN105912944B (en) The method and device of application program access authority is set
CN104537132A (en) Motion data recording method and device
CN108155683A (en) Reminding method and device, the electronic equipment of charged state
CN106598429A (en) Method and device for adjusting window of mobile terminal
CN106776068A (en) Display methods, device and equipment that candidate applies
CN107995676A (en) terminal control method and device
CN105337368B (en) terminal charging method and device
CN104501790B (en) The calibration method and device of electronic compass
CN103885678A (en) Method and device for displaying object
CN104615327B (en) For the window display method and device in game process
CN108539804A (en) Battery charging control method, battery charging control device 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