CN105808075A - Menu option display method and device and mobile terminal - Google Patents
Menu option display method and device and mobile terminal Download PDFInfo
- Publication number
- CN105808075A CN105808075A CN201610201180.9A CN201610201180A CN105808075A CN 105808075 A CN105808075 A CN 105808075A CN 201610201180 A CN201610201180 A CN 201610201180A CN 105808075 A CN105808075 A CN 105808075A
- Authority
- CN
- China
- Prior art keywords
- option
- menu
- menu interface
- index value
- current
- 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
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000004519 manufacturing process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The invention provides a menu option display method and device and a mobile terminal.The menu option display method comprises the steps that every time a current menu interface is acquired, index values of menu options in the menu interface are set; option elements corresponding to the set index values are acquired; the corresponding option elements are displayed at the first line of the current menu interface so that the option elements can be displayed in the current menu interface in turn.Through the menu option display method and device and the mobile terminal, in-turn display of the menu options can be realized, and the use experience of a user is effectively promoted.
Description
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a menu option display method and device and a mobile terminal.
Background
Currently, in the application program of the test class in the production line, the menu option in the menu list is to display a fixed list. In the case of sequential rotation of test stations, for example, when there are 10 test stations, the user corresponding to each station needs to locate an option element requiring its own operation in the menu options.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, one object of the present invention is to provide a menu option display method, which can implement a rotation display of menu options, and effectively improve the user experience.
Another object of the present invention is to provide a menu option display device.
Another object of the present invention is to provide a mobile terminal.
To achieve the above object, an embodiment of the invention provides a method for displaying menu options, including: setting an index value of a menu option in a menu interface when a current menu interface is obtained each time; acquiring an option element corresponding to the set index value; and displaying the corresponding option elements in the first row of the current menu interface so as to enable the menu options to be displayed in the current menu interface in a rotating manner.
According to the menu option display method provided by the embodiment of the first aspect of the invention, the index value of the menu option in the menu interface is set when the current menu interface is obtained every time, and the option element corresponding to the set index value is displayed in the first row of the current menu interface, so that the menu option can be displayed in a rotating manner, and the use experience of a user is effectively improved.
To achieve the above object, a menu option display device according to a second aspect of the present invention includes: the setting module is used for setting the index value of the menu option in the menu interface when the current menu interface is obtained each time; the acquisition module is used for acquiring the option elements corresponding to the set index values; and the display module is used for displaying the corresponding option elements in the first row of the current menu interface so as to enable the menu options to be displayed in the current menu interface in a rotating manner.
According to the menu option display device provided by the embodiment of the second aspect of the invention, the index value of the menu option in the menu interface is set when the current menu interface is obtained every time, and the option element corresponding to the set index value is displayed in the first row of the current menu interface, so that the menu option can be displayed in a rotating manner, and the use experience of a user is effectively improved.
In order to achieve the above object, an embodiment of a third aspect of the present invention provides a mobile terminal, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing: setting an index value of a menu option in a menu interface when a current menu interface is obtained each time; acquiring an option element corresponding to the set index value; and displaying the corresponding option elements in the first row of the current menu interface so as to enable the menu options to be displayed in the current menu interface in a rotating manner.
According to the mobile terminal provided by the embodiment of the third aspect of the invention, the index value of the menu option in the menu interface is set when the current menu interface is obtained every time, and the option element corresponding to the set index value is displayed in the first row of the current menu interface, so that the menu option can be displayed in a rotating manner, and the use experience of a user is effectively improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart illustrating a menu option display method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a menu option display method according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a menu option display apparatus according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a menu option display apparatus according to another embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating a menu option display method according to an embodiment of the present invention. The present embodiment is exemplified in that the menu option display method is configured as a menu option display apparatus. Alternatively, the menu option display method may be applied to a test-class application program in a production line, where the application program may refer to a software program running on an electronic device, such as a Personal Computer (PC), a cloud device or a mobile device, a mobile device such as a smart phone, or a tablet computer.
The menu option display method can be applied after the application program is started.
Referring to fig. 1, the method includes:
s11: and setting the index value of the menu option in the menu interface when the current menu interface is acquired each time.
The embodiment of the invention is exemplified by the application of the menu option display method to the test application program in the production line.
Generally, in the application program of the test class on the production line, the menu option in the menu list is to display a fixed list. In the case of sequential rotation of test stations, for example, when there are 10 test stations, the user corresponding to each station needs to locate an option element requiring its own operation in the menu options.
In the embodiment of the invention, the index value of the menu option in the menu interface is set each time the current menu interface is acquired, and the background program of the mobile terminal positions the corresponding option element according to the index value.
In the embodiment of the present invention, the index value is used to index option elements in the menu interface, and an index value may be added to each option element in the menu options in sequence, for example, assuming that when 10 test workstations rotate in sequence, each test workstation has a corresponding option element, and a sequence index value is added to the option elements according to the sequence of rotation of the test workstations, specifically, for example, an index with an value of 1 is added to the option element corresponding to the first test workstation, that is, the index value is set to 1, an index with an value of 2 is added to the option element corresponding to the second test workstation, that is, the index value is set to 2, and so on, an index with an value of 10 is added to the option element corresponding to the tenth test workstation, that is, the index value is set to 10.
Optionally, after the application program is started, when the current menu interface is obtained for the first time, the index value may be initialized, and when the next test station subsequently performs operation, the current menu interface is obtained and the initialized index value is set. For example, the index value may be initialized to 1 when the current menu interface is first obtained. It should be understood that the initialization rule may also be set by the user, for example, when the user on the third test station finishes working on the corresponding option element, and exits the application program, and when the current menu interface is obtained for the first time after the application program is restarted, the index value may be initialized to the index of the next test station of the third test station, that is, the index value is initialized to 4, which is not limited to this.
In one embodiment, referring to fig. 2, each time a current menu interface is obtained, setting an index value of a menu option in the menu interface includes:
s21: and acquiring a first target frequency, wherein the first target frequency is the frequency of acquiring the current menu interface.
The first target frequency is specifically the frequency of acquiring the current menu interface after the application program is started, and if the application program is restarted after exiting, the first target frequency is counted again.
For example, under the condition that the test stations rotate in sequence, a user of a first test station clicks a preset button in an application program, the preset button is an operation button for example, a mobile terminal background program obtains a current menu interface according to an instruction of the user clicking the preset button, at this time, the first target frequency is 1 time, after the user of the first test station finishes operating a corresponding option element, the user of a second test station clicks the preset button in the application program, the preset button is an operation button for example, the mobile terminal background program obtains the current menu interface according to the instruction of the user clicking the preset button, at this time, the first target frequency is 2 times, and so on.
S22: and judging whether the first target times is less than or equal to the number of the option elements, if so, executing S23, otherwise, executing S24.
Optionally, the number of the option elements may be configured in advance by a manufacturer of the application program of the test class on the production line, or may be customized by a user of the application program according to a requirement of the user, or may be set by the user in a setting module of the application program, which is not limited to this.
For example, the number of option elements may be 10.
It will be appreciated that the number of option elements is the same as the number of test stations.
After the first target times are obtained, the first target times and the number of the option elements can be compared, and corresponding steps are triggered according to comparison results.
S23: the index value is set to a first target number of times.
It is to be understood that, taking the number of the option elements as an example of 10, in order to implement the rotation display of the menu options, the first target number of times is compared with the number of the option elements, and when the first target number of times is less than or equal to the number of the option elements, the index value is set as the first target number of times. The first target number of times is smaller than the number of the option elements, that is, when the test station rotates in sequence, the rotation is not completed, for example, when the test station rotates to the sixth test station in sequence, the number of times of correspondingly acquiring the current menu interface is the sixth time, and the index value is set to 6. The first target number of times is equal to the number of the option elements, that is, when the test station turns in sequence, the turn is just finished, for example, when the test station turns to the tenth test station in sequence, the number of times of obtaining the current menu interface is the tenth, and the index value is set to 10.
S24: and if the first target times are larger than the number of the option elements, acquiring second target times according to a preset formula.
Wherein, the preset formula is as follows:
A=N-[N÷T]×T;
wherein, A is the second target frequency, N is the frequency of obtaining the current menu interface, T is the number of the option elements, and the symbol [ ] represents the rounding operation.
And when the first target times are larger than the number of the option elements, acquiring second target times according to a preset formula. The number of the first target times is greater than the number of the option elements, that is, when the test stations rotate in sequence, the rotation is completed and the rotation is performed again, that is, the rotation is continued from the first test station, for example, when the test stations rotate in sequence in the second round, the rotation is performed to the sixth test station, the number of times of obtaining the current menu interface is the sixteenth time, and the second target time is obtained according to the preset formula and is six times.
S25: the index value is set to a second target number of times.
S12: and acquiring an option element corresponding to the set index value.
In the embodiment of the invention, the option elements corresponding to the set index values can be acquired by the background program of the mobile terminal, and the option elements needing to be operated by the user are not required to be positioned by the user in a menu interface through sliding a screen, so that the use experience of the user is effectively improved.
S13: and displaying the corresponding option elements in the first row of the current menu interface so as to enable the menu options to be displayed in turn in the current menu interface.
Optionally, after the application program is started, when the current menu interface is obtained for the first time, the index value is initialized, the option element corresponding to the initialized index value may be displayed in the first line of the current menu interface, subsequently, when the next test station performs operation, the current menu interface is obtained, the initialized index value is set, the option element corresponding to the set index value is displayed in the first line of the current menu interface, the operation is performed in each test station, and when the current menu interface is obtained each time, the index value is dynamically set, that is, the index value is sequentially increased by 1, so that the menu options are displayed in turn in the current menu interface.
In the embodiment, the index value of the menu option in the menu interface is set when the current menu interface is obtained every time, and the option element corresponding to the set index value is displayed in the first row of the current menu interface, so that the menu option can be displayed in a rotating manner, and the use experience of a user is effectively improved.
Fig. 3 is a schematic structural diagram of a menu option display apparatus according to another embodiment of the present invention.
Referring to fig. 3, the apparatus 30 includes: a setting module 301, an obtaining module 302, and a display module 303. Wherein,
the setting module 301 is configured to set an index value of a menu option in a menu interface each time a current menu interface is obtained.
In some embodiments, referring to fig. 4, the setup module 301 comprises:
the obtaining sub-module 3011 is configured to obtain a first target frequency, where the first target frequency is a frequency of obtaining the current menu interface.
The determining sub-module 3012 is configured to determine whether the first target number is less than or equal to the number of the option elements.
The setting sub-module 3013 is configured to set the index value as the first target number of times when the first target number of times is less than or equal to the number of the option elements.
Optionally, the setting sub-module 3013 is further configured to: when the first target times are larger than the number of the option elements, acquiring second target times according to a preset formula; the index value is set to a second target number of times.
Wherein, the preset formula is as follows:
A=N-[N÷T]×T;
wherein, A is the second target frequency, N is the frequency of obtaining the current menu interface, T is the number of the option elements, and the symbol [ ] represents the rounding operation.
An obtaining module 302, configured to obtain an option element corresponding to the set index value.
The display module 303 is configured to display a corresponding option element in a top row of the current menu interface, so that the menu option is displayed in turn in the current menu interface.
In some embodiments, referring to fig. 4, the apparatus 30 further comprises:
and the adding module 304 is configured to obtain a menu option in the current menu interface, and add an index to an option element of the menu option.
The initializing module 305 is configured to initialize the index value when the current menu interface is obtained for the first time, and display an option element corresponding to the initialized index value in a first row of the current menu interface.
It should be noted that the foregoing explanation of the embodiment of the menu option display method is also applicable to the menu option display device 30 of this embodiment, and the implementation principle is similar, and is not repeated here.
In the embodiment, the index value of the menu option in the menu interface is set when the current menu interface is obtained every time, and the option element corresponding to the set index value is displayed in the first row of the current menu interface, so that the menu option can be displayed in a rotating manner, and the use experience of a user is effectively improved.
The embodiment of the invention also provides a mobile terminal which comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
s11': and setting the index value of the menu option in the menu interface when the current menu interface is acquired each time.
The embodiment of the invention is exemplified by the application of the menu option display method to the test application program in the production line.
Generally, in the application program of the test class on the production line, the menu option in the menu list is to display a fixed list. In the case of sequential rotation of test stations, for example, when there are 10 test stations, the user corresponding to each station needs to locate an option element requiring its own operation in the menu options.
In the embodiment of the invention, the index value of the menu option in the menu interface is set each time the current menu interface is acquired, and the background program of the mobile terminal positions the corresponding option element according to the index value.
In the embodiment of the present invention, the index value is used to index option elements in the menu interface, and an index value may be added to each option element in the menu options in sequence, for example, assuming that when 10 test workstations rotate in sequence, each test workstation has a corresponding option element, and a sequence index value is added to the option elements according to the sequence of rotation of the test workstations, specifically, for example, an index with an value of 1 is added to the option element corresponding to the first test workstation, that is, the index value is set to 1, an index with an value of 2 is added to the option element corresponding to the second test workstation, that is, the index value is set to 2, and so on, an index with an value of 10 is added to the option element corresponding to the tenth test workstation, that is, the index value is set to 10.
Optionally, after the application program is started, when the current menu interface is obtained for the first time, the index value may be initialized, and when the next test station subsequently performs operation, the current menu interface is obtained and the initialized index value is set. For example, the index value may be initialized to 1 when the current menu interface is first obtained. It should be understood that the initialization rule may also be set by the user, for example, when the user on the third test station finishes working on the corresponding option element, and exits the application program, and when the current menu interface is obtained for the first time after the application program is restarted, the index value may be initialized to the index of the next test station of the third test station, that is, the index value is initialized to 4, which is not limited to this.
In another embodiment, the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
s21': and acquiring a first target frequency, wherein the first target frequency is the frequency of acquiring the current menu interface.
The first target frequency is specifically the frequency of acquiring the current menu interface after the application program is started, and if the application program is restarted after exiting, the first target frequency is counted again.
For example, under the condition that the test stations rotate in sequence, a user of a first test station clicks a preset button in an application program, the preset button is an operation button for example, a mobile terminal background program obtains a current menu interface according to an instruction of the user clicking the preset button, at this time, the first target frequency is 1 time, after the user of the first test station finishes operating a corresponding option element, the user of a second test station clicks the preset button in the application program, the preset button is an operation button for example, the mobile terminal background program obtains the current menu interface according to the instruction of the user clicking the preset button, at this time, the first target frequency is 2 times, and so on.
S22': and judging whether the first target times is less than or equal to the number of the option elements, if so, executing S23 ', otherwise, executing S24'.
Optionally, the number of the option elements may be configured in advance by a manufacturer of the application program of the test class on the production line, or may be customized by a user of the application program according to a requirement of the user, or may be set by the user in a setting module of the application program, which is not limited to this.
For example, the number of option elements may be 10.
It will be appreciated that the number of option elements is the same as the number of test stations.
After the first target times are obtained, the first target times and the number of the option elements can be compared, and corresponding steps are triggered according to comparison results.
S23': the index value is set to a first target number of times.
It is to be understood that, taking the number of the option elements as an example of 10, in order to implement the rotation display of the menu options, the first target number of times is compared with the number of the option elements, and when the first target number of times is less than or equal to the number of the option elements, the index value is set as the first target number of times. The first target number of times is smaller than the number of the option elements, that is, when the test station rotates in sequence, the rotation is not completed, for example, when the test station rotates to the sixth test station in sequence, the number of times of correspondingly acquiring the current menu interface is the sixth time, and the index value is set to 6. The first target number of times is equal to the number of the option elements, that is, when the test station turns in sequence, the turn is just finished, for example, when the test station turns to the tenth test station in sequence, the number of times of obtaining the current menu interface is the tenth, and the index value is set to 10.
S24': and if the first target times are larger than the number of the option elements, acquiring second target times according to a preset formula.
Wherein, the preset formula is as follows:
A=N-[N÷T]×T;
wherein, A is the second target frequency, N is the frequency of obtaining the current menu interface, T is the number of the option elements, and the symbol [ ] represents the rounding operation.
And when the first target times are larger than the number of the option elements, acquiring second target times according to a preset formula. The number of the first target times is greater than the number of the option elements, that is, when the test stations rotate in sequence, the rotation is completed and the rotation is performed again, that is, the rotation is continued from the first test station, for example, when the test stations rotate in sequence in the second round, the rotation is performed to the sixth test station, the number of times of obtaining the current menu interface is the sixteenth time, and the second target time is obtained according to the preset formula and is six times.
S25': the index value is set to a second target number of times.
S12': and acquiring an option element corresponding to the set index value.
In the embodiment of the invention, the option elements corresponding to the set index values can be acquired by the background program of the mobile terminal, and the option elements needing to be operated by the user are not required to be positioned by the user in a menu interface through sliding a screen, so that the use experience of the user is effectively improved.
S13': and displaying the corresponding option elements in the first row of the current menu interface so as to enable the menu options to be displayed in turn in the current menu interface.
Optionally, after the application program is started, when the current menu interface is obtained for the first time, the index value is initialized, the option element corresponding to the initialized index value may be displayed in the first line of the current menu interface, subsequently, when the next test station performs operation, the current menu interface is obtained, the initialized index value is set, the option element corresponding to the set index value is displayed in the first line of the current menu interface, the operation is performed in each test station, and when the current menu interface is obtained each time, the index value is dynamically set, that is, the index value is sequentially increased by 1, so that the menu options are displayed in turn in the current menu interface.
In the embodiment, the index value of the menu option in the menu interface is set when the current menu interface is obtained every time, and the option element corresponding to the set index value is displayed in the first row of the current menu interface, so that the menu option can be displayed in a rotating manner, and the use experience of a user is effectively improved.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
Claims (13)
1. A menu option display method, comprising the steps of:
setting an index value of a menu option in a menu interface when a current menu interface is obtained each time;
acquiring an option element corresponding to the set index value;
and displaying the corresponding option elements in the first row of the current menu interface so as to enable the menu options to be displayed in the current menu interface in a rotating manner.
2. The menu option display method of claim 1, wherein before setting an index value of a menu option in the menu interface each time the current menu interface is obtained, comprising:
and acquiring menu options in the current menu interface, and adding indexes to option elements of the menu options.
3. The menu option display method of claim 1, wherein before setting an index value of a menu option in the menu interface each time the current menu interface is acquired, further comprising:
and when the current menu interface is obtained for the first time, initializing the index value, and displaying an option element corresponding to the initialized index value in the first row of the current menu interface.
4. The method for displaying menu options according to claim 2, wherein the setting the index value of the menu option in the menu interface each time the current menu interface is acquired comprises:
acquiring a first target frequency, wherein the first target frequency is the frequency of acquiring a current menu interface;
judging whether the first target times are less than or equal to the number of the option elements;
and if the first target times is less than or equal to the number of the option elements, setting the index value as the first target times.
5. The menu option display method of claim 4, wherein after determining whether the first target number of times is less than or equal to the number of option elements, further comprising:
if the first target times are larger than the number of the option elements, acquiring second target times according to a preset formula;
setting the index value to the second target number of times.
6. The menu option display method of claim 5, wherein the predetermined formula is:
A=N-[N÷T]×T;
wherein, A is the second target frequency, N is the frequency of obtaining the current menu interface, T is the number of the option elements, and the symbol [ ] represents the rounding operation.
7. A menu option display device, comprising:
the setting module is used for setting the index value of the menu option in the menu interface when the current menu interface is obtained each time;
the acquisition module is used for acquiring the option elements corresponding to the set index values;
and the display module is used for displaying the corresponding option elements in the first row of the current menu interface so as to enable the menu options to be displayed in the current menu interface in a rotating manner.
8. The menu option display apparatus of claim 7, comprising:
and the adding module is used for acquiring the menu options in the current menu interface and adding indexes to the option elements of the menu options.
9. The menu option display apparatus of claim 7, further comprising:
and the initialization module is used for initializing the index value when the current menu interface is obtained for the first time, and displaying the option elements corresponding to the initialized index value in the first row of the current menu interface.
10. The menu option display apparatus of claim 8, wherein the setup module comprises:
the obtaining submodule is used for obtaining first target times, wherein the first target times are the times of obtaining the current menu interface;
the judgment submodule is used for judging whether the first target times are less than or equal to the number of the option elements;
and the setting submodule is used for setting the index value as the first target frequency when the first target frequency is less than or equal to the number of the option elements.
11. The menu option display apparatus of claim 10 wherein the settings sub-module is further configured to:
when the first target times are larger than the number of the option elements, acquiring second target times according to a preset formula;
setting the index value to the second target number of times.
12. The menu option display apparatus of claim 11 wherein the predetermined formula is:
A=N-[N÷T]×T;
wherein, A is the second target frequency, N is the frequency of obtaining the current menu interface, T is the number of the option elements, and the symbol [ ] represents the rounding operation.
13. A mobile terminal, comprising:
a housing;
a processor;
a memory;
a circuit board and a power supply circuit;
the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the mobile terminal; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing:
setting an index value of a menu option in a menu interface when a current menu interface is obtained each time;
acquiring an option element corresponding to the set index value;
and displaying the corresponding option elements in the first row of the current menu interface so as to enable the menu options to be displayed in the current menu interface in a rotating manner.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610201180.9A CN105808075B (en) | 2016-03-31 | 2016-03-31 | Menu option display methods, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610201180.9A CN105808075B (en) | 2016-03-31 | 2016-03-31 | Menu option display methods, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105808075A true CN105808075A (en) | 2016-07-27 |
CN105808075B CN105808075B (en) | 2019-10-22 |
Family
ID=56460477
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610201180.9A Expired - Fee Related CN105808075B (en) | 2016-03-31 | 2016-03-31 | Menu option display methods, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105808075B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096893A (en) * | 2019-04-30 | 2019-08-06 | 维沃移动通信有限公司 | A kind of object method for limiting and terminal device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10214172A (en) * | 1997-01-30 | 1998-08-11 | Yazaki Corp | Method for displaying hierarchical menu, and on-vehicle information display device |
US20010051880A1 (en) * | 1999-12-01 | 2001-12-13 | Schurenberg Kurt B. | System and method for connecting a healthcare business to a plurality of laboratories |
US20030133135A1 (en) * | 2002-01-16 | 2003-07-17 | Barrett Anthony L. | Enhancing the readability of a data listing |
US20040221241A1 (en) * | 1999-12-30 | 2004-11-04 | Ji-Young Kim | Method for creating user-customized menu in a portable radio telephone |
CN102270100A (en) * | 2011-08-22 | 2011-12-07 | 深圳市开立科技有限公司 | Touch screen system and menu processing method of touch screen interface |
CN104461571A (en) * | 2014-12-29 | 2015-03-25 | 乐视致新电子科技(天津)有限公司 | Menu level operating method and device |
US9104299B2 (en) * | 2011-12-28 | 2015-08-11 | Huawei Technologies Co., Ltd. | Method and corresponding apparatus for displaying arc menu index |
CN105045473A (en) * | 2015-07-01 | 2015-11-11 | 沈波 | Human-computer interaction system and method |
-
2016
- 2016-03-31 CN CN201610201180.9A patent/CN105808075B/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10214172A (en) * | 1997-01-30 | 1998-08-11 | Yazaki Corp | Method for displaying hierarchical menu, and on-vehicle information display device |
US20010051880A1 (en) * | 1999-12-01 | 2001-12-13 | Schurenberg Kurt B. | System and method for connecting a healthcare business to a plurality of laboratories |
US20040221241A1 (en) * | 1999-12-30 | 2004-11-04 | Ji-Young Kim | Method for creating user-customized menu in a portable radio telephone |
US20030133135A1 (en) * | 2002-01-16 | 2003-07-17 | Barrett Anthony L. | Enhancing the readability of a data listing |
CN102270100A (en) * | 2011-08-22 | 2011-12-07 | 深圳市开立科技有限公司 | Touch screen system and menu processing method of touch screen interface |
US9104299B2 (en) * | 2011-12-28 | 2015-08-11 | Huawei Technologies Co., Ltd. | Method and corresponding apparatus for displaying arc menu index |
CN104461571A (en) * | 2014-12-29 | 2015-03-25 | 乐视致新电子科技(天津)有限公司 | Menu level operating method and device |
CN105045473A (en) * | 2015-07-01 | 2015-11-11 | 沈波 | Human-computer interaction system and method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096893A (en) * | 2019-04-30 | 2019-08-06 | 维沃移动通信有限公司 | A kind of object method for limiting and terminal device |
CN110096893B (en) * | 2019-04-30 | 2021-03-26 | 维沃移动通信有限公司 | Object limiting method and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105808075B (en) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102388371B (en) | Detection method, apparatus and system for mainboard device | |
CN107943683B (en) | Test script generation method and device, electronic equipment and storage medium | |
US20180263071A1 (en) | Wireless router, internet of things device and system for supporting connection to wireless router of internet of things device | |
CN111309445B (en) | Program running method and device and storage medium | |
US9179341B2 (en) | Method and system for simplifying WiFi setup for best performance | |
CN103345390A (en) | Picture output method and device for mobile terminal and mobile terminal | |
CN105867735A (en) | Application program sequencing display method and device and mobile device | |
CN105975391A (en) | Restart testing method and device and mobile terminal | |
CN107948412A (en) | Display method and terminal equipment | |
CN104468260A (en) | Recognition method, device and system for mobile terminal device | |
CN105975323A (en) | Application management method and device and terminal | |
CN106911500A (en) | The collocation method of physical machine, device and physical machine | |
CN105808075B (en) | Menu option display methods, device and mobile terminal | |
CN105095420A (en) | Method and device for displaying notification messages in browser | |
CN103795857B (en) | Information processing method and electronic equipment | |
CN110377330B (en) | Method and device for configuring operating system of electronic device | |
CN106095230A (en) | A kind of method for controlling mobile terminal and terminal | |
CA3033830A1 (en) | Techniques for implementing universal commands in a welding or cutting system | |
CN107315527B (en) | Identity identification code identification method and mobile terminal | |
CN105828415A (en) | Method for displaying and setting WiFi access points, terminal and server | |
CN107526496B (en) | Interface display method and device and mobile terminal | |
CN115438083A (en) | Target data segmentation method and device and storage medium | |
CN105282340A (en) | information input method and device used during single-handed mobile phone operation, and mobile phone | |
CN111464688B (en) | Working mode switching method and device | |
CN105589616A (en) | Method and apparatus for combining multiple application operations on terminal and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523859 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191022 |
|
CF01 | Termination of patent right due to non-payment of annual fee |