CN109582192B - Hierarchical menu display method and device - Google Patents

Hierarchical menu display method and device Download PDF

Info

Publication number
CN109582192B
CN109582192B CN201710908459.5A CN201710908459A CN109582192B CN 109582192 B CN109582192 B CN 109582192B CN 201710908459 A CN201710908459 A CN 201710908459A CN 109582192 B CN109582192 B CN 109582192B
Authority
CN
China
Prior art keywords
option
display area
menu
display
classification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710908459.5A
Other languages
Chinese (zh)
Other versions
CN109582192A (en
Inventor
李培钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201710908459.5A priority Critical patent/CN109582192B/en
Publication of CN109582192A publication Critical patent/CN109582192A/en
Application granted granted Critical
Publication of CN109582192B publication Critical patent/CN109582192B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/0482Interaction 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)

Abstract

The invention discloses a hierarchical menu display method and a hierarchical menu display device, wherein a first display area and a second display area can be selected from a display area; displaying a sorting menu primary option in the first display area, and a secondary option in response to selection of the primary option; displaying a selectable menu in the second display area, wherein the selectable menu is a list of options responsive to selection of the secondary option; and determining an option result display area in the display area, and displaying the options in the selected selectable menu in the option result display area. The invention displays the classification items and the selectable items in a distinguishing way, so that the problem that the pull-down operation of the classification in the prior art needs a plurality of pull-down frames for assistance does not exist, and simultaneously, all the classification items are displayed in one area, thereby solving the problem of display difference of different levels of the classification items.

Description

Hierarchical menu display method and device
Technical Field
The invention relates to the technical field of display, in particular to a hierarchical menu display method and device.
Background
With the rapid development of internet technology, the way for people to acquire information has been changed from the traditional way of books, newspapers and the like to the way of acquiring information through the internet. And the content of settings and displays in the corresponding software applications is becoming richer and richer. In order to facilitate the user's selection and use of information, a drop-down box is usually provided in software applications. That is, through the pull-down operation, one or more items of information in the pull-down list can be selected for display or use.
However, as the amount of internet data increases, the number of hierarchies corresponding to a certain piece of information in the drop-down list increases, and thus, a classification situation inevitably occurs. For example, in weather condition forecast software, a user often needs to select a city through a pull-down menu, so as to obtain the weather condition of the city. In this case, the pull-down list is a list of cities across the country, and in order to allow the user to find a specific city or area more quickly and accurately, a classification of provincial administrative districts, a classification of areas, and the like need to be added to the list of cities.
When a user needs to select a certain region in China, provinces need to be selected first, then cities need to be selected, and finally regions need to be selected, so that on one hand, a plurality of drop-down boxes are needed for assisting in selection, and on the other hand, when classification levels are inconsistent, proper selection cannot be performed, for example, a certain region with a region of Beijing is selected, the next level of Beijing as a direct prefecture city is directly a region, the next level of a common provincial level is a county city, and the next level of the county city is a region. Thus, if the same setting is performed, there is a problem in that the display result is different.
Disclosure of Invention
In view of the above, the present invention has been made to provide a hierarchical menu display method and apparatus that overcomes or at least partially solves the above-mentioned problems.
The specific technical scheme is as follows:
a hierarchical menu display method comprising:
selecting a first display area and a second display area in the display area;
displaying a sorting menu primary option in the first display area, and a secondary option in response to selection of the primary option;
displaying a selectable menu in the second display area, wherein the selectable menu is a list of options responsive to selection of the secondary option;
and determining an option result display area in the display area, and displaying the options in the selected selectable menu in the option result display area.
Preferably, when a secondary option responsive to selection of the primary option has at least one hierarchical classification, the method further comprises:
displaying a lower category in the first display area in response to selection of the secondary option.
Preferably, when the first display area displays a sorting menu main option, and in response to selection of the main option, the secondary option includes:
displaying a classification menu main option in the first display area;
acquiring a classification menu main option selected by a user, and recording the classification menu main option as a first main option;
loading the secondary option corresponding to the first main option, acquiring the secondary option selected by a user, and marking the secondary option selected by the user as a first secondary option;
judging whether the first secondary option further comprises a lower classification option, if so, loading the lower classification option corresponding to the first secondary option, and displaying the lower classification option in the first display area;
and when the first secondary option does not comprise a lower-level classification option, displaying the secondary option corresponding to the first main option in the first display area.
Preferably, the method further comprises:
and setting a search box in the second display area, and displaying the search words which are input by the user and correspond to the selectable menu in the search box.
Preferably, the displaying a selectable menu in the second display area includes:
loading a selectable menu corresponding to a secondary option selected by a user in the first display area;
searching in the options in the selectable menu according to the search words in the search box to obtain a search result;
and displaying the search result in the second display area.
A hierarchical menu display apparatus comprising:
the area selection module is used for selecting a first display area and a second display area in the display area;
a first display module for displaying a sorting menu primary option in the first display area and a secondary option in response to selection of the primary option;
a second display module for displaying a selectable menu in the second display area, wherein the selectable menu is a list of options responsive to selection of the secondary option;
and the third display module is used for determining an option result display area in the display area and displaying the options in the selected selectable menu in the option result display area.
Preferably, when a secondary option in response to selection of the primary option has at least one hierarchical classification, the first display module includes:
the first display unit is used for displaying a classification menu main option in the first display area;
the main option obtaining unit is used for obtaining a main option of the classification menu selected by a user and recording the main option as a first main option;
a secondary option loading unit, configured to load a secondary option corresponding to the first main option, acquire a secondary option selected by a user, and mark the secondary option selected by the user as a first secondary option;
the judging unit is used for judging whether the first secondary option further comprises a lower-level classification option, if so, loading the lower-level classification option corresponding to the first secondary option, and displaying the lower-level classification option in the first display area;
and the second display unit is used for displaying the secondary option corresponding to the first main option in the first display area when the first secondary option does not comprise a lower classification option.
Preferably, when a search box is set in the second display region, the second display module includes:
the selectable menu loading unit is used for loading selectable menus corresponding to the secondary options selected by the user in the first display area;
the searching unit is used for searching in the options in the selectable menu according to the search words in the search box to obtain a search result;
and the third display unit is used for displaying the search result in the second display area.
A storage medium comprising a stored program, wherein the program executes the hierarchical menu display method described above.
A processor for executing a program, wherein the program executes the above hierarchical menu display method.
By means of the technical scheme, the hierarchical menu display method, the hierarchical menu display device, the storage medium and the processor display the classified menu in the first display area and the selectable menu in the second display area, so that the classified items and the selectable items are displayed in a differentiated mode, the problem that a plurality of drop-down frames are needed for assisting in drop-down operation of classification in the prior art does not exist, all the classified items are displayed in one area, and the problem of display difference of different levels of the classified items is solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a hierarchical menu display method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for generating display content of a first area according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for generating display content of a second region according to an embodiment of the present invention;
FIG. 4-a is a schematic diagram illustrating a hierarchical menu display interface provided by an embodiment of the present invention;
4-b illustrate a schematic view of another hierarchical menu display interface provided by embodiments of the present invention;
FIG. 5 illustrates a schematic diagram of a hierarchical menu display interface in the prior art;
FIG. 6 is a schematic diagram of another hierarchical menu display interface in the prior art;
fig. 7 is a schematic structural diagram illustrating a hierarchical menu display apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present invention provides a hierarchical menu display method, and with reference to fig. 1, the hierarchical menu display method may include:
s11, selecting a first display area and a second display area in the display area;
the display area may be understood as an area for performing hierarchical menu display, and the first display area and the second display area are selected in the display area to display the classification item and the selectable item, respectively, and since the selectable item is generated based on the selection and loading of the classification item, the second display area should be selected corresponding to the first display area, for example, the first display area may be disposed on the left side of the display area, and the second display area should be disposed on the right side of the first display area, that is, there is a structural correspondence relationship between the two.
S12, displaying a sorting menu primary option in the first display area, and a secondary option in response to selection of the primary option;
it should be noted that displayed in the first display area are a main option of the sorting menu and a secondary option loaded according to the main option selected by the user. For example, video parameters are typically set in video applications. At this time, the main option of the classification menu corresponding to the first display area corresponds to definition, a video source and an option, and when the user selects the main option as 'the option', the corresponding secondary options can appear in 1-10 sets, 11-20 sets and 21-35 sets, so that the contents of the classification menus of the definition, the video source and the option and the corresponding 1-10 sets, 11-20 sets and 21-35 sets below the option are displayed in the first display area.
S13, displaying a selectable menu in the second display area, wherein the selectable menu is an option list responding to the selection of the secondary option;
since the selectable menu is a list of options in response to the selection of the secondary option in step S12, it can be understood that the selectable menu is the lowest list of options of the primary option. That is, the options that can be classified are displayed in the first display area, and the options in the corresponding second display area cannot be classified any more as selectable options. Still taking the example in step S12, after the three items of 1-10, 11-20 and 21-35 appear in the secondary options, if the user selects 1-10, then a selectable menu consisting of ten items of 1 st, 2 nd and 3 rd sets, 10 th sets is displayed in the second display area, so it can be seen that the selectable menu cannot be further classified, and only selection can be made.
And S14, determining an option result display area in the display area, and displaying the options in the selected selectable menu in the option result display area.
Specifically, the result display area may be disposed at any position in the display area, for example, in a display area outside the first display area and the second display area, or in the second display area, and the present invention is not limited in particular. Still by way of example in step S13, when the user selects set 5 in the selectable menu in the second display area, "set 5" will be displayed as a result of the selection in the selection result display area.
Further, when the secondary option is not the lowest classification option among the classification options, that is, when the secondary option is selected and there are at least two lower classifications after the secondary option, the method includes:
displaying a lower category in the first display area in response to selection of the secondary option.
Referring to fig. 2, the process of generating display content in the first display region may include:
s21, displaying a classification menu main option in the first display area;
s22, acquiring a main option of the classification menu selected by the user, and recording the main option as a first main option;
s23, loading the secondary option corresponding to the first main option, acquiring the secondary option selected by the user, and marking the secondary option selected by the user as a first secondary option;
s24, judging whether the first secondary option further comprises a lower classification option, if so, executing a step S25, and if not, executing a step S26;
s25, loading the lower classification option corresponding to the first secondary option, and displaying the lower classification option in the first display area;
and S26, displaying the secondary option corresponding to the first main option in the first display area.
It should be noted that, a tree structure setting mode is adopted in the classification menu in the first display area, the tree structure corresponds to tree classification, that is, data classification is performed according to a one-to-many tree relationship existing between data elements, and in the tree classification structure, a tree root node has no predecessor point, that is, a main option in the embodiment of the present invention; each of the other nodes has one or more predecessor nodes, and each of the successor nodes may have one or more successor nodes. That is, the remaining nodes may be understood as secondary options in the embodiment of the present invention, and one or more lower classification options after the corresponding secondary option may be used.
When the selectable menu in the second display area contains more selectable items, in order to save time, a search bar can be arranged to increase the search function, namely, a search box is arranged in the second display area, and the search words which are input by the user and correspond to the selectable menu are displayed in the search box.
Referring to fig. 3, when the search box is added, the process of generating the display content in the second display area may include:
s31, loading a selectable menu corresponding to the secondary option selected by the user in the first display area;
s32, searching in the options in the selectable menu according to the search words in the search box to obtain a search result;
and S33, displaying the search result in the second display area.
It should be noted that the search term input by the user in the search box is a fuzzy search, that is, only the keyword needs to be input, and is not necessarily a full name.
It will be appreciated that, where the user selects a selectable item in the second display area in response to the need for a different service, multiple selections are supported and the corresponding multiple selected selection results will be displayed in the selection result display area.
When the selectable items are loaded in the second display area, the selectable menu corresponding to the selected item in the classification menu is loaded and generated only after a certain item in the classification menu is selected in the first display area, so that the data under the classification is displayed in the second display area, and the performance problem and the problem of slow initial loading caused by loading the selectable lists under all the classification items at one time are avoided.
In this embodiment, the classification menu is displayed in the first display area in the display area, and the selectable menu is displayed in the second display area, so that the classification items and the selectable items are displayed in a differentiated manner, and further, the problem that a plurality of pull-down frames are needed for assisting in classified pull-down operation in the prior art does not exist, and meanwhile, all the classification items are displayed in one area, and the problem of display difference of different levels of the classification items is solved.
The embodiment of the present invention is described with reference to a specific application scenario, and with reference to fig. 4-a and 4-b, a schematic diagram of a hierarchical menu display interface in the embodiment of the present invention is respectively shown, specifically:
in the region selection, the classification menu option is set on the left side of the display area and is recorded as a classification display area, and the selectable menu is set on the right side of the real area and is recorded as a selectable display area. The main options of the classification menu, namely the provincial name and the direct prefecture name of China, are displayed in the classification display area, and only a part of the main options is intercepted in the graph 4-a and the graph 4-b and not all the main options are displayed. Referring first to fig. 4-a, on the left category display, the main options are shown: since the user selects the beijing city and the names of the regions are directly set under the beijing city, that is, no other classification items exist between the names of the regions and the beijing city, the selectable display area on the right side is loaded to generate the corresponding region name after the user selects the beijing city, for example, the east city, the west city, the hai lake area, the great happy area, the chang-ping area, the dense cloud area and the like in the figure are selected by the user, and the user can search by means of the search box.
Referring to fig. 4-a, in the classification display area on the left, the main options are shown: since the user selects the beijing city and the names of the regions are directly set under the beijing city, that is, no other classification items exist between the names of the regions and the beijing city, the selectable display area on the right side is loaded to generate the corresponding region name after the user selects the beijing city, for example, the east city, the west city, the hai lake area, the great happy area, the chang-ping area, the dense cloud area and the like in the figure are selected by the user, and the user can search by means of the search box.
Referring to fig. 4-b, in the classification display area on the left, the main options are shown: since the user selects the north river province and the north river province with names of various city levels, such as the Shijiazhuang, baoding, Cangzhou, Chengde, Tangshan, etc., displayed in the figure, and there is still a lower level classification behind each corresponding city level area, and there is no other classification item between the classification and the city level area, the classification is displayed in the selectable display area, for example, the user selects the Shijiazhuang, the selectable display area on the right side is loaded with the names of the corresponding areas, such as the Changan area, the Gaiyi area, the Jinshou area, the Xingji area, etc., in the figure for the user to select, and the user can also search by means of the search box.
The final selection results are displayed in a results display area, such as the hai lake area shown at the top in fig. 4-a and the chan' an area shown at the top in fig. 4-b.
Compared with the display method in the prior art, fig. 5 shows a hierarchical menu display method in the prior art, in fig. 5, it can be seen that a plurality of pull-down boxes are arranged for screening and classifying, and the upper part of fig. 5 shows a display interface when beijing city is selected, so that it can be seen that the region options are blank, because the attribute characteristics of the element province are ignored by adopting the loading mode of the same type, the resource waste is caused. And the adoption of a plurality of drop-down frames does not distinguish the classification items from the selectable items, so that the display contents with different attributes are different on the display result.
Referring to fig. 6, in another hierarchical menu display method in the prior art, although a plurality of drop-down boxes are not set for selection in the menu display, classification items and selectable items are still not distinguished, and a plurality of option areas need to be listed, which causes resource waste.
According to the display interface generated by the hierarchical menu display method provided by the invention, the classification items and the selectable items are displayed in a distinguishing way, and the problem of different hierarchies of the classification items is solved by adopting a tree structure when the classification items are displayed. Meanwhile, the selectable items are displayed without setting a plurality of drop-down boxes for auxiliary selection, the display content is simplified, and the loading is carried out according to the selection result of the classified items in the selectable item loading process, so that the performance problem caused by the completion of the selectable lists under all the classified items through one-time loading is avoided. A search box is arranged in the selectable display area, and time of a user is saved when the selectable items are too many.
Optionally, corresponding to the foregoing method embodiment, another embodiment of the present invention provides a hierarchical menu display apparatus, and referring to fig. 7, the hierarchical menu display apparatus may include:
the area selection module 101 is used for selecting a first display area and a second display area in the display area;
a first display module 102 for displaying a sorting menu primary option in the first display area, and a secondary option in response to selection of the primary option;
a second display module 103, configured to display a selectable menu in the second display area, where the selectable menu is a list of options in response to selection of the secondary option;
and a third display module 104, configured to determine an option result display area in the display area, and display an option in the selected selectable menu in the option result display area.
Further, when a secondary option in response to selection of the primary option has at least one hierarchical classification, the first display module includes:
the first display unit is used for displaying a classification menu main option in the first display area;
the main option obtaining unit is used for obtaining a main option of the classification menu selected by a user and recording the main option as a first main option;
a secondary option loading unit, configured to load a secondary option corresponding to the first main option, acquire a secondary option selected by a user, and mark the secondary option selected by the user as a first secondary option;
the judging unit is used for judging whether the first secondary option further comprises a lower-level classification option, if so, loading the lower-level classification option corresponding to the first secondary option, and displaying the lower-level classification option in the first display area;
and the second display unit is used for displaying the secondary option corresponding to the first main option in the first display area when the first secondary option does not comprise a lower classification option.
Correspondingly, when the search box is set in the second display area, the second display module includes:
the selectable menu loading unit is used for loading selectable menus corresponding to the secondary options selected by the user in the first display area;
the searching unit is used for searching in the options in the selectable menu according to the search words in the search box to obtain a search result;
and the third display unit is used for displaying the search result in the second display area.
In this embodiment, the classification menu is displayed in the first display area in the display area, and the selectable menu is displayed in the second display area, so that the classification items and the selectable items are displayed in a differentiated manner, and further, the problem that a plurality of pull-down frames are needed for assisting in classified pull-down operation in the prior art does not exist, and meanwhile, all the classification items are displayed in one area, and the problem of display difference of different levels of the classification items is solved.
It should be noted that, for the working processes of each module, sub-module, and unit in this embodiment, please refer to the corresponding description in the above embodiments, which is not described herein again.
Optionally, an embodiment of the present invention further provides a hierarchical menu display apparatus, where the hierarchical menu display apparatus includes a processor and a memory, where the area selection module, the first display module, the second display module, the third display module, and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, the classification items and the selectable items are displayed in a distinguishing mode by adjusting kernel parameters, and the problem of display difference of different levels of the classification items is solved.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, the program implementing the hierarchical menu display method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the hierarchical menu display method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
selecting a first display area and a second display area in the display area;
displaying a sorting menu primary option in the first display area, and a secondary option in response to selection of the primary option;
displaying a selectable menu in the second display area, wherein the selectable menu is a list of options responsive to selection of the secondary option;
and determining an option result display area in the display area, and displaying the options in the selected selectable menu in the option result display area.
Further, when a secondary option responsive to selection of the primary option has at least one hierarchical classification, the method further comprises:
displaying a lower category in the first display area in response to selection of the secondary option.
Further, when the first display area displays a sorting menu main option, and in response to a selection of the main option, a secondary option comprising:
displaying a classification menu main option in the first display area;
acquiring a classification menu main option selected by a user, and recording the classification menu main option as a first main option;
loading the secondary option corresponding to the first main option, acquiring the secondary option selected by a user, and marking the secondary option selected by the user as a first secondary option;
judging whether the first secondary option further comprises a lower classification option, if so, loading the lower classification option corresponding to the first secondary option, and displaying the lower classification option in the first display area;
and when the first secondary option does not comprise a lower-level classification option, displaying the secondary option corresponding to the first main option in the first display area.
Further, a search box is arranged in the second display area, and search words corresponding to the selectable menu are displayed in the search box.
Further displaying selectable menus in the second display area, including:
loading a selectable menu corresponding to a secondary option selected by a user in the first display area;
searching in the options in the selectable menu according to the search words in the search box to obtain a search result;
and displaying the search result in the second display area.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (7)

1. A hierarchical menu display method, comprising:
selecting a first display area and a second display area in the display area;
displaying a classification menu main option in the first display area;
acquiring a classification menu main option selected by a user, and recording the classification menu main option as a first main option;
loading the secondary option corresponding to the first main option, acquiring the secondary option selected by the user, and recording the secondary option selected by the user as a first secondary option;
judging whether the first secondary option further comprises a lower classification option, if so, loading the lower classification option corresponding to the first secondary option, and displaying the lower classification option in the first display area;
when the first secondary option does not comprise a lower classification option, displaying a secondary option corresponding to the first main option in the first display area;
when the secondary option does not comprise a lower-level classification option, displaying a selectable menu in the second display area, wherein the selectable menu is a list of options responding to selection of the secondary option, options in the selectable menu are a bottom-most list of main options, and the selectable menu displayed in the second display area is generated by loading after the option in the classification menu is selected in the first display area;
displaying a lower category in response to selection of a secondary option in the first display area when the secondary option in response to selection of the main option has at least one hierarchical category;
and determining an option result display area in the display area, wherein the option result display area is arranged in an area except the first display area and the second display area, and if a user selects a plurality of options in the second display area, displaying a plurality of option results in the option result display area.
2. The method of claim 1, further comprising:
and setting a search box in the second display area, and displaying the search words which are input by the user and correspond to the selectable menu in the search box.
3. The method of claim 2, wherein displaying a selectable menu in the second display area comprises:
loading a selectable menu corresponding to a secondary option selected by a user in the first display area;
searching in the options in the selectable menu according to the search words in the search box to obtain a search result;
and displaying the search result in the second display area.
4. A hierarchical menu display apparatus, comprising:
the area selection module is used for selecting a first display area and a second display area in the display area;
a first display module for displaying a sorting menu primary option in the first display area and a secondary option in response to selection of the primary option;
a second display module, configured to display a selectable menu in the second display area when the secondary option does not include a lower-level sorting option, where the selectable menu is a list of options in response to selection of the secondary option, an option in the selectable menu is a bottom-most list of options in the main option, and the selectable menu displayed in the second display area is generated by loading after an option in the sorting menu is selected in the first display area;
a third display module, configured to determine an option result display area in the display area, where the option result display area is set in an area other than the first display area and the second display area, and if a user selects multiple options in the second display area, display multiple option results in the option result display area;
when a secondary option responsive to selection of the primary option has at least one hierarchical classification, the first display module comprises:
the first display unit is used for displaying a classification menu main option in the first display area;
the main option obtaining unit is used for obtaining a main option of the classification menu selected by a user and recording the main option as a first main option;
the secondary option loading unit is used for loading a secondary option corresponding to the first main option, acquiring the secondary option selected by the user, and marking the secondary option selected by the user as a first secondary option;
the judging unit is used for judging whether the first secondary option further comprises a lower-level classification option, if so, loading the lower-level classification option corresponding to the first secondary option, and displaying the lower-level classification option in the first display area;
and the second display unit is used for displaying the secondary option corresponding to the first main option in the first display area when the first secondary option does not comprise a lower classification option.
5. The apparatus of claim 4, wherein when setting a search box in the second display area, the second display module comprises:
the selectable menu loading unit is used for loading selectable menus corresponding to the secondary options selected by the user in the first display area;
the searching unit is used for searching in the options in the selectable menu according to the search words in the search box to obtain a search result;
and the third display unit is used for displaying the search result in the second display area.
6. A storage medium characterized by comprising a stored program, wherein the program executes the hierarchical menu display method according to any one of claims 1 to 3.
7. A processor for running a program, wherein the program executes to perform the hierarchical menu display method of any one of claims 1 to 3.
CN201710908459.5A 2017-09-29 2017-09-29 Hierarchical menu display method and device Active CN109582192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710908459.5A CN109582192B (en) 2017-09-29 2017-09-29 Hierarchical menu display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710908459.5A CN109582192B (en) 2017-09-29 2017-09-29 Hierarchical menu display method and device

Publications (2)

Publication Number Publication Date
CN109582192A CN109582192A (en) 2019-04-05
CN109582192B true CN109582192B (en) 2022-02-25

Family

ID=65914268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710908459.5A Active CN109582192B (en) 2017-09-29 2017-09-29 Hierarchical menu display method and device

Country Status (1)

Country Link
CN (1) CN109582192B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109604B (en) * 2019-04-29 2021-03-12 维沃移动通信有限公司 Application interface display method and mobile terminal
CN110543270B (en) 2019-08-02 2020-11-10 苏州浪潮智能科技有限公司 Method and system for simultaneously inputting multiple drop-down selection boxes in page form
CN117093111A (en) * 2021-04-22 2023-11-21 华为技术有限公司 Display method and related device
CN113467665A (en) * 2021-07-01 2021-10-01 北京有竹居网络技术有限公司 Multi-level menu display method and device, storage medium and electronic equipment
CN114779991A (en) * 2022-03-16 2022-07-22 中国铁建高新装备股份有限公司 Large road maintenance machine man-machine interaction method and device based on database operation
CN115097999A (en) * 2022-07-22 2022-09-23 山石网科通信技术股份有限公司 Item selection method, item selection device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1366632A (en) * 2000-03-17 2002-08-28 皇家菲利浦电子有限公司 Method and apparatus for displaying multi-level menu
CN101552837A (en) * 2009-03-11 2009-10-07 惠州Tcl移动通信有限公司 Menu indication method
JP2012194839A (en) * 2011-03-17 2012-10-11 Nec Saitama Ltd Display control system
CN102880624A (en) * 2011-07-16 2013-01-16 张文广 Website navigation tool system
CN105338416A (en) * 2015-10-28 2016-02-17 飞狐信息技术(天津)有限公司 Program menu processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1366632A (en) * 2000-03-17 2002-08-28 皇家菲利浦电子有限公司 Method and apparatus for displaying multi-level menu
CN101552837A (en) * 2009-03-11 2009-10-07 惠州Tcl移动通信有限公司 Menu indication method
JP2012194839A (en) * 2011-03-17 2012-10-11 Nec Saitama Ltd Display control system
CN102880624A (en) * 2011-07-16 2013-01-16 张文广 Website navigation tool system
CN105338416A (en) * 2015-10-28 2016-02-17 飞狐信息技术(天津)有限公司 Program menu processing method and device

Also Published As

Publication number Publication date
CN109582192A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN109582192B (en) Hierarchical menu display method and device
CN107506376B (en) Client for acquiring data of information point in area
CN107622080B (en) Data processing method and equipment
CN109634682B (en) Configuration file updating method and device for application program
CN111124212B (en) Data display method and device, storage medium and processor
CN104933134A (en) User feature analysis method and user feature analysis device
US20180365339A1 (en) Application classification method and apparatus
CN107329979A (en) A kind of data object methods of exhibiting and device
CN106485566A (en) A kind of information recommendation method and device
CN104036035A (en) Historical searching suggestion prompting method and device
CN111882426A (en) Business risk classifier training method, device, equipment and storage medium
CN109426415B (en) Method and device for generating cascade selector
CN112435094A (en) Information interaction method and device, storage medium and electronic equipment
WO2017198087A1 (en) Feature-set augmentation using knowledge engine
CN106648567B (en) Data acquisition method and device
CN105808614A (en) Method and server for establishing specialty product knowledge bases, and method and server fro providing specialty product information
US10120927B2 (en) Technology for generating a model in response to user selection of data
CN111177562B (en) Recommendation ordering processing method and device for target object and server
CN111177093A (en) Method, device and medium for sharing scientific and technological resources
CN115689676A (en) Industry identification method and apparatus, storage medium and electronic device
CN108711074A (en) Business sorting technique, device, server and readable storage medium storing program for executing
CN115049263A (en) Construction method of distribution network
CN110020227B (en) Data sorting method and device
CN109582191B (en) Menu content display method and device
CN112580915A (en) Project milestone determination method and device, storage medium and electronic equipment

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100080 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing

Applicant after: Beijing Guoshuang Technology Co.,Ltd.

Address before: 100086 Beijing city Haidian District Shuangyushu Area No. 76 Zhichun Road cuigongfandian 8 layer A

Applicant before: Beijing Guoshuang Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant