CN102147694A - Method, system and embedded equipment for window sliding - Google Patents
Method, system and embedded equipment for window sliding Download PDFInfo
- Publication number
- CN102147694A CN102147694A CN2010101122084A CN201010112208A CN102147694A CN 102147694 A CN102147694 A CN 102147694A CN 2010101122084 A CN2010101122084 A CN 2010101122084A CN 201010112208 A CN201010112208 A CN 201010112208A CN 102147694 A CN102147694 A CN 102147694A
- Authority
- CN
- China
- Prior art keywords
- window
- information
- slides
- moving
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000008569 process Effects 0.000 claims abstract description 4
- 230000008859 change Effects 0.000 claims description 6
- 230000001105 regulatory effect Effects 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 abstract 1
- 230000016776 visual perception Effects 0.000 description 5
- 230000002708 enhancing effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention is applied to the field of embedding and provides a method, a system and embedded equipment for window sliding. The method comprises the following steps of: receiving a window sliding instruction and window sliding information which are input by a user, wherein the window sliding information comprises the position information of a current window where a sliding window is located, the position information of a target window, and information in sliding direction; and sliding the sliding window to the position of the target window according to the instruction and the information. By the embodiment of the invention, on the basis of simple window operation provided by an embedded graphics library DirectFB, the specifically-effective display of the sliding window is realized, and the aim of well increasing a visual sense experience of the user is fulfilled by the dynamic display and control of the sliding window in the process of focal point switching.
Description
Technical field
The invention belongs to built-in field, relate in particular to method, system and embedded device that a kind of window slides.
Background technology
Embedded graphic storehouse DirectFB be one based on framebuffer " shape library ", it uses and expense with MIN resource, maximum hardware-accelerated degree performance is provided, on embedded devices such as IPTV set-top box, Web TV and numerically-controlled machine, obtains at present than widespread use.But because this shape library belongs to the bottom shape library, the application interface of the graphic operation that provides is limited, can only carry out simple window operation, does not have the operation of the slip of special efficacy display window, seems dull, brings reasonable experience can not for the user visual perception.
Summary of the invention
The method that the purpose of the embodiment of the invention is to provide a kind of window to slide is intended to solve that embedded graphic storehouse DirectFB can only provide simple window slide in the prior art, bring the problem of reasonable experience can not for the user visual perception.
The embodiment of the invention is achieved in that the method that a kind of window slides, and described method comprises the steps:
The information that instruction that the window of reception user input slides and window slide, the information that described window slides comprises: the information of the positional information of the current window at moving window place, the positional information of target window and glide direction;
According to described instruction and information, moving window is slided into the position of target window.
The system that the embodiment of the invention also provides a kind of window to slide, described system comprises:
Instruction and information receiving module, be used to receive the information that instruction that the window of user's input slides and window slide, the information that described window slides comprises: the information of the positional information of the current window at moving window place, the positional information of target window and glide direction;
Window slip execution module is used for moving window being slided into the position of target window according to described instruction and information.
The embodiment of the invention also provides a kind of embedded device, and described equipment comprises above-mentioned window sliding system.
The embodiment of the invention is on the basis of the simple windows operation that embedded graphic storehouse DirectFB provides, dynamic demonstration and control by moving window in the focus handoff procedure, the special efficacy that realizes moving window shows, has reached the purpose of visual perception's experience of fine enhancing user.
Description of drawings
Fig. 1 is the realization flow figure of the window that provides of the first embodiment of the invention method of sliding;
Fig. 2 is the realization flow figure of the window that provides of the second embodiment of the invention method of sliding;
Fig. 3 is the synoptic diagram that moving window that the embodiment of the invention provides slides in coordinate system;
Fig. 4 is the structural drawing of the window sliding system that provides of the embodiment of the invention;
Fig. 5 is the structural drawing of the window slip execution module that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention is on the basis of the simple windows operation that embedded graphic storehouse DirectFB provides, dynamic demonstration and control by moving window in the focus handoff procedure, the special efficacy that realizes moving window shows, has reached the purpose of visual perception's experience of fine enhancing user.
The method that a kind of window of the present invention slides, be based on embedded graphic storehouse DirectFB, method mainly comprises the steps: to receive the information that instruction that the window of user's input slides and window slide, wherein, the information of window slip comprises: the information of the positional information of the current window at moving window place, the positional information of target window and glide direction; According to the instruction and the information that receive, moving window is slided into the position of target window.
The realization flow of the method that the window that Fig. 1 shows first embodiment of the invention to be provided slides, details are as follows:
In step S101, the information that instruction that the window of reception user input slides and window slide, wherein, the information that window slides comprises: the information of the positional information of the current window at moving window place, the positional information of target window and glide direction.
In step S102,, moving window is slided into the position of target window according to the instruction and the information that receive.
The realization flow of the method that the window that Fig. 2 shows second embodiment of the invention to be provided slides, details are as follows:
In step S201, the information that instruction that the window of reception user input slides and window slide.
In step S202, switch the current window focus to moving window.
In step S203,, obtain the coordinate data of current window position and the coordinate data of target window position according to the instruction and the information that receive.
In step S204, according to coordinate data, and glide direction and the default time logarithmic data that slides, by formula
The speed that calculation window slides, wherein, dx=endx-startx, dy=endy-starty, startx, starty are the coordinate of current window position, endx, endy are the coordinate of target window position, V
x, V
yBe respectively moving window in axial sliding speed of x and the axial sliding speed of y, n is the number of times that window slides.
In embodiments of the present invention, the synoptic diagram that slides in coordinate system of moving window as shown in Figure 3.
In step S205, moving window is slided into the position of target window by the speed of calculating among the S204.
In step S206, detect the information whether have sliding speed to change, be execution in step S207 then, otherwise execution in step S210.
In step S207, change the transparency of window.
In embodiments of the present invention, the speed of calculating among the S204 slides into moving window in the process of position of target window set by step, when information that the sliding speed that detects described moving window changes, change the sliding speed of moving window by the transparency of regulating moving window, when the transparency of window uprises, the sliding speed of moving window is slack-off, and when the transparency step-down of window, the sliding speed of moving window accelerates.
As a realization example of the present invention, transparency when moving window begins to slide is a translucent, when information that the sliding speed that detects moving window changes, the transparency of moving window is arranged to opaque state by translucent, window quickens to slide.
In step S208,, continue the position of moving window to target window by the speed that changes transparency window afterwards.
In step S209, continue moving window to be slided into the position of target window by the speed of calculating.
In step S210, switch the moving window focus to target window.
Fig. 4 shows the structure of the window sliding system that the embodiment of the invention provides, and for convenience of explanation, only shows the part relevant with the embodiment of the invention.
Instruction and information receiving module 41 are used to receive the information that instruction that the window of user's input slides and window slide, and the information of window slip comprises: the information of the positional information of the current window at moving window place, the positional information of target window and glide direction.Window slip execution module 42 is used for moving window being slided into the position of target window according to the instruction and the information that receive.
As one embodiment of the present of invention, native system also comprises the focus handover module: be used for switching the current window focus and arriving moving window after instruction and information receiving module 41 receive the information that instruction that the window of user input slides and window slide; And at window slip execution module 42 according to the instruction and the information that receive, moving window switches the moving window focus behind the position of target window and arrives target window.
Fig. 5 shows the concrete structure of the window slip execution module that the embodiment of the invention provides, and mainly comprises:
As one embodiment of the present of invention, when sliding block 423 detects the information that the sliding speed of described moving window changes, change the sliding speed of moving window by the transparency of regulating moving window, when the transparency of window uprises, the sliding speed of moving window is slack-off, when the transparency step-down of window, the sliding speed of moving window accelerates.
As one embodiment of the present of invention, transparency when moving window begins to slide is a translucent, when information that the sliding speed that detects moving window changes, the transparency of moving window is arranged to opaque state by translucent, window quickens to slide.
The embodiment of the invention also provides a kind of embedded device, and described equipment comprises above-mentioned window sliding system.
The embodiment of the invention is on the basis of the simple windows operation that embedded graphic storehouse DirectFB provides, dynamic demonstration and control by moving window in the focus handoff procedure, the special efficacy that realizes moving window shows, has reached the purpose of visual perception's experience of fine enhancing user.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the window method of sliding is characterized in that described method said method comprising the steps of based on embedded graphic storehouse DirectFB:
The information that instruction that the window of reception user input slides and window slide, the information that described window slides comprises: the information of the positional information of the current window at moving window place, the positional information of target window and glide direction;
According to described instruction and information, moving window is slided into the position of target window.
2. the method that window as claimed in claim 1 slides is characterized in that, also comprises the steps: after the step of the information that instruction that the window of described reception user input slides and window slide
Switch the current window focus to moving window;
Described according to described instruction and information, moving window also comprises the steps: after the step of the position of target window
Switch the moving window focus to target window.
3. the method that window as claimed in claim 1 slides is characterized in that described according to described instruction and information, the step that moving window is slided into the position of target window specifically may further comprise the steps:
According to described instruction and information, obtain the coordinate data of described current window position and the coordinate data of target window position;
According to described coordinate data, and described glide direction and the default time logarithmic data that slides, by formula
The speed that calculation window slides, wherein, dx=endx-startx, dy=endy-starty, startx, starty are the coordinate of current window position, endx, endy are the coordinate of target window position, V
x, V
yBe respectively moving window in axial sliding speed of x and the axial sliding speed of y, n is the number of times that window slides;
Moving window is slided into the position of target window by the speed of described calculating.
4. the method that window as claimed in claim 3 slides, it is characterized in that, described speed by described calculating slides into moving window in the process of position of target window, when information that the sliding speed that detects described moving window changes, change the sliding speed of moving window by the transparency of regulating moving window, when the transparency of window uprised, the sliding speed of moving window was slack-off, when the transparency step-down of window, the sliding speed of moving window accelerates.
5. the system that window slides is characterized in that described system is based on embedded graphic storehouse DirectFB, and described system comprises:
Instruction and information receiving module, be used to receive the information that instruction that the window of user's input slides and window slide, the information that described window slides comprises: the information of the positional information of the current window at moving window place, the positional information of target window and glide direction;
Window slip execution module is used for moving window being slided into the position of target window according to described instruction and information.
6. the system that window as claimed in claim 5 slides, it is characterized in that, described system also comprises the focus handover module, is used for switching the current window focus after described instruction and information receiving module receive the information that instruction that the window of user's input slides and window slide and arrives moving window; And at described window slip execution module according to described instruction and information, moving window switches the moving window focus to target window after the position of target window.
7. the system that window as claimed in claim 5 slides is characterized in that described window slip execution module specifically comprises:
Data acquisition module: be used for according to described instruction and information, obtain the coordinate data of described current window position and the coordinate data of target window position;
Speed calculation module: be used for according to described coordinate data, and described glide direction and the default time logarithmic data that slides, by formula
The speed that calculation window slides, wherein, dx=endx-startx, dy=endy-starty, startx, starty are the coordinate of current window position, endx, endy are the coordinate of target window position, V
x, V
yBe respectively moving window in axial sliding speed of x and the axial sliding speed of y, n is the number of times that window slides;
Sliding block: the position that is used for moving window being slided into target window by described computing velocity.
8. the system that window as claimed in claim 7 slides, it is characterized in that, described sliding block slides into moving window by the speed of described calculating in the process of position of target window, when information that the sliding speed that detects described moving window changes, change the sliding speed of moving window by the transparency of regulating moving window, when the transparency of window uprised, the sliding speed of moving window was slack-off, when the transparency step-down of window, the sliding speed of moving window accelerates.
9. an embedded device is characterized in that, described embedded device comprises the system that each described window of claim 5 to 8 slides.
10. embedded device as claimed in claim 9 is characterized in that, described embedded device is IPTV set-top box, Web TV and numerically-controlled machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010112208.4A CN102147694B (en) | 2010-02-09 | 2010-02-09 | A kind of method, system and embedded device of window sliding |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010112208.4A CN102147694B (en) | 2010-02-09 | 2010-02-09 | A kind of method, system and embedded device of window sliding |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102147694A true CN102147694A (en) | 2011-08-10 |
CN102147694B CN102147694B (en) | 2016-05-04 |
Family
ID=44421984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010112208.4A Active CN102147694B (en) | 2010-02-09 | 2010-02-09 | A kind of method, system and embedded device of window sliding |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102147694B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257798A (en) * | 2012-02-17 | 2013-08-21 | 阿里巴巴集团控股有限公司 | Window sliding method and window sliding device |
CN103543922A (en) * | 2013-07-01 | 2014-01-29 | Tcl集团股份有限公司 | Focus moving method, system and intelligent equipment |
CN103618928A (en) * | 2013-10-24 | 2014-03-05 | 四川长虹电器股份有限公司 | Method to achieve full-screen movable cursor |
CN103677573A (en) * | 2012-09-18 | 2014-03-26 | 北京琉石天音网络信息技术有限公司 | Method and device for focus movement |
CN103870096A (en) * | 2012-12-12 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and terminal equipment |
CN104238927A (en) * | 2013-06-09 | 2014-12-24 | 腾讯科技(北京)有限公司 | Method and device for controlling intelligent terminal application program |
CN104281374A (en) * | 2013-07-01 | 2015-01-14 | 博雅网络游戏开发(深圳)有限公司 | Method and system for achieving sliding list module |
CN105892844A (en) * | 2015-12-15 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Screen-sliding processing method and system |
CN106354409A (en) * | 2016-08-25 | 2017-01-25 | 北京金山安全软件有限公司 | Information display method and device and terminal |
CN110765736A (en) * | 2019-09-25 | 2020-02-07 | 联想(北京)有限公司 | Mathematical expression input method and device and mobile equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2068486C (en) * | 1991-08-30 | 1998-09-15 | Stephen S. Fleming | System and graphical method for creating an object |
US20020018051A1 (en) * | 1998-09-15 | 2002-02-14 | Mona Singh | Apparatus and method for moving objects on a touchscreen display |
CN100589076C (en) * | 2007-01-17 | 2010-02-10 | 华硕电脑股份有限公司 | Method for showing program graphical interfaces in window title row as well as computer system |
CN101458621A (en) * | 2008-12-09 | 2009-06-17 | 三星电子(中国)研发中心 | Application method of object variation track on application program user interface in video |
CN101477436A (en) * | 2008-12-18 | 2009-07-08 | 腾讯科技(深圳)有限公司 | Interaction method and system for client area of program window |
CN101515220B (en) * | 2009-04-13 | 2011-10-12 | 青岛海信移动通信技术股份有限公司 | Method and related device for moving, zooming and controlling window in touch screen |
-
2010
- 2010-02-09 CN CN201010112208.4A patent/CN102147694B/en active Active
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257798A (en) * | 2012-02-17 | 2013-08-21 | 阿里巴巴集团控股有限公司 | Window sliding method and window sliding device |
CN103257798B (en) * | 2012-02-17 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Window sliding method and window sliding device |
CN103677573A (en) * | 2012-09-18 | 2014-03-26 | 北京琉石天音网络信息技术有限公司 | Method and device for focus movement |
CN103870096A (en) * | 2012-12-12 | 2014-06-18 | 联想(北京)有限公司 | Information processing method and terminal equipment |
CN103870096B (en) * | 2012-12-12 | 2017-06-27 | 联想(北京)有限公司 | Information processing method and terminal device |
CN104238927A (en) * | 2013-06-09 | 2014-12-24 | 腾讯科技(北京)有限公司 | Method and device for controlling intelligent terminal application program |
CN104281374A (en) * | 2013-07-01 | 2015-01-14 | 博雅网络游戏开发(深圳)有限公司 | Method and system for achieving sliding list module |
CN103543922A (en) * | 2013-07-01 | 2014-01-29 | Tcl集团股份有限公司 | Focus moving method, system and intelligent equipment |
CN103543922B (en) * | 2013-07-01 | 2018-03-20 | Tcl集团股份有限公司 | A kind of focus mobility method, system and smart machine |
CN104281374B (en) * | 2013-07-01 | 2018-11-13 | 博雅网络游戏开发(深圳)有限公司 | The method and system of sliding list component |
CN103618928A (en) * | 2013-10-24 | 2014-03-05 | 四川长虹电器股份有限公司 | Method to achieve full-screen movable cursor |
CN105892844A (en) * | 2015-12-15 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Screen-sliding processing method and system |
CN106354409A (en) * | 2016-08-25 | 2017-01-25 | 北京金山安全软件有限公司 | Information display method and device and terminal |
CN110765736A (en) * | 2019-09-25 | 2020-02-07 | 联想(北京)有限公司 | Mathematical expression input method and device and mobile equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102147694B (en) | 2016-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102147694A (en) | Method, system and embedded equipment for window sliding | |
CN105117156B (en) | A kind of information processing method and electronic equipment | |
EP3979055B1 (en) | Application association processing method and apparatus | |
US9164670B2 (en) | Flexible touch-based scrolling | |
US20140237367A1 (en) | Mobile terminal and control method thereof | |
CN104756060A (en) | Gesture-based cursor control | |
CN105242869A (en) | Dual-screen interaction method for user terminal and user terminal | |
CN103257820A (en) | Control method and electronic device | |
CN102929415A (en) | Local monitor and mouse display synchronization method for local monitor and remote virtual machine | |
CN110032701A (en) | Image shows control method, device, storage medium and electronic equipment | |
CN103150080A (en) | Icon shortcut operation method and device | |
KR20160023831A (en) | Widget area adjustment method and device | |
CN103927099A (en) | Method and device for simulating touch sliding on intelligent display equipment through remote controller | |
CN103488424A (en) | Method and device for displaying information | |
CN103543922A (en) | Focus moving method, system and intelligent equipment | |
CN102214060A (en) | Touch electronic device and window control method thereof | |
CN104536652A (en) | List display method and terminal | |
CN104639962A (en) | Method and system for realizing television touch control | |
CN102707802A (en) | Method for controlling speed of mapping of gesture movement to interface | |
CN105005440A (en) | Mobile terminal display interface scroll bar switching method and apparatus and terminal | |
CN103905752A (en) | Method and device for remote control of remote control terminal and method and device for display of display terminal | |
CN103793132A (en) | Desktop switching method and system for touch screen mobile terminals | |
CN102141872A (en) | Method and system for closing window and embedded equipment | |
CN102467383A (en) | Method for implementing tab windows in graphical interface of embedded system | |
CN103645855A (en) | Touch reading method and device |
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 |