CN103440192B - Electric quantity display method and device of mobile terminal and mobile terminal - Google Patents
Electric quantity display method and device of mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN103440192B CN103440192B CN201310389212.9A CN201310389212A CN103440192B CN 103440192 B CN103440192 B CN 103440192B CN 201310389212 A CN201310389212 A CN 201310389212A CN 103440192 B CN103440192 B CN 103440192B
- Authority
- CN
- China
- Prior art keywords
- curve
- cyclical fluctuations
- mobile terminal
- information
- cyclical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides an electric quantity display method and device of a mobile terminal and the mobile terminal, wherein the method comprises the following steps: acquiring current electric quantity information of a battery of the mobile terminal; generating a first fluctuation curve in an area covered by a preset pattern according to the current electric quantity information, wherein a starting point and an end point of the first fluctuation curve are connected with the edge of the preset pattern; and generating a current electric quantity state display interface of the battery according to the first fluctuation curve and the preset pattern. According to the electric quantity display method of the mobile terminal, disclosed by the embodiment of the invention, the electric quantity can be displayed by the dynamic change of the liquid fluid, different effects are visually shown for a user, the electric quantity display of the mobile terminal is more visual, the interestingness is enhanced, and more gorgeous visual experience is provided for the user.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly, to a kind of electric quantity display method of mobile terminal, device and
Mobile terminal.
Background technology
Processing function with mobile terminal function constantly strengthens, and its function also becomes more diverse, and is mobile phone users
Bring great convenience.Meanwhile, limited by battery capacity, the function with mobile terminal is gradually become strong, its charging
Frequency also improves therewith.Understand the charged state of mobile terminal for the ease of user, at present, mobile terminal can in charging process
One cell pattern of display, and attaching plug or lightning mark are shown on cell pattern, to represent charged state.A part
Mobile terminal can also identify electricity hundred in charging process by the different colours of cell pattern and color region different area
Divide and compare state.
During realizing the present invention, inventor finds that prior art at least has problems with:By showing battery
Pattern and charging identify the electric quantity change that cannot represent battery in charging process to user, and pass through cell pattern color and its face
Long-pending change, to identify battery electric quantity percentage status, can only could change color after electricity percentage ratio changes, and only
Several setting states can be identified it is impossible to represent in real time in charging process, the dynamic change of battery electric quantity.Additionally, ways of presentation is not
Enough attractive in appearance, lack interesting, poor user experience.
Content of the invention
It is contemplated that at least solving one of above-mentioned technical problem.
For this reason, the first of the present invention purpose is to propose a kind of display packing of mobile terminal electricity.The method can
Electricity is shown with fluid liquid dynamic change, visually presents different effects for user, to make the electricity of mobile terminal
Display is more directly perceived, and strengthens interest, has provided the user more gorgeous visual experience.
Second object of the present invention is to propose a kind of display device of mobile terminal electricity.
Third object of the present invention is to propose a kind of mobile terminal.
To achieve these goals, the display packing of the mobile terminal electricity of first aspect present invention embodiment include following
Step:Obtain the current electric quantity information of the battery of mobile terminal;Covered in predetermined pattern according to described current electric quantity information
First curve of cyclical fluctuations is generated in region, wherein, the beginning and end of described first curve of cyclical fluctuations side all with described predetermined pattern
Edge connects;And the current power state display circle of described battery is generated according to described first curve of cyclical fluctuations and described predetermined pattern
Face.
The electric quantity display method of mobile terminal according to embodiments of the present invention, can be according to the information about power of battery in default figure
Generate first curve of cyclical fluctuations in the region that case is covered, and current power state is generated according to first curve of cyclical fluctuations and predetermined pattern
Display interface, thus, it is possible to show electricity with fluid liquid dynamic change, visually presents different effects for user,
So that the electricity of mobile terminal is shown more intuitively, and strengthen interest, provide the user more gorgeous visual experience.
To achieve these goals, the electric quantity display device of the mobile terminal of second aspect present invention embodiment, including:The
One acquisition module, for obtaining the current electric quantity information of the battery of mobile terminal;First generation module, for according to described current
Information about power generates first curve of cyclical fluctuations in the region that predetermined pattern is covered, wherein, the starting point of described first curve of cyclical fluctuations
With the side edge all with described predetermined pattern for the terminal;And second generation module, for according to described first curve of cyclical fluctuations and
Described predetermined pattern generates the current power state display interface of described battery.
The electric quantity display device of mobile terminal according to embodiments of the present invention, can be according to the information about power of battery in default figure
Generate first curve of cyclical fluctuations in the region that case is covered, and current power state is generated according to first curve of cyclical fluctuations and predetermined pattern
Display interface, thus, it is possible to show electricity with fluid liquid dynamic change, visually presents different effects for user,
So that the electricity of mobile terminal is shown more intuitively, and strengthen interest, provide the user more gorgeous visual experience.
To achieve these goals, the mobile terminal of third aspect present invention embodiment, including:Shell, screen, process
Device, circuit board and battery;Described screen disposes on the housing, and described circuit board is placed in the space that described shell surrounds
Portion, described processor is arranged on described circuit board, and described battery is used for powering for described mobile terminal;Described processor is used for
Processing data, and specifically for:Obtain the current electric quantity information of the battery of mobile terminal;According to described current electric quantity information pre-
If generating first curve of cyclical fluctuations in the region that pattern is covered, wherein, the beginning and end of described first curve of cyclical fluctuations is all and institute
State the side edge of predetermined pattern;And the current of described battery is generated according to described first curve of cyclical fluctuations and described predetermined pattern
State of charge display interface.
Mobile terminal according to embodiments of the present invention, the region that can be covered in predetermined pattern according to the information about power of battery
Interior generation first curve of cyclical fluctuations, and current power state display interface is generated according to first curve of cyclical fluctuations and predetermined pattern, thus
Electricity can be shown with fluid liquid dynamic change, visually present different effects for user, make mobile terminal
Electricity shows more intuitively, and strengthens interest, has provided the user more gorgeous visual experience.
The aspect that the present invention adds and advantage will be set forth in part in the description, and partly will become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Brief description
The above-mentioned and/or additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments
Substantially and easy to understand, wherein,
Fig. 1 is the flow chart of the electric quantity display method of mobile terminal according to an embodiment of the invention;
Fig. 2 is the schematic diagram of mobile terminal state of charge display interface according to an embodiment of the invention;
Fig. 3 is the schematic diagram of mobile terminal state of charge display interface in accordance with another embodiment of the present invention;
Fig. 4 is the flow chart of the electric quantity display method of the mobile terminal according to one specific embodiment of the present invention;
Fig. 5 is the flow chart of the electric quantity display method of the mobile terminal according to another specific embodiment of the present invention;
Fig. 6 is the structural representation of the electric quantity display device of mobile terminal according to an embodiment of the invention;
Fig. 7 is the structural representation of the electric quantity display device of the mobile terminal according to one specific embodiment of the present invention;
Fig. 8 is the structural representation of the electric quantity display device of the mobile terminal according to another specific embodiment of the present invention;
Fig. 9 is the structural representation of the electric quantity display device of the mobile terminal according to another specific embodiment of the present invention;
Figure 10 is the structural representation of the electric quantity display device of the mobile terminal according to another specific embodiment of the present invention;
And
Figure 11 is the schematic diagram of the mobile terminal state of charge display interface according to further embodiment of the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of described embodiment is shown in the drawings, wherein from start to finish
The element that same or similar label represents same or similar element or has same or like function.Below with reference to attached
The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, originally
Inventive embodiment includes falling into all changes in the range of the spirit of attached claims and intension, modification and equivalent
Thing.
In describing the invention it is to be understood that term " first ", " second " etc. are only used for describing purpose, and not
It is understood that as indicating or implying relative importance.In describing the invention, it should be noted that specifying unless otherwise clear and definite
And restriction, term " being connected ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected,
Or be integrally connected;Can be to be mechanically connected or electrically connect;Can be to be joined directly together it is also possible to pass through intermediary
It is indirectly connected to.For the ordinary skill in the art, above-mentioned term tool in the present invention can be understood with concrete condition
Body implication.Additionally, in describing the invention, unless otherwise stated, " multiple " are meant that two or more.
In flow chart or here any process described otherwise above or method description are construed as, represent and include
The module of the code of executable instruction of one or more steps for realizing specific logical function or process, fragment or portion
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by substantially simultaneously in the way of or in the opposite order, carry out perform function, this should be by the present invention
Embodiment person of ordinary skill in the field understood.
It should be noted that embodiments of the invention are preferably applied to mobile device, for example, Android operation system
(android system is a kind of freedom based on Linux and the operating system of open source code), IOS (IOS be by
Apple exploitation handheld equipment operating system), Windows Phone operating system(Windows Phone is Microsoft
The Mobile phone operating system issued)Mobile device.Wherein, mobile terminal can be that mobile phone, panel computer, individual digital help
Reason, e-book etc. have the hardware device of various operating systems.
Below with reference to the accompanying drawings electric quantity display method, device and the movement of mobile terminal according to embodiments of the present invention are described eventually
End.
Fig. 1 is the flow chart of the electric quantity display method of mobile terminal according to an embodiment of the invention, and Fig. 2 is according to this
The schematic diagram of the mobile terminal state of charge display interface of one embodiment of invention, Fig. 3 is according to a further embodiment of the invention
Mobile terminal state of charge display interface schematic diagram.At present, the battery power quantity display method of mobile terminal is not attractive in appearance, lacks
Weary interest, and can not Dynamic Announce electric quantity change in real time, therefore, the present invention proposes a kind of electricity of mobile terminal and shows
Method, can show the current information about power of mobile terminal in electricity display interface by way of fluid liquid.Specifically, such as
Shown in Fig. 1-3, the electric quantity display method of mobile terminal comprises the following steps.
S101, obtains the current electric quantity information of the battery of mobile terminal.
Wherein, the current electric quantity information of battery can be the charge value of battery.For example, in mobile terminal charging process in real time
The charge value of change, or charge value of real-time change etc. under mobile terminal in standby state.
S102, generates first curve of cyclical fluctuations according to current electric quantity information in the region that predetermined pattern is covered, wherein, the
The side edge all with predetermined pattern for the beginning and end of one curve of cyclical fluctuations.
In order to by the user that is presented to lively for current electric quantity information, the embodiment of the present invention realizes one kind, and " water flows in a reservoir
Dynamic " effect.Wherein, the shape of " container ", that is, predetermined pattern may include but be not limited to circular pattern, cylindrical pattern, rectangle
One of pattern.Specifically, as shown in Fig. 2, drawing instrument, such as Photoshop can be used first taking circular pattern as a example
Deng, show in the screen of mobile terminal battery electric quantity position draw a foursquare pattern, by this square pattern
Background colour is set to the background colour identical color with battery electric quantity state display interface, and draws in this foursquare pattern
One transparent circular pattern.Then, by the beginning and end of first curve of cyclical fluctuations be arranged on this square pattern left hand edge and
On right hand edge(For example, in the mobile terminal of Android operation system, parameter android can be used:layout_alignLeft
And android:Layout_alignRight is configured to the beginning and end of first curve of cyclical fluctuations).Thus, first can be made
The curve of cyclical fluctuations shows only in foursquare pattern, and is shown to user by transparent circular pattern in square pattern,
That is, user can be seen that part first curve of cyclical fluctuations in transparent circular pattern.
In one embodiment of the invention, according to default transformational rule, current electric quantity information is converted to first wave
Starting point coordinate information in the region that predetermined pattern is covered for the moving curve and terminal point coordinate information, and according to starting point coordinate information
Generate first curve of cyclical fluctuations with terminal point coordinate information.As one embodiment of the present invention, default transformational rule can be
The value of current electric quantity is converted to the height value of corresponding predetermined pattern, for example, foursquare a height of 100 pixels, when remaining electricity
When value is 62%, the height that first curve of cyclical fluctuations is located is the position of 62 pixels.Another kind of embodiment party as the present invention
Formula, the value of current electric quantity can be converted to first curve of cyclical fluctuations and be surrounded with the latter half of predetermined pattern by default transformational rule
The area of pattern accounts for the ratio of the predetermined pattern gross area, for example, when residual electric quantity is 62%, calculate default figure first
The gross area of case, then reverse calculating is worked as first curve of cyclical fluctuations and is accounted for always with the area of the surrounded pattern in the latter half of predetermined pattern
Area 62% when, this surrounds the height value of pattern, i.e. the height value of first curve of cyclical fluctuations.By above two mode, all permissible
Current electric quantity information is converted to the height value of first curve of cyclical fluctuations, and the edge phase due to first curve of cyclical fluctuations and predetermined pattern
Connect, and then starting point coordinate information and the terminal point coordinate information of first curve of cyclical fluctuations can be obtained.
Specifically, as shown in figure 3, first, first curve of cyclical fluctuations can be generated, the curve in first curve of cyclical fluctuations can be shellfish plug
Your curve, can be also sine curve or cosine curve, be alternatively the curve that other have wave characteristic.For example, bent with Bezier
As a example line, first, can the predetermined pattern in mobile terminal screen covered region setting coordinate system, be respectively provided with level side
To x-axis and vertical direction y-axis, and the lower left corner of square pattern is set to coordinate origin.Then, mobile terminal according to
Current electric quantity information and the coordinate figure with starting point X of one of phase contact setting first curve of cyclical fluctuations of predetermined pattern.Move
Dynamic terminal arranges the coordinate figure of the control point M of curve further, and control point M is connected with starting point X, and obtains and control point M
The curve tangent with the line of starting point X.Then mobile terminal can obtain the terminal Y's that first curve of cyclical fluctuations is connected with predetermined pattern
Coordinate figure, and the coordinate figure of control point N is set, the curve tangent with this line is obtained by the line of control point N and terminal Y.
Then the coordinate figure of terminal Y can be set to the coordinate figure of starting point X by mobile terminal, through above steps may be repeated multiple times, you can obtain
Take whole curve.
Then, curve translational speed in the horizontal direction can be set, and that is, the translational speed in x-axis is it is also possible to use ripple
Dynamic frequency is representing.Wherein, this translational speed can be acquiescence in mobile terminal system, or user can be according to the demand of itself
This translational speed is set in the terminal.It should be understood that the unit of curve translational speed in the horizontal direction can be pixel, example
As 1 pixel.Then the refresh time of curve, mobile terminal starting point X to curve according to refresh time and translational speed can be set
The coordinate figure of coordinate figure, the coordinate figure of terminal Y and control point M and N refreshed.For example, every a refresh time, can be by
Coordinate figure in horizontal direction in the coordinate figure of the coordinate figure of starting point X, the coordinate figure of terminal Y and control point M and N, that is, in x-axis
Coordinate figure cuts translational speed, and the seat of the coordinate figure, the coordinate figure of terminal Y and control point M and N according to starting point X after changing
Scale value formation curve.That is, mobile terminal can pass through repeat the above steps, the waveform of curve is made constantly to be moved to the left.By
This, can generate first curve of cyclical fluctuations.
With reference to coordinate system, default transformational rule is described further.For above-mentioned first kind of way, mobile whole
End can obtain different starting points X of first curve of cyclical fluctuations and terminal Y in the vertical direction by the current electric quantity information of battery
Coordinate figure, i.e. starting point X of first curve of cyclical fluctuations and terminal Y coordinate figure in the y-axis direction.For example, can first in the terminal
Default battery electric quantity be starting point X and terminal Y in the vertical direction when 0 coordinate figure be 0, battery electric quantity be 100% when starting point X and
The coordinate figure of terminal Y in the vertical direction is 500 pixels.That is, battery electric quantity is starting point X of first curve of cyclical fluctuations when 0
With terminal Y in predetermined pattern nethermost position, battery electric quantity is that when 100%, starting point X of first curve of cyclical fluctuations and terminal Y exist
Uppermost position in cell pattern, battery electric quantity often increases by 1%, can be by starting point X of first curve of cyclical fluctuations and terminal Y vertical
Coordinate figure on direction increases by 5 pixels.Another way be mobile terminal pass through current electric quantity acquisition of information corresponding pre-
Starting point coordinate value and the terminal of first curve of cyclical fluctuations if the area covering in the region that pattern is covered, is calculated according to area coverage
Coordinate figure, then the starting point coordinate value according to first curve of cyclical fluctuations and end coordinate values generate first curve of cyclical fluctuations.For example, if
Mobile terminal current electric quantity is 30%, then mobile terminal judges that starting point coordinate value X of first curve of cyclical fluctuations and end coordinate values Y should
Should be in the position in the region 30% that can cover in predetermined pattern, it is bent that mobile terminal can calculate the first fluctuation according to this proportionate relationship
Starting point coordinate value X of line and end coordinate values Y.It should be understood that in above two mode starting point X and terminal Y be in the horizontal direction
Coordinate figure all remains constant, and above two mode is merely illustrative of the method in the embodiment of the present invention, does not make
For limitation of the present invention.
In one embodiment of the invention, obtain the gravity sensing information of mobile terminal, and according to gravity sensing information
Starting point coordinate information in the region that predetermined pattern is covered for first curve of cyclical fluctuations and terminal point coordinate information are adjusted, with
And first curve of cyclical fluctuations is generated according to the starting point coordinate information after adjustment and terminal point coordinate information.Specifically, mobile terminal can lead to
Cross the built-in gravity sensor of mobile terminal perceive mobile terminal mobile when gravity sensing information, wherein, gravity sensing is believed
Cease the locus for mobile terminal and mobile status information, such as translational speed, acceleration etc..And mobile terminal can basis
The gravity sensing information of mobile terminal adjusts the seat of beginning and end in the region being covered with pattern for first curve of cyclical fluctuations
Scale value.For example, if mobile terminal judges that mobile terminal is tilted by user, for example, turn clockwise 30 degree, then mobile terminal root
Calculate starting point X of first curve of cyclical fluctuations and the seat of terminal Y in the vertical direction after change according to the status information of induction apparatuss perception
Scale value it should be appreciated that now the coordinate figure of starting point X in the vertical direction be less than coordinate figure before, terminal Y in the vertical direction
Coordinate figure is more than coordinate figure before.Thus, it is possible to ensureing the acceleration of state and the mobile terminal of first curve of cyclical fluctuations and shaking
Shake state consistency, improve display effect further.
S103, generates the current power state display interface of battery according to first curve of cyclical fluctuations and predetermined pattern.
In one embodiment of the invention, first curve of cyclical fluctuations can be carried out with the filling of color.Specifically, with circular diagram
As a example case, the region between the circular arc below first curve of cyclical fluctuations and circular pattern is carried out with the filling of color, and after filling
Circular pattern as mobile terminal current power state display interface.Therefore, the display interface of current power state can be opened up
It is now the liquid level of fluid, and the process with battery charging and discharging, fluid level also can raise or reduce.
The electric quantity display method of mobile terminal according to embodiments of the present invention, can be according to the information about power of battery in default figure
Generate first curve of cyclical fluctuations in the region that case is covered, and current power state is generated according to first curve of cyclical fluctuations and predetermined pattern
Display interface, thus, it is possible to show electricity with fluid liquid dynamic change, visually presents different effects for user,
So that the electricity of mobile terminal is shown more intuitively, and strengthen interest, provide the user more gorgeous visual experience.
Fig. 4 is the flow chart of the electric quantity display method of the mobile terminal according to one specific embodiment of the present invention, Tu11Shi
The schematic diagram of the mobile terminal state of charge display interface according to further embodiment of the present invention.In the present embodiment, can distinguish
Multiple different wave according to first curve of cyclical fluctuations and second curve of cyclical fluctuations and its corresponding color generate multiple color filling figures
Case, and then according to multiple color filling pattern generation current power state display interfaces, to realize the 3D of the fluid liquid of electricity
Display effect.As shown in Fig. 4 and Figure 11, the electric quantity display method of mobile terminal comprises the following steps.
S401, obtains the current electric quantity information of the battery of mobile terminal.
S402, generates first curve of cyclical fluctuations according to current electric quantity information in the region that predetermined pattern is covered, wherein, the
The side edge all with predetermined pattern for the beginning and end of one curve of cyclical fluctuations.
In one embodiment of the invention, according to default transformational rule, current electric quantity information is converted to first wave
Starting point coordinate information in the region that predetermined pattern is covered for the moving curve and terminal point coordinate information, and according to starting point coordinate information
Generate first curve of cyclical fluctuations with terminal point coordinate information.
In one embodiment of the invention, obtain the gravity sensing information of mobile terminal, and according to gravity sensing information
Starting point coordinate information in the region that predetermined pattern is covered for first curve of cyclical fluctuations and terminal point coordinate information are adjusted, with
And first curve of cyclical fluctuations is generated according to the starting point coordinate information after adjustment and terminal point coordinate information.
S403, generates second curve of cyclical fluctuations according to current electric quantity information in the region that predetermined pattern is covered.Wherein,
The side edge all with predetermined pattern for the beginning and end of two curves of cyclical fluctuations, the fluctuation of first curve of cyclical fluctuations and second curve of cyclical fluctuations
In opposite direction, or first curve of cyclical fluctuations differed with the vibration frequency of second curve of cyclical fluctuations.
It should be understood that the curve in second curve of cyclical fluctuations can be equally Bezier, can be also sine curve or cosine song
Line, is alternatively the curve that other have wave characteristic.And second curve of cyclical fluctuations and the first curve of cyclical fluctuations generating mode are identical, this
Place is no longer multiple superfluous.By arranging second curve of cyclical fluctuations, the fluctuation effect of the ripple effect of first curve of cyclical fluctuations and second curve of cyclical fluctuations
Fruit is superimposed, and more vividly intuitively presents water level fluctuation effect to user.
S404, obtains first curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations and the second color letter respectively
Breath.
In one embodiment of the invention, first curve of cyclical fluctuations and can be filled in the region that predetermined pattern is covered
Two curves of cyclical fluctuations., current power state display interface can be as shown in figure 11 taking circular pattern as a example, including the predetermined pattern of battery
With electric quantity change fluid surge area, wherein, second curve of cyclical fluctuations and circular arc below are fluid liquid region, the first fluctuation
The region surrounding between curve and second curve of cyclical fluctuations is the liquid level of fluid liquid.Fluid liquid region area can represent battery electricity
Amount, when battery is in charged state, the liquid level of fluid liquid can raise with the increase of electricity, when battery is in electric discharge shape
State, the liquid level of fluid liquid can reduce with the minimizing of electricity.Wherein, corresponding first colouring information of first curve of cyclical fluctuations is
The corresponding color in fluid level region of first curve of cyclical fluctuations and the fluid liquid that second curve of cyclical fluctuations is formed;Second curve of cyclical fluctuations
Corresponding second colouring information is the corresponding color in fluid liquid region that second curve of cyclical fluctuations is formed with its underpart circular arc, and
First colouring information is deeper than second colouring information.
S405, according to first curve of cyclical fluctuations and second curve of cyclical fluctuations and its corresponding first colouring information of difference and the second face
Color information generates multiple color filling patterns.
Specifically, mobile terminal can by corresponding for first curve of cyclical fluctuations the first colouring information be added to first curve of cyclical fluctuations with
The fluid level region of the fluid liquid that second curve of cyclical fluctuations is formed, corresponding for second curve of cyclical fluctuations the second colouring information is added
To fluid liquid region.And make first curve of cyclical fluctuations and second curve of cyclical fluctuations carry out linear or non-thread by adjusting parameter of curve
Property move, thus realizing first curve of cyclical fluctuations and the ripple effect of second curve of cyclical fluctuations, that is, achieve the liquid flow body fluid of electricity
The fluctuation in face and electric quantity change, and the fluctuation speed of fluid level can be controlled by the adjustment frequency of controlling curve parameter.And
When first curve of cyclical fluctuations and second curve of cyclical fluctuations fluctuate, mobile terminal can be in real time in the corresponding color of corresponding area update
Information, thus, by the superposition of first curve of cyclical fluctuations and second curve of cyclical fluctuations and the colour match of zones of different so that liquid
The 3D display effect of fluid becomes apparent from, and color is more gorgeous.
S406, according to the current power state display interface of multiple color filling pattern generation batteries.
Specifically, first curve of cyclical fluctuations in each color filling pattern and second curve of cyclical fluctuations can form and have the first face
The color region of color information, when multiple color filling patterns are overlapped, and when doing linearly or nonlinearly motion, can produce this face
The dynamic effect that the waveform in zone domain is continually changing.The color region with the second colouring information is liquid fluid, has first
The color region of colouring information is the fluid page of this liquid fluid, thus, can produce the effect of the fluctuation of the fluid page.
Corresponding colouring information can be added to by the electric quantity display method of mobile terminal according to embodiments of the present invention respectively
The interface of first curve of cyclical fluctuations and the formation of second curve of cyclical fluctuations is to generate state of charge display interface, and is filled out by this multiple color
Fill pattern to be overlapped generating state of charge display interface, thus, it is possible to electric quantity change is shown with fluid liquid dynamic change,
Visually represent the 3D dynamic change effect of electricity for user, so that electricity is shown more directly perceived, and strengthen interest, be use
Family provides more gorgeous visual experience.
Fig. 5 is the flow chart of the electric quantity display method of the mobile terminal according to another specific embodiment of the present invention.In order to
So that the content that electricity is shown is become apparent from, increase interesting, can also be by first curve of cyclical fluctuations and second curve of cyclical fluctuations
Vibration frequency is adjusted, and generates different state of charge display interfaces by adjustment, as shown in figure 5, the electricity of mobile terminal
Display packing comprises the following steps.
S501, obtains the current electric quantity information of the battery of mobile terminal.
S502, generates first curve of cyclical fluctuations according to current electric quantity information in the region that predetermined pattern is covered, wherein, the
The side edge all with predetermined pattern for the beginning and end of one curve of cyclical fluctuations.
In one embodiment of the invention, according to default transformational rule, current electric quantity information is converted to first wave
Starting point coordinate information in the region that predetermined pattern is covered for the moving curve and terminal point coordinate information, and according to starting point coordinate information
Generate first curve of cyclical fluctuations with terminal point coordinate information.
In one embodiment of the invention, obtain the gravity sensing information of mobile terminal, and according to gravity sensing information
Starting point coordinate information in the region that predetermined pattern is covered for first curve of cyclical fluctuations and terminal point coordinate information are adjusted, with
And first curve of cyclical fluctuations is generated according to the starting point coordinate information after adjustment and terminal point coordinate information.
S503, generates second curve of cyclical fluctuations according to current electric quantity information in the region that predetermined pattern is covered.Wherein,
The side edge all with predetermined pattern for the beginning and end of two curves of cyclical fluctuations, the fluctuation of first curve of cyclical fluctuations and second curve of cyclical fluctuations
In opposite direction, or first curve of cyclical fluctuations differed with the vibration frequency of second curve of cyclical fluctuations.
It should be understood that the curve in second curve of cyclical fluctuations can be equally Bezier, can be also sine curve or cosine song
Line, is alternatively the curve that other have wave characteristic.And second curve of cyclical fluctuations and the first curve of cyclical fluctuations generating mode are identical, this
Place is no longer multiple superfluous.
S504, obtains first curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations and the second color letter respectively
Breath.
S505, according to first curve of cyclical fluctuations and second curve of cyclical fluctuations and its corresponding first colouring information of difference and the second face
Color information generates multiple color filling patterns.
S506, according to the current power state display interface of multiple color filling pattern generation batteries.
S507, judges whether mobile terminal charges.
S508, if charged, every default time interval to first curve of cyclical fluctuations and second curve of cyclical fluctuations
Vibration frequency is adjusted, and generates the current power state display interface of battery according to the vibration frequency after adjustment.
For example, if mobile terminal charges, mobile terminal can be by first curve of cyclical fluctuations and second curve of cyclical fluctuations
Vibration frequency adjustment, that is, respectively by the length between adjacent crest and trough in first curve of cyclical fluctuations and second curve of cyclical fluctuations
Reduce, for example, be reduced to original half.Thus, user is facilitated to pass through the display shape of first curve of cyclical fluctuations and second curve of cyclical fluctuations
State understands the current state of mobile terminal, improves the interest of cell interface and practicality in charging process, improves user
Experience.
S509, obtains current charging stage when mobile terminal charges, and bent to the first fluctuation according to the current charging stage
The vibration frequency of line and second curve of cyclical fluctuations is adjusted, and generates the current electric quantity shape of battery according to the vibration frequency after adjustment
State display interface.Wherein, the current charging stage includes but is not limited to fast charging stage, boost charge stage, trickle charge stage
One of.Specifically, in charging process, with the increase of electricity, it is bent that mobile terminal can adjust the first fluctuation to mobile terminal
Line and the vibration frequency of second curve of cyclical fluctuations, for example, adjust the shifting in the horizontal direction of first curve of cyclical fluctuations and second curve of cyclical fluctuations
Dynamic speed.For example, during the quick charge stage, first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction is
Hurry up, during the boost charge stage, first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction is slow, trickle
During the charging stage, first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction is the slowest.Thus, it is possible to it is convenient
User passes through first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction and understands that mobile terminal currently charges
Stage, improve the interest of cell interface and practicality in charging process, improve Consumer's Experience further.
S510, obtains the charging remaining time of mobile terminal, and according to remaining time of charging to first curve of cyclical fluctuations and the
Corresponding first colouring information of two curves of cyclical fluctuations and the second colouring information are adjusted, and according to the first color letter after adjustment
Breath and the current power state display interface of the second colouring information generation battery.Specifically, mobile terminal can be surplus according to charge
Remaining time, adjustment first curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations and the second colouring information.For example,
First colouring information of one curve of cyclical fluctuations and second curve of cyclical fluctuations and the second colouring information when just starting to charge up displayable relatively
Shallow, with mobile terminal charging process, slowly show darkens, close to fully charged when show deeper.Thus, it is possible to
Facilitate user to pass through the color understanding mobile terminal charged state of first curve of cyclical fluctuations and second curve of cyclical fluctuations, improve and charged
The interest of cell interface and practicality in journey, improve Consumer's Experience further.
The electric quantity display method of mobile terminal according to embodiments of the present invention, the state according to mobile terminal fluctuates to first
The vibration frequency of curve and second curve of cyclical fluctuations is adjusted, and generates the first related with mobile terminal state in real time fluctuation bent
Line and second curve of cyclical fluctuations are simultaneously shown to user, in the 3D display effect of the fluid liquid reaching electricity, while lucuriant in design,
May also help in the state that user understands that mobile terminal charges, improve the interest of cell interface and practicality in charging process
Property, improve Consumer's Experience.
In order to realize above-described embodiment, the present invention also proposes a kind of electric quantity display device of mobile terminal.
A kind of electric quantity display device of mobile terminal, including:First acquisition module, for obtaining the battery of mobile terminal
Current electric quantity information;First generation module, for generating according to current electric quantity information in the region that predetermined pattern is covered
One curve of cyclical fluctuations, wherein, the beginning and end of first curve of cyclical fluctuations side edge all with predetermined pattern;And second generation mould
Block, for generating the current power state display interface of battery according to first curve of cyclical fluctuations and predetermined pattern.
Fig. 6 is the structural representation of the electric quantity display device of mobile terminal according to an embodiment of the invention.
As shown in fig. 6, the electric quantity display device of mobile terminal includes:First acquisition module 100, the first generation module 200
With the second generation module 300.
Specifically, the first acquisition module 100 is used for obtaining the current electric quantity information of the battery of mobile terminal.Wherein, battery
Current electric quantity information can be battery charge value.For example, in mobile terminal charging process real-time change charge value, or
Charge value of real-time change etc. under mobile terminal in standby state.
First generation module 200 is used for generating first wave in the region that predetermined pattern is covered according to current electric quantity information
Moving curve, wherein, the beginning and end of first curve of cyclical fluctuations side edge all with predetermined pattern.Wherein, predetermined pattern can be wrapped
Include but be not limited to one of circular pattern, cylindrical pattern, rectangle pattern.Specifically, as shown in Fig. 2 with circular pattern
As a example, first, drawing instrument, such as Photoshop etc. can be used, the screen of mobile terminal shows the position of battery electric quantity
Draw a foursquare pattern, the background colour of this square pattern is set to the background with battery electric quantity state display interface
Color identical color, and draw a transparent circular pattern in this foursquare pattern.Then, by first curve of cyclical fluctuations
Beginning and end is arranged on the left hand edge and right hand edge of this square pattern(For example, at the mobile end of Android operation system
End, can use parameter android:Layout_alignLeft and android:Layout_alignRight is bent to the first fluctuation
The beginning and end of line is configured).Thus, first curve of cyclical fluctuations can be made to show only in foursquare pattern, and pass through
In square pattern, transparent circular pattern is shown to user that is to say, that user can be seen that the portion in transparent circular pattern
Divide first curve of cyclical fluctuations.
The current power state that second generation module 300 is used for according to first curve of cyclical fluctuations and predetermined pattern generate battery shows
Show interface.More specifically, the second generation module 300 can carry out the filling of color to first curve of cyclical fluctuations.Specifically, with circular diagram
As a example case, the region between the circular arc below first curve of cyclical fluctuations and circular pattern is carried out with the filling of color, and after filling
Circular pattern as mobile terminal current power state display interface.Therefore, the display interface of current power state can be opened up
It is now the liquid level of fluid, and the process with battery charging and discharging, fluid level also can raise or reduce.
The electric quantity display device of mobile terminal according to embodiments of the present invention, can be according to the information about power of battery in default figure
Generate first curve of cyclical fluctuations in the region that case is covered, and current power state is generated according to first curve of cyclical fluctuations and predetermined pattern
Display interface, thus, it is possible to show electricity with fluid liquid dynamic change, visually presents different effects for user,
So that the electricity of mobile terminal is shown more intuitively, and strengthen interest, provide the user more gorgeous visual experience.
Fig. 7 is the structural representation of the electric quantity display device of the mobile terminal according to one specific embodiment of the present invention.
As shown in fig. 7, the electric quantity display device of mobile terminal includes:First acquisition module 100, the first generation module 200
With the second generation module 300, the wherein first generation module 200 includes converting unit 210 and signal generating unit 220.
Specifically, converting unit 210 is used for according to default transformational rule, and current electric quantity information is converted to the first fluctuation
Starting point coordinate information in the region that predetermined pattern is covered for the curve and terminal point coordinate information.More specifically, as shown in Fig. 2
First, first curve of cyclical fluctuations can be generated, the curve in first curve of cyclical fluctuations can be Bezier, can be also sine curve or remaining
Chord curve, is alternatively the curve that other have wave characteristic.For example, first, can be in mobile terminal screen taking Bezier as a example
The region setting coordinate system that predetermined pattern in curtain is covered, is respectively provided with the x-axis of horizontal direction and the y-axis of vertical direction, and
The lower left corner of square pattern is set to coordinate origin.Then, mobile terminal can arrange the coordinate figure of starting point X of curve, and
Setting length of a curve, wherein, the unit of this length can be pixel, for example, 30 pixels.Mobile terminal arranges the control point of curve
The coordinate figure of M, and control point M is connected with starting point X, and obtain the curve tangent with the line of control point M and starting point X.Then
Mobile terminal can obtain the coordinate figure with the terminal Y of the length of starting point distance setting, and arranges the coordinate figure of control point N, passes through
The line of control point N and terminal Y obtains the curve tangent with this line.Then the coordinate figure of terminal Y can be arranged by mobile terminal
For the coordinate figure of starting point X, above steps may be repeated multiple times for process, you can obtains complete curve.
Then, curve translational speed in the horizontal direction can be set, i.e. translational speed in x-axis.Wherein, this movement
Speed can be acquiescence in mobile terminal system, or user can arrange this movement speed in the terminal according to the demand of itself
Degree.It should be understood that the unit of curve translational speed in the horizontal direction can be pixel, for example, 1 pixel.Then curve can be set
Refresh time, the mobile terminal coordinate figure of starting point X to curve, coordinate figure of terminal Y according to refresh time and translational speed
Refreshed with the coordinate figure of control point M and N.For example, every a refresh time, can be by the coordinate figure of starting point X, terminal Y
Coordinate figure in horizontal direction in the coordinate figure of coordinate figure and control point M and N, that is, the coordinate figure in x-axis cut translational speed, and
The coordinate figure formation curve of coordinate figure, the coordinate figure of terminal Y and control point M and N according to starting point X after changing.That is,
Mobile terminal can pass through repeat the above steps, so that the waveform of curve is constantly moved to the left.Thus, it is possible to it is bent to generate the first fluctuation
Line.
Additionally, the seat of starting point X in order to avoid being constantly moved to the left the curve leading to due to the waveform of first curve of cyclical fluctuations
The coordinate figure of scale value, the coordinate figure of terminal Y and control point M and N is too small, and that is, first curve of cyclical fluctuations can not be in the screen of mobile terminal
Middle display, whether mobile terminal can exceed the left border of screen by the terminal Y of judgment curves, and that is, terminal Y is in the horizontal direction
On coordinate figure be less than coordinate system in initial point coordinate figure in the horizontal direction.If terminal Y has exceeded the left border of screen,
Then mobile terminal increases the waveform of a complete curve after the waveform of curve.As a result, the first curve of cyclical fluctuations waveform
Coordinate figure in the horizontal direction will not unconfined reduce, and first curve of cyclical fluctuations may be displayed on the screen of mobile terminal all the time
In.
Then, current electric quantity information can be converted to first curve of cyclical fluctuations according to default transformational rule by converting unit 210
Starting point coordinate information in the region that predetermined pattern is covered and terminal point coordinate information.Wherein default transformational rule may include
Following two.A kind of mode be mobile terminal pass through battery current electric quantity information can obtain the first different curves of cyclical fluctuations rise
Point X and the coordinate figure of terminal Y in the vertical direction, i.e. starting point X of first curve of cyclical fluctuations and terminal Y coordinate in the y-axis direction
Value.For example, first can preset the coordinate figure that battery electric quantity is starting point X and terminal Y in the vertical direction when 0 in the terminal is 0,
Battery electric quantity is the coordinate figure of starting point X and terminal Y in the vertical direction when 100% is 500 pixels.That is, battery electric quantity is
Starting point X of first curve of cyclical fluctuations and terminal Y nethermost position in predetermined pattern when 0, battery electric quantity is first wave when 100%
Starting point X of moving curve and terminal Y uppermost position in cell pattern, battery electric quantity often increases by 1%, can the first fluctuation song
The coordinate figure of starting point X of line and terminal Y in the vertical direction increases by 5 pixels.Another way is that mobile terminal passes through currently
Information about power obtains the corresponding area covering in the region that predetermined pattern is covered, and calculates the first fluctuation according to area coverage
The starting point coordinate value of curve and end coordinate values, then the starting point coordinate value according to first curve of cyclical fluctuations and end coordinate values generate
First curve of cyclical fluctuations.For example, if mobile terminal current electric quantity is 30%, mobile terminal judges the starting point of first curve of cyclical fluctuations
Coordinate figure X and end coordinate values Y should be in the position in the region 30% that can cover in predetermined pattern, and mobile terminal can be according to this ratio
Example relation calculates starting point coordinate value X and the end coordinate values Y of first curve of cyclical fluctuations.It should be understood that starting point X in above two mode
All remain constant with terminal Y coordinate figure in the horizontal direction, and above two mode is merely illustrative of the present invention
Method in embodiment, is not intended as limitation of the present invention.
Signal generating unit 220 is used for generating first curve of cyclical fluctuations according to starting point coordinate information and terminal point coordinate information.
Current electric quantity information can be converted to first wave by the electric quantity display device of mobile terminal according to embodiments of the present invention
Starting point coordinate information in the region that predetermined pattern is covered for the moving curve and terminal point coordinate information, and it is bent to generate the first fluctuation
Line.
Fig. 8 is the structural representation of the electric quantity display device of the mobile terminal according to another specific embodiment of the present invention.
As shown in figure 8, the electric quantity display device of mobile terminal includes:First acquisition module 100, the first generation module 200
With the second generation module 300, the wherein first generation module 200 includes converting unit 210 and signal generating unit 220, signal generating unit 220
Including:Obtain subelement 221, computation subunit 222 and generate subelement 223.
Specifically, obtain subelement 221 to be used for obtaining the gravity sensing information of mobile terminal.More specifically, it is single to obtain son
Unit 221 can by the built-in gravity sensor of mobile terminal perceive mobile terminal mobile when gravity sensing information, wherein, weight
Power induction information is locus and the mobile status information of mobile terminal, such as translational speed, acceleration etc..
Computation subunit 222 is used for the region first curve of cyclical fluctuations being covered according to gravity sensing information in predetermined pattern
Interior starting point coordinate information and terminal point coordinate information are adjusted.More specifically, computation subunit 222 is according to the weight of mobile terminal
Power induction information adjusts the coordinate figure of beginning and end in the region being covered with pattern for first curve of cyclical fluctuations.For example, such as
Fruit mobile terminal judges that mobile terminal is tilted by user, for example, turns clockwise 30 degree, then computation subunit 222 is according to sensing
The status information of device perception calculates the coordinate figure of starting point X of first curve of cyclical fluctuations after change and terminal Y in the vertical direction, should
Understand, now the coordinate figure of starting point X in the vertical direction is less than coordinate figure before, the coordinate figure of terminal Y in the vertical direction
More than coordinate figure before.
Generate the starting point coordinate information after subelement 223 is used for according to adjustment and terminal point coordinate information generation first fluctuation is bent
Line.
The electric quantity display device of mobile terminal according to embodiments of the present invention it is ensured that the state of first curve of cyclical fluctuations with
The acceleration of mobile terminal and rock state consistency, improves display effect further.
Fig. 9 is the structural representation of the electric quantity display device of the mobile terminal according to another specific embodiment of the present invention.
As shown in figure 9, the electric quantity display device of mobile terminal includes:First acquisition module 100, the first generation module 200,
Second generation module 300, the 3rd generation module 400, the second acquisition module 500 and the 4th generation module 600, the wherein first generation
Module 200 includes converting unit 210 and signal generating unit 220, and signal generating unit 220 includes:Obtain subelement 221, computation subunit
222 and generate subelement 223.
Specifically, the 3rd generation module 400 is used for the life in the region that predetermined pattern is covered according to current electric quantity information
Become second curve of cyclical fluctuations, wherein, the beginning and end of second curve of cyclical fluctuations side edge all with predetermined pattern, the first fluctuation is bent
Line is in opposite direction with the fluctuation of second curve of cyclical fluctuations, or the vibration frequency not phase of first curve of cyclical fluctuations and second curve of cyclical fluctuations
With.More specifically, the curve in second curve of cyclical fluctuations can be equally Bezier, can be also sine curve or cosine curve,
It is alternatively the curve that other have wave characteristic.And second curve of cyclical fluctuations and the first curve of cyclical fluctuations generating mode are identical, herein
No longer multiple superfluous.
Second acquisition module 500 is used for obtaining first curve of cyclical fluctuations and the corresponding first color letter of second curve of cyclical fluctuations respectively
Breath and the second colouring information.More specifically, first curve of cyclical fluctuations and the second ripple can be filled in the region that predetermined pattern is covered
Moving curve., current power state display interface can be as shown in figure 3, include predetermined pattern and the electricity of battery taking circular pattern as a example
Amount change fluid surge area, wherein, second curve of cyclical fluctuations and circular arc below are fluid liquid region, first curve of cyclical fluctuations
The region surrounding and second curve of cyclical fluctuations between is the liquid level of fluid liquid.Fluid liquid region area can represent battery electric quantity,
When battery is in charged state, the liquid level of fluid liquid can raise with the increase of electricity, when battery is in discharge condition,
The liquid level of fluid liquid can reduce with the minimizing of electricity.Wherein, corresponding first colouring information of first curve of cyclical fluctuations is the
The corresponding color in fluid level region of one curve of cyclical fluctuations and the fluid liquid that second curve of cyclical fluctuations is formed;Second curve of cyclical fluctuations pair
The second colouring information answered is the corresponding color in fluid liquid region that second curve of cyclical fluctuations is formed with its underpart circular arc, and the
One colouring information is deeper than second colouring information.
4th generation module 600 is used for according to first curve of cyclical fluctuations and second curve of cyclical fluctuations and its corresponding first face of difference
Color information and the second colouring information generate multiple color filling patterns.More specifically, the 4th generation module 600 can fluctuate first
Corresponding first colouring information of curve is added to the fluid liquid of the fluid liquid of first curve of cyclical fluctuations and the formation of second curve of cyclical fluctuations
Face region, corresponding for second curve of cyclical fluctuations the second colouring information is added to fluid liquid region.And by adjusting parameter of curve
First curve of cyclical fluctuations and second curve of cyclical fluctuations are linearly or nonlinearly moved, thus realizing first curve of cyclical fluctuations and second
The ripple effect of the curve of cyclical fluctuations, that is, achieve the fluctuation of fluid liquid liquid level and the electric quantity change of electricity, and can be bent by controlling
The adjustment frequency of line parameter is controlling the fluctuation speed of fluid level.And when first curve of cyclical fluctuations and the fluctuation of second curve of cyclical fluctuations
When, mobile terminal can be in real time in the corresponding colouring information of corresponding area update, thus, by first curve of cyclical fluctuations and second
So that the 3D display effect of fluid liquid becomes apparent from, color is more for the colour match of the superposition of the curve of cyclical fluctuations and zones of different
Plus it is gorgeous.
The current power state that second generation module 300 is additionally operable to according to multiple color filling pattern generation batteries shows boundary
Face.More specifically, first curve of cyclical fluctuations in each color filling pattern and second curve of cyclical fluctuations can form and have the first color
The color region of information, when multiple color filling patterns are overlapped, and when doing linearly or nonlinearly motion, can produce this color
The dynamic effect that the waveform in region is continually changing.The color region with the second colouring information is liquid fluid, has the first face
The color region of color information is the fluid page of this liquid fluid, thus, can produce the effect of the fluctuation of the fluid page.
Corresponding colouring information can be added to by the electric quantity display device of mobile terminal according to embodiments of the present invention respectively
The interface of first curve of cyclical fluctuations and the formation of second curve of cyclical fluctuations is to generate state of charge display interface, and is filled out by this multiple color
Fill pattern to be overlapped generating state of charge display interface, thus, it is possible to electric quantity change is shown with fluid liquid dynamic change,
Visually represent the 3D dynamic change effect of electricity for user, so that electricity is shown more directly perceived, and strengthen interest, be use
Family provides more gorgeous visual experience.
Figure 10 is the structural representation of the electric quantity display device of the mobile terminal according to another specific embodiment of the present invention.
As shown in Figure 10, the electric quantity display device of mobile terminal includes:First acquisition module 100, the first generation module
200th, the second generation module 300, the 3rd generation module 400, the second acquisition module 500, the 4th generation module 600, judge module
700th, the first computing module 800, the second computing module 900 and the 3rd computing module 1000, the wherein first generation module 200 includes
Converting unit 210 and signal generating unit 220, signal generating unit 220 includes:Obtain subelement 221, computation subunit 222 and generate son
Unit 223.
Specifically, judge module 700 is used for judging whether mobile terminal charges.
First computing module 800 is used for, when mobile terminal charges, fluctuating to first every default time interval
The vibration frequency of curve and second curve of cyclical fluctuations is adjusted.For example, if it is determined that module 700 judges that mobile terminal fills
Electricity, then the first computing module 800 vibration frequency of first curve of cyclical fluctuations and second curve of cyclical fluctuations can be adjusted, that is, respectively by the
In one curve of cyclical fluctuations and second curve of cyclical fluctuations, the length between adjacent crest and trough reduces, for example, be reduced to original one
Half.Thus, user is facilitated to pass through the current shape of the dispaly state understanding mobile terminal of first curve of cyclical fluctuations and second curve of cyclical fluctuations
State, improves the interest of cell interface and practicality in charging process, improves Consumer's Experience.
Second generation module 300 is additionally operable to generate the current power state display circle of battery according to the vibration frequency after adjusting
Face.
Second computing module 900 is used for obtaining current charging stage when mobile terminal charges, and according to current charging rank
Section is adjusted to the vibration frequency of first curve of cyclical fluctuations and second curve of cyclical fluctuations.Wherein, the current charging stage includes but does not limit
In one of fast charging stage, boost charge stage, trickle charge stage.Specifically, mobile terminal is in charging process, with
The increase of electricity, the vibration frequency of adjustable first curve of cyclical fluctuations of the second computing module 900 and second curve of cyclical fluctuations, for example, adjust
Whole first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction.For example, first wave during the quick charge stage
Moving curve and second curve of cyclical fluctuations translational speed in the horizontal direction is the fastest, first curve of cyclical fluctuations and during the boost charge stage
Two curves of cyclical fluctuations translational speed in the horizontal direction is slow, and during the trickle charge stage, first curve of cyclical fluctuations and the second fluctuation are bent
Line translational speed in the horizontal direction is the slowest.Thus, it is possible to facilitate user to pass through first curve of cyclical fluctuations and second curve of cyclical fluctuations
Translational speed in the horizontal direction understands the mobile terminal current stage charged, and improves the interest of cell interface in charging process
Taste and practicality, improve Consumer's Experience further.
Second generation module 300 is additionally operable to generate the current power state display circle of battery according to the vibration frequency after adjusting
Face.
3rd computing module 1000 is used for obtaining the charging remaining time of mobile terminal, and according to remaining time of charging to the
One curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations and the second colouring information are adjusted.Specifically, the 3rd
Computing module 1000 can adjust first curve of cyclical fluctuations and corresponding first color of second curve of cyclical fluctuations according to the remaining time charged
Information and the second colouring information.For example, the first colouring information of first curve of cyclical fluctuations and second curve of cyclical fluctuations and the second color letter
Breath is displayable shallower when just starting to charge up, and with mobile terminal charging process, slowly show darkens, and fills close
Show during full electricity is deeper.Thus, it is possible to facilitating, user passes through first curve of cyclical fluctuations and the color of second curve of cyclical fluctuations understands shifting
Dynamic terminal charge state, improves the interest of cell interface and practicality in charging process, improves Consumer's Experience further.
Second generation module 300 is additionally operable to generate battery according to the first colouring information after adjusting and the second colouring information
Current power state display interface.
The electric quantity display device of mobile terminal according to embodiments of the present invention, the state according to mobile terminal fluctuates to first
The vibration frequency of curve and second curve of cyclical fluctuations is adjusted, and generates the first related with mobile terminal state in real time fluctuation bent
Line and second curve of cyclical fluctuations are simultaneously shown to user, in the 3D display effect of the fluid liquid reaching electricity, while lucuriant in design,
May also help in the state that user understands that mobile terminal charges, improve the interest of cell interface and practicality in charging process
Property, improve Consumer's Experience.
In order to realize above-described embodiment, the present invention proposes a kind of mobile terminal again.
A kind of mobile terminal, including:Shell, screen, processor and circuit board;Screen is placed on shell, and circuit board is pacified
Put the interior volume surrounding in shell, processor is arranged on circuit boards;Processor be used for processing data, specifically for execution with
Lower step:
S101 ', obtains the current electric quantity information of the battery of mobile terminal.
Wherein, the current electric quantity information of battery can be the charge value of battery.For example, in mobile terminal charging process in real time
The charge value of change, or charge value of real-time change etc. under mobile terminal in standby state.
S102 ', generates first curve of cyclical fluctuations according to current electric quantity information in the region that predetermined pattern is covered, wherein,
The side edge all with predetermined pattern for the beginning and end of first curve of cyclical fluctuations.
Wherein, predetermined pattern may include but be not limited to one of circular pattern, cylindrical pattern, rectangle pattern.Tool
Body ground, as shown in Fig. 2, first, can use drawing instrument, such as Photoshop etc., in mobile terminal taking circular pattern as a example
Screen in show battery electric quantity position draw a foursquare pattern, by the background colour of this square pattern be set to
The background colour identical color of battery electric quantity state display interface, and draw a transparent circle in this foursquare pattern
Pattern.Then, the beginning and end of first curve of cyclical fluctuations is arranged on the left hand edge and right hand edge of this square pattern(For example,
In the mobile terminal of Android operation system, parameter android can be used:Layout_alignLeft and android:
Layout_alignRight is configured to the beginning and end of first curve of cyclical fluctuations).Thus, first curve of cyclical fluctuations can be made only
Foursquare pattern shows, and user is shown to by transparent circular pattern in square pattern that is to say, that using
Family can be seen that part first curve of cyclical fluctuations in transparent circular pattern.
In one embodiment of the invention, according to default transformational rule, current electric quantity information is converted to first wave
Starting point coordinate information in the region that predetermined pattern is covered for the moving curve and terminal point coordinate information, and according to starting point coordinate information
Generate first curve of cyclical fluctuations with terminal point coordinate information.Specifically, as shown in Fig. 2 first, first curve of cyclical fluctuations can be generated, first
Curve in the curve of cyclical fluctuations can be Bezier, can be also sine curve or cosine curve, be alternatively other and have fluctuation spy
The curve of property.For example, first, can the region that covered of the predetermined pattern in mobile terminal screen taking Bezier as a example
Setting coordinate system, is respectively provided with the x-axis of horizontal direction and the y-axis of vertical direction, and the lower left corner of square pattern is set to sit
Mark system initial point.Then, mobile terminal can arrange the coordinate figure of starting point X of curve, and arranges length of a curve, wherein, this length
Unit can be pixel, for example, 30 pixels.Mobile terminal arranges the coordinate figure of the control point M of curve, and by control point M and rises
Point X connects, and obtains the curve tangent with the line of control point M and starting point X.Then mobile terminal can obtain and set with starting point distance
The coordinate figure of the terminal Y of the length put, and the coordinate figure of control point N is set, by the line of control point N and terminal Y obtain with
The tangent curve of this line.Then the coordinate figure of terminal Y can be set to the coordinate figure of starting point X by mobile terminal, through repeatedly weighing
Multiple above-mentioned steps, you can obtain complete curve.
Then, curve translational speed in the horizontal direction can be set, i.e. translational speed in x-axis.Wherein, this movement
Speed can be acquiescence in mobile terminal system, or user can arrange this movement speed in the terminal according to the demand of itself
Degree.It should be understood that the unit of curve translational speed in the horizontal direction can be pixel, for example, 1 pixel.Then curve can be set
Refresh time, the mobile terminal coordinate figure of starting point X to curve, coordinate figure of terminal Y according to refresh time and translational speed
Refreshed with the coordinate figure of control point M and N.For example, every a refresh time, can be by the coordinate figure of starting point X, terminal Y
Coordinate figure in horizontal direction in the coordinate figure of coordinate figure and control point M and N, that is, the coordinate figure in x-axis cut translational speed, and
The coordinate figure formation curve of coordinate figure, the coordinate figure of terminal Y and control point M and N according to starting point X after changing.That is,
Mobile terminal can pass through repeat the above steps, so that the waveform of curve is constantly moved to the left.Thus, it is possible to it is bent to generate the first fluctuation
Line.
Additionally, the seat of starting point X in order to avoid being constantly moved to the left the curve leading to due to the waveform of first curve of cyclical fluctuations
The coordinate figure of scale value, the coordinate figure of terminal Y and control point M and N is too small, and that is, first curve of cyclical fluctuations can not be in the screen of mobile terminal
Middle display, whether mobile terminal can exceed the left border of screen by the terminal Y of judgment curves, and that is, terminal Y is in the horizontal direction
On coordinate figure be less than coordinate system in initial point coordinate figure in the horizontal direction.If terminal Y has exceeded the left border of screen,
Then mobile terminal increases the waveform of a complete curve after the waveform of curve.As a result, the first curve of cyclical fluctuations waveform
Coordinate figure in the horizontal direction will not unconfined reduce, and first curve of cyclical fluctuations may be displayed on the screen of mobile terminal all the time
In.
Then, current electric quantity information can be converted to first curve of cyclical fluctuations and exists according to default transformational rule by mobile terminal
Starting point coordinate information in the region that predetermined pattern is covered and terminal point coordinate information.Wherein default transformational rule may include with
Lower two kinds.A kind of mode is that mobile terminal passes through the current electric quantity information of battery and can obtain the starting point of the first different curves of cyclical fluctuations
X and the coordinate figure of terminal Y in the vertical direction, i.e. starting point X of first curve of cyclical fluctuations and terminal Y coordinate figure in the y-axis direction.
For example, first can preset the coordinate figure that battery electric quantity is starting point X and terminal Y in the vertical direction when 0 in the terminal is 0, electricity
Pond electricity is the coordinate figure of starting point X and terminal Y in the vertical direction when 100% is 500 pixels.That is, battery electric quantity is 0
When starting point X of first curve of cyclical fluctuations and terminal Y nethermost position in predetermined pattern, battery electric quantity is first to fluctuate when 100%
Starting point X of curve and terminal Y uppermost position in cell pattern, battery electric quantity often increases by 1%, can be by first curve of cyclical fluctuations
Starting point X and terminal Y in the vertical direction coordinate figure increase by 5 pixels.Another way is that mobile terminal passes through current electricity
The corresponding area covering in the region that predetermined pattern is covered of amount acquisition of information, calculates the first fluctuation according to area coverage bent
The starting point coordinate value of line and end coordinate values, then the starting point coordinate value according to first curve of cyclical fluctuations and end coordinate values generate the
One curve of cyclical fluctuations.For example, if mobile terminal current electric quantity is 30%, mobile terminal judges that the starting point of first curve of cyclical fluctuations is sat
Scale value X and end coordinate values Y should be in the position in the region 30% that can cover in predetermined pattern, and mobile terminal can be according to this ratio
Relation calculates starting point coordinate value X and the end coordinate values Y of first curve of cyclical fluctuations.It should be understood that in above two mode starting point X and
Terminal Y coordinate figure in the horizontal direction all remains constant, and above two mode is merely illustrative of the present invention in fact
Apply the method in example, be not intended as limitation of the present invention.
In one embodiment of the invention, obtain the gravity sensing information of mobile terminal, and according to gravity sensing information
Starting point coordinate information in the region that predetermined pattern is covered for first curve of cyclical fluctuations and terminal point coordinate information are adjusted, with
And first curve of cyclical fluctuations is generated according to the starting point coordinate information after adjustment and terminal point coordinate information.Specifically, mobile terminal can lead to
Cross the built-in gravity sensor of mobile terminal perceive mobile terminal mobile when gravity sensing information, wherein, gravity sensing is believed
Cease the locus for mobile terminal and mobile status information, such as translational speed, acceleration etc..And mobile terminal can basis
The gravity sensing information of mobile terminal adjusts the seat of beginning and end in the region being covered with pattern for first curve of cyclical fluctuations
Scale value.For example, if mobile terminal judges that mobile terminal is tilted by user, for example, turn clockwise 30 degree, then mobile terminal root
Calculate starting point X of first curve of cyclical fluctuations and the seat of terminal Y in the vertical direction after change according to the status information of induction apparatuss perception
Scale value it should be appreciated that now the coordinate figure of starting point X in the vertical direction be less than coordinate figure before, terminal Y in the vertical direction
Coordinate figure is more than coordinate figure before.Thus, it is possible to ensureing the acceleration of state and the mobile terminal of first curve of cyclical fluctuations and shaking
Shake state consistency, improve display effect further.
S103 ', generates second curve of cyclical fluctuations according to current electric quantity information in the region that predetermined pattern is covered.Wherein,
The side edge all with predetermined pattern for the beginning and end of second curve of cyclical fluctuations, the ripple of first curve of cyclical fluctuations and second curve of cyclical fluctuations
Move in opposite direction, or first curve of cyclical fluctuations is differed with the vibration frequency of second curve of cyclical fluctuations.
It should be understood that the curve in second curve of cyclical fluctuations can be equally Bezier, can be also sine curve or cosine song
Line, is alternatively the curve that other have wave characteristic.And second curve of cyclical fluctuations and the first curve of cyclical fluctuations generating mode are identical, this
Place is no longer multiple superfluous.
S104 ', obtains first curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations and the second color respectively
Information.
In one embodiment of the invention, first curve of cyclical fluctuations and can be filled in the region that predetermined pattern is covered
Two curves of cyclical fluctuations., current power state display interface can be as shown in figure 3, include the predetermined pattern of battery taking circular pattern as a example
With electric quantity change fluid surge area, wherein, second curve of cyclical fluctuations and circular arc below are fluid liquid region, the first fluctuation
The region surrounding between curve and second curve of cyclical fluctuations is the liquid level of fluid liquid.Fluid liquid region area can represent battery electricity
Amount, when battery is in charged state, the liquid level of fluid liquid can raise with the increase of electricity, when battery is in electric discharge shape
State, the liquid level of fluid liquid can reduce with the minimizing of electricity.Wherein, corresponding first colouring information of first curve of cyclical fluctuations is
The corresponding color in fluid level region of first curve of cyclical fluctuations and the fluid liquid that second curve of cyclical fluctuations is formed;Second curve of cyclical fluctuations
Corresponding second colouring information is the corresponding color in fluid liquid region that second curve of cyclical fluctuations is formed with its underpart circular arc, and
First colouring information is deeper than second colouring information.
S105 ', according to first curve of cyclical fluctuations and second curve of cyclical fluctuations and its difference corresponding first colouring information and second
Colouring information generates multiple color filling patterns.
Specifically, mobile terminal can by corresponding for first curve of cyclical fluctuations the first colouring information be added to first curve of cyclical fluctuations with
The fluid level region of the fluid liquid that second curve of cyclical fluctuations is formed, corresponding for second curve of cyclical fluctuations the second colouring information is added
To fluid liquid region.And make first curve of cyclical fluctuations and second curve of cyclical fluctuations carry out linear or non-thread by adjusting parameter of curve
Property move, thus realizing first curve of cyclical fluctuations and the ripple effect of second curve of cyclical fluctuations, that is, achieve the liquid flow body fluid of electricity
The fluctuation in face and electric quantity change, and the fluctuation speed of fluid level can be controlled by the adjustment frequency of controlling curve parameter.And
When first curve of cyclical fluctuations and second curve of cyclical fluctuations fluctuate, mobile terminal can be in real time in the corresponding color of corresponding area update
Information, thus, by the superposition of first curve of cyclical fluctuations and second curve of cyclical fluctuations and the colour match of zones of different so that liquid
The 3D display effect of fluid becomes apparent from, and color is more gorgeous.
S106 ', according to the current power state display interface of multiple color filling pattern generation batteries.
Specifically, first curve of cyclical fluctuations in each color filling pattern and second curve of cyclical fluctuations can form and have the first face
The color region of color information, when multiple color filling patterns are overlapped, and when doing linearly or nonlinearly motion, can produce this face
The dynamic effect that the waveform in zone domain is continually changing.The color region with the second colouring information is liquid fluid, has first
The color region of colouring information is the fluid page of this liquid fluid, thus, can produce the effect of the fluctuation of the fluid page.
S107 ', judges whether mobile terminal charges.
S108 ', if charged, every default time interval to first curve of cyclical fluctuations and second curve of cyclical fluctuations
Vibration frequency is adjusted, and generates the current power state display interface of battery according to the vibration frequency after adjustment.
For example, if mobile terminal charges, mobile terminal can be by first curve of cyclical fluctuations and second curve of cyclical fluctuations
Vibration frequency adjustment, that is, respectively by the length between adjacent crest and trough in first curve of cyclical fluctuations and second curve of cyclical fluctuations
Reduce, for example, be reduced to original half.Thus, user is facilitated to pass through the display shape of first curve of cyclical fluctuations and second curve of cyclical fluctuations
State understands the current state of mobile terminal, improves the interest of cell interface and practicality in charging process, improves user
Experience.
S109 ', obtains current charging stage when mobile terminal charges, and bent to the first fluctuation according to the current charging stage
The vibration frequency of line and second curve of cyclical fluctuations is adjusted, and generates the current electric quantity shape of battery according to the vibration frequency after adjustment
State display interface.Wherein, the current charging stage includes but is not limited to fast charging stage, boost charge stage, trickle charge stage
One of.Specifically, in charging process, with the increase of electricity, it is bent that mobile terminal can adjust the first fluctuation to mobile terminal
Line and the vibration frequency of second curve of cyclical fluctuations, for example, adjust the shifting in the horizontal direction of first curve of cyclical fluctuations and second curve of cyclical fluctuations
Dynamic speed.For example, during the quick charge stage, first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction is
Hurry up, during the boost charge stage, first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction is slow, trickle
During the charging stage, first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction is the slowest.Thus, it is possible to it is convenient
User passes through first curve of cyclical fluctuations and second curve of cyclical fluctuations translational speed in the horizontal direction and understands that mobile terminal currently charges
Stage, improve the interest of cell interface and practicality in charging process, improve Consumer's Experience further.
S110 ', obtains the charging remaining time of mobile terminal, and according to remaining time of charging to first curve of cyclical fluctuations and the
Corresponding first colouring information of two curves of cyclical fluctuations and the second colouring information are adjusted, and according to the first color letter after adjustment
Breath and the current power state display interface of the second colouring information generation battery.Specifically, mobile terminal can be surplus according to charge
Remaining time, adjustment first curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations and the second colouring information.For example,
First colouring information of one curve of cyclical fluctuations and second curve of cyclical fluctuations and the second colouring information when just starting to charge up displayable relatively
Shallow, with mobile terminal charging process, slowly show darkens, close to fully charged when show deeper.Thus, it is possible to
Facilitate user to pass through the color understanding mobile terminal charged state of first curve of cyclical fluctuations and second curve of cyclical fluctuations, improve and charged
The interest of cell interface and practicality in journey, improve Consumer's Experience further.
Mobile terminal according to embodiments of the present invention, the region that can be covered in predetermined pattern according to the information about power of battery
Interior generation first curve of cyclical fluctuations, and current power state display interface is generated according to first curve of cyclical fluctuations and predetermined pattern, thus
Electricity can be shown with fluid liquid dynamic change, visually present different effects for user, make mobile terminal
Electricity shows more intuitively, and strengthens interest, has provided the user more gorgeous visual experience.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realizing.For example, if realized with hardware, and the same in another embodiment, can use well known in the art under
Any one of row technology or their combination are realizing:There is the logic gates for data signal is realized with logic function
Discrete logic, there is the special IC of suitable combinational logic gate circuit, programmable gate array(PGA), scene
Programmable gate array(FPGA)Deng.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or the spy describing with reference to this embodiment or example
Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any
One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that:Not
Multiple changes, modification, replacement and modification can be carried out to these embodiments in the case of the principle of the disengaging present invention and objective, this
The scope of invention is limited by claim and its equivalent.
Claims (15)
1. a kind of electric quantity display method of mobile terminal is it is characterised in that comprise the following steps:
Obtain the current electric quantity information of the battery of mobile terminal;
According to default transformational rule, described current electric quantity information is converted to first curve of cyclical fluctuations and second curve of cyclical fluctuations pre-
If the starting point coordinate information in the region that pattern is covered and terminal point coordinate information;And
Described first curve of cyclical fluctuations and described second curve of cyclical fluctuations are generated according to described starting point coordinate information and terminal point coordinate information,
Wherein, the side edge all with described predetermined pattern for the beginning and end of described first curve of cyclical fluctuations, described second curve of cyclical fluctuations
The side edge all with described predetermined pattern for the beginning and end, the ripple of described first curve of cyclical fluctuations and described second curve of cyclical fluctuations
Move in opposite direction, or described first curve of cyclical fluctuations is differed with the vibration frequency of described second curve of cyclical fluctuations;
Obtain described first curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations and the second colouring information respectively;
According to described first curve of cyclical fluctuations and second curve of cyclical fluctuations and its corresponding first colouring information of difference and the second color letter
Breath generates multiple color filling patterns;And
According to the plurality of color filling pattern, first curve of cyclical fluctuations, second curve of cyclical fluctuations and described predetermined pattern generate
The current power state display interface of battery.
2. the method for claim 1 is it is characterised in that give birth to according to starting point coordinate information and terminal point coordinate information described
After becoming described first curve of cyclical fluctuations, also include:
Obtain the gravity sensing information of described mobile terminal;And
According to described gravity sensing information to described first curve of cyclical fluctuations starting point in the region that described predetermined pattern is covered
Coordinate information and terminal point coordinate information are adjusted, and are generated according to the starting point coordinate information after adjustment and terminal point coordinate information
Described first curve of cyclical fluctuations.
3. the method as described in any one of claim 1-2 is it is characterised in that described first curve of cyclical fluctuations and second curve of cyclical fluctuations
For Bezier or sine curve or cosine curve.
4. the method for claim 1 is it is characterised in that described predetermined pattern includes:Circular pattern, cylindrical pattern,
Rectangle pattern.
5. the method for claim 1 is it is characterised in that described bent according to multiple color filling patterns, the first fluctuation
After line, second curve of cyclical fluctuations and described predetermined pattern generate the current power state display interface of described battery, also include:
Judge whether described mobile terminal charges;
If charged, every the fluctuation frequency to described first curve of cyclical fluctuations and second curve of cyclical fluctuations for the default time interval
Rate is adjusted, and generates the current power state display interface of described battery according to the described vibration frequency after adjustment.
6. the method for claim 1 is it is characterised in that described bent according to multiple color filling patterns, the first fluctuation
After line, second curve of cyclical fluctuations and described predetermined pattern generate the current power state display interface of described battery, also include:
Obtain current charging stage when described mobile terminal charges, and fluctuated to described first according to the described current charging stage
The described vibration frequency of curve and second curve of cyclical fluctuations is adjusted, and generates described electricity according to the described vibration frequency after adjustment
The current power state display interface in pond.
7. method as claimed in claim 6 it is characterised in that the described current charging stage include quick charge stage, supplement
One of charging stage, trickle charge stage.
8. the method for claim 1 is it is characterised in that described bent according to multiple color filling patterns, the first fluctuation
After line, second curve of cyclical fluctuations and described predetermined pattern generate the current power state display interface of described battery, also include:
Obtain the charging remaining time of described mobile terminal, and according to described remaining time of charging to first curve of cyclical fluctuations and second
Corresponding first colouring information of the curve of cyclical fluctuations and the second colouring information are adjusted, and according to the first colouring information after adjustment
Generate the current power state display interface of described battery with the second colouring information.
9. a kind of electric quantity display device of mobile terminal is it is characterised in that include:
First acquisition module, for obtaining the current electric quantity information of the battery of mobile terminal;
First generation module, for according to default transformational rule, described current electric quantity information being converted to first curve of cyclical fluctuations
Starting point coordinate information in the region that predetermined pattern is covered and terminal point coordinate information;And according to described starting point coordinate information
Generate described first curve of cyclical fluctuations with terminal point coordinate information,
Wherein, the side edge all with described predetermined pattern for the beginning and end of described first curve of cyclical fluctuations;
3rd generation module, for according to default transformational rule, described current electric quantity information being converted to second curve of cyclical fluctuations
Starting point coordinate information in the region that described predetermined pattern is covered and terminal point coordinate information;And according to described starting point coordinate
Information and terminal point coordinate information generate described second curve of cyclical fluctuations, wherein, the beginning and end of described second curve of cyclical fluctuations all with
The side edge of described predetermined pattern, described first curve of cyclical fluctuations is in opposite direction with the fluctuation of described second curve of cyclical fluctuations, or
Described first curve of cyclical fluctuations is differed with the vibration frequency of described second curve of cyclical fluctuations;
Second acquisition module, for obtaining described first curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations respectively
With the second colouring information;
4th generation module, for according to described first curve of cyclical fluctuations and second curve of cyclical fluctuations and its corresponding first color of difference
Information and the second colouring information generate multiple color filling patterns;And
Second generation module, for bent according to the plurality of color filling pattern, described first curve of cyclical fluctuations, described second fluctuation
Line and the current power state display interface of the described predetermined pattern described battery of generation.
10. device as claimed in claim 9 is it is characterised in that described signal generating unit includes:
Obtain subelement, for obtaining the gravity sensing information of described mobile terminal;
Computation subunit, for being covered in described predetermined pattern to described first curve of cyclical fluctuations according to described gravity sensing information
Region in starting point coordinate information and terminal point coordinate information be adjusted;And
Generate subelement, bent for described first fluctuation is generated according to the starting point coordinate information after adjustment and terminal point coordinate information
Line.
11. devices as described in any one of claim 9-10 are it is characterised in that described first curve of cyclical fluctuations and the second fluctuation are bent
Curve in line is Bezier or sine curve or cosine curve.
12. devices as claimed in claim 9 are it is characterised in that also include:
Judge module, for judging whether described mobile terminal charges;
First computing module, for when mobile terminal charges, bent to the described first fluctuation every default time interval
The vibration frequency of line and second curve of cyclical fluctuations is adjusted;And
Described second generation module is additionally operable to generate the current power state of described battery according to the described vibration frequency after adjusting
Display interface.
A kind of 13. mobile terminals are it is characterised in that include:Shell, screen, processor, circuit board and battery;
Described screen disposes on the housing, and described circuit board is placed in the interior volume that described shell surrounds, described process
Device is arranged on described circuit board, and described battery is used for powering for described mobile terminal;
Described processor is used for processing data, and specifically for:
Obtain the current electric quantity information of the battery of mobile terminal;
According to default transformational rule, described current electric quantity information is converted to first curve of cyclical fluctuations and second curve of cyclical fluctuations pre-
If the starting point coordinate information in the region that pattern is covered and terminal point coordinate information;And
Described first curve of cyclical fluctuations and described second curve of cyclical fluctuations are generated according to described starting point coordinate information and terminal point coordinate information,
Wherein, the side edge all with described predetermined pattern for the beginning and end of described first curve of cyclical fluctuations, described second curve of cyclical fluctuations
The side edge all with described predetermined pattern for the beginning and end, the ripple of described first curve of cyclical fluctuations and described second curve of cyclical fluctuations
Move in opposite direction, or described first curve of cyclical fluctuations is differed with the vibration frequency of described second curve of cyclical fluctuations;
Obtain described first curve of cyclical fluctuations and corresponding first colouring information of second curve of cyclical fluctuations and the second colouring information respectively;
According to described first curve of cyclical fluctuations and second curve of cyclical fluctuations and its corresponding first colouring information of difference and the second color letter
Breath generates multiple color filling patterns;And
According to the plurality of color filling pattern, first curve of cyclical fluctuations, second curve of cyclical fluctuations and described predetermined pattern generate
The current power state display interface of battery.
14. mobile terminals as claimed in claim 13 are it is characterised in that described according to starting point coordinate information and terminal point coordinate
After information generates described first curve of cyclical fluctuations, described processor is additionally operable to:
Obtain the gravity sensing information of described mobile terminal;And
According to described gravity sensing information to described first curve of cyclical fluctuations starting point in the region that described predetermined pattern is covered
Coordinate information and terminal point coordinate information are adjusted, and are generated according to the starting point coordinate information after adjustment and terminal point coordinate information
Described first curve of cyclical fluctuations.
15. mobile terminals as described in any one of claim 13-14 are it is characterised in that described first curve of cyclical fluctuations and second
Curve in the curve of cyclical fluctuations is Bezier or sine curve or cosine curve.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310389212.9A CN103440192B (en) | 2013-08-30 | 2013-08-30 | Electric quantity display method and device of mobile terminal and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310389212.9A CN103440192B (en) | 2013-08-30 | 2013-08-30 | Electric quantity display method and device of mobile terminal and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103440192A CN103440192A (en) | 2013-12-11 |
CN103440192B true CN103440192B (en) | 2017-03-01 |
Family
ID=49693883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310389212.9A Active CN103440192B (en) | 2013-08-30 | 2013-08-30 | Electric quantity display method and device of mobile terminal and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103440192B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104239191A (en) * | 2014-09-09 | 2014-12-24 | 可牛网络技术(北京)有限公司 | Method and device for displaying electric quantity of mobile terminal and mobile terminal |
EP3210647B1 (en) * | 2014-10-15 | 2020-02-19 | Color Seven.Co., Ltd | Pams technology-based skin adhesive-type low level light irradiator system using mobile communication device |
CN106406827B (en) * | 2015-07-27 | 2020-01-24 | 阿里巴巴集团控股有限公司 | Method and equipment for data resource transfer |
CN106952322A (en) * | 2017-03-17 | 2017-07-14 | 福建中金在线信息科技有限公司 | A kind of water ripples rendering intent and device for percentage figures |
CN109818387B (en) * | 2017-11-20 | 2021-11-30 | 北京小米移动软件有限公司 | Charging state prompting method and device |
CN110109805A (en) * | 2019-04-23 | 2019-08-09 | 华勤通讯技术有限公司 | A kind of message informing method and device |
CN112751973A (en) * | 2019-10-31 | 2021-05-04 | 北京小米移动软件有限公司 | Method and device for displaying charging information and intelligent equipment |
CN112069686B (en) * | 2020-09-09 | 2022-07-08 | 黑龙江科技大学 | I-V characteristic fitting method for thin film battery output |
CN113986055A (en) * | 2021-09-24 | 2022-01-28 | 北京卡路里信息技术有限公司 | Dynamic data display method, electronic equipment and APP equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2410253A2 (en) * | 2010-07-21 | 2012-01-25 | Kabushiki Kaisha Toshiba | Energy consumption management system and energy consumption management apparatus |
CN102375127A (en) * | 2011-11-11 | 2012-03-14 | 深圳市中兴移动通信有限公司 | Method for displaying residual battery electricity quantity of mobile terminal |
CN102572076A (en) * | 2010-12-23 | 2012-07-11 | 汉王科技股份有限公司 | Method and device for displaying charging state |
-
2013
- 2013-08-30 CN CN201310389212.9A patent/CN103440192B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2410253A2 (en) * | 2010-07-21 | 2012-01-25 | Kabushiki Kaisha Toshiba | Energy consumption management system and energy consumption management apparatus |
CN102572076A (en) * | 2010-12-23 | 2012-07-11 | 汉王科技股份有限公司 | Method and device for displaying charging state |
CN102375127A (en) * | 2011-11-11 | 2012-03-14 | 深圳市中兴移动通信有限公司 | Method for displaying residual battery electricity quantity of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103440192A (en) | 2013-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103440192B (en) | Electric quantity display method and device of mobile terminal and mobile terminal | |
CN103414833B (en) | Mobile terminal and electric quantity display method and device thereof | |
US8693291B2 (en) | Clock with a clock face for indicating time having nearly full-screen display function | |
EP3971819A1 (en) | Shaping processing method, apparatus and device for virtual object, and storage medium | |
CN103675690B (en) | A kind of method and terminal of display terminal charged state | |
EP3190469A1 (en) | Information display device, information display method for same, program, and communication system | |
CN102572076B (en) | Method and device for displaying charging state | |
CN106971685B (en) | Display control method and system and terminal | |
CN104252299A (en) | Mobile terminal for controlling wallpaper to change color | |
CN103823625B (en) | Control method, device and the mobile terminal of mobile terminal median surface picture | |
JP5891647B2 (en) | Body movement measuring device | |
CN106951083A (en) | VR methods of exhibiting and system based on BIM | |
RU2015152810A (en) | PATIENT INTERFACE DEVICE SELECTION SYSTEM AND METHOD BASED ON THREE-DIMENSIONAL SIMULATION | |
CN102982769A (en) | Method for adaptive control of screen designated area brightness | |
CN105892971A (en) | Image display method and electronic equipment | |
KR20160124888A (en) | Backlight brightness regulation method and electronic device | |
CN104703048A (en) | Method and device for adjusting screen brightness | |
CN106780659A (en) | A kind of two-dimension situation map generalization method and electronic equipment | |
CN109448067A (en) | A kind of drawing method and device based on helical structure | |
CN107820657A (en) | Charged state indicating means, charged state instruction system and terminal device | |
CN113230651A (en) | Game scene display method and device, electronic equipment and storage medium | |
CN102342692A (en) | Shaking control method and crib shaking controller | |
CN107872636A (en) | A kind of method of adjustment of display device and its display parameters | |
TWI269252B (en) | Display apparatuses and color temperature adjustment methods thereof | |
CN104239191A (en) | Method and device for displaying electric quantity of mobile terminal and mobile terminal |
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 |