CN114816173A - Navigation menu generation method and device, electronic equipment and storage medium - Google Patents

Navigation menu generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114816173A
CN114816173A CN202210442726.5A CN202210442726A CN114816173A CN 114816173 A CN114816173 A CN 114816173A CN 202210442726 A CN202210442726 A CN 202210442726A CN 114816173 A CN114816173 A CN 114816173A
Authority
CN
China
Prior art keywords
menu
navigation
label
service
user
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.)
Pending
Application number
CN202210442726.5A
Other languages
Chinese (zh)
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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies 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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN202210442726.5A priority Critical patent/CN114816173A/en
Publication of CN114816173A publication Critical patent/CN114816173A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/04817Interaction 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 using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention is suitable for the technical field of computers, and provides a method and a device for generating a navigation menu, electronic equipment and a storage medium, wherein the method for generating the navigation menu comprises the following steps: determining a service type; acquiring at least two menu labels corresponding to the service types; each menu label in the at least two menu labels is linked with a service page of the service type; and arranging at least two menu labels based on the operation sequence of each service page in the service type to generate a navigation menu.

Description

Navigation menu generation method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for generating a navigation menu, an electronic device, and a storage medium.
Background
The navigation menu is a tool for guiding a user to interact with a product, the navigation menu is constructed according to the subordination relation of information or functions in the related technology, the user needs to jump back and forth in different navigation menus when finishing work, the user has great difficulty in handing, and the user is not favorable for finishing work efficiently.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention provide a method and an apparatus for generating a navigation menu, an electronic device, and a storage medium, so as to at least solve the problem that it is difficult for a user to operate the navigation menu in the related art, which is not favorable for efficiently completing work.
The technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for generating a navigation menu, where the method includes:
determining a service type;
acquiring at least two menu labels corresponding to the service types; each menu label in the at least two menu labels is linked with a service page of the service type;
and arranging the at least two menu labels based on the operation sequence of each service page in the service type to generate a navigation menu.
In the foregoing solution, the arranging the at least two menu tabs based on the operation sequence of each service page in the service type to generate a navigation menu includes:
and connecting the at least two menu labels by adopting a connecting line with directions based on the operation sequence of each service page in the service type to obtain the navigation menu.
In the above aspect, the method further includes:
acquiring state information of a service page linked with each menu label;
and displaying the state information of the corresponding service page in the menu label.
In the above aspect, the method further includes:
acquiring a first operation of a user; the first operation representation user selects a first menu label in the navigation menu;
determining whether the first menu label has a dependency relationship with a second menu label; the second menu label represents that the priority of the operation sequence in the navigation menu is higher than that of the menu label of the first menu label;
and if the first menu label and the second menu label do not have a dependency relationship, responding to the first operation, and jumping to a service page corresponding to the first menu label.
In the foregoing solution, if the selected first menu label and the second menu label have a dependency relationship, the method further includes:
if the first menu label and the second menu label have a dependency relationship and the related operation of the service page corresponding to the second menu label is not completed, responding to the first operation and sending alarm information to a user; and the alarm information is used for prompting the user to operate the service page corresponding to the second menu label.
In the above scheme, before determining the service type, the method further includes:
receiving the connection operation of a user on each menu label in the hierarchical navigation menu to obtain the menu label attribute under the preset service type; the menu label attribute comprises a menu label category and an operation sequence of a related service page;
storing the menu tag attributes to facilitate subsequent generation of a navigation menu.
In the above solution, after arranging the at least two menu tabs to generate the navigation menu, the method further includes:
acquiring a second operation of the user, and adjusting the menu label attribute in the navigation menu based on the second operation; the menu label attribute comprises a menu label category and an operation sequence of a related service page;
the adjusted menu tag attributes are stored for subsequent generation of a navigation menu.
In a second aspect, an embodiment of the present invention provides an apparatus for generating a navigation menu, where the apparatus includes:
the determining module is used for determining the service type;
the acquisition module is used for acquiring at least two menu labels corresponding to the service types; each menu label in the at least two menu labels is linked with a service page of the service type;
and the generating module is used for arranging the at least two menu labels based on the operation sequence of each service page in the service type so as to generate a navigation menu.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the processor and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the steps of the method for generating a navigation menu provided in the first aspect of the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program. The computer program, when executed by a processor, implements the steps of the method for generating a navigation menu as provided by the first aspect of an embodiment of the present invention.
The embodiment of the invention obtains at least two menu labels corresponding to the service type by determining the service type, and arranges the at least two menu labels based on the operation sequence of each service page in the service type to generate the navigation menu. Wherein each of the at least two menu tabs links to a service page of the service type. The navigation menu generated by the embodiment of the invention visualizes the business process, and the user can complete the business task according to the guidance of the navigation menu, thereby being beneficial to the user to complete the work efficiently. And the navigation menu provided by the application is convenient for novice users to get familiar with the business process quickly, the learning and memory cost of the users is reduced, and the operation experience of the users is improved.
Drawings
FIG. 1 is a schematic diagram of a navigation framework provided by the related art;
FIG. 2 is a schematic diagram of another navigation framework provided by the related art;
FIG. 3 is a schematic diagram of another navigation framework provided by the related art;
fig. 4 is a schematic flow chart illustrating an implementation of a method for generating a navigation menu according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a navigation menu provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a relationship between a stream navigation menu and a hierarchical navigation menu according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a flowchart navigation menu used in conjunction with a top navigation bar according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a streamlined navigation menu used in conjunction with a side vertical navigation bar according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of a navigation menu of a flow program used in conjunction with tab tags according to an embodiment of the present invention;
FIG. 10 is a flowchart illustrating an implementation of another method for generating a navigation menu according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of another navigation menu provided by embodiments of the present invention;
FIG. 12 is a schematic diagram of another navigation menu provided by embodiments of the present invention;
fig. 13 is a schematic flow chart illustrating an implementation of another method for generating a navigation menu according to an embodiment of the present invention;
FIG. 14 is a block diagram of a flowchart navigation menu according to an embodiment of the present invention;
fig. 15 is a schematic diagram of a navigation menu generating apparatus according to an embodiment of the present invention;
fig. 16 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Navigation menus are tools for guiding a user to effectively interact with a product, for example, application software needs the navigation menus to show functions and guide the user to use the functions. In the website, the navigation menu can enable the user to find the required resource area more clearly and clearly, and guide the user to access the resource.
In the interface design, the navigation design can also be called as a framework design, the core points (service layers) of the product are intensively and prominently arranged, the flattening of task paths and the convenience of user operation are realized as far as possible, the most common behaviors (user layers) of the user are classified and organized, the functional elements can be obtained and used by the user in the easiest way, and the most basic point required to be made is the navigation design when a webpage or an App product needs to have good usability. The navigation menu is an element with navigation function, which shows all important options of the interface to the user. Navigation menus can be placed at different positions in the interface design (side menus, top menus, bottom menus, etc.), and have different interaction and visual forms (pull-down menus, pull-up menus, slide menus, etc.). To design the location, interaction, and visual form of the navigation menu, the designer needs to go through a comprehensive user survey, including the expectations and requirements, receptivity, and context of use of the target user. Good menu design allows users to achieve their goals faster, laying a solid foundation for the user experience.
As shown in fig. 1, 2 and 3, the navigation framework known to the user is basically divided into the following modes: top horizontal navigation (fig. 1), side vertical navigation (fig. 2), and global secondary navigation (fig. 3). The navigation framework is combined with secondary navigation forms such as breadcrumbs, tabs and labels, and is widely applied to multi-level products or websites with hierarchical structures.
As can be seen from fig. 1, 2 and 3, in the related art, a navigation menu is constructed according to the affiliation of information or functions, for example, the navigation menu is divided into administrative management, production management, financial management and user management according to management functions; the navigation menu is divided into personal assets and company assets according to the information classification. The related art simply stacks menu labels in a navigation menu according to the dependency relationship of functions or information, and such navigation menus are usually presented in a list form. According to the navigation mode, when a user needs to use a plurality of functions to complete a task, the user needs to jump back and forth in different navigation menus, and for a novice who is not familiar with the structure of the navigation menu, the difficulty of the beginner is high, and the user can learn and memorize for a long time to be proficient in using the navigation menu.
In view of the above disadvantages of the related art, embodiments of the present invention provide a method for generating a navigation menu, where the generated navigation menu facilitates a user to quickly become familiar with a business process, and can improve the work efficiency of the user. In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 4 is a schematic flow chart of an implementation process of a method for generating a navigation menu according to an embodiment of the present invention, where a physical execution main body of the method for generating a navigation menu is an electronic device, and the electronic device may be a desktop computer, a notebook computer, a server, and the like. Referring to fig. 4, the method of generating the navigation menu includes:
s401, determining the service type.
Here, each service type corresponds to a service task, for example, the service task of the user may be fund monitoring, device management, information management, and the like. A user may have multiple business tasks, i.e., correspond to multiple business types.
In practical applications, the service types may be selected by the user, for example, all the service types may be displayed to the user, and the user may select the service type required by the user.
In an embodiment, before the step of determining the traffic type, the method further comprises:
acquiring a third operation of the user; the third operation representation user selects a navigation tag in the navigation bar; each navigation tag in the navigation bar corresponds to a service type.
The content specifically included in the navigation bar may be determined based on user information of the login user.
Accordingly, determining a traffic type includes:
and determining the service type based on the navigation tag selected by the first operation.
The navigation bar refers to a row of horizontal navigation buttons (only horizontal form is illustrated) provided for a user to select service types after entering a page, and each navigation tag in the navigation bar corresponds to one service type. The navigation bar is determined based on the user information of the login user, or the navigation tag displayed in the navigation bar is determined based on the user information of the login user, and the navigation bar corresponding to each user may be different, because the business type corresponding to each user may be different, for example, the business type of the corporate financial staff is fund monitoring, the business type of the corporate personnel is user management, the navigation bar of the corporate financial staff displays a menu tag for fund monitoring, and the navigation bar of the corporate personnel displays a menu tag for user management.
The corresponding relation between the user information and the navigation bar can be stored in the database in advance, the navigation bar corresponding to the user information is obtained from the database by obtaining the user information of the login user, and the navigation bar corresponding to the user information is displayed on the page. One user can correspond to a plurality of service types, so that a plurality of navigation tags can be displayed in the navigation bar, and the user clicks one navigation tag to indicate that the user selects the service type corresponding to the navigation tag.
According to the embodiment, different navigation bars can be configured according to different users, customization of the navigation bars is achieved, the navigation bars are matched with the users better, the daily use scenes of the users are met, and high matching of products and the scenes of the users is achieved.
S402, acquiring at least two menu labels corresponding to the service types; each menu label of the at least two menu labels links to a service page of the service type.
A user completes a business task and may need to jump between multiple business pages. For example, when a user performs a fund monitoring task, the user needs to first obtain the fund amount input by the user through a fund input page, and then jump to the fund monitoring page for fund monitoring. Therefore, the fund monitoring task corresponds to 2 service pages.
It can be seen that the service page corresponding to each service task (service type) is determined, and each menu tag links to one service page.
Here, the at least two menu labels corresponding to the service type are obtained, and may be at least two menu labels corresponding to the service type which are temporarily created; or at least two menu labels corresponding to the service types can be created in advance, stored in a background database, and taken out from the background database when needed.
Each menu label links one service page, and if the menu label is temporarily created, the link relation between the menu label and the corresponding service page needs to be created at the same time. If the menu label corresponding to the service type is taken out from the background database, the link relation is also stored in the background database, and the link relation with the service page is also obtained while the menu label is obtained.
S403, based on the operation sequence of each service page in the service type, arranging the at least two menu labels to generate a navigation menu.
Each menu tab in the navigation menu links to a service page, for example, 5 service pages are required to complete a service task, and the navigation menu includes 5 menu tabs. And arranging at least two menu labels according to the operation sequence of each service page in the service type, wherein the generated navigation menu can visually display the service flow, and the navigation menu can guide a user to execute the service flow and complete a service task. According to the link relation between the menu label and the service page, the user can jump to the corresponding service page by clicking the menu label.
Because the operation sequence of the service pages represents the service process, the navigation menu generated according to the operation sequence of each service page in the service type can guide the user to execute the service process.
In an embodiment, the arranging the at least two menu tabs based on the operation sequence of each service page in the service type to generate the navigation menu includes:
and connecting the at least two menu labels by adopting a connecting line with directions based on the operation sequence of each service page in the service type to obtain the navigation menu.
Specifically, according to the operation sequence of each service page in the service type, at least two menu labels are connected by adopting a connecting line with a direction, and a navigation menu with the connection relation of the menu labels is obtained. The menu labels are connected according to the operation sequence of the service page, and the connection relationship visualizes the service flow and the service path of the user, so that the user can intuitively know the service flow and the subsequent steps conveniently. And the user can jump to the corresponding service pages in sequence to execute the service tasks according to the connection relation of the menu labels. For novice users, the novice users do not need to understand complex product logics and memorize the positions of menu labels, and the users can quickly complete business tasks according to the connection relation of the menu labels in the navigation menu.
In an embodiment, the arranging the at least two menu tabs based on the operation sequence of each service page in the service type to generate the navigation menu includes:
and based on the operation sequence of each service page in the service type, sequencing the positions of the at least two menu labels according to the execution sequence to obtain the navigation menu.
In the embodiment of the invention, the menu labels are not connected, but are subjected to position sequencing according to the operation sequence of the service page. For example, at least two menu tabs may be positionally ordered from left to right or top to bottom in the order of operation of the business page. The user can clearly understand the business process and quickly complete the business task according to the position sequence of the menu labels in the navigation menu.
In practical applications, the step of "performing position sorting on the at least two menu labels according to the execution sequence" may specifically be: and embedding the at least two menu labels into a preset picture according to the execution sequence. Namely specifically: the generated navigation menu can be stored in a background server in a picture mode, when a user needs to use the navigation menu, the picture corresponding to the navigation menu is obtained from the background server, the picture is displayed in a front-end page, menu labels in the navigation menu can be embedded in the picture in a control mode, the operation sequence of each embeddable menu label is constructed in advance in the preset picture, and therefore the menu labels are directly embedded into the preset picture according to the operation sequence after being taken.
As shown in fig. 5, at least two menu tabs are both position-ordered and line-connected. The menu tabs in the navigation menu shown in fig. 5 are position-ordered from left to right and connected using a connecting line with direction. The navigation menu shown in fig. 5 visualizes the business process, the user does not need to understand complex product logic and memorize the position of the functional module, and the user can quickly complete business tasks according to the connection relation or position sequencing of the menu labels in the navigation menu.
It should be understood that the direction of the navigation menu in fig. 5 can be changed arbitrarily, and can be horizontal or vertical; the form of the navigation menu can be changed arbitrarily, and can be square or round. The form and direction of the navigation menu are not limited in this application.
Referring to fig. 6, fig. 6 is a schematic diagram illustrating a relationship between a stream navigation menu and a hierarchical navigation menu according to an embodiment of the present invention. The flow navigation menu corresponds to the embodiment of the invention, the hierarchical navigation menu corresponds to the related technology, and the original hierarchical navigation menu can determine whether the user can be seen at the front end according to the requirement.
In an embodiment, the method further comprises:
and receiving operation information of a user, wherein the operation information is used for configuring or adjusting the menu label attribute under the preset service type.
Here, the menu tab attribute includes a menu tab category and an operation order of the related service page. Specifically, the user may set the menu tab attribute by setting the name of the menu tab, the number of menu tabs, the link relationship between the menu tab and the service page, the operation order of each menu tab, and the like. For example, the operation information that the user can input in the background includes: the number of menu tabs is 3, the names of the menu tabs are sequentially "home page", "information management", and "user information management", and the operation sequence of the menu tabs is "home page" - "information management" - "user information management". Then, according to the operation information, a navigation menu including menu labels "home page", "information management", and "user information management" can be generated subsequently, and the menu labels "home page", "information management", and "user information management" are connected using a connection line having a direction.
After receiving the user operation information, the menu label attribute configured or adjusted by the user can be pre-stored, so that when the navigation menu needs to be generated, the navigation menu can be generated by one key, and the efficiency of generating the navigation menu is improved.
In practical applications, the user may configure a navigation menu (e.g., in a table form) in the background, and the user may generate the navigation menu according to the flow guide and the sequence provided by the platform, which refers to the platform generating the navigation menu, such as a browser. The user can also configure the navigation menu in the foreground, and the user-defined configuration is realized. For example, a user may connect menu labels in a hierarchical navigation menu by using a connection line with directions on the basis of the hierarchical navigation menu provided by the related art, so as to obtain a flow navigation menu. The embodiment of the invention can realize the user-defined configuration of the navigation menu, and the user can generate the flow type navigation menu according to the self scene and the requirement. Specifically, before the step of determining the service type, the method further comprises the steps of:
receiving the connection operation of a user on each menu label in the hierarchical navigation menu to obtain the menu label attribute under the preset service type; the menu label attribute comprises a menu label category and an operation sequence of a related service page;
storing the menu tag attributes to facilitate subsequent generation of a navigation menu.
Of course, the user may also adjust the navigation menu already displayed in the foreground, for example, after the initial navigation menu is displayed in the foreground, the user operation information may be received to adjust the menu label attribute under the corresponding service type. Specifically, after the at least two menu tabs are arranged to generate the navigation menu, the method further includes the steps of:
acquiring a second operation of the user, and adjusting the menu label attribute in the navigation menu based on the second operation;
the adjusted menu tag attributes are stored for subsequent generation of a navigation menu.
The configuration or adjustment modes of the two flow type navigation menus are simple and convenient, so that a new person can easily and quickly get on the hand, and the working efficiency can be improved.
For novice users, the stream navigation menu can also enable the novice users to be familiar with the business process quickly, so that the novice users can know the whole business process clearly, and the learning and memory cost of the users is reduced. The product use threshold is reduced, and the user operation experience is improved.
The flow type navigation menu can be flexibly applied to different navigation levels and can be combined with navigation bars of different forms and different levels according to the product requirements. For example, fig. 7 is a schematic diagram of a flowchart navigation menu used in combination with a top navigation bar, and a user can click a level one menu in the top navigation bar to display a corresponding navigation menu. FIG. 8 is a schematic diagram of a flow chart of a navigation menu used in conjunction with a lateral vertical navigation bar, where a user can display the corresponding navigation menu by clicking a secondary menu in the lateral vertical navigation bar. Fig. 9 is a schematic diagram of a combined use of a navigation menu and a tab tag of a stream program, and a user can display the corresponding navigation menu by clicking the tab tag. The navigation menu of the flow form visually displays the business flow, and the user can complete the business task through the guidance of the navigation menu.
The embodiment of the invention obtains at least two menu labels corresponding to the service type by determining the service type, and arranges the at least two menu labels based on the operation sequence of each service page in the service type to generate the navigation menu. Wherein each of the at least two menu tabs links to a service page of the service type. The navigation menu generated by the embodiment of the invention visualizes the business process, and the user can complete the business task according to the guidance of the navigation menu, so that the user can efficiently complete the work. And the navigation menu provided by the application is convenient for novice users to get familiar with the business process quickly, the learning and memory cost of the users is reduced, and the operation experience of the users is improved.
Referring to fig. 10, in an embodiment, the acquiring at least two menu labels corresponding to the service types includes:
s1001, state information of the business page linked with each menu label is obtained.
S1002, displaying the state information of the corresponding service page in the menu label.
As shown in FIG. 11, the upper right corner of the menu tab in the navigation menu shown in FIG. 11 is displayed with status icons, such as √,! And (c), and the like. The state icon represents the state of the service page corresponding to the menu label, for example, the green √ icon represents that the service page is a normal page; red! The icon represents that the service page is risky.
When some abnormity or progress and state of the content of the service page need to follow up, the abnormity or progress and state information is displayed on the menu label in the navigation menu, and a user can generally know the state of the service page corresponding to each menu label without entering the service page.
Correspondingly, the arranging the at least two menu tabs based on the operation sequence of each service page in the service type to generate a navigation menu includes:
and arranging the at least two menu labels in a floating window mode based on the operation sequence of each service page in the service type to generate a navigation menu corresponding to the selected navigation label.
As shown in fig. 12, when the user clicks the navigation tab in the navigation bar, the navigation menu corresponding to the navigation tab is displayed in the form of a floating window. In order to reduce the area occupied by the navigation menu in the page and make the page more beautiful, the navigation map of the whole navigation menu is placed in the suspension window of the page, and the user can display the complete navigation menu in the suspension window by moving the mouse to the navigation tag.
In practical application, the menu label selected by the user is highlighted in the navigation menu, the mouse clicks the menu label, the service page corresponding to the menu label is jumped to, and the menu name of the title bar is updated to the name of the selected menu label.
Referring to fig. 13, in an embodiment, the method for generating a navigation menu further includes:
s1301, acquiring a first operation of a user; the first operation represents that a user selects a first menu label in the navigation menu.
The user may select the first menu tab in the navigation menu by means of a touch screen, a mouse, a keyboard, voice, etc.
S1302, determining whether the first menu label has a dependency relationship with a second menu label; the second menu tab characterizes a menu tab of the navigation menu that is upstream from the first menu tab.
Here, the second navigation tab means a menu tab having a higher priority of operation order than the first menu tab in the navigation menu, for example, in fig. 11, the operation order of the menu tab # is higher than the menu tab # c. If the first menu label and the second menu label have a dependency relationship, the operation must be executed by jumping to the service page corresponding to the second menu label, and then the operation can be started to the service page corresponding to the first menu label.
S1303, if the first menu label and the second menu label do not have a dependency relationship, responding to the first operation, and jumping to a service page corresponding to the first menu label.
And if the menu label does not have the dependency relationship, directly jumping to a service page corresponding to the first menu label.
In the above embodiment, if the selected first menu tab and the second menu tab have a dependency relationship, the method further includes:
if the first menu label and the second menu label have a dependency relationship and the related operation of the service page corresponding to the second menu label is not completed, responding to the first operation and sending alarm information to a user; and the alarm information is used for prompting the user to operate the service page corresponding to the second menu label. In the process, the jump to the service page corresponding to the first menu label can be refused, and the jump to the service page corresponding to the second menu label can be automatically carried out.
If the first menu label and the second menu label have a dependency relationship and the second menu label is not operated, that is, the user does not enter the service page corresponding to the second menu label or enters the service page corresponding to the second menu label but does not complete the corresponding operation, the alarm information is sent, and the jump to the service page corresponding to the first menu label can be simultaneously refused, and the jump to the service page corresponding to the second menu label can also be automatically carried out.
Referring to fig. 14, fig. 14 is a schematic diagram illustrating a structure of a stream navigation menu according to an embodiment of the present invention. The framework of the flow type navigation menu comprises: a data layer, an information architecture layer and a service layer.
And (3) a data layer: and dividing the bottom data into a basic module and a business module. Here, a module refers to a field in data. The base module is the only or underlying field in the underlying data, and the business module is a field specific to different business scenarios. For example, one piece of alarm data needs to be displayed in different service scenarios, such as a monitoring scenario, a funeral scenario, a mining scenario, and the like, and different service scenarios all need to read the alarm data, but fields of the alarm data that need to be displayed in different scenarios are different. The basic module is a field which is commonly displayed in different service scenes, such as a unique or basic field of a client ID, an alarm ID and the like. The service module refers to a field corresponding to a service scene in the alarm data. The basic module can be used universally under different service scenes, the service module can only be applied under a special service scene, and each service module evolves according to the corresponding service requirement without being synchronized to other service modules.
Information architecture layer: the information architecture is a reasonable display form for organizing information, for example, the APP can divide modules such as a home page, user management, security management, and the like, and the display form of the module is the information architecture of the APP. In the embodiment of the present invention, the information framework refers to a structure of a navigation menu, for example, in a hierarchical navigation menu, a plurality of secondary navigation menus are included under a primary navigation menu, and a plurality of tertiary navigation menus are included under a secondary navigation menu. The information architecture in the embodiment of the invention refers to service types, each service type corresponds to a navigation menu, a menu label corresponding to the service type is obtained, and the page content corresponding to the menu label is constructed according to the basic module and the service module of the data layer. And dividing the page content corresponding to the menu tag into a modular structure, and constructing the page content linked with each menu tag.
And (4) a service layer: and the navigation menu in the service layer is constructed according to the service flow, and the menu label is connected or arranged according to the service flow according to the menu label in the information construction layer to obtain the flow type navigation menu. Different business scenes correspond to different flow type navigation menus, the flow sequence of the flow type navigation menus represents the operation sequence of executing business tasks by a user, even if the business scenes are very complicated, the user can complete the work required to be completed in the business scenes only by steps according to the guidance of the flow type navigation menus, and the learning and memory cost of the user is greatly reduced. And a novice user can quickly become familiar with the business process, the product use threshold is reduced, and the user operation experience is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The technical means described in the embodiments of the present invention may be arbitrarily combined without conflict.
In addition, in the embodiments of the present invention, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.
Referring to fig. 15, fig. 15 is a schematic diagram of an apparatus for generating a navigation menu according to an embodiment of the present invention, as shown in fig. 15, the apparatus includes: the device comprises a determining module, an obtaining module and a generating module.
The determining module is used for determining the service type;
the acquisition module is used for acquiring at least two menu labels corresponding to the service types; each menu label in the at least two menu labels is linked with a service page of the service type;
the generating module is used for generating a navigation menu based on the operation sequence of the at least two menu labels; the operation sequence represents a service process corresponding to the service type; the navigation menu is used for guiding the user to execute the business process.
In an embodiment, the generating module, when arranging the at least two menu tabs based on the operation sequence of each service page in the service type to generate the navigation menu, is configured to:
and connecting the at least two menu labels by adopting a connecting line with directions based on the operation sequence of each service page in the service type to obtain the navigation menu.
In one embodiment, the apparatus further comprises:
the state acquisition module is used for acquiring the state information of the service page linked with each menu label;
and the state display module is used for displaying the state information of the corresponding service page in the menu label.
In one embodiment, the apparatus further comprises:
the first operation acquisition module is used for acquiring a first operation of a user; the first operation representation user selects a first menu label in the navigation menu;
a dependency relationship determining module for determining whether the first menu label has a dependency relationship with a second menu label; the second menu label represents that the priority of the operation sequence in the navigation menu is higher than that of the menu label of the first menu label;
and the skipping module is used for responding to the first operation and skipping to the service page corresponding to the first menu label if the first menu label and the second menu label do not have the dependency relationship.
In one embodiment, the apparatus further comprises:
the warning module is used for responding to the first operation and sending warning information to a user if the first menu label and the second menu label have a dependency relationship and the related operation of the service page corresponding to the second menu label is not completed; and the alarm information is used for prompting the user to operate the service page corresponding to the second menu label.
In one embodiment, the apparatus further comprises:
the receiving module is used for receiving the connection operation of a user on each menu label in the hierarchical navigation menu to obtain the menu label attribute under the preset service type; the menu label attribute comprises a menu label category and an operation sequence of a related service page; storing the menu tag attributes to facilitate subsequent generation of a navigation menu.
In one embodiment, the apparatus further comprises:
the adjusting module is used for acquiring a second operation of the user and adjusting the menu label attribute in the navigation menu based on the second operation; the menu label attribute comprises a menu label category and an operation sequence of a related service page; the adjusted menu tag attributes are stored for subsequent generation of a navigation menu.
In practical applications, the determining module, the obtaining module and the generating module may be implemented by a Processor in an electronic device, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA).
It should be noted that: the navigation menu generating device provided in the above embodiment is only illustrated by dividing the above modules when generating the navigation menu, and in practical applications, the processing may be distributed to different modules as needed, that is, the internal structure of the device may be divided into different modules to complete all or part of the processing described above. In addition, the apparatus for generating a navigation menu and the method for generating a navigation menu provided in the above embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the method embodiments, and are not described herein again.
The data processing device may be in the form of an image file, and after the image file is executed, the image file may be run in the form of a container or a virtual machine, so as to implement the data processing method described in the present application. Of course, the method is not limited to the image file form, and any software form capable of implementing the data processing method described in the present application is within the protection scope of the present application.
Based on the hardware implementation of the program module, in order to implement the method of the embodiment of the present application, an embodiment of the present application further provides an electronic device. Fig. 16 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application, and as shown in fig. 16, the electronic device includes:
the communication interface can carry out information interaction with other equipment such as network equipment and the like;
and the processor is connected with the communication interface to realize information interaction with other equipment, and is used for executing the method provided by one or more technical schemes on the electronic equipment side when running a computer program. And the computer program is stored on the memory.
Of course, in practice, the various components in an electronic device are coupled together by a bus system. It will be appreciated that a bus system is used to enable communications among the components. The bus system includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as a bus system in figure 16.
The electronic device may be in a cluster form, for example, a cloud computing platform, where the cloud computing platform is a service form that organizes a plurality of independent server physical hardware resources into pooled resources by using computing virtualization, network virtualization, and storage virtualization technologies, and is a software-defined resource structure based on virtualization technology development, and may provide resource capabilities in the form of virtual machines, containers, and the like. The fixed relation between hardware and an operating system is eliminated, the communication of a network is relied on to unify resource scheduling, and then required virtual resources and services are provided.
The current cloud computing platform supports several service modes:
SaaS (Software as a Service): the cloud computing platform user does not need to purchase software, but rents the software deployed on the cloud computing platform, the user does not need to maintain the software, and a software service provider can manage and maintain the software in full rights;
PaaS (Platform as a Service): a cloud computing platform user (usually a software developer at this time) can build a new application on a framework provided by the cloud computing platform, or expand an existing application, and does not need to purchase a development, quality control or production server;
IaaS (Infrastructure as a Service): the cloud computing platform provides data centers, infrastructure hardware and software resources through the internet, and the cloud computing platform in the IaaS mode can provide servers, operating systems, disk storage, databases and/or information resources.
The memory in the embodiments of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program for operating on an electronic device.
It will be appreciated that the memory can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disc, or a compact disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double data rate Synchronous Dynamic random access Memory (DDRSDRAM, Double DataRate Synchronous random access Memory), Enhanced Synchronous Dynamic random access Memory (ESDRAM, Enhanced Synchronous Dynamic random access Memory), Synchronous link Dynamic random access Memory (DRAM, SLC Synchronous Dynamic random access Memory), Direct Memory (DRM, random access Memory). The memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be applied to a processor, or may be implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in a memory where a processor reads the programs in the memory and in combination with its hardware performs the steps of the method as previously described.
Optionally, when the processor executes the program, the corresponding process implemented by the electronic device in each method of the embodiment of the present application is implemented, and for brevity, no further description is given here.
In an exemplary embodiment, the present application further provides a storage medium, specifically a computer storage medium, for example, a first memory storing a computer program, where the computer program is executable by a processor of an electronic device to perform the steps of the foregoing method. The computer readable storage medium may be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, electronic device and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
In addition, in the examples of the present application, "first", "second", and the like are used for distinguishing similar objects, and are not necessarily used for describing a specific order or a sequential order.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for generating a navigation menu, the method comprising:
determining a service type;
acquiring at least two menu labels corresponding to the service types; each menu label in the at least two menu labels is linked with a service page of the service type;
and arranging the at least two menu labels based on the operation sequence of each service page in the service type to generate a navigation menu.
2. The method of claim 1, wherein arranging the at least two menu tabs based on the operation sequence of each service page in the service type to generate a navigation menu comprises:
and connecting the at least two menu labels by adopting a connecting line with directions based on the operation sequence of each service page in the service type to obtain the navigation menu.
3. The method of claim 1, further comprising:
acquiring state information of a service page linked with each menu label;
and displaying the state information of the corresponding service page in the menu label.
4. The method of claim 1, further comprising:
acquiring a first operation of a user; the first operation representation user selects a first menu label in the navigation menu;
determining whether the first menu label has a dependency relationship with a second menu label; the second menu label represents that the priority of the operation sequence in the navigation menu is higher than that of the menu label of the first menu label;
and if the first menu label and the second menu label do not have a dependency relationship, responding to the first operation, and jumping to a service page corresponding to the first menu label.
5. The method of claim 4, wherein if the selected first menu tab has a dependency relationship with the selected second menu tab, the method further comprises:
if the first menu label and the second menu label have a dependency relationship and the related operation of the service page corresponding to the second menu label is not completed, responding to the first operation and sending alarm information to a user; and the alarm information is used for prompting the user to operate the service page corresponding to the second menu label.
6. The method according to any of claims 1 to 5, further comprising, prior to determining the traffic type:
receiving the connection operation of a user on each menu label in the hierarchical navigation menu to obtain the menu label attribute under the preset service type; the menu label attribute comprises a menu label category and an operation sequence of a related service page;
storing the menu tag attributes to facilitate subsequent generation of a navigation menu.
7. The method of any of claims 1-5, wherein after arranging the at least two menu tabs to generate a navigation menu, the method further comprises:
acquiring a second operation of the user, and adjusting the menu label attribute in the navigation menu based on the second operation; the menu label attribute comprises a menu label category and an operation sequence of a related service page;
the adjusted menu tag attributes are stored for subsequent generation of a navigation menu.
8. An apparatus for generating a navigation menu, comprising:
the determining module is used for determining the service type;
the acquisition module is used for acquiring at least two menu labels corresponding to the service types; each menu label in the at least two menu labels is linked with a service page of the service type;
and the generating module is used for arranging the at least two menu labels based on the operation sequence of each service page in the service type so as to generate a navigation menu.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of generating a navigation menu according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to execute the method of generating a navigation menu according to any one of claims 1 to 7.
CN202210442726.5A 2022-04-25 2022-04-25 Navigation menu generation method and device, electronic equipment and storage medium Pending CN114816173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210442726.5A CN114816173A (en) 2022-04-25 2022-04-25 Navigation menu generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210442726.5A CN114816173A (en) 2022-04-25 2022-04-25 Navigation menu generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114816173A true CN114816173A (en) 2022-07-29

Family

ID=82508262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210442726.5A Pending CN114816173A (en) 2022-04-25 2022-04-25 Navigation menu generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114816173A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240568A (en) * 2018-08-21 2019-01-18 杭州迪普科技股份有限公司 A kind of display methods of menu page, device and storage medium
CN111026494A (en) * 2019-12-11 2020-04-17 支付宝(杭州)信息技术有限公司 Business process processing method, device and equipment
CN111949899A (en) * 2019-05-16 2020-11-17 新奥数能科技有限公司 Service integration method and service platform
CN112288400A (en) * 2020-10-29 2021-01-29 平安信托有限责任公司 Multi-system data interaction method and device, computer equipment and storage medium
CN113837709A (en) * 2020-06-23 2021-12-24 腾讯科技(深圳)有限公司 Online processing method and device of business process, terminal and readable storage medium
CN114385672A (en) * 2021-12-27 2022-04-22 武汉慧联无限科技有限公司 Information processing method and device, electronic device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109240568A (en) * 2018-08-21 2019-01-18 杭州迪普科技股份有限公司 A kind of display methods of menu page, device and storage medium
CN111949899A (en) * 2019-05-16 2020-11-17 新奥数能科技有限公司 Service integration method and service platform
CN111026494A (en) * 2019-12-11 2020-04-17 支付宝(杭州)信息技术有限公司 Business process processing method, device and equipment
CN113837709A (en) * 2020-06-23 2021-12-24 腾讯科技(深圳)有限公司 Online processing method and device of business process, terminal and readable storage medium
CN112288400A (en) * 2020-10-29 2021-01-29 平安信托有限责任公司 Multi-system data interaction method and device, computer equipment and storage medium
CN114385672A (en) * 2021-12-27 2022-04-22 武汉慧联无限科技有限公司 Information processing method and device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US11372657B2 (en) Systems and methods for adaptive user interfaces
CN105487864B (en) The method and apparatus of Code automatic build
US11132114B2 (en) Method and apparatus for generating customized visualization component
CN112579050B (en) Industrial application development system, industrial automation project development method and medium
CN111522552B (en) Sub-application generation method and device, computer equipment and storage medium
EP2136292A1 (en) Service program generation technology
US20150095811A1 (en) Context aware user interface parts
US7984115B2 (en) Extensible application platform
US11797273B2 (en) System and method for enhancing component based development models with auto-wiring
WO2020064751A1 (en) Development and analysis of quantum computing programs
CN111045653B (en) System generation method and device, computer readable medium and electronic equipment
JP2013140564A (en) Method for business intelligence dashboard assembly tool with indication of relationship among content elements, computing system and computer program
US10782857B2 (en) Adaptive user interface
CN112579051B (en) System for developing industrial applications and method for managing industrial development workspaces
CN107153495B (en) Method and device for establishing service link between network elements
Snell et al. Microsoft Visual Studio 2012 Unleashed: Micro Visua Studi 2012 Unl_p2
US10289388B2 (en) Process visualization toolkit
CN111666100A (en) Software framework generation method and device, electronic equipment and storage medium
EP3627313B1 (en) Method and system for operating a software application on a processor of a mobile device
Toomey Jupyter Cookbook: Over 75 recipes to perform interactive computing across Python, R, Scala, Spark, JavaScript, and more
CN114816173A (en) Navigation menu generation method and device, electronic equipment and storage medium
CN115562665A (en) Page access method and device, computer equipment and readable storage medium
JP2022173048A (en) Robotic process automation (rpa) comprising automatic document scrolling
CN112068895A (en) Code configuration method and device, video playing equipment and storage medium
CN112596812B (en) Response method, device, equipment and storage medium of operation request

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