CN109814775A - Menu item method of adjustment, device and terminal - Google Patents
Menu item method of adjustment, device and terminal Download PDFInfo
- Publication number
- CN109814775A CN109814775A CN201711172626.0A CN201711172626A CN109814775A CN 109814775 A CN109814775 A CN 109814775A CN 201711172626 A CN201711172626 A CN 201711172626A CN 109814775 A CN109814775 A CN 109814775A
- Authority
- CN
- China
- Prior art keywords
- menu item
- menu
- target
- display
- selection operation
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
This application discloses a kind of menu item method of adjustment, device and terminals, belong to menu display field.This method comprises: receiving the selection operation to target menu item, selection operation is for triggering the corresponding function window of displaying target menu item;The operation associated of selection operation is obtained, operation associated is the operation received before or after receiving selection operation;According to the action type that operation associated identification selection operates, action type includes at least effectively operation and maloperation;The corresponding first display weight of target menu item is updated according to action type;According to display position of the first display weight adjustment target menu item in menu control.The application does not meet maloperation expected from user by operation associated can recognize that of analysis selection operation, it avoids being identified as user misoperation effectively to operate, accordingly, display weight as display position adjustment foundation is more accurate, so that the display position of menu control menu item is more in line with the use habit of user.
Description
Technical field
The invention relates to menu display field, in particular to a kind of menu item method of adjustment, device and end
End.
Background technique
Menu control is control most commonly seen in application program, and user passes through menu different in triggering menu control
, the various functions of application program can be used.
Display position of the menu item in menu control directly influences the service efficiency of function of application.In order to improve
The service efficiency of function of application, in a kind of menu item adjustment mode, terminal counts the number that the various menu item is selected,
And statistical result is reported to server, menu item is rearranged according to the number that the various menu item is selected by server, and
Rearranged result is handed down to terminal, resets display so that terminal carries out menu item according to rearranged result.
It is expected however, the menu control of user's triggering may and not meet user, if based on the expected touching of user is not met
The display position of operation adjustment menu item is sent out, the display position that will lead to menu item is unreasonable, influences making for function of application
Use efficiency.
Summary of the invention
The embodiment of the present application provides a kind of menu item method of adjustment, device and terminal, can solve base in the related technology
In the display position for not meeting the adjustment menu item of trigger action expected from user, cause the display position of menu item unreasonable, shadow
The problem of ringing the service efficiency of function of application.The technical solution is as follows:
In a first aspect, providing a kind of menu item method of adjustment, which comprises
The selection operation to target menu item is received, the selection operation shows that the target menu item is corresponding for triggering
Function window;
Obtain the operation associated of the selection operation, it is described it is operation associated be before or after receiving the selection operation
The operation received;
According to the action type of the operation associated identification selection operation, the action type includes at least effectively behaviour
Work and maloperation;
The corresponding first display weight of the target menu item is updated according to the action type;
Display position of the target menu item in menu control is adjusted according to the first display weight.
Second aspect, provides a kind of menu item adjustment device, and described device includes:
Receiving module, for receiving the selection operation to target menu item, the selection operation is for triggering described in display
The corresponding function window of target menu item;
Obtain module, for obtaining the operation associated of the selection operation, it is described it is operation associated be to receive the selection
The operation received before or after operation;
Identification module, for the action type according to the operation associated identification selection operation, the action type
Including at least effective operation and maloperation;
First update module is weighed for updating corresponding first display of the target menu item according to the action type
Weight;
Module is adjusted, for adjusting display of the target menu item in menu control according to the first display weight
Position.
The third aspect provides a kind of terminal, and the terminal includes processor and memory, is stored in the memory
At least one instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, institute
Code set or instruction set is stated to be executed by the processor to realize menu item method of adjustment as described in relation to the first aspect.
Fourth aspect provides a kind of computer readable storage medium, at least one finger is stored in the storage medium
Enable, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or
Instruction set is executed by the processor to realize menu item method of adjustment as described in relation to the first aspect.
Technical solution bring beneficial effect provided by the embodiments of the present application includes:
When receiving the selection operation to target menu item, received before or after further obtaining selection operation
It is operation associated, to be effectively operation or maloperation according to operation associated identification selection operation, and then based on operation associated
Action type the display weight of target menu item is updated, so as to according to display weight adjustment target menu item display
Position;Its display position is adjusted compared to the number selected in the related technology according only to menu item, by analyzing selection operation
Operation associated can recognize that do not meet maloperation expected from user, avoid being identified as user misoperation effectively to operate, phase
It answers, the display weight as display position adjustment foundation is more accurate, so that the display position of menu control menu item is more
Add the use habit for meeting user, and then improves the service efficiency of function of application.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the schematic diagram for the menu control that the application one embodiment provides;
Fig. 2 is the flow diagram of terminal adjustment menu item in the embodiment of the present application;
Fig. 3 shows the flow chart of the menu item method of adjustment of the application one embodiment offer;
Fig. 4 is the interface schematic diagram that corresponding function window is shown after selecting menu item;
Fig. 5 shows the flow chart of the menu item method of adjustment of another embodiment of the application offer;
Fig. 6 is the schematic diagram that operation statistics are carried out using effective operational counter and maloperation counter;
Fig. 7 is the implementation diagram of menu item method of adjustment shown in Fig. 8;
Fig. 8 shows the flow chart of the menu item method of adjustment of another embodiment of the application offer;
Fig. 9 is the implementation diagram of menu item method of adjustment shown in Fig. 8;
Figure 10 shows the flow chart of the menu item method of adjustment of another embodiment of the application offer;
Figure 11 shows the block diagram of the menu item adjustment device of the application one embodiment offer;
Figure 12 shows the structural block diagram of the terminal of one exemplary embodiment of the application offer.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
In order to facilitate understanding, noun involved in the embodiment of the present application is explained below.
Menu control: also known as menu bar is in application program for providing the control of function selection.Under normal conditions,
Hierarchical structure is presented in menu control, and includes several menu items in every layer of menu hierarchy.Schematically, Fig. 1, which is shown, includes
The menu control 10 of two layers of menu hierarchy, wherein menu item 11, menu item 12, menu item 13 and menu item 14 are located at the first dish
Monohierarchy, and the corresponding lower level menu items 111 of menu item 11, menu item 112, menu item 113 and menu item 114 are located at the second dish
Monohierarchy.
Wherein, menu control can be shown using list structure shown in FIG. 1, can also be carried out using tree
It has been shown that, and the various menu item in menu control can use the form of text, can also use the form of icon, the application is simultaneously
It is defined not to this.
For the exhalation mode of menu control, in a kind of possible embodiment, as shown in Figure 1, being set in user interface
It is equipped with menu exhalation control 15, when receiving the click signal to menu exhalation control 15, shows menu in user interface
First menu hierarchy of control 10.In other possible embodiments, clicked by mouse right button when being detected in user interface
When signal, the first menu hierarchy of menu control 10 is shown in user interface.
In the related technology, when detecting the selection operation to menu control menu item, terminal is i.e. to the menu item
It is carried out plus an operation by selection number, and the various menu item is reported to server by selection number, for example, when detect pair
When the selection operation of menu item 111, terminal is to be carried out adding an operation by selection number to menu item 111.Server is according to end
The data reported are held, the menu item in menu control is reset, the common menu item of user is arranged in be easy to choose and is arrived
Position, facilitate user quickly to select.Further, rearranged result is issued to terminal by server, so that terminal is according to rearrangement
As a result the arrangement of menu item is updated.
However, frequent progress data interaction is needed between server and terminal when carrying out menu item rearrangement by server,
In the case where that can not access network, menu item rearrangement can not be executed;Also, server is connected with great amount of terminals, processing pressure
It is larger, while in order to ensure rearranged result is issued to correct terminal, need to be arranged additional terminal identity identification in server
Module further increases the processing pressure of server.
Meanwhile user may and not meet expection to the selection operation of menu item, it is possible to which there are maloperations.For example, such as
Shown in Fig. 1, when user wants selection menu item 112, it may cause to have selected menu item 111 because of maloperation.If not to selection
It operates and is identified, and directly according to selection operation to being updated by selection number, it will lead to statistical result inaccuracy, accordingly
, rearranged result that server is obtained according to statistical result and the use habit for not meeting user.
In the embodiment of the present application, as shown in Fig. 2, including data acquisition module 21, pattern recognition module 22, intelligence in terminal
Module 23 of arranging and the big functional module of reporting module 24 4.In application program operational process, data acquisition module 21 i.e. acquisition pair
The selection operation of menu item and associated with the selection operation operation associated (Action), and by selection operation be associated with behaviour
Make input pattern identification module 22.Pattern recognition module 22 is according to the operation associated action type for identifying selection operation
(Mode), so that the action type input intelligence arrangement module 23 that will identify that, by intelligently arranging, module 23 carries out menu item row
Cloth, the menu control after rearrangement as the result is shown of finally being arranged by terminal according to menu item.Reporting module 24 is responsible for selection operation
Recognition result report to server, so that developer optimizes adjustment according to layout of the recognition result to menu control.
Entire menu item adjustment process is executed in terminal, without carrying out data interaction with server, alleviates server
Processing pressure;Meanwhile the action type based on the operation of operation associated identification selection, it can recognize that and not meet expected from user
Maloperation, and then improve the accuracy of subsequent menu item arrangement.
The menu item method of adjustment that each embodiment of the application provides is applied in terminal, which is smart phone, puts down
The electronic equipments such as plate computer, e-book, personal computer.For the convenience of description, following each embodiments are with menu item adjustment side
Method is illustrated for terminal.
Referring to FIG. 3, the flow chart of the menu item method of adjustment provided it illustrates the application one embodiment.This implementation
Example is applied to terminal with the menu item method of adjustment and comes for example, this method may include following steps:
Step 301, the selection operation to target menu item is received, selection operation is corresponding for triggering displaying target menu item
Function window.
In a kind of possible embodiment, in application program operational process, terminal is received to each target menu item
Selection operation, wherein the target menu item is the menu item for not including lower level menu items in menu control.
Correspondingly, after receiving the selection operation to target menu item, the terminal, that is, corresponding function of displaying target menu item
It can window.
Schematically, as shown in Figure 1, in menu control 10, menu item 11, menu item 12 and menu item 13 include junior's dish
Individual event, and menu item 14, menu item 111, menu item 112, menu item 113 and menu item 114 do not include lower level menu items, application
In program operation process, terminal is received to menu item 14, menu item 111, menu item 112, menu item 113 and menu item 114
Selection operation.
As shown in figure 4, terminal shows that menu item 111 is corresponding and leads when receiving the selection operation to menu item 111
Enter window 16.
Step 302, the operation associated of selection operation is obtained, operation associated received before or after receiving selection operation
The operation arrived.
In a kind of possible embodiment, the operation moment for each generic operation that terminal record receives, and according to operation
Moment determines the operation associated of selection operation.
Optionally, when it is operation associated be the operation received before selection operation when, terminal is by selection operation respective operations
Operation before moment in the first duration be determined as it is operation associated, for example, this first when a length of 1s;When it is operation associated be selection behaviour
When the operation received after making, terminal acts on function window in the second duration after the selection operation respective operations moment
Operation be determined as it is operation associated, for example, second when a length of 30s.
Step 303, according to operation associated identification selection operate action type, action type include at least effectively operation and
Maloperation.
It is operation associated according to what is got, the action type of terminal recognition selection operation, wherein the action type identified
Including effectively operating and maloperation.
Wherein, effectively operation (CorrectOperate) is the operation for meeting operation intention of user, maloperation
It (FaultOperate) is then the operation for not meeting operation intention of user
Since user is after maloperation, it will usually the maloperation is quickly cancelled, therefore, in a kind of possible embodiment
In, it is operation associated for when cancelling corresponding selection operation, terminal to determine that selection operation is maloperation when detecting;And when association
When operation is the subsequent operation carried out in function window (triggered and shown by selection operation), terminal determines that selection operation is to have
Effect operation.
Schematically, as shown in figure 4, terminal determines when the operation associated operation for closing function window 16 got
Selection operation to menu item 111 is maloperation;It is operation associated in the behaviour of the progress data input of function window 16 when getting
When making, terminal determines that the selection operation of menu item 111 be effectively operation.
Step 304, the corresponding first display weight of target menu item is updated according to action type.
Optionally, the menu item in menu control corresponds to respective initial display weight, menu control menu item just
Beginning display position is i.e. by initially showing that weight determines.
According to the action type of selection operation, terminal is updated the display weight of target menu item.In a kind of possibility
Embodiment in, when selection operation is effectively operation, terminal carries out add operation to the display weight of target menu item;It is elected
When to select operation be maloperation, terminal carries out reducing to the display weight of target menu item.
Step 305, the display position according to the first display weight adjustment target menu item in menu control.
Optionally, terminal is spaced at predetermined time intervals, or, when the amplitude of variation of the first display weight is greater than threshold value, root
According to display position of the first display weight adjustment target menu item in menu control.
Wherein, the display weight of menu item and menu hierarchy locating for menu item are in inverse ratio, that is, show that weight is bigger, menu
Menu hierarchy locating for is smaller, correspondingly, user can choose the menu item by less menu hierarchy selection;Menu
The display weight of item is in inverse ratio at a distance from menu item to Previous Menu item, that is, shows that weight is bigger, menu item and Previous Menu
The distance of item is closer, correspondingly, user can quickly choose this by shorter sliding distance after clicking Previous Menu item
Menu item.
In conclusion, when receiving the selection operation to target menu item, further obtaining selection behaviour in the present embodiment
What is received before or after work is operation associated, to be effectively operation according to operation associated identification selection operation or accidentally grasp
Make, and then be updated based on display weight of the operation associated action type to target menu item, so as to according to display weight
Adjust the display position of target menu item;It, which is adjusted, compared to the number selected in the related technology according only to menu item shows position
It sets, operation associated can recognize that by analyzing selection operation does not meet maloperation expected from user, avoids accidentally grasping user
It is identified as effectively operating, correspondingly, the display weight as display position adjustment foundation is more accurate, so that in menu control
The display position of menu item is more in line with the use habit of user, and then improves the service efficiency of function of application.
Referring to FIG. 5, the flow chart of the menu item method of adjustment provided it illustrates another embodiment of the application.This reality
Example is applied to come applied to terminal for example, this method may include following steps with the menu item method of adjustment:
Step 501, the selection operation to target menu item is received, selection operation is corresponding for triggering displaying target menu item
Function window.
The embodiment of this step is similar to above-mentioned steps 301, and details are not described herein for the present embodiment.
Step 502, it receives and acts on the operation of function window, and the operation is determined as operation associated.
After terminal is according to the corresponding function window of selection operation displaying target menu item, user executes in the function window
Subsequent operation be able to reflect out whether selection operation meets expection, and then terminal can determine selection operation according to subsequent operation
It whether is maloperation.Therefore, the operation that terminal will act on function window is determined as operation associated.
In a kind of possible embodiment, terminal has pre-defined four kinds of operations for acting on function window, respectively
Action1 to Action4, wherein Action1 is the data entry operation for acting on function window, and Action2 is to act on function
Can window new window trigger action, Action3 be end functions window life cycle the first shutoff operation (window data has
Effect), Action4 is the second shutoff operation of end functions window life cycle (window data is invalid).It is grasped below with above-mentioned 4 kinds
It is illustrated as example, determines that the operation associated of selection operation includes the following steps.
One, it when receiving data entry operation in function window, enters data into operation and is determined as the first association behaviour
Make.
When in the corresponding function window of target menu item including data entry controls, for example, text filed
(textarea), check box (checkbox), radio button (radio), selective listing (select) or file domain (file) etc.
Data entry operation is received by data entry controls Deng, terminal, and the data entry operation received is determined as first
It is operation associated.
Schematically, as shown in figure 4, including text filed 161 in function window 16, radio button 162, selective listing
163 and check box 164.When detecting input content in text filed 161, and/or, detect the click to radio button 162
Signal, and/or, detect the click signal to selective listing 163, and/or, when detecting the selection signal to check box 164,
Terminal get it is first operation associated,
Two, when receiving new window trigger action in function window, new window trigger action is determined as the second pass
Connection operation.
When in the corresponding function window of target menu item including the control for creating new window, terminal passes through the control
Part receives new window trigger action, and it is operation associated that the new window trigger action received is determined as second.
Schematically, as shown in figure 4, including control 165 in function window 16, which includes for triggering display
The new window for importing notice content, when receiving the trigger action to control 165, it is operation associated that terminal gets second.
Three, when receiving the first shutoff operation to function window, and the window in the first shutoff operation instruction function window
It is that third is operation associated by the first shutoff operation when mouth data are effective.
After user completes specified operation in function window, need to close the function window by the first shutoff operation,
That is the life cycle of end functions window.Also, after executing the first shutoff operation, the window data in the function window has
Effect.
Optionally, when receive in function window confirming button, submitting button or save button clicking operation when
(function window can close after receiving such clicking operation), terminal determination receive the first shutoff operation.
Schematically, as shown in figure 4, when receiving the clicking operation to confirming button 166, terminal, which determines, receives the
One shutoff operation, and it is operation associated that the first shutoff operation is determined as third.
Four, when receiving the second shutoff operation to function window, and the window in the second shutoff operation instruction function window
It is the 4th operation associated by the second shutoff operation when mouth data invalid.
User does not execute any operation to function window, or after removing the window data in function window, needs to terminate
When the life cycle of function window, that is, pass through the second shutoff operation closing function window, wherein executing the second shutoff operation
Afterwards, the window data in the function window is invalid.
Optionally, (the function window when receiving the clicking operation to cancel button or close button in function window
Can be closed after receiving such clicking operation), terminal determination receives the second shutoff operation.
Schematically, as shown in figure 4, when receiving to cancel button 167, or, when the clicking operation of close button 168,
Terminal determination receives the second shutoff operation, and it is operation associated that the second shutoff operation is determined as the 4th.
The present embodiment only by above-mentioned four kinds it is possible it is operation associated for schematically illustrated, in other possible implementations
In mode, terminal can also will receive voice input operation, Image Acquisition operation or sensor signal typing after selection operation
Operation (for example rocking mobile phone) is determined as operation associated, and the present embodiment is defined not to this.
Step 503, according to operation associated identification selection operate action type, action type include at least effectively operation and
Maloperation.
Further, terminal is effective operation or maloperation according to the operation of operation associated identification selection.
In conjunction with described in above-mentioned steps 502 four kinds it is operation associated, this step includes the following steps.
One, when it is operation associated be first operation associated, the second operation associated or when third is operation associated, identification selection operation
Effectively to operate.
When the function window shown after clicking target menu item meets user's expection, user would generally be in function interface
Input data, triggering display new window submit window data, therefore, it is operation associated be first operation associated, the second association
When operation or third are operation associated, terminal determines that the selection operation of target menu item be effectively operation.
Two, when it is operation associated be the 4th operation associated when, identification selection operation be maloperation.
Opposite, when the function window shown after clicking target menu item does not meet user's expection, user is typically directly
Closing function window, thus it is operation associated be the 4th operation associated when, terminal determination is to the selection operation of target menu item
Maloperation.
Step 504, when action type is effectively operation, add operation is carried out to the first display weight of target menu item.
Maintenance has the corresponding display weight of the various menu item in terminal, when the selection operation to target menu item is effectively to grasp
When making, terminal is to carry out add operation to the first display weight of target menu item.For example, terminal adds the first display weight
One operation.
Step 505, when action type is maloperation, reducing is carried out to the first display weight of target menu item.
It is opposite with above-mentioned steps 504, when the selection operation to target menu item is maloperation, indicate target menu item
Display position it is unreasonable (or the use habit for not meeting user), therefore terminal is to show weight to the first of target menu item
Carry out reducing (i.e. imparting maloperation negative weight).For example, terminal carries out subtracting one operation to the first display weight.
The corresponding effective operational counter of each menu item in other possible embodiments, in menu control
(CorrectOperateCount) and maloperation counter (FaultOperateCount).When determine selection operation be effectively behaviour
When making, terminal is carried out to effective operational counter of target menu item plus an operation;When determining selection operation maloperation, eventually
End is carried out to the maloperation counter of target menu item plus an operation.It is carried out more in the first display weight to target menu item
When new, terminal is to be updated according to the difference of effective operational counter and maloperation counter to the first display weight.For example,
When target menu item first display weight be 40, and effectively operational counter be 20, maloperation counter be 2 when, after update
First display weight be 40+ (20-2)=58.
Schematically, as shown in fig. 6, terminal according to target menu item selection operation trigger display function window after,
The operation for acting on the function window is received, when receiving Action1, Action2 or Action3, that is, determines selection operation
Effectively to operate, and effective operational counter is carried out to add one;When receiving Action4, that is, determine that selection operation is accidentally to grasp
Make, and maloperation counter is carried out to add one.
Step 506, the second display weight of menu item at the same level is obtained, menu item at the same level and target menu item are located at same dish
Monohierarchy.
According to actual service condition, terminal is through the above steps to the display weight of the various menu item in menu control
It is updated, and is based further on the display weight and the display position of menu item is adjusted.
In a kind of possible embodiment, target menu item is adjusted at the display position of affiliated menu hierarchy, terminal
Obtain the first display weight of target menu item after updating and the second display weight of menu item at the same level.
Schematically, as shown in figure 4, adjusting menu item 111 (target menu item), menu item 112 (together according to service condition
Grade menu item), the display position of menu item 113 (menu item at the same level) and menu item 114 (menu item at the same level) when, terminal is got
The display weight of menu item 111 is 50, and the display weight of menu item 112 is 40, and the display weight of menu item 113 is 30, menu
The display weight of item 114 is 25.
Step 507, according to the first display weight and the second display weight, the display position of target menu item is adjusted, wherein
Distance and display weight negative correlation of the display position to Previous Menu item.
At display position of the adjustment with level menu item, after making user click Previous Menu item, can quickly select
The most menu item of effective number of operations (i.e. the highest menu item of frequency of use) in lower level menu items is selected, to improve operation
Efficiency, in a kind of possible embodiment, size of the terminal by comparing the first display weight and the second display weight, display
The biggish menu item of weight is adjusted to apart from the closer display position of Previous Menu item, correspondingly, the lesser dish of weight will be shown
Individual event is adjusted to apart from the farther away display position of Previous Menu item.
Schematically, as shown in fig. 7, the corresponding lower level menu items of menu item " tool " (Previous Menu item) include menu item
" message management ", menu item " importing ", menu item " lookup " and menu item " recovery ", and under original state, four menu items are each
Self-corresponding display weight is respectively 40,35,30,25, wherein the distance of each lower level menu items to Previous Menu item by closely to
Far: message management-importing-lookup-recovery.And (25 are carried out to menu item " importing " after carrying out 25 import operations
Secondary effective operation), the corresponding display weight of menu item " importing " is updated to 35+25=60, and terminal is weighed according to updated display
Weight exchanges the display position of menu item " importing " and menu item " message management ", so that menu item " importing " is apart from Previous Menu
Item is recently.
It should be noted that be updated according to first display weight of the selection operation received to target menu item
Meanwhile terminal is updated according to the display weight to the corresponding Previous Menu item of target menu item.
In a kind of possible embodiment, when selection operation is effectively operation, terminal is corresponding to target menu item
The display weight of Previous Menu item carries out add operation;When selection operation is maloperation, on terminal is corresponding to target menu item
The display weight of grade menu item carries out reducing.
Correspondingly, terminal uses mode similar with above-mentioned steps 506 to 507, to the display position of Previous Menu item into
Row adjustment.
Step 508, default prompt information is shown, default prompt information is for prompting whether update menu control adjusted
Part.
In a kind of possible embodiment, terminal is stored (the display position of menu item to display position adjustment result
Set and change), when application program is again started up, prompt the user whether to enable update display position menu control adjusted
Part.
In alternatively possible embodiment, when terminal maintenance have the corresponding effective operational counter of the various menu item and
When maloperation counter, terminal calculates effective number of clicks (ValidClickNumber, VCN) of the various menu item, and is having
When imitating number of clicks greater than frequency threshold value, default prompt information is shown, for example, the frequency threshold value is 20.
In other possible embodiments, terminal is spaced the default prompt information of display at predetermined time intervals, or, opening automatically
With menu control adjusted, the present embodiment is defined not to this.
Step 509, when receiving determining instruction, menu control adjusted is shown.
Correspondingly, determining that terminal shows menu control adjusted when indicating when receiving, refer to if not receiving determination
Show, the display position that terminal then keeps menu item original.
Schematically, as shown in fig. 7, menu item " importing " is adjusted to apart from menu after the multiple import operation of user's execution
" tool " nearest display position when subsequent progresss import operation, can quickly choose dish after selection menu item " tool "
Individual event " importing ".
In the present embodiment, after terminal receives the selection operation to target menu item, by the operation of action and function window
It is determined as operation associated, is able to reflect out whether user performs effective operation in the function window since this is operation associated,
Therefore can identify whether the selection operation for target menu item is maloperation based on operation associated;Further, for knowing
Not Chu maloperation, terminal carries out reducing to the display weight of target menu item, to avoid in the related technology because that can not know
The problem of display weight inaccuracy caused by other maloperation, and then improve subsequent based on display weight progress display position adjustment
Accuracy.
Further, in the present embodiment, terminal is weighed according to the corresponding display of the various menu item in same menu hierarchy
Weight, will show that the maximum menu item of weight is adjusted to the display position nearest apart from Previous Menu item, will show that weight is the smallest
Menu item is adjusted to the display position farthest apart from Previous Menu item, improves the efficiency of selection of common menu item, and is reduced
Be of little use the misoperation probability of menu item.
In embodiment illustrated in fig. 5, terminal is adjusted the display position of same level menu item according only to display weight,
In a kind of possible embodiment, in order to further increase the operating efficiency to high utilization rate menu item, terminal adjustment is high to be used
The menu hierarchy of rate menu item.On the basis of Fig. 5, as shown in figure 8, above-mentioned steps 506 to 507 may alternatively be following step
Suddenly.
Step 510, for candidate's menu item each in the (n-1)th menu hierarchy, the third for obtaining candidate menu item shows power
Weight, target menu item are located at the n-th menu hierarchy, n >=2.
In the present embodiment, target menu item is located at the n-th menu hierarchy of menu control, the Previous Menu item of target menu item
Positioned at the (n-1)th menu hierarchy, and the initial display weight of the (n-1)th menu hierarchy menu item is greater than menu in the n-th menu hierarchy
The initial display weight of item, n >=2, n are integer.
Schematically, as shown in figure 9, including menu item " tool ", menu item " setting ", menu item in the first menu hierarchy
" help " and menu item " upgrading ", and under original state, the corresponding display weight of four menu items is 50,60,70 and 80.
It " is looked into corresponding second menu hierarchy of menu item " tool " including menu item " message management ", menu item " importing ", menu item
Look for " and menu item " recovery ", and under original state, the corresponding display weight of four menu items is 40,35,30 and 25.
When terminal determines the need for menu item " importing " being moved to a upper menu hierarchy, that is, obtains and be located at the first menu
The third of the various menu item shows weight in level.In the present embodiment, the third got shows that weight includes: 50,60,70 and
80。
Step 511, if the first display weight, which is greater than third, shows weight, and weight difference is greater than threshold value, then by target dish
Individual event is adjusted to the (n-1)th menu hierarchy.
Further, terminal calculates the first display weight and third shows the weight difference of weight, and right to examin method of double differences value
Whether threshold value is greater than.If weight difference is greater than threshold value, target menu item is adjusted to the (n-1)th menu hierarchy, if weight difference
Less than threshold value, then target menu item is retained in the n-th menu hierarchy.For example, the threshold value is 20.
Schematically, as shown in figure 9, after executing 50 import operations, the display weight of menu item " importing " is become by 35
Turn to 85.Since the weight difference of menu item candidate in menu item " importing " and the first menu hierarchy is greater than 20, terminal will
Menu item " importing " is adjusted by the second menu hierarchy to the first menu hierarchy.
As shown in figure 9, after breathing out menu control, need to click menu item " tool " when user originally carried out import operation,
And click the menu item " importing " in its lower level menu items;And it is adjusted by display position of the above method to menu item
Afterwards, after breathing out menu control, user can click menu item " importing " in the first menu hierarchy, and operating efficiency is higher.
In other possible embodiments, because maloperation causes the display of a certain menu item in the (n-1)th menu hierarchy to be weighed
When reducing, and showing that weight reduces amplitude greater than threshold value again, terminal is adjusted the menu item to the n-th dish by the (n-1)th menu hierarchy
Monohierarchy (lower level menu items as a certain menu item in the (n-1)th menu hierarchy).For example, when the menu item " upgrading " in Fig. 9
When causing to show that weight reduces because of multiple maloperation, sub-menus of the terminal by menu item " upgrading " as menu item " tool "
, it is moved to the second menu hierarchy.
In the present embodiment, terminal will show that weight is biggish according to the display weighted value of menu item between different menu level
Menu item adjusts a supreme menu hierarchy, it is ensured that and the higher menu item of frequency of use is preferably displaying in higher menu hierarchy, from
And user is improved to the efficiency of selection of high frequency of use menu item.
Due to menu item corresponding selection operation trigger area setting is unreasonable etc., user needs to repeat to click menu
Item could trigger the corresponding function window of display, influence operating efficiency.To solve the above-mentioned problems, in a kind of possible embodiment party
In formula, after terminal receives the selection operation to target menu item, further by the behaviour interior for the previous period of the selection operation
Work be determined as it is operation associated, to whether be invalid operation according to the operation associated determining selection operation;When determining selection operation
When for invalid operation, the adjustment selection operation trigger area of end objectives menu item guarantees the efficiency of subsequent operation.Fig. 5's
On the basis of, it further include following steps after above-mentioned steps 501 as shown in Figure 10.
Step 512, before receiving selection operation in scheduled duration, target menu item side is triggered in vain if receiving
Clicking operation in region, then will click on operation, to be determined as the 5th operation associated.
If the corresponding selection operation trigger area setting of menu item is unreasonable, such as the corresponding selection operation triggering of menu item
Region is less than its actual display size (especially for some menu items presented with icon or picture), and user is finally touching
It delivers vegetables before individual event, may repeatedly click the inactive area of menu item side.In order to identify this generic operation, terminal is received
It when to target menu item selection operation, will receive before selection operation in scheduled duration, and it is invalid to be located at target menu item side
It is operation associated that clicking operation in trigger area is determined as the 5th.
Wherein, do not include in invalid trigger area and can trigger element, for example can trigger control, can trigger link etc..
For example, the region that target menu item side width is 10px is determined as invalid trigger area by terminal.
Step 513, when it is operation associated be the 5th operation associated when, determine selection operation be invalid operation.
When selection operation operation associated is the 5th operation associated, selection operation is determined as invalid operation by terminal.
Step 514, frequency threshold value is reached to the invalid operation number of target menu item if receiving, increases the target
The selection operation trigger area of menu item.
A kind of corresponding invalid operation counter of the various menu item in possible embodiment, in menu control
(InvalidOperateCount).When determining the selection operation to target menu item is invalid operation, terminal is i.e. to target dish
The invalid operation counter of individual event carries out plus an operation.
When the technology of the invalid operation counter of target menu item reaches frequency threshold value (such as 10 times), terminal is determined
The selection operation trigger area setting of target menu item is unreasonable, and increases the size of its selection operation trigger area.
In other possible embodiments, when the invalid operation number of target menu item reaches frequency threshold value, terminal
It is reported to server, so that developer handles target menu item, and terminal is handed down to, by terminal according to processing result
Target menu item is adjusted, this implementation is defined not to this.
In the present embodiment, before terminal is operated by identification selection, clicking operation of the user in invalid trigger area will
Selection operation is determined as invalid operation, and when the invalid operation number of target menu item reaches threshold value, to target menu item
Trigger area is adjusted, so that it is unreasonable to solve the problems, such as that the trigger area of target menu item is arranged, and then is improved subsequent
Operating efficiency.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Figure 11 is please referred to, it illustrates the block diagrams for the menu item adjustment device that the application one embodiment provides.The device
With the exemplary function of the above method is executed, function can also be executed corresponding software realization by hardware realization by hardware.
The apparatus may include: receiving module 1110 obtains module 1120, identification module 1130, the first update module 1140 and adjustment
Module 1150.
Receiving module 1110, for receiving the selection operation to target menu item, the selection operation is for triggering display
The corresponding function window of the target menu item;
Obtain module 1120, for obtaining the operation associated of the selection operation, it is described it is operation associated be receive it is described
The operation received before or after selection operation;
Identification module 1130, for the action type according to the operation associated identification selection operation, the operation
Type includes at least effectively operation and maloperation;
First update module 1140, for updating corresponding first display of the target menu item according to the action type
Weight;
Module 1150 is adjusted, for adjusting the target menu item in menu control according to the first display weight
Display position.
Optionally, it is described it is operation associated be to receive the operation received after the selection operation;
The acquisition module 1120 is determined as receiving the operation for acting on the function window, and by the operation
It is described operation associated.
Optionally, the acquisition module 1120, is specifically used for:
When receiving data entry operation in the function window, the data entry operation is determined as the first pass
Connection operation;
And/or
When receiving new window trigger action in the function window, the new window trigger action is determined as
Two is operation associated;
And/or
When receiving the first shutoff operation to the function window, and first shutoff operation indicates the function window
It is that third is operation associated by first shutoff operation when window data in mouthful is effective;
And/or
When receiving the second shutoff operation to the function window, and second shutoff operation indicates the function window
It is the 4th operation associated by second shutoff operation when window data in mouthful is invalid.
Optionally, the identification module 1130, comprising:
First recognition unit, for when it is described it is operation associated for it is described first operation associated, described second it is operation associated or
When the third is operation associated, identify that the selection operation is effective operation;
Second recognition unit, for identifying the selection operation when described operation associated operation associated for the described 4th
For the maloperation.
Optionally, first update module 1140, comprising:
First updating unit, for when the action type be effective operation when, to it is described first display weight into
Row add operation;
Second updating unit, for being carried out to the first display weight when the action type is the maloperation
Reducing.
Optionally, the adjustment module 1150, comprising:
First acquisition unit, for obtaining the second display weight of menu item at the same level, peer's menu item and the mesh
Mark menu item is located at same menu hierarchy;
The first adjustment unit, for adjusting the target according to the first display weight and the second display weight
The display position of menu item, wherein the distance of the display position to Previous Menu item and the display negatively correlated pass of weight
System.
Optionally, the target menu item is located at the n-th menu hierarchy of the menu control, the target menu item it is upper
Grade menu item is located at the (n-1)th menu hierarchy, and the initial display weight of the (n-1)th menu hierarchy menu item is greater than described the
The initial display weight of n menu hierarchy menu item, n >=2, n are integer;
The adjustment module 1150, including
Second acquisition unit, for obtaining the candidate dish for candidate's menu item each in (n-1)th menu hierarchy
The third of individual event shows weight;
Second adjustment unit, for showing weight when the first display weight is greater than the third, and weight difference is big
When threshold value, the target menu item is adjusted to (n-1)th menu hierarchy.
Optionally, it is described it is operation associated be to receive the operation received before the selection operation;
The acquisition module 1120, is also used to before receiving the selection operation in scheduled duration, if receiving to institute
The clicking operation in the invalid trigger area in target menu item side is stated, then it is operation associated the clicking operation to be determined as the 5th;
Described device, further includes:
Determining module, for determining that the selection operation is nothing when described operation associated operation associated for the described 5th
Effect operation;
Increase module, for when receive frequency threshold value is reached to the invalid operation number of the target menu item when, increase
The selection operation trigger area of the big target menu item.
Optionally, described device, further includes:
Cue module, for showing default prompt information, the default prompt information is for prompting after whether updating adjustment
The menu control;
Display module, for showing the menu control adjusted when receiving determining instruction.
In conclusion, when receiving the selection operation to target menu item, further obtaining selection behaviour in the present embodiment
What is received before or after work is operation associated, to be effectively operation according to operation associated identification selection operation or accidentally grasp
Make, and then be updated based on display weight of the operation associated action type to target menu item, so as to according to display weight
Adjust the display position of target menu item;It, which is adjusted, compared to the number selected in the related technology according only to menu item shows position
It sets, operation associated can recognize that by analyzing selection operation does not meet maloperation expected from user, avoids accidentally grasping user
It is identified as effectively operating, correspondingly, the display weight as display position adjustment foundation is more accurate, so that in menu control
The display position of menu item is more in line with the use habit of user, and then improves the service efficiency of function of application.
In the present embodiment, after terminal receives the selection operation to target menu item, by the operation of action and function window
It is determined as operation associated, is able to reflect out whether user performs effective operation in the function window since this is operation associated,
Therefore can identify whether the selection operation for target menu item is maloperation based on operation associated;Further, for knowing
Not Chu maloperation, terminal carries out reducing to the display weight of target menu item, to avoid in the related technology because that can not know
The problem of display weight inaccuracy caused by other maloperation, and then improve subsequent based on display weight progress display position adjustment
Accuracy.
Further, in the present embodiment, terminal is weighed according to the corresponding display of the various menu item in same menu hierarchy
Weight, will show that the maximum menu item of weight is adjusted to the display position nearest apart from Previous Menu item, will show that weight is the smallest
Menu item is adjusted to the display position farthest apart from Previous Menu item, improves the efficiency of selection of common menu item, and is reduced
Be of little use the misoperation probability of menu item.
In the present embodiment, terminal will show that weight is biggish according to the display weighted value of menu item between different menu level
Menu item adjusts a supreme menu hierarchy, it is ensured that and the higher menu item of frequency of use is preferably displaying in higher menu hierarchy, from
And user is improved to the efficiency of selection of high frequency of use menu item.
In the present embodiment, before terminal is operated by identification selection, clicking operation of the user in invalid trigger area will
Selection operation is determined as invalid operation, and when the invalid operation number of target menu item reaches threshold value, to target menu item
Trigger area is adjusted, so that it is unreasonable to solve the problems, such as that the trigger area of target menu item is arranged, and then is improved subsequent
Operating efficiency.
Figure 12 shows the structural block diagram of the terminal 1200 of one exemplary embodiment of the application offer.The terminal 1200 can
To be portable mobile termianl, such as: smart phone, tablet computer, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player.Terminal 1200 is also
Other titles such as user equipment, portable terminal may be referred to as.
In general, terminal 1200 includes: processor 1201 and memory 1202.
Processor 1201 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 1201 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1201 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 1201 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1201 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 1202 may include one or more computer readable storage mediums, which can
To be tangible and non-transient.Memory 1202 may also include high-speed random access memory and nonvolatile memory,
Such as one or more disk storage equipments, flash memory device.In some embodiments, non-transient in memory 1202
Computer readable storage medium for storing at least one instruction, at least one instruction for performed by processor 1201 with
Realize menu item method of adjustment provided herein.
In some embodiments, terminal 1200 is also optional includes: peripheral device interface 1203 and at least one periphery are set
It is standby.Specifically, peripheral equipment includes: radio circuit 1204, touch display screen 1205, camera 1206, voicefrequency circuit 1207, determines
At least one of hyte part 1208 and power supply 1209.
Peripheral device interface 1203 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 1201 and memory 1202.In some embodiments, processor 1201, memory 1202 and periphery
Equipment interface 1203 is integrated on same chip or circuit board;In some other embodiments, processor 1201, memory
1202 and peripheral device interface 1203 in any one or two can be realized on individual chip or circuit board, this implementation
Example is not limited this.
Radio circuit 1204 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.
Radio circuit 1204 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1204 is by telecommunications
Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit
1204 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution
Code chipset, user identity module card etc..Radio circuit 1204 can by least one wireless communication protocol come with it is other
Terminal is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network
(2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations
In example, radio circuit 1204 can also include that NFC (Near Field Communication, wireless near field communication) is related
Circuit, the application are not limited this.
Touch display screen 1205 is for showing UI (User Interface, user interface).The UI may include figure, text
Sheet, icon, video and its their any combination.Touch display screen 1205 also has acquisition on the surface of touch display screen 1205
Or the ability of the touch signal of surface.The touch signal can be used as control signal and be input at processor 1201
Reason.Touch display screen 1205 is for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or soft keyboard.In some realities
It applies in example, touch display screen 1205 can be one, and the front panel of terminal 1200 is arranged;In further embodiments, it touches aobvious
Display screen 1205 can be at least two, be separately positioned on the different surfaces of terminal 1200 or in foldover design;In still other implementation
In example, touch display screen 1205 can be flexible display screen, be arranged on the curved surface of terminal 1200 or on fold plane.Very
Extremely, touch display screen 1205 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Touch display screen 1205 can be with
Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode,
Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1206 is for acquiring image or video.Optionally, CCD camera assembly 1206 includes front camera
And rear camera.In general, front camera is for realizing video calling or self-timer, rear camera is for realizing photo or view
The shooting of frequency.In some embodiments, rear camera at least two are that main camera, depth of field camera, wide-angle are taken the photograph respectively
As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide
Pan-shot and VR (Virtual Reality, virtual reality) shooting function are realized in camera fusion in angle.In some embodiments
In, CCD camera assembly 1206 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, be also possible to double-colored temperature flash of light
Lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for the light compensation under different-colour.
Voicefrequency circuit 1207 is used to provide the audio interface between user and terminal 1200.Voicefrequency circuit 1207 may include
Microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and converts sound waves into electric signal and be input to processing
Device 1201 is handled, or is input to radio circuit 1204 to realize voice communication.For stereo acquisition or the mesh of noise reduction
, microphone can be separately positioned on the different parts of terminal 1200 to be multiple.Microphone can also be array microphone or complete
To acquisition type microphone.Loudspeaker is then used to that sound wave will to be converted to from the electric signal of processor 1201 or radio circuit 1204.
Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When loudspeaker is piezoelectric ceramic loudspeaker
When, the audible sound wave of the mankind can be not only converted electrical signals to, the sound that the mankind do not hear can also be converted electrical signals to
Wave is to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1207 can also include earphone jack.
Positioning component 1208 is used for the current geographic position of positioning terminal 1200, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 1208 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group
Part.
Power supply 1209 is used to be powered for the various components in terminal 1200.Power supply 1209 can be alternating current, direct current
Electricity, disposable battery or rechargeable battery.When power supply 1209 includes rechargeable battery, which can be line charge
Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through
The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1200 further includes having one or more sensors 1210.One or more sensing
Device 1210 includes but is not limited to: acceleration transducer 1211, gyro sensor 1212, pressure sensor 1213, fingerprint sensing
Device 1214, optical sensor 1215 and proximity sensor 1216.
Acceleration transducer 1211 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1200
Size.For example, acceleration transducer 1211 can be used for detecting component of the acceleration of gravity in three reference axis.Processor
The 1201 acceleration of gravity signals that can be acquired according to acceleration transducer 1211, control touch display screen 1205 with transverse views
Or longitudinal view carries out the display of user interface.Acceleration transducer 1211 can be also used for game or the exercise data of user
Acquisition.
Gyro sensor 1212 can detecte body direction and the rotational angle of terminal 1200, gyro sensor 1212
Acquisition user can be cooperateed with to act the 3D of terminal 1200 with acceleration transducer 1211.Processor 1201 is according to gyro sensors
The data that device 1212 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped
Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1205 in terminal 1200 can be set in pressure sensor 1213.When
When the side frame of terminal 1200 is arranged in pressure sensor 1213, user can detecte to the gripping signal of terminal 1200, according to
The gripping signal carries out right-hand man's identification or prompt operation.When the lower layer of touch display screen 1205 is arranged in pressure sensor 1213
When, it can be according to user to the pressure operation of touch display screen 1205, the operability control on the interface UI is controlled in realization
System.Operability control includes at least one of button control, scroll bar control, icon control, menu control.
Fingerprint sensor 1214 is used to acquire the fingerprint of user, according to the identity of collected fingerprint recognition user.?
When the identity for identifying user is trusted identity, the user is authorized to execute relevant sensitive operation, the sensitivity by processor 1201
Operation includes solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1214 can be by
The front, the back side or side of terminal 1200 are set.When being provided with physical button or manufacturer Logo in terminal 1200, fingerprint sensing
Device 1214 can be integrated with physical button or manufacturer Logo.
Optical sensor 1215 is for acquiring ambient light intensity.In one embodiment, processor 1201 can be according to light
The ambient light intensity that sensor 1215 acquires is learned, the display brightness of touch display screen 1205 is controlled.Specifically, work as ambient light intensity
When higher, the display brightness of touch display screen 1205 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1205 is turned down
Show brightness.In another embodiment, the ambient light intensity that processor 1201 can also be acquired according to optical sensor 1215, is moved
The acquisition parameters of state adjustment CCD camera assembly 1206.
Proximity sensor 1216, also referred to as range sensor are generally arranged at the front of terminal 1200.Proximity sensor 1216
For acquiring the distance between the front of user Yu terminal 1200.In one embodiment, when proximity sensor 1216 detects
When the distance between the front of user and terminal 1200 gradually becomes smaller, touch display screen 1205 is controlled from bright screen by processor 1201
State is switched to breath screen state;When proximity sensor 1216 detects that the distance between user and the front of terminal 1200 gradually become
When big, touch display screen 1205 is controlled by processor 1201 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1200 of structure shown in Figure 12
Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
The application also provides a kind of computer readable storage medium, be stored in the storage medium at least one instruction,
At least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or refer to
Collection is enabled to be loaded by the processor and executed the menu item method of adjustment to realize above method embodiment offer.
Optionally, present invention also provides a kind of computer program products comprising instruction, when it runs on computers
When, so that computer executes menu item method of adjustment described in above-mentioned various aspects.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (12)
1. a kind of menu item method of adjustment, which is characterized in that the described method includes:
The selection operation to target menu item is received, the selection operation shows the corresponding function of the target menu item for triggering
It can window;
Obtain the operation associated of the selection operation, it is described it is operation associated be to be received before or after receiving the selection operation
The operation arrived;
According to the action type of the operation associated identification selection operation, the action type include at least effectively operation and
Maloperation;
The corresponding first display weight of the target menu item is updated according to the action type;
Display position of the target menu item in menu control is adjusted according to the first display weight.
2. the method according to claim 1, wherein it is described it is operation associated be after receiving the selection operation
The operation received;
It is described to obtain the operation associated of the selection operation, comprising:
It receives and acts on the operation of the function window, and the operation is determined as described operation associated.
3. according to the method described in claim 2, it is characterized in that, described receive acts on the operation of the function window, and
The operation is determined as described operation associated, comprising:
When receiving data entry operation in the function window, the data entry operation is determined as the first association behaviour
Make;
And/or
When receiving new window trigger action in the function window, the new window trigger action is determined as the second pass
Connection operation;
And/or
When receiving the first shutoff operation to the function window, and first shutoff operation indicates in the function window
Window data it is effective when, by first shutoff operation be third it is operation associated;
And/or
When receiving the second shutoff operation to the function window, and second shutoff operation indicates in the function window
Window data it is invalid when, be the 4th operation associated by second shutoff operation.
4. according to the method described in claim 3, it is characterized in that, described according to the operation associated identification selection operation
Action type, comprising:
When it is described it is operation associated for described first operation associated, the described second operation associated or described third is operation associated when, know
The not described selection operation is effective operation;
When described operation associated operation associated for the described 4th, identify that the selection operation is the maloperation.
5. method according to any one of claims 1 to 4, which is characterized in that described according to action type update
The corresponding first display weight of target menu item, comprising:
When the action type is effective operation, add operation is carried out to the first display weight;
When the action type is the maloperation, reducing is carried out to the first display weight.
6. according to the method described in claim 5, it is characterized in that, described adjust the target according to the first display weight
Display position of the menu item in menu control, comprising:
The second display weight of menu item at the same level is obtained, peer's menu item and the target menu item are located at same menu layer
Grade;
According to the first display weight and the second display weight, the display position of the target menu item is adjusted,
Wherein, distance and display weight negative correlation of the display position to Previous Menu item.
7. according to the method described in claim 5, it is characterized in that, the target menu item is located at the n-th of the menu control
Menu hierarchy, the Previous Menu item of the target menu item are located at the (n-1)th menu hierarchy, and dish in (n-1)th menu hierarchy
The initial display weight of individual event is greater than the initial display weight of the n-th menu hierarchy menu item, and n >=2, n are integer;
It is described that display position of the target menu item in menu control is adjusted according to the first display weight, including
For candidate's menu item each in (n-1)th menu hierarchy, the third for obtaining the candidate menu item shows weight;
If the first display weight, which is greater than the third, shows weight, and weight difference is greater than threshold value, then by the target dish
Individual event is adjusted to (n-1)th menu hierarchy.
8. the method according to claim 1, wherein it is described it is operation associated be before receiving the selection operation
The operation received;
It is described to obtain the operation associated of the selection operation, comprising:
Before receiving the selection operation in scheduled duration, if receiving to the invalid trigger area in target menu item side
It is operation associated to be then determined as the 5th by interior clicking operation for the clicking operation;
The method, further includes:
When described operation associated operation associated for the described 5th, determine that the selection operation is invalid operation;
Frequency threshold value is reached to the invalid operation number of the target menu item if receiving, increases the target menu item
Selection operation trigger area.
9. method according to any one of claims 1 to 4, which is characterized in that described according to the first display weight adjustment
After display position of the target menu item in menu control, the method, further includes:
Show default prompt information, the default prompt information is for prompting whether update the menu control adjusted;
When receiving determining instruction, the menu control adjusted is shown.
10. a kind of menu item adjusts device, which is characterized in that described device includes:
Receiving module, for receiving the selection operation to target menu item, the selection operation shows the target for triggering
The corresponding function window of menu item;
Obtain module, for obtaining the operation associated of the selection operation, it is described it is operation associated be to receive the selection operation
Before or after the operation that receives;
Identification module, for the action type according to the operation associated identification selection operation, the action type is at least
Including effectively operating and maloperation;
First update module, for updating the corresponding first display weight of the target menu item according to the action type;
Module is adjusted, for adjusting display position of the target menu item in menu control according to the first display weight
It sets.
11. a kind of terminal, which is characterized in that the terminal includes processor and memory, is stored at least in the memory
One instruction, at least a Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the generation
Code collection or instruction set are executed by the processor to realize menu item method of adjustment as described in any one of claim 1 to 9.
12. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
A few Duan Chengxu, code set or instruction set, at least one instruction, an at least Duan Chengxu, the code set or instruction
Collection is executed by the processor to realize menu item method of adjustment as described in any one of claim 1 to 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111499193.6A CN114115647B (en) | 2017-11-22 | 2017-11-22 | Menu item adjusting method, device and terminal |
CN201711172626.0A CN109814775B (en) | 2017-11-22 | 2017-11-22 | Menu item adjusting method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711172626.0A CN109814775B (en) | 2017-11-22 | 2017-11-22 | Menu item adjusting method and device and terminal |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111499193.6A Division CN114115647B (en) | 2017-11-22 | 2017-11-22 | Menu item adjusting method, device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109814775A true CN109814775A (en) | 2019-05-28 |
CN109814775B CN109814775B (en) | 2021-11-02 |
Family
ID=66601066
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111499193.6A Active CN114115647B (en) | 2017-11-22 | 2017-11-22 | Menu item adjusting method, device and terminal |
CN201711172626.0A Active CN109814775B (en) | 2017-11-22 | 2017-11-22 | Menu item adjusting method and device and terminal |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111499193.6A Active CN114115647B (en) | 2017-11-22 | 2017-11-22 | Menu item adjusting method, device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN114115647B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110417978A (en) * | 2019-07-24 | 2019-11-05 | 广东商路信息科技有限公司 | Menu configuration method, device, equipment and storage medium |
CN110929491A (en) * | 2019-10-30 | 2020-03-27 | 贝壳技术有限公司 | Data report generation method, device, server and storage medium |
CN111580729A (en) * | 2020-04-22 | 2020-08-25 | 江西博微新技术有限公司 | Processing method and system for selecting overlapped graphics primitives, readable storage medium and electronic equipment |
CN114090151A (en) * | 2021-11-10 | 2022-02-25 | 重庆允成互联网科技有限公司 | Method for providing help by system and storage medium |
CN114610208A (en) * | 2022-03-21 | 2022-06-10 | 联想(北京)有限公司 | Display control method and device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102004607A (en) * | 2010-11-16 | 2011-04-06 | 中兴通讯股份有限公司 | Menu display method and system |
CN102937854A (en) * | 2012-10-30 | 2013-02-20 | 北京壹人壹本信息科技有限公司 | Touch control method of double-mode touch screen and handheld electronic device |
US20130124636A1 (en) * | 2006-08-11 | 2013-05-16 | Mark E. Zuckerberg | Dynamically providing a feed of stories about a user of a social networking system |
CN103309588A (en) * | 2013-06-19 | 2013-09-18 | 广东欧珀移动通信有限公司 | Method, device and system for preventing mobile terminal from misoperation |
US20140071472A1 (en) * | 2007-06-27 | 2014-03-13 | Samsung Electronics Co., Ltd | Image forming method and apparatus, and host |
CN104932785A (en) * | 2015-05-28 | 2015-09-23 | 努比亚技术有限公司 | Processing method and processing device for mobile terminal |
CN105045585A (en) * | 2015-07-07 | 2015-11-11 | 宁波萨瑞通讯有限公司 | Operation menu arrangement method and mobile terminal |
CN106406701A (en) * | 2016-09-14 | 2017-02-15 | Tcl集团股份有限公司 | Method and system for preventing touch terminal from faulty operating, and touch terminal |
CN106603421A (en) * | 2016-11-28 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Router menu automatic generation method and device |
CN106775263A (en) * | 2017-03-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of setting device and method of icon touch area |
CN107357574A (en) * | 2017-06-28 | 2017-11-17 | 维沃移动通信有限公司 | A kind of operating method and mobile terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175175B (en) * | 2007-09-13 | 2011-02-09 | 深圳市融创天下科技发展有限公司 | Dynamic customizing method for media player menu |
CN102841727A (en) * | 2011-06-22 | 2012-12-26 | 启碁科技股份有限公司 | User interface adjusting method and electronic device |
CN103391351B (en) * | 2012-05-07 | 2016-09-28 | 中兴通讯股份有限公司 | Realize menu individual, automatization's tissue and the method shown and mobile terminal |
CN105786324A (en) * | 2014-12-19 | 2016-07-20 | 大陆汽车投资(上海)有限公司 | User habit-based user interface display method |
CN105511738B (en) * | 2016-01-26 | 2018-12-21 | 努比亚技术有限公司 | A kind of device and method adjusting image processing menu |
-
2017
- 2017-11-22 CN CN202111499193.6A patent/CN114115647B/en active Active
- 2017-11-22 CN CN201711172626.0A patent/CN109814775B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130124636A1 (en) * | 2006-08-11 | 2013-05-16 | Mark E. Zuckerberg | Dynamically providing a feed of stories about a user of a social networking system |
US20140071472A1 (en) * | 2007-06-27 | 2014-03-13 | Samsung Electronics Co., Ltd | Image forming method and apparatus, and host |
CN102004607A (en) * | 2010-11-16 | 2011-04-06 | 中兴通讯股份有限公司 | Menu display method and system |
CN102937854A (en) * | 2012-10-30 | 2013-02-20 | 北京壹人壹本信息科技有限公司 | Touch control method of double-mode touch screen and handheld electronic device |
CN103309588A (en) * | 2013-06-19 | 2013-09-18 | 广东欧珀移动通信有限公司 | Method, device and system for preventing mobile terminal from misoperation |
CN104932785A (en) * | 2015-05-28 | 2015-09-23 | 努比亚技术有限公司 | Processing method and processing device for mobile terminal |
CN105045585A (en) * | 2015-07-07 | 2015-11-11 | 宁波萨瑞通讯有限公司 | Operation menu arrangement method and mobile terminal |
CN106406701A (en) * | 2016-09-14 | 2017-02-15 | Tcl集团股份有限公司 | Method and system for preventing touch terminal from faulty operating, and touch terminal |
CN106603421A (en) * | 2016-11-28 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Router menu automatic generation method and device |
CN106775263A (en) * | 2017-03-30 | 2017-05-31 | 努比亚技术有限公司 | A kind of setting device and method of icon touch area |
CN107357574A (en) * | 2017-06-28 | 2017-11-17 | 维沃移动通信有限公司 | A kind of operating method and mobile terminal |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110417978A (en) * | 2019-07-24 | 2019-11-05 | 广东商路信息科技有限公司 | Menu configuration method, device, equipment and storage medium |
CN110929491A (en) * | 2019-10-30 | 2020-03-27 | 贝壳技术有限公司 | Data report generation method, device, server and storage medium |
CN111580729A (en) * | 2020-04-22 | 2020-08-25 | 江西博微新技术有限公司 | Processing method and system for selecting overlapped graphics primitives, readable storage medium and electronic equipment |
CN114090151A (en) * | 2021-11-10 | 2022-02-25 | 重庆允成互联网科技有限公司 | Method for providing help by system and storage medium |
CN114090151B (en) * | 2021-11-10 | 2023-07-14 | 重庆允丰科技有限公司 | Method for assisting system and storage medium |
CN114610208A (en) * | 2022-03-21 | 2022-06-10 | 联想(北京)有限公司 | Display control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN114115647A (en) | 2022-03-01 |
CN114115647B (en) | 2023-04-18 |
CN109814775B (en) | 2021-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109814775A (en) | Menu item method of adjustment, device and terminal | |
CN107977110A (en) | For obtaining the electronic device and method of finger print information | |
CN109313519A (en) | Electronic equipment including force snesor | |
CN109564498A (en) | The method of electronic equipment and the touch in identification electronic equipment | |
CN110383231A (en) | Electronic equipment and method based on touch input controlling electronic devices | |
CN109874365A (en) | For executing the device and method thereof of wireless charging | |
JP2017084370A (en) | Method, storage medium and system for adjusting state of mobile device based on user's intention and/or identification information | |
CN108701043A (en) | A kind of processing method and processing device of display | |
US10198118B2 (en) | Operating method and electronic device for processing method thereof | |
CN107493389A (en) | Singlehanded mode implementation method, terminal and computer-readable medium | |
CN108700985A (en) | A kind of icon display method and device | |
CN110471858A (en) | Applied program testing method, device and storage medium | |
CN107992305A (en) | The layout method and device of function of application button | |
CN109521933A (en) | A kind of display control method and mobile terminal | |
CN106487984B (en) | A kind of method and apparatus adjusting volume | |
CN108229574A (en) | A kind of method, apparatus and mobile terminal of picture screening | |
CN110069178A (en) | Interface control method and terminal device | |
CN107979851A (en) | Abnormal data report method and device | |
CN108959361A (en) | The method and apparatus of list management | |
CN108334303A (en) | Electronic equipment and its control method | |
CN108595044A (en) | A kind of control method and terminal of touch screen | |
CN107438999B (en) | Into battery saving mode method, exit the method, device and mobile terminal of battery saving mode | |
CN109816679A (en) | A kind of image processing method and terminal device | |
CN108196781A (en) | The display methods and mobile terminal at interface | |
CN109416615A (en) | Handle the method for touch event and the electronic device suitable for this method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |