A kind of display methods and electronic equipmentTechnical field
The present invention relates to computer realm more particularly to a kind of display methods and electronic equipments.
Background technology
Currently, in the electronic equipments such as mobile phone, tablet, checks notice in order to facilitate user or operate, it will usually setDrop-down menu is set, when user press...withes one's finger the frame and slide downward on the touchscreen for being shown in touch screen upper end, it willThe interface for showing the drop-down menu on the touchscreen covers original main interface.Notice or operation can be shown in drop-down menuButton can trigger corresponding operation when the user clicks after shown notice or operation button.
During realizing technical solution of the embodiment of the present invention, inventor has found above-mentioned in the prior art at least in the presence of such asLower problem:
If the touch screen of electronic equipment is too big, be not easy to when user's one-handed performance electronic equipment triggering drop-down menu orClick display object therein.
Invention content
The technical problem to be solved by the present invention is to how user-friendly electronic equipment.
To solve the above-mentioned problems, the present invention provides a kind of display methods, are applied to electronic equipment, the electronic equipmentIncluding at least touch screen;The method includes:
When the touch screen shows the first interface, the input operation on the touch screen is detected;
When the input operates the first prearranged gesture of matching, location parameter corresponding with the input operation is obtained, is referred toShow that the touch screen shows second contact surface;
The position of first area in the second contact surface is determined according to the location parameter;
Display meets the display object of predetermined condition in the first area.
Optionally, first prearranged gesture is that operating body slides on the touch screen to predetermined direction;It is described with it is defeatedIt includes following any or its arbitrary combination to enter to operate corresponding location parameter:Operating body starts the position of sliding on the touch screenIt sets, the position that operating body stops the position of sliding on the touch screen, operating body slides past on the touch screen.
Optionally, described the step of determining the position of first area in the second contact surface according to the location parameter, wrapsIt includes:
Using one or more positions represented by the location parameter as the reference of first area in the second contact surfacePoint;
Or multiple continuous positions represented by the location parameter are formed by region as the second contact surfaceIn first area.
Optionally, show that the step of meeting the display object of predetermined condition includes in the first area:
When the display object for meeting predetermined condition is equal to or less than N number of, all satisfactions are shown in the first areaThe display object of predetermined condition;When the display object for meeting predetermined condition is more than N number of, to meeting the display object of predetermined conditionIt is ranked up according to pre-defined rule, the display object for being located at top n after sorting is shown in the first area, by other satisfactionsThe display object of predetermined condition is shown in second contact surface the part other than first area;The N is first area institute energyThe maximum number of the display object of display.
Optionally, to include that following any one or its are arbitrary combine the predetermined condition:
The number being clicked is higher than scheduled frequency threshold value;
The frequency being clicked is higher than scheduled frequency threshold;
Belong to one of the M display object being clicked recently, M is positive integer.
Optionally, first interface is main interface, and the second contact surface is the interface of drop-down menu;Described first is predeterminedGesture is operating body slide downward on the touch screen.
The present invention also provides a kind of electronic equipment, the electronic equipment includes at least touch screen;Further include:
Detection unit, for when the touch screen shows the first interface, detecting the operation of the input on the touch screen;
Control unit, for when the input operates the first prearranged gesture of matching, obtaining corresponding with the input operationLocation parameter, indicate that the touch screen shows second contact surface;
Positioning unit, the position for determining first area in the second contact surface according to the location parameter;
Display unit, for showing the display object for meeting predetermined condition in the first area.
Optionally, first prearranged gesture is that operating body slides on the touch screen to predetermined direction;It is described with it is defeatedIt includes following any or its arbitrary combination to enter to operate corresponding location parameter:Operating body starts the position of sliding on the touch screenIt sets, the position that operating body stops the position of sliding on the touch screen, operating body slides past on the touch screen.
Optionally, the positioning unit determines that the position of first area in the second contact surface is according to the location parameterRefer to:
The positioning unit is using one or more positions represented by the location parameter as in the second contact surfaceThe reference point in one region;
Or the positioning unit using multiple continuous positions represented by the location parameter be formed by region asFirst area in the second contact surface.
Optionally, the display unit shows that the display object for meeting predetermined condition refers in the first area:
The display unit is when the display object for meeting predetermined condition is equal to or less than N number of, in the first areaShow all display objects for meeting predetermined condition;When the display object for meeting predetermined condition is more than N number of, to meeting predetermined itemThe display object of part is ranked up according to pre-defined rule, and the display pair for being located at top n after sorting is shown in the first areaAs including the part in second contact surface other than first area by other display objects for meeting predetermined condition;The N is describedThe maximum number for the display object that first area can be shown.
Optionally, to include that following any one or its are arbitrary combine the predetermined condition:
The number being clicked is higher than scheduled frequency threshold value;
The frequency being clicked is higher than scheduled frequency threshold;
Belong to one of the M display object being clicked recently, M is positive integer.
Optionally, first interface is main interface, and the second contact surface is the interface of drop-down menu;Described first is predeterminedGesture is operating body slide downward on the touch screen.
At least one embodiment of the present invention can allow user easily to trigger the interface comprising operation object and to whereinContent operated.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show belowThere is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only thisThe embodiment of invention for those of ordinary skill in the art without creative efforts, can also basisThe attached drawing of offer obtains other attached drawings.
Fig. 1 is the flow diagram of the display methods of embodiment one;
Fig. 2 a~c are several situations for determining first area in embodiment one by location parameter;
Fig. 3 is the schematic block diagram of the electronic equipment of embodiment two.
Specific implementation mode
Technical scheme of the present invention is described in detail below in conjunction with accompanying drawings and embodiments.
To make the purpose, technical scheme and advantage of the application be more clearly understood, below in conjunction in the embodiment of the present inventionAttached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is onlyIt is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill peopleThe every other embodiment that member is obtained without creative efforts, shall fall within the protection scope of the present invention.In the case of not conflicting, the features in the embodiments and the embodiments of the present application mutually can be combined arbitrarily.In the flow of attached drawingThe step of illustrating can execute in the computer system of such as a group of computer-executable instructions.Although also, in flowLogical order is shown in figure, but in some cases, it can be shown or described to be executed different from sequence hereinStep.
Embodiment one, a kind of display methods, are applied to electronic equipment, and the electronic equipment includes at least touch screen;Such as Fig. 1It is shown, the method includes:
When the touch screen shows the first interface, the input operation on the touch screen is detected;
When the input operates the first prearranged gesture of matching, location parameter corresponding with the input operation is obtained,The touch screen display second contact surface;
The position of first area in the second contact surface is determined according to the location parameter;
Display meets the display object of predetermined condition in the first area.
In the present embodiment, the electronic equipment can be the electronic equipments such as mobile phone, tablet;Carry out the behaviour of the input operationMake the finger that body can be people, can also be other tools such as operating pen.
In the present embodiment, as long as user inputs certain gestures on the touchscreen, so that it may, should to trigger the display of second contact surfaceCertain gestures, which are not required for user, must touch specific position on touch screen, therefore very convenient.In display described secondWhen interface, first interface can be closed, and can also be only completely or partially to be covered by second contact surface;When user inputsAfter specific keys in certain gestures or pressing electronic equipment, the second contact surface can be hidden, first interface is returned to.
In the present embodiment, since the position of triggering second contact surface does not have particular/special requirement, user that would generally facilitate behaviour at oneThe position of work carries out the triggering, in addition the first area in the second contact surface is true according to the position of user's triggering second contact surfaceFixed, therefore first area can be that user is more convenient on touch screen or gets used to the region operated;For example user is rightThe singlehanded adept machine of hand and when being operated using hand thumb, if carrying out the position when input operation of the first prearranged gesture of matchingIt is position in the lower middle of touch screen to set, and illustrates that user compares custom and the region being conveniently operated in this position;SoAccording to the position of first area described in the location determination, user will be made also more convenient to the operation of first area.
Be by the display object for meeting predetermined condition include in the first area, described in setting in the present embodimentPredetermined condition, the display object that can be needed most user or most often click are placed on a position easy to operation, therefore convenientlyThe use of user.The display object includes notice, such as " new message " etc., and user will enter corresponding after clickingInterface;The display object further includes operation button, such as the switch etc. of GPS, WLAN, mute/vibration, can be changed after user's clickBecome the setting of relevant parameter.
In the present embodiment, included multiple display objects are acquiescences or set by user in the second contact surface,The middle meeting for meeting the predetermined condition is displayed in the first area, and be unsatisfactory for the predetermined condition is then displayed on instituteState the part other than first area in second contact surface;The display in the first region meets the step of the display object of predetermined conditionIn rapid, it can first obtain and show object included in the second contact surface, then according to the display location weight of each display objectNewly-generated second contact surface.
In an embodiment of the present embodiment, first prearranged gesture can be, but not limited to touch described for operating bodyIt touches and is slided to predetermined direction on screen;Described with the corresponding location parameter of input operation may include following any or its arbitrary groupIt closes:Operating body starts the position of sliding on the touch screen, operating body stops the position of sliding, operation on the touch screenThe position that body slides past on the touch screen.
In present embodiment, first prearranged gesture can be preset or by user setting;First predetermined handGesture can there are one or it is multiple;When having multiple, the first different prearranged gestures corresponds to different second contact surfaces;Such as firstWhen prearranged gesture is slide downward, corresponding second contact surface is drop-down menu;When to slide to the right, corresponding second contact surface is hiddenEnsconce the menu on the left side.
In present embodiment, the location parameter can be, but not limited to indicate in the form of the coordinate on the touch screen;It is laterally X-axis, longitudinal is Y-axis, then can uniquely be indicated on touch screen with coordinate value such as using the touch screen lower left corner as originThe position of any one point.The arbitrary combination also includes the case where location parameter is calculated according to above-mentioned position, such as will behaviourMake body and starts the position (X1, Y1) of sliding and the midpoint for the position (X2, Y2) for stopping sliding on the touch screen as positionParameter, i.e. location parameter are ((X1+X2)/2, (Y1+Y2)/2).
In present embodiment, it is specially which or which position that can be arranged as required to the location parameter;Such asIn view of at the time of user starts input, the position of operating body at that time is likely to user's operation and gets up most comfortable position,Therefore the location parameter can be set to the position that operating body starts sliding on the touch screen.User can be according to certainlyOneself operating habit, the position corresponding to location revision parameter, to allow first area to occur being more suitable for operating on the touchscreenPart.
In other embodiments, first prearranged gesture may be the gesture of other patterns;The location parameterBe also not necessarily limited to three of the above position, and can otherwise indicate, for example, with relative on touch screen specified point away fromFrom indicating.
It is described that firstth area in the second contact surface is determined according to the location parameter in an embodiment of the present embodimentThe step of position in domain includes:
Using one or more positions represented by the location parameter as the reference of first area in the second contact surfacePoint;
Or multiple continuous positions represented by the location parameter are formed by region as the second contact surfaceIn first area.
It, as shown in Figure 2 a, can will be on the touch screen when as a reference point with a position 21 in present embodimentUsing the reference point 21 be the center of circle, predetermined length is the interior zone of the circle 22 of radius as the first area;Or such as Fig. 2 b institutesShow, by, from the reference point 21 (to the right also can) definite length extended to the left, and (downwards also can) extends upwards on the touch screenPredetermined length back wall at region 23 be used as the first area.When as a reference point with multiple positions, such as two referencesWhen point, as shown in Figure 2 c, the region 33 that can surround this multiple reference point 31,32 and connecting line or extension line is used as the firstth areaDomain.It can refer to opening up the line of these continuous positions by preset width that the multiple continuous position, which is formed by region,The region obtained after width.
The position of first area and location parameter can accurately be mapped by present embodiment.In other embodimentIn, it can also be realized otherwise when determining the position of first area according to location parameter, be not limited to foregoing description.
In an embodiment of the present embodiment, the display object for meeting predetermined condition is shown in the first areaStep includes:
When the display object for meeting predetermined condition is equal to or less than N number of, all satisfactions are shown in the first areaThe display object of predetermined condition;When the display object for meeting predetermined condition is more than N number of, to meeting the display object of predetermined conditionIt is ranked up according to pre-defined rule, the display object for being located at top n after sorting is shown in the first area, by other satisfactionsThe display object of predetermined condition is shown in second contact surface the part other than first area;The N is first area institute energyThe maximum number of the display object of display.
In present embodiment, the pre-defined rule can be voluntarily set, to pick out the display pair for more meeting user demandAs being preferably displaying in the first area;In addition, when the display object for meeting predetermined condition is more than N number of, sort rearwardEven if display object cannot be shown in the first region, it may be set to be and shown around the first area, and will be unsatisfactory forThe display object of the predetermined condition is placed on apart from the farther place in the first area.
In an embodiment of the present embodiment, the predetermined condition, which includes that following any one or its are arbitrary, to be combined:
The number being clicked is higher than scheduled frequency threshold value;
The frequency being clicked is higher than scheduled frequency threshold;
Belong to one of the M display object being clicked recently, M is positive integer.
In present embodiment, the arbitrary combination refers to combination or in which any two that can be above three conditionThe combination of condition;It can be the combination of "AND" when also referring to combination, can also be the combination of "or", such as the group of "AND"In conjunction mode, needs the number being clicked to be higher than scheduled frequency threshold value and the frequency being clicked is higher than scheduled frequency threshold;In the combination of "or", as long as the number being clicked is higher than scheduled frequency higher than scheduled frequency threshold value and the frequency being clickedThe two conditions of rate threshold value meet one.
In other embodiment, the predetermined condition can also include other conditions or its arbitrary combination or other conditionsWith the arbitrary combination of above three condition.In addition, the display object of display in the first region can also be voluntarily arranged in userSet, predetermined condition is " display object belongs to default set " at this time.
In an embodiment of the present embodiment, first interface is main interface, and the second contact surface is drop-down menuInterface;First prearranged gesture is operating body slide downward on the touch screen.
In present embodiment, any position slide downward operating body of the user in main interface, it will triggering drop-down menuDisplay;And the position of main operation area (i.e. first area) then depends on the position that user triggers drop-down menu in drop-down menu;And which display object is placed in main operation area, then it can be determined by the operating habit of user.
Embodiment two, a kind of electronic equipment, the electronic equipment include at least touch screen;As shown in figure 3, further including:
Detection unit, for when the touch screen shows the first interface, detecting the operation of the input on the touch screen;
Control unit, for when the input operates the first prearranged gesture of matching, obtaining corresponding with the input operationLocation parameter, indicate that the touch screen shows second contact surface;
Positioning unit, the position for determining first area in the second contact surface according to the location parameter;
Display unit, for showing the display object for meeting predetermined condition in the first area.
In the present embodiment, the electronic equipment can be the electronic equipments such as mobile phone, tablet;Carry out the behaviour of the input operationMake the finger that body can be people, can also be other tools such as operating pen.
In the present embodiment, as long as user inputs certain gestures on the touchscreen, so that it may, should to trigger the display of second contact surfaceCertain gestures, which are not required for user, must touch specific position on touch screen, therefore very convenient.In display described secondWhen interface, first interface can be closed, and can also be only completely or partially to be covered by second contact surface;When user inputsAfter specific keys in certain gestures or pressing electronic equipment, the second contact surface can be hidden, first interface is returned to.
In the present embodiment, since the position of triggering second contact surface does not have particular/special requirement, user that would generally facilitate behaviour at oneThe position of work carries out the triggering, in addition the first area in the second contact surface is true according to the position of user's triggering second contact surfaceFixed, therefore first area can be that user is more convenient on touch screen or gets used to the region operated;For example user is rightThe singlehanded adept machine of hand and when being operated using hand thumb, if carrying out the position when input operation of the first prearranged gesture of matchingIt is position in the lower middle of touch screen to set, and illustrates that user compares custom and the region being conveniently operated in this position;SoAccording to the position of first area described in the location determination, user will be made also more convenient to the operation of first area.
Be by the display object for meeting predetermined condition include in the first area, described in setting in the present embodimentPredetermined condition, the display object that can be needed most user or most often click are placed on a position easy to operation, therefore convenientlyThe use of user.The display object includes notice, such as " new message " etc., and user will enter corresponding after clickingInterface;The display object further includes operation button, such as the switch etc. of GPS, WLAN, mute/vibration, can be changed after user's clickBecome the setting of relevant parameter.
In the present embodiment, included multiple display objects are acquiescences or set by user in the second contact surface,The middle meeting for meeting the predetermined condition is displayed in the first area, and be unsatisfactory for the predetermined condition is then displayed on instituteState the part other than first area in second contact surface;The display unit shows the display for meeting predetermined condition in the first regionWhen object, it can first obtain and show object included in the second contact surface, then according to the display location of each display objectRegenerate second contact surface.
In an embodiment of the present embodiment, first prearranged gesture can be, but not limited to touch described for operating bodyIt touches and is slided to predetermined direction on screen;The location parameter corresponding with input operation includes following any or it is arbitrarily combined:BehaviourMake that body starts the position of sliding on the touch screen, operating body stops the position of sliding on the touch screen, operating body existsThe position slid past on the touch screen.
In present embodiment, first prearranged gesture can be preset or by user setting;First predetermined handGesture can there are one or it is multiple;When having multiple, the first different prearranged gestures corresponds to different second contact surfaces;Such as firstWhen prearranged gesture is slide downward, corresponding second contact surface is drop-down menu;When to slide to the right, corresponding second contact surface is hiddenEnsconce the menu on the left side.
In present embodiment, the location parameter can be, but not limited to indicate in the form of the coordinate on the touch screen;It is laterally X-axis, longitudinal is Y-axis, then can uniquely be indicated on touch screen with coordinate value such as using the touch screen lower left corner as originThe position of any one point.The arbitrary combination also includes the case where location parameter is calculated according to above-mentioned position, such as will behaviourMake body and starts the position (X1, Y1) of sliding and the midpoint for the position (X2, Y2) for stopping sliding on the touch screen as positionParameter, i.e. location parameter are ((X1+X2)/2, (Y1+Y2)/2).
In present embodiment, it is specially which or which position that can be arranged as required to the location parameter;Such asIn view of at the time of user starts input, the position of operating body at that time is likely to user's operation and gets up most comfortable position,Therefore the location parameter can be set to the position that operating body starts sliding on the touch screen.User can be according to certainlyOneself operating habit, the position corresponding to location revision parameter, to allow first area to occur being more suitable for operating on the touchscreenPart.
In other embodiments, first prearranged gesture may be the gesture of other patterns;The location parameterBe also not necessarily limited to three of the above position, and can otherwise indicate, for example, with relative on touch screen specified point away fromFrom indicating.
In an embodiment of the present embodiment, the positioning unit determines the second contact surface according to the location parameterThe position of middle first area refers to:
The positioning unit is using one or more positions represented by the location parameter as in the second contact surfaceThe reference point in one region;
Or the positioning unit using multiple continuous positions represented by the location parameter be formed by region asFirst area in the second contact surface.
In present embodiment, when as a reference point with a position, can will be with the reference point on the touch screenThe center of circle, predetermined length be radius circle interior zone as the first area;Or by the touch screen from the reference pointTo left/right definite length extended, and upward/lower definite length extended back wall at region as the first area.When with moreWhen a position is as a reference point, the region that can surround this multiple reference point and connecting line or extension line is as first area.InstituteIt can refers to being obtained after widening the line of these continuous positions by preset width to state multiple continuous positions and be formed by regionThe region arrived.
The position of first area and location parameter can accurately be mapped by present embodiment.In other embodimentIn, it can also be realized otherwise when determining the position of first area according to location parameter, be not limited to foregoing description.
In an embodiment of the present embodiment, the display unit is shown in the first area meets predetermined conditionDisplay object refer to:
The display unit is when the display object for meeting predetermined condition is equal to or less than N number of, in the first areaShow all display objects for meeting predetermined condition;When the display object for meeting predetermined condition is more than N number of, to meeting predetermined itemThe display object of part is ranked up according to pre-defined rule, and the display pair for being located at top n after sorting is shown in the first areaAs including the part in second contact surface other than first area by other display objects for meeting predetermined condition;The N is describedThe maximum number for the display object that first area can be shown.
In present embodiment, the pre-defined rule can be voluntarily set, to pick out the display pair for more meeting user demandAs being preferably displaying in the first area;In addition, when the display object for meeting predetermined condition is more than N number of, sort rearwardEven if display object cannot be shown in the first region, it may be set to be and shown around the first area, and will be unsatisfactory forThe display object of the predetermined condition is placed on apart from the farther place in the first area.
In an embodiment of the present embodiment, the predetermined condition, which includes that following any one or its are arbitrary, to be combined:
The number being clicked is higher than scheduled frequency threshold value;
The frequency being clicked is higher than scheduled frequency threshold;
Belong to one of the M display object being clicked recently, M is positive integer.
In present embodiment, the arbitrary combination refers to combination or in which any two that can be above three conditionThe combination of condition;It can be the combination of "AND" when also referring to combination, can also be the combination of "or", such as the group of "AND"In conjunction mode, needs the number being clicked to be higher than scheduled frequency threshold value and the frequency being clicked is higher than scheduled frequency threshold;In the combination of "or", as long as the number being clicked is higher than scheduled frequency higher than scheduled frequency threshold value and the frequency being clickedThe two conditions of rate threshold value meet one.
In other embodiment, the predetermined condition can also include other conditions or its arbitrary combination or other conditionsWith the arbitrary combination of above three condition.In addition, the display object of display in the first region can also be voluntarily arranged in userSet, predetermined condition is " display object belongs to default set " at this time.
In an embodiment of the present embodiment, first interface is main interface, and the second contact surface is drop-down menuInterface;First prearranged gesture is operating body slide downward on the touch screen.
In present embodiment, any position slide downward operating body of the user in main interface, it will triggering drop-down menuDisplay;And the position of main operation area (i.e. first area) then depends on the position that user triggers drop-down menu in drop-down menu;And which display object is placed in main operation area, then it can be determined by the operating habit of user.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by programRelated hardware is completed, and described program can be stored in computer readable storage medium, such as read-only memory, disk or CDDeng.Optionally, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.AccordinglyGround, the form that hardware may be used in each module/unit in above-described embodiment are realized, the shape of software function module can also be usedFormula is realized.The present invention is not limited to the combinations of the hardware and software of any particular form.
Certainly, the invention may also have other embodiments, without deviating from the spirit and substance of the present invention, ripeIt knows those skilled in the art and makes various corresponding change and deformations, but these corresponding changes and change in accordance with the present inventionShape should all belong to the scope of the claims of the present invention.