CN102156556A - Method for realizing cursor quick sliding of blue-ray player - Google Patents

Method for realizing cursor quick sliding of blue-ray player Download PDF

Info

Publication number
CN102156556A
CN102156556A CN2011100896754A CN201110089675A CN102156556A CN 102156556 A CN102156556 A CN 102156556A CN 2011100896754 A CN2011100896754 A CN 2011100896754A CN 201110089675 A CN201110089675 A CN 201110089675A CN 102156556 A CN102156556 A CN 102156556A
Authority
CN
China
Prior art keywords
cursor
apart
moved
speed
moving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100896754A
Other languages
Chinese (zh)
Other versions
CN102156556B (en
Inventor
陈勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Electronics Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Electronics Industry Co Ltd filed Critical Guangdong Oppo Electronics Industry Co Ltd
Priority to CN2011100896754A priority Critical patent/CN102156556B/en
Publication of CN102156556A publication Critical patent/CN102156556A/en
Application granted granted Critical
Publication of CN102156556B publication Critical patent/CN102156556B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method for realizing cursor quick sliding of blue-ray player. The method comprises the following steps: 1, receiving a keying signal; 2, acquiring coordinates of a current position; 3, acquiring coordinates of the position of a target cursor; 4, calculating the distance S that the coordinates of the current position moves to the coordinates of the target position, and setting a high-speed moving distance to be S1 and a speed-reduced moving distance to be S2; 5, determining whether the S1 is zero or not, executing step 8 if the S1 is zero, otherwise executing step 6; 6, moving the cursor to next position at a constant speed; 7, determining whether the distance S1 is moved or not, executing step 8 if the S1 is moved, otherwise executing the step 6 once again until the distance S1 is moved; 8, moving the cursor to the next position at a decreased speed; and 9, determining whether the distance S2 is moved or not, if the distance S2 is not moved, executing the step 8 once again until the distance S2 is moved completely, and finishing the sliding procedure when the distance S2 is moved completely and the target position is reached. By the method, the cursor has high moving speed, and the use efficiency is high.

Description

A kind of quick method of sliding of cursor that realizes Blu-ray player
Technical field
The present invention relates to a kind of cursor sliding method, particularly relate to a kind of quick method of sliding of cursor that realizes Blu-ray player.
Background technology
When the dummy keyboard operation of traditional Blu-ray player showed, the many employings of dummy keyboard operation telepilot was controlled highlighted cursor and is moved on the virtual key that needs, and presses acknowledgement key then and chooses this button to import.General cursor needs the process through quickening earlier to slow down again when mobile.This move mode need expend more time.For Blu-ray player, the speed of key response is most important, and the user wishes to push button and just sees clearly effect, adds people's vision hysteresis quality, makes cursor not to be positioned at button fast and chooses the position.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, a kind of quick method of sliding of cursor that realizes Blu-ray player is provided, the effect that the highlighted cursor of Blu-ray player is moved is quicker, and the mode of motion in decelerating phase makes the user feel mobile level and smooth stable, make button that the user utilizes telepilot and external connection keyboard directly fast during input, the easily eye-catching content of knowing own key entry of cursor sliding position that can show by user interface.
In order to achieve the above object, the technical solution used in the present invention is, the method that a kind of cursor of realizing Blu-ray player slides fast, and its step is as follows:
Step 1, receive the push button signalling of mobile button;
Step 2, obtain the position coordinates of current cursor;
Step 3, obtain target light target position coordinates;
Step 4, calculate from the current position coordinates to the target location coordinate, need move apart from S, and setting high-speed displacement is S1, deceleration displacement is S2;
Step 5, judge that whether high-speed mobile is zero apart from S1, S1 is zero execution in step 8, otherwise execution in step 6;
Step 6, with the constant speed moving cursor to the next position;
Step 7, judge whether to have moved, moved execution in step 8 then, finish apart from S1 to moving otherwise re-execute step 6 apart from S1 apart from S1;
Step 8, with the rate of decline moving cursor to the next position;
Step 9, judge whether to have moved, do not finish then re-executing step 8 apart from S2 and finish apart from S2, finish apart from S2 and arrive the target location EOP (end of program) of then sliding until moving apart from S2.
Cursor moves moving into any direction.The two-dimensional coordinate of pixel is adopted in the position of cursor, and establishing the cursor current position coordinates is N1(x1, and y1), target location coordinate is N2(x2, and y2), displacement S is the difference of target location and current location.
In order to handle the cursor displacement more clearly, with the displacement of X-direction and the displacement separate processes of Y direction, X-direction always apart from Sx=x2-x1, Y direction always apart from Sy=y2-y1.Get value bigger among Sx and the Sy and carry out the computing of back for reference range S, if promptly Sx is more than or equal to Sy, S=Sx then; If Sx is less than Sy, S=Sy then.
Compared with prior art, the invention has the beneficial effects as follows: when cursor moves, without accelerator, directly carry out high-speed mobile, high-speed mobile is crossed and is slowed down behind the certain distance mobilely, and whole moving process is quick, and the user visually produces the mobile effect of continuously smooth.Translational speed is fast, and the service efficiency height brings the user good result of use.
Description of drawings
Fig. 1 is the process flow diagram of the inventive method.
Embodiment
Purport of the present invention is to overcome the deficiencies in the prior art, a kind of quick method of sliding of cursor that realizes Blu-ray player is provided,, accelerate to afterwards deceleration during by original mobile beginning and become directly and enter the decelerating phase then to stopping when current position coordinates moves to target location coordinate at glittering cursor from beginning to move the most at a high speed.
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, so that technical characterictic of the present invention and advantage are carried out more deep annotation.
The process flow diagram of the inventive method as shown in Figure 1, the method that a kind of cursor of realizing Blu-ray player slides fast, its step is as follows:
Step 1, receive the push button signalling of mobile button;
Step 2, obtain the position coordinates of current cursor;
Step 3, obtain target light target position coordinates;
Step 4, calculate from the current position coordinates to the target location coordinate, need move apart from S, and setting high-speed displacement is S1, deceleration displacement is S2;
Step 5, judge that whether high-speed mobile is zero apart from S1, S1 is zero execution in step 8, otherwise execution in step 6;
Step 6, with the constant speed moving cursor to the next position;
Step 7, judge whether to have moved, moved execution in step 8 then, finish apart from S1 to moving otherwise re-execute step 6 apart from S1 apart from S1;
Step 8, with the rate of decline moving cursor to the next position;
Step 9, judge whether to have moved, do not finish then re-executing step 8 apart from S2 and finish apart from S2, finish apart from S2 and arrive the target location EOP (end of program) of then sliding until moving apart from S2.
Cursor moves moving into any direction.The two-dimensional coordinate of pixel is adopted in the position of cursor, and establishing the cursor current position coordinates is N1(x1, and y1), target location coordinate is N2(x2, and y2), displacement S is the difference of target location and current location.
In order to handle the cursor displacement more clearly, with the displacement of X-direction and the displacement separate processes of Y direction, X-direction always apart from Sx=x2-x1, Y direction always apart from Sy=y2-y1.Get value bigger among Sx and the Sy and carry out the computing of back for reference range S, if promptly Sx is more than or equal to Sy, S=Sx then; If Sx is less than Sy, S=Sy then.
Maximum translational speed Vmax original definition is 15~25% of a screen size, can be according to the actual conditions adjustment.For example screen resolution is 1920*1080, and then Vmax may be defined as 100 pixels.
Distribute the method for high-speed mobile: integer i=S/Vmax apart from S1 and deceleration displacement S2 size; If i<2, S1=0 then, S2=S.Promptly when apart from S≤2Vmax, do not carry out the high-speed mobile process, directly enter the deceleration moving process; If i 〉=2, then S1=(i-1) * Vmax, S2=S-S1.
Be divided into two stages of S1 and S2 when mobile:
1) when moving beginning,, after mobile i-1 time, finishes apart from S1 earlier with the speed of Vmax moving cursor at the uniform velocity;
2) enter the regional S2 that slows down then, translational speed V is initially apart from half of S2 (because S2 is less than the Vmax of twice, so speed V is less than Vmax).Half that each afterwards speed that moves all is the last time, promptly speed V is changed to (1/2) * S2, (1/4) * S2, (1/8) * S2 ... diminish up to speed and to finish apart from S2 when being 1 pixel.
And in moving process cursor coordinates N(x, computing method y):
Translational speed is V, if X-direction always move mobile greater than Y direction always apart from Sy apart from Sx, then the new coordinate of cursor is N(x+V, y+(V*(Sy/Sx))); If Y direction always move mobile greater than X-direction always apart from Sx apart from Sy, then the new coordinate of cursor is N(x+(V*(Sx/Sy)), y+ V).
Learn according to above, after the order that the cursor that receives Blu-ray player moves, per interval time the T millisecond, calculate the position coordinates that next step cursor moves, and cursor moved on to the reposition coordinate, clear screen shows then, finishes mobile after cursor arrives the final goal position.Interval time, T needed less than 40 milliseconds.Because the persistence of vision of human eye and the relation of reaction velocity, as long as guaranteeing per second moves and shows more than 24 times, human eye can think that all it is continuous level and smooth moving, so per second need move and refresh more than 24 times, be that every interval is moved and refreshed once for 40 milliseconds, short more at interval, mobile effect is rapid more.Whenever move a cursor, the demonstration that all needs to refresh a cursor makes cursor be presented at latest position in real time.
Although the present invention has made the clear description of finishing by instantiation to the method that cursor how to realize Blu-ray player slides fast, but the present invention is not limited only to described embodiment, and to reach identical purpose be contingent and all be included in the present invention by simple reprogramming.

Claims (4)

1. method that the cursor of realizing Blu-ray player slides fast, its step is as follows:
Step 1, receive the push button signalling of mobile button;
Step 2, obtain the position coordinates of current cursor;
Step 3, obtain target light target position coordinates;
Step 4, calculate from the current position coordinates to the target location coordinate, need move apart from S, and setting high-speed displacement is S1, deceleration displacement is S2;
Step 5, judge that whether high-speed mobile is zero apart from S1, S1 is zero execution in step 8, otherwise execution in step 6;
Step 6, with the constant speed moving cursor to the next position;
Step 7, judge whether to have moved, moved execution in step 8 then, finish apart from S1 to moving otherwise re-execute step 6 apart from S1 apart from S1;
Step 8, with the rate of decline moving cursor to the next position;
Step 9, judge whether to have moved, do not finish then re-executing step 8 apart from S2 and finish apart from S2, finish apart from S2 and arrive the target location EOP (end of program) of then sliding until moving apart from S2.
2. the method that the cursor of realization Blu-ray player according to claim 1 slides fast is characterized in that: the two-dimensional coordinate of pixel is adopted in the position of described cursor, and cursor moves and is any direction.
3. the method that the cursor of realization Blu-ray player according to claim 2 slides fast is characterized in that described computing method apart from S are:
If the cursor current position coordinates is N1(x1, y1), target location coordinate is N2(x2, and y2), then displacement S is the difference of target location and current location;
During calculating with the displacement of X-direction and the displacement separate processes of Y direction, X-direction always apart from Sx=x2-x1, Y direction always apart from Sy=y2-y1;
Get value bigger among Sx and the Sy and carry out computing, be i.e. S=Sy when S=Sx during Sx 〉=Sy, Sx<Sy for reference range S.
4. the method that the cursor of realization Blu-ray player according to claim 3 slides fast, it is characterized in that, described distribution high-speed mobile apart from the computing method of S1 and deceleration displacement S2 size is: establishing the maximum translational speed Vmax of cursor is 15~25% of screen size, establishes integer i=S/Vmax; If i<2, S1=0 then, S2=S; If i 〉=2, then S1=(i-1) * Vmax, S2=S-S1.
CN2011100896754A 2011-04-11 2011-04-11 Method for realizing cursor quick sliding of blue-ray player Expired - Fee Related CN102156556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100896754A CN102156556B (en) 2011-04-11 2011-04-11 Method for realizing cursor quick sliding of blue-ray player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100896754A CN102156556B (en) 2011-04-11 2011-04-11 Method for realizing cursor quick sliding of blue-ray player

Publications (2)

Publication Number Publication Date
CN102156556A true CN102156556A (en) 2011-08-17
CN102156556B CN102156556B (en) 2013-03-27

Family

ID=44438079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100896754A Expired - Fee Related CN102156556B (en) 2011-04-11 2011-04-11 Method for realizing cursor quick sliding of blue-ray player

Country Status (1)

Country Link
CN (1) CN102156556B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495688A (en) * 2011-12-29 2012-06-13 深圳Tcl新技术有限公司 Method and device for quickly moving mouse pointer by utilizing direction keys of remote controller, and television
CN103869118A (en) * 2012-12-13 2014-06-18 北京普源精电科技有限公司 Cursor moving method and oscilloscope
CN111984160A (en) * 2020-06-28 2020-11-24 中国科学院软件研究所 Target selection method based on artificial potential energy field and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080309630A1 (en) * 2007-06-13 2008-12-18 Apple Inc. Techniques for reducing jitter for taps
CN101504585A (en) * 2009-03-09 2009-08-12 广东威创视讯科技股份有限公司 Sliding type input method of touch screen

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080309630A1 (en) * 2007-06-13 2008-12-18 Apple Inc. Techniques for reducing jitter for taps
CN101504585A (en) * 2009-03-09 2009-08-12 广东威创视讯科技股份有限公司 Sliding type input method of touch screen

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495688A (en) * 2011-12-29 2012-06-13 深圳Tcl新技术有限公司 Method and device for quickly moving mouse pointer by utilizing direction keys of remote controller, and television
CN103869118A (en) * 2012-12-13 2014-06-18 北京普源精电科技有限公司 Cursor moving method and oscilloscope
CN111984160A (en) * 2020-06-28 2020-11-24 中国科学院软件研究所 Target selection method based on artificial potential energy field and electronic device
CN111984160B (en) * 2020-06-28 2021-12-10 中国科学院软件研究所 Target selection method based on artificial potential energy field and electronic device

Also Published As

Publication number Publication date
CN102156556B (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN104202643B (en) Touch screen remote terminal screen map method, the control method and system of touch screen remote terminal of smart television
CN106354256B (en) A kind of control method for movement of virtual reality
CN103686281B (en) Analog mouse controls method, remote control and the mobile terminal of intelligent television
CN104407732B (en) synchronous writing method and system
US20130027294A1 (en) Input apparatus, input method, and control system
CN102156556B (en) Method for realizing cursor quick sliding of blue-ray player
CN106681354B (en) The flight control method and device of unmanned plane
CN105389846B (en) A kind of methods of exhibiting of threedimensional model
CN105635776B (en) Pseudo operation graphical interface remoting control method and system
CN103458184A (en) Method for carrying out long-range control on pan-tilt with cell phone
CN105867433A (en) Moving control method, moving electronic device and moving control system
CN104159016A (en) Cradle head control system, method and device
CN106713889B (en) The rendering method and system and mobile terminal of 3D picture
CN102769616A (en) Delay calculation method based on game movement logic client and server synchronization
CN1414496A (en) Universal virtual environment roaming engine computer system
CN102999910A (en) Image depth calculating method
CN103297828A (en) Method and system for operating set top box with simulation mouse of mobile terminal
CN110989835B (en) Working method of holographic projection device based on gesture recognition
PH12014502426B1 (en) Method and system for achieving moving synchronization in remote control and computer storage medium
CN104238730A (en) Smart grid visualization platform and demonstration control method
CN104020957B (en) Digital types of facial makeup in Beijing operas stereoprojection interactive system
CN104915130B (en) Multimedia desktop interaction systems
CN104516547A (en) Control method and electronic equipment
CN103186917B (en) It is a kind of to realize the method and apparatus that view animation is shown
CN108052253B (en) Virtual reality display content manufacturing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: GUANGDONG OPPO MOBILE COMMUNICATIONS CO., LTD.

Free format text: FORMER OWNER: OPPO ELECTRIC INDUSTRY CO., LTD.

Effective date: 20130606

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20130606

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan Town, Guangdong province 523860 usha Beach Road Dongguan City, No. 18 Guangdong oppo Electronics Industrial Co. Ltd.

Patentee before: Guangdong Oppo Electronics Industry Co.,Ltd.

CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130327

CF01 Termination of patent right due to non-payment of annual fee