Webpage jump method and system

By obtaining the application address and relative address of the target application through the tag frame, the problem of complex webpage embedding with iframe tags is solved, the page navigation method is simplified, and maintenance efficiency and security are improved.

CN114461964BActive Publication Date: 2025-12-16INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210114580.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-30
Publication Date
2025-12-16
Estimated Expiration
2042-01-30

AI Technical Summary

Technical Problem

In existing technologies, embedding web pages using the iframe tag is complex and difficult to maintain, resulting in complex and unmaintainable code when embedding web pages in platform applications.

Method used

By using a tag frame to obtain the target application's application address and relative address, the access address is determined, and a redirect is performed, avoiding setting a tag frame for each access page and only updating the corresponding menu data.

Benefits of technology

It simplifies the application page navigation method, improves maintenance efficiency, avoids the need to update the entire tag framework when the page is updated, and realizes flexible permission verification and information encryption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114461964B_ABST
    Figure CN114461964B_ABST
Patent Text Reader

Abstract

The application discloses a webpage jump method and system. It is related to the field of financial technology. The method comprises the following steps: in response to an access request, obtaining a relative address of a target page to be accessed, wherein the relative address is an address of the target page relative to a target application, the target application is an application to which the target page belongs, and the target application is one of a plurality of applications of an application platform; obtaining an application address of the target application through a label framework, wherein the label framework and the target application are in one-to-one correspondence; determining an access address of the target page according to the application address and the relative address through the label framework; and jumping to the target page according to the access address. Through the application, the problem that platform application embedding in a webpage can only be realized through an iframe label in the related art, and the embedding mode is complex and difficult to maintain is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of financial technology, in particular to a webpage jump method and system. BACKGROUND

[0002] Currently, embedding one webpage in another webpage can be realized by using an iframe tag. The iframe can display the embedded webpage as it is. If the webpage is written as a page for unified style, the webpage can be nested by using the iframe to increase the code reusability.

[0003] In the prior art operation platform, multiple applications need to be embedded for decoupled development. The above operation platform is an Internet financial intelligent operation platform based on big data and artificial intelligence as the basis and technical core, and establishes a unified platform, full channel, digitalization and intelligentization. If multiple pages of multiple applications are embedded, a large number of iframe pages or tags need to be configured, which causes code complexity, difficulty in maintenance and other problems.

[0004] In view of the problem that the platform application embedded webpage in the related art can only be realized by using an iframe tag, and the embedded mode is complex and difficult to maintain, currently, no effective solution has been proposed. SUMMARY

[0005] The main purpose of the present application is to provide a webpage jump method and system to solve the problem that the platform application embedded webpage in the related art can only be realized by using an iframe tag, and the embedded mode is complex and difficult to maintain.

[0006] In order to achieve the above purpose, according to one aspect of the present application, a webpage jump method is provided. The method comprises: in response to an access request, obtaining a relative address of a target page accessed, wherein the relative address is an address of the target page relative to a target application, the target application is an application to which the target page belongs, the target application comprises at least one page, and the target page is one of the at least one page; obtaining an application address of the target application through a label frame, wherein the label frame and the target application correspond to each other; determining an access address of the target page according to the application address and the relative address through the label frame; and jumping to the target page according to the access address.

[0007] Optionally, in response to the access request, the obtaining of the relative address of the target page comprises: searching a menu data table in a database according to the access request to determine target menu data corresponding to the access request, wherein the menu data table comprises a plurality of menu data, the menu data comprises a relative address of a corresponding access page, the target page is one of the access pages, and the target menu data is one of the menu data; and determining the relative address of the target page according to the target menu data.

[0008] Optionally, the searching of the menu data table in the database according to the access request to determine the target menu data corresponding to the access request comprises: determining a data identifier of the target menu data according to the access request, wherein the menu data further comprises a corresponding data identifier; and searching the menu data table according to the data identifier to determine the target menu data corresponding to the access request.

[0009] Optionally, after the searching of the menu data table in the database according to the access request to determine the target menu data corresponding to the access request, the method further comprises: determining whether the target page is set with access permission according to the target menu data; determining that the target page is set with access permission in a case where the target menu data comprises a permission parameter of the target page, wherein the permission parameter is used for the target page to perform permission verification on the access request; and obtaining permission data of the access request according to the permission parameter.

[0010] Optionally, the method further comprises: determining transmission data carried by the access request according to the access request, wherein the transmission data is data transmitted by the access request to the target page when the access request accesses the target page.

[0011] Optionally, the method further comprises: determining an encryption key according to the target menu data, wherein the menu data further comprises the encryption key; encrypting the permission data and / or the transmission data of the access request according to the encryption key to obtain encrypted data; and transmitting the encrypted data to the target page in a case where the target page is jumped to according to the access address, wherein the target page decrypts the encrypted data by using a corresponding decryption key to obtain the permission data and / or the transmission data after receiving the encrypted data.

[0012] Optionally, the method further comprises: obtaining the application address of the target application stored in a storage service of an application platform; monitoring whether the application address of the target application is modified; and updating the application address in the storage service in a case where the application address is modified.

[0013] Optionally, determining, by the tag framework, the access address of the target page according to the application address and the relative address comprises: combining the application address and the relative address to determine the access address.

[0014] To achieve the above object, according to another aspect of the present application, a web page jump device is provided. The device comprises: a first obtaining module, which obtains a relative address of a target page accessed in response to an access request, wherein the relative address is an address of the target page relative to a target application, the target application is an application to which the target page belongs, the target application comprises at least one page, and the target page is one of the at least one page; a second obtaining module, which obtains an application address of the target application through a tag framework, wherein the tag framework and the target application are in one-to-one correspondence; a determining module, which determines an access address of the target page according to the application address and the relative address through the tag framework; and a jump module, which jumps to the target page according to the access address.

[0015] According to another aspect of the present application, a computer readable storage medium is also provided, which is used to store a program, wherein the program executes the web page jump method according to any one of the above.

[0016] According to another aspect of the present application, an electronic device is also provided, which comprises one or more processors and a memory, wherein the memory is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the web page jump method according to any one of the above.

[0017] According to the application, the following steps are adopted: in response to an access request, a relative address of an accessed target page is acquired in response to the access request, wherein the relative address is an address of the target page relative to a target application, the target application is an application to which the target page belongs, the target application includes at least one page, and the target page is one of the at least one page; an application address of the target application is acquired through a label frame, wherein the label frame and the target application are in one-to-one correspondence; an access address of the target page is determined through the label frame according to the application address and the relative address; and the target page is jumped to according to the access address. By acquiring the relative address of the target page relative to the target application, and acquiring the application address of the target application through the label frame, the jump of the target page is realized according to the relative address and the application address, the purpose that the label frame of one application can jump to access multiple access pages of the application is achieved, and when the access page changes, only the menu data corresponding to the access page needs to be updated, the label frame needs to be set for each access page, and the access page can only be accessed through the set label frame, and the situation that the access page needs to be updated and the entire label frame needs to be updated also does not occur, the application page jump mode is simplified, the application page maintenance efficiency is improved, and the technical effects are achieved. Further, through the application, the problem that the application platform embedded web page can only be realized through an iframe label frame in the related art, and the embedded mode is complex and not easy to maintain is solved. BRIEF DESCRIPTION OF DRAWINGS

[0018] The accompanying drawings, which form a part of this application, are included to provide a further understanding of the application and are incorporated in and constitute a part of this application. The embodiments of this application, and their

[0019] Figure 1 is a flowchart of a web page jump method according to an embodiment of the application;

[0020] Figure 2 is a schematic diagram of application access according to an embodiment of the application;

[0021] Figure 3 is a schematic diagram of a web page jump device according to an embodiment of the application;

[0022] Figure 4 is a schematic diagram of an electronic device according to an embodiment of the application. DETAILED DESCRIPTION

[0023] It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0024] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application, so that those skilled in the art can better understand the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work should fall within the scope of the present application.

[0025] It should be noted that the terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0026] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for display, analyzed data, etc.) involved in the present disclosure are all information and data authorized by the user or authorized by all parties.

[0027] The present application will be described below in conjunction with the preferred implementation steps, Figure 1 is a flowchart of a web page jump method provided by the embodiments of the present application, as Figure 1 shown, the method comprises the following steps:

[0028] Step S101, in response to an access request, obtaining a relative address of a target page accessed, wherein the relative address is an address of the target page relative to a target application, the target application is an application to which the target page belongs, the target application comprises at least one page, and the target page is one of the at least one page;

[0029] Step S102, obtaining an application address of the target application through a label frame, wherein the label frame and the target application are in one-to-one correspondence;

[0030] Step S103, determining an access address of the target page according to the application address and the relative address through the label frame;

[0031] Step S104, jumping to the target page according to the access address.

[0032] The relative address of the target page accessed is obtained in response to the access request through the above steps, wherein the relative address is the address of the target page relative to a target application, the target application is an application to which the target page belongs, the target application includes at least one page, and the target page is one of the at least one page; the application address of the target application is obtained through a label frame, wherein the label frame and the target application are in one-to-one correspondence; the access address of the target page is determined by the label frame according to the application address and the relative address; and the target page is jumped to according to the access address. By obtaining the relative address of the target page relative to the target application, and obtaining the application address of the target application through the label frame, the jump of the target page is realized according to the relative address and the application address, so that the purpose that the label frame of one application can jump to access multiple access pages of the application is achieved. Moreover, when the access page changes, only the menu data corresponding to the access page needs to be updated, so that the technical effects of simplifying the application page jump mode and improving the application page maintenance efficiency are achieved. Furthermore, through the present application, the problem that the application platform embedded web page can only be realized through the iframe label frame in the related art, and the embedded mode is complex and difficult to maintain is solved.

[0033] The target page can be a page responded by the application platform to the access request, wherein the application platform includes one or more applications, any reference can also include one or more pages, that is, the target page can be any page in any application of the application platform, and the target application is an application to which the target page belongs.

[0034] The label frame can be used for identifying the target application and searching the application address. The application address of the target application can be determined through the label frame. The label frame can be an iframe label frame. The label frame can be set for any application of the application platform, that is, the label frame and the target application have a one-to-one correspondence. When the iframe label frame is set, manual programming is required for specific pages, which is not only difficult to set and low in efficiency, but also requires manual programming intervention in the subsequent update and maintenance process, which is difficult to maintain and low in efficiency.

[0035] The relative address can be an address of the target page relative to the target application, and can be used to access the target page in combination with an application address of the target application. Since the existing technology accesses the target page by setting a label for any target page, there are technical problems of complex implementation and low efficiency. Therefore, the embodiment uses the relative address in combination with the target application address to access the target page. The relative address can be stored in a menu data table of a database of the application platform. The menu data table can store menu data of any page of any application. The menu data can include data identifiers that identify the target page, relative addresses corresponding to the accessed page, and permission data of the setting permission of the target page.

[0036] The data identifier can be used to find the menu data of the target page in the menu data table. Then, the relative address can be found in the menu data. The access request can also be verified for permission according to whether a permission parameter is set in the menu data. It should be noted that the relative address and the menu data table storing the relative address achieve the purpose of no longer accessing the page by setting a label frame for all pages.

[0037] By obtaining the relative address of the target page relative to the target application and obtaining the application address of the target application through the label frame, the target page is jumped according to the relative address and the application address. The purpose of avoiding that multiple pages of an application can only be accessed by setting a label is achieved. The technical effects of simplifying the page jump mode of the application and improving the maintenance efficiency of the application page are achieved. Furthermore, through the present application, the problem that the platform application embedded in the web page can only be implemented through an iframe label in the related art is solved. The embedded mode is complex and not easy to maintain.

[0038] Optionally, in response to the access request, the relative address of the accessed target page is obtained by: finding the menu data table in the database according to the access request to determine the target menu data corresponding to the access request, wherein the menu data table includes a plurality of menu data, the menu data includes a relative address corresponding to an accessed page, the target page is one of the plurality of accessed pages, and the target menu data is one of the plurality of menu data; and determining the relative address of the target page according to the target menu data.

[0039] The relative address of the target page can be stored in a menu data table of a database of the application platform, wherein the menu data table can include menu data of any page of the application platform, and the relative address of any page of the application platform relative to the application can be stored in the menu data, that is, the relative address of the target page can be stored in target menu data of the menu data table of the database; the menu data table can be searched in the database according to the access request for accessing the target page, and then the target menu data of the target page can be determined in the menu data table, so that the relative address of the target page can be determined according to the target menu data.

[0040] The relative address of the target page is searched by setting the menu data table, which avoids searching and determining the target page by using the frame tag, solves the problem that searching any web page in the prior art must be determined by setting the iframe tag, and achieves the technical effects of simplifying the page jump implementation manner and improving the processing efficiency of the application platform.

[0041] Optionally, searching the menu data table in the database according to the access request and determining the target menu data corresponding to the access request include: determining the data identifier of the target menu data according to the access request, wherein the menu data further includes the corresponding data identifier; and searching the menu data table according to the data identifier to determine the target menu data corresponding to the access request.

[0042] The data identifier of the target menu data in the target menu data can be determined according to the access data carried in the access request for accessing the target page, wherein the data identifier can determine the mapping relationship between the target page and the menu data, the menu data table in the database can be searched according to the data identifier, and then the target menu data of the target page accessed can be determined.

[0043] The data identifier of the target menu data is determined according to the access request, and the target menu data is searched in the menu data table according to the data identifier, which achieves the technical effect of improving the searching efficiency of the target menu data of the target page.

[0044] Optionally, after searching the menu data table in the database according to the access request and determining the target menu data corresponding to the access request, the method further includes: determining whether the target page is set with access permission according to the target menu data; determining that the target page is set with access permission in a case where the target menu data includes a permission parameter of the target page, wherein the permission parameter is used for the target page to perform permission verification on the access request; and obtaining permission data of the access request according to the permission parameter.

[0045] The target page whether access permission is set can be determined according to the target menu data, wherein the access permission can be whether the user has the access permission of the target page by the application platform, can be whether the application where the current page is located has the jump permission of jumping to the target page, and can be whether the access address in the access request set by the target page has the access permission of the target page; in the case that the permission parameter of the target page is included in the target menu data, it is determined that the target page sets the access permission, and when the target page is accessed, the permission data carried in the access request can be obtained according to the permission parameter, and then the access request can be verified by the permission parameter, and the target page can be jumped to after the verification is passed.

[0046] The access permission of the target page set by the menu data achieves the purpose of flexibly setting the access permission setting of the application platform, and realizes the technical effect of improving the security of the application webpage.

[0047] Optionally, the method further includes: determining the transmission data carried in the access request according to the access request, wherein the transmission data is the data transmitted to the target page when the target page is accessed.

[0048] The transmission data can include the address of the current page of the current application, data identifier, user login information and the like, and the transmission data can be the data transmitted to the target page when the target page is accessed. According to the access request, the transmission data carried in the access request can be determined, and the technical effect of improving the access efficiency of the target page is realized.

[0049] Optionally, the encryption key is determined according to the target menu data, wherein the menu data further includes the encryption key; the permission data and / or the transmission data of the access request are encrypted according to the encryption key to obtain encrypted data; and in the case that the target page is jumped to according to the access address, the encrypted data is transmitted to the target page, wherein the target page receives the encrypted data, and the permission data and / or the transmission data are obtained by decryption through the corresponding decryption key.

[0050] The encryption key can be stored in the target menu data, and is used for encrypting the permission data and / or the transmission data of the access request to obtain the encryption key, thereby enhancing the confidentiality of the information. In the case that the target page is jumped to according to the access request, the encrypted data can be transmitted to the target page, and the target page receives the encrypted data, and the encrypted transmission data is decrypted through the corresponding decryption key to obtain the permission data and / or the transmission data.

[0051] For example, the iframe request (i.e., the above-mentioned access request) before encryption: https: / / domain / page route / ?data={“encrypData”:{“route”:“IG0072”,“tellerInfo”:{“tellerno”:“001191870”,“tellername”:“Zhang San”,“bankgrade”:“1”,“structname”:“General Headquarters”,“areacode”:“8888”,“domain”:“1”,“tellertype”:“1”,“syskind”:“1”},“timestamp”:“1234567”,“sessionId”:“com.abcd.ebms.mysession:fbb4501f64b7191fd5bf78071c6f151861ab18cbc74ad2351d43cd66cc72932bJfu2uGTBrgbEfKJXc5f8L141”}}; and the request after encryption: https: / / domain / page route / ?data=c773d14afff399cee61b01b4c291fd9930e226a97bbf2ce773367af2f3fdb03a444557923c71acf83f03e2aaeb600d60b833498441a066183628fd223bf786427f0023d8494516334b0418830237da03d60984623df7b650bf5c202af5e76a8a513e9e4b.

[0052] By encrypting the transmission data, the purpose of keeping the transmission data secret is achieved, and the technical effect of improving information security is realized.

[0053] Optionally, before obtaining the application address of the target application through the label frame, the method further includes: obtaining the application address of the target application stored in a storage service of the application platform; monitoring whether the application address of the target application is modified; and updating the application address in the storage service in a case where the application address is modified.

[0054] The application address of the target application can be stored in the storage service of the application platform, used to combine with a relative address of a target page to access the target page, and can also be monitored to determine whether the application address is modified, and the application address in the storage service can be updated in a case where the application address is modified, wherein the application address can be a domain name address of the target application.

[0055] For example, the domain name addresses of different applications are stored in the PAAS variable (i.e., in the storage service of the application platform), and if the application modifies the domain name, the code does not need to be modified, making the configuration more flexible.

[0056] By storing the application address of the target application in the storage service of the application platform and monitoring whether the application address is modified, the application address of the target application is flexibly configured, the problem in the prior art that the application address can only be modified by modifying the code is solved, and the technical effects of improving the flexibility and efficiency of application domain name configuration are achieved.

[0057] Optionally, determining the access address of the target page according to the application address and the relative address by the tag framework includes: combining the application address and the relative address to determine the access address.

[0058] By the tag framework, the access address of the target page can be determined according to the application address of the target application and the relative address of the target page relative to the target application, that is, the application address and the relative address are combined to determine the access address of the target page, and the target page can be jumped to according to the access address.

[0059] The webpage jumping method provided by the embodiment of the application responds to an access request, obtains a relative address of an accessed target page, wherein the relative address is an address of the target page relative to a target application, the target application is an application to which the target page belongs, the target application includes at least one page, and the target page is one of the at least one page; an application address of the target application is obtained by a tag framework, wherein the tag framework and the target application are in one-to-one correspondence; an access address of the target page is determined by the tag framework according to the application address and the relative address; and the target page is jumped to according to the access address. By obtaining the relative address of the target page relative to the target application and obtaining the application address of the target application by the tag framework, the jumping of the target page is implemented according to the relative address and the application address, the purpose that one tag framework of one application can jump to access multiple access pages of the application is achieved, when the access page changes, only the menu data corresponding to the access page needs to be updated, the tag framework does not need to be set for each access page, and the access page can only be accessed by the set tag framework, the situation that the access page needs to be updated and the entire tag framework needs to be updated is avoided, the technical effects of simplifying the application page jumping mode and improving the application page maintenance efficiency are achieved, and the problem that the application platform embedded webpage can only be implemented by the iframe tag framework in the related art is solved, and the embedded mode is complex and not easy to maintain.

[0060] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0061] It should be noted that this application also provides an optional implementation method, which will be described in detail below.

[0062] This embodiment provides a method for flexibly embedding application web pages, which will be described in detail below:

[0063] This implementation proposes a method for dynamically obtaining page routes for different pages embedded in the same application. Only one iframe tag (i.e., the aforementioned tag frame) needs to be configured for the same application. Subsequent additions of pages only require configuration of the database menu routing script, simplifying page management and configuration.

[0064] Figure 2 This is a schematic diagram of application access according to the embodiments of this application. Other application access methods in this embodiment are as follows: Figure 2 As shown.

[0065] The main application configures the database menu script for the page to redirect to, for example:

[0066] INSERT INTO omg_function_info(AUTOINCRE,FUNCID,FUNCNAME,BANKGRADE,MODULEID,MENUORDER,OPURL,FUNCTYPE,BRNODEPARTMENT,WAITDEAL,READYDEAL,MENULEVEL,DOMAIN,FIELDIFIELD2,FIE LD3,FIELD4,FIELD5)VALUES(null,'0073','Journey Configuration',1',"017','1' / iopweb / JourneyManage,l',",",' / iopweb / JourneyAudit',' / iopweb / JourneyAuditDetail,'2','1',",",",",");

[0067] The backend interface obtains the menu data from a database table (i.e., the menu data table described above), and the menu data includes the name of the menu, permissions (parameters), a routing address (i.e., a relative address of a target page relative to a target application), and the like. The routing address includes an application to be jumped to and a page routing flag, for example, "iopweb" in " / iopweb / JourneyManage" represents an application name, and "JourneyManage" represents a page routing. After a user clicks the menu, the user is jumped to an iframe embedded page (i.e., an application address of the target application described above), and a domain name address of the corresponding application (i.e., an access address of the target page) is spliced in the page to complete the jump.

[0068] The main application obtains the menu data from a database table through a backend interface, and the menu data includes the name of the menu, permissions, a routing address, and the like. The routing address includes an application to be jumped to and a page routing flag.

[0069] After a user clicks the menu, the user is jumped to an iframe embedded page, and a domain name address of the corresponding application is spliced in the page to complete the jump.

[0070] When different applications are accessed through iframes, different encryption keys are dynamically obtained for different applications, and the parameters are encrypted, thereby enhancing the confidentiality of information.

[0071] Request of iframe-before encryption:

[0072] https: / / domain / page routing / ?data={“encrypData”:{“route”:“IG0072”,“tellerInfo”:{“tellerno”:“001191870”,“tellername”:“Zhang San”,“bankgrade”:“1”,“structname”:“General Headquarters”,“areacode”:“8888”,“domain”:“1”,“tellertype”:“1”,“syskind”:“1”},“timestamp”:“1234567”,“sessionId”:“com.abcd.ebms.mysession:fbb4501f64b7191fd5bf78071c6f151861ab18cbc74ad2351d43cd66cc72932bJfu2uGTBrgbEfKJXc5f8L141”}}.

[0073] Request-after encryption:

[0074] https: / / domain / page route / ?data=c773d14afff399cee61b01b4c291fd9930e226a97bbf2ce773367af2f3fdb03a444557923c71acf83f03e2aaeb600d60b833498441a066183628fd223bf786427f0023d8494516334b0418830237da03d60984623df7b650bf5c202af5e76a8a513e9e4b.

[0075] The domain name address and the key of different applications are stored by the PAAS variable (i.e., the storage service of the application platform), and if the application modifies the domain name, the code does not need to be modified, so that the configuration is more flexible.

[0076] The embodiment makes the same application only need to configure one iframe tag, and subsequent new pages only need to configure the database menu routing script, so that the page management and configuration are simplified. When accessing different applications through the iframe, different encryption keys are dynamically obtained for different applications, and the parameter transmission is encrypted, so that the information security is enhanced. The domain name address and the key of different applications are stored by the PAAS variable, and if the application modifies the domain name, the code does not need to be modified, so that the configuration is more flexible.

[0077] The embodiment of the application further provides a webpage jump device. It should be noted that the webpage jump device of the embodiment of the application can be used to execute the webpage jump method provided by the embodiment of the application. The webpage jump device provided by the embodiment of the application is introduced below.

[0078] Figure 3 is a schematic diagram of the webpage jump device according to the embodiment of the application. As shown in Figure 3 , the device includes a first acquisition module 30, a second acquisition module 32, a determination module 34, a jump module 36, and the device is described in detail below.

[0079] The first acquisition module 30 acquires the relative address of the target page accessed in response to the access request, wherein the relative address is the address of the target page relative to the target application, the target application is the application to which the target page belongs, and the target application is one of the plurality of applications of the application platform; the second acquisition module 32 is connected with the first acquisition module 30 and acquires the application address of the target application through the label frame, wherein the label frame and the target application are in one-to-one correspondence; the determination module 34 is connected with the second acquisition module 32 and determines the access address of the target page according to the application address and the relative address through the label frame; and the jump module 36 is connected with the determination module 34 and jumps to the target page according to the access address.

[0080] The webpage jump device provided by the embodiment of the present application, the first obtaining module 30 obtains the relative address of the target page in response to the access request, wherein the relative address is the address of the target page relative to the target application, the target application is the application to which the target page belongs, the target application includes at least one page, and the target page is one of the at least one page; the second obtaining module 32 obtains the application address of the target application through the label frame, wherein the label frame and the target application are in one-to-one correspondence; the determining module 34 determines the access address of the target page according to the application address and the relative address through the label frame; and the jump module 36 jumps to the target page according to the access address. By obtaining the relative address of the target page relative to the target application and obtaining the application address of the target application through the label frame, the jump of the target page is realized according to the relative address and the application address, the purpose that multiple access pages of an application can be jumped and accessed through the label frame of the application is achieved, and when the access page changes, only the corresponding menu data needs to be updated, the label frame of each access page does not need to be set, the access page can be accessed only through the set label frame, and the situation that the entire label frame needs to be updated when the access page is updated does not occur, the technical effects that the application page jump mode is simplified and the application page maintenance efficiency is improved are achieved, and further, through the present application, the problem that the application platform embedded webpage can only be realized through the iframe label frame in the related art, the embedded mode is complex, and the maintenance is not easy is solved.

[0081] Optionally, in response to the access request, the relative address of the target page is obtained, including: searching the menu data table in the database according to the access request to determine the target menu data corresponding to the access request, wherein the menu data table includes multiple menu data, the menu data includes the relative address of the corresponding access page, the target page is one of the multiple access pages, and the target menu data is one of the multiple menu data; and the relative address of the target page is determined according to the target menu data.

[0082] Optionally, searching the menu data table in the database according to the access request to determine the target menu data corresponding to the access request includes: determining the data identifier of the target menu data according to the access request, wherein the menu data further includes the corresponding data identifier; and searching the menu data table according to the data identifier to determine the target menu data corresponding to the access request.

[0083] Optionally, after searching the menu data table in the database according to the access request to determine the target menu data corresponding to the access request, the method further includes: determining whether the target page is set with access permission according to the target menu data; in the case that the target menu data includes the permission parameter of the target page, determining that the target page is set with access permission, wherein the permission parameter is used for the target page to perform permission verification on the access request; and obtaining the permission data of the access request according to the permission parameter.

[0084] Optionally, the method further comprises: determining transmission data carried by the access request according to the access request, wherein the transmission data is data transmitted to the target page by the access request when accessing the target page.

[0085] Optionally, the encryption key is determined according to the target menu data, wherein the menu data further comprises the encryption key; the permission data and / or the transmission data of the access request are encrypted according to the encryption key to obtain encrypted data; and the encrypted data is transmitted to the target page in the case of jumping to the target page according to the access address, wherein the target page decrypts the encrypted data by using a corresponding decryption key to obtain the permission data and / or the transmission data.

[0086] Optionally, before obtaining the application address of the target application through the tab frame, the method further comprises: obtaining the application address of the target application stored in a storage service of the application platform; monitoring whether the application address of the target application is modified; and updating the application address in the storage service in the case that the application address is modified.

[0087] Optionally, the method of determining the access address of the target page according to the application address and the relative address through the tab frame comprises: combining the application address and the relative address to determine the access address.

[0088] The webpage jump device comprises a processor and a memory, the first obtaining module 30, the second obtaining module 32, the determining module 34, the jump module 36 and the like are stored in the memory as program units, and the corresponding functions are realized by the processor executing the program units stored in the memory.

[0089] The processor comprises a core, and the core retrieves the corresponding program units from the memory. The core can be one or more, and the core parameters are adjusted to solve the problems of low accuracy and poor stability in the related art in which the performance of the bank manager is evaluated.

[0090] The memory can comprise a non-permanent memory in a computer readable medium, a random access memory (RAM) and / or a non-volatile memory such as a read-only memory (ROM) or a flash memory (flash RAM), and the memory comprises at least one memory chip.

[0091] The embodiment of the present application provides a computer readable storage medium, which stores a program, and the program is executed by a processor to realize the webpage jump method.

[0092] The embodiment of the present application provides a processor, which is used for running a program, and the program is executed to perform the webpage jump method.

[0093] AsFigure 4 As shown in the embodiments of the present application, an electronic device 40 is provided, which comprises a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: in response to an access request, a relative address of a target page accessed is obtained, wherein the relative address is an address of the target page relative to a target application, the target application is an application to which the target page belongs, the target application comprises at least one page, and the target page is one of the at least one page; an application address of the target application is obtained through a tab frame, wherein the tab frame and the target application are in one-to-one correspondence; an access address of the target page is determined according to the application address and the relative address through the tab frame; and the target page is jumped to according to the access address.

[0094] Optionally, in response to the access request, the relative address of the target page accessed is obtained by: searching a menu data table in a database according to the access request to determine target menu data corresponding to the access request, wherein the menu data table comprises a plurality of menu data, the menu data comprises a relative address of a corresponding access page, the target page is one of the plurality of access pages, and the target menu data is one of the plurality of menu data; and the relative address of the target page is determined according to the target menu data.

[0095] Optionally, searching the menu data table in the database according to the access request to determine the target menu data corresponding to the access request comprises: determining a data identifier of the target menu data according to the access request, wherein the menu data further comprises a corresponding data identifier; and searching the menu data table according to the data identifier to determine the target menu data corresponding to the access request.

[0096] Optionally, after searching the menu data table in the database according to the access request to determine the target menu data corresponding to the access request, the method further comprises: determining whether the target page is set with access permission according to the target menu data; in a case where the target menu data comprises a permission parameter of the target page, determining that the target page is set with access permission, wherein the permission parameter is used for the target page to perform permission verification on the access request; and obtaining permission data of the access request according to the permission parameter.

[0097] Optionally, the method further comprises: determining transmission data carried by the access request according to the access request, wherein the transmission data is data transmitted by the access request to the target page when the target page is accessed.

[0098] Optionally, an encryption key is determined according to the target menu data, wherein the menu data further comprises the encryption key; the permission data and / or the transmission data of the access request are encrypted according to the encryption key to obtain encrypted data; and in a case where the target page is jumped to according to the access address, the encrypted data is transmitted to the target page, wherein the target page receives the encrypted data, and the permission data and / or the transmission data are obtained by decryption through a corresponding decryption key.

[0099] Optionally, before obtaining the application address of the target application through the tag framework, the method further comprises: obtaining the application address of the target application stored in a storage service of the application platform; monitoring whether the application address of the target application is modified; and updating the application address in the storage service in the case that the application address is modified.

[0100] Optionally, determining the access address of the target page according to the application address and the relative address through the tag framework comprises: combining the application address and the relative address to determine the access address.

[0101] The device herein can be a server, a PC, a PAD, a mobile phone, etc.

[0102] The application further provides a computer program product adapted to execute the program of the following method steps when executed on a data processing device: obtaining a relative address of a target page accessed in response to an access request, wherein the relative address is an address of the target page relative to a target application, the target application is an application to which the target page belongs, and the target application is one of a plurality of applications of an application platform; obtaining an application address of the target application through a tag framework, wherein the tag framework and the target application are in one-to-one correspondence; determining an access address of the target page according to the application address and the relative address through the tag framework; and jumping to the target page according to the access address.

[0103] Optionally, obtaining the relative address of the target page accessed in response to the access request comprises: searching a menu data table in a database according to the access request to determine target menu data corresponding to the access request, wherein the menu data table comprises a plurality of menu data, the menu data comprises a relative address of a corresponding access page, the target page is one of the plurality of access pages, and the target menu data is one of the plurality of menu data; and determining the relative address of the target page according to the target menu data.

[0104] Optionally, searching the menu data table in the database according to the access request to determine the target menu data corresponding to the access request comprises: determining a data identifier of the target menu data according to the access request, wherein the menu data further comprises a corresponding data identifier; and searching the menu data table according to the data identifier to determine the target menu data corresponding to the access request.

[0105] Optionally, after searching the menu data table in the database according to the access request to determine the target menu data corresponding to the access request, the method further comprises: determining whether the target page is set with access permission according to the target menu data; determining that the target page is set with access permission in the case that the target menu data comprises a permission parameter of the target page, wherein the permission parameter is used for the target page to perform permission verification on the access request; and obtaining permission data of the access request according to the permission parameter.

[0106] Optionally, the method further comprises: determining transmission data carried by the access request according to the access request, wherein the transmission data is data transmitted to the target page by the access request when accessing the target page.

[0107] Optionally, the encryption key is determined according to the target menu data, wherein the menu data further comprises the encryption key; the permission data and / or the transmission data of the access request are encrypted according to the encryption key to obtain encrypted data; and the encrypted data is transmitted to the target page in the case of jumping to the target page according to the access address, wherein the target page decrypts the encrypted data by using a corresponding decryption key to obtain the permission data and / or the transmission data.

[0108] Optionally, before obtaining the application address of the target application through the tab framework, the method further comprises: obtaining the application address of the target application stored in a storage service of the application platform; monitoring whether the application address of the target application is modified; and updating the application address in the storage service in the case that the application address is modified.

[0109] Optionally, the access address of the target page is determined according to the application address and the relative address through the tab framework, comprising: combining the application address and the relative address to determine the access address.

[0110] Those skilled in the art understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can be in the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can be in the form of a computer program product implemented on one or more computer usable storage media containing computer usable program code (including but not limited to disk storage, CD-ROM, optical storage, etc.).

[0111] The present application is described with reference to flowcharts and / or block diagrams according to the method, device (system) and computer program product of the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The functions specified in one flow or multiple flows and / or blocks Figure 1 The functions specified in one flow or multiple flows and / or blocks

[0112] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the Figure 1 function specified in the flow or flows and / or blocks Figure 1 of the block or blocks.

[0113] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions that are executed on the computer or other programmable apparatus provide steps for implementing the Figure 1 function specified in the flow or flows and / or blocks Figure 1 of the block or blocks.

[0114] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0115] The memory can include non-persistent memory and / or volatile memory, such as a random access memory (RAM) including a cache area for the temporary storage of data. The memory can also include non-volatile memory, such as read only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read only memory (EEPROM), flash memory, or non-volatile random access memory (NVRAM), for the storage of information, such as data files or program

[0116] Computer readable media includes permanent and non-permanent, removable and non-removable media implemented in any method or technology for the storage of information. The information can be computer readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital versatile discs (DVDs) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer readable media does not include transitory media, such as modulated data signals and carrier waves.

[0117] It is also to be noted that the terms "comprising", "including", and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a... " does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0118] Those skilled in the art will appreciate that embodiments of the present application can be devised for a method, a system, or a computer program product. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) embodying computer-readable program code.

[0119] The embodiments of the present application are only illustrative and are not intended to limit the present application. Various modifications and changes can be made by those skilled in the art without departing from the spirit and scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for redirecting web pages, characterized in that, include: In response to an access request, the relative address of the target page to be accessed is obtained, wherein the relative address is the address of the target page relative to the target application, the target application is the application to which the target page belongs, the target application includes at least one page, and the target page is one of the at least one pages; The step of obtaining the relative address of the target page to be accessed includes: searching a menu data table in a database according to the access request, determining the target menu data corresponding to the access request, wherein the menu data table includes multiple menu data, the menu data includes the relative address of the corresponding access page, the target page is one of multiple access pages, and the target menu data is one of multiple menu data; determining the relative address of the target page according to the target menu data; Obtain the application address of the target application stored in the storage service of the application platform, wherein the storage service of the application platform stores the application addresses of at least one application, and the target application is one of the at least one application; monitor whether the application address of the target application has been modified; if the application address has been modified, update the application address in the storage service. The application address of the target application is obtained through a tag frame, wherein the tag frame and the target application correspond one-to-one; The access address of the target page is determined by the tag framework based on the application address and the relative address; Redirecting to the target page based on the access address.

2. The method according to claim 1, characterized in that, Based on the access request, the menu data table is searched in the database to determine the target menu data corresponding to the access request, including: The data identifier of the target menu data is determined based on the access request, wherein the menu data further includes a corresponding data identifier; The target menu data corresponding to the access request is determined by searching the menu data table based on the data identifier.

3. The method according to claim 1, characterized in that, After searching the menu data table in the database according to the access request and determining the target menu data corresponding to the access request, the method further includes: Determine whether the target page has access permissions based on the target menu data; If the target menu data includes the permission parameters of the target page, it is determined that the target page has access permissions, wherein the permission parameters are used by the target page to verify the access request. Obtain the permission data for the access request based on the permission parameters.

4. The method according to claim 1, characterized in that, The method further includes: Based on the access request, determine the transmission data carried by the access request, wherein the transmission data is the data transmitted to the target page when the access request accesses the target page.

5. The method according to claim 3 or 4, characterized in that, The method further includes: An encryption key is determined based on the target menu data, wherein the menu data further includes the encryption key; The access request's permission data and / or transmission data are encrypted using the encryption key to obtain encrypted data; When redirected to the target page based on the access address, the encrypted data is transmitted to the target page. Upon receiving the encrypted data, the target page decrypts it using the corresponding decryption key to obtain the permission data and / or transmission data.

6. The method according to any one of claims 1 to 4, characterized in that, The method of determining the access address of the target page using the tag framework based on the application address and the relative address includes: The access address is determined by combining the application address and the relative address.

7. A webpage redirection device, characterized in that, include: The first acquisition module, in response to the access request, acquires the relative address of the target page to be accessed, wherein the relative address is the address of the target page relative to the target application, the target application is the application to which the target page belongs, the target application includes at least one page, and the target page is one of the at least one pages; The first acquisition module searches a menu data table in the database according to the access request to determine the target menu data corresponding to the access request. The menu data table includes multiple menu data, each menu data includes the relative address of the corresponding access page, the target page is one of multiple access pages, and the target menu data is one of multiple menu data. The relative address of the target page is determined based on the target menu data. The webpage redirection device is further configured to obtain the application address of the target application stored in the storage service of the application platform, wherein the storage service of the application platform stores the application address of at least one application, and the target application is one of the at least one applications; monitor whether the application address of the target application has been modified; and update the application address in the storage service if the application address has been modified. The second acquisition module obtains the application address of the target application through a tag frame, wherein the tag frame and the target application correspond one-to-one; The determination module determines the access address of the target page based on the application address and the relative address using the tag framework; The redirection module redirects the user to the target page based on the access address.

8. A computer-readable storage medium, characterized in that, The storage medium is used to store a program, wherein the program executes the webpage redirection method according to any one of claims 1 to 6.

9. An electronic device, characterized in that, It includes one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the webpage redirection method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Subsystem access method and device based on unified website

    CN113569179A