CN115328348A - Method, device and equipment for managing operation of front page of micro front end and readable storage medium - Google Patents

Method, device and equipment for managing operation of front page of micro front end and readable storage medium Download PDF

Info

Publication number
CN115328348A
CN115328348A CN202211052497.2A CN202211052497A CN115328348A CN 115328348 A CN115328348 A CN 115328348A CN 202211052497 A CN202211052497 A CN 202211052497A CN 115328348 A CN115328348 A CN 115328348A
Authority
CN
China
Prior art keywords
options
option
micro
sub
homepage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211052497.2A
Other languages
Chinese (zh)
Other versions
CN115328348B (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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202211052497.2A priority Critical patent/CN115328348B/en
Publication of CN115328348A publication Critical patent/CN115328348A/en
Application granted granted Critical
Publication of CN115328348B publication Critical patent/CN115328348B/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
    • 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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a method, a device and equipment for managing homepage operation of a micro front end and a readable storage medium, belonging to the field of micro front ends and being used for managing homepage operation of the micro front end. In order to enable a user to quickly find out an operation to be executed, the operation options to be selected of each sub-application meeting the preset screening condition in the micro front end can be displayed, and the trigger corresponding to the target operation option selected by the user is fixed on the front page interface of the micro front end.

Description

Method, device and equipment for managing operation of front page of micro front end and readable storage medium
Technical Field
The invention relates to the field of micro front ends, in particular to a method for managing the operation of a front page of a micro front end, and further relates to a device, equipment and a computer readable storage medium for managing the operation of the front page of the micro front end.
Background
The micro front end is a structure similar to micro service, which applies the concept of micro service to a browser end, converts a Web application from a single application to a plurality of small front-end applications and aggregates the applications into one application, the sub-applications are generally summarized in each menu, when a user wants to operate and use a certain function of a certain sub-application, the user needs to find the menu where the sub-application is located to open the sub-application, and then find a target function to operate and use, and because the number of menus and the number of sub-applications are large, the user needs to spend a long time to find the sub-application when using the certain sub-application, thereby affecting the user experience.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a micro-front-end homepage operation management method, which can display operation options to be selected of each sub-application in the micro-front-end, which meet preset screening conditions, and fix a trigger corresponding to a target operation option selected by a user on a homepage interface of the micro-front-end, so that the user can execute the operation on the target operation option through the trigger directly on the homepage interface of the micro-front-end, thereby improving the working efficiency and the user experience, limiting the executable operation of the user due to the reasonable setting of the preset screening conditions, and improving the safety; another object of the present invention is to provide a front-end homepage operation management device, a device and a computer-readable storage medium, which can display the to-be-selected operation options of each sub-application in the front-end homepage that meets the preset screening condition, and fix the trigger corresponding to the target operation option selected by the user to the front-end homepage interface of the front-end homepage, so that the user can execute the operation on the target operation option through the trigger directly on the front-end homepage interface of the front-end homepage, thereby improving the work efficiency and the user experience, and limiting the executable operation of the user due to the reasonable setting of the preset screening condition, thereby improving the security.
In order to solve the technical problem, the invention provides a method for managing operation of a front-end homepage, which comprises the following steps:
obtaining to-be-selected operation options of each sub-application in the micro front end, wherein the to-be-selected operation options meet preset screening conditions;
displaying all the acquired operation options to be selected;
in response to the received selection instruction, taking the selected operation option to be selected as a target operation option;
and fixing a trigger corresponding to the target operation option on a home page interface of the micro front end so as to trigger the target operation option through the trigger.
Preferably, the obtaining of the to-be-selected operation options of each sub-application in the micro front end that meet the preset screening condition specifically includes:
and acquiring operation options of each sub-application in a menu with the type of Link, deployed sub-applications and attached custom common operation identifiers, and taking the operation options as the operation options to be selected.
Preferably, the obtaining of the operation options of each sub-application in the menu, which are of the type of Link and have deployed sub-applications and additionally support custom common operation identifiers, and taking the operation options as the to-be-selected operation options specifically include:
acquiring operation options of each sub application in a menu, wherein the type of the operation options is Link, the sub applications are deployed, and the menu additionally supports custom common operation identifiers;
acquiring an operation option list of which the current user at the micro front end has authority;
and taking the operation options positioned in the operation list in all the acquired operation options as the operation options to be selected.
Preferably, the taking the selected to-be-selected operation option as the target operation option in response to the received selection instruction specifically includes:
when a selection instruction is received, taking an operation option to be selected specified by the selection instruction as a preparation operation option;
judging whether the sum of the number of the operation options in the common operation data table and the number of the current preparation operation options reaches a preset upper limit value or not;
if so, forbidding to generate the selection instruction;
and when a first confirmation instruction is received, adding the current preparation operation option into the common operation data table so as to be used as a target operation option.
Preferably, after the to-be-selected operation option specified by the selection instruction is taken as a preliminary operation option when the selection instruction is received, the method for managing homepage operation of the micro front end further includes:
closing a generation function of a selection instruction for selecting the preparation operation option;
and when a cancel instruction is received, restoring the preparation operation option specified by the cancel instruction into an operation option to be selected.
Preferably, the method for managing operation of the front page of the micro front end further includes:
responding to a trigger instruction of a one-key generation common operation, and acquiring a use frequency data table of the current micro-front-end user for each operation option;
acquiring operation options with preset values from the intersection of the operation options to be selected of each sub-application meeting preset screening conditions and the operation options of the use frequency data table according to the sequence of the use frequency from high to low, and taking the operation options as target operation options;
clearing data in a common operation data table and storing the current target operation data into the common operation data table;
and fixing a trigger corresponding to the target operation option in the common operation data table on a home page interface of the micro front end so as to trigger the target operation option through the trigger.
Preferably, after acquiring preset numerical operation options from an intersection of the operation options to be selected of each sub-application meeting the preset screening condition and the operation options of the usage frequency data table according to a sequence from high usage frequency to low usage frequency and taking the operation options as target operation options, before clearing data in the common operation data table and storing the current target operation data in the common operation data table, the method for managing homepage operation at the micro-front end further includes:
displaying the current target operation data;
and responding to the received second confirmation instruction, and executing the steps of emptying data in the common operation data table and storing the current target operation data into the common operation data table.
In order to solve the above technical problem, the present invention further provides a front-end homepage operation management device, including:
the acquisition module is used for acquiring the to-be-selected operation options of each sub-application in the micro front end, which meet the preset screening condition;
the display module is used for displaying all the acquired operation options to be selected;
the determining module is used for responding to the received selection instruction and taking the selected operation option to be selected as a target operation option;
and the action module is used for fixing the trigger corresponding to the target operation option on the home page interface of the micro front end so as to trigger the target operation option through the trigger.
In order to solve the above technical problem, the present invention further provides a front-end homepage operation management device, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the front-end homepage operation management method when executing the computer program.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the method for managing a front page operation of a micro front end are implemented.
The invention provides a method for managing homepage operation of a micro front end, which aims to enable a user to quickly find out an operation to be executed, and can display operation options to be selected of each sub-application in the micro front end, which meet preset screening conditions, and fix a trigger corresponding to a target operation option selected by the user on a homepage interface of the micro front end, so that the user can execute the operation on the target operation option through the trigger directly on the homepage interface of the micro front end, the working efficiency and the user experience are improved, the operation executable by the user can be limited by reasonably setting the preset screening conditions, and the safety is improved.
The invention also provides a device and equipment for managing the operation of the front page of the micro front end and a computer readable storage medium, and has the same beneficial effects as the method for managing the operation of the front page of the micro front end.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for managing homepage operation of a micro front end according to the present invention;
FIG. 2 is a schematic structural diagram of a front-end homepage operation management device according to the present invention;
fig. 3 is a schematic structural diagram of a front-end homepage operation management device according to the present invention.
Detailed Description
The core of the invention is to provide a method for managing homepage operation of a micro-front end, which can display the operation options to be selected of each sub-application in the micro-front end, which meet the preset screening conditions, and fix the trigger corresponding to the target operation option selected by a user on the homepage interface of the micro-front end, so that the user can execute the operation on the target operation option through the trigger directly on the homepage interface of the micro-front end, thereby improving the working efficiency and the user experience, limiting the operation executable by the user due to reasonable setting of the preset screening conditions, and improving the safety; another core of the present invention is to provide a front-end homepage operation management device, a device and a computer readable storage medium, which can show the to-be-selected operation options of each sub-application in the front-end homepage that meet the preset screening conditions, and fix the trigger corresponding to the target operation option selected by the user on the front-end homepage interface of the front-end homepage, so that the user can execute the operation on the target operation option through the trigger directly on the front-end homepage interface of the front-end homepage, thereby improving the working efficiency and the user experience, limiting the executable operation of the user due to the reasonable setting of the preset screening conditions, and improving the security.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but 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.
Referring to fig. 1, fig. 1 is a schematic flowchart of a method for managing a front-end homepage operation according to the present invention, where the method for managing a front-end homepage operation includes:
s101: obtaining to-be-selected operation options of each sub-application in the micro front end, which accord with preset screening conditions;
specifically, in view of the technical problems in the background art, in order to enable a user to quickly find an operation to be executed, a scheme capable of customizing a shortcut operation identifier of a micro-front-end homepage is designed for the user, so that the user can autonomously select an operation option of the micro-front-end homepage.
In order to facilitate a user to select a plurality of operation options, in the embodiment of the present invention, to-be-selected operation options of each sub-application in the micro front end that meet a preset screening condition may be obtained, where screening is performed according to the preset screening condition, considering that, first, many operation options themselves do not support placement on a front page of the micro front end, or the user does not have operation permissions of some operation options, and the like, operations that the user may perform may be limited by reasonably setting the preset screening condition, and thus, security is improved.
The micro front end is a structure similar to micro service, applies the concept of micro service to a browser end, and changes a single application of a Web application into an application integrating a plurality of small front end applications. Each front-end application can be independently operated, independently developed and independently deployed, so that decoupling among modules of a front-end page is achieved. While qaankun is a micro front-end solution that is currently relatively sophisticated. The scheme is realized by maintaining all menus (including menus of all sub-applications) in the main application, and configuring the menus by configuring the IDs of the sub-applications to which the current menu belongs and the full-path routing of the corresponding pages for each menu. The route address is spliced with sub application information, current menu group information, current menu information and full path route, and the unified management technology of all menus is realized. Under the micro front end architecture depending on the qaankun, in order to facilitate the use of common operations by users, some common operation entries are generally set on the home page to reduce the complexity of user operations and make the system more easy to use. The conventional implementation scheme is that some common operations obtained according to the past use experience are written by default, and the scheme is not flexible enough, so that the display condition cannot be controlled according to whether the sub-application is deployed or not, and the common operations of the sub-application which is not deployed can be displayed; secondly, the scheme can not enable the user to carry out user-defined common operation according to the own use scene, and for the user with larger deviation from the preset common operation, the common operation function loses the meaning of the user and can not bring easy-to-use experience to the user; thirdly, the requirements of common operations of the same user at different stages are different, the common operations cannot be customized at any time along with the requirements of the user, and the user experience is also influenced.
S102: displaying all acquired operation options to be selected;
specifically, in order to facilitate the user to select the operation options, all the acquired operation options to be selected can be displayed in the embodiment of the invention, so that the user can check and select the operation options conveniently, the working efficiency is improved, and the user experience is further improved.
The display mode may be various, for example, display through a display, and the like, and the embodiment of the present invention is not limited herein.
S103: in response to the received selection instruction, taking the selected to-be-selected operation option as a target operation option;
specifically, the user may generate a selection instruction through the human-computer interaction device so as to select the operation option to be selected, the human-computer interaction device may be of various types, for example, the human-computer interaction device may be a keyboard and a mouse, and the embodiment of the present invention is not limited herein.
Specifically, after receiving the selection instruction, the to-be-selected operation option specified in the selection instruction may be used as the target operation option, that is, the user has completed selecting the to-be-selected operation option.
S104: and fixing a trigger corresponding to the target operation option on a home page interface of the micro front end so as to trigger the target operation option through the trigger.
Specifically, after the selected target operation option exists, the trigger corresponding to the target operation option can be fixed on the homepage interface of the micro front end, so that the user can trigger the specified trigger on the homepage interface, direct operation on the target operation option corresponding to the trigger is realized, and the working efficiency and the user experience are improved.
The arrangement mode of the target operation options on the home page interface may be generated in an automatic mode or may be set manually, and the embodiment of the present invention is not limited herein.
Specifically, it should be noted that the implementation of the present invention is based on maintaining all menus (including menus of all sub-applications) in the main application, and when configuring the menus, each menu needs to configure the ID of the sub-application to which the current menu belongs and the full-path routing of the corresponding page. The route address is spliced with sub application information, current menu group information, current menu information and full path route to realize the uniform management technology of all menus, so that after a user determines a target operation option, a trigger identifier corresponding to the target operation option can be placed on a home page interface by using the full path route corresponding to the target operation option, and after the trigger identifier is triggered, the operation on the target operation option can be realized through the full path route.
The invention provides a method for managing homepage operation of a micro front end, which aims to enable a user to quickly find out an operation to be executed, and can display operation options to be selected of each sub-application in the micro front end, which meet preset screening conditions, and fix a trigger corresponding to a target operation option selected by the user on a homepage interface of the micro front end, so that the user can execute the operation on the target operation option through the trigger directly on the homepage interface of the micro front end, the working efficiency and the user experience are improved, the operation executable by the user can be limited by reasonably setting the preset screening conditions, and the safety is improved.
On the basis of the above-described embodiment:
as a preferred embodiment, the obtaining of the to-be-selected operation options of each sub-application in the micro front end, which meet the preset screening condition, specifically includes:
and acquiring operation options of each sub application in a menu with the type of Link, the deployed sub applications and the attached custom common operation identifiers, and taking the operation options as operation options to be selected.
Specifically, the menu types include group and link types: the group type corresponds to a menu group, and the Link is a specific function menu, so that in the embodiment of the invention, the operation option of the sub-application is firstly acquired from the specific function menu of which the type is the Link, and in order to prevent the menu of the undeployed sub-application from being searched, the embodiment of the invention also limits the menu to be the menu of the deployed sub-application; in addition, considering that the operation options of sub-applications in some menus are not suitable for being placed in a home page interface for quick operation, in the embodiment of the invention, a mark supporting custom common operation can be selected and set for each Link menu, so that when the operation options to be selected are obtained, menus without the mark cannot be selected.
As a preferred embodiment, acquiring operation options of each sub application in a menu with a type of Link, deployed sub applications and attached support custom common operation identifiers, and taking the operation options as candidate operation options specifically includes:
acquiring operation options of each sub-application in a menu which is of a Link type, has deployed sub-applications and is additionally provided with a custom common operation identifier;
acquiring an operation option list of which the current user at the micro front end has authority;
and taking the operation options positioned in the operation list in all the acquired operation options as the operation options to be selected.
Specifically, considering that different users have different operation permissions, that is, the users may only have operation permissions on part of operation options, so that in order to make the home page interface arrangement be the trigger identifier corresponding to the operation option available to the user, in the embodiment of the present invention, after obtaining the operation options of each sub-application in the menu which is of the type Link, has deployed the sub-applications, and additionally supports the custom common operation identifier, the operation option located in the "operation option list with permission of the current user at the micro front end" of all the obtained operation options may be used as the operation option to be selected, so that the user may select from the operation options with permission, which is beneficial to further improve user experience.
As a preferred embodiment, in response to the received selection instruction, taking the selected candidate operation option as the target operation option specifically includes:
when a selection instruction is received, taking the operation options to be selected specified by the selection instruction as preparation operation options;
judging whether the sum of the number of the operation options in the common operation data table and the number of the current preparation operation options reaches a preset upper limit value or not;
if so, forbidding generating a selection instruction;
and when a first confirmation instruction is received, adding the current preparation operation option into the common operation data table so as to be used as a target operation option.
Specifically, considering that the identifier placement space of the home interface is limited, in order to ensure that the size of the trigger identifier is easy to trigger, and also in order to consider the display attractiveness of the page, in the embodiment of the present invention, a preset upper limit value is set, and when the number of the preliminary operation options reaches the preset upper limit value, the generation of the selection instruction is prohibited, so as to ensure that the number of the target operation options does not exceed the preset upper limit value.
The specific manner of prohibiting the generation of the selection instruction may be various, for example, the selected function of the user for the presented operation option to be selected is closed, so that the selection instruction is not generated again.
Specifically, all target operation options are stored in the common operation data table, and after the common operation data table is updated, the trigger marks corresponding to all the target operation options in the common operation data table can be arranged on the home page interface.
As a preferred embodiment, after the to-be-selected operation option specified by the selection instruction is taken as a preliminary operation option when the selection instruction is received, the method for managing homepage operation of the micro front end further includes:
closing a generation function of a selection instruction for selecting the preparation operation option;
and when a cancel instruction is received, restoring the prepared operation option specified by the cancel instruction into the operation option to be selected.
Specifically, considering that a user may inadvertently add a certain operation option to be selected repeatedly as a target operation option, thereby reducing user experience, in the embodiment of the present invention, a generation function of a selection instruction for selecting a preliminary operation option may be turned off, thereby improving user experience.
Specifically, considering that a user also has a need to restore a designated preliminary operation option to a candidate operation option, the embodiment of the present invention also provides a cancellation function, and when a cancellation instruction is received, the preliminary operation option designated by the cancellation instruction is restored to the candidate operation option.
In the embodiment of the present invention, the existing target operation options in the common operation data table may be displayed, and a delete function for the specified target operation options may be provided to the user.
As a preferred embodiment, the method for managing the operation of the front page of the micro front end further includes:
responding to a trigger instruction of a one-key generation common operation, and acquiring a use frequency data table of the current micro-front-end user for each operation option;
acquiring preset numerical operation options from the intersection of the operation options to be selected of each sub-application meeting the preset screening condition and the operation options of the use frequency data table according to the sequence of the use frequency from high to low and taking the operation options as target operation options;
clearing data in the frequently-used operation data table and storing the current target operation data into the frequently-used operation data table;
and fixing a trigger corresponding to the target operation option in the common operation data table on a home page interface at the micro front end so as to trigger the target operation option through the trigger.
Specifically, considering that the speed of the custom common operation is slow and the efficiency is low, in the embodiment of the present invention, a more efficient function of generating a common operation list is provided, that is, a common operation list is generated by one key according to the use frequency of an operation option by a user, first, a statistical function of the use frequency of the operation option is added to the micro front end, then, a trigger instruction of generating the common operation by one key is responded, a use frequency data table of a current user of the micro front end for each operation option can be obtained, then, from an intersection of an operation option to be selected of each sub application meeting a preset screening condition and an operation option of the use frequency data table, a preset number of operation options are obtained according to a sequence of the use frequency from high to low and are used as target operation options, the obtained target operation options, that is, the common operation list generated by one key, can be added to the common operation data table, and a trigger identifier corresponding to the target operation option in the common operation data table is fixed to a front page interface of the micro front end, so that the target operation option is triggered by the trigger identifier.
It should be noted that only a one-key generation manner may be used to generate part of the target operation options (in the preset numerical values), and the remaining part of the target operation options may be selected in a user-defined manner, which is beneficial to further improving user experience.
Specifically, the preset value may be set autonomously according to the size of the home page interface, which is not limited herein.
As a preferred embodiment, after acquiring operation options with preset values according to a sequence from high to low of the usage frequency from an intersection of the operation options to be selected of each sub-application meeting the preset screening condition and the operation options of the usage frequency data table, and taking the operation options as target operation options, clearing data in the common operation data table and storing current target operation data in the common operation data table, the method for managing homepage operation at the micro front end further includes:
displaying current target operation data;
and responding to the received second confirmation instruction, and executing the steps of emptying the data in the common operation data table and storing the current target operation data into the common operation data table.
Specifically, considering that the common operation list generated by one key represents an operation option with a high use frequency of the user, but may not be all common operations in the user's mind, in the embodiment of the present invention, the current target operation data may also be displayed, and in response to the received second confirmation instruction, the step of clearing the data in the common operation data list and storing the current target operation data in the common operation data list is executed, and of course, the user may also perform corresponding modification on the displayed target operation data by modifying, deleting and adding the instruction, which is beneficial to further improving the user experience.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a front-end homepage operation management device of a micro front-end according to the present invention, the front-end homepage operation management device of the micro front-end includes:
the obtaining module 21 is configured to obtain to-be-selected operation options of sub-applications in the micro front end, where the sub-applications meet a preset screening condition;
the display module 22 is configured to display all acquired operation options to be selected;
the determining module 23 is configured to, in response to the received selection instruction, take the selected to-be-selected operation option as a target operation option;
and the action module 24 is configured to fix a trigger corresponding to the target operation option to a home page interface at the micro front end, so as to trigger the target operation option through the trigger.
In order to enable a user to quickly find an operation to be executed, the operation to be selected of each sub-application meeting the preset screening condition in the micro front end can be displayed, and the trigger corresponding to the target operation option selected by the user is fixed on the front page interface of the micro front end.
As a preferred embodiment, the obtaining module 21 is specifically configured to:
and acquiring operation options of each sub application in a menu with the type of Link, the deployed sub applications and the attached custom common operation identifiers, and taking the operation options as operation options to be selected.
As a preferred embodiment, the obtaining module 21 includes:
the first obtaining sub-module is used for obtaining operation options of each sub-application in a menu which is of a Link type, has deployed the sub-applications and is additionally provided with a custom common operation identifier;
the second acquisition submodule is used for acquiring an operation option list of which the current user at the micro front end has the authority;
and the first determining sub-module is used for taking the operation options positioned in the operation list in all the acquired operation options as the operation options to be selected.
As a preferred embodiment, the determination module 23 includes:
the second determining submodule is used for taking the operation options to be selected specified by the selection instruction as the preparation operation options when the selection instruction is received;
the first judgment module is used for judging whether the sum of the number of the operation options in the common operation data table and the number of the current preparation operation options reaches a preset upper limit value or not, and if so, triggering the first action sub-module;
a first action submodule for inhibiting generation of a selection instruction;
and the second action submodule is used for adding the current preparation operation option into the common operation data table when the first confirmation instruction is received so as to take the current preparation operation option as a target operation option.
As a preferred embodiment, the front page operation management device of the micro front end further includes:
a third action submodule for closing the function of generating a selection instruction for selecting the preparation operation option;
and the fourth action submodule is used for restoring the preparation operation option specified by the cancel instruction into the operation option to be selected when the cancel instruction is received.
As a preferred embodiment, the front page operation management device of the micro front end further includes:
the third acquisition submodule is used for responding to a trigger instruction of one-key generation common operation and acquiring a use frequency data table of the current user at the micro front end for each operation option;
the fourth obtaining submodule is used for obtaining operation options with preset values from the intersection of the operation options to be selected of each sub application meeting the preset screening condition and the operation options of the use frequency data table according to the sequence of the use frequency from high to low and taking the operation options as target operation options;
a fifth action submodule, configured to empty data in the common operation data table and store current target operation data in the common operation data table;
and the sixth action submodule is used for fixing the trigger corresponding to the target operation option in the common operation data table on a home page interface at the micro front end so as to trigger the target operation option through the trigger.
As a preferred embodiment, the front page operation management device of the micro front end further includes:
the seventh action submodule is used for displaying the current target operation data;
the sixth action sub-module is specifically configured to, in response to the received second confirmation instruction, clear data in the frequently-used operation data table and store the current target operation data into the frequently-used operation data table.
For the introduction of the front-end homepage operation management device according to the embodiment of the present invention, reference is made to the foregoing front-end homepage operation management method according to the embodiment of the present invention, and details of the embodiment of the present invention are not repeated herein.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a front-end homepage operation management device of a micro front-end according to the present invention, where the front-end homepage operation management device includes:
a memory for storing a computer program;
and the processor is used for realizing the steps of the front-end front-page operation management method in the embodiment when executing the computer program.
Specifically, the memory includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. When the processor executes the computer program stored in the memory, the following steps can be realized: obtaining to-be-selected operation options of each sub-application in the micro front end, which accord with preset screening conditions; displaying all acquired operation options to be selected; in response to the received selection instruction, taking the selected to-be-selected operation option as a target operation option; and fixing a trigger corresponding to the target operation option on a home page interface of the micro front end so as to trigger the target operation option through the trigger.
The embodiment of the invention provides a front-end homepage operation management device, which aims to enable a user to quickly find an operation to be executed, the front-end homepage operation management device can display operation options to be selected of sub-applications meeting preset screening conditions in the front-end, and fix a trigger corresponding to a target operation option selected by the user on a front-end homepage interface of the front-end homepage, so that the user can execute the operation on the target operation option through the trigger directly on the front-end homepage interface of the front-end, the working efficiency and the user experience are improved, the operation executable by the user can be limited by reasonably setting the preset screening conditions, and the safety is improved.
For the introduction of the front-end homepage operation management device according to the embodiment of the present invention, reference is made to the foregoing embodiment of the front-end homepage operation management method according to the embodiment of the present invention, and details of the embodiment of the present invention are not repeated herein.
The present invention also provides a computer readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program implements the steps of the method for managing the operation of the front end front page of the micro front end according to the foregoing embodiments.
For the introduction of the computer-readable storage medium provided by the embodiment of the present invention, reference is made to the foregoing embodiment of the front micro-front-end homepage operation management method, and details of the embodiment of the present invention are not repeated herein.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for managing homepage operation of micro front end is characterized by comprising the following steps:
obtaining to-be-selected operation options of each sub-application in the micro front end, wherein the to-be-selected operation options meet preset screening conditions;
displaying all the acquired operation options to be selected;
in response to the received selection instruction, taking the selected operation option to be selected as a target operation option;
and fixing a trigger corresponding to the target operation option on a home page interface of the micro front end so as to trigger the target operation option through the trigger.
2. The method for managing homepage operations of a micro front-end according to claim 1, wherein the acquiring of the to-be-selected operation options of each sub-application in the micro front-end that meet the preset screening condition is specifically:
and acquiring operation options of each sub application in a menu with the type of Link, the deployed sub applications and the attached custom common operation identifiers, and taking the operation options as operation options to be selected.
3. The method for managing operation of a front-end homepage of a micro front-end according to claim 2, wherein the obtaining of the operation options of each sub-application in the menu with the type of Link, deployed sub-applications and attached support of custom common operation identifiers and the taking of the operation options as the operation options to be selected specifically comprises:
acquiring operation options of each sub-application in a menu which is of a Link type, has deployed sub-applications and is additionally provided with a custom common operation identifier;
acquiring an operation option list of which the current user at the micro front end has authority;
and taking the operation options positioned in the operation list in all the acquired operation options as the operation options to be selected.
4. The method for managing homepage operations of a micro front end according to claim 3, wherein said responding to the received selection instruction, taking the selected to-be-selected operation option as a target operation option specifically comprises:
when a selection instruction is received, taking an operation option to be selected specified by the selection instruction as a preparation operation option;
judging whether the sum of the number of the operation options in the common operation data table and the number of the current preparation operation options reaches a preset upper limit value or not;
if so, forbidding generating the selection instruction;
and when a first confirmation instruction is received, adding the current preparation operation option into the common operation data table so as to be used as a target operation option.
5. The method for managing operations on a front-end homepage of a micro front-end according to claim 4, wherein said method for managing operations on a front-end homepage further comprises, after taking an operation option to be selected specified by a selection instruction as a preliminary operation option when receiving the selection instruction:
closing a generating function of a selection instruction for selecting the preparation operation option;
and when a cancel instruction is received, restoring the preparation operation option specified by the cancel instruction into an operation option to be selected.
6. The method for managing the homepage operation of a micro-headend of any of claims 1 to 5, wherein the method for managing the homepage operation of a micro-headend further comprises:
responding to a trigger instruction of one-key generation common operation, and acquiring a use frequency data table of the current user at the micro front end for each operation option;
acquiring operation options with preset values from the intersection of the operation options to be selected of each sub-application meeting preset screening conditions and the operation options of the use frequency data table according to the sequence of the use frequency from high to low, and taking the operation options as target operation options;
clearing data in a frequently-used operation data table and storing the current target operation data into the frequently-used operation data table;
and fixing a trigger corresponding to the target operation option in the common operation data table on a home page interface of the micro front end so as to trigger the target operation option through the trigger.
7. The method for managing homepage operation of a micro-front-end according to claim 6, wherein after acquiring a predetermined number of operation options in an order from high to low in use frequency from the intersection of the operation options to be selected of each sub-application meeting a predetermined filtering condition and the operation options of the use frequency data table and taking the operation options as target operation options, the method for managing homepage operation of a micro-front-end further comprises:
displaying the current target operation data;
and responding to the received second confirmation instruction, and executing the steps of emptying data in a common operation data table and storing the current target operation data into the common operation data table.
8. A device for managing operation of a front end homepage, comprising:
the acquisition module is used for acquiring the to-be-selected operation options of each sub-application in the micro front end, which meet the preset screening condition;
the display module is used for displaying all the acquired operation options to be selected;
the determining module is used for responding to the received selection instruction and taking the selected operation option to be selected as a target operation option;
and the action module is used for fixing the trigger corresponding to the target operation option on a home page interface of the micro front end so as to trigger the target operation option through the trigger.
9. A front end homepage operation management device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for managing the operation of the front end front page as claimed in any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for managing operations of a front page of a micro front end according to any one of claims 1 to 7.
CN202211052497.2A 2022-08-31 2022-08-31 Front page operation management method, device and equipment of micro front end and readable storage medium Active CN115328348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211052497.2A CN115328348B (en) 2022-08-31 2022-08-31 Front page operation management method, device and equipment of micro front end and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211052497.2A CN115328348B (en) 2022-08-31 2022-08-31 Front page operation management method, device and equipment of micro front end and readable storage medium

Publications (2)

Publication Number Publication Date
CN115328348A true CN115328348A (en) 2022-11-11
CN115328348B CN115328348B (en) 2024-03-15

Family

ID=83927489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211052497.2A Active CN115328348B (en) 2022-08-31 2022-08-31 Front page operation management method, device and equipment of micro front end and readable storage medium

Country Status (1)

Country Link
CN (1) CN115328348B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752442A (en) * 2020-08-11 2020-10-09 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for displaying operation guide information
CN111949346A (en) * 2020-07-03 2020-11-17 众安信息技术服务有限公司 Interaction control method, multiplexing calling method and system and storage medium
WO2021115329A1 (en) * 2019-12-12 2021-06-17 维沃移动通信有限公司 Method for controlling application, and electronic device
WO2021180089A1 (en) * 2020-03-13 2021-09-16 华为技术有限公司 Interface switching method and apparatus and electronic device
WO2022057604A1 (en) * 2021-08-30 2022-03-24 武汉联影医疗科技有限公司 Information display method, device thereof, medical equipment thereof, and storage medium thereof
CN114675921A (en) * 2022-03-31 2022-06-28 中国建设银行股份有限公司 Method and device for customizing interface, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021115329A1 (en) * 2019-12-12 2021-06-17 维沃移动通信有限公司 Method for controlling application, and electronic device
WO2021180089A1 (en) * 2020-03-13 2021-09-16 华为技术有限公司 Interface switching method and apparatus and electronic device
CN111949346A (en) * 2020-07-03 2020-11-17 众安信息技术服务有限公司 Interaction control method, multiplexing calling method and system and storage medium
CN111752442A (en) * 2020-08-11 2020-10-09 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for displaying operation guide information
WO2022057604A1 (en) * 2021-08-30 2022-03-24 武汉联影医疗科技有限公司 Information display method, device thereof, medical equipment thereof, and storage medium thereof
CN114675921A (en) * 2022-03-31 2022-06-28 中国建设银行股份有限公司 Method and device for customizing interface, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘一田;曹一鸣;: "微前端化微应用管理控制台", 计算机系统应用, no. 09, 15 September 2020 (2020-09-15) *

Also Published As

Publication number Publication date
CN115328348B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
CN100511129C (en) Multilanguage-supporting user interface realizing method and apparatus thereof
EP2557490B1 (en) Method and apparatus for adding an icon to a home interface of an android operating system
US20090031243A1 (en) Method and apparatus for controlling display of windows
US20140304632A1 (en) Smart device for convenient graphic object arrangement and method of graphic object arrangement
CN103208046A (en) Workflow engine architecture method and system based on interactive dynamic flow diagram
US8132188B2 (en) Method and system for extension registry filtering
JP2015523648A (en) User interface management method, user interface management apparatus, program, and recording medium
CN109636306A (en) Node-flow shifting method, device, terminal and storage medium
CN111090823B (en) Page application integration system, application access method, device and equipment
KR20130097446A (en) Terminal having module protecting function and module managing method using the same
CN110019024A (en) A kind of directory method, system and electronic equipment and storage medium
CN104216902A (en) Paging data loading method, device and system based on server paging
CN108574718B (en) Cloud host creation method and device
CN105847446A (en) Network data obtaining method, device and system
US10491674B2 (en) Network topology templates for internal states of management and control planes
CN115328348A (en) Method, device and equipment for managing operation of front page of micro front end and readable storage medium
CN104461590A (en) Information processing method and electronic equipment
EP1248975B1 (en) System and method for creating a graphical user interface from a filter expression tree
CN102289280B (en) A kind of data inputting method, device and information input tool
JP3110185B2 (en) Computer system
CN103763615A (en) Interaction method and equipment for episode selection
CN101446974B (en) Icon representation method and device for managing nodes of tree view of information system
CN110532457B (en) Method and system for acquiring network segment ID
CN103455351A (en) Method and device for quickly installing application
JP5087639B2 (en) Appearance element determination method, processing device, and terminal in terminal

Legal Events

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