A method for opening a custom menu

By registering applications in the main application and merging menu arrays, the frequent browser switching and device lag problems of technicians when operating between multiple application systems are solved, and the invisible application switching is realized, improving operation efficiency and experience.

CN112162844BActive Publication Date: 2024-11-26SHANGHAI SHIZHUANG INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011132745.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-21
Publication Date
2024-11-26
Estimated Expiration
2040-10-21

AI Technical Summary

Technical Problem

When technicians need to use multiple application systems to operate at the same time, the existing technology has problems such as frequent browser switching, low-configuration equipment lag, and inconvenient switching of business scenarios, which affects operational efficiency.

Method used

Provide an open-capable custom menu method, which realizes the invisible switching of the application by registering the application in the main application, loading basic information, merging menu arrays, and displaying the menu information of the main application and registered application in the menu bar.

Benefits of technology

It improves the work efficiency of operators, reduces the number of browser openings, improves the user experience, realizes seamless application switching between multiple systems, and reduces operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112162844B_ABST
    Figure CN112162844B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for opening a customized menu of capabilities, comprising: registering a registered application under a main application according to the application type; loading the basic information of the main application and the registered application when accessing the main application; processing the basic information, merging the menus of the main application and the registered application into array values; and displaying the menu information of the main application and the registered application in a menu bar for application switching. The present invention can construct a menu array according to the basic information of the application, process the menu array, reduce the number of browsers opened during operation, improve the operation experience, and realize seamless switching of applications between multiple systems. When using a customized menu to access a system for closely related scenarios, it can accurately perform condition matching, data screening, seamless switching and other functions, effectively reducing the operator's operation and use costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a method for opening a capability customized menu. Background Art

[0002] With the continuous development of Internet technology, the scale of network applications continues to expand, and the Internet is gradually integrated into various fields of society. Along with the development of politics, economy, education, medical care, culture and other fields, emerging mobile Internet application scenarios continue to emerge, and software application systems for various scenarios are continuously produced under the research and development of technical personnel, transferring the original offline tasks, processes and cooperation to online completion, thereby improving work efficiency.

[0003] However, technical personnel often need to use multiple application systems at the same time to perform a task, and the following defects are gradually exposed: 1. Multiple browsers need to be opened at the same time for viewing, operation, etc., and switching between browsers is required to complete; 2. Opening multiple browsers at the same time on a low-configuration computer can easily cause lag, affecting the operator's experience; 3. Closely related business scenarios need to switch to other application systems before further operation.

[0004] Therefore, designing a method for a customized menu that enables technicians to use multiple application systems simultaneously to operate a task is a technical problem that needs to be solved urgently. Summary of the invention

[0005] In view of the above problems existing in the prior art, the present invention provides a method for opening a capability custom menu, which can enable an operator to use multiple application systems simultaneously to operate a task, thereby improving the work efficiency of the operator.

[0006] To achieve the above object, the technical solution of the present invention is as follows:

[0007] A method for opening a capability customization menu is provided, including:

[0008] Register the registered application under the main application according to the application type;

[0009] Loading the basic information of the main application and the registered application when accessing the main application;

[0010] Process the basic information and merge the menus of the main application and the registered application into array values;

[0011] The menu information of the main application and registered applications is displayed in the menu bar for application switching.

[0012] Preferably, the basic information includes but is not limited to application ID, application type, platform parameters, application name, domain name, and routing menu.

[0013] Preferably, the registering of the registered application under the main application according to the application type includes:

[0014] Select the registered application of the specified application type according to the application type and enter the creation. Filter the list of registered applications that support this type and select them for registration.

[0015] After registration, the registered application will receive at least three parameters of the main application, including but not limited to the application ID, application type, and platform parameters of the selected mounted application;

[0016] Performing specified type and / or platform processing on the received parameters, including but not limited to conditional filtering, component locking, component hiding, page display, and data screening;

[0017] The registration of the registered application supports selecting at least two applications for registration.

[0018] It should be noted that the registered application here will be automatically associated with the main application after registration.

[0019] Preferably, the conditional filtering means that after receiving the application ID, application type and platform parameters of the main application, the application system supporting registration selects the specified item in the drop-down filter component according to the parameters when entering each page of the registered application system;

[0020] The component locking refers to locking the platform conditions according to the specific platform items;

[0021] The data screening refers to the customized logic including but not limited to filtering, screening, and sorting of the information under the specified application by passing the main application ID to the server when calling the service API.

[0022] Preferably, the application types include but are not limited to iOS type applications, basic components, business components, third-party components or iOS Android type applications, basic components, business components, third-party components, H5 type applications;

[0023] The platform parameters include platform types, which include but are not limited to: Android platform, iOS platform, and H5 platform.

[0024] Preferably, the processing of the basic information comprises the following steps:

[0025] Read the basic information of the main application and the registered application;

[0026] Loop through an application list of all the registered applications registered under the main application, the application list being an application array composed of the basic information;

[0027] Loop through the menu array attribute values ​​under the registered application traversal item again;

[0028] Each menu item in the menu array is a menu structure. The first level of the path attribute value in the menu structure of the registered application is added with the domain name + application name in the application traversal item.

[0029] The submenus of the menu structure are processed recursively and the relative path of each submenu is processed into an absolute path value.

[0030] Preferably, when performing the recursive loop processing, main application parameters are added to the end of the path attribute value of the submenu, including but not limited to application ID, type, and platform parameters.

[0031] Preferably, the application switching comprises the following steps:

[0032] Click the menu under the main application to access the main application;

[0033] When switching from the main application menu to the menu of the registered application, an application switch is completed.

[0034] The beneficial effects of the present invention are:

[0035] A method for opening up customized menus by building a menu array based on basic application information, traversing the menu array multiple times, and processing path attribute values, thus enabling operators to use multiple systems to perform a task simultaneously in a simple and efficient manner, achieving the effect of seamless application switching and effectively improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A schematic diagram of a process of registering an application by a method for opening a capability custom menu according to an embodiment of the present invention;

[0038] Figure 2 A menu processing flow diagram of a method for opening a capability customized menu according to an embodiment of the present invention;

[0039] Figure 3 A schematic diagram of the effect of performing seamless switching between applications using a method for opening a capability customization menu according to an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0041] In some of the processes described in the specification and claims of the present invention and the above-mentioned drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel. The serial numbers of the operations, such as S1, S2, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.

[0042] The embodiment of the present invention provides a method for opening a capability customized menu, which constructs a menu array according to application basic information and processes the menu array, thereby realizing seamless switching of applications between multiple systems.

[0043] The method for opening a capability customized menu for protection claimed in the present invention will be further described in detail below in conjunction with specific embodiments.

[0044] See also Figure 1 , an embodiment of the present invention provides a method for opening a capability custom menu, comprising:

[0045] Register the registered application under the main application according to the application type;

[0046] Loading the basic information of the main application and the registered application when accessing the main application;

[0047] Process the basic information and merge the menus of the main application and the registered application into array values;

[0048] The menu information of the main application and registered applications is displayed in the menu bar for application switching.

[0049] Preferably, the basic information includes but is not limited to application ID, application type, platform parameters, application name, domain name, and routing menu.

[0050] Preferably, the registering of the registered application under the main application according to the application type includes:

[0051] Select the registered application of the specified application type according to the application type and enter the creation. Filter the list of registered applications that support this type and select them for registration.

[0052] After registration, the registered application will receive at least three parameters of the main application, including but not limited to the application ID, application type, and platform parameters of the selected mounted application;

[0053] The received parameters are processed under the specified type and / or platform, including but not limited to conditional filtering, component locking, component hiding, page display, and data filtering. Specifically, for application systems that support registration, after receiving the ID, platform, type and other parameters of the main application, when entering each page of the registered application system, a drop-down filter component is selected in the specified item according to the parameters. For example, the filtering components include iOS, Android, H5, etc., and the parameter passed is iOS. At this time, the iOS option in the component is selected and passed to the service API as a condition for querying the content when the page is initialized. The platform conditions are locked according to the specific platform items. When calling the service API, the main application ID is passed to the server to perform customized logic such as filtering, screening, and sorting of information under the specified application, so as to reduce the cost of tedious condition screening for operators after switching to the registered application system, so as to achieve the purpose of improving efficiency.

[0054] The registration of the registered application supports selecting at least two applications for registration.

[0055] Preferably, the conditional filtering refers to the application system that supports registration, after receiving the application ID, application type, and platform parameters of the main application, performing a drop-down filtering component to select the specified item according to the parameters when entering each page of the registered application system; it should be noted that, as can be understood by those skilled in the art, as long as it is an application system that supports registration, it is an application system that the present invention claims to protect. Taking the user feedback system as an example, it can view user feedback content on multiple platforms (iOS, Android, H5, etc.) at the same time. In this way, when the operator switches from an application system of a specified platform (iOS, Android, H5, etc.) to this system, it is necessary to manually perform conditional filtering operations such as platform and type before viewing the required content.

[0056] The component locking refers to locking the platform conditions according to the specific platform items;

[0057] The data screening refers to the customized logic including but not limited to filtering, screening, and sorting of the information under the specified application by passing the main application ID to the server when calling the service API.

[0058] Preferably, the application types include but are not limited to iOS type applications, basic components, business components, third-party components or iOS Android type applications, basic components, business components, third-party components, H5 type applications;

[0059] The platform parameters include platform types, which include but are not limited to: Android platform, iOS platform, and H5 platform.

[0060] See also Figure 2 Preferably, the processing of the basic information comprises the following steps:

[0061] Read the basic information of the main application and the registered application;

[0062] In specific implementation, the structure of the basic information in the embodiment of the present invention can be {"ID":"","type":"type","platform":"platform","domain":"domain name","applicationName":"application name","routes":[route-object],...}, wherein the route-object structure in the routes routing menu field is {"path":' / ',"title":'","meta":{"title":"","icon":""},children:[route-object]}, and the structural object in the children field is the same as route-object.

[0063] Loop through an application list of all the registered applications registered under the main application, the application list being an application array composed of the basic information;

[0064] Loop through the menu array attribute values ​​under the registered application traversal item again;

[0065] Each menu item in the menu array is a menu structure. The first level of the path attribute value in the menu structure of the registered application is added with the domain name + application name in the application traversal item.

[0066] Specifically, when the domain name + application name in the application traversal item is added to the path attribute value header of the first level in the registered application menu structure, the processing path format is domain / applicationName / path, where domain is the domain name information entered when each registered application is created, and applicationName is used to distinguish the application pointed to by the current menu.

[0067] The submenus of the menu structure are processed recursively and the relative path of each submenu is processed into an absolute path value.

[0068] Preferably, when performing the recursive loop processing, main application parameters are added to the end of the path attribute value of the submenu, including but not limited to application ID, type, and platform parameters.

[0069] It should be noted that the menu refers to the path of each page in the system. Figure 1 The application system menu mentioned in the above is the content that can be displayed by the system after being processed by "domain name + application name + path". This is just to distinguish it from the content that has not been processed. The submenu is the second-level menu under the first-level menu.

[0070] Specifically, Figure 2 As shown, in an alternative embodiment, the operator first logs in, and after logging in, accesses an open platform, including but not limited to: Android platform, iOS platform, H5 platform, etc., selects the required application in the open platform, and takes "Douwu APP" as an example for explanation here. After selecting "Douwu APP", enter the application system. The menu service interface will pull the basic information of the application according to the application ID of the current application ("Douwu APP"), including application ID, application type, platform, domain name, application name, menu set, etc., wherein each item in the menu set is a tree structure, specifically including menu path, menu name, menu icon, and submenu (the same as the parent menu structure). Further determine whether there are other applications (Android, iOS, H5, etc.) registered under the application. If so, read the registered application basic information in batches; recursively traverse the tree menu data message in the application information, and treat the first-level path of each menu item as a combination of domain name + application name + path, and check that if the aforementioned read application basic information exists, the registered application information will be processed in the same logical way; the data will be processed as follows Figure 3 The system is presented in the manner shown; the operator can seamlessly switch between systems during use.

[0071] See also Figure 3 Preferably, the application switching comprises the following steps:

[0072] Click the menu under the main application to access the main application;

[0073] When switching from the main application menu to the menu of the registered application, an application switch is completed.

[0074] This application proposes a method for opening a custom menu with open capabilities, which can construct a menu array based on the basic information of the application, process the menu array, reduce the number of browsers opened during operation, improve the operation experience, and realize seamless switching of applications between multiple systems. When using a custom menu to access a system with closely related scenarios, it can accurately perform condition matching, data filtering, seamless switching and other functions. The corresponding supported registered applications will be customized according to the transmitted main application information. In addition to satisfying the switching, the seamless switching will also satisfy the customized processing logic of the main application to improve the filtering, selection and other operation experience, effectively reducing the operator's operation cost.

[0075] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for opening a capability custom menu, characterized in that: The method comprises: Register the registered application under the main application according to the application type; Loading the basic information of the main application and the registered application when accessing the main application; Process the basic information and merge the menus of the main application and the registered application into array values; Display the menu information of the main application and registered applications in the menu bar for application switching; The registering of the registered application under the main application according to the application type includes: Select the registered application of the specified application type according to the application type and enter the creation. Filter the list of registered applications that support this type and select them for registration. After registration, the registered application will receive at least three parameters of the main application, including the application ID, application type, and platform parameters of the selected mounted application; Performing processing of the received parameters under a specified type and / or platform, including conditional filtering, component locking, component hiding, page display, and data screening; The conditional filtering means that after receiving the application ID, application type and platform parameters of the main application, the application system supporting registration selects the specified item in the drop-down filter component according to the parameters when entering each page of the registered application system; The component locking refers to locking the platform conditions according to the specific platform items; The data screening refers to the customized logic including filtering, screening and sorting of the information under the specified application by passing the main application ID to the server when calling the service API; The registration of the registered application supports selecting at least two applications for registration; The processing of the basic information comprises the following steps: Read the basic information of the main application and the registered application; Loop through an application list of all the registered applications registered under the main application, the application list being an application array composed of the basic information; Loop through the menu array attribute values ​​under the registered application traversal item again; Each menu item in the menu array is a menu structure. The first part of the path attribute value in the menu structure of the registered application is added with the domain name + application name in the application traversal item. The submenus of the menu structure are processed recursively and the relative path of each submenu is processed into an absolute path value.

2. The method for opening a capability customization menu according to claim 1, characterized in that: The basic information includes application ID, application type, platform parameters, application name, domain name, and routing menu.

3. The method for opening a capability customization menu according to claim 1, characterized in that: The application types include iOS type applications, iOS basic components, iOS business components, iOS third-party components; or Android type applications, Android basic components, Android business components, Android third-party components; Or H5 type application; The platform parameters include platform types, and the platform types include: Android platform, iOS platform, and H5 platform.

4. The method for opening a capability customization menu according to claim 1, characterized in that: When performing the recursive loop processing, main application parameters are added to the end of the path attribute value of the submenu, including application ID, type, and platform parameters.

5. The method for opening a capability custom menu according to claim 1, characterized in that: The application switching includes the following steps: Click the menu under the main application to access the main application; When switching from the main application menu to the menu of the registered application, an application switch is completed.