CN103616965A - Method for controlling menus on basis of spatial positioning equipment - Google Patents

Method for controlling menus on basis of spatial positioning equipment Download PDF

Info

Publication number
CN103616965A
CN103616965A CN201310598438.XA CN201310598438A CN103616965A CN 103616965 A CN103616965 A CN 103616965A CN 201310598438 A CN201310598438 A CN 201310598438A CN 103616965 A CN103616965 A CN 103616965A
Authority
CN
China
Prior art keywords
positioning equipment
menu
coordinate information
point coordinate
definite
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
Application number
CN201310598438.XA
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201310598438.XA priority Critical patent/CN103616965A/en
Publication of CN103616965A publication Critical patent/CN103616965A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a method and a device for controlling menus on the basis of spatial positioning equipment. The method and the device have the advantages that a movement direction of the positioning equipment can be determined only by the aid of starting point coordinate information and finishing point coordinate information of the positioning equipment when a movement event of the positioning equipment is detected, then a selection cursor of a menu can be controlled according to preset jump parameters, and jumps from a current menu option to a target menu option according to the determined movement direction without accurately acquiring location information of the positioning equipment, a movement distance and a movement direction can be generated according to the determined position information, and accordingly a menu control procedure is simple and accurate.

Description

Menu control method based on space orientation equipment
Technical field
The present invention relates to remote control technology field, relate in particular to a kind of menu control method based on space orientation equipment.
Background technology
When terminal is controlled in prior art, generally call the menu in terminal and realize corresponding control by the option in telepilot choice menus, when carrying out the selection of menu option, user often needs repeatedly just can choose the needed option of user by the directionkeys of telepilot, and control procedure is loaded down with trivial details.For addressing the above problem, prior art proposes to adopt empty mouse to carry out the scheme of control terminal, mobile empty mouse can be by cursor movement to menu item to be selected, but empty mouse selects to need accurate space orientation, the anti-light interference performance of existing sterically defined light engine is low, easily there is deviation and cause cursor to shake the situation that even occurs cursor misregister, not accurate enough to the control of menu.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of menu control method based on space orientation equipment, is intended to improve the accuracy to menu control.
The present invention proposes the menu control method based on space orientation equipment, comprising:
When detecting the space moving event of positioning equipment, determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detecting;
According to described starting point coordinate information and terminal point coordinate information, determine the moving direction of described positioning equipment;
According to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
Preferably, when detecting the space moving event of positioning equipment, the method comprises:
Determine starting point coordinate information and terminal point coordinate information and the described space moving event time interval of positioning equipment described in the space moving event detecting;
According to described starting point coordinate information and terminal point coordinate information, determine the moving direction of described positioning equipment, and according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting;
According to definite redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
Preferably, when detecting the space moving event of positioning equipment, the method comprises:
Determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detecting;
According to described starting point coordinate information and terminal point coordinate information, determine air line distance and moving direction that described positioning equipment moves;
According to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting;
According to definite redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
Preferably, the mapping relations of the default air line distance of described basis and redirect parameter, determine that the step of the corresponding redirect parameter of space moving event detecting replaces with:
If definite air line distance is more than or equal to the first pre-set threshold value,, according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting.
Preferably, after the step of the described moving direction of determining described positioning equipment according to described starting point coordinate information and terminal point coordinate information, the method also comprises:
Angle between the desirable moving direction of the described positioning equipment of determining the moving direction of described positioning equipment and presetting;
If definite angle is less than or equal to the second pre-set threshold value, according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
The present invention also proposes a kind of menu control device based on space orientation equipment, comprising:
Determination module, for when detecting the space moving event of positioning equipment, determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detect, and the moving direction of determining described positioning equipment according to described starting point coordinate information and terminal point coordinate information;
Control module, for selecting cursor according to default redirect parameter Control-Menu, jumps to target menu option according to definite moving direction by the current set of menu option.
Preferably, described determination module is also for when detecting the space moving event of positioning equipment, determine starting point coordinate information and terminal point coordinate information and the described space moving event time interval of positioning equipment described in the space moving event detecting, and the moving direction of determining described positioning equipment according to described starting point coordinate information and terminal point coordinate information, and according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting; Described control module also, for selecting cursor according to definite redirect parameter Control-Menu, jumps to target menu option according to definite moving direction by the current set of menu option.
Preferably, described determination module is also for when detecting the space moving event of positioning equipment, determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detecting, and according to described starting point coordinate information and terminal point coordinate information, determine air line distance and moving direction that described positioning equipment moves, and according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting; Described control module is selected cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jumps to target menu option.
Preferably, if described control module is also more than or equal to the first pre-set threshold value for definite air line distance,, according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting.
Preferably, described determination module is also for determining the angle between the moving direction of described positioning equipment and the desirable moving direction of the described positioning equipment of presetting; If described control module is also less than or equal to the second pre-set threshold value for definite angle, according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
The menu control method based on space orientation equipment and device that the present invention proposes, when detecting the moving event of positioning equipment, only need to determine according to the starting point coordinate information of positioning equipment and terminal point coordinate information the moving direction of positioning equipment, then according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option, and need not the accurate positional information that must obtain positioning equipment, according to definite positional information, generate displacement and direction, control procedure to menu is more succinct, and more accurate.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that the present invention is based on menu control method first embodiment of space orientation equipment;
Fig. 2 is the schematic flow sheet that the present invention is based on menu control method second embodiment of space orientation equipment;
Fig. 3 is the schematic flow sheet that the present invention is based on menu control method the 3rd embodiment of space orientation equipment;
Fig. 4 is the schematic flow sheet that the present invention is based on menu control method the 4th embodiment of space orientation equipment;
Fig. 5 is the schematic flow sheet that the present invention is based on menu control method the 5th embodiment of space orientation equipment;
Fig. 6 is the structural representation that the present invention is based on the menu control device preferred embodiment of space orientation equipment;
Fig. 7 is the menu structure schematic diagram of menu of the present invention while being disc.
The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Below in conjunction with drawings and the specific embodiments, with regard to technical scheme of the present invention, be described further.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is the schematic flow sheet that the present invention is based on menu control method first embodiment of space orientation equipment.
The present embodiment proposes a kind of menu control method based on space orientation equipment, comprising:
Step S10, when detecting the space moving event of positioning equipment, determines starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detecting;
This positioning equipment can be sky mouse, space orientation module is set on empty mouse empty mouse is positioned, and not only can realize positioning function and locator data is sent to connected terminal, also can be to terminal sending controling instruction.It is only this programme one specific embodiment that positioning equipment is set to sky mouse, and positioning equipment is not only defined as sky mouse.Space moving event comprises the process that the coordinate information of positioning equipment changes and changes to stopping, when user's moving positioning device, to having start position and final position, this start position and final position are respectively to there being coordinate information, the start position that positioning equipment gets and final position be respectively to there being coordinate information to send to connected terminal, i.e. the terminal at controlled menu place.
Step S20, determines the moving direction of described positioning equipment according to described starting point coordinate information and terminal point coordinate information;
Starting point coordinate information and the terminal point coordinate information of the menu in terminal and positioning equipment adopt identical plane coordinate system, the plane and straight line generating according to the starting point coordinate information getting and terminal point coordinate information and the relative position relation of menu, and the position of Origin And Destination in coordinate system, determine the moving direction of positioning equipment, be the direction that menu setecting cursor will move, concrete deterministic process is as follows:
Starting point is set to A point, terminal is set to B point, using A point as initial point, take horizontal direction as X-axis, take vertical direction as Y-axis, the position data of ordering by B point and A is got difference and B point location is arrived to the corresponding position of coordinate axis, and calculate the line that A point orders to B and can determine the moving direction of positioning equipment with respect to the angle of X-axis positive axis, for example, the line that A point is ordered to B is acute angle with respect to the angle of X-axis positive axis, illustrates that positioning equipment rotates counterclockwise.
Step S30, selects cursor according to default redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jumps to target menu option.
The redirect parameter of predeterminable menu setecting cursor, this redirect parameter is the item number of the menu that differs between the current set of menu item and target menu item, for example redirect parameter is 2, menu setecting cursor needs 2 of redirects, if the current set of menu item is first the 3rd menu of the definite moving direction of target menu Xiang Weixiang.When detecting the space moving event of positioning equipment, can select cursor to jump to target menu option according to default redirect parameter Control-Menu, when terminal detecting user mobile space positioning equipment, Control-Menu is selected the default parameter (default item number) of cursor redirect, convenient and swift, need not calculate exactly the distance that cursor need to move according to the positional information of positioning equipment.
Menu can be the various shapes such as disc, strip in the present embodiment, be not limited to the menu of a certain shape, for example, when menu is disc, can can determine that menu setecting cursor moves or counterclockwise moves to clockwise direction according to the starting point coordinate information of mobile device and terminal point coordinate information, when menu is strip, can determine that menu setecting cursor moves up or down according to the starting point coordinate information of mobile device and terminal point coordinate information.Confirmation button can be set on this positioning equipment, when receiving the confirmation instruction that positioning equipment is sent out, by Picture switch, be the corresponding information of menu item of menu setecting cursor indication, or display menu is selected the corresponding Submenu Items of menu item of cursor indication, when menu is disc, can generate in the periphery of master menu the disc submenu with the concentric setting of master menu, this submenu also can otherwise show and be defined in such scheme.
The menu control method based on space orientation equipment that the present embodiment proposes, when detecting the moving event of positioning equipment, only need to determine according to the starting point coordinate information of positioning equipment and terminal point coordinate information the moving direction of positioning equipment, then according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option, and need not the accurate positional information that must obtain positioning equipment, according to definite positional information, generate displacement and direction, control procedure to menu is more succinct, and more accurate.
With reference to Fig. 2, Fig. 2 is the schematic flow sheet that the present invention is based on menu control method second embodiment of space orientation equipment.
Based on the first embodiment, propose the present invention is based on menu control method second embodiment of space orientation equipment, in the present embodiment, when detecting the space moving event of positioning equipment, the method comprises:
Step 40, starting point coordinate information and terminal point coordinate information and the described space moving event time interval of positioning equipment described in definite space moving event detecting;
Step 50, determines the moving direction of described positioning equipment according to described starting point coordinate information and terminal point coordinate information, and according to the mapping relations of Preset Time interval and redirect parameter, determines the corresponding redirect parameter of space moving event detecting;
Step 60, selects cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jumps to target menu option.
The menu of take describes as disc as example, can obtain in advance the one week time used of user's rotational positioning equipment, with the item number of the time getting divided by disc menu, obtain the required time of menu item of redirect, redirect parameter (being Jump Menu item number) corresponding to different time interval, the time interval is directly proportional to redirect parameter.As shown in Figure 7, if the one week time used of rotational positioning equipment is 4S, on disc menu, the number of menu item is 8, the required time of menu item of redirect is 0.5S, if the time interval of the space moving event detecting is 2.0S, the item number that needs the menu of redirect is 4, if the menu item at the current place of menu setecting cursor is menu A, after 4 of redirects, target menu position is D menu, can determine exactly the target location of menu setecting cursor according to the space moving event time interval getting.When the time interval and redirect of the space moving event detecting, the required time of a menu item was not directly proportional, the scheme that employing rounds up, the time interval for example getting is 2.2, the ratio that the required time of menu item of this time interval and redirect is 0.5S is 4.2, to be 4 be that redirect parameter is 4 to the item number of the menu of redirect, or be 2.4 when the time interval getting, the ratio that the required time of menu item of this time interval and redirect is 0.5S is 4.8, and to be 5 be that redirect parameter is 5 to the item number of the menu of redirect.In the present embodiment, the mapping relations of the time interval and jitter parameter, also can be the interval mapping relations with jitter parameter of the time interval, and the jitter parameter that for example time interval 2S-2.25S is corresponding is 5S, and the jitter parameter that 2.25S-3S is corresponding is 6S.
The threshold values T1 in the predeterminable time interval in the present embodiment, when the time interval of the space moving event detecting is less than T1, think that the space moving event this time detecting is invalid and do not carry out any operation, when the space moving event detecting when being less than T1, according to the starting point coordinate information of mobile device and terminal point coordinate information, determine the moving direction of described positioning equipment, and according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting, according to definite redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
This programme also can be in the present embodiment, when detecting the coordinate information change of positioning equipment, obtain the starting point of positioning equipment and the positional information of terminal in the default time interval, according to the positional information of the starting point of positioning equipment and terminal, determine the moving direction (as clockwise) of positioning equipment, and select cursor according to default redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jump to target menu option, the time interval that this is default and default redirect parameter correspondence, by that analogy, after menu setecting cursor is jumped to target menu option, if detecting the coordinate information of positioning equipment changes, continue to obtain the starting point of positioning equipment and the positional information of terminal in the default time interval, and according to the positional information of the starting point of positioning equipment and terminal, determine the moving direction of positioning equipment, until the coordinate information of the positioning equipment detecting no longer changes, through redirect repeatedly, menu setecting cursor is jumped to the target location of the required redirect of user.This default time interval is preferably the required time of menu item of redirect, corresponding default redirect parameter is 1, this default redirect parameter was directly proportional to the default time interval, also can be set to the required time N times time of menu item of redirect the default time interval, corresponding default redirect parameter is N item.In this embodiment, the mapping relations of the predeterminable time interval and displacement threshold values, obtaining in the default time interval after the starting point of positioning equipment and the positional information of terminal, obtain the air line distance of location equipment moving in the default time interval, if the air line distance that positioning equipment moves is less than corresponding displacement threshold values of the default time interval, think this time to operate invalidly not respond.
With reference to Fig. 3, Fig. 3 is the schematic flow sheet that the present invention is based on menu control method the 3rd embodiment of space orientation equipment.
Based on the first embodiment, propose the present invention is based on menu control method the 3rd embodiment of space orientation equipment, when detecting the space moving event of positioning equipment, the method comprises in the present embodiment:
Step 70, starting point coordinate information and the terminal point coordinate information of positioning equipment described in definite space moving event detecting;
Step 80, according to described starting point coordinate information and terminal point coordinate information, determines air line distance and moving direction that described positioning equipment moves;
Step 90, according to the mapping relations of default air line distance and redirect parameter, determines the corresponding redirect parameter of space moving event detecting;
Step 100, selects cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jumps to target menu option.
The menu of take describes as disc as example, can obtain in advance the radius of one week formed circular arc of user's rotational positioning equipment, according to the quantity of menu item in the arc radius getting and disc menu, can calculate corresponding air line distance of menu item of redirect, the starting point of positioning equipment and the air line distance of terminal while being a menu item of redirect, the corresponding different redirect parameter of different air line distance is Jump Menu item number, and air line distance is directly proportional to redirect parameter.If the radius of one week formed circular arc of user's rotational positioning equipment is R, menu item quantity in disk menu is N, the computing formula of a corresponding corresponding air line distance L of menu item of redirect is: L=2Rsin(360 °/2N), can calculate the corresponding rotation distance L of different jitter parameter according to this formula, mapping storage in the internal memory of terminal, different redirect parameter corresponding to rotation distance L, after determining the air line distance that positioning equipment moves, according to the mapping relations of the air line distance prestoring and redirect parameter, obtain the redirect parameter of current positioning equipment, and select cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jump to target menu option.When the mapping relations of air line distance and redirect parameter are set, the scope of air line distance can be set corresponding to redirect parameter.
With reference to Fig. 4, Fig. 4 is the schematic flow sheet that the present invention is based on menu control method the 4th embodiment of space orientation equipment.
Menu control method the 4th embodiment that proposes the present invention is based on space orientation equipment based on the 3rd embodiment, replaces with step 100 in the present embodiment:
Step 110, if definite air line distance is more than or equal to the first pre-set threshold value,, according to the mapping relations of default air line distance and redirect parameter, determines the corresponding redirect parameter of space moving event detecting.
In the moving event of predeterminable positioning equipment, the threshold values of the air line distance that positioning equipment moves, when the air line distance moving at positioning equipment is more than or equal to this pre-set threshold value, response user's moving event.When detecting the moving event of positioning equipment, sometimes user is only mobile positioning equipment once, and by running fix equipment, do not carry out Control-Menu, now according to the starting point coordinate information of positioning equipment and terminal point coordinate acquisition of information to the air line distance that moves of positioning equipment less, can think the invalid moving event that does not respond this positioning equipment of the space moving event this time detecting, to guarantee the accuracy to menu control.
In the first embodiment, when detecting the space moving event of positioning equipment, when the starting point coordinate information of positioning equipment described in definite space moving event detecting and terminal point coordinate information, can obtain the air line distance that positioning equipment moves simultaneously, judge whether the air line distance that positioning equipment moves is more than or equal to pre-set threshold value, if the air line distance that positioning equipment moves is more than or equal to the space moving event that pre-set threshold value responds positioning equipment, according to described starting point coordinate information and terminal point coordinate information, determine the moving direction of described positioning equipment, and select cursor according to default redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jump to target menu option, if the air line distance that positioning equipment moves is less than pre-set threshold value, do not respond the space moving event of the positioning equipment detecting, do not do any operation.
With reference to Fig. 5, Fig. 5 is the schematic flow sheet that the present invention is based on menu control method the 5th embodiment of space orientation equipment.
Based on the first embodiment, propose the present invention is based on menu control method the 5th embodiment of space orientation equipment, after step S20, also comprise in the present embodiment:
S120, determines the angle between the moving direction of described positioning equipment and the desirable moving direction of default described positioning equipment;
S130, if definite angle is less than or equal to the second pre-set threshold value, selects cursor according to default redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jumps to target menu option.
In the process of running fix equipment, may on moving direction, there is deviation in user, or user is only that placement positioning equipment or other operate not running fix equipment so that menu is controlled, need the moving direction of comparison positioning equipment and the angle between default ideal orientation, this default ideal orientation is preferably the current set of menu option and according to the formed directions of rays of central point of the target menu option after default redirect parameter redirect, determine deviation when angle between the first ray and the second ray is user's running fix equipment, if this angle is less than or equal to the second pre-set threshold value, according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option, this second pre-set threshold value is preferably 45 °.In the present embodiment, other directions of rays parallel with the first ray is the first directions of rays, and the second directions of rays in like manner.
For example, in strip menu, user's running fix equipment wishes that Control-Menu selection cursor moves up or down, the angle due to the actual moving direction of misoperation positioning equipment and the vertical direction of strip menu is greater than the second pre-set threshold value, does not respond this time operation to guarantee the accuracy to menu control.Or in disc menu, user is clockwise or while rotating counterclockwise positioning equipment, the problem that also may occur rotational variations occurs, at the current set of menu option and be more than or equal to the second pre-set threshold value according to formed second directions of rays of central point of the target menu option after default redirect parameter redirect and the starting point coordinate information of positioning equipment and the angle of formed the first directions of rays of terminal point coordinate information and do not respond this time and operate to guarantee the accuracy to menu control.
In the present invention is based on menu control method second embodiment of space orientation equipment, the mapping relations of the predeterminable space moving event time interval and desirable rotation direction, according to corresponding desirable rotation direction of the time interval of the space moving event of the positioning equipment detecting, at step S40, determine that the starting point coordinate information of positioning equipment described in the space moving event detect and terminal point coordinate information and described space moving event are after the time interval, according to described starting point coordinate information and terminal point coordinate information, determine the moving direction of described positioning equipment, and according to the mapping relations of the pre-set space moving event time interval and desirable rotation direction, determine the desirable rotation direction of positioning equipment, and the angle between the moving direction of definite positioning equipment and desirable rotation direction, if definite angle is more than or equal to the second pre-set threshold value and does not do any response, if definite angle is less than the second pre-set threshold value, according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting, and select cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jump to target menu option.
In the present invention is based on menu control method the 3rd embodiment of space orientation equipment, the mapping relations of the air line distance that predeterminable positioning equipment moves and desirable moving direction, according to the air line distance that in the space moving event detecting, positioning equipment moves, determine corresponding desirable rotation direction, at step S80 according to described starting point coordinate information and terminal point coordinate information, after determining the air line distance and moving direction that described positioning equipment moves, according to the mapping relations of air line distance and desirable moving direction, determine the desirable moving direction of positioning equipment, and the angle between the moving direction of definite positioning equipment and desirable moving direction, if definite angle is more than or equal to the second pre-set threshold value and does not do any response, if definite angle is less than the second pre-set threshold value, according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting, according to definite redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
With reference to Fig. 6, Fig. 6 is the structural representation that the present invention is based on the menu control device preferred embodiment of space orientation equipment.
The present embodiment proposes a kind of menu control device based on space orientation equipment, comprising:
Determination module 10, for when detecting the space moving event of positioning equipment, determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detect, and the moving direction of determining described positioning equipment according to described starting point coordinate information and terminal point coordinate information;
This positioning equipment can be sky mouse, space orientation module is set on empty mouse to be positioned empty mouse, not only can realize positioning function and locator data is sent to connected terminal, also can be to terminal sending controling instruction, it is only this programme one specific embodiment that positioning equipment is set to sky mouse, and positioning equipment is not only defined as sky mouse.Space moving event comprises the process that the coordinate information of positioning equipment changes and changes to stopping, when user's moving positioning device, to having start position and final position, this start position and final position are respectively to there being coordinate information, the start position that positioning equipment gets and final position be respectively to there being coordinate information to send to connected terminal, i.e. the terminal at controlled menu place.
Starting point coordinate information and the terminal point coordinate information of the menu in terminal and positioning equipment adopt identical plane coordinate system, the plane and straight line that the starting point coordinate information that determination module 10 bases get and terminal point coordinate information generate and the relative position relation of menu, and the position of Origin And Destination in coordinate system, determine the moving direction of positioning equipment, be the direction that menu setecting cursor will move, concrete deterministic process is as follows:
Starting point is set to A point, terminal is set to B point, using A point as initial point, take horizontal direction as X-axis, take vertical direction as Y-axis, the position data of ordering by B point and A is got difference and B point location is arrived to the corresponding position of coordinate axis, and calculate the line that A point orders to B and can determine the moving direction of positioning equipment with respect to the angle of X-axis positive axis, for example, the line that A point is ordered to B is acute angle with respect to the angle of X-axis positive axis, illustrates that positioning equipment rotates counterclockwise.
Control module 20, for selecting cursor according to default redirect parameter Control-Menu, jumps to target menu option according to definite moving direction by the current set of menu option.
The redirect parameter of predeterminable menu setecting cursor, this redirect parameter is the item number of the menu that differs between the current set of menu item and target menu item, for example redirect parameter is 2, menu setecting cursor needs 2 of redirects, if the current set of menu item is first the 3rd menu of the definite moving direction of target menu Xiang Weixiang.When detecting the space moving event of positioning equipment, can select cursor to jump to target menu option according to default redirect parameter Control-Menu, when terminal detecting user mobile space positioning equipment, Control-Menu is selected the default parameter (default item number) of cursor redirect, very convenient quick, need not calculate exactly the distance that cursor need to move according to the positional information of positioning equipment.
Menu can be the various shapes such as disc, strip in the present embodiment, be not limited to the menu of a certain shape, for example, when menu is disc, can can determine that menu setecting cursor moves or counterclockwise moves to clockwise direction according to the starting point coordinate information of mobile device and terminal point coordinate information, when menu is strip, can determine that menu setecting cursor moves up or down according to the starting point coordinate information of mobile device and terminal point coordinate information.Confirmation button can be set on this positioning equipment, when receiving the confirmation instruction that positioning equipment is sent out, by Picture switch, be the corresponding information of menu item of menu setecting cursor indication, or display menu is selected the corresponding Submenu Items of menu item of cursor indication, when menu is disc, can generate in the periphery of master menu the disc submenu with the concentric setting of master menu, this submenu also can otherwise show and be defined in such scheme.
In the present embodiment, when detecting the space moving event of positioning equipment, when the starting point coordinate information of positioning equipment described in definite space moving event detecting and terminal point coordinate information, can obtain the air line distance that positioning equipment moves simultaneously, judge whether the air line distance that positioning equipment moves is more than or equal to pre-set threshold value, if the air line distance that positioning equipment moves is more than or equal to the space moving event that pre-set threshold value responds positioning equipment, according to described starting point coordinate information and terminal point coordinate information, determine the moving direction of described positioning equipment, and select cursor according to default redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jump to target menu option, if the air line distance that positioning equipment moves is less than pre-set threshold value, do not respond the space moving event of the positioning equipment detecting, do not do any operation.
The menu control device based on space orientation equipment that the present embodiment proposes, when detecting the moving event of positioning equipment, only need to determine according to the starting point coordinate information of positioning equipment and terminal point coordinate information the moving direction of positioning equipment, then according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option, and need not the accurate positional information that must obtain positioning equipment, according to definite positional information, generate displacement and direction, control procedure to menu is more succinct, and more accurate.
In the first embodiment of menu control device that the present invention is based on space orientation equipment, described determination module 10 is also for when detecting the space moving event of positioning equipment, determine starting point coordinate information and terminal point coordinate information and the described space moving event time interval of positioning equipment described in the space moving event detecting, and the moving direction of determining described positioning equipment according to described starting point coordinate information and terminal point coordinate information, and according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting, described control module 20 also, for selecting cursor according to definite redirect parameter Control-Menu, jumps to target menu option according to definite moving direction by the current set of menu option.
The menu of take describes as disc as example, can obtain in advance the one week time used of user's rotational positioning equipment, with the item number of the time getting divided by disc menu, obtain the required time of menu item of redirect, the different different redirect parameters of time interval correspondence is Jump Menu item number, and the time interval is directly proportional to redirect parameter.As shown in Figure 7, if the one week time used of rotational positioning equipment is 4S, on disc menu, the number of menu item is 8, the required time of menu item of redirect is 0.5S, if the time interval of the space moving event detecting is 2.0S, the item number that needs the menu of redirect is 4, if the menu item at the current place of menu setecting cursor is menu A, after 4 of redirects, target menu position is D menu, can determine exactly the target location of menu setecting cursor according to the space moving event time interval getting.When the time interval and redirect of the space moving event detecting, the required time of a menu item was not directly proportional, the scheme that employing rounds up, the time interval for example getting is 2.2, the ratio that the required time of menu item of this time interval and redirect is 0.5S is 4.2, to be 4 be that redirect parameter is 4 to the item number of the menu of redirect, or be 2.4 when the time interval getting, the ratio that the required time of menu item of this time interval and redirect is 0.5S is 4.8, and to be 5 be that redirect parameter is 5 to the item number of the menu of redirect.In the present embodiment, the mapping relations that the time interval and jitter parameter arrive, also can be the interval mapping relations with jitter parameter of the time interval, and the jitter parameter that for example time interval 2S-2.25S is corresponding is 5S, and the jitter parameter that 2.25S-3S is corresponding is 6S.
The threshold values T1 in the predeterminable time interval in the present embodiment, when the time interval of the space moving event detecting is less than T1, think that the space moving event this time detecting is invalid and do not carry out any operation, when the space moving event detecting when being less than T1, according to the starting point coordinate information of mobile device and terminal point coordinate information, determine the moving direction of described positioning equipment, and according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting, according to definite redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
In the present embodiment, the mapping relations of the predeterminable space moving event time interval and desirable rotation direction, according to corresponding desirable rotation direction of the time interval of the space moving event of the positioning equipment detecting, determining that the starting point coordinate information of positioning equipment described in the space moving event detect and terminal point coordinate information and described space moving event are after the time interval, according to described starting point coordinate information and terminal point coordinate information, determine the moving direction of described positioning equipment, and according to the mapping relations of the pre-set space moving event time interval and desirable rotation direction, determine the desirable rotation direction of positioning equipment, and the angle between the moving direction of definite positioning equipment and desirable rotation direction, if definite angle is more than or equal to the second pre-set threshold value and does not do any response, if definite angle is less than the second pre-set threshold value, according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting, and select cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jump to target menu option.
This programme also can be in the present embodiment, when detecting the coordinate information change of positioning equipment, obtain the starting point of positioning equipment and the positional information of terminal in the default time interval, according to the positional information of the starting point of positioning equipment and terminal, determine the moving direction (as clockwise) of positioning equipment, and select cursor according to default redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jump to target menu option, the time interval that this is default and default redirect parameter correspondence, by that analogy, after menu setecting cursor is jumped to target menu option, if detecting the coordinate information of positioning equipment changes, continue to obtain the starting point of positioning equipment and the positional information of terminal in the default time interval, and according to the positional information of the starting point of positioning equipment and terminal, determine the moving direction of positioning equipment, until the coordinate information of the positioning equipment detecting no longer changes, through redirect repeatedly, menu setecting cursor is jumped to the target location of the required redirect of user.This default time interval is preferably the required time of menu item of redirect, corresponding default redirect parameter is 1, this default redirect parameter was directly proportional to the default time interval, also can be set to the required time N times time of menu item of redirect the default time interval, corresponding default redirect parameter is N item.In this embodiment, the mapping relations of the predeterminable time interval and displacement threshold values, obtaining in the default time interval after the starting point of positioning equipment and the positional information of terminal, obtain the air line distance of location equipment moving in the default time interval, if the air line distance that positioning equipment moves is less than corresponding displacement threshold values of the default time interval, think this time to operate invalidly not respond.
In the first embodiment of menu control device that the present invention is based on space orientation equipment, described determination module 10 is also for when detecting the space moving event of positioning equipment, determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detecting, and according to described starting point coordinate information and terminal point coordinate information, determine air line distance and moving direction that described positioning equipment moves, and according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting; Described control module 20 is selected cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jumps to target menu option.
The menu of take describes as disc as example, can obtain in advance the radius of one week formed circular arc of user's rotational positioning equipment, according to the quantity of menu item in radius and disc menu, can calculate corresponding air line distance of menu item of redirect, the starting point of positioning equipment and the air line distance of terminal while being a menu item of redirect, the corresponding different redirect parameter of different air line distance is Jump Menu item number, and air line distance is directly proportional to redirect parameter.If the radius of one week formed circular arc of user's rotational positioning equipment is R, menu item quantity in disk menu is N, the computing formula of a corresponding corresponding air line distance L of menu item of redirect is: L=2Rsin(360 °/2N), can calculate the corresponding rotation distance L of different jitter parameter according to this formula, mapping storage in the internal memory of terminal, different redirect parameter corresponding to rotation distance L, after determining the air line distance that positioning equipment moves, according to the mapping relations of the air line distance prestoring and redirect parameter, obtain the redirect parameter of current positioning equipment, and select cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jump to target menu option.When the mapping relations of air line distance and redirect parameter are set, the scope of air line distance can be set corresponding to redirect parameter.
In the present embodiment, the mapping relations of the air line distance that predeterminable positioning equipment moves and desirable moving direction, according to the air line distance that in the space moving event detecting, positioning equipment moves, determine corresponding desirable rotation direction, according to described starting point coordinate information and terminal point coordinate information, after determining the air line distance and moving direction that described positioning equipment moves, according to the mapping relations of air line distance and desirable moving direction, determine the desirable moving direction of positioning equipment, and the angle between the moving direction of definite positioning equipment and desirable moving direction, if definite angle is more than or equal to the second pre-set threshold value and does not do any response, if definite angle is less than the second pre-set threshold value, according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting, according to definite redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
In the first embodiment of menu control device that the present invention is based on space orientation equipment, if described control module 20 is also more than or equal to the first pre-set threshold value for definite air line distance,, according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting.
In the moving event of predeterminable positioning equipment, the threshold values of the air line distance that positioning equipment moves, when the air line distance moving at positioning equipment is more than or equal to this pre-set threshold value, response user's moving event.When detecting the moving event of positioning equipment, sometimes user is only mobile positioning equipment once, and by running fix equipment, do not carry out Control-Menu, now according to the starting point coordinate information of positioning equipment and terminal point coordinate acquisition of information to the air line distance that moves of positioning equipment less, can think the invalid moving event that does not respond this positioning equipment of the space moving event this time detecting, to guarantee the accuracy to menu control.
In the first embodiment of menu control device that the present invention is based on space orientation equipment, described determination module 10 is also for determining the angle between the moving direction of described positioning equipment and the desirable moving direction of the described positioning equipment of presetting; If described control module 20 is also less than or equal to the second pre-set threshold value for definite angle, according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
User may occur that in the process of running fix equipment deviation appears in moving direction, or user is only that placement positioning equipment or other operate not running fix equipment by so that menu is controlled, need the moving direction of comparison positioning equipment and the angle between default ideal orientation, this default ideal orientation is the current set of menu option and according to the formed directions of rays of central point of the target menu option after default redirect parameter redirect, determine deviation when angle between the first ray and the second ray is user's running fix equipment, if this angle is less than or equal to the second pre-set threshold value, according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option, this second pre-set threshold value is preferably 45 °.In the present embodiment, other directions of rays parallel with the first ray is the first directions of rays, and the second directions of rays in like manner.
For example, in strip menu, user's running fix equipment wishes that Control-Menu selection cursor moves up or down, the angle due to the actual moving direction of misoperation positioning equipment and the vertical direction of strip menu is greater than the second pre-set threshold value, does not respond this time operation to guarantee the accuracy to menu control.Or in disc menu, user is clockwise or while rotating counterclockwise positioning equipment, the problem that also may occur rotational variations occurs, at the current set of menu option and be more than or equal to the second pre-set threshold value according to formed second directions of rays of central point of the target menu option after default redirect parameter redirect and the starting point coordinate information of positioning equipment and the angle of formed the first directions of rays of terminal point coordinate information and do not respond this time and operate to guarantee the accuracy to menu control.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure transformation that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. the menu control method based on space orientation equipment, is characterized in that, comprising:
When detecting the space moving event of positioning equipment, determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detecting;
According to described starting point coordinate information and terminal point coordinate information, determine the moving direction of described positioning equipment;
According to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
2. method according to claim 1, is characterized in that, when detecting the space moving event of positioning equipment, the method comprises:
Determine starting point coordinate information and terminal point coordinate information and the described space moving event time interval of positioning equipment described in the space moving event detecting;
According to described starting point coordinate information and terminal point coordinate information, determine the moving direction of described positioning equipment, and according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting;
According to definite redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
3. method according to claim 1, is characterized in that, when detecting the space moving event of positioning equipment, the method comprises:
Determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detecting;
According to described starting point coordinate information and terminal point coordinate information, determine air line distance and moving direction that described positioning equipment moves;
According to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting;
According to definite redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
4. method according to claim 3, is characterized in that, the mapping relations of the default air line distance of described basis and redirect parameter determine that the step of the corresponding redirect parameter of space moving event detecting replaces with:
If definite air line distance is more than or equal to the first pre-set threshold value,, according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting.
5. method according to claim 1, is characterized in that, after the step of the described moving direction of determining described positioning equipment according to described starting point coordinate information and terminal point coordinate information, the method also comprises:
Angle between the desirable moving direction of the described positioning equipment of determining the moving direction of described positioning equipment and presetting;
If definite angle is less than or equal to the second pre-set threshold value, according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
6. the menu control device based on space orientation equipment, is characterized in that, comprising:
Determination module, for when detecting the space moving event of positioning equipment, determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detect, and the moving direction of determining described positioning equipment according to described starting point coordinate information and terminal point coordinate information;
Control module, for selecting cursor according to default redirect parameter Control-Menu, jumps to target menu option according to definite moving direction by the current set of menu option.
7. device according to claim 6, it is characterized in that, described determination module is also for when detecting the space moving event of positioning equipment, determine starting point coordinate information and terminal point coordinate information and the described space moving event time interval of positioning equipment described in the space moving event detecting, and the moving direction of determining described positioning equipment according to described starting point coordinate information and terminal point coordinate information, and according to the mapping relations of Preset Time interval and redirect parameter, determine the corresponding redirect parameter of space moving event detecting; Described control module also, for selecting cursor according to definite redirect parameter Control-Menu, jumps to target menu option according to definite moving direction by the current set of menu option.
8. device according to claim 6, it is characterized in that, described determination module is also for when detecting the space moving event of positioning equipment, determine starting point coordinate information and the terminal point coordinate information of positioning equipment described in the space moving event detecting, and according to described starting point coordinate information and terminal point coordinate information, determine air line distance and moving direction that described positioning equipment moves, and according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting; Described control module is selected cursor according to definite redirect parameter Control-Menu, according to definite moving direction, by the current set of menu option, jumps to target menu option.
9. device according to claim 8, it is characterized in that, if described control module is also more than or equal to the first pre-set threshold value for definite air line distance,, according to the mapping relations of default air line distance and redirect parameter, determine the corresponding redirect parameter of space moving event detecting.
10. device according to claim 6, is characterized in that, described determination module is also for determining the angle between the moving direction of described positioning equipment and the desirable moving direction of the described positioning equipment of presetting; If described control module is also less than or equal to the second pre-set threshold value for definite angle, according to default redirect parameter Control-Menu, select cursor, according to definite moving direction, by the current set of menu option, jump to target menu option.
CN201310598438.XA 2013-11-22 2013-11-22 Method for controlling menus on basis of spatial positioning equipment Pending CN103616965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310598438.XA CN103616965A (en) 2013-11-22 2013-11-22 Method for controlling menus on basis of spatial positioning equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310598438.XA CN103616965A (en) 2013-11-22 2013-11-22 Method for controlling menus on basis of spatial positioning equipment

Publications (1)

Publication Number Publication Date
CN103616965A true CN103616965A (en) 2014-03-05

Family

ID=50167668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310598438.XA Pending CN103616965A (en) 2013-11-22 2013-11-22 Method for controlling menus on basis of spatial positioning equipment

Country Status (1)

Country Link
CN (1) CN103616965A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306995A (en) * 2015-12-07 2016-02-03 魅族科技(中国)有限公司 Method and device of controlling terminals
WO2019196947A1 (en) * 2018-04-13 2019-10-17 北京京东尚科信息技术有限公司 Electronic device determining method and system, computer system, and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118131A1 (en) * 2001-02-23 2002-08-29 Yates William Allen Transformer remote control
CN101030322A (en) * 2006-03-02 2007-09-05 三星电子株式会社 Method of controlling movement of graphics object and remote control device using the same
CN101796476A (en) * 2007-09-07 2010-08-04 苹果公司 GUI applications for use with 3D remote controller
CN102566902A (en) * 2010-11-22 2012-07-11 三星电子株式会社 Apparatus and method for selecting item using movement of object
CN102736849A (en) * 2012-04-20 2012-10-17 中兴通讯股份有限公司 Menu layout processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020118131A1 (en) * 2001-02-23 2002-08-29 Yates William Allen Transformer remote control
CN101030322A (en) * 2006-03-02 2007-09-05 三星电子株式会社 Method of controlling movement of graphics object and remote control device using the same
CN101796476A (en) * 2007-09-07 2010-08-04 苹果公司 GUI applications for use with 3D remote controller
CN102566902A (en) * 2010-11-22 2012-07-11 三星电子株式会社 Apparatus and method for selecting item using movement of object
CN102736849A (en) * 2012-04-20 2012-10-17 中兴通讯股份有限公司 Menu layout processing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306995A (en) * 2015-12-07 2016-02-03 魅族科技(中国)有限公司 Method and device of controlling terminals
WO2019196947A1 (en) * 2018-04-13 2019-10-17 北京京东尚科信息技术有限公司 Electronic device determining method and system, computer system, and readable storage medium
US11481036B2 (en) 2018-04-13 2022-10-25 Beijing Jingdong Shangke Information Technology Co., Ltd. Method, system for determining electronic device, computer system and readable storage medium

Similar Documents

Publication Publication Date Title
US9052778B2 (en) Infrared touch screen
CN105594267B (en) The virtual crumbs searched for indoor location road
US20130227419A1 (en) Apparatus and method for switching active application
US9092070B2 (en) Method and apparatus for scrolling a screen in a display apparatus
US20130314320A1 (en) Method of controlling three-dimensional virtual cursor by using portable electronic device
US20160077597A1 (en) Input device and method for inputting operational request
JP6027964B2 (en) POSITION ESTIMATION DEVICE, POSITION ESTIMATION METHOD, AND INTEGRATED CIRCUIT
US20110163981A1 (en) Manipulation direction judgment device, remote manipulation system, manipulation direction judgment method and program
EP3472695B1 (en) Electronic device having a plurality of displays and operating method thereof
EP2583153A1 (en) Methods and apparatuses for gesture based remote control
KR20140055703A (en) Contents sharing method and system
KR102214253B1 (en) Method, system, terminal, and map server for displaying a map
US20220244081A1 (en) Method and apparatus for calibrating joystick and remote control device
US20150279000A1 (en) Display control method, non-temporary recording medium storing display control program, and information processing terminal
US9507436B2 (en) Storage medium having stored thereon information processing program, information processing system, information processing apparatus, and information processing execution method
CN112738886B (en) Positioning method, positioning device, storage medium and electronic equipment
CN106648155B (en) Remote control air mouse anti-shake method and device
CN104317398A (en) Gesture control method, wearable equipment and electronic equipment
CN105786546A (en) Method and device for uninstalling application
EP2451122A2 (en) Mobile device and control method thereof
US20070080939A1 (en) Remote control system, remote controller, information processing apparatus, remote control method, information processing method, and computer program therefor
CN105898016A (en) Application starting method according to position information of mobile device and mobile device
CN103616965A (en) Method for controlling menus on basis of spatial positioning equipment
JP6140980B2 (en) Display device, image display system, image display method, and computer program
CN102508605A (en) Multimode map movement control method and location-based service terminal

Legal Events

Date Code Title Description
PB01 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: 20140305