CN107038194B - Page jump method and device - Google Patents

Page jump method and device Download PDF

Info

Publication number
CN107038194B
CN107038194B CN201611034663.0A CN201611034663A CN107038194B CN 107038194 B CN107038194 B CN 107038194B CN 201611034663 A CN201611034663 A CN 201611034663A CN 107038194 B CN107038194 B CN 107038194B
Authority
CN
China
Prior art keywords
page
jump
address
original
identification
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.)
Active
Application number
CN201611034663.0A
Other languages
Chinese (zh)
Other versions
CN107038194A (en
Inventor
唐毅力
林雨欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201611034663.0A priority Critical patent/CN107038194B/en
Publication of CN107038194A publication Critical patent/CN107038194A/en
Application granted granted Critical
Publication of CN107038194B publication Critical patent/CN107038194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

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)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a page jump method and a device, wherein the method comprises the following steps: receiving a page jump request triggered in an original page, wherein the page jump request carries: the identification address of the jump page is the same system address of the original page, and the jump page is a page belonging to a different system from the original page; acquiring an actual address of the jump page corresponding to the identification address; and displaying the identification address of the jump page in a new page window, and displaying the page content of the jump page acquired according to the actual address. The invention can keep the relevance between the jump page and the original page after the page jumps.

Description

Page jump method and device
Technical Field
The present invention relates to computer technologies, and in particular, to a page jump method and apparatus.
Background
In the presentation of web page-like resources, page jumps are often involved. For example, in a portal page, an iframe may be used to embed one page of an external system, and a click-jump may be made to another page of the external system, which may be referred to as a jump page, through a link in the embedded page. One of the ways to display the jump page may be to newly open a tab window and render and display the jump page in the new tab window.
However, the jump page link address in the iframe embedded page is usually an address set by an external system to which the jump page belongs, and may be referred to as an external system address, so that when the jump page is opened in a new tab page window, the jump page address displayed above the window is the external system address; while the portal page address where the iframe is located is the portal system address, which is the address of two different systems. Therefore, the user may be frustrated, for example, the user originally clicks a link in a page in the portal system to jump, which belongs to page operation in the system, but the opened jump page display address is another system address, so that the user breaks the association between the pages because the user breaks the original system when thinking that the page jumps.
Disclosure of Invention
In view of this, the present invention provides a page jump method and apparatus, so as to maintain the association between the jump page and the original page after the page jump.
Specifically, the invention is realized by the following technical scheme:
in a first aspect, a page jump method is provided, where the method includes:
receiving a page jump request triggered in an original page, wherein the page jump request carries: the identification address of the jump page is the same system address of the original page, and the jump page is a page belonging to a different system from the original page;
acquiring an actual address of the jump page corresponding to the identification address;
and displaying the identification address of the jump page in a new page window, and displaying the page content of the jump page acquired according to the actual address.
In a second aspect, a page jump apparatus is provided, the apparatus comprising:
a request receiving module, configured to receive a page jump request triggered in an original page, where the page jump request carries: the identification address of the jump page is the same system address of the original page, and the jump page is a page belonging to a different system from the original page;
the address acquisition module is used for acquiring the actual address of the jump page corresponding to the identification address;
and the jump display module is used for displaying the identification address of the jump page in a new page window and displaying the page content of the jump page acquired according to the actual address.
The page jump method and the device of the invention display the identification address in the new page window after the page jump by setting the address of the jump page as the identification address which is in the same system with the original page, and also keep the content of the original page in the new page window as much as possible, and refresh the jumped external system page in the iframe, so that the user can sense the operation in the portal system, and can also conveniently carry out the correlation operation between the pages, for example, the comparison between the jump pages of the original page and the new page window can be carried out, and the selective viewing operation in the content of the original page can be continuously carried out in the new page window.
Drawings
FIG. 1 is a portal page opened in a browser according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a sub-page jump method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a new page window displaying jump pages according to an embodiment of the present invention;
FIG. 4 is a flowchart of an example page jump provided by an embodiment of the present invention;
FIG. 5 is a diagram illustrating a new page window display according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a page jump apparatus according to an embodiment of the present invention.
Detailed Description
Fig. 1 illustrates a portal page opened in a browser, which is a page of a certain portal system. The portal system is equivalent to a resource integration type platform and can be used for intensively showing a plurality of resources. For example, taking the example shown in fig. 1 as an example, other systems besides the portal system may be referred to as external systems, such as the external system 1, the external system 2, the external system n, and the like illustrated in fig. 1, and these external systems may provide a lot of resource information, for example, the resource information may include: reports, web pages, files, pictures, etc. The portal system can integrate the resource information provided by the external systems, and is convenient for the user to check.
The portal system may display the page of the external system embedded in the iframe, as shown in fig. 1, taking the external system 1 as an example, the external system 1 is provided with a main page and a plurality of sub pages, and the portal system may display the main page in the iframe11, that is, the main page of the external system 1 may be displayed in the portal page in an iframe embedded manner. While the sub-page under the main page can be provided by means of a link, as shown in fig. 1, the user can click the link address of the sub-page to be viewed in the main page, and trigger a jump to the sub-page of the external system 1. In this example, assume that the address of the portal page is www.mh.com, and that the URL address of the main page of the external system 1 is www.yx-1.com, and the URL address of the sub page that the user clicks on for viewing is www.yx-2. com.
In the prior art, when a user clicks a certain sub-page to jump, the jumping mode is similar to that shown in fig. 2: assuming that the user clicks on the sub page to be linked may be referred to as a jump page, a tab page window, i.e., a new page window, may be newly opened and the page contents of the jump page displayed in the new page window, above which the address www.yx-2.com of the jump page is also displayed. The jump page address www.yx-2.com is different from the address www.mh.com of the original page (i.e. the portal page where the iframe is located) in fig. 1, and two systems, which cause the user to think that the jump has completely jumped out of the original portal system, and the user expects to operate inside the portal system to view each external system resource, thereby causing troubles.
In order to solve the problems, the application provides a page jump method. In the method, the portal system sets an address in the system for the page address of the external system, for example: the URL address www.yx-1.com of the main page of the external system 1 may be provided with a corresponding address www.mh-1.com, which www.mh-1.com is an address within the portal system, e.g. if the user sees the portal page address www.mh.com in fig. 1, and the page address www.mh-1.com, the pages of both addresses will be considered to belong to the portal system and still be within the portal system. Similarly, a corresponding address www.mh-2.com may be set for the URL address www.yx-2.com of the sub-page of the external system 1, and the portal system may set a corresponding intra-system address for each external system page in advance.
In this example, the actual URL of the external system page may be referred to as the actual address, and the intra-system address set by the portal system for the actual address may be referred to as the identification address. The following table 1 illustrates the correspondence between real addresses and identification addresses:
TABLE 1 Address mapping
Physical address Identifying an address
www.yx-1.com www.mh-1.com
www.yx-2.com www.mh-2.com
In addition, when the portal page shows page resources of an external system, the portal system can change the address of the jump page from the actual address to the corresponding identification address. For example, in the example of FIGS. 1 and 2, the address of the sub-page where the user views the link is the actual address www.yx-2.com of the page, so when the jump page is displayed in the new page window, the jump page address displayed is also its actual address www.yx-2. com. After the address of the jump page is changed from the actual address to the corresponding identification address www.mh-2.com, the jump page address www.mh-2.com can be displayed in a new page window, as shown in fig. 3, so that the user can think that the resource is still checked in the portal system through the address, and the trouble of jumping of different systems is avoided.
The following describes the page jump process of an example of the present invention with reference to fig. 4:
in step 401, a page jump request triggered in an original page is received, where the page jump request carries: and jumping to the identification address of the page.
In this step, the original page may be the portal page illustrated in fig. 1, a page of the external system may be embedded in the iframe in the portal page, and the user may click a link in the iframe embedded page to trigger a request for jumping to another page of the external system. When the user clicks on the link, the portal system may receive the page jump request, and the page requested to jump may be referred to as a jump page.
As described above, the link address of the jump page in this example is already set as the identification address configured by the portal system, and the page jump request carries the identification address of the jump page. The identification address is the same system address of the original page, for example, www.mh-2.com and www.mh.com belong to the portal system, and the jump page is a page belonging to a different system from the original page.
In addition, in practical implementation, the browser where the page is located may receive the page jump request triggered by the user clicking the link, and send the request to the portal system for processing according to the identification address www.mh-2.com of the link.
In step 402, the real address of the jump page corresponding to the identification address is obtained.
For example, the portal system may obtain the actual address of the requested jump page according to the identification address in the page jump request and the address corresponding relationship configured in advance. For example, it can be known from the identification address www.mh-2.com that the address where the user actually requests to jump is www.yx-2. com.
In step 403, the identification address of the jump page is displayed in a new page window, and the page content of the jump page obtained according to the actual address is displayed.
After obtaining the actual address of the jump page in step 402, the portal system may go to an external system to obtain the page content of the jump page according to the actual address. In practical implementation, the portal system may return the real address to the browser, and the browser may request the external system 1 to jump the page content according to the real address www.yx-2. com.
In this example, the page contents of the jump page may be displayed in a new page window, similar to that shown in fig. 2, with the address of the jump page displayed in the window set to its identification address, as shown in fig. 3. That is, when a tab page window is opened to display a jump page, the address displayed in the new page window can be the link address of the jump page, that is, the address when the user clicks the page link to trigger the jump.
In addition, when the user clicks on a page link, the link address of the jump page may also contain a page dynamic parameter. For example, in the example above, jumping page address www.mh-2.com, the address may also have dynamic parameters, such as "www.mh-2. com/? id ═ 2 ", where"? The id ═ 2 ″ is a dynamic parameter, which may be used to define the page content returned by the external system, and different dynamic parameters may correspond to different page contents, so when the browser requests the external system to jump the page content of the page, the dynamic parameter needs to be carried and sent to the external system.
In this example, the portal system may monitor a page dynamic parameter included in the jumping page identification address when the user clicks the link, and after obtaining the actual address corresponding to the identification address according to the address correspondence relationship, add the dynamic parameter to the actual address. For example: suppose the jump page has an identification address of www.mh-2. com/? id is 2 ", when the browser requests the portal system to feed back the real address, the browser may request www.mh-2.com corresponding to the real address, the portal system may obtain www.yx-2.com of the jump page according to the address corresponding relation illustrated in table 1, and the monitored dynamic parameter? id 2 "is added to the real address, and the address fed back to the browser is www.yx-2. com/? id is 2. The browser may look at the address www.yx-2. com/? And id is 2, the external system is requested to feed back the page content of the jump page.
The browser may render the jump page in the new page window, and in this example, the new page window may further display at least part of the content of the original page, for example, some page contents, some main menus or list information, outside the iframe, in the original page. As shown in fig. 5, the page content of the jump page may also be rendered in the iframe of the new page window, where the iframe of the new page window and the iframe of the original page have the same page attribute, for example, the position of the iframe in the page, the size of the iframe, and the like of the iframe and the iframe of the original page are the same, and as shown in fig. 5, similarly to performing page refreshing inside the iframe in one new page window.
In the page jump method of the present example, the address of the jump page is set to the identification address in the same system as the original page, so that the identification address is displayed in the new page window after the page jump, the content of the original page is kept in the new page window as much as possible, and the jumped external system page is refreshed inside the iframe, so that the user can sense that the user still operates in the portal system, and can also perform the association operation between the pages more conveniently, for example, the comparison between the jump pages of the original page and the new page window can be performed, and the selection viewing operation in the content of the original page can be continued in the new page window.
Fig. 6 provides a page jump apparatus, which may execute the page jump method according to the embodiment of the present invention. As shown in fig. 6, the apparatus may include: a request receiving module 61, an address obtaining module 62 and a jump display module 63.
A request receiving module 61, configured to receive a page jump request triggered in an original page, where the page jump request carries: the identification address of the jump page is the same system address of the original page, and the jump page is a page belonging to a different system from the original page;
an address obtaining module 62, configured to obtain an actual address of the jump page corresponding to the identification address;
and the jump display module 63 is configured to display the identification address of the jump page in a new page window, and display the page content of the jump page obtained according to the actual address.
In one example, the page jump request is triggered by clicking a link in an iframe embedded page of the original page.
In an example, the address obtaining module 62 is further configured to obtain a page dynamic parameter included in the identification address; and adding the page dynamic parameters into the actual address of the jump page.
In one example, the skip display module 63 is further configured to display at least a portion of the content of the original page in the new page window.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. A page jump method, characterized in that the method comprises:
receiving a page jump request triggered in an original page, wherein the page jump request carries: the identification address of the jump page is the same system address of the original page, and the jump page is a page belonging to a different system from the original page;
acquiring the actual address of the jump page corresponding to the identification address, wherein the identification address corresponds to the actual address one to one;
displaying the identification address of the jump page in a new page window, and displaying the page content of the jump page obtained according to the actual address;
the method further comprises the following steps:
and storing the corresponding relation between the actual address of the jump page and the identification address, and changing the address of the jump page from the actual address to the identification address.
2. The method of claim 1, wherein the page jump request is triggered by a link click in an iframe inline page of the original page.
3. The method of claim 2, wherein the page content of the jump page is rendered in an iframe of the new page window, and wherein the iframe of the new page window has the same page attribute as the iframe of the original page.
4. The method of claim 1, further comprising:
acquiring page dynamic parameters contained in the identification address;
and adding the page dynamic parameters into the actual address of the jump page.
5. The method of claim 1, further comprising:
and displaying at least part of the content of the original page in the new page window.
6. A page jump apparatus, characterized in that the apparatus comprises:
a request receiving module, configured to receive a page jump request triggered in an original page, where the page jump request carries: the identification address of the jump page is the same system address of the original page, and the jump page is a page belonging to a different system from the original page;
an address obtaining module, configured to obtain an actual address of the jump page corresponding to the identification address, where the identification address corresponds to the actual address one to one;
the skip display module is used for displaying the identification address of the skip page in a new page window and displaying the page content of the skip page acquired according to the actual address;
further comprising: and storing the corresponding relation between the actual address of the jump page and the identification address, and changing the address of the jump page from the actual address to the identification address.
7. The apparatus of claim 6, wherein the page jump request is triggered by a link click in an iframe inline page of the original page.
8. The apparatus of claim 6,
the address obtaining module is further configured to obtain a page dynamic parameter included in the identification address; and adding the page dynamic parameters into the actual address of the jump page.
9. The apparatus of claim 6,
and the skip display module is also used for displaying at least part of the content of the original page in the new page window.
CN201611034663.0A 2016-11-17 2016-11-17 Page jump method and device Active CN107038194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611034663.0A CN107038194B (en) 2016-11-17 2016-11-17 Page jump method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611034663.0A CN107038194B (en) 2016-11-17 2016-11-17 Page jump method and device

Publications (2)

Publication Number Publication Date
CN107038194A CN107038194A (en) 2017-08-11
CN107038194B true CN107038194B (en) 2020-12-15

Family

ID=59530878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611034663.0A Active CN107038194B (en) 2016-11-17 2016-11-17 Page jump method and device

Country Status (1)

Country Link
CN (1) CN107038194B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255550A (en) * 2017-11-27 2018-07-06 深圳市小牛在线互联网信息咨询有限公司 Method for page jump, device, storage medium and computer equipment
CN110968824B (en) * 2018-09-30 2023-08-25 北京国双科技有限公司 Page data processing method and device
CN109669736A (en) * 2018-12-18 2019-04-23 北京城市网邻信息技术有限公司 A kind of loading method of small routine, device, terminal device and storage medium
CN110569464A (en) * 2019-08-09 2019-12-13 阿里巴巴集团控股有限公司 page access method and device
CN111124565B (en) * 2019-11-29 2024-01-19 中电建路桥集团有限公司 Data loading method and device
CN114238818A (en) * 2021-12-22 2022-03-25 掌阅科技股份有限公司 Page jump method, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117290A (en) * 2009-12-30 2011-07-06 北京搜狗科技发展有限公司 Method and system used for showing page elements in webpage
CN104252453A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 Detection method and system for write operation in webpage recommendation location content access track
CN104391909A (en) * 2014-11-17 2015-03-04 国云科技股份有限公司 Cross-domain IFRAME height self-adaption method
CN104462183A (en) * 2014-10-10 2015-03-25 北京国双科技有限公司 Webpage skipping processing method and device
CN104714980A (en) * 2013-12-17 2015-06-17 阿里巴巴集团控股有限公司 Page nesting path determination method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002345337A1 (en) * 2001-07-09 2003-01-29 Ad4Ever Inc. Method and system for allowing cross-communication between first and second areas of a primary web page
US7680899B1 (en) * 2006-05-12 2010-03-16 Sprint Communications Company L.P. Seamless retrieval of non-standard items for a mobile device
CN101415004B (en) * 2008-11-25 2013-05-08 江岳 Authentication method for embedded web page application
US20130167156A1 (en) * 2011-12-21 2013-06-27 Microsoft Corporation Web page to toolbar communication
CN103246667A (en) * 2012-02-08 2013-08-14 腾讯科技(深圳)有限公司 Method and device for cross-domain transfer of data
CN104035922A (en) * 2013-03-04 2014-09-10 阿里巴巴集团控股有限公司 Method and device for webpage location in website content management system
CN104301379A (en) * 2014-08-28 2015-01-21 北京奇虎科技有限公司 Web page cross-domain communication method and device
CN105354490B (en) * 2015-09-30 2020-07-28 北京奇虎科技有限公司 Method and equipment for processing hijacked browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102117290A (en) * 2009-12-30 2011-07-06 北京搜狗科技发展有限公司 Method and system used for showing page elements in webpage
CN104252453A (en) * 2013-06-25 2014-12-31 腾讯科技(深圳)有限公司 Detection method and system for write operation in webpage recommendation location content access track
CN104714980A (en) * 2013-12-17 2015-06-17 阿里巴巴集团控股有限公司 Page nesting path determination method and device
CN104462183A (en) * 2014-10-10 2015-03-25 北京国双科技有限公司 Webpage skipping processing method and device
CN104391909A (en) * 2014-11-17 2015-03-04 国云科技股份有限公司 Cross-domain IFRAME height self-adaption method

Also Published As

Publication number Publication date
CN107038194A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN107038194B (en) Page jump method and device
US10789304B2 (en) Method and system for measuring user engagement with content items
US9923793B1 (en) Client-side measurement of user experience quality
US20230041467A1 (en) Method and system for measuring user engagement with content items
US9529866B2 (en) Efficiently handling large data sets on mobile devices
US8379053B1 (en) Identification of areas of interest on a web page
CN110765379B (en) Method, device, computer equipment and storage medium for loading resource file
CN106484383A (en) page rendering method, device and equipment
CN105824830B (en) Method, client and equipment for displaying page
CN103034517A (en) Method and device for loading browser control tool
CN109829077B (en) Page display method, device and equipment
CN110249324B (en) Maintaining session identifiers for content selection across multiple web pages
CN110780939B (en) Method, device, computer equipment and storage medium for loading resource file
CN107391535A (en) The method and device of document is searched in document application
EP2638484B1 (en) Dynamic image result stitching
CN105808307B (en) Page display method and device
CN102449604B (en) Distributed processing method and system in virtual desktop
CN110569464A (en) page access method and device
CN113515717B (en) Navigation page updating method and device, electronic equipment and storage medium
CN107480218B (en) Webpage display method and device, electronic equipment and storage medium
CN107391163B (en) Page data loading method and device in mobile terminal and application
US10019969B2 (en) Presenting digital images with render-tiles
KR102519159B1 (en) Electronic apparatus and control method thereof
WO2015039585A1 (en) Method and device for testing software reliability
CN105653608A (en) Method and system for displaying comment information of annotation, and electronic equipment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1241491

Country of ref document: HK

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200922

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant