CN116795446A - Sub-application opening method, configuration method and multi-application management platform - Google Patents

Sub-application opening method, configuration method and multi-application management platform Download PDF

Info

Publication number
CN116795446A
CN116795446A CN202210308404.1A CN202210308404A CN116795446A CN 116795446 A CN116795446 A CN 116795446A CN 202210308404 A CN202210308404 A CN 202210308404A CN 116795446 A CN116795446 A CN 116795446A
Authority
CN
China
Prior art keywords
application
sub
domain name
pop
main
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
CN202210308404.1A
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.)
Xi'an Instant Easy To Use Network Technology Co ltd
Original Assignee
Xi'an Instant Easy To Use Network 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 Xi'an Instant Easy To Use Network Technology Co ltd filed Critical Xi'an Instant Easy To Use Network Technology Co ltd
Priority to CN202210308404.1A priority Critical patent/CN116795446A/en
Publication of CN116795446A publication Critical patent/CN116795446A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a sub-application opening method, a sub-application popup configuration method and a multi-application management platform, wherein one or more sub-applications are arranged on a main application, and the method comprises the following steps: and logging in the main application through a browser, triggering the pop-up function of one or more sub-applications, wherein the triggered sub-applications are respectively opened in a new browser window.

Description

Sub-application opening method, configuration method and multi-application management platform
Technical Field
The invention relates to the technical development and application field of an internet platform, in particular to a sub-application opening method of a main application at a browser end, a sub-application pop-up function configuration method of the main application at the browser end and a multi-application management platform.
Background
Many single application programs can realize function use in a browser window through a route skip method, and because the application programs opened by the browser window have the characteristics of smooth operation, focusing when being used by a user, the single application programs use the browser window to become trend, and many traditional desktop software also gradually adopts the browser to be opened. But the sub-application popup function under a main application cannot be realized at the browser side. If a certain sub-application is to be entered, the sub-application can only be jumped to under the main application, so that the sub-application is inconvenient to use, and especially when the main application and the sub-applications under other main applications are required to work cooperatively, the sub-application is inconvenient to switch back and forth for viewing. The general user can open a new browser page by copying url, but the shell program with the main application is opened together, which is particularly inconvenient to use.
Disclosure of Invention
In order to solve the technical defects existing in the prior art, the invention provides an organization architecture configuration method and an organization architecture of a multi-user enterprise-level application management platform and the multi-user enterprise-level application management platform using the organization architecture and the organization architecture configuration method.
In one aspect, the present invention provides a method for opening a sub-application of a main application at a browser end, where the main application is provided with one or more sub-applications, and the method includes: and logging in the main application through a browser, triggering the pop-up function of one or more sub-applications, wherein the triggered sub-applications are respectively opened in a new browser window. The sub-application has a sub-application domain name that is independent of the main application domain name.
In two aspects, the invention provides a sub-application popup function configuration method of a browser-side main application, which comprises the following steps: configuring independent domain names for sub-applications; after triggering the pop-up function of the sub-application, obtaining an authentication code from a server according to the sub-application identifier; opening an independent browser window according to the authentication code, and loading the sub-application by using an independent domain name of the sub-application; the sub-application carries the authentication code to acquire a sub-application token; and the independent browser window opens the sub-application according to the sub-application token.
The sub-application domain name includes: a separate sub-application domain name that is independent of the main application domain name, and/or a sub-domain name under the main application domain name.
The pop-up module of the sub-application is arranged on the sub-application, and the pop-up function of the sub-application is triggered by clicking the pop-up module; and/or the pop-up module is arranged on the main application, a sub-application is selected, and then the pop-up module is clicked, so that the pop-up function of the sub-application is triggered; and/or, double clicking the sub-application can trigger the pop-up function of the sub-application.
The sub-application token performs validity verification on the sub-application identifier and the authentication code by the server, and generates the sub-application token after verification is passed, wherein the sub-application token stores the sub-application context information into a cache module, and the sub-application context information includes but is not limited to: the contextual information and the sub-application unique identification are organized.
In a third aspect, the present invention provides a multi-application management platform, including: the method comprises the steps that a main application which is opened through the front end of a browser can be used, one or more sub-applications are arranged on the main application, a pop-up module is arranged on the main application and/or the sub-applications, the pop-up module is clicked, and the sub-applications are opened in the form of independent browsers independent of the main application.
The platform further comprises: the domain name configuration module is configured to configure a main application domain name for the main application, and configure a sub-application domain name for the sub-application, where the sub-application domain name includes: a separate sub-application domain name independent of the main application domain name, and a sub-domain name under the main application domain name.
Clicking the pop-up module, and sending the sub-application identifier to a server by the main application to obtain an authentication code; and the main application opens an independent browser window according to the authentication code, loads the sub-application by using the independent sub-application domain name, acquires an application token from a server by using the authentication code and the sub-application identifier, and logs in to the sub-application according to the application token.
The sub-application token stores the context information of the sub-application in a cache module of the server, wherein the context information of the sub-application includes but is not limited to: the contextual information and the sub-application unique identification are organized.
The platform is also provided with a fixed display area for fixing commonly used sub-applications of the user.
The multi-application management platform is an enterprise-level application platform main application for multiple users which uses a browser to open a display.
When the user logs in the main application through the front end of the browser, the server verifies the login information of the user, and if the login information is correct, a user token is generated. And the user token stores the currently logged-in user context information into a cache module of the server for identification and calling. The user context information includes, but is not limited to, user name, user type, user unique identification, etc.
And after the front end of the browser takes the user token, acquiring an organization list created by the current user or added by the current user. And the user selects an organization in the organization list to log in, the server verifies the organization login information of the user, and if the organization login information is correct, an organization token is generated. The organization token also stores the organization's context information to a cache module for identification and invocation. The organization context information includes, but is not limited to, organization name, organization unique identification, organization member unique identification, user type, whether the user is the creator of the organization, and the like.
The unique organization member identification is obtained by checking a user unique identification and an organization unique identification through an algorithm.
And logging in a management platform of the organization according to the organization token.
And selecting a popup module of the sub-application on the main application, and generating the authentication code by the server according to the organization token and the sub-application identifier.
According to the invention, independent development and release of the sub-applications are realized through the browser by adopting the front-end micro-service architecture, and finally, the situation of running in a certain area of the main application is realized, and meanwhile, the application scene that the main application and a plurality of sub-applications are simultaneously and independently displayed is also realized. The logic similar to an apple mall is realized at the browser end, an account can be realized by utilizing the account intercommunication relationship, and the logic of all applications can be accessed only by logging in once. The operation experience of users (including developers and publishers of sub-applications) on the application platform is greatly improved.
Meanwhile, the invention is also suitable for the scene of multi-user multi-enterprise multi-application management, and provides a multi-application management platform in a targeted manner, wherein the token management concepts of each level are respectively implemented from a user login platform, a login organization, a sub-application popping-up and a login sub-application, so that the accuracy and smoothness of data are ensured, and the effect of opening the sub-application in the shortest time is achieved.
Drawings
Fig. 1 is a schematic step diagram of an embodiment of a sub-application pop-up function configuration method of a main application according to the present invention.
Detailed Description
In example 1
The invention aims to provide a sub-application opening method of a browser-side main application, wherein one or more sub-applications are arranged on the main application, and the method comprises the following steps: and logging in the main application through a browser, triggering the pop-up function of one or more sub-applications, wherein the triggered sub-applications are respectively opened in a new browser window. The pop-up function is arranged on each sub-application in the form of a pop-up module, when the sub-application is clicked, the pop-up module is displayed, and the sub-application is triggered to be opened in a new browser window by clicking the pop-up module. The pop-up module may also be provided on the main application, and after a certain sub-application is selected, clicking the pop-up module, the selected sub-application is triggered to be opened in a new browser window. The pop-up function may also be provided on a sub-application, which may be triggered by double clicking the sub-application.
The sub-application has a sub-application domain name that is independent of the main application domain name. So that the applications can be opened independently from the domain name of the main application.
When a plurality of sub-applications exist on the main application, each sub-application is executed according to the method, and when the pop-up function of each sub-application is opened, the sub-applications are respectively popped up and simultaneously displayed in the form of independent browsers.
The sub-application opening method on the browser main application not only realizes the effect that the sub-application and the main application respectively operate and display in the form of independent browsers, but also realizes the effect that a plurality of sub-applications respectively pop up in the form of independent browsers and simultaneously operate and display. Greatly facilitating the need for operators to operate a main application and multiple sub-applications simultaneously.
Example 2
The embodiment provides a method for configuring a sub-application popup function of a main application at a browser end, which is used for implementing the idea of embodiment 1, and the specific configuration method is shown in fig. 1, and includes:
step S100, configuring independent domain names for the sub-applications.
The most remarkable characteristic of the invention is that the domain name of the sub-application is not only configured with the sub-domain name under the domain name of the main application, but also independently configured with the independent domain name for the sub-application. The sub-application domain name under the domain name of the main application and the independent sub-application domain name all have the same identification. The identification includes, but is not limited to: sub-application name, version number, etc.
Step 200, when the pop-up function of the sub-application is triggered, the main application sends the sub-application identifier to a server to obtain an authentication code.
The authentication code has a validity period beyond which the authentication code fails. The pop-up function of the sub-application needs to be re-triggered.
The pop-up function of the sub-application may be set on each sub-application, and the sub-application may be displayed by clicking, and clicking the pop-up function may be triggered. The second way is to configure the pop-up function on the main application, and by selecting a sub-application and clicking the pop-up module, the selected sub-application is triggered to execute the pop-up function. The third way is to set up a double click on the sub-application to trigger the pop-up function.
And step S300, the main application opens an independent browser window according to the authentication code, loads the sub-application by using the independent domain name of the sub-application, and transmits the authentication code to the sub-application.
And step S400, when the sub-application is loaded, the sub-application carries the authentication code to acquire a sub-application token from the server.
And the server performs validity verification on the sub-application identifier and the authentication code, and generates a sub-application token if the verification is correct. Specifically, the user center of the server verifies the user information, the organization information and the sub-application information, and the organization architecture center of the server verifies the user authority, the organization authority and the sub-application authority. After confirming the error, generating a sub-application token, and storing the context information of the sub-application in a cache module of a server for calling. The contextual information includes, but is not limited to: user identification, organization rights, sub-application unique identification, user rights, etc.
And step S500, opening the sub-application in the independent browser window according to the sub-application token.
And the browser front end receives the sub-application token and opens the sub-application.
When a plurality of sub-applications exist on the main application, each sub-application is executed according to the method, and when the pop-up function of each sub-application is opened, the sub-applications are respectively popped up and simultaneously displayed in the form of independent browsers.
The sub-application popup configuration method on the browser main application not only realizes the effect that the sub-application and the main application independently operate and display in the form of independent browsers respectively, but also realizes the effect that a plurality of sub-applications are popup in the form of independent browsers respectively and independently operate and display at the same time. Greatly facilitating the need for operators to operate a main application and multiple sub-applications simultaneously.
The sub-application popup display window on the browser main application provided by the invention is characterized in that a user only needs to click the popup function of the sub-application, and the sub-application is opened in a new browser window. The method is suitable for a main application opened through a browser (web) end, and a scene comprising one or more sub-applications on the main application.
For the application of the main application through the browser end, the front-end micro-service architecture is adopted, so that independent development and release of the sub-application can be realized, and the sub-application runs in a certain area of the main application finally. The method has the advantages that logic similar to apple malls can be realized at the browser end, an account can be realized by utilizing the account intercommunication relationship, and logic of all applications can be accessed only by logging in once.
Example 3
The invention also provides a sub-application popup system for implementing any method of embodiment 2, which specifically includes: the system comprises a main application, one or more sub-applications arranged on the main application, a domain name configuration module and a server.
The domain name configuration module is used for configuring domain names for the main application and the sub-application, and the domain name configuration module configures independent domain names for the sub-application. The domain name configuration module also configures a sub-application domain name for the sub-application under the domain name of the main application. The sub-application domain name under the main application domain name and the independent sub-application domain name have the same identification, and the sub-application can be conveniently and quickly identified whether the sub-application is opened under the main application domain name or popped up in the form of an independent browser.
Clicking on the sub-application opens the sub-application by default under the main application domain name, the sub-application not being pop-up displayed with a separate browser. And double clicking the sub-application or selecting a pop-up function module corresponding to the sub-application, and popping up and opening the sub-application by using a single browser.
The server is used for receiving the sub-application identification from the main application for verification and generating an authentication code. The authentication code has a validity period beyond which the authentication code fails. The pop-up function of the sub-application needs to be re-triggered, and the main application is triggered to send the sub-application identification to the server to re-acquire the authentication code.
And the main application opens an independent browser window according to the authentication code, loads the sub-application by using the independent domain name of the sub-application, and transmits the authentication code to the sub-application. And when the sub-application is loaded, the sub-application carries the authentication code to acquire a sub-application token from the server. The sub-application opens in the independent browser window according to the sub-application token.
Example 4
The invention also provides a multi-application management platform, which is a main application and can be opened in a browser mode. One or more sub-applications are provided on the platform. And the platform is provided with a pop-up function, when a certain sub-application is selected, the pop-up function is clicked, and the selected sub-application is opened in a form of an independent browser independent of the platform. And a second way is to set a pop-up function on the sub-application, select a sub-application, click the pop-up function on the sub-application, and then the selected sub-application is opened in a form of an independent browser independent of the platform. In a third way, by default, a sub-application is a pop-up function, and by double-clicking on a sub-application, the sub-application opens in the form of a separate browser independent of the platform.
The multi-application management platform is also provided with a fixed display area for fixing commonly used sub-applications of the user, so that the user can find the commonly used sub-applications quickly.
The multi-application management platform is an enterprise-level application platform main application which uses a browser to open a plurality of users for display, and complex management of a plurality of users, a plurality of organizations and a plurality of sub-applications is involved under the main application. When a user logs in the main application through the front end of the browser, the server verifies the login information of the user, and if the login information is correct, a user token is generated. And the user token stores the currently logged-in user context information into a cache module of the server for identification and calling. The user context information includes, but is not limited to, user name, user type, user unique identification, etc.
And after the front end of the browser takes the user token, acquiring an organization list created by the current user or added by the current user. And the user selects an organization in the organization list to log in, the server verifies the organization login information of the user, and if the organization login information is correct, an organization token is generated. The organization token also stores the organization's context information to a cache module for identification and invocation. The organization context information includes, but is not limited to, organization name, organization unique identification, organization member unique identification, user type, whether the user is the creator of the organization, and the like. The user types include, but are not limited to: a user, an administrator, a super administrator, etc. The unique organization member identification is obtained by verifying the unique user identification and the unique organization identification through an algorithm. And logging in a management platform entering the organization according to the organization token, namely the main application of the organization. And selecting a popup module of the sub-application on the main application, and generating an authentication code by the server according to the organization token and the sub-application identifier. The authentication code has timeliness, and if the authentication code is not used in the timeliness, the authentication code is outdated and abandoned. And the main application loads the sub-application by using the independent domain name of the sub-application according to an independent browser window of the authentication code in the validity period, and transmits the authentication code to the sub-application. And the sub-application acquires an application token from a server by using the authentication code and the sub-application identifier, and logs in to the sub-application according to the application token. And the server verifies the authentication code and the sub-application identifier, if both the authentication code and the sub-application identifier are legal, the server verifies whether the user is authorized to enter the sub-application, and if the user obtains a positive response, a sub-application token is generated. The sub-application token also stores the context information of the sub-application to a cache module of the server for identification and invocation. The above information of the sub-applications includes, but is not limited to: the contextual information and the sub-application unique identification are organized.
Those who work in the art will appreciate that the above-described embodiments are only a part of the inventive concepts, and that any solution that can be easily conceived by anyone on the basis of the above-described embodiments is a part of the invention.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in implementing the methods of the embodiments described above may be implemented by a program for instructing related hardware, where the program may be stored on a computer readable storage medium, where the storage medium includes: ROM/RAM, magnetic disks, optical disks, cloud servers, etc.
The foregoing description of the preferred embodiments of the present invention is not intended to be limited to the precise embodiments of the invention, and it will be apparent to those skilled in the art that various changes and modifications can be made without departing from the spirit or principles of the invention.

Claims (10)

1. A sub-application opening method of a browser-side main application is characterized in that one or more sub-applications are arranged on the main application, and the method comprises the following steps: and logging in the main application through a browser, triggering the pop-up function of one or more sub-applications, wherein the triggered sub-applications are respectively opened in a new browser window.
2. The method for opening a sub-application of a browser-side main application according to claim 1, wherein the sub-application has a sub-application domain name independent of a main application domain name.
3. A sub-application popup function configuration method of a browser-side main application is characterized by comprising the following steps:
configuring independent domain names for sub-applications;
after triggering the pop-up function of the sub-application, obtaining an authentication code from a server according to the sub-application identifier;
opening an independent browser window according to the authentication code, and loading the sub-application by using an independent domain name of the sub-application;
the sub-application carries the authentication code to acquire a sub-application token;
and the independent browser window opens the sub-application according to the sub-application token.
4. A sub-application pop-up function configuration method according to claim 3, wherein the sub-application domain name comprises: a separate sub-application domain name that is independent of the main application domain name, and/or a sub-domain name under the main application domain name.
5. A sub-application pop-up function configuration method according to claim 3, wherein a pop-up module of the sub-application is disposed on the sub-application, and clicking the pop-up module triggers a pop-up function of the sub-application;
and/or the pop-up module is arranged on the main application, a sub-application is selected, and then the pop-up module is clicked, so that the pop-up function of the sub-application is triggered;
and/or, double clicking the sub-application can trigger the pop-up function of the sub-application.
6. A method of configuring a pop-up function of a sub-application according to claim 3, wherein the sub-application token is validated by a server for the sub-application identifier and the authentication code, and after the validation is passed, the sub-application token is generated, and the sub-application token stores the sub-application context information into a cache module, where the sub-application context information includes, but is not limited to: the contextual information and the sub-application unique identification are organized.
7. A multi-application management platform, the platform comprising: the method comprises the steps that a main application which is opened through the front end of a browser can be used, one or more sub-applications are arranged on the main application, a pop-up module is arranged on the main application and/or the sub-applications, the pop-up module is clicked, and the sub-applications are opened in the form of independent browsers independent of the main application.
8. The multiple application management platform of claim 7, wherein the platform further comprises: the domain name configuration module is configured to configure a main application domain name for the main application, and configure a sub-application domain name for the sub-application, where the sub-application domain name includes: a separate sub-application domain name independent of the main application domain name, and a sub-domain name under the main application domain name.
9. The multiple application management platform of claim 7, wherein,
clicking the pop-up module, and sending the sub-application identification to a server by the main application to obtain an authentication code;
and the main application opens an independent browser window according to the authentication code, loads the sub-application by using the independent sub-application domain name, acquires an application token from a server by using the authentication code and the sub-application identifier, and logs in to the sub-application according to the application token.
10. The multi-application management platform of claim 9, wherein the sub-application token stores context information of the sub-application in a cache module of a server, the context information of the sub-application including, but not limited to: the contextual information and the sub-application unique identification are organized.
CN202210308404.1A 2022-03-25 2022-03-25 Sub-application opening method, configuration method and multi-application management platform Pending CN116795446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210308404.1A CN116795446A (en) 2022-03-25 2022-03-25 Sub-application opening method, configuration method and multi-application management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210308404.1A CN116795446A (en) 2022-03-25 2022-03-25 Sub-application opening method, configuration method and multi-application management platform

Publications (1)

Publication Number Publication Date
CN116795446A true CN116795446A (en) 2023-09-22

Family

ID=88037911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210308404.1A Pending CN116795446A (en) 2022-03-25 2022-03-25 Sub-application opening method, configuration method and multi-application management platform

Country Status (1)

Country Link
CN (1) CN116795446A (en)

Similar Documents

Publication Publication Date Title
US8381181B2 (en) Updating a workflow when a user reaches an impasse in the workflow
US7756987B2 (en) Cybersquatter patrol
US8955037B2 (en) Access management architecture
US8458658B2 (en) Methods and systems for dynamically building a software appliance
US8407712B2 (en) Updating workflow nodes in a workflow
US7567984B1 (en) Operating system and application deployment based on stored user state and organizational policy
US20220294797A1 (en) Website verification platform
US11095648B2 (en) Dashboard as remote computing services
US20120116751A1 (en) Providing message text translations
US10454786B2 (en) Multi-party updates to distributed systems
US8949297B2 (en) Content switch management
CN108415710B (en) The method and system of API is issued, called in Intelligent dialogue development platform
US7761527B2 (en) Method and apparatus for discovering network based distributed applications
US20090222808A1 (en) Methods and systems for providing a software appliance based on a role
US20110314261A1 (en) Prefetch of Attributes in Evaluating Access Control Requests
US8060891B2 (en) Management of external hardware appliances in a distributed operating system
US8726263B2 (en) Detection and installation of software on a per-user basis
US7813964B2 (en) Click and run software purchasing
EP4005148A1 (en) Techniques for incentivized intrusion detection system
CN111935092B (en) Information interaction method and device based on third-party application and electronic equipment
US20080065679A1 (en) Method for rules-based drag and drop processing in a network environment
US20200241945A1 (en) Remote diagnostic of computing devices
CN116795446A (en) Sub-application opening method, configuration method and multi-application management platform
US11044339B2 (en) Asynchronous service provisioning in computing systems
Nadon Website Hosting and Migration with Amazon Web Services

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