CN106201494A - Automatic moving method and device for floating menu - Google Patents
Automatic moving method and device for floating menu Download PDFInfo
- Publication number
- CN106201494A CN106201494A CN201610513736.8A CN201610513736A CN106201494A CN 106201494 A CN106201494 A CN 106201494A CN 201610513736 A CN201610513736 A CN 201610513736A CN 106201494 A CN106201494 A CN 106201494A
- Authority
- CN
- China
- Prior art keywords
- menu
- suspension menu
- suspension
- page
- described suspension
- 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
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000007667 floating Methods 0.000 title abstract description 8
- 239000000725 suspension Substances 0.000 claims abstract description 206
- 238000001514 detection method Methods 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
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/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for automatically moving a floating menu, which are used for acquiring elements in an electronic whiteboard page and real-time position coordinates of the floating menu; judging whether the element collides with the suspension menu according to the acquired position coordinates; and when collision occurs, moving the floating menu to a position where collision does not occur with the element. By adopting the invention, the position of the suspension menu can be automatically adjusted when the page element conflicts with the suspension menu, so that the page area shielded by the suspension menu is fully utilized, the efficiency of writing is improved, and the writing experience is improved.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of menu that suspends automatically moves method and apparatus.
Background technology
Interactive electric whiteboard is to realize a brand-new, the powerful high-tech religion that tradition and modernity education combines
Instrument, its special technology just can be suitable for the growth requirement of classroom instruction, and it had both inherited this teaching of normal blackboard
The advantage of means, incorporates again the advantage of modern multimedia teaching, and particularly it is in interactive learning, Cooperative Learning, inspiration
The aspects such as formula study have unique advantage.
But, the element in the existing electronic whiteboard software page is respectively with the menu that arranges being suspended on the page
Political affairs, non-interference.Such as person's handwriting element, when writing menu region, the region will write due to the menu in the page
Occupy and just cannot be further continued for writing;If to carry out writing operation in the region at menu place, then must be manually by dish
Singly remove or menu is closed.Now, if not moving or closing menu, then writing region can not well be utilized, and shadow
Ring the aesthetic property write;If mobile or closedown menu, then must manually carry out, operation extremely inconvenience, and the company write can be interrupted
Coherence
Summary of the invention
What the purpose of the embodiment of the present invention was to provide a kind of menu that suspends automatically moves method and apparatus, it is achieved suspension dish
Single automatically moves, and to better profit from page area, improves the writing experience of electronic whiteboard.
To achieve these goals, the invention provides a kind of menu that suspends automatically moves method, including:
Obtain the element in the electronic whiteboard page and the real-time location coordinates of suspension menu;
According to the described element obtained and the position coordinates of described suspension menu, it is judged that described element is the most outstanding with described
Floating menu collides;
When colliding, described suspension menu is moved to the position not collided with described element.
Preferred embodiment central in one, described element is a some element;
Element in the described acquisition electronic whiteboard page and the real-time location coordinates of suspension menu, particularly as follows:
Obtain the coordinate of described some element and one group of coordinate to angular vertex of described suspension menu.
In the middle of another preferred embodiment, described element is region element;
Element in the described acquisition electronic whiteboard page and the real-time location coordinates of suspension menu, particularly as follows:
Obtain one group of one group of coordinate to angular vertex of described region element and described suspension menu to angular vertex
Coordinate.
Preferably, described according to the described element obtained and the position coordinates of described suspension menu, it is judged that described element
Whether collide with described suspension menu, particularly as follows:
According to the described element obtained and the position coordinates of described suspension menu, it is judged that described element and described suspension dish
Whether the distance between list is less than the collision spacing value preset;The most then judge that described element touches with described suspension menu
Hit;If it is not, then judge that described element does not collides with described suspension menu.
Preferably, described when colliding, described suspension menu is moved to the position not collided with described element
Put, including:
When described element, to be positioned at the left side of the described electronic whiteboard page half side, and the right of described suspension menu has and is available for
During the page space that described suspension menu moves, described suspension menu is moved to right;
When described element, to be positioned at the right side of the described electronic whiteboard page half side, and the left of described suspension menu has and is available for
During the page space that described suspension menu moves, described suspension menu is moved to left;
When described element is positioned at the upper half side of the described electronic whiteboard page, and the lower section of described suspension menu has and is available for
During the page space that described suspension menu moves, described suspension menu is moved down;
Under described element is positioned at the described electronic whiteboard page half side, and the top of described suspension menu has and is available for
During the page space that described suspension menu moves, will move on described suspension menu.
Correspondingly, present invention also offers the automatic mobile device of a kind of menu that suspends, including:
Coordinate obtaining module, for obtaining the element in the electronic whiteboard page and the real-time location coordinates of suspension menu;
Collision detection module, for according to the described element obtained and the position coordinates of described suspension menu, it is judged that institute
State whether element collides with described suspension menu;
Menu mobile module, for when colliding, moves described suspension menu to not touching with described element
The position hit.
Preferred embodiment central in one, described element is a some element;
Described coordinate obtaining module includes the first coordinate acquiring unit, for obtaining the coordinate of described some element and described
One group of coordinate to angular vertex of suspension menu.
In the middle of another preferred embodiment, described element is region element;
Described coordinate obtaining module includes the second coordinate acquiring unit, for obtaining the top, one group of diagonal angle of described region element
The coordinate of point and one group of coordinate to angular vertex of described suspension menu.
Preferably, described collision detection module includes:
Collision detection unit, for according to the described element obtained and the position coordinates of described suspension menu, it is judged that institute
Whether state the distance between element and described suspension menu less than the collision spacing value preset;The most then judge described element with
Described suspension menu collides;If it is not, then judge that described element does not collides with described suspension menu.
Preferably, described menu mobile module includes:
Shift cells right, half side for being positioned at a left side for the described electronic whiteboard page when described element, and described suspension menu
Right have when being available for page space that described suspension menu moves, described suspension menu is moved to right;
Shift cells left, half side for being positioned at the right side of the described electronic whiteboard page when described element, and described suspension menu
Left have when being available for page space that described suspension menu moves, described suspension menu is moved to left;
Shift cells down, for being positioned at the upper half side of the described electronic whiteboard page, and described suspension menu when described element
Lower section have when being available for page space that described suspension menu moves, described suspension menu is moved down;
Shift cells up, for half side under described element is positioned at the described electronic whiteboard page, and described suspension menu
Top have when being available for page space that described suspension menu moves, will move on described suspension menu.
The present invention is by obtaining the element in the electronic whiteboard page and the real-time location coordinates of suspension menu;According to acquisition
Position coordinates, it is judged that whether described element collides with described suspension menu;When colliding, by described suspension menu
Mobile to the position not collided with described element.Use the present invention, can be when page elements clashes with suspension menu
Automatically adjust the position of suspension menu, be suspended, to make full use of, the page area that menu blocks, beneficially improve the effect write
Rate, improves writing experience.
Accompanying drawing explanation
Fig. 1 is the flow chart of an embodiment of the method that automatically moves of the suspension menu that the present invention provides;
Fig. 2 is the electronic whiteboard page schematic diagram that the present invention provides;
Fig. 3 is the structure drawing of device of an embodiment of the automatic mobile device of the suspension menu that the present invention provides.
Detailed description of the invention
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 clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
See Fig. 1, be the flow chart of an embodiment of the method that automatically moves of the suspension menu that the present invention provides.
The method that automatically moves of described suspension menu includes step S1~S3:
S1, obtains the element in the electronic whiteboard page and the real-time location coordinates of suspension menu.
S2, according to the described element obtained and the position coordinates of described suspension menu, it is judged that described element whether with institute
State suspension menu to collide.
S3, when colliding, moves described suspension menu to the position not collided with described element.
Wherein, described suspension menu is to be suspended in the menu that arranges on the electronic whiteboard page, and described element is that electronics is white
Any object in the plate page.
Preferred embodiment central in one, described element is a some element.Described some element is for being different from region element
For object, can be in the blank page a little or the element that can regard any as can be approximated.
When described element for some element time, described step S1 particularly as follows:
Obtain the coordinate of described some element and one group of coordinate to angular vertex of described suspension menu.
As in figure 2 it is shown, be provided with suspension menu 22 on the electronic whiteboard page 21, if the upper left corner of the blank page 21 is coordinate
Initial point O (0,0), the lower right corner of the blank page 21 is the maximum coordinates M (x of the blank pagem, ym), described some element can be person's handwriting
23 currently write an A (x0, y0), described suspension menu 22 is rectangle menu, one group of diagonal angle of the described suspension menu 22 of acquisition
The coordinate on summit is upper right corner B (x1, y1) and lower left corner C (x2, y2).It will be understood by those skilled in the art that be embodied as work as
In, it would however also be possible to employ another group of suspension menu 22 coordinate to angular vertex (i.e. the upper left corner and the lower right corner), the present invention is to this not
It is construed as limiting.
In the middle of another preferred embodiment, described element is region element.Described region element is at blank page
Face occupies the element of certain area, preferably rectangular region, described region.
When described element is region element, described step S1 particularly as follows:
Obtain one group of one group of coordinate to angular vertex of described region element and described suspension menu to angular vertex
Coordinate.
As in figure 2 it is shown, described region element can be the text box 24 in the blank page 21, the institute obtained in the present embodiment
The one group of coordinate to angular vertex stating region element 24 is upper right corner E (x3, y3) and lower left corner F (x4, y4), the described of acquisition is hanged
One group of coordinate to angular vertex of floating menu 22 is upper right corner B (x1, y1) and lower left corner C (x2, y2)。
For improving sensitivity and the reliability of collision detection further, collision spacing value can be pre-set, in described unit
When the plain distance with described suspension menu is less than described collision spacing value, i.e. judge that the two collides.Described step S2 is concrete
For:
According to the described element obtained and the position coordinates of described suspension menu, it is judged that described element and described suspension dish
Whether the distance between list is less than the collision spacing value preset;The most then judge that described element touches with described suspension menu
Hit;If it is not, then judge that described element does not collides with described suspension menu.
If as in figure 2 it is shown, described element is some elements A, i.e. in the middle of being embodied as, when x being detected0∈[x2-d, x1+
D], and y0∈[y1-d, y2+ d] time, then judge that the two collides, need suspension menu is moved;Otherwise, it is determined that two
Person does not collides, it is not necessary to move suspension menu.Wherein, d is the collision spacing value pre-set.
If described element is region element 24, i.e. in the middle of being embodied as, when detecting AndTime, then judge that the two collides, and needs suspension menu
22 move;Otherwise, it is determined that the two does not collides, it is not necessary to suspension menu is moved.Wherein, d is pre-set
Collision spacing value.
The big I of collision spacing value d selects according to actual needs, and this is not construed as limiting by the present invention.The present embodiment
In, preferably d=5.
The present invention is by obtaining the element in the electronic whiteboard page and the real-time location coordinates of suspension menu.According to acquisition
Position coordinates, it is judged that whether described element collides with described suspension menu.When colliding, by described suspension menu
Mobile to the position not collided with described element.Use the present invention, can be when page elements clashes with suspension menu
Automatically adjust the position of suspension menu, be suspended, to make full use of, the page area that menu blocks, beneficially improve the effect write
Rate, improves writing experience.
Further, described step S3 includes:
When described element, to be positioned at the left side of the described electronic whiteboard page half side, and the right of described suspension menu has and is available for
During the page space that described suspension menu moves, described suspension menu is moved to right.
When described element, to be positioned at the right side of the described electronic whiteboard page half side, and the left of described suspension menu has and is available for
During the page space that described suspension menu moves, described suspension menu is moved to left.
When described element is positioned at the upper half side of the described electronic whiteboard page, and the lower section of described suspension menu has and is available for
During the page space that described suspension menu moves, described suspension menu is moved down.
Under described element is positioned at the described electronic whiteboard page half side, and the top of described suspension menu has and is available for
During the page space that described suspension menu moves, will move on described suspension menu.
In the middle of being embodied as, can be by obtaining height h and width w and the maximum of the electronic whiteboard page of suspension menu
Coordinate M (xm, ym), and combine the position coordinates of described suspension menu, be available for judging whether the surrounding of described suspension menu has
Its space moved.Specifically, if w is < xm-x2, then illustrate that the right of described suspension menu has and be available for its page empty moved
Between, can move to the right when the mobile suspension menu of needs.If w is < x1, then illustrate that the left of described suspension menu has and be available for it
The page space of movement, can move to the left when the mobile suspension menu of needs.If h is < ym-y1, then described suspension menu is described
Lower section has and is available for its page space moved, and can move down when the mobile suspension menu of needs.If h is < y2, then explanation is described
The top of suspension menu has and is available for its page space moved, and can move up when the mobile suspension menu of needs.
The present invention judges the mobile side of suspension menu also by obtaining element location in the electronic whiteboard page
To.In the middle of being embodied as, described element is location (i.e. upper and lower, left and right are half side) in the electronic whiteboard page, can lead to
Cross the geometric center of the described element position in the described electronic whiteboard page to judge.Specifically, when the center of described element
The left side being positioned at the described electronic whiteboard page is half side, i.e. when the x coordinate of element center is less than xmWhen/2, then described suspension menu is right
Move.Otherwise, when described element center, to be positioned at the right side of the described electronic whiteboard page half side, i.e. when the x coordinate of element center is more than xm/
When 2, then described suspension menu is moved to left.In like manner, it is positioned at the upper half side, i.e. of the described electronic whiteboard page when described element center
When the y-coordinate of element center is less than ymWhen/2, then described suspension menu is moved down.Otherwise, when described element center is positioned at described
Under the electronic whiteboard page half side, i.e. when the y-coordinate of element center is more than ymWhen/2, then will move on described suspension menu.Described
The distance that suspension menu moves, so that the distance between suspension menu and element is as the criterion slightly larger than the collision interval preset, this
This is not construed as limiting by invention, and those skilled in the art can be configured according to specific needs.As in figure 2 it is shown, when described element is
During point elements A, the coordinate of described element center is identical with the coordinate of described some element, is (x0, y0).And when described element is
During the element 24 of region, the coordinate of the most described element center is ((x3+x4)/2, (y3+y4)/2) or (x4+wA/ 2, y3+hA/ 2), its
In, wAFor the width of described region element, hAHeight for described region element.
In the middle of being embodied as, both can first judge whether to move left and right, when touching by moving left and right to hide
After hitting, then the judgement moved up and down;Can also first judge whether to move up and down, when hiding by moving up and down
Collision rift, then carry out the judgement moved left and right.More preferably, moving direction up and down can be judged simultaneously, now hang
The vectorial superposition that final moving direction is four direction judged result of floating menu.
The present invention judgement by moving direction, can obtain the optimum mobile route of suspension menu, be advantageously implemented dialogue
The optimum use of the plate page.Use what the present invention provided suspension menu to automatically move method, the electronic whiteboard page has outstanding
In the presence of floating menu, user is at blank enterprising running hand write operation, when writing near menu, if find to write a little and
Menu has collision, and the most now menu by automatic decision moving direction and moves, and user can proceed to write, thus carries
Rise user and write aspect experience.
See Fig. 3, be the structure chart of an embodiment of the automatic mobile device of the suspension menu that the present invention provides.This reality
The ultimate principle executing example is consistent with embodiment illustrated in fig. 1, part is not described in detail in detail in the present embodiment and can be found in embodiment illustrated in fig. 1
Associated description.
As it is shown on figure 3, the automatic mobile device of described suspension menu includes:
Coordinate obtaining module 31, sits for obtaining the real time position of the element in the electronic whiteboard page and suspension menu
Mark.
Collision detection module 32, for according to the described element obtained and the position coordinates of described suspension menu, it is judged that
Whether described element collides with described suspension menu.
Menu mobile module 33, for when colliding, moves described suspension menu to not occurring with described element
The position of collision.
Preferred embodiment central in one, described element is a some element.Specifically, described some element can be person's handwriting
Currently write a little.
Described coordinate obtaining module 31 includes the first coordinate acquiring unit 311, for obtain the coordinate of described some element with
And one group of coordinate to angular vertex of described suspension menu.
In the middle of another preferred embodiment, described element is region element.Specifically, described region element is permissible
For text box.
Described coordinate obtaining module 31 includes the second coordinate acquiring unit 312, is used for obtaining one group of described region element
Coordinate and one group of coordinate to angular vertex of described suspension menu to angular vertex.
Described collision detection module 32 includes collision detection unit 321, for according to the described element and described obtained
The position coordinates of suspension menu, it is judged that whether the distance between described element and described suspension menu is less than the collision interval preset
Value;The most then judge that described element collides with described suspension menu;If it is not, then judge described element and described suspension dish
Dan Wei collides.Further, described menu mobile module 33 includes:
Shift cells right 331, for being positioned at the half side and described suspension dish in a left side of the described electronic whiteboard page when described element
Single right has when being available for page space that described suspension menu moves, is moved to right by described suspension menu.
Shift cells left 332, for being positioned at the half side and described suspension dish in the right side of the described electronic whiteboard page when described element
Single left has when being available for page space that described suspension menu moves, is moved to left by described suspension menu.
Shift cells down 333, for being positioned at the upper half side and described suspension dish of the described electronic whiteboard page when described element
Single lower section has when being available for page space that described suspension menu moves, is moved down by described suspension menu.
Shift cells up 334, for half side and described suspension dish under described element is positioned at the described electronic whiteboard page
Single top has when being available for page space that described suspension menu moves, will move on described suspension menu.
In sum, in the middle of existing scheme, if the element in the electronic whiteboard page rushes with the suspension menu in the page
During prominent collision, it is necessary to manually moving menu or abandon menu area, page utilization rate is relatively low, and writing experience is poor.The present invention
By obtaining the element in the electronic whiteboard page and the real-time location coordinates of suspension menu.According to the position coordinates obtained, sentence
Whether disconnected described element collides with described suspension menu.When colliding, described suspension menu is moved to not with institute
State the position that element collides.Use the present invention, can automatically adjust suspension when page elements clashes with suspension menu
The position of menu, is suspended, to make full use of, the page area that menu blocks, and beneficially improves the efficiency write, improves script
Test.
It should be noted that, device embodiment described above is only schematically, wherein said as separating component
The unit illustrated can be or may not be physically separate, and the parts shown as unit can be or can also
It not physical location, i.e. may be located at a place, or can also be distributed on multiple NE.Can be according to reality
Need to select some or all of module therein to realize the purpose of the present embodiment scheme.It addition, the device that the present invention provides
In embodiment accompanying drawing, the annexation between module represents have communication connection between them, specifically can be implemented as one or
A plurality of communication bus or holding wire.Those of ordinary skill in the art, in the case of not paying creative work, are i.e. appreciated that
And implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that can borrow to the present invention
The mode helping software to add required common hardware realizes, naturally it is also possible to include special IC, specially by specialized hardware
Realize with CPU, private memory, special components and parts etc..Generally, all functions completed by computer program can
Realize with corresponding hardware easily, and, the particular hardware structure being used for realizing same function can also be multiple many
Sample, such as analog circuit, digital circuit or special circuit etc..But, the most more in the case of software program real
It it is now more preferably embodiment.Based on such understanding, prior art is made by technical scheme the most in other words
The part of contribution can embody with the form of software product, and this computer software product is stored in the storage medium that can read
In, such as the floppy disk of computer, USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory
Device (RAM, Random Access Memory), magnetic disc or CD etc., including some instructions with so that a computer sets
Standby (can be personal computer, server, or the network equipment etc.) performs the method described in each embodiment of the present invention.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.
Claims (10)
1. the menu that suspends automatically move method, it is characterised in that including:
Obtain the element in the electronic whiteboard page and the real-time location coordinates of suspension menu;
According to the described element obtained and the position coordinates of described suspension menu, it is judged that described element whether with described suspension dish
Singly collide;
When colliding, described suspension menu is moved to the position not collided with described element.
2. suspension menu as claimed in claim 1 automatically move method, it is characterised in that described element is a some element;
Element in the described acquisition electronic whiteboard page and the real-time location coordinates of suspension menu, particularly as follows:
Obtain the coordinate of described some element and one group of coordinate to angular vertex of described suspension menu.
3. suspension menu as claimed in claim 1 automatically move method, it is characterised in that described element is region element;
Element in the described acquisition electronic whiteboard page and the real-time location coordinates of suspension menu, particularly as follows:
Obtain one group of coordinate to angular vertex of described region element and one group of coordinate to angular vertex of described suspension menu.
4. suspension menu as claimed in claim 1 automatically move method, it is characterised in that described according to the described unit obtained
Plain and the position coordinates of described suspension menu, it is judged that whether described element collides with described suspension menu, particularly as follows:
According to the described element obtained and the position coordinates of described suspension menu, it is judged that described element and described suspension menu it
Between distance whether less than the collision spacing value preset;The most then judge that described element collides with described suspension menu;If
No, then judge that described element does not collides with described suspension menu.
5. the suspension menu as described in any one of Claims 1 to 4 automatically move method, it is characterised in that described occur
During collision, described suspension menu is moved to the position not collided with described element, including:
When described element, to be positioned at the left side of the described electronic whiteboard page half side, and the right of described suspension menu have be available for described
During the page space that suspension menu moves, described suspension menu is moved to right;
When described element, to be positioned at the right side of the described electronic whiteboard page half side, and the left of described suspension menu have be available for described
During the page space that suspension menu moves, described suspension menu is moved to left;
When described element is positioned at the upper half side of the described electronic whiteboard page, and the lower section of described suspension menu have be available for described
During the page space that suspension menu moves, described suspension menu is moved down;
Under described element is positioned at the described electronic whiteboard page half side, and the top of described suspension menu have be available for described
During the page space that suspension menu moves, will move on described suspension menu.
6. the automatic mobile device of the menu that suspends, it is characterised in that including:
Coordinate obtaining module, for obtaining the element in the electronic whiteboard page and the real-time location coordinates of suspension menu;
Collision detection module, for according to the described element obtained and the position coordinates of described suspension menu, it is judged that described unit
Whether element collides with described suspension menu;
Menu mobile module, for when colliding, moves described suspension menu to not colliding with described element
Position.
7. the automatic mobile device of suspension menu as claimed in claim 6, it is characterised in that described element is some element;
Described coordinate obtaining module includes the first coordinate acquiring unit, for obtaining the coordinate of described some element and described suspension
One group of coordinate to angular vertex of menu.
8. the automatic mobile device of suspension menu as claimed in claim 6, it is characterised in that described element is region element;
Described coordinate obtaining module includes the second coordinate acquiring unit, for obtaining one group of described region element to angular vertex
Coordinate and one group of coordinate to angular vertex of described suspension menu.
9. the automatic mobile device of suspension menu as claimed in claim 6, it is characterised in that described collision detection module bag
Include:
Collision detection unit, for according to the described element obtained and the position coordinates of described suspension menu, it is judged that described unit
Whether the distance between plain and described suspension menu is less than the collision spacing value preset;The most then judge that described element is with described
Suspension menu collides;If it is not, then judge that described element does not collides with described suspension menu.
10. the suspension menu as described in any one of claim 6~9 automatically move method, it is characterised in that described menu move
Dynamic model block includes:
Shift cells right, half side for being positioned at a left side for the described electronic whiteboard page when described element, and the right side of described suspension menu
Side has when being available for page space that described suspension menu moves, is moved to right by described suspension menu;
Shift cells left, half side for being positioned at the right side of the described electronic whiteboard page when described element, and a left side for described suspension menu
Side has when being available for page space that described suspension menu moves, is moved to left by described suspension menu;
Shift cells down, under described element is positioned at the upper half side of the described electronic whiteboard page, and described suspension menu
Side has when being available for page space that described suspension menu moves, is moved down by described suspension menu;
Shift cells up, for half side under described element is positioned at the described electronic whiteboard page, and described suspension menu is upper
Side has when being available for page space that described suspension menu moves, will move on described suspension menu.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610513736.8A CN106201494A (en) | 2016-06-30 | 2016-06-30 | Automatic moving method and device for floating menu |
PCT/CN2016/113331 WO2018000786A1 (en) | 2016-06-30 | 2016-12-30 | Method and device for automatically moving suspended menu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610513736.8A CN106201494A (en) | 2016-06-30 | 2016-06-30 | Automatic moving method and device for floating menu |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106201494A true CN106201494A (en) | 2016-12-07 |
Family
ID=57463049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610513736.8A Pending CN106201494A (en) | 2016-06-30 | 2016-06-30 | Automatic moving method and device for floating menu |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106201494A (en) |
WO (1) | WO2018000786A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018000786A1 (en) * | 2016-06-30 | 2018-01-04 | 广州视睿电子科技有限公司 | Method and device for automatically moving suspended menu |
CN108762628A (en) * | 2018-04-23 | 2018-11-06 | 广州视源电子科技股份有限公司 | Page element mobile display method and device, terminal equipment and storage medium |
CN110968291A (en) * | 2018-09-29 | 2020-04-07 | 中国移动通信集团浙江有限公司 | Method and device for adjusting application program function menu based on optimal tree |
CN112882775A (en) * | 2019-11-29 | 2021-06-01 | 北京京东尚科信息技术有限公司 | Method and device for self-adaptive adjustment of page template |
CN114253433A (en) * | 2020-09-24 | 2022-03-29 | 荣耀终端有限公司 | Dynamic element control method, electronic device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104025005A (en) * | 2012-01-18 | 2014-09-03 | 松下电器产业株式会社 | Display device and display method |
CN104731454A (en) * | 2015-03-31 | 2015-06-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104793883A (en) * | 2015-03-26 | 2015-07-22 | 广州视睿电子科技有限公司 | Method and system for processing writing area of touch screen |
CN105005430A (en) * | 2015-07-17 | 2015-10-28 | 深圳市金立通信设备有限公司 | Window display method and terminal |
CN105302408A (en) * | 2014-06-24 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Method and apparatus for adjusting position of hover button and terminal |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101315586B (en) * | 2008-07-21 | 2013-01-09 | 常州迪锐特电子科技有限公司 | Electronic pen for interactive electronic white board and interaction control method thereof |
CN202870746U (en) * | 2012-09-12 | 2013-04-10 | 杭州喜马拉雅信息科技有限公司 | Interactive wireless touch electronic pen and white board system |
CN102999232A (en) * | 2012-11-17 | 2013-03-27 | 武汉市腾亚科技有限公司 | Imitated mouse interaction method for implementing oversize interactive electronic white board |
KR101380898B1 (en) * | 2013-11-28 | 2014-04-01 | 주식회사 가온소프트 | Method of providing real-time web-whiteboard under multi-platform environment, and computer-readable recording medium for the same |
CN104793838B (en) * | 2014-01-20 | 2019-08-27 | 南京中兴软件有限责任公司 | A kind of method and device for realizing the display that suspends |
CN106201494A (en) * | 2016-06-30 | 2016-12-07 | 广州视睿电子科技有限公司 | Automatic moving method and device for floating menu |
-
2016
- 2016-06-30 CN CN201610513736.8A patent/CN106201494A/en active Pending
- 2016-12-30 WO PCT/CN2016/113331 patent/WO2018000786A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104025005A (en) * | 2012-01-18 | 2014-09-03 | 松下电器产业株式会社 | Display device and display method |
CN105302408A (en) * | 2014-06-24 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Method and apparatus for adjusting position of hover button and terminal |
CN104793883A (en) * | 2015-03-26 | 2015-07-22 | 广州视睿电子科技有限公司 | Method and system for processing writing area of touch screen |
CN104731454A (en) * | 2015-03-31 | 2015-06-24 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105005430A (en) * | 2015-07-17 | 2015-10-28 | 深圳市金立通信设备有限公司 | Window display method and terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018000786A1 (en) * | 2016-06-30 | 2018-01-04 | 广州视睿电子科技有限公司 | Method and device for automatically moving suspended menu |
CN108762628A (en) * | 2018-04-23 | 2018-11-06 | 广州视源电子科技股份有限公司 | Page element mobile display method and device, terminal equipment and storage medium |
CN110968291A (en) * | 2018-09-29 | 2020-04-07 | 中国移动通信集团浙江有限公司 | Method and device for adjusting application program function menu based on optimal tree |
CN110968291B (en) * | 2018-09-29 | 2023-08-15 | 中国移动通信集团浙江有限公司 | Method and device for adjusting function menu of application program based on optimal tree |
CN112882775A (en) * | 2019-11-29 | 2021-06-01 | 北京京东尚科信息技术有限公司 | Method and device for self-adaptive adjustment of page template |
CN114253433A (en) * | 2020-09-24 | 2022-03-29 | 荣耀终端有限公司 | Dynamic element control method, electronic device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018000786A1 (en) | 2018-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201494A (en) | Automatic moving method and device for floating menu | |
US9747018B2 (en) | Apparatus and method for controlling object | |
US9122353B2 (en) | Kind of multi-touch input device | |
CN100535928C (en) | System and method for detecting a hand-drawn object in electronic ink input | |
CN104050709B (en) | A kind of three dimensional image processing method and electronic equipment | |
CN106575150A (en) | Identifying gestures using motion data | |
WO2017027123A1 (en) | Robot with awareness of users and environment for use in educational applications | |
CN105164731A (en) | Mapping augmented reality experience to various environments | |
US8979652B1 (en) | Natural movement in a virtual environment | |
CN104992146B (en) | A kind of method and apparatus for recognition of face | |
CN105531756A (en) | Information processing device, information processing method, and computer program | |
JP5861710B2 (en) | Portable electronic device and key display program | |
US20140298161A1 (en) | Method, apparatus, and terminal device for displaying multiple input boxes in a web page | |
JP2016532211A (en) | Extending the digital representation of the physical plane | |
CN111462339A (en) | Display method and device in augmented reality, medium and electronic equipment | |
CN105183538B (en) | A kind of information processing method and electronic equipment | |
CN106104456A (en) | Messaging device, information processing method and message handling program | |
CN106297540B (en) | The method for drafting and system of complex network topologies figure point element annotation are carried out based on browser | |
CN111382643B (en) | Gesture detection method, device, equipment and storage medium | |
CN105468200B (en) | A kind of method, apparatus and fingerprint equipment of fingerprint touch-control | |
CN105096355A (en) | Image processing method and system | |
CN110647821A (en) | Method and device for object identification by image recognition | |
CN108764344A (en) | A kind of method, apparatus and storage device based on limb recognition card | |
CN106886259A (en) | The terminal of shatter-resistant and the method for terminal shatter-resistant | |
CN108989681A (en) | Panorama image generation 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |