CN106033300B - A kind of control method and electronic equipment - Google Patents

A kind of control method and electronic equipment Download PDF

Info

Publication number
CN106033300B
CN106033300B CN201510104649.2A CN201510104649A CN106033300B CN 106033300 B CN106033300 B CN 106033300B CN 201510104649 A CN201510104649 A CN 201510104649A CN 106033300 B CN106033300 B CN 106033300B
Authority
CN
China
Prior art keywords
display
menu
display pattern
display area
operating point
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.)
Active
Application number
CN201510104649.2A
Other languages
Chinese (zh)
Other versions
CN106033300A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510104649.2A priority Critical patent/CN106033300B/en
Publication of CN106033300A publication Critical patent/CN106033300A/en
Application granted granted Critical
Publication of CN106033300B publication Critical patent/CN106033300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of control method and electronic equipments, for solving the poor technical problem of electronic equipment display effect in the prior art.This method comprises: detection obtains the first operation for the first menu in the first display pattern at least one described menu when the touch-display unit of the electronic equipment shows at least one menu;Wherein, under first display pattern, the corresponding display area of first menu includes the first display area and the second display area in the first display area periphery;Judge whether first operation meets preset condition, obtains a judging result;If the judging result is shown to be, first menu is controlled by first display pattern and is switched to the second display pattern;Wherein, under second display pattern, the corresponding display area of first menu only includes first display area, and M application option in N number of application option is shown in first display area.

Description

A kind of control method and electronic equipment
Technical field
The present invention relates to electronic technology field, in particular to a kind of control method and electronic equipment.
Background technique
Increasingly fierce with market competition with the rapid development of science and technology, the performance and appearance of electronic equipment have obtained energetically Promoted, wherein laptop with its small volume and less weight, it is easy to carry, recreational strong the advantages that just by more and more people's Like, becomes indispensable a part in studying and living.User is also more and more using the thing that electronic equipment can be done, Such as: user can watch video by the electronic equipment connecting with network server, listen to music, play game.
Currently, user respectively applies using in electronic equipment for convenience, can be answered according to what electronic equipment itself was included With and application content generate corresponding main menu, and it is shown within display screen, thus user by main menu with When call the corresponding application function of each application option in the menu.For example, tablet computer generates one according to itself types of applications Round main menu includes multiple in the main menu using entrance, corresponding function can be called using entrance by these, thus side Just user uses at any time.But it since the shape size of the main menu in current device usually compares fixation, and can be maintained in On desktop, and when there are the peripheral hardwares such as USB flash disk or mobile phone to connect with the machine, has and generates more main menus reservations on the table, Influence very much using and operating for user.
In summary, the electronic equipment technical problem poor there are display effect in the prior art.
Summary of the invention
The embodiment of the present invention provides a kind of control method and electronic equipment, aobvious for solving electronic equipment in the prior art Show the poor technical problem of effect, realize the display effect of enhancing electronic equipment, improves user experience.
A kind of control method, comprising the following steps:
When the touch-display unit of the electronic equipment shows at least one menu, detection is obtained for described at least First operation of the first menu in one menu in the first display pattern;Wherein, described under first display pattern The corresponding display area of first menu includes the first display area and the second viewing area in the first display area periphery Domain shows N number of application option corresponding to first menu and corresponding with application option in second display area Application content, and the display scale of N number of application option be the first display scale, N is positive integer;
Judge whether first operation meets preset condition, obtains a judging result;
If the judging result is shown to be, first menu is controlled by first display pattern and is switched to the second display Mode;Wherein, under second display pattern, the corresponding display area of first menu only includes first viewing area Domain, and M application option in N number of application option, the M application option pair are shown in first display area The second display scale is answered to be less than first display scale, M is the positive integer no more than N.
Optionally, described when the touch-display unit of the electronic equipment shows at least one menu, detection obtains For the first operation of the first menu for being in the first display pattern at least one described menu, specifically include:
When the touch-display unit of the electronic equipment shows at least one menu, detection, which obtains, is directed to the touch-control The current operation that display unit carries out;
Determine at least one operation starting point corresponding with the current operation;
If at least one described operation starting point is located at and is in the of the first display pattern at least one described menu In the corresponding first area of one menu, determine that the current operation is the first operation carried out for first menu.
Optionally, described to judge whether first operation meets preset condition, the first judging result is obtained, it is specific to wrap It includes:
Detection obtains P operating point corresponding with first operation, and P is the integer greater than 2;
Judge whether the P operating point meets preset condition, obtains the first judging result.
Optionally, described to judge whether the P operating point meets preset condition, a judging result is obtained, is specifically included:
The first operation center point corresponding with first operation is determined according to the P operating point;
Detect i-th of operating point in the P operating point corresponding i-th initial position in touch-display unit and I-th final position, i successively take 1 to P integer;
Determine first distance between i-th initial position and the first operation center point and the i-th final position and Second distance between the first operation center point;
Judge whether the first distance is greater than the second distance, obtains a judging result.
Optionally, it if the judging result is shown to be, controls first menu and is cut by first display pattern It is changed to the second display pattern, is specifically included:
If the judging result shows that the first distance is less than the second distance, it is pre- to determine that first operation meets If condition, by M application option in N number of application option according to the second display scale for being less than first display scale It is shown in first display area, and controls other display contents in second display area and be in and forbid showing shape The display pattern of state, first menu switches to the second display pattern.
Optionally, the method also includes:
When detecting the second operation for the first menu in second display pattern, determine and described second Operate corresponding Q operating point;
The second operation center point corresponding with second operation is determined according to the Q operating point;
If it is determined that the Q operating point corresponding operation starting point and second operation in the touch-display unit Starting distance between central point is less than the termination distance between operation terminating point and the second operation center point, described in control First menu is switched to first display pattern by first display pattern.
A kind of electronic equipment, comprising:
First detection module, for examining when the touch-display unit of the electronic equipment shows at least one menu Survey the first operation obtained for the first menu in the first display pattern at least one described menu;Wherein, described Under first display pattern, the corresponding display area of first menu includes the first display area and is in first viewing area Overseas the second display area enclosed shows N number of application option corresponding with first menu in second display area And with application content corresponding in application option, and the display scale of N number of application option is the first display scale, and N is positive Integer;
Judgment module obtains a judging result for judging whether first operation meets preset condition;
First processing module controls first menu and is shown by described first if being shown to be for the judging result Pattern switching is the second display pattern;Wherein, under second display pattern, the corresponding display area of first menu is only M application choosing in N number of application option is shown including first display area, and in first display area , corresponding second display scale of the M application option is less than first display scale, and M is the positive integer no more than N.
Optionally, the first detection module is specifically used for:
When the touch-display unit of the electronic equipment shows at least one menu, detection, which obtains, is directed to the touch-control The current operation that display unit carries out;
Determine at least one operation starting point corresponding with the current operation;
If at least one described operation starting point is located at and is in the of the first display pattern at least one described menu In the corresponding first area of one menu, determine that the current operation is the first operation carried out for first menu.
Optionally, the judgment module is specifically used for:
Detection obtains P operating point corresponding with first operation, and P is the integer greater than 2;
Judge whether the P operating point meets preset condition, obtains the first judging result.
Optionally, the judgment module is specifically used for:
The first operation center point corresponding with first operation is determined according to the P operating point;
Detect i-th of operating point in the P operating point corresponding i-th initial position in touch-display unit and I-th final position, i successively take 1 to P integer;
Determine first distance between i-th initial position and the first operation center point and the i-th final position and Second distance between the first operation center point;
Judge whether the first distance is greater than the second distance, obtains a judging result.
Optionally, the first processing module is specifically used for:
If the judging result shows that the first distance is less than the second distance, it is pre- to determine that first operation meets If condition, by M application option in N number of application option according to the second display scale for being less than first display scale It is shown in first display area, and controls other display contents in second display area and be in and forbid showing shape The display pattern of state, first menu switches to the second display pattern.
Optionally, the electronic equipment further include:
Second detection module, for working as the second operation detected for the first menu in second display pattern When, determine Q operating point corresponding with second operation;
Determining module, for determining the second operation center point corresponding with second operation according to the Q operating point;
Second processing module is used for if it is determined that the Q operating point is corresponding in the touch-display unit operates Starting distance between initial point and the second operation center point is less than between operation terminating point and the second operation center point Termination distance, control first menu by first display pattern and be switched to first display pattern.
In the embodiment of the present invention, due to showing at least one menu in touch-display unit, i.e. current electronic device can External device can be connected with, wherein in the first menu in the first display pattern, the second display area is in the first display Area periphery, and include N number of application option corresponding with the first menu, such as image, video, music in the second display area Deng, therefore when there is the first operation for the progress of the first menu, if first operation meets preset condition, control N number of answer The first display area is reduced and be shown in the display scale of M application option in option, is realized the first menu Display pattern switches to the second display pattern by the first display pattern.And in the second display mode, the first menu is corresponding aobvious Showing region only includes the first display area so that the first menu in touch-display unit occupied display area compared with It is small, the other contents shown in touch-display unit will not be covered, are avoided to the influence in user operation process, so that electric Sub- equipment has preferable display effect, improves the experience of user.
Detailed description of the invention
Fig. 1 is the broad flow diagram of control method in the embodiment of the present application;
Fig. 2 is the display schematic diagram that menu is in the first display pattern in the embodiment of the present application;
Fig. 3 A is the signal for switching over operation in the embodiment of the present application to the first menu under the first display pattern Figure;
Fig. 3 B is the schematic diagram that the first menu is in the second display pattern in the embodiment of the present application;
Fig. 4 is the primary structure schematic diagram of electronic equipment in the embodiment of the present application.
Specific embodiment
The embodiment of the present invention provides a kind of control method and electronic equipment, aobvious for solving electronic equipment in the prior art Show the poor technical problem of effect, realize the display effect of enhancing electronic equipment, improves user experience.
Technical solution general thought provided by the present application is as follows:
The embodiment of the present invention discloses a kind of control method, is applied in electronic equipment, which comprises when the electronics When the touch-display unit of equipment shows at least one menu, detection, which is obtained, is in first at least one described menu First operation of the first menu of display pattern;Wherein, under first display pattern, the corresponding display of first menu Region includes the first display area and the second display area in the first display area periphery, second display area Inside show N number of application option corresponding with first menu and with application content corresponding in application option, and it is described N number of The display scale of application option is the first display scale, and N is positive integer;Judge whether first operation meets preset condition, Obtain a judging result;If the judging result is shown to be, controls first menu and be switched to by first display pattern Second display pattern;Wherein, under second display pattern, the corresponding display area of first menu only includes described One display area, and M application option in N number of application option is shown in first display area, the M are answered It is less than first display scale with corresponding second display scale of option, M is the positive integer no more than N.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
In the embodiment of the present invention, the electronic equipment can be notebook, PAD (tablet computer), smart phone etc. no Same electronic equipment, the invention is not limited in this regard.
In addition, the terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates may exist Three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.Separately Outside, character "/" herein typicallys represent the relationship that forward-backward correlation object is a kind of "or".
As shown in Figure 1, the present invention discloses a kind of control method, it is applied in electronic equipment, method includes the following steps:
S11: when the touch-display unit of the electronic equipment shows at least one menu, detection is obtained for described First operation of the first menu at least one menu in the first display pattern;Wherein, under first display pattern, The corresponding display area of first menu includes the first display area and second aobvious in the first display area periphery Show region, shown in second display area N number of application option corresponding with first menu and in application option Corresponding application content, and the display scale of N number of application option is the first display scale, N is positive integer;
S12: judging whether first operation meets preset condition, obtains a judging result;
S13: if the judging result is shown to be, first menu is controlled by first display pattern and is switched to second Display pattern;Wherein, under second display pattern, the corresponding display area of first menu only includes described first aobvious Show region, and shows M application option in N number of application option in first display area, the M application choosing Corresponding second display scale of item is less than first display scale, and M is the positive integer no more than N.
Specifically, in the embodiment of the present invention, when at least one menu can refer to that electronic equipment and peripheral hardware are attached, Itself menu and peripheral hardware menu corresponding with external equipment being shown in the machine screen.For example, if tablet computer is not connected to outside Equipment is connect, then after tablet computer booting, the corresponding main menu of the machine will be shown by showing in screen;If tablet computer is set with external It is standby, when such as USB flash disk connection, then it can also be shown according to USB flash disk in addition to the display menu of display tablet computer itself within display screen The USB flash disk menu that content and application generate, i.e., will be present two menus in current display screen.
Usually, when generating menu according to external equipment, which can be generates according to the storage content of equipment , and shown that is, menu is shown in touch-control when the menu is shown for the first time in screen with the first display pattern defaulted Corresponding display area includes the first display area and the second display area in unit.Wherein, the first display area can be place In the center portion region of the corresponding display area of the first menu, the second display area is located at the periphery of the first display area, and Two display areas can have identical central point, such as concentric annular display area.And the N shown in the second display area A application option can refer to the entrance option for calling every application in equipment, that is, be directed to the classification application of storage content.
In practical applications, the occupied display area of N number of application option can be marked off N number of sub-district by the second display area Domain, each subregion in N number of subregion can show an application option, for example, each subregion is to show one The border circular areas of application option.Preferably, in the embodiment of the present invention, the area of each subregion in N number of subregion can be with It is equal.Wherein, each subregion can have circular region line, to open with other sub-zone dividings, thus showing When user can clearly watch each application option, different application options will not be obscured together.Further, work as user When selection enters certain application option, application content corresponding with the application option can be shown in application in a manner of list The periphery of option.
Such as shown in Fig. 2, 7 applications can be disposed in the corresponding display area of the first menu on the second display area Option.In the present embodiment, the first menu is illustrated by taking circular shape as an example, in other embodiments, can also be oval Shape, rectangle or other shapes.N number of application option is specifically with photo, application shop, application, game, education, music and video Example is illustrated, and in these first operation objects, has file, such as photo, music, also has navigation menu item, such as apply, Certainly it also can be regarded as file using corresponding application content, file also can be regarded as navigation menu item.
User passes through the application option browsing photo of menu in Fig. 2.Usually, user can utilize finger or touching Pen is controlled, or the corresponding application option of photo is chosen by mouse, electronic equipment will choose the photo application option, specifically for example It can indicate that the option is selected by way of being highlighted or sinking.And application content corresponding with photo application option It is also shown in the second display area, such as application content can be centered around the peripheral part of application option with arc-shaped ring-shaped, So that users can browse or operation.Still referring in Fig. 2, when user chooses photo application option, corresponding 9 application contents For sub-folder August, flower, snow mountain, inverted image, glacier, peach blossom, the four seasons, sunrise, starry sky.
Optionally, in the embodiment of the present invention, the first display area be can be for returning or the quick function of deleting file Region, for example when user needs to delete certain photo, which can be dragged into the first display area and deleted.
In the embodiment of the present invention, the first operation can refer to that user is directed to the what touch-display unit carried out by finger The operation of one menu, determination process may comprise steps of:
A, when the touch-display unit of the electronic equipment shows at least one menu, detection, which obtains, is directed to the touching Control the current operation that display unit carries out;
B, determination at least one operation starting point corresponding with the current operation;
If c, at least one described operation starting point is located at and is in the first display pattern at least one described menu In the corresponding display area of first menu, determine that the current operation is the first operation carried out for first menu.
Wherein, touch control operation can be the multifingered manipulation carried out for touch-display unit, such as finger is in touch screen Crawl or stretching, extension operation etc..If it is corresponding that at least one corresponding operation starting point of the current operation detected is located at the first menu Menu drawing field domain in, it is determined that current operation is the operation carried out for the first menu.
Certainly, in practical applications, if there are two operation starting points to be respectively positioned on first in corresponding multiple operation starting points In menu drawing field domain, then current operation directly can be determined as the first operation, alternatively, if in addition to being located at display in multiple operations Remaining operation starting point outside the first operation starting point in region, which is respectively positioned in touch-display unit, not to be occupied by other menus Display area in when, determine current operation be first operation.
Further, specifically can be detection in S12 and obtain corresponding with first operation P operating point, P for greater than 2 integer, and judge whether the P operating point meets preset condition, obtain a judging result.Wherein, P operating point can be with Refer to the operating point detected when carry out first operates.For example, when user passes through all fingers in the touching display screen of mobile phone When being operated in curtain, the P operating point detected can be 5.
Specifically, may comprise steps of when judging whether the P operating point meets preset condition:
1) the first operation center point corresponding with first operation is determined according to the P operating point;
2) corresponding i-th initial position in touch-display unit of i-th of operating point in the P operating point is detected With the i-th final position, i successively takes 1 to P integer;
3) first distance and the i-th final position between i-th initial position and the first operation center point are determined Second distance between the first operation center point;
4) judge whether the first distance is less than the second distance, obtain a judging result.
Wherein, first nodal point can refer to the geometric center of gravity point of the several picture determined according to P operating point.
When practical application, step 2 specifically can be pair of each operating point in operation in determining P operating point The operation starting point and operation terminating point answered.For example, it is possible, firstly, to determining the first operating point corresponding first in P operating point Operation trace, and then the first starting point corresponding with the first operation and the first terminating point can be determined according to the first operation trace, Until determining the corresponding P starting point of the P operating point and P terminating point.Then, judge the corresponding starting point of each operating point And the terminating point first distance and second distance with first operation center's point respectively, and judge first distance whether be greater than second away from From obtaining corresponding judging result.
If judging result shows that P operation meets preset condition, S13 is carried out, that is, controls the display of first menu Mode is switched to the second display pattern by first display pattern.The process specifically includes: if the judging result shows institute First distance is stated less than the second distance, determines that first operation meets preset condition, it will be in N number of application option M application option is shown in first display area according to the second display scale for being less than first display scale, and Control other display contents in second display area and be in and forbid display state, the display pattern of first menu by First display pattern switches to the second display pattern.
Wherein, when determining that the first operation meets preset condition, it is believed that at least there are two operations in P operating point The distance for putting the first operation center of distance point in operation is smaller and smaller, i.e., at least there are two operating points is close to first The operating point of operation center's point.It is therefore contemplated that the first operation is user's finger for the display area where the first menu The grasping manipulation of progress occupies touch-display unit area lesser second to realize to switch to the display pattern of the first menu Display pattern.
Optionally, in the embodiment of the present invention, when the first menu is in the second display pattern, the corresponding display of the first menu The size in region can in the first display mode when the size of its corresponding first display area it is identical.? To think under the display pattern, the corresponding display area of the first menu only includes the first display area.And it is shown in second originally Each application option of M in N number of application option in display area is shown in the first display area according to small percentage, and with answer It may be at forbidding display state or hidden state with the corresponding application content of option, so that in the second display mode first The display area that menu occupies touch-display unit is smaller, meanwhile, it is aobvious that all or part of application option can also be shown in first Show in region.
Such as shown in Figure 3A, it after electronic equipment booting and when being connect with USB flash disk, is shown and this in touch-display unit The relevant menu 1 of machine and menu 2 corresponding with USB flash disk, user is by the finger dispersing contact touch-display unit of hand, and at least One finger is in display area shared by menu 1, at this point, menu 1 and menu 2 are in the first display pattern, wherein dish Single 1 corresponding 7 application options are shown in the second display area according to the first display scale.If user carries out hand by hand Refer to the grasping manipulation shunk, then the display pattern for controlling menu 1 is switched to the second display by the first display pattern by electronic equipment Mode.
As shown in Figure 3B, by the comparison of menu 1 and menu 2 it is found that in the second display mode, menu 1 is corresponding aobvious It is identical as the area of the first display area under the first display pattern to show that the area in region can be, or is believed that the second display mould The display area of menu 1 only corresponds to the first display area under formula, and 7 application options being shown in the second display area originally In 5 application options diminution be shown in the first display area, remaining application option and application content are in hidden state.
In the embodiment of the present invention, due to meeting when detection in the presence of the first operation for the menu in the first display pattern When preset condition, i.e., its corresponding multiple operating point in operation geometric center point corresponding close to operating point when, determine The operation is to keep away for the display pattern for showing menu to be switched to the operation for occupying lesser second display pattern of display area Exempt to block the other files shown in touch-display unit, improve the utilization rate of desktop, also enhances the Experience Degree of user.
Further, in the embodiment of the present invention, after the display pattern of the first menu is switched to the second display pattern, may be used also Following detecting step is carried out to touch-display unit:
A, it when detecting the second operation for the first menu in second display pattern, can determine and institute State the corresponding Q operating point of the second operation;
B, target's center's point corresponding with second operation is determined according to the Q operating point;
C, if it is determined that the Q operating point is in the touch-display unit in corresponding operation starting point and the target Starting distance between heart point is less than the termination distance between operation terminating point and target's center point, controls first dish It is single that first display pattern is switched to by first display pattern.
Wherein, the second operation can be the stretching, extension operation that user is carried out by finger in touch-display unit.Actually answering In, there may be at least located at the corresponding viewing area of the first menu with a operating point in the corresponding Q operating point of the second operation In domain, to determine that the operation is to carry out for the first menu.And then it can be by the geometry of the corresponding irregular figure of Q operating point Center of gravity is determined as second operation center's point, and determine Q operating point in operation whether far from second operation center's point, i.e., Termination distance between the corresponding final position of each operating point and the second operation center point is greater than initial position and the second behaviour Make the starting distance between central point.
If it is determined that the second operation in operation far from second operation center's point, then can be determined as using by Q operating point In the operation that the display pattern of the first menu is switched to the first display pattern by the second display pattern, i.e., by the aobvious of the first menu Show the operation that region is unfolded, then electronic equipment can be switched the display pattern of the first menu by the second display pattern of Fig. 3 B To the first display pattern of Fig. 3 A.
In the embodiment of the present invention, since the display pattern of the first menu is being switched to the second display by the first display pattern After mode, the first display pattern can also be switched it to back by the second operation stretched in touch-display unit.To, When the display desktop of electronic equipment shows multiple menus, in order to avoid menu blocks the display of other files, then can pass through First operation is switched to the second display pattern, and when needing to reuse the menu, can switch it to the of expansion One display pattern, it is convenient for the user to operate, so that electronic equipment has preferable display effect.
As shown in figure 4, based on the same inventive concept, invention additionally discloses a kind of electronic equipment, which includes: One detection module 401, judgment module 402 and first processing module 403.
First detection module 401 can be used for showing at least one menu when the touch-display unit of the electronic equipment When, detection obtains the first operation for the first menu in the first display pattern at least one described menu;Wherein, exist Under first display pattern, the corresponding display area of first menu includes the first display area and aobvious in described first Show the second display area of area periphery, N number of application corresponding with first menu is shown in second display area Option and with application content corresponding in application option, and the display scale of N number of application option be the first display scale, N For positive integer.
Judgment module 402 can be used for judging whether first operation meets preset condition, obtain a judging result.
It is shown to be if first processing module 403 can be used for the judging result, controls first menu by described the One display pattern is switched to the second display pattern;Wherein, under second display pattern, the corresponding display of first menu Region only includes first display area, and shows the M in N number of application option in first display area and answer With option, corresponding second display scale of the M application option is less than first display scale, and M is just whole no more than N Number.
Optionally, the first detection module 401 is specifically used for:
When the touch-display unit of the electronic equipment shows at least one menu, detection, which obtains, is directed to the touch-control The current operation that display unit carries out;
Determine at least one operation starting point corresponding with the current operation;
If at least one described operation starting point is located at and is in the of the first display pattern at least one described menu In the corresponding first area of one menu, determine that the current operation is the first operation carried out for first menu.
Optionally, the judgment module 402 is specifically used for: detection obtains P operating point corresponding with first operation, P is the integer greater than 2;Judge whether the P operating point meets preset condition, obtains the first judging result.
In practical application, the judgment module 402 specifically can be used for:
The first operation center point corresponding with first operation is determined according to the P operating point;
Detect i-th of operating point in the P operating point corresponding i-th initial position in touch-display unit and I-th final position, i successively take 1 to P integer;
Determine first distance between i-th initial position and the first operation center point and the i-th final position and Second distance between the first operation center point;
Judge whether the first distance is greater than the second distance, obtains a judging result.
Optionally, in the embodiment of the present invention, the first processing module 403 is specifically used for:
If the judging result shows that the first distance is less than the second distance, it is pre- to determine that first operation meets If condition, by M application option in N number of application option according to the second display scale for being less than first display scale It is shown in first display area, and controls other display contents in second display area and be in and forbid showing shape The display pattern of state, first menu switches to the second display pattern.
Optionally, the electronic equipment further include:
Second detection module, for working as the second operation detected for the first menu in second display pattern When, determine Q operating point corresponding with second operation;
Determining module, for determining the second operation center point corresponding with second operation according to the Q operating point;
Second processing module is used for if it is determined that the Q operating point is corresponding in the touch-display unit operates Starting distance between initial point and the second operation center point is less than between operation terminating point and the second operation center point Termination distance, control first menu by first display pattern and be switched to first display pattern.
In the embodiment of the present invention, due to showing at least one menu in touch-display unit, i.e. current electronic device can External device can be connected with, wherein in the first menu in the first display pattern, the second display area is in the first display Area periphery, and include N number of application option corresponding with the first menu, such as image, video, music in the second display area Deng, therefore when there is the first operation for the progress of the first menu, if first operation meets preset condition, control N number of answer It is reduced with the display scale of M application option in option and is shown in the first display area, by the aobvious of the first menu Show that mode switches to the second display pattern by the first display pattern, therefore, in the second display mode, the first menu is corresponding aobvious Showing region only includes the first display area so that the first menu in touch-display unit occupied display area compared with It is small, the other contents shown in touch-display unit will not be covered, are also avoided to the influence in user operation process.
Specifically, the corresponding computer program instructions of frequency adjusting method in the embodiment of the present application can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with control method in storage medium are by electronics Equipment reads or is performed, and includes the following steps:
When the touch-display unit of the electronic equipment shows at least one menu, detection is obtained for described at least First operation of the first menu in one menu in the first display pattern;Wherein, described under first display pattern The corresponding display area of first menu includes the first display area and the second viewing area in the first display area periphery Domain shows N number of application option corresponding to first menu and corresponding with application option in second display area Application content, and the display scale of N number of application option be the first display scale, N is positive integer;
Judge whether first operation meets preset condition, obtains a judging result;
If the judging result is shown to be, first menu is controlled by first display pattern and is switched to the second display Mode;Wherein, under second display pattern, the corresponding display area of first menu only includes first viewing area Domain, and M application option in N number of application option, the M application option pair are shown in first display area The second display scale is answered to be less than first display scale, M is the positive integer no more than N.
Optionally, store in the storage medium and step exists: when the touch-display unit of the electronic equipment is shown When having at least one menu, detection obtains for the first menu at least one described menu in the first display pattern The corresponding computer instruction of one operation specifically further includes following steps during being performed:
When the touch-display unit of the electronic equipment shows at least one menu, detection, which obtains, is directed to the touch-control The current operation that display unit carries out;
Determine at least one operation starting point corresponding with the current operation;
If at least one described operation starting point is located at and is in the of the first display pattern at least one described menu In the corresponding first area of one menu, determine that the current operation is the first operation carried out for first menu.
Optionally, store in the storage medium and step exists: judge whether first operation meets preset condition, The corresponding computer instruction of the first judging result is obtained during being performed, specifically further includes following steps:
Detection obtains P operating point corresponding with first operation, and P is the integer greater than 2;
Judge whether the P operating point meets preset condition, obtains the first judging result.
Optionally, store in the storage medium and step exists: judging whether the P operating point meets default item Part obtains the corresponding computer instruction of a judging result during being performed, specifically further includes following steps:
The first operation center point corresponding with first operation is determined according to the P operating point;
Detect i-th of operating point in the P operating point corresponding i-th initial position in touch-display unit and I-th final position, i successively take 1 to P integer;
Determine first distance between i-th initial position and the first operation center point and the i-th final position and Second distance between the first operation center point;
Judge whether the first distance is greater than the second distance, obtains a judging result.
Optionally, store in the storage medium and step exists: if the judging result is shown to be, control described first Menu is switched to the second display pattern by first display pattern, and corresponding computer instruction is during being performed, specifically Further include following steps:
If the judging result shows that the first distance is less than the second distance, it is pre- to determine that first operation meets If condition, by M application option in N number of application option according to the second display scale for being less than first display scale It is shown in first display area, and controls other display contents in second display area and be in and forbid showing shape The display pattern of state, first menu switches to the second display pattern.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step It is rapid: if the judging result is shown to be, first menu is controlled by first display pattern and is switched to the second display pattern, It is performed after corresponding instruction execution, includes the following steps: when executed
When detecting the second operation for the first menu in second display pattern, determine and described second Operate corresponding Q operating point;
The second operation center point corresponding with second operation is determined according to the Q operating point;
If it is determined that the Q operating point corresponding operation starting point and second operation in the touch-display unit Starting distance between central point is less than the termination distance between operation terminating point and the second operation center point, described in control First menu is switched to first display pattern by first display pattern.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (12)

1. a kind of control method is applied in electronic equipment, which comprises
When the touch-display unit of the electronic equipment shows at least one menu, detection obtain for it is described at least one First operation of the first menu in menu in the first display pattern;Wherein, under first display pattern, described first The corresponding display area of menu includes the first display area and the second display area in the first display area periphery, institute It states and shows N number of application option corresponding with first menu in the second display area and corresponding with application option apply Content, and the display scale of N number of application option is the first display scale, N is positive integer;
Judge whether first operation meets preset condition, obtains a judging result;
If the judging result is shown to be, first menu is controlled by first display pattern and is switched to the second display mould Formula;Wherein, under second display pattern, the corresponding display area of first menu only includes first viewing area Domain, and M application option in N number of application option, the M application option pair are shown in first display area The second display scale is answered to be less than first display scale, M is the positive integer no more than N.
2. the method as described in claim 1, which is characterized in that described when the touch-display unit of the electronic equipment is shown When at least one menu, detection obtains first for the first menu in the first display pattern at least one described menu Operation, specifically includes:
When the touch-display unit of the electronic equipment shows at least one menu, detection is obtained to be shown for the touch-control The current operation that unit carries out;
Determine at least one operation starting point corresponding with the current operation;
If it is described at least one operation starting point be located at at least one described menu be in the first display pattern the first dish In single corresponding first area, determine that the current operation is the first operation carried out for first menu.
3. the method as described in claim 1, which is characterized in that it is described to judge whether first operation meets preset condition, The first judging result is obtained, is specifically included:
Detection obtains P operating point corresponding with first operation, and P is the integer greater than 2;
Judge whether the P operating point meets preset condition, obtains the first judging result.
4. method as claimed in claim 3, which is characterized in that it is described to judge whether the P operating point meets preset condition, A judging result is obtained, is specifically included:
The first operation center point corresponding with first operation is determined according to the P operating point;
Detect corresponding i-th initial position and i-th in touch-display unit of i-th of operating point in the P operating point Final position, i successively take 1 to P integer;
Determine first distance between i-th initial position and the first operation center point and the i-th final position and described Second distance between first operation center's point;
Judge whether the first distance is greater than the second distance, obtains a judging result.
5. method as claimed in claim 4, which is characterized in that if the judging result is shown to be, control described first Menu is switched to the second display pattern by first display pattern, specifically includes:
If the judging result shows that the first distance is less than the second distance, determine that first operation meets default item Part shows M application option in N number of application option according to the second display scale for being less than first display scale In first display area, and controls other display contents in second display area and is in and forbid display state, The display pattern of first menu switches to the second display pattern.
6. the method as described in claim 1, which is characterized in that the method also includes:
When detecting the second operation for the first menu in second display pattern, determining and described second operation Corresponding Q operating point;
The second operation center point corresponding with second operation is determined according to the Q operating point;
If it is determined that the Q operating point corresponding operation starting point and second operation center in the touch-display unit Starting distance between point is less than the termination distance between operation terminating point and the second operation center point, control described first Menu is switched to first display pattern by first display pattern.
7. a kind of electronic equipment, comprising:
First detection module, for when the touch-display unit of the electronic equipment shows at least one menu, detection to be obtained Obtain the first operation for the first menu in the first display pattern at least one described menu;Wherein, described first Under display pattern, the corresponding display area of first menu includes the first display area and outside first display area The second display area enclosed, show in second display area N number of application option corresponding with first menu and with Corresponding application content in application option, and the display scale of N number of application option is the first display scale, N is positive integer;
Judgment module obtains a judging result for judging whether first operation meets preset condition;
First processing module controls first menu by first display pattern if being shown to be for the judging result It is switched to the second display pattern;Wherein, under second display pattern, the corresponding display area of first menu only includes First display area, and M application option in N number of application option, institute are shown in first display area It states corresponding second display scale of M application option and is less than first display scale, M is the positive integer no more than N.
8. electronic equipment as claimed in claim 7, which is characterized in that the first detection module is specifically used for:
When the touch-display unit of the electronic equipment shows at least one menu, detection is obtained to be shown for the touch-control The current operation that unit carries out;
Determine at least one operation starting point corresponding with the current operation;
If it is described at least one operation starting point be located at at least one described menu be in the first display pattern the first dish In single corresponding first area, determine that the current operation is the first operation carried out for first menu.
9. electronic equipment as claimed in claim 7, which is characterized in that the judgment module is specifically used for:
Detection obtains P operating point corresponding with first operation, and P is the integer greater than 2;
Judge whether the P operating point meets preset condition, obtains the first judging result.
10. electronic equipment as claimed in claim 9, which is characterized in that the judgment module is specifically used for:
The first operation center point corresponding with first operation is determined according to the P operating point;
Detect corresponding i-th initial position and i-th in touch-display unit of i-th of operating point in the P operating point Final position, i successively take 1 to P integer;
Determine first distance between i-th initial position and the first operation center point and the i-th final position and described Second distance between first operation center's point;
Judge whether the first distance is greater than the second distance, obtains a judging result.
11. electronic equipment as claimed in claim 10, which is characterized in that the first processing module is specifically used for:
If the judging result shows that the first distance is less than the second distance, determine that first operation meets default item Part shows M application option in N number of application option according to the second display scale for being less than first display scale In first display area, and controls other display contents in second display area and is in and forbid display state, The display pattern of first menu switches to the second display pattern.
12. electronic equipment as claimed in claim 7, which is characterized in that the electronic equipment further include:
Second detection module, for when detect in second display pattern the first menu second operation when, Determine Q operating point corresponding with second operation;
Determining module, for determining the second operation center point corresponding with second operation according to the Q operating point;
Second processing module, for if it is determined that the Q operating point corresponding operation starting point in the touch-display unit Starting distance between the second operation center point is less than the end between operation terminating point and the second operation center point Only distance controls first menu by first display pattern and is switched to first display pattern.
CN201510104649.2A 2015-03-10 2015-03-10 A kind of control method and electronic equipment Active CN106033300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510104649.2A CN106033300B (en) 2015-03-10 2015-03-10 A kind of control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510104649.2A CN106033300B (en) 2015-03-10 2015-03-10 A kind of control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN106033300A CN106033300A (en) 2016-10-19
CN106033300B true CN106033300B (en) 2019-07-26

Family

ID=57151038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510104649.2A Active CN106033300B (en) 2015-03-10 2015-03-10 A kind of control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106033300B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747216B (en) * 2020-05-29 2023-09-08 海信视像科技股份有限公司 Display device and touch menu interaction method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012121179A (en) * 2010-12-06 2012-06-28 Sharp Corp Image forming apparatus, and display control method
CN103150105A (en) * 2013-01-17 2013-06-12 苏州佳世达电通有限公司 Adjustment method and system of virtual keyboard
CN103336660A (en) * 2012-03-07 2013-10-02 佳能株式会社 Information processing apparatus and control method thereof
CN103858078A (en) * 2011-10-03 2014-06-11 古野电气株式会社 Device having touch panel, radar device, plotter device, marine network system, symbol identification method and symbol identification program
CN103870131A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Method for controlling electronic device and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012121179A (en) * 2010-12-06 2012-06-28 Sharp Corp Image forming apparatus, and display control method
CN103858078A (en) * 2011-10-03 2014-06-11 古野电气株式会社 Device having touch panel, radar device, plotter device, marine network system, symbol identification method and symbol identification program
CN103336660A (en) * 2012-03-07 2013-10-02 佳能株式会社 Information processing apparatus and control method thereof
CN103870131A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Method for controlling electronic device and electronic device
CN103150105A (en) * 2013-01-17 2013-06-12 苏州佳世达电通有限公司 Adjustment method and system of virtual keyboard

Also Published As

Publication number Publication date
CN106033300A (en) 2016-10-19

Similar Documents

Publication Publication Date Title
US11561680B2 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
US11054988B2 (en) Graphical user interface display method and electronic device
US10042534B2 (en) Mobile terminal and method to change display screen
CN107045420B (en) Application program switching method, mobile terminal and storage medium
CN103019551B (en) Apparatus and method for performing shortcut function in portable terminal
US9529490B2 (en) Method and apparatus for improving one-handed operation of a large smartphone or a small tablet computer
RU2582854C2 (en) Method and device for fast access to device functions
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
US10540074B2 (en) Method and terminal for playing media
TW201923528A (en) Methods of direct manipulation of multi-layered user interfaces
WO2022001341A1 (en) Application program tag generation method, application interface display method and device
WO2019014859A1 (en) Multi-task operation method and electronic device
US20100333027A1 (en) Delete slider mechanism
CN105159581B (en) A kind of picture browsing method and mobile terminal
CN105511728B (en) A kind of desktop icon management method and device of terminal device
CN103034445A (en) Method for automatically defining unlock interface of mobile terminal equipment and mobile terminal equipment
CN105824693B (en) A kind of control method that multitask is shown and mobile terminal
WO2015106510A1 (en) Screen splitting method and device for applications, intelligent terminal and storage medium
CN108475205A (en) A kind of method, apparatus and electric terminal of display application
CN106325842B (en) Method and device for accessing similar applications of intelligent terminal and intelligent terminal
KR20130095970A (en) Apparatus and method for controlling object in device with touch screen
CN108712563B (en) Call control method and device and mobile terminal
KR20190040997A (en) Method and device for creating groups
CN108434728B (en) Operation control adaptation method and device, electronic equipment and storage medium
CN109983428B (en) Application operation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant