CN105912235A - Desktop processing method and terminal - Google Patents
Desktop processing method and terminal Download PDFInfo
- Publication number
- CN105912235A CN105912235A CN201610211425.6A CN201610211425A CN105912235A CN 105912235 A CN105912235 A CN 105912235A CN 201610211425 A CN201610211425 A CN 201610211425A CN 105912235 A CN105912235 A CN 105912235A
- Authority
- CN
- China
- Prior art keywords
- ball
- icon
- converted
- rolling
- surging
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides a desktop processing method. The method includes: receiving a game mode entering command; responding to the game mode entering command, converting icons in a current display page into at least one ball, and displaying the at least one ball at a preset position; acquiring a touch control parameter of a user for a first ball, wherein the first ball is any one of the at least one ball; and rolling the first ball according to the touch control parameter. The embodiment of the invention also provides a terminal. The desktop processing method and terminal can convert the icons into balls when the desktop enters a game mode, the user can roll the balls in the game mode, and then the utilization of the desktop can be improved, and interest can be achieved.
Description
Technical field
The present invention relates to technical field of electronic equipment, be specifically related to method and terminal that a kind of desktop processes.
Background technology
Along with the fast development of information technology, the integrated function of terminal (such as mobile phone, panel computer etc.) is more
Come the most.In actual applications, user can install various application in the terminal, and at the desktop of terminal with soon
Prompt mode icon shows above-mentioned various application, it is generally the case that the icon of desktop can only drag by user,
Delete or open certain concrete application, thus, reduce the utilization ratio of desktop icons.
Summary of the invention
Embodiments provide method and terminal that a kind of desktop processes, the utilization of desktop icons can be improved
Efficiency.
Embodiment of the present invention first aspect provides a kind of method that desktop processes, including:
Receive game mode entry instruction;
Respond described game mode entry instruction and the icon in current display page be converted at least one ball,
And show at least one match play at predeterminated position;
Obtaining user's touch parameter for the first ball, wherein, described first ball is at least one ball described
Arbitrary ball;
Described first ball is rolled according to described touch parameter.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Receive unit, be used for receiving game mode entry instruction;
Conversion unit, the described game mode entry instruction received for responding described reception unit will currently show
Show that the icon in the page is converted at least one ball, and show at least one match play at predeterminated position;
Acquiring unit, for obtaining user's touch parameter for the first ball, wherein, described first ball is institute
State the arbitrary ball at least one ball;
First control unit, rolls described first for the described touch parameter obtained according to described acquiring unit
Ball.
Implement the embodiment of the present invention, have the advantages that
By the embodiment of the present invention, receiving game mode entry instruction, responding this game mode entry instruction will
Icon in current display page is converted at least one ball, and shows at least one match play at predeterminated position,
Obtaining user for the touch parameter of the first ball, wherein, this first ball is arbitrary at least one ball above-mentioned
Ball, rolls the first ball according to this touch parameter.Thus, when desktop proceeds to game mode, icon can be turned
Turn to ball, user can under this game mode roller ball, this improves the utilization ratio of desktop, and,
There is interest.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below
The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is the one of the present invention
A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, also
Other accompanying drawing can be obtained according to these accompanying drawings.
Fig. 1 is the first embodiment schematic flow sheet of the method that a kind of desktop that the embodiment of the present invention provides processes;
Fig. 1 a is the schematic diagram that the desktop icons that the embodiment of the present invention provides are converted into ball;
Fig. 2 is the second embodiment schematic flow sheet of the method that a kind of desktop that the embodiment of the present invention provides processes;
Fig. 3 is the 3rd embodiment schematic flow sheet of the method that a kind of desktop that the embodiment of the present invention provides processes;
Fig. 3 a is the schematic diagram that the desktop icons that the embodiment of the present invention provides are converted into ball;
Fig. 3 b is the another schematic diagram that the desktop icons that the embodiment of the present invention provides are converted into ball;
Fig. 4 is the 4th embodiment schematic flow sheet of the method that a kind of desktop that the embodiment of the present invention provides processes;
Fig. 5 a is the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 b is the another structural representation of first embodiment of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Detailed description of the invention
Embodiments provide method and terminal that a kind of desktop processes, the utilization of desktop icons can be improved
Efficiency.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor
The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
Terminal described by the embodiment of the present invention can include smart mobile phone (as Android phone, iOS mobile phone,
Windows Phone mobile phone etc.), panel computer, palm PC, notebook computer, mobile internet device
(MID, Mobile Internet Devices) or Wearable etc., above-mentioned terminal is only citing, rather than thoroughly
Lift, including but not limited to above-mentioned terminal.
Refer to Fig. 1, the first embodiment flow process of method that a kind of desktop provided for the embodiment of the present invention processes
Schematic diagram.The method that desktop described in the present embodiment processes, comprises the following steps:
101, game mode entry instruction is received.
In the embodiment of the present invention, terminal can detect user's touch control operation to touch screen, according to this touch control operation
Generate game mode entry instruction.When touch parameter mates with preset touch parameter, generate game mode and enter
Enter instruction.Further, can be also that user presses Home key generation game mode entry instruction for a long time,
Or, press certain icon on desktop with the head of a household, generate game mode entry instruction.
Alternatively, touch parameter can be certain region for desktop icons pressing touch screen, such as, user
With certain region in a finger pressing touch screen, then terminal can detect that this finger touches on touch screen
The area pressed touched can be as touch parameter.
Alternatively, touch parameter can be by being constituted by the sliding trace carrying out touch control operation generation in touch screen
Closed trajectory.Such as, user carries out touch control operation on the touchscreen for desktop, can form a slip
Closed trajectory, can be using this closed trajectory as touch parameter.
Alternatively, touch parameter can be also to press the area pressed of touch screen and by carrying out touch control operation generation
The closed trajectory that sliding trace is constituted.Such as, user presses certain region in touch screen with a finger,
Then terminal can detect that the area pressed touched that this finger touches on touch screen can as touch parameter,
Then, user carries out touch control operation on the touchscreen for desktop icons, can form a Guan Bi rail slided
Mark, can be using this closed trajectory as touch parameter.Finally, can by area pressed and closed trajectory together as
Touch parameter.
Alternatively, in the present embodiment, touch parameter can be also touch screen, and wherein, touch point can be terminal detection
To user press the finger number of touch screen, such as, if 3 fingers, then can detect that 3 touch points,
When 3 touch points are not arranged on the same straight line be, then, these 3 touch points can be linked to be a triangle, can
Using this triangle as touch parameter.In like manner, by N number of touch point, N is the integer more than or equal to 3,
And at least 3 touch points are not on same straight line in this N number of touch point, then, can be N number of tactile by this
Touching and be a little attached successively, the enclosed region obtained after connection can be as touch parameter.
Still optionally further, terminal can obtain user and carry out two touch points of touch control operation generation, and obtains
The coordinate of these two touch points, the abscissa at the coordinate of these two touch points is not mutually equal, and vertical coordinate is the most mutual
Unequal, can be according to the Coordinate generation target area of these two touch points.Such as, the seat of first touch point
Being designated as (x1, y1), the coordinate of second touch point is (x2, y2), and, x1 is not equal to x2, y1
In y2, then can be generated a Guan Bi interval by (x1, y1) and (x2, y2), i.e. by x=x1, y=y1,
X=x2, y=y2, the enclosed region that this four lines are constituted.This enclosed region can be as touch parameter.
In a word, touch parameter is to press the area pressed of touch screen, by carrying out touch control operation in desktop icons
Generate sliding trace constituted closed trajectory, pressing touch screen produce touch point in one or its group
Close.
102, respond described game mode entry instruction and the icon in current display page is converted at least one
Ball, and show at least one match play at predeterminated position.
In the embodiment of the present invention, terminal, after response game mode entry instruction, can will show in the page face to face
Icon be converted at least one ball, and show at least one match play at the predeterminated position of this desktop, wherein,
Ball can be put in desktop optional position in addition to match play, it is preferable that by spherical pendulum in the position at original icon place
Put.Wherein, predeterminated position can be any position on desktop, it is preferable that wherein, the size of this match play is big
Size in ball.
Alternatively, when responding game mode entry instruction, the icon number on desktop can be judged,
If this icon number is less than or equal to N, then prompting this desktop icons number of user is less, it is impossible to enter game
Pattern, user can be switched to another desktop, and whether the desktop icons number again detecting this desktop is more than
M, the most then enter game mode, and the icon on desktop be converted into ball, has how many icons just to convert
For how many balls, i.e. corresponding ball of each icon, if desktop icons number is less than M, then, can be by
Icon is converted into the ball equal with this icon sizes, if desktop icons number is more than or equal to M, then, can
Icon is converted into the ball less than icon sizes.Wherein, M is the integer more than or equal to 0, and N is for being more than
The integer of M.
Alternatively, when desktop icons are multiple, can be converted into multiple ball, the color of all balls can be identical,
Or, the color of all balls differs, or, in the middle part of all balls, the color of bulb separation is identical.
Such as, as shown in Figure 1a, in Fig. 1 a, left figure is desktop icons, and right figure is the ball after desktop icons convert.
Still optionally further, terminal can be to the title of labelling desktop icons on corresponding ball, such as, wechat figure
Mark is converted into ball, then labelling " wechat " on this ball.
103, obtain user for the touch parameter of the first ball, wherein, described first ball be described at least one
Arbitrary ball in ball.
In the embodiment of the present invention, terminal can obtain the touch parameter for the first ball, wherein, this touch parameter
Can be press this first ball by surging, compressing time, pressing area, compression number, glide direction,
At least one in sliding trace.
Alternatively, touch parameter be for the first ball by surging and glide direction, then can be according to pressing
Dynamics controls the rolling speed of this first ball, controls the rotating direction of this first ball according to glide direction.
Alternatively, be the compressing time for the first ball and glide direction at touch parameter, then can be according to pressing
Time controls the rolling speed of this first ball, controls the rotating direction of this first ball according to glide direction.
Alternatively, be the pressing area for the first ball and glide direction at touch parameter, then can be according to pressing
The rolling speed of this first ball of area control, controls the rotating direction of this first ball according to glide direction.
Alternatively, the compression number in touch parameter is the Preset Time for the first ball and glide direction,
Then can control the rolling speed of this first ball according to compression number, control the rolling of this first ball according to glide direction
Dynamic direction, wherein, in Preset Time, the time difference between adjacent twice pressing is less than certain threshold value.
Alternatively, it is the sliding trace for the first ball at touch parameter, then can control according to this sliding trace
This first ball rolls.
Alternatively, touch parameter be for the first ball by surging, glide direction and compressing time, then
The rolling of this first ball can be controlled according to glide direction according to controlling the rolling speed of this first ball by surging
Direction, is determined the rolling distance of this first ball by compressing time, wherein, terminal can setting unit distance, if
Unit distance is 1, and rolling speed is 5, and compressing time is directly proportional to rolling distance, i.e. compressing time more comes,
Rolling distance more to come, when compressing time exceedes certain threshold value, terminal also can arrange the maximum distance that rolls, i.e.
Arrive when this maximum rolls distance at the first ball and stop rolling.
Alternatively, it is the compressing time for the first ball, glide direction and by surging at touch parameter, then
The rolling speed of this first ball can be controlled according to compressing time, control the rolling of this first ball according to glide direction
Direction, by determining the rolling distance of this first ball by surging, wherein, terminal can setting unit distance, if
Unit distance is 1, and rolling speed is 5, is directly proportional to rolling distance by surging, i.e. presses surging and more come,
Rolling distance more to come, when exceeding certain threshold value by surging, terminal also can arrange the maximum distance that rolls, i.e.
Arrive when this maximum rolls distance at the first ball and stop rolling.
Alternatively, it is the pressing area for the first ball, glide direction and by surging at touch parameter, then
The rolling of this first ball can be controlled according to glide direction according to the rolling speed of pressing this first ball of area control
Direction, by determining the rolling distance of this first ball by surging, wherein, terminal can setting unit distance, if
Unit distance is 1, and rolling speed is 5, is directly proportional to rolling distance by surging, i.e. presses surging and more come,
Rolling distance more to come, when exceeding certain threshold value by surging, terminal also can arrange the maximum distance that rolls, i.e.
Arrive when this maximum rolls distance at the first ball and stop rolling.
104, described first ball is rolled according to described touch parameter.
In the embodiment of the present invention, terminal can control the rolling speed of the first ball, rotating direction according to touch parameter
With rolling distance.Wherein, this rolling speed can be initial velocity when rolling of the first ball, or, this is the years old
One ball does not collides speed when other balls in rolling process.Rotating direction can be that the first ball is when rolling
The inceptive direction waited, or, this first ball does not collides rotating direction during other balls in rolling process.
Rolling distance can be this first ball rolling distance when not colliding other balls.
Further, when the first ball enters match play, score can be carried out, or, collide it at the first ball
During his ball, other balls enter match play can carry out score.
By the embodiment of the present invention, receiving game mode entry instruction, responding this game mode entry instruction will
Icon in current display page is converted at least one ball, and shows at least one match play at predeterminated position,
Obtaining user for the touch parameter of the first ball, wherein, this first ball is arbitrary at least one ball above-mentioned
Ball, rolls the first ball according to this touch parameter.Thus, game mode can be proceeded at desktop, icon is converted
For ball, user can under this game mode roller ball, this improves the utilization ratio of desktop, and,
There is interest.
Refer to Fig. 2, the second embodiment flow process of method that a kind of desktop provided for the embodiment of the present invention processes
Schematic diagram.The method that desktop described in the present embodiment processes, comprises the following steps:
201, game mode entry instruction is received.
202, when the number of the icon in current display page is more than M and is less than N, by described current aobvious
Show that the icon in the page is converted at least one ball, wherein, the size of the arbitrary ball at least one ball described
As the size of described icon, described N is positive integer, and described M is more than or equal to 0 and less than described
The integer of N, and show at least one match play at predeterminated position.
In the embodiment of the present invention, terminal, after response game mode entry instruction, detects current display page
Whether number reaches to meet preset requirement, when meeting this preset requirement, and the icon that will show in current desktop
It is converted at least one ball, and shows at least one match play at the predeterminated position of this desktop.Wherein, position is preset
Putting can be any position on desktop, it is preferable that wherein, and the size of this match play is more than the size of ball.Optional
Ground, when responding game mode entry instruction, can judge the icon number on desktop, if this icon
Number is less than or equal to N, then prompting this desktop icons number of user is less, it is impossible to enter game mode, uses
Family can be switched to another desktop, and whether the desktop icons number again detecting this desktop is more than M, if so,
Then enter game mode, and the icon on desktop is converted into ball, have a how many icon to translate into how many
The corresponding ball of ball, i.e. each icon, if desktop icons number is less than M, then, icon can be converted
For the ball equal with this icon sizes, if desktop icons number is more than or equal to M, then, icon can be turned
Turn to the ball less than icon sizes.Wherein, M is the integer more than or equal to 0, and N is the integer more than M.
Still optionally further, terminal can be to the title of labelling desktop icons on corresponding ball, such as, wechat figure
Mark is converted into ball, then labelling " wechat " on this ball.
203, obtain user for the touch parameter of the first ball, wherein, described first ball be described at least one
Arbitrary ball in ball.
204, described first ball is rolled according to described touch parameter.
In the embodiment of the present invention, when the number of the icon in current display page is more than or equal to above-mentioned N,
Icon in current display page is converted into ball, and wherein, the size of ball, less than the size of icon, converts it
After, terminal can perform step 203 and step 204.
Further, when the first ball enters match play, score can be carried out, or, collide it at the first ball
During his ball, other balls enter match play can carry out score.
By the embodiment of the present invention, receiving game mode entry instruction, responding this game mode entry instruction will
Icon in current display page is converted at least one ball, and shows at least one match play at predeterminated position,
Obtaining user for the touch parameter of the first ball, wherein, this first ball is arbitrary at least one ball above-mentioned
Ball, rolls the first ball according to this touch parameter.Thus, game mode can be proceeded at desktop, icon is converted
For ball, user can under this game mode roller ball, this improves the utilization ratio of desktop, and,
There is interest.
Refer to Fig. 3, the 3rd embodiment flow process of method that a kind of desktop provided for the embodiment of the present invention processes
Schematic diagram.The method that desktop described in the present embodiment processes, comprises the following steps:
301, game mode entry instruction is received.
302, at least one icon in described current display page is converted into first kind ball, and by described extremely
Other icons beyond a few icon are converted into Equations of The Second Kind ball, and show at least one match play at predeterminated position.
In the embodiment of the present invention, the icon in current display page can be converted into first kind ball and second by terminal
Class ball, wherein, definable first kind ball is operable ball, i.e. user, first kind ball is carried out touch control operation
Time, touch parameter can be generated, and control first kind ball rolls under this touch parameter, Equations of The Second Kind ball is
Inoperable ball, i.e. when user carries out touch control operation for Equations of The Second Kind ball, does not the most gather touch parameter.Its
In, the big I of first kind ball is the same, and the big I of Equations of The Second Kind ball is the same, it is preferable that first kind ball big
Little as the size of Equations of The Second Kind ball.Alternatively, desktop icons number less than certain threshold value time, then without
Desktop icons are converted into ball by method, when the number of desktop icons is more than or equal to certain threshold value, then by desktop
Icon be converted into ball.
Still optionally further, terminal can be to the title of labelling desktop icons on corresponding ball, such as, wechat figure
Mark is converted into ball, then labelling " wechat " on this ball.
Such as, some icon of desktop can be converted into first kind ball by terminal, and remaining icon is converted into
Two class balls.As shown in Figure 3 a, in the case of this kind, in figure, black ball represents first kind ball, and the ball of white represents the
Two class balls.User can carry out touch control operation to black ball, thus, generate touch parameter, according to this touch parameter
Black ball can be controlled roll.
303, obtaining user's touch parameter for the first ball, wherein, described first ball is described first kind ball
In arbitrary ball.
304, described touch parameter be pressing described first ball generate by surging and described first ball that slides
Glide direction time, according to the described rolling controlling described first ball by surging and described glide direction respectively
Speed and rotating direction, wherein, described be directly proportional by the rolling speed of the size of surging to described first ball,
Described glide direction is consistent with described rotating direction.
In the embodiment of the present invention, it is first kind ball and touch parameter is to press this first ball to generate at the first ball
By surging and slide this first ball glide direction time, then, this first ball can be determined according to by surging
Rolling speed, wherein, the biggest by surging, rolling speed is the biggest, or, by surging in A1 scope,
Then rolling speed is v1, and by surging in A1~A2 scope, then rolling speed is v2, by surging at A2~A3
Scope, rolling speed is v3, and by surging in A3~A4 scope, rolling speed is v4, wherein,
A1 < A2 < A3 < A4 etc..Glide direction is then consistent with rotating direction.Terminal also can arrange maximum rolling distance,
I.e. arrive when this maximum rolls distance at the first ball and stop rolling.
Distinguishingly, some icon of desktop can be converted into first kind ball by terminal, and remaining icon is converted into
Equations of The Second Kind ball.In the case of this kind, it is somewhat similarly to billiards, as shown in Figure 3 b, in the direction of this first kind ball
May occur in which the icon of club.In implementing, the direction of club is that user presses certain position, this position with
The direction asking the direction between the center of i to be club, the touch parameter of the first ball is to press certain position to generate
By surging, the rolling speed controlling the first ball by surging according to this, wherein, the size of surging should be pressed
Being directly proportional to the rolling speed of the first ball, this rotating direction is consistent with the direction of club, and wherein, the first ball is
Black ball in figure.
By the embodiment of the present invention, receiving game mode entry instruction, responding this game mode entry instruction will
Icon in current display page is converted at least one ball, and shows at least one match play at predeterminated position,
Obtaining user for the touch parameter of the first ball, wherein, this first ball is arbitrary at least one ball above-mentioned
Ball, rolls the first ball according to this touch parameter, and the first ball hits other balls, and these other balls enter certain
One match play, then can add up score.Thus, game mode can be proceeded at desktop, icon is converted into ball,
User can under this game mode roller ball, this improves the utilization ratio of desktop, and, there is interest
Taste.
Refer to Fig. 4, the 4th embodiment flow process of method that a kind of desktop provided for the embodiment of the present invention processes
Schematic diagram.The method that desktop described in the present embodiment processes, comprises the following steps:
401, game mode entry instruction is received.
402, at least one icon in described current display page is converted into first kind ball, and by described extremely
Other icons beyond a few icon are converted into Equations of The Second Kind ball, and show at least one match play at predeterminated position.
403, obtaining user's touch parameter for the first ball, wherein, described first ball is described first kind ball
In arbitrary ball.
404, described touch parameter be pressing described first ball generate by surging and described first ball that slides
Glide direction time, according to the described rolling controlling described first ball by surging and described glide direction respectively
Speed and rotating direction, wherein, described be directly proportional by the rolling speed of the size of surging to described first ball,
Described glide direction is consistent with described rotating direction.
Wherein, the step 301-step as depicted in fig. 3 of the step 401-step 404 described in Fig. 4
304。
If 405 detect that described first ball hits the second ball in rolling process, then stop described first ball,
And control described second ball rolling.
In the embodiment of the present invention, in the first ball carries out rolling process, the first ball may collide certain ball,
So, the first ball can be stopped, and control the second ball rolling.
Alternatively, if detecting, described first ball hits the second ball in rolling process, then can keep according to energy
Constant reason controls the rolling of the second ball, it is assumed that the ball collided is the second ball, and this second ball is in Equations of The Second Kind ball
One, then can control the rolling of the second ball according to principle of conservation of energy.Specific as follows:
Assuming in the case of completely inelastic collision, the quality of all balls is equal, and is 1, then,
m1v1=(m1+m2) v2
Wherein, m1It is the quality of the first ball, v1Being the rolling speed of the first ball, m2 represents the speed of the second ball,
V2 is then the first ball and the movement velocity of the second ball.
If 406 described second balls enter the arbitrary match play at least one match play described in rolling process, then
Calculate score.
In the embodiment of the present invention, at the second ball in rolling process, if this second ball enters certain match play, eventually
End then can calculate score.Alternatively, in the case of having multiple match play, then the second ball can be set and enter difference
Match play can get different marks.Such as, three match plays, respectively A, B, C, wherein, enter A
Obtain 1 point, enter B and obtain 2 points, enter C and obtain 3 points, then, when the second ball enters match play 3, can count
Calculate to obtain 3 points.Further, if multiple ball enters match play, then cumulative score.There iing a first kind ball,
And in the case of this first kind ball is the first ball, if the first ball enters match play, the most again the first ball is put again
A certain position at desktop.If other all balls in addition to the first ball all enter all enters match play, then carry
Show user's game over.
By the embodiment of the present invention, receiving game mode entry instruction, responding this game mode entry instruction will
Icon in current display page is converted at least one ball, and shows at least one match play at predeterminated position,
Obtaining user for the touch parameter of the first ball, wherein, this first ball is arbitrary at least one ball above-mentioned
Ball, rolls the first ball according to this touch parameter, and if hitting the second ball, then in this first ball rolling process
First ball stops rolling, and the second ball continues to roll, if the second ball enters arbitrary match play, then adds up score.
Thus, game mode can be proceeded at desktop, icon is converted into ball, user can roll under this game mode
Ball, this improves the utilization ratio of desktop, and, there is interest.
Refer to Fig. 5 a, for the first embodiment structural representation of a kind of terminal that the embodiment of the present invention provides.
Terminal described in the present embodiment, including:
Receive unit 501, be used for receiving game mode entry instruction;
Conversion unit 502, the described game mode entry instruction received for responding described reception unit 501 will
Icon in current display page is converted at least one ball, and shows at least one match play at predeterminated position;
Acquiring unit 503, for obtaining user's touch parameter for the first ball, wherein, described first ball is
Arbitrary ball at least one ball described;
First control unit 504, rolls institute for the described touch parameter obtained according to described acquiring unit 503
State the first ball.
Alternatively, described conversion unit 502 specifically for:
When the number of the icon in current display page is more than M and less than N, by described current display page
In icon be converted into ball, wherein, the size of the arbitrary ball at least one ball described is big with described icon
As little, described N is positive integer, and described M is the integer more than or equal to 0 and less than described N;
When the number of the icon in described current display page is more than or equal to described N, by described current aobvious
Showing that the icon in the page is converted at least one ball, wherein, at least one ball described, arbitrary ball is the slightest
Size in described icon.
Alternatively, described conversion unit 502 also particularly useful for:
At least one icon in described current display page is converted into first kind ball, and by described at least one
Other icons beyond individual icon are converted into Equations of The Second Kind ball.
Alternatively, it is that described first kind ball and described touch parameter are for pressing described arbitrary ball at described first ball
Generate by surging and slide described arbitrary ball glide direction time, described first control unit 504 is concrete
For:
According to described sliding speed and the rolling controlling described first ball by surging and described glide direction respectively
Direction, wherein, described is directly proportional by the sliding speed of the size of surging to described first ball, described slip
Direction is consistent with described rotating direction.
As a kind of possible embodiment, as shown in Figure 5 b, the terminal described in Fig. 5 a may also include that
Second control unit 505, for described first control unit according to described by surging with described slip side
After the sliding speed controlling described first ball respectively and rotating direction, if detecting, described first ball is in rolling
Hit the second ball during Dong, then control described second ball and roll;
Scoring unit 506, if enter at least one match play described for described second ball in rolling process
Arbitrary match play, then calculate score.
By the terminal described by the embodiment of the present invention, receive game mode entry instruction, respond this game mould
Icon in current display page is converted at least one ball by formula entry instruction, and shows extremely at predeterminated position
A few match play, obtains user's touch parameter for the first ball, and wherein, this first ball is above-mentioned at least one
Arbitrary ball in individual ball, rolls the first ball according to this touch parameter.Thus, game mode can be proceeded at desktop,
Icon is converted into ball, user can under this game mode roller ball, this improves desktop utilization effect
Rate, and, there is interest.
Refer to Fig. 6, for the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.This
Terminal described in embodiment, including: at least one input equipment 1000;At least one outut device 2000;
At least one processor 3000, such as CPU;With memorizer 4000, above-mentioned input equipment 1000, output
Equipment 2000, processor 3000 and memorizer 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 concretely physical button, contact panel or mouse.
Above-mentioned outut device 2000 concretely display screen.
Above-mentioned memorizer 4000 can be high-speed RAM memorizer, it is possible to for non-labile memorizer
(non-volatile memory), such as disk memory.Above-mentioned memorizer 4000 is used for storing batch processing
Code, above-mentioned input equipment 1000, outut device 2000 and processor 3000 are used for calling memorizer 4000
The program code of middle storage, performs to operate as follows:
Above-mentioned processor 3000, is used for:
Receive game mode entry instruction;
Respond described game mode entry instruction and the icon in current display page be converted at least one ball,
And show at least one match play at predeterminated position;
Obtaining user's touch parameter for the first ball, wherein, described first ball is at least one ball described
Arbitrary ball;
Described first ball is rolled according to described touch parameter.
Alternatively, above-mentioned processor 3000 responds described enabled instruction by the icon conversion in current display page
For at least one ball, including:
When the number of the icon in current display page is more than M and less than N, by described current display page
In icon be converted at least one ball, wherein, the size of arbitrary ball and described figure at least one ball described
Target size is the same, and described N is positive integer, and described M is the integer more than or equal to 0 and less than described N;
When the number of the icon in described current display page is more than or equal to described N, by described current aobvious
Showing that the icon in the page is converted at least one ball, wherein, at least one ball described, arbitrary ball is the slightest
Size in described icon.
Alternatively, the icon in described current display page is converted at least one ball by above-mentioned processor 3000,
Including:
At least one icon in described current display page is converted into first kind ball, and by described at least one
Other icons beyond individual icon are converted into Equations of The Second Kind ball.
Alternatively, it is that described first kind ball and described touch parameter are for pressing described first ball at described first ball
Generate by surging and slide described first ball glide direction time, above-mentioned processor 3000 according to described touch
Control parameter rolls described first ball, including:
According to described rolling speed and the rolling controlling described first ball by surging and described glide direction respectively
Direction, wherein, described is directly proportional by the rolling speed of the size of surging to described first ball, described slip
Direction is consistent with described rotating direction.
Alternatively, above-mentioned processor 3000 according to described control respectively by surging and described glide direction described
After the sliding speed of the first ball and rotating direction, also particularly useful for:
If detecting, described first ball hits the second ball in rolling process, then stop described first ball, and control
Make described second ball to roll;
If described second ball enters the arbitrary match play at least one match play described in rolling process, then calculate
Score.
Input equipment 1000, outut device 2000 and place in implementing, described in the embodiment of the present invention
Reason device 3000 can perform the embodiment of the present invention provide a kind of desktop process the first embodiment of method, second
Implementation described in embodiment, the 3rd embodiment and the 4th embodiment, it is possible to perform the present invention and implement
The implementation of the terminal described in the first embodiment of a kind of terminal that example provides, does not repeats them here.
Unit in all embodiments of the invention, can pass through universal integrated circuit, such as CPU (Central
Processing Unit, central processing unit), or by ASIC (Application Specific Integrated
Circuit, special IC) realize.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory,
Or random access memory (Random Access Memory, be called for short RAM) etc. ROM).
Method and terminal that a kind of desktop provided the embodiment of the present invention above processes have carried out detailed Jie
Continuing, principle and the embodiment of the present invention are set forth by specific case used herein, above enforcement
The explanation of example is only intended to help to understand method and the core concept thereof of the present invention;Simultaneously for this area
Those skilled in the art, according to the thought of the present invention, the most all can change
Part, in sum, this specification content should not be construed as limitation of the present invention.
Claims (10)
1. the method that a desktop processes, it is characterised in that including:
Receive game mode entry instruction;
Respond described game mode entry instruction and the icon in current display page be converted at least one ball,
And show at least one match play at predeterminated position;
Obtaining user's touch parameter for the first ball, wherein, described first ball is at least one ball described
Arbitrary ball;
Described first ball is rolled according to described touch parameter.
Method the most according to claim 1, it is characterised in that the described enabled instruction of described response ought
Icon in the front display page is converted at least one ball, including:
When the number of the icon in current display page is more than M and less than N, by described current display page
In icon be converted at least one ball, wherein, the size of the arbitrary ball at least one ball described is with described
The size of icon is the same, and described N is positive integer, and described M is more than or equal to 0 and to be less than the whole of described N
Number;
When the number of the icon in described current display page is more than or equal to described N, by described current aobvious
Show that the icon in the page is converted at least one ball, wherein, the size of the arbitrary ball at least one ball described
Size less than described icon.
Method the most according to claim 1 and 2, it is characterised in that described by described currently displaying page
Icon in face is converted at least one ball, including:
At least one icon in described current display page is converted into first kind ball, and by described at least one
Other icons beyond individual icon are converted into Equations of The Second Kind ball.
Method the most according to claim 3, it is characterised in that be the described first kind at described first ball
Ball and described touch parameter are the slip by surging with described first ball that slides that described first ball of pressing generates
During direction, described according to described touch parameter roll described first ball, including:
According to described rolling speed and the rolling controlling described first ball by surging and described glide direction respectively
Direction, wherein, described is directly proportional to described rolling speed by the size of surging, described glide direction and institute
State rotating direction consistent.
Method the most according to claim 4, it is characterised in that press surging and institute described in described basis
After stating sliding speed and the rotating direction that glide direction controls described first ball respectively, described method also includes:
If detecting, described first ball hits the second ball in rolling process, then stop described first ball, and control
Make described second ball to roll;
If described second ball enters the arbitrary match play at least one match play described in rolling process, then calculate
Score.
6. a terminal, it is characterised in that including:
Receive unit, be used for receiving game mode entry instruction;
Conversion unit, the described game mode entry instruction received for responding described reception unit will currently show
Show that the icon in the page is converted at least one ball, and show at least one match play at predeterminated position;
Acquiring unit, for obtaining user's touch parameter for the first ball, wherein, described first ball is institute
State the arbitrary ball at least one ball;
First control unit, rolls described first for the described touch parameter obtained according to described acquiring unit
Ball.
Terminal the most according to claim 6, it is characterised in that described conversion unit specifically for:
When the number of the icon in current display page is more than M and less than N, by described current display page
In icon be converted at least one ball, wherein, the size of the arbitrary ball at least one ball described is with described
The size of icon is the same, and described N is positive integer, and described M is more than or equal to 0 and to be less than the whole of described N
Number;
When the number of the icon in described current display page is more than or equal to described N, by described current aobvious
Show that the icon in the page is converted at least one ball, wherein, the size of the arbitrary ball at least one ball described
Size less than described icon.
8. according to the terminal described in claim 6 or 7, it is characterised in that described conversion unit is the most specifically used
In:
At least one icon in described current display page is converted into first kind ball, and by described at least one
Other icons beyond individual icon are converted into Equations of The Second Kind ball.
Terminal the most according to claim 8, it is characterised in that be the described first kind at described first ball
Ball and described touch parameter are the slip by surging with described first ball that slides that described first ball of pressing generates
During direction, described first control unit specifically for:
According to described rolling speed and the rolling controlling described first ball by surging and described glide direction respectively
Direction, wherein, described is directly proportional to described rolling speed by the size of surging, described glide direction and institute
State rotating direction consistent.
Terminal the most according to claim 9, it is characterised in that described terminal also includes:
Second control unit, for described first control unit according to described by surging with described glide direction
After controlling sliding speed and the rotating direction of described first ball respectively, if detecting, described first ball is rolling
During hit the second ball, then stop described first ball, and control described second ball and roll;
Scoring unit, if enter appointing at least one match play described for described second ball in rolling process
One match play, then calculate score.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610211425.6A CN105912235A (en) | 2016-04-06 | 2016-04-06 | Desktop processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610211425.6A CN105912235A (en) | 2016-04-06 | 2016-04-06 | Desktop processing method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105912235A true CN105912235A (en) | 2016-08-31 |
Family
ID=56744961
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610211425.6A Pending CN105912235A (en) | 2016-04-06 | 2016-04-06 | Desktop processing method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105912235A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502616A (en) * | 2016-11-07 | 2017-03-15 | 上海与德信息技术有限公司 | A kind of display packing of font color and device |
CN108491120A (en) * | 2018-01-31 | 2018-09-04 | 珠海市魅族科技有限公司 | Control method, device, terminal and the readable storage medium storing program for executing of operable object |
CN108714302A (en) * | 2018-05-11 | 2018-10-30 | 珠海市魅族科技有限公司 | A kind of terminal control method and device, terminal, readable storage medium storing program for executing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060112353A1 (en) * | 2004-11-19 | 2006-05-25 | Nintendo Co., Ltd. | Image processing apparatus and storage medium storing image processing program |
CN103631440A (en) * | 2013-11-18 | 2014-03-12 | 上海斐讯数据通信技术有限公司 | Method for adjusting positions of desktop icons and mobile terminal |
CN103713828A (en) * | 2013-12-11 | 2014-04-09 | 上海斐讯数据通信技术有限公司 | Method of deleting two desktop icons by collision |
CN103838465A (en) * | 2014-03-08 | 2014-06-04 | 广东欧珀移动通信有限公司 | Vivid and interesting desktop icon displaying method and device |
CN104166468A (en) * | 2013-05-17 | 2014-11-26 | 环达电脑(上海)有限公司 | Touch screen device |
-
2016
- 2016-04-06 CN CN201610211425.6A patent/CN105912235A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060112353A1 (en) * | 2004-11-19 | 2006-05-25 | Nintendo Co., Ltd. | Image processing apparatus and storage medium storing image processing program |
CN104166468A (en) * | 2013-05-17 | 2014-11-26 | 环达电脑(上海)有限公司 | Touch screen device |
CN103631440A (en) * | 2013-11-18 | 2014-03-12 | 上海斐讯数据通信技术有限公司 | Method for adjusting positions of desktop icons and mobile terminal |
CN103713828A (en) * | 2013-12-11 | 2014-04-09 | 上海斐讯数据通信技术有限公司 | Method of deleting two desktop icons by collision |
CN103838465A (en) * | 2014-03-08 | 2014-06-04 | 广东欧珀移动通信有限公司 | Vivid and interesting desktop icon displaying method and device |
Non-Patent Citations (1)
Title |
---|
震远将军: "基于Android的迷你桌球游戏设计与实现", 《百度文库》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502616A (en) * | 2016-11-07 | 2017-03-15 | 上海与德信息技术有限公司 | A kind of display packing of font color and device |
CN108491120A (en) * | 2018-01-31 | 2018-09-04 | 珠海市魅族科技有限公司 | Control method, device, terminal and the readable storage medium storing program for executing of operable object |
CN108714302A (en) * | 2018-05-11 | 2018-10-30 | 珠海市魅族科技有限公司 | A kind of terminal control method and device, terminal, readable storage medium storing program for executing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101526880B (en) | Touch event model | |
CN102902469B (en) | Gesture identification method and touch-control system | |
KR101803948B1 (en) | Touch-sensitive button with two levels | |
CN103472916B (en) | A kind of man-machine interaction method based on human body gesture identification | |
EP2778849A1 (en) | Method and apparatus for operating sensors of user device | |
CN107297073B (en) | Method and device for simulating peripheral input signal and electronic equipment | |
US20060267966A1 (en) | Hover widgets: using the tracking state to extend capabilities of pen-operated devices | |
KR100777107B1 (en) | apparatus and method for handwriting recognition using acceleration sensor | |
US20140267025A1 (en) | Method and apparatus for operating sensors of user device | |
CN103955336A (en) | Sensing device and method | |
TWI621037B (en) | Touch sensitive system and stylus for commanding by maneuvering and method thereof | |
CN105912235A (en) | Desktop processing method and terminal | |
CN107577415A (en) | Touch operation response method and device | |
CN104516649A (en) | Intelligent cell phone operating technology based on motion-sensing technology | |
CN202110523U (en) | Terminal equipment and icon position interchanging device of terminal equipment | |
CN104898880A (en) | Control method and electronic equipment | |
WO2020047742A1 (en) | Handwriting pad, handwriting pad apparatus and writing control method | |
CN107092433B (en) | Touch control method and device of touch control all-in-one machine | |
JP6626613B2 (en) | Game program | |
CN103257724B (en) | A kind of non-contact type mouse and method of operating thereof | |
CN202110524U (en) | Terminal apparatus and icon position interchanging device thereof | |
US9152245B2 (en) | Rolling type input apparatus and method for setting sensitivity thereof, and electronic equipment | |
CN102681702B (en) | Control method, control device and electronic equipment | |
CN104375697A (en) | Mobile device | |
CN114641754A (en) | Method and device for controlling terminal screen through touchpad, control equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160831 |