Embodiment
Below with the mode of embodiment the present invention program is set forth in detail.
Embodiment one:
As shown in Figure 2, be the schematic flow sheet of the method for tracking and displaying embodiment one of on-screen menu of the present invention, it comprises step:
Step S101: the physical size of reading displayed equipment, according to said physical size and preset dividing mode said display device is carried out area dividing, and preserve the position coordinates scope of divided regions, get into step S102;
Step S102: receive and identify the preset kind mouse information, and the position coordinates of the mouse when obtaining to receive this preset kind mouse information, get into step S103;
Step S103: according to the position coordinates scope at said position coordinates place, confirm the target area at said position coordinates place, get into step S104;
Step S104: the preset primary importance place that on-screen menu is presented at said target area.
According to the scheme in the present embodiment; Through display device is carried out area dividing, and when receiving the preset kind mouse information, the regional extent at the position coordinates place of the mouse when receiving this preset kind mouse information; Confirm the target area at this position coordinates place; And on-screen menu is presented at the preset primary importance of this target area, that is to say that it is that mouse position when operating mouse according to the user carries out tracing display to on-screen menu; Thereby made things convenient for the operation of user, improved the efficient of interactive operation the on-screen menu of on-screen menu especially large-screen splicing wall.
Wherein, need to prove that when being applied to large-screen splicing wall, mentioned display device among the above-mentioned S101 is not the wherein some display devices that refer to form this large-screen splicing wall, and is meant whole large-screen splicing wall.
When display device being carried out area dividing,, different dividing mode can be arranged based on different Considerations according to the physical size of display device and preset dividing mode; For present large-screen splicing wall; Can it be divided into four parts of upper and lower, left and right, as shown in Figure 3, for a little bit smaller slightly giant-screen; Also can be divided into is upper and lower two parts; Or left and right two parts, for bigger screen, also can be laterally and/or vertically it to be divided into more umber.In addition, when dividing, can be to carry out equal portions to divide, also can be not carry out equal portions to divide, can adopt the mode of equal portions to divide usually.
In addition, receive and identify the preset kind mouse information, and during the position coordinates of mouse when obtaining to receive this preset kind mouse information, can be through system's mouse event or Touch (touch) incident be received; Wherein, the mouse event here refers to the general incident of passing through mouse action, and Touch (touch) incident refers to the incident through operations such as touch-screens; Because touch screen operation also can be converted into the operation of mouse type; Therefore also can be referred to as is mouse event, in the present invention, describes with the mouse event of being referred to as; Correspondingly, mouse information also is to the general designation through mouse event, Touch (touch) message that incident received.After receiving mouse event; Mouse event is filtered; When receiving the mouse information of preset kind; Can be to existing mouse or touch to drive journey and current coordinate figure is returned in the request of operating system preface, the position coordinates of the mouse when obtaining to receive this preset kind mouse information.
Wherein, above-mentioned preset kind mouse information, according to actual needs; Can be set at various types of mouse information, message, the mouse of for example pressing mouse moves, unclamps the message of mouse (message that the button when being mouse up lifts), consider the preset kind mouse information is set at the message of pressing mouse, when mouse moves; Need the work of treatment of the frequent tracing display of carrying out on-screen menu; May have influence on user's practical operation even, and the preset kind mouse information is being set under the situation of the message of unclamping mouse, represent the completion of an operation and next operation not to begin as yet owing to unclamp the action of mouse; Can not influence user's practical operation; Improve user's experience, therefore, can preferably the preset kind mouse information be set at the message of unclamping mouse.
Subsequently; After the position coordinates of the mouse when obtaining receiving the preset kind mouse information; Each regional position coordinates scope of this position coordinates and preservation is compared; Thereby can learn current mouse is positioned at which zone (being referred to as the target area), and the preset primary importance place that on-screen menu moves to this target area is shown.Wherein, the preset primary importance in each zone, difference can be carried out different settings according to actual needs, can show not influence normal operation should preset primary importance being arranged on this regional edge usually.Display device is divided into four parts of upper and lower, left and right is example, and the setting of the preset primary importance in each zone can be as shown in Figure 3.
Embodiment two
As shown in Figure 4, be the schematic flow sheet of the method for tracking and displaying embodiment two of on-screen menu of the present invention, in the present embodiment; Mainly be with the difference of the foregoing description one; Consider that the user possibly only operate, and in the case, possibly have the action of unclamping mouse repeatedly in a zone in a period of time; If continually on-screen menu is refreshed the experience that demonstration may influence the user in view of the above; Therefore, after judgement obtains the target area, increased and judged whether this target area is the step of the current region of mouse.
As shown in Figure 4, the method in the present embodiment comprises step:
Step S201: the physical size of reading displayed equipment, according to said physical size and preset dividing mode said display device is carried out area dividing, and preserve the position coordinates scope of divided regions, get into step S202;
Step S202: receive and identify the preset kind mouse information, and the position coordinates of the mouse when obtaining to receive this preset kind mouse information, get into step S203;
Step S203: according to the position coordinates scope at said position coordinates place, confirm the target area at said position coordinates place, get into step S204;
Step S204: whether the zone of judging the current place of on-screen menu is this target area, if, then the demonstration of on-screen menu is not changed, if not, then get into step S205;
Step S205: the preset primary importance place that on-screen menu is presented at said target area.
Identical in other technologies characteristic in the present embodiment and the foregoing description one do not repeat them here.
Embodiment three
As shown in Figure 5, be the schematic flow sheet of the method for tracking and displaying embodiment three of on-screen menu of the present invention, in the present embodiment; Mainly be with the difference of the foregoing description one, consider that the user is when some region operations, in some cases; Possibly operate at first predetermined position or its borderline region in the zone of setting; In this case, if on-screen menu is continued in this regional extent, to show and will certainly user's operation be impacted, thereby through setting the second new predeterminated position; On-screen menu is moved to this second predeterminated position, to improve user's experience.
As shown in Figure 5, the method in the present embodiment comprises step:
Step S301: the physical size of reading displayed equipment, according to said physical size and preset dividing mode said display device is carried out area dividing, and preserve the position coordinates scope of divided regions, get into step S302;
Step S302: receive and identify the preset kind mouse information, and the position coordinates of the mouse when obtaining to receive this preset kind mouse information, get into step S303;
Step S303: according to the position coordinates scope at said position coordinates place, confirm the target area at said position coordinates place, get into step S304;
Step S304: judge whether said position coordinates is positioned within the critical range of preset primary importance of this target area, if, get into step S305, if not, get into step S306;
Step S305: the preset second place place that on-screen menu is presented at said target area;
Step S306: the preset primary importance place that on-screen menu is presented at said target area.
Wherein, The critical range of above-mentioned preset primary importance; Can be meant this preset primary importance scope of living in itself, also can be to have comprised this preset primary importance and the part that should preset the outward extending scope of primary importance certainly simultaneously, and outward extending scope can carry out freely setting as required.
Identical in other technologies characteristic in the present embodiment and the foregoing description one do not repeat them here.
Embodiment four
As shown in Figure 6; Be the schematic flow sheet of the method for tracking and displaying embodiment four of on-screen menu of the present invention, in the present embodiment, mainly include: one of which, consider that the user possibly only operate in a period of time in a zone with the difference of the foregoing description one; In the case; Possibly have the action of unclamping mouse repeatedly, if continually on-screen menu is refreshed the experience that demonstration may influence the user in view of the above, therefore; After judgement obtains the target area, increased and judged whether this target area is the step of the current region of mouse; Two, consider that the user is when some region operations; In some cases, possibly operate in first predetermined position in the zone of setting, in this case; If on-screen menu is continued in this regional extent, to show and will certainly user's operation be impacted; Thereby, on-screen menu is moved to this second predeterminated position through setting the second new predeterminated position, to improve user's experience.
As shown in Figure 6, the method for tracking and displaying of the on-screen menu in the present embodiment comprises step:
Step S401: the physical size of reading displayed equipment, according to said physical size and preset dividing mode said display device is carried out area dividing, and preserve the position coordinates scope of divided regions, get into step S402;
Step S402: receive and identify the preset kind mouse information, and the position coordinates of the mouse when obtaining to receive this preset kind mouse information, get into step S403;
Step S403: according to the position coordinates scope at said position coordinates place, confirm the target area at said position coordinates place, get into step S404;
Step S404: whether the zone of judging the current place of on-screen menu is this target area, if, get into step S405, if not, get into step S406;
Step S405: judge whether said position coordinates is positioned within the critical range of preset primary importance of this target area, if not, gets into step S407, if get into step S408;
Step S406: judge whether said position coordinates is positioned within the critical range of preset primary importance of this target area, if, get into step S408, if not, get into step S409;
Step S407: the demonstration to this on-screen menu does not change, i.e. moving screen menu not;
Step S408: the preset second place place that on-screen menu is presented at said target area;
Step S409: the preset primary importance place that on-screen menu is presented at said target area.
Wherein, The critical range of above-mentioned preset primary importance; Can be meant this preset primary importance scope of living in itself, also can be to have comprised this preset primary importance and the part that should preset the outward extending scope of primary importance certainly simultaneously, and outward extending scope can carry out freely setting as required.
Identical in other technologies characteristic in the present embodiment and the foregoing description one do not repeat them here.
According to the method for tracking and displaying of the on-screen menu of the invention described above, the present invention also provides a kind of tracing display device of on-screen menu.As shown in Figure 7, be the structural representation of the tracing display device embodiment of on-screen menu of the present invention, it includes:
Area dividing unit 701 is used for the physical size of reading displayed equipment, according to said physical size and preset dividing mode said display device is carried out area dividing, and preserves the position coordinates scope of divided regions;
Position units 702 is used to receive and identify the mouse up action message of mouse action, and the position coordinates of the mouse when obtaining to receive this mouse up action message;
Regional determination unit 703 is used for the position coordinates scope according to said position coordinates place, confirms the target area at said position coordinates place;
Menu mobile unit 704 is used for the target area confirmed according to regional determination unit 703, on-screen menu is presented at the preset primary importance place of said target area.
According to the scheme in the present embodiment; Through display device is carried out area dividing, and when receiving the preset kind mouse information, the regional extent at the position coordinates place of the mouse when receiving this preset kind mouse information; Confirm the target area at this position coordinates place; And on-screen menu is presented at the preset primary importance of this target area, that is to say that it is that mouse position when operating mouse according to the user carries out tracing display to on-screen menu; Thereby made things convenient for the operation of user, improved the efficient of interactive operation the on-screen menu of on-screen menu especially large-screen splicing wall.
Wherein, area dividing unit 701 is when carrying out area dividing according to the physical size of display device and preset dividing mode to display device, based on different Considerations; Different dividing mode can be arranged,, can it be divided into four parts of upper and lower, left and right for present large-screen splicing wall; As shown in Figure 3; For a little bit smaller slightly giant-screen, also can be divided into is upper and lower two parts, or left and right two parts; For the screen below bigger, also can be laterally and/or vertically it to be divided into more umber.In addition, when dividing, can be to carry out equal portions to divide, also can be not carry out equal portions to divide, generally, the mode that can adopt equal portions to divide.
Position units 702 receive and identify the preset kind mouse information, and during the position coordinates of mouse when obtaining to receive this preset kind mouse information; Can be through system's mouse event or Touch (touch) incident be received; Wherein, the mouse event here refers to the general incident of passing through mouse action, and Touch (touch) incident refers to the incident through operations such as touch-screens; Because touch screen operation also can be converted into the operation of mouse type; Therefore also can be referred to as is mouse event, in the present invention, describes with the mouse event of being referred to as; Correspondingly, mouse information also is to the general designation through mouse event, Touch (touch) message that incident received.After receiving mouse event; Mouse event is filtered; When receiving the mouse information of preset kind; Can be to existing mouse or touch to drive journey and current coordinate figure is returned in the request of operating system preface, the position coordinates of the mouse when obtaining to receive this preset kind mouse information.
Wherein, above-mentioned preset kind mouse information, according to actual needs; Can be set at various types of mouse information, message, the mouse of for example pressing mouse moves, unclamps the message of mouse (message that the button when being mouse up lifts), consider the preset kind mouse information is set at the message of pressing mouse, when mouse moves; Need the work of treatment of the frequent tracing display of carrying out on-screen menu; May have influence on user's practical operation even, and the preset kind mouse information is being set under the situation of the message of unclamping mouse, represent the completion of an operation and next operation not to begin as yet owing to unclamp the action of mouse; Can not influence user's practical operation; Improve user's experience, therefore, can preferably the preset kind mouse information be set at the message of unclamping mouse.
After the position coordinates of the mouse when position units 702 obtains receiving the preset kind mouse information; Each regional position coordinates scope of this position coordinates and preservation is compared in regional determination unit 703, thereby can learn current mouse is positioned at which zone (being referred to as the target area).
In addition, the preset primary importance in each zone, difference can be carried out different settings according to actual needs, usually can be with should preset primary importance being arranged on this regional edge, not influence normal operation demonstration.Display device is divided into four parts of upper and lower, left and right is example, and the setting of the preset primary importance in each zone can be as shown in Figure 3.
Wherein, menu mobile unit 704 is when moving on-screen menu, and concrete move mode can be gone into respectively described in each embodiment of method for tracking and displaying of on-screen menu of the invention described above.
A kind of preferred embodiment in, above-mentioned menu mobile unit 704 judges whether the current region of on-screen menu is said target area, and in result of determination for not the time, on-screen menu is presented at the said preset primary importance place of said target area.
In another preferred embodiment; Above-mentioned menu mobile unit 704 judges whether said position coordinates is positioned within the critical range of preset primary importance of said target area; And in result of determination for not the time; On-screen menu is presented at the said preset primary importance place of said target area, when being, said on-screen menu is presented at the preset second place place of said target area in result of determination.
In a kind of embodiment of the best; Above-mentioned menu mobile unit 704 judges whether the current region of on-screen menu is said target area: when being said target area in the current region of on-screen menu; Further judge whether said position coordinates is positioned within the critical range of preset primary importance of current region, if said on-screen menu is presented at the preset second place place of said target area; If not, do not move the display position of said on-screen menu; When the current region of on-screen menu is not said target area; Further judge whether said position coordinates is positioned within the critical range of preset primary importance of said target area; If not; Get into and said on-screen menu is presented at the step at the preset primary importance place of said target area, if said on-screen menu is presented at the preset second place place of said target area.
Wherein, The critical range of above-mentioned preset primary importance; Can be meant this preset primary importance scope of living in itself, also can be to have comprised this preset primary importance and the part that should preset the outward extending scope of primary importance certainly simultaneously, and outward extending scope can carry out freely setting as required.
Above-described embodiment of the present invention does not constitute the qualification to protection domain of the present invention.Any modification of within spirit of the present invention and principle, being done, be equal to replacement and improvement etc., all should be included within the claim protection domain of the present invention.