Display control method and equipment
Technical field
The present invention relates to field of computer technology more particularly to a kind of display control methods and device.
Background technique
Most of additional function (especially Premium Features) can be all included in right mouse button by the application such as similar player at present
Menu does not do default display in player interface.User breathes out menu by right mouse button, then clicks menu item and uses certain
A function.
Due to right mouse button in player interface be it is sightless, the experience accumulation of software can only be used by user,
It is contemplated that operating attachment function with right mouse button.There are many naive users, if failing to recognize that right-click can be found
More functions will lead to these functions for not having the user of this kind of experience, substantially all waste.
Summary of the invention
Technical problem
In view of this, the technical problem to be solved by the present invention is to, how in display interface easily to show various functions, with
So that user easily uses various functions in the display interface.
Solution
In order to solve the above-mentioned technical problem, an embodiment according to the present invention provides a kind of display control method, packet
It includes:
In the display interface in the case where display highlighting, follow the cursor shown on the display interface can make it is pre-
If control is presented in the function that function is presented;
The operation that control is presented in the function is triggered in response to user, is presented on the display interface described in capable of starting
The function that the corresponding function of control is presented in function starts control.
For the above method, in one possible implementation, the cursor is followed to show on the display interface
Control is presented in the function that preset function can be made to present, comprising:
In response to the user to the moving operation of the cursor on the display interface, judge the cursor with it is described
Function is presented whether the distance between control is greater than first threshold;
In the case where the distance is greater than the first threshold, controls the function presentation control and the cursor is followed to exist
It is moved on the display interface.
For the above method, in one possible implementation, the cursor is followed to show on the display interface
Control is presented in the function that preset function can be made to present, further includes:
In the case where the distance is less than or equal to the first threshold, controls the function and control is presented described aobvious
Show that holding position is constant on interface.
For the above method, in one possible implementation, the cursor is followed to show on the display interface
Control is presented in the function that preset function can be made to present, further includes:
In the case where the cursor presents with the function and is less than or equal to second threshold at a distance from control, described aobvious
Show and shows that the function was presented control allows click state on interface.
For the above method, in one possible implementation, show that the function is presented on the display interface
Control allows click state, comprising:
Show that the magnifying state of control is presented in the function on the display interface;Or
Show that the special efficacy state of control is presented in the function on the display interface.
For the above method, in one possible implementation, presented on the display interface described in capable of starting
The function that the corresponding function of control is presented in function starts control, comprising:
Menu as function items of the display comprising function starting control on the display interface.
For the above method, in one possible implementation, presented on the display interface described in capable of starting
The function that the corresponding function of control is presented in function starts control, comprising:
The function starting control is shown with button form on the display interface.
For the above method, in one possible implementation, presented on the display interface described in capable of starting
Function is presented after the function starting control of the corresponding function of control, further includes:
In response to the user to the trigger action of function starting control, function starting control is hidden;Or
In response to the operation that the user removes the cursor from function starting control, the function is started
Control is hidden.
In order to solve the above-mentioned technical problem, according to another embodiment of the present invention, a kind of display control apparatus is provided, is wrapped
It includes:
Display module is followed, in the case where being used for display highlighting in the display interface, follows the cursor in the display
Control is presented in the function that display can be such that preset function presents on interface;
Module is presented in function, for triggering the operation that control is presented in the function in response to user, in the display interface
Upper presentation can start the function starting control that the corresponding function of control is presented in the function.
It is in one possible implementation, described to follow the display module to include: for above equipment
Judging unit, in response to the user on the display interface to the moving operation of the cursor, judgement
The cursor and the function are presented whether the distance between control is greater than first threshold;
Mobile unit is connect with the judging unit, for controlling in the case where the distance is greater than the first threshold
Making the function presentation control follows the cursor to move on the display interface.
It is in one possible implementation, described to follow display module for above equipment further include:
Holding unit is connect with the judging unit, for being less than or equal to the feelings of the first threshold in the distance
Under condition, it is constant to control function presentation control holding position on the display interface.
It is in one possible implementation, described to follow display module for above equipment further include:
Allow click unit, connect with the judging unit, for the cursor and the function presentation control away from
In the case where being less than or equal to second threshold, the function presentation control is shown on the display interface allows click shape
State.
It is in one possible implementation, described that click unit is allowed to be also used in the display for above equipment
Show that the magnifying state of control is presented in the function on interface;Or, showing that control is presented in the function on the display interface
Special efficacy state.
For above equipment, in one possible implementation, the function is presented module and includes:
Menu display unit is used as function items comprising function starting control for showing on the display interface
Menu.
For above equipment, in one possible implementation, the function is presented module and includes:
Button display unit, for showing the function starting control on the display interface with button form.
For above equipment, in one possible implementation, further includes:
First hidden unit, for the trigger action in response to the user to function starting control, by the function
Control can be started to hide;And/or
Second hidden unit, the behaviour for removing the cursor from function starting control in response to the user
Make, function starting control is hidden.
Beneficial effect
The embodiment of the present invention, the function that preset function can be made to present by following cursor to show in the display interface are presented
Control, can should in user's Trigger Function present control operation, in the display interface present can startup function present control
The function of corresponding function starts control, various functions can be easily shown in display interface, so that user easily exists
Various functions are used on display interface.
According to below with reference to the accompanying drawings becoming to detailed description of illustrative embodiments, other feature of the invention and aspect
It is clear.
Detailed description of the invention
Comprising in the description and constitute the attached drawing of part of specification and specification together illustrate it is of the invention
Exemplary embodiment, feature and aspect, and principle for explaining the present invention.
Fig. 1 shows the flow diagram of display control method according to an embodiment of the invention;
Fig. 2 shows the flow diagrams of the step 101 of display control method according to an embodiment of the invention;
Fig. 3 to Fig. 6 shows the exemplary boundary that control is presented in function in display control method according to an embodiment of the invention
Face schematic diagram;
Fig. 7 shows the flow diagram of the step 102 of display control method according to an embodiment of the invention;
Fig. 8 shows the structural schematic diagram of display control apparatus according to an embodiment of the invention.
Fig. 9 shows the structural schematic diagram of display control apparatus according to another embodiment of the present invention.
Figure 10 shows the structural block diagram of the display control apparatus of another embodiment of the present invention.
Specific embodiment
Below with reference to attached drawing various exemplary embodiments, feature and the aspect that the present invention will be described in detail.It is identical in attached drawing
Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details is given in specific embodiment below.
It will be appreciated by those skilled in the art that without certain details, the present invention equally be can be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight purport of the invention.
Embodiment 1
Fig. 1 shows the flow diagram of display control method according to an embodiment of the invention.As shown in Figure 1, the display
Control method mainly may include:
Step 101 in the display interface in the case where display highlighting, follows the cursor to show on the display interface
Control is presented in the function that preset function can be made to present;
Step 102 triggers the operation that control is presented in the function in response to user, and presenting on the display interface can
Start the function starting control that the corresponding function of control is presented in the function.
Specifically, capableing of under the scene of display highlighting on the display interface of terminal device, this implementation can be used
The display control method of example carries out display control.For example, (playing boundary in the desktop of terminal device, the display interface of player
Face), the operation interface of other application etc..
In the present embodiment, it is illustrated by taking the multimedia resources such as player plays video in terminal device as an example,
He repeats no more similar to scene.In general, the display interface in player can be with display highlighting or hiding cursor.Wherein, cursor is logical
It can often be operated by mouse or cursor control panel etc., so cursor is also sometimes referred to as mouse, mouse pointer, mouse
Pointer etc..When user uses mouse action cursor, if mouse is static for a long time, cursor can disappear from display interface, to keep away
Exempt to influence viewing effect;Once in the mobile mouse of display interface, cursor can be displayed on the display interface user again.This field
Technical staff will be understood that in the present embodiment and only be illustrated by taking mouse pointer as an example, but the tool that cursor is shown in display interface
Volume morphing is not limited to mouse pointer, can be according to the personal preference of user or the demand flexible setting of concrete application scene.
In one possible implementation, as shown in Fig. 2, in a step 101, following the cursor in display circle
Control is presented in the function that display can be such that preset function presents on face, can specifically include:
Step 1011, in response to the user on the display interface to the moving operation of the cursor, described in judgement
Cursor and the function are presented whether the distance between control is greater than first threshold;
Step 1012, in the case where the distance is greater than the first threshold, control the function control be presented and follow
The cursor moves on the display interface.
In one possible implementation, in a step 101, the cursor is followed to show energy on the display interface
Control is presented in the function of enough presenting preset function, specifically can also include:
Step 1013, in the case where the distance is less than or equal to the first threshold, control the function and control be presented
Part holding position on the display interface is constant.
The present embodiment can keep the function of right button call out function menu, and when cursor occurs in display interface, in cursor
Near there is function control be presented.For example, it is used for as shown in figure 3, can occur one near mouse pointer
Indicate that the small button of control is presented in function.The concrete shape of button is not limited to circle shown in figure, can have any shape, or
Person is arranged various shapes and selects for user.When the mobile mouse of user, in response to the operation of the mobile mouse of user, terminal device
(or player) can calculate the distance between mouse pointer and button, if mouse pointer is more than certain threshold at a distance from button
It is worth (such as 50 pixels), then controls the button and moved together with mouse pointer, and keep the threshold distance constant, reach the effect followed
Fruit.As shown in figure 4, then keeping the position of the button constant when mouse pointer is less than the threshold value at a distance from the button, being convenient for
User's control mouse pointer can click the button.It is to the threshold value that those skilled in the art, which will be understood that 50 pixels only,
A kind of example, in concrete application scene, the broadcast format supported according to the size of different terminals screen, player, difference
The image quality etc. of broadcasting content, the threshold value can be selected flexibly.
In one possible implementation, as shown in Fig. 2, in a step 101, following the cursor in display circle
On face display can make preset function present function present control, specifically can also include: step 1014, the cursor with
In the case that the distance that control is presented in the function is less than or equal to second threshold, the function is shown on the display interface
Control is presented allows click state.
Wherein, the function presentation control is shown on the display interface allows click state, can specifically include:
Show that the magnifying state of control is presented in the function on the display interface;Or the function is shown on the display interface
The special efficacy state of control is presented.
It for example, should as shown in figure 5, when the hot-zone range of the corresponding button of control is presented in mouse pointer entered function
Button can amplify or present special efficacy, to inform that user's button can be clicked.Wherein, hot-zone range can be and the button
Center has the range of certain distance.It therefore, can be by judging that the distance between the button and mouse pointer judge mouse arrow
Whether head is in the hot-zone range of button.For example, being less than some threshold value (such as 10 picture at a distance from button is between mouse pointer
Element), the hot-zone range that judgement mouse pointer is in button can control button and generate amplification as shown in Figure 5 in this case
Effect, naturally it is also possible to generate other special efficacys, such as the button changes into other shapes, stereoscopic display, discoloration etc..In addition, also
Some necessary text prompts can be provided in display interface, inform that user's button can be clicked.
It should be noted that, those skilled in the art as above although describing second threshold using 10 pixels as example
It is understood that the present invention answer it is without being limited thereto.In fact, user completely can be flexible according to personal preference and/or practical application scene
Set the specific value of second threshold.
In one possible implementation, as shown in fig. 6, in a step 102, presenting on the display interface can
Start the function starting control that the corresponding function of control is presented in the function, can specifically include any one following presentation side
Formula:
Mode one, menu as function items of the display comprising function starting control on the display interface.Such as
Shown in Fig. 6, it includes the menu with many function items which, which starts in control,.For example, in the display interface of player, function
It may include the file played for user's selection operation, to the function items of player or play mode etc. that control, which can be started,.?
It may include function items corresponding to the various functions of the common application of user in the display interface of other application, in order to
User's selection operation.
Mode two with button form shows function starting control on the display interface.In addition to function menu
Except form, function can also be started into control and be arranged to some buttons with specific kinetic, in order to which user selects and grasps
Make.
In one possible implementation, as shown in fig. 7, after step 102, which can also wrap
Include any one following processing step:
The function is started control by step 103, the trigger action for starting control to the function in response to the user
It hides.
Step 104, the operation for removing the cursor from function starting control in response to the user, will be described
Function starts control and hides.
For example, as shown in fig. 6, can be opened if the corresponding button of control is presented in user's click function with call out function
The dynamic corresponding function menu of control, shows a large amount of high-order functions to user.User clicks function items in menu or by mouse
After function menu removal, which can disappear arrow from display interface.As shown in fig. 6, user's click function
Item " being put into desktop ", then player starts the function of being put into desktop, and controls the function menu and hide.Certainly, in addition to clicking
Function items outside hidden function menu, can also hide cursor or other after removing in function menu using right button is clicked
Hiding also can be set a variety of hidings and select for user.
Control is presented in the function that the present embodiment can be such that preset function presents by following cursor to show in the display interface,
Can should in user's Trigger Function present control operation, in the display interface present can startup function present control it is corresponding
The function of function starts control, can easily show the function that various functions are for example hidden by function menu in display interface
Can, so that user easily uses various functions in the display interface.
In addition, realizing that control is presented in function using button in the present embodiment, this can be provided by visual button
Belong to the player menus of right button, which can be mobile with mouse;And when mouse is close to button, button position is fixed, just
It is clicked in user;Button was being moved with mouse-over when upper, and different patterns is presented, to guide user to click;Button meeting
It disappears and disappears with mouse, occur with mouse and occur.Can in the normal aobvious button for not increasing player interface, have no effect on mouse
In the case where the other operations (movement, left button, right button etc.) of target, in a manner of obvious and entertaining, user's high-order function dish is provided
Single entry, hence it is evident that reduce discovery and use cost of the user to high-order function.
Embodiment 2
Fig. 8 shows the structural schematic diagram of display control apparatus according to an embodiment of the invention.As shown in figure 8, the display
Controlling equipment mainly may include:
Display module 81 is followed, in the case where being used for display highlighting in the display interface, follows the cursor described aobvious
Show that control is presented in the function that display can be such that preset function presents on interface;
Module 83 is presented in function, connect with display module 81 is followed, and control is presented for triggering the function in response to user
The operation of part, the function starting control that the corresponding function of control is presented in the function can be started by presenting on the display interface
Part.
The explanation and example that control, function starting control is presented in the present embodiment about cursor, function, may refer to above-mentioned
Associated description in embodiment 1, details are not described herein.
The display control apparatus of the present embodiment can be made by following display module that cursor is followed to show in the display interface
Preset function present function present control, function present module can should in user's Trigger Function present control operation,
The function starting control for capableing of the corresponding function of startup function presentation control is presented on display interface, it can be convenient in display interface
The various functions of display so that user easily in the display interface use various functions.
Fig. 9 shows the structural schematic diagram of display control apparatus according to another embodiment of the present invention.Label and Fig. 8 in Fig. 9
Identical component function having the same omits the detailed description to these components for simplicity.
The display module 81 is followed to include: as shown in figure 9, described
Judging unit 91, in response to the user on the display interface to the moving operation of the cursor, sentence
Whether the distance between the cursor and function presentation control break greater than first threshold;
Mobile unit 93 is connect with the judging unit 91, for the case where the distance is greater than the first threshold
Under, it controls the function presentation control and the cursor is followed to move on the display interface.
It is in one possible implementation, described to follow display module 81 further include:
Holding unit 95 is connect with the judging unit 91, for being less than or equal to the first threshold in the distance
In the case where, it is constant to control function presentation control holding position on the display interface.
It is in one possible implementation, described to follow display module 81 further include:
Allow to click unit 97, be connect with the judging unit 91, for control to be presented in the cursor and the function
Distance be less than or equal to second threshold in the case where, show that allowing a little for control is presented in the function on the display interface
Hit state.
In one possible implementation, described that click unit 97 is allowed to be also used to show institute on the display interface
State the magnifying state that control is presented in function;Or, showing that the special efficacy state of control is presented in the function on the display interface.
About the explanations such as first threshold, second threshold, magnifying state, privileged state and example, Ke Yican in the present embodiment
See the associated description in above-described embodiment 1, details are not described herein.
In one possible implementation, the function presentation module 83 includes:
Menu display unit 98, for conduct function of the display comprising function starting control on the display interface
The menu of item.
In one possible implementation, the function presentation module includes:
Button display unit 99, for showing the function starting control on the display interface with button form.
In one possible implementation, display control apparatus further include: the first hidden unit 85 and/or second is hidden
Hide unit 87.
Wherein, the function starting that the corresponding function of control is presented in the function can be started by presenting on the display interface
After control, the first hidden unit is able to respond the trigger action in the user to function starting control, by the function
Control can be started to hide.The corresponding function of control is presented alternatively, presenting on the display interface and can start the function
After function starts control, the second hidden unit is able to respond to be started in control from the function by the cursor in the user
Function starting control is hidden in the operation of removal.
Embodiment 3
Figure 10 shows the structural block diagram of the display control apparatus of another embodiment of the present invention.The display control apparatus
1100 can be the host server for having computing capability, personal computer PC or portable portable computer or end
End etc..The specific embodiment of the invention does not limit the specific implementation of calculate node.
The display control apparatus 1100 includes processor (processor) 1110, communication interface (Communications
Interface) 1120, memory (memory) 1130 and bus 1140.Wherein, processor 1110, communication interface 1120 and
Memory 1130 completes mutual communication by bus 1140.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to
Enjoy storage etc..
Processor 1110 is for executing program.Processor 1110 may be a central processor CPU or dedicated collection
At circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement the present invention
One or more integrated circuits of embodiment.
Memory 1130 is for storing file.Memory 1130 may include high speed RAM memory, it is also possible to further include non-
Volatile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1130 is also possible to deposit
Memory array.Memory 1130 is also possible to by piecemeal, and described piece can be combined into virtual volume by certain rule.
In a kind of possible embodiment, above procedure can be the program code for including computer operation instruction.The journey
Sequence is particularly used in: realizing the operation of each step in embodiment 1.
Those of ordinary skill in the art may be aware that each exemplary cell and algorithm in embodiment described herein
Step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions actually with hardware also
It is software form to realize, the specific application and design constraint depending on technical solution.Professional technician can be directed to
It is specific that described function is realized using different methods is selected, but this realization is it is not considered that exceed model of the invention
It encloses.
If realizing the function and when sold or used as an independent product in the form of computer software,
To a certain extent it is believed that all or part (such as the part that contributes to existing technology) of technical solution of the present invention is
It embodies in form of a computer software product.The computer software product is generally stored inside computer-readable non-volatile
In storage medium, including some instructions are used so that computer equipment (can be personal computer, server or network to set
It is standby etc.) execute all or part of the steps of various embodiments of the present invention method.And storage medium above-mentioned include USB flash disk, mobile hard disk,
Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
The various media that can store program code such as dish or CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.