CN117390324A - Webpage application access method, equipment and storage medium - Google Patents

Webpage application access method, equipment and storage medium Download PDF

Info

Publication number
CN117390324A
CN117390324A CN202311507068.4A CN202311507068A CN117390324A CN 117390324 A CN117390324 A CN 117390324A CN 202311507068 A CN202311507068 A CN 202311507068A CN 117390324 A CN117390324 A CN 117390324A
Authority
CN
China
Prior art keywords
application
resource
target service
preset
service application
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
CN202311507068.4A
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.)
Beijing Huitongtianxia Iot Technology Co ltd
Original Assignee
Beijing Huitongtianxia Iot Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Huitongtianxia Iot Technology Co ltd filed Critical Beijing Huitongtianxia Iot Technology Co ltd
Priority to CN202311507068.4A priority Critical patent/CN117390324A/en
Publication of CN117390324A publication Critical patent/CN117390324A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a webpage application access method, equipment and a storage medium, and relates to the technical field of computers. The method comprises the steps of responding to an access request aiming at a target service application and input through a preset webpage, and obtaining a distribution configuration file of the preset webpage; the distribution configuration file is pre-configured with: the corresponding relation between the identifiers of a plurality of business applications and the resource paths; acquiring a resource path corresponding to the target service application from the distribution configuration file according to the identification of the target service application; acquiring a resource file of a target service application from a resource path; and displaying the page of the target service application in the preset webpage according to the resource file of the target service application. Therefore, the method is convenient for the user to access and operate, convenient for the user to maintain and improves the application access efficiency.

Description

Webpage application access method, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a storage medium for accessing a web application.
Background
In the business development process of enterprises, different business departments may be separated to develop special fields so as to enrich the multi-business direction development capability of the enterprises, such as iot capability, pipe car capability, insurance agency capability, vehicle image capability and the like. Each capability may exist alone, but there may also be a scenario where the various capabilities are aggregated. For example, when the service range related to a large customer is relatively wide, a system with all the capabilities needs to be built, and a webpage access method for accessing the system with all the capabilities is also needed.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a webpage application access method, equipment and a storage medium, so as to solve the problems of lack of multifunctional application access and the like in the prior art.
In order to achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
in a first aspect, an embodiment of the present application provides a web application access method, where the method includes:
responding to an access request aiming at a target service application and input through a preset webpage, and acquiring a distribution configuration file of the preset webpage; the distribution configuration file is pre-configured with: the corresponding relation between the identifiers of a plurality of business applications and the resource paths;
acquiring a resource path corresponding to the target service application from the distribution configuration file according to the identification of the target service application;
acquiring a resource file of the target service application from the resource path;
and displaying the page of the target service application in the preset webpage according to the resource file of the target service application.
Optionally, the obtaining the resource file of the target service application from the resource path includes:
and if the resource path has the webpage identifier, acquiring the resource file of the target service application from a webpage server corresponding to the resource path according to the resource path.
Optionally, the obtaining the resource file of the target service application from the resource path includes:
and if the resource path has a file identifier, acquiring the resource file of the target service application from a folder indicated by the resource path in a preset web server according to the resource path.
Optionally, before the acquiring the resource file of the target service application from the resource path, the method further includes:
latest login information of the preset webpage is obtained from the identity file of the preset webpage;
determining whether the latest login information is within a preset login period;
the obtaining the resource file of the target service application from the resource path includes:
and if the latest login information is within the preset login period, acquiring the resource file of the target service application from the resource path.
Optionally, the method further comprises:
if the latest login information is not in the preset login period, acquiring a resource file of a login sub-application of a preset user center application;
and displaying the page of the login sub-application in the preset webpage according to the resource file of the login sub-application.
Optionally, the method further comprises:
receiving a login operation input through a page of the login sub-application;
the obtaining the resource file of the target service application from the resource path further includes:
and if the login operation is successful, acquiring the resource file of the target service application from the resource path.
Optionally, the method further comprises:
responding to file downloading operation input through the page of the target service application, acquiring a downloading state corresponding to the file downloading operation based on a gateway object pre-mounted by the preset webpage, and displaying the downloading state in a preset downloading area in the preset webpage.
Optionally, before the displaying the page of the target service application in the preset web page according to the resource file of the target service application, the method further includes:
acquiring a text object model mounted on the preset webpage;
the displaying the page of the target service application in the preset webpage according to the resource file of the target service application includes:
according to the text object model, displaying page elements corresponding to the text object model in the preset webpage;
and displaying the page of the target service application in the preset webpage according to the resource file of the target service application.
In a second aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor and a storage medium, wherein the processor is in communication connection with the storage medium through a bus, the storage medium stores program instructions executable by the processor, and the processor calls a program stored in the storage medium to execute the steps of the webpage application access method according to any one of the first aspect.
In a third aspect, embodiments of the present application provide a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the web application access method according to any of the first aspects.
Compared with the prior art, the application has the following beneficial effects:
the application provides a webpage application access method, equipment and a storage medium. The method comprises the steps of responding to an access request aiming at a target service application and input through a preset webpage, and obtaining a distribution configuration file of the preset webpage; the distribution configuration file is pre-configured with: the corresponding relation between the identifiers of a plurality of business applications and the resource paths; acquiring a resource path corresponding to the target service application from the distribution configuration file according to the identification of the target service application; acquiring a resource file of a target service application from a resource path; and displaying the page of the target service application in the preset webpage according to the resource file of the target service application. Therefore, the method is convenient for the user to access and operate, convenient for the user to maintain and improves the application access efficiency.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a web application access method provided in the present application;
fig. 2 is a flow chart of an access verification method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating another method for access authentication according to an embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating another method for access authentication according to an embodiment of the present disclosure;
fig. 5 is a flowchart of a web page display method according to an embodiment of the present application;
FIG. 6 is a schematic view of a display interface including menu navigation and a head region provided in the present application;
fig. 7 is a schematic diagram of a web application access device according to an embodiment of the present application;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present application.
Icon: 701-response module, 702-first acquisition module, 703-second acquisition module, 704-display module, 801-processor, 802-storage medium.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
In order to achieve multi-application access, the application provides a webpage application access method, equipment and a storage medium.
A web application access method provided in the present application is explained by a specific example as follows. Fig. 1 is a schematic flow chart of a web application access method provided in the present application, where an execution subject of the method may be an electronic device, and the electronic device may be a device with a computing processing function, such as a desktop computer, a notebook computer, and the like. As shown in fig. 1, the method includes:
s101, responding to an access request for a target service application input through a preset webpage, and acquiring a distribution configuration file of the preset webpage.
Wherein, the distribution configuration file is pre-configured with: the correspondence between the identities of the plurality of business applications and the resource paths.
Illustratively, the portal application is identified as "gateway", the large screen application is identified as "tv", the pipe vehicle application is identified as "struct", the user center application is identified as "user", and the security management application is identified as "security". Each business application has a corresponding resource path through which resources of the business application can be accessed.
For example, when the user performs a click operation on an interface of a preset webpage, an access request for a target service application is triggered. And when responding to the access request for the target service application input through the preset webpage, the identification of the target service application is also acquired.
S102, acquiring a resource path corresponding to the target service application from the distribution configuration file according to the identification of the target service application.
S103, acquiring a resource file of the target business application from the resource path.
The resource path points to the resource file of the target service application, and the resource file of the target service application can be acquired and accessed through the resource path. Wherein, the resource file contains all running data of the business application.
S104, displaying the page of the target business application in the preset webpage according to the resource file of the target business application.
Accessing the resource file of the target service application, and obtaining an access result, wherein the access result carries the identification of the target service application. And when the access result is returned, determining the target business application corresponding to the access result. And displaying the page of the target service application in the preset webpage according to the access result and the display element corresponding to the access result, so that the user can conveniently view the page.
The preset web page can be accessed into a plurality of service applications, for example, a connection architecture between the preset web page and the plurality of service applications is constructed by using nginx. After the user accesses one service application, other service applications can be accessed in the preset webpage, so that the user access operation is facilitated. The embodiment provided by the application is compatible with the technical stack and UI differences of different service applications, and simultaneously supports independent running, independent development and independent deployment of the different service applications. The user maintenance is facilitated, and the application access efficiency is improved.
To sum up, in this embodiment, a distribution configuration file of a preset webpage is obtained in response to an access request for a target service application input through the preset webpage; the distribution configuration file is pre-configured with: the corresponding relation between the identifiers of a plurality of business applications and the resource paths; acquiring a resource path corresponding to the target service application from the distribution configuration file according to the identification of the target service application; acquiring a resource file of a target service application from a resource path; and displaying the page of the target service application in the preset webpage according to the resource file of the target service application. Therefore, the method is convenient for the user to access and operate, convenient for the user to maintain and improves the application access efficiency.
Based on the embodiment corresponding to fig. 1, in another embodiment of the present application, the obtaining, in S103, the resource file of the target service application from the resource path includes:
and if the resource path has the webpage identifier, acquiring a resource file of the target service application from a webpage server corresponding to the resource path according to the resource path.
If a plurality of service applications are deployed on respective servers, the servers corresponding to the service applications need to be accessed through the servers of the preset web pages. The resource paths are paths (paths) between servers, each of which points to a server where a business application is located.
The web page identification indicates the corresponding server. If the resource path has the webpage identifier, the resource path is indicated to be a path between servers, the corresponding webpage server can be accessed through the resource path, and the resource file of the target service application is acquired from the webpage server.
To sum up, in this embodiment, if the resource path has the web page identifier, the resource file of the target service application is obtained from the web server corresponding to the resource path according to the resource path. Thus, web application access between servers is achieved.
Based on the embodiment corresponding to fig. 1, in another embodiment of the present application, the obtaining, in S103, the resource file of the target service application from the resource path includes:
if the resource path has the file identification, acquiring the resource file of the target service application from the folder indicated by the resource path in the preset web server according to the resource path.
If a plurality of business applications are deployed on the same server, the business applications need to be distinguished in the form of folders, and each business application corresponds to one folder. At this time, paths between the server of the preset web page and the servers of the deployment of the plurality of service applications are public paths, and resource paths are paths (alias) pointing to various folders in the server, wherein each resource path points to a folder where one service application is located.
The file identifier indicates the corresponding folder. If the resource path has the file identifier, the resource path is indicated to be the path pointing to each folder, the corresponding folder can be accessed through the resource path, and the resource file of the target service application is acquired from the folder.
Illustratively, multiple business applications are deployed on the same server, with all business applications deployed under the server's/app/statics/dist path. For example, there are 5 folders under this dist file, app-door, app-tv, app-struct, app-structer, app-security, respectively. Wherein the matching location/is pointed to the app-user folder by the alias and distributed to the user center saas-user-portal application. The match location/app/tv/is pointed to app-tv folder by alias and distributed to the large screen saas-tv-web application. Matching location/app/structure/is directed to app-structure folders by alias and distributed to the pipe car saas-structure-web application. Matching location/app/security/is pointing to app-security folders through alias and distributing to security management saas-security-web applications. Matching location is directed to app-door folders by alias and distributed to portal-gateway-web applications. And if the html $rule is matched to be similar to the location ≡/app/tv/. Html $rule, namely the html suffix is carried, the html file is considered to be an html file, and index. Html in the corresponding folder is pointed to by the alias.
To sum up, in this embodiment, if the resource path has the file identifier, according to the resource path, the resource file of the target service application is obtained from the folder indicated by the resource path in the preset web server. Therefore, the web application access of the same server is realized.
On the basis of the embodiment corresponding to fig. 1, the embodiment of the application also provides an access verification method. Fig. 2 is a flow chart of an access verification method according to an embodiment of the present application. As shown in fig. 2, before the resource file of the target service application is acquired from the resource path in S103, the method further includes:
s201, presetting latest login information of a webpage from an identity file of the preset webpage.
When entering a preset webpage, a user needs to log in, and if logging in is successful, logging in success information is stored in an identity file (cookie) of the preset webpage.
All business applications and preset webpages are deployed under the same domain name, and only the distribution processing is performed through different resource paths, so that the identity files can be shared. That is, the same identity file is used every time a business application is accessed, and re-login is not required.
S202, determining whether the latest login information is within a preset login period.
The preset login period is preset, for example, 3 minutes and 10 minutes.
Further, the step of acquiring the resource file of the target service application from the resource path in S103 includes:
and S203, if the latest login information is within the preset login period, acquiring a resource file of the target service application from the resource path.
If the latest login information is within the preset login period, the login information is considered to be unexpired, and webpage application access can be normally performed.
To sum up, in this embodiment, the latest login information of the webpage is preset from the identity file of the preset webpage; determining whether the latest login information is within a preset login period; and if the latest login information is within the preset login period, acquiring the resource file of the target service application from the resource path. Therefore, the jump between different applications is realized without secondary login.
On the basis of the embodiment corresponding to fig. 2, another access verification method is further provided in the embodiment of the application. Fig. 3 is a flowchart of another access verification method according to an embodiment of the present application. As shown in fig. 3, the method further includes:
and S301, if the latest login information is not within the preset login period, acquiring a resource file of a login sub-application of the preset user center application.
And if the latest login information is not within the preset login period, the login information is considered to be out of date. The user needs to log in again, and the resource file of the login sub-application of the preset user center application needs to be acquired.
S302, displaying a page of the login sub-application in a preset webpage according to the resource file of the login sub-application.
And displaying a page of the login sub-application in the preset webpage so as to facilitate the user to log in again.
To sum up, in this embodiment, if the latest login information is not within the preset login period, a resource file of a login sub-application of the preset user center application is obtained; and displaying a page of the login sub-application in a preset webpage according to the resource file of the login sub-application. Therefore, the access safety is ensured by setting the preset login period.
On the basis of the embodiment corresponding to fig. 3, the embodiment of the application also provides another access verification method. Fig. 4 is a flowchart of another access verification method according to an embodiment of the present application. As shown in fig. 4, the method further includes:
s401, receiving a login operation input through a page of a login sub-application.
And the user performs a re-login operation on the page of the login sub-application.
The step of obtaining the resource file of the target service application from the resource path in S103 further includes:
s402, if the login operation is successful, the resource file of the target service application is obtained from the resource path.
If the login operation is successful, the user returns to the interface before the user skips to re-login, and the resource file of the target service application is continuously acquired from the resource path. And does not affect the normal access of the user.
To sum up, in the present embodiment, a login operation input through a page of a login sub-application is received; and if the login operation is successful, acquiring the resource file of the target service application from the resource path. Thus, access security is ensured.
On the basis of the embodiment corresponding to fig. 1, in another embodiment of the present application, the method further includes:
responding to a file downloading operation input through a page of a target service application, acquiring a downloading state corresponding to the file downloading operation based on a gateway object pre-mounted on a preset webpage, and displaying the downloading state in a preset downloading area in the preset webpage.
If the user clicks the file to download on the page of the target service application, the user is informed to download in a preset download area in the preset webpage, and the download state can be displayed in the preset download area in the preset webpage.
Specifically, a gateway object is mounted in a window when a preset webpage is constructed, and a bus attribute corresponds to a new Vue () example in the object. Each business application may communicate upwards through $emit. Because the technical stack of each service application is unified as vue, the scheme can be adopted, and if the technical stacks are different, the scheme can be self-increased and compatible, thereby being convenient for the user to maintain.
To sum up, in this embodiment, in response to a file downloading operation input through a page of a target service application, a downloading state corresponding to the file downloading operation is obtained based on a gateway object pre-mounted on a preset web page, and the downloading state is displayed in a preset downloading area in the preset web page. Therefore, the downloading operation in the preset webpage is realized.
On the basis of the embodiment corresponding to fig. 1, the embodiment of the application also provides a webpage display method. Fig. 5 is a flowchart of a web page display method according to an embodiment of the present application. As shown in fig. 5, before displaying the page of the target service application in the preset web page according to the resource file of the target service application in S104, the method further includes:
s501, acquiring a text object model mounted on a preset webpage.
When building a preset web page, various page elements, such as menu navigation, head region, may be built.
Specifically, page elements constructed by the preset web page are mounted in two text object models (dom). Taking menu navigation, head region as an example, its ids are app-menu and app-header, respectively. The dom elements needed by the preset webpage are required to be laid out in advance in the index html template of each service application, and app-menu header js is introduced, so that menu navigation and head areas are rendered in each service application, and the consistent access to different application pages is realized.
In S104, displaying a page of the target service application in a preset web page according to the resource file of the target service application, including:
s502, displaying page elements corresponding to the text object model in a preset webpage according to the text object model.
By displaying the page element, the user can conveniently operate the preset webpage in the page element.
S503, displaying the page of the target business application in a preset webpage according to the resource file of the target business application.
By displaying the page of the target business application, the user can conveniently operate the target business application in the page element.
And if the access request for the target service application is not available, displaying a welcome page at the page position of the target service application.
Specifically, fig. 6 is a schematic diagram of a display interface including menu navigation and a head area provided in the present application.
To sum up, in this embodiment, a text object model mounted on a preset webpage is obtained; according to the text object model, displaying page elements corresponding to the text object model in a preset webpage; and displaying the page of the target service application in the preset webpage according to the resource file of the target service application. Therefore, the multifunctional display is realized, and the operation of a user is facilitated.
Further, the structure between the preset web page and the plurality of business applications provided in the above embodiment is also docked to the web pages of other scenes. At this time, the preset web page (for example, menu navigation and head area are not displayed) is not required to be displayed, the function entries of a plurality of business applications are reserved, and the user operation is facilitated on the premise that other scene web pages are not influenced.
The following describes a web application access device, a storage medium, etc. provided by the present application for execution, and specific implementation processes and technical effects of the web application access device, the storage medium, etc. refer to the above, and are not described in detail.
Fig. 7 is a schematic diagram of a web application access device according to an embodiment of the present application, as shown in fig. 7, where the device includes:
the response module 701 is configured to obtain a distribution configuration file of a preset webpage in response to an access request for a target service application input through the preset webpage; the distribution configuration file is pre-configured with: the correspondence between the identities of the plurality of business applications and the resource paths.
The first obtaining module 702 is configured to obtain, from the distribution configuration file, a resource path corresponding to the target service application according to the identifier of the target service application.
A second obtaining module 703, configured to obtain a resource file of the target service application from the resource path.
And the display module 704 is configured to display a page of the target service application in a preset webpage according to the resource file of the target service application.
Further, the second obtaining module 703 is specifically configured to obtain, according to the resource path, the resource file of the target service application from the web server corresponding to the resource path if the resource path has the web page identifier.
Further, the second obtaining module 703 is specifically further configured to obtain, if the resource path has a file identifier, a resource file of the target service application from a folder indicated by the resource path in the preset web server according to the resource path.
Further, the second obtaining module 703 is specifically further configured to preset the latest login information of the web page from the identity file of the preset web page; determining whether the latest login information is within a preset login period; and if the latest login information is within the preset login period, acquiring the resource file of the target service application from the resource path.
Further, the second obtaining module 703 is specifically further configured to obtain a resource file of a login sub-application of the preset user center application if the latest login information is not within the preset login period; and displaying a page of the login sub-application in a preset webpage according to the resource file of the login sub-application.
Further, the second obtaining module 703 is specifically further configured to receive a login operation input through a page of the login sub-application; and if the login operation is successful, acquiring the resource file of the target service application from the resource path.
Further, the response module 701 is further configured to respond to a file downloading operation input through a page of the target service application, obtain a downloading state corresponding to the file downloading operation based on a gateway object pre-installed on a preset web page, and display the downloading state in a preset downloading area in the preset web page.
Further, the display module 704 is further configured to obtain a text object model mounted on the preset webpage; according to the text object model, displaying page elements corresponding to the text object model in a preset webpage; and displaying the page of the target service application in the preset webpage according to the resource file of the target service application.
Fig. 8 is a schematic diagram of an electronic device provided in an embodiment of the present application, where the electronic device may be a device with a computing processing function.
The electronic device includes: a processor 801, and a storage medium 802. The processor 801 and the storage medium 802 are connected by a bus.
The storage medium 802 is used to store a program, and the processor 801 calls the program stored in the storage medium 802 to execute the above-described method embodiment. The specific implementation manner and the technical effect are similar, and are not repeated here.
Optionally, the present invention further provides a storage medium comprising a program, which when executed by a processor is adapted to carry out the above-described method embodiments. In the several embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the invention. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.

Claims (10)

1. A web application access method, the method comprising:
responding to an access request aiming at a target service application and input through a preset webpage, and acquiring a distribution configuration file of the preset webpage; the distribution configuration file is pre-configured with: the corresponding relation between the identifiers of a plurality of business applications and the resource paths;
acquiring a resource path corresponding to the target service application from the distribution configuration file according to the identification of the target service application;
acquiring a resource file of the target service application from the resource path;
and displaying the page of the target service application in the preset webpage according to the resource file of the target service application.
2. The method of claim 1, wherein the obtaining the resource file of the target business application from the resource path comprises:
and if the resource path has the webpage identifier, acquiring the resource file of the target service application from a webpage server corresponding to the resource path according to the resource path.
3. The method of claim 1, wherein the obtaining the resource file of the target business application from the resource path comprises:
and if the resource path has a file identifier, acquiring the resource file of the target service application from a folder indicated by the resource path in a preset web server according to the resource path.
4. The method of claim 1, wherein prior to the obtaining the resource file of the target business application from the resource path, the method further comprises:
latest login information of the preset webpage is obtained from the identity file of the preset webpage;
determining whether the latest login information is within a preset login period;
the obtaining the resource file of the target service application from the resource path includes:
and if the latest login information is within the preset login period, acquiring the resource file of the target service application from the resource path.
5. The method according to claim 4, wherein the method further comprises:
if the latest login information is not in the preset login period, acquiring a resource file of a login sub-application of a preset user center application;
and displaying the page of the login sub-application in the preset webpage according to the resource file of the login sub-application.
6. The method of claim 5, wherein the method further comprises:
receiving a login operation input through a page of the login sub-application;
the obtaining the resource file of the target service application from the resource path further includes:
and if the login operation is successful, acquiring the resource file of the target service application from the resource path.
7. The method according to claim 1, wherein the method further comprises:
responding to file downloading operation input through the page of the target service application, acquiring a downloading state corresponding to the file downloading operation based on a gateway object pre-mounted by the preset webpage, and displaying the downloading state in a preset downloading area in the preset webpage.
8. The method of claim 1, wherein the method further comprises, prior to displaying the page of the target business application in the preset web page, according to the resource file of the target business application:
acquiring a text object model mounted on the preset webpage;
the displaying the page of the target service application in the preset webpage according to the resource file of the target service application includes:
according to the text object model, displaying page elements corresponding to the text object model in the preset webpage;
and displaying the page of the target service application in the preset webpage according to the resource file of the target service application.
9. An electronic device, comprising: a processor, a storage medium, the processor and the storage medium being connected through a bus communication, the storage medium storing program instructions executable by the processor, the processor invoking a program stored in the storage medium to perform the steps of the web application access method according to any of claims 1 to 8.
10. A storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the web application access method of any of claims 1 to 8.
CN202311507068.4A 2023-11-13 2023-11-13 Webpage application access method, equipment and storage medium Pending CN117390324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311507068.4A CN117390324A (en) 2023-11-13 2023-11-13 Webpage application access method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311507068.4A CN117390324A (en) 2023-11-13 2023-11-13 Webpage application access method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117390324A true CN117390324A (en) 2024-01-12

Family

ID=89466574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311507068.4A Pending CN117390324A (en) 2023-11-13 2023-11-13 Webpage application access method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117390324A (en)

Similar Documents

Publication Publication Date Title
CN108427705B (en) Electronic device, distributed system log query method and storage medium
US10601633B2 (en) Virtual window screen renderings using application connectors
US9372885B2 (en) System and methods thereof for dynamically updating the contents of a folder on a device
CN102073507B (en) Method, device and system for calling widget
US8799355B2 (en) Client server application manager
US9910858B2 (en) System and method for providing contextual analytics data
US20110271201A1 (en) Decentralized Contextual Collaboration Across Heterogeneous Environments
US20120173657A1 (en) Cloud-based web page applications for extending functionality
CN112653618A (en) Gateway registration method and device of micro-service application API endpoint
CN113204345A (en) Page generation method and device, electronic equipment and storage medium
US20240179139A1 (en) Auto-Form Fill Based Website Authentication
US9350738B2 (en) Template representation of security resources
CN109491733B (en) Interface display method based on visualization and related equipment
CN114385382A (en) Light application access method and device, computer equipment and storage medium
CN110674426B (en) Webpage behavior reporting method and device
CN111817944A (en) Picture sharing method and device and electronic equipment
CN117390324A (en) Webpage application access method, equipment and storage medium
CN114185592A (en) Multi-version coexisting target item access method, device, equipment and storage medium
TWI742429B (en) System for displaying signature message of portable document format file in web page and method thereof
CN103812908A (en) Cloud file processing method and system
CN112783842A (en) Log collection method and device
CN115150191B (en) Cross-region cloud management platform information interaction method and related components
CN104639510B (en) Import the method and system of data
US11422668B1 (en) Seamless application updates
CN109729214B (en) Negative one-screen display and authentication method, device and apparatus

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