CN106815374A - A kind of method for page jump and device - Google Patents

A kind of method for page jump and device Download PDF

Info

Publication number
CN106815374A
CN106815374A CN201710086625.8A CN201710086625A CN106815374A CN 106815374 A CN106815374 A CN 106815374A CN 201710086625 A CN201710086625 A CN 201710086625A CN 106815374 A CN106815374 A CN 106815374A
Authority
CN
China
Prior art keywords
page
target
url
currently displaying
extraneous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710086625.8A
Other languages
Chinese (zh)
Inventor
张冬阳
孙永增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710086625.8A priority Critical patent/CN106815374A/en
Publication of CN106815374A publication Critical patent/CN106815374A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9566URL specific, e.g. using aliases, detecting broken or misspelled links
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Abstract

The invention discloses a kind of method for page jump and device, wherein the method includes:Obtain the extraneous target URL for specifying and the Target id included in target URL;Judge whether the currently displaying page in UI is corresponding with Target id, if it is, carry out refresh process to the currently displaying page, if it is not, then by page layout switch currently displaying in UI to the page corresponding with Target id.Thus, user is only needed to specify out the corresponding target URL of its required Query Information, the corresponding relation that the Target id and UI current display pages included in automatic decision target URL can be passed through realizes arriving the switching of Target id corresponding page, carried out such as many more manipulations in background technology without user, page switching time is shorter, switch speed is very fast, greatly improves Consumer's Experience.

Description

A kind of method for page jump and device
Technical field
The present invention relates to WEB page loading technique field, more specifically to a kind of method for page jump and device.
Background technology
WEB page is a file organized according to html format on network, is looked into row information is entered by network During inquiry, occur in the form of information page, it may include the information such as figure, word, sound and video.
When user carries out information inquiry using WEB page, due to the change of user's information needed, needs often occur Currently open WEB page is switched to the situation of the corresponding WEB page of current desired information, now generally requiring user will Currently open WEB page is closed, and the corresponding WEB page of current desired information is then opened, so as to realize cutting for WEB page Change.But the switching mode of this WEB page needs to carry out above many more manipulations realization by user, required switching time compared with Long, correspondence switch speed is slower.
In sum, have that switching time is more long, cut for realizing the technical scheme of the switching of WEB page in the prior art Change slow problem.
The content of the invention
It is an object of the invention to provide a kind of method for page jump and device, to solve to be used to realize WEB in the prior art The problem that switching time is more long, switch speed is slower that the technical scheme of the switching of the page is present.
To achieve these goals, the present invention provides following technical scheme:
A kind of method for page jump, including:
Obtain the extraneous target URL for specifying and the Target id included in target URL;
Judge whether the currently displaying page in UI is corresponding with the Target id, if it is, to currently displaying page Face carries out refresh process, if it is not, then by page layout switch currently displaying in UI to the page corresponding with the Target id.
Preferably, the extraneous target URL for specifying is obtained, including:
The click event of extraneous input is received, determines that the URL included in the corresponding Jump Menu of the click event is mesh Mark URL.
Preferably, the extraneous target URL for specifying is obtained, including:
The extraneous URL being input into designated area is received, and determines that the URL is target URL.
Preferably, judge whether the currently displaying page in UI is corresponding with the Target id, including:
The ID of current display page in UI is obtained, and judges whether the ID is consistent with the Target id, if it is, determining The currently displaying page is corresponding with the Target id in UI, if it is not, then the page and the mesh currently displaying in determining UI Mark ID is not correspond to.
Preferably, by page layout switch currently displaying in UI to the page corresponding with the Target id, including:
By searching resource name corresponding with the Target id or resource path in the configuration information that pre-sets, and by UI In currently displaying page layout switch to the page corresponding with the resource name or resource path.
A kind of page skip device, including:
Acquisition module, for the Target id for obtaining the extraneous target URL for specifying and included in target URL;
Judge module, is used for:Judge whether the currently displaying page in UI is corresponding with the Target id, if it is, Refresh process is carried out to the currently displaying page, if it is not, then by page layout switch currently displaying in UI to the Target id The corresponding page.
Preferably, the acquisition module includes:
First acquisition unit, is used for:The click event of extraneous input is received, is determined that the click event is corresponding and is redirected dish The URL included in list is target URL.
Preferably, the acquisition module includes:
Second acquisition unit, is used for:The extraneous URL being input into designated area is received, and determines that the URL is target URL.
Preferably, the judge module includes:
Judging unit, is used for:Obtain the ID of current display page in UI, and judge the ID and the Target id whether one Cause, if it is, the page currently displaying in determining UI is corresponding with the Target id, if it is not, then determining currently to show in UI The page for showing is not correspond to the Target id.
Preferably, the judge module includes:
Switch unit, is used for:By searched in the configuration information that pre-sets resource name corresponding with the Target id or Resource path, and by page layout switch currently displaying in UI to the page corresponding with the resource name or resource path.
The invention provides a kind of method for page jump and device, wherein the method includes:Obtain the extraneous target specified The Target id included in URL and target URL;Judge whether the currently displaying page in UI is corresponding with the Target id, If it is, carry out refresh process to the currently displaying page, if it is not, then by page layout switch currently displaying in UI to institute State the corresponding page of Target id.In technical scheme disclosed in the present application, the Target id in the extraneous target URL for specifying is got, After the Target id included in the target URL for getting the information corresponding page of user's needs inquiry, judge that UI is currently displaying Whether the page is corresponding with Target id, if it is, the page currently displaying to UI does refresh process, otherwise, then directly by UI Currently displaying page jump shows to the page corresponding with Target id to the corresponding page of Target id.Thus, only need to use Specify out the corresponding target URL of its required Query Information in family, you can by the Target id and UI that are included in automatic decision target URL The corresponding relation of current display page realizes the switching to Target id corresponding page, is carried out as many in background technology without user Step operation, page switching time is shorter, and switch speed is very fast, greatly improves Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of flow chart of method for page jump provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of page skip device provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is referred to, it illustrates a kind of flow chart of method for page jump provided in an embodiment of the present invention, can be included Following steps:
S11:Obtain the extraneous target URL for specifying and the Target id included in target URL.
What the target URL specially users that the external world specifies specified is currently needed for the URL of the corresponding page of information of inquiry, its Middle URL (Uniform Resource Locator, URL) is the resource to that can be obtained from internet Position and a kind of succinct expression of access method, are the addresses of standard resource on internet;Each page on internet There is a unique URL, the information that it is included points out the treatment that the position of the page and browser are carried out to it, in the application The ID (identity code) comprising corresponding page, the corresponding page is got with by the ID in URL.
S12:Judge whether the currently displaying page in UI is corresponding with Target id, if it is, to currently displaying page Face carries out refresh process, if it is not, then by page layout switch currently displaying in UI to the page corresponding with Target id.
Wherein UI (User Interface, user interface) refers to the operation interface of user, by the operation interface to right The page answered is shown.After the Target id included in getting the extraneous target URL for specifying, can determine whether that Target id is worked as with UI Whether the page of preceding display is corresponding, if it is, representing that the currently displaying pages of UI are user and need the information pair of inquiry The page answered, now only carries out refresh process to the currently displaying page, otherwise, then cuts the page currently displaying in UI The page corresponding with Target id is shifted to, for user's Query Information.
It is further to note that the page in the application can refer to WEB page, naturally it is also possible to be to refer to pass through Technical scheme disclosed in the present application realizes its other page for redirecting, within protection scope of the present invention.
In technical scheme disclosed in the present application, the Target id in the extraneous target URL for specifying is got, that is, get user Need inquiry information corresponding page target URL in after the Target id that includes, judge the currently displaying pages of UI whether with mesh ID is corresponding for mark, if it is, the page currently displaying to UI does refresh process, otherwise, then directly by page that UI is currently displaying Face jumps to the page corresponding with Target id, and the corresponding page of Target id is shown.Thus, user is only needed to specify out its institute Need the corresponding target URL of Query Information, you can by the Target id and the UI current display pages that are included in automatic decision target URL Corresponding relation realize to Target id corresponding page switching, carried out such as many more manipulations in background technology, the page without user Switching time is shorter, and switch speed is very fast, greatly improves Consumer's Experience.
A kind of method for page jump provided in an embodiment of the present invention, obtains the extraneous target URL for specifying, and can include:
The click event of extraneous input is received, it is determined that the URL included in the corresponding Jump Menu of click event is target URL。
It should be noted that can include multiple Jump Menus in the application, each Jump Menu correspondence includes one Individual corresponding URL, when user needs Query Information, need to only click on the corresponding Jump Menus of URL of the information corresponding page i.e. Can;That is, user clicks on the click event that corresponding Jump Menu is in the application, can be true under the triggering of the event of click URL corresponding with the Jump Menu being clicked is made, and then determines that the URL needs the target of Query Information corresponding page for user URL.So as to facilitate user to realize that the quick of target URL is specified.
A kind of method for page jump provided in an embodiment of the present invention, obtains the extraneous target URL for specifying, and can include:
The extraneous URL being input into designated area is received, and determines that the URL is target URL.
User can realize specifying for target URL by above-mentioned click event, and can also be input into designated area to look into The URL of inquiry information corresponding page, as target URL, so that user can manually be input into the finger for realizing target URL It is fixed, improve Consumer's Experience.
A kind of method for page jump provided in an embodiment of the present invention, judge the currently displaying page in UI whether with Target id It is corresponding, can include:
The ID of current display page in UI is obtained, and judges whether the ID is consistent with Target id, if it is, in determining UI The currently displaying page is corresponding with Target id, if it is not, then the page currently displaying in determining UI is not correspond to Target id.
By monitoring the URL of browser, what is included in the URL and the URL that can obtain current display page is aobvious with current Show the corresponding ID of the page, and then determine whether the corresponding ID of current display page is identical with Target id, so as to be accurately judged to Whether current display page is corresponding with Target id in UI, and then realizes redirecting for the page.
A kind of method for page jump provided in an embodiment of the present invention, by page layout switch currently displaying in UI to and Target id The corresponding page, can include:
By searching resource name corresponding with Target id or resource path in the configuration information that pre-sets, and by UI when The page layout switch of the preceding display extremely page corresponding with resource name or resource path.
In the underlying attribute of the page being write into the configuration information for pre-setting in the application, including the page URL, ID, Page Name, page level (correspondence multi-layer UI structures), resource name or resource path, the wherein ID of the page can be with Shown in UI, remaining is all contained in configuration information, preferably to protect page info.When the switching of the page is carried out, such as Fruit UI uses Flex technology, then page URL should be the class name of the page, i.e. resource name, by anti-in configuration information The mechanism of penetrating finds resource name corresponding with Target id and corresponding page object, then that page object is loaded into UI is current Shown in display panel;If UI uses html technologies, page URL should be resource path, in configuration information In determine resource path corresponding with Target id, and then the corresponding page of resource path is obtained from service end by Asynchronous loading Take, be loaded into the current display panels of UI and shown.So as to realize the loading of the page by configuration information.
The embodiment of the present invention additionally provides a kind of page skip device, as shown in Fig. 2 can include:
Acquisition module 11, for obtaining target URL and target URL in the Target id that includes;
Judge module 12, is used for:Judge whether the currently displaying page in UI is corresponding with Target id, if it is, right The currently displaying page carries out refresh process, if it is not, then page layout switch currently displaying in UI is extremely corresponding with Target id The page.
A kind of page skip device provided in an embodiment of the present invention, acquisition module can include:
First acquisition unit, is used for:The click event of extraneous input is received, it is determined that in the corresponding Jump Menu of the event of click Comprising URL be target URL.
A kind of page skip device provided in an embodiment of the present invention, acquisition module can include:
Second acquisition unit, is used for:The extraneous URL being input into designated area is received, and determines that the URL is target URL.
A kind of page skip device provided in an embodiment of the present invention, judge module can include:
Judging unit, is used for:The ID of current display page in UI is obtained, and judges whether the ID is consistent with Target id, such as Fruit is, it is determined that the currently displaying page is corresponding with Target id in UI, if it is not, then determine in UI the currently displaying page and Target id is not correspond to.
A kind of page skip device provided in an embodiment of the present invention, judge module can include:
Switch unit, is used for:By searching resource name corresponding with Target id or resource in the configuration information that pre-sets Path, and by page layout switch currently displaying in UI to the page corresponding with resource name or resource path.
The explanation of relevant portion refers to the embodiment of the present invention in a kind of page skip device provided in an embodiment of the present invention The detailed description of corresponding part, will not be repeated here in a kind of method for page jump for providing.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or uses the present invention.To this Various modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with principles disclosed herein and features of novelty most wide Scope.

Claims (10)

1. a kind of method for page jump, it is characterised in that including:
Obtain the extraneous target URL for specifying and the Target id included in target URL;
Judge whether the currently displaying page in UI is corresponding with the Target id, if it is, entering to the currently displaying page Row refresh process, if it is not, then by page layout switch currently displaying in UI to the page corresponding with the Target id.
2. method according to claim 1, it is characterised in that obtain the extraneous target URL for specifying, including:
The click event of extraneous input is received, determines that the URL included in the corresponding Jump Menu of the click event is target URL。
3. method according to claim 1, it is characterised in that obtain the extraneous target URL for specifying, including:
The extraneous URL being input into designated area is received, and determines that the URL is target URL.
4. according to the method in claim 2 or 3, it is characterised in that judge the currently displaying page in UI whether with it is described Target id is corresponding, including:
The ID of current display page in UI is obtained, and judges whether the ID is consistent with the Target id, if it is, in determining UI The currently displaying page is corresponding with the Target id, if it is not, then the page and the Target id currently displaying in determining UI It is not correspond to.
5. according to the method in claim 2 or 3, it is characterised in that by page layout switch currently displaying in UI to it is described The corresponding page of Target id, including:
By searching resource name corresponding with the Target id or resource path in the configuration information that pre-sets, and by UI when The page layout switch of the preceding display extremely page corresponding with the resource name or resource path.
6. a kind of page skip device, it is characterised in that including:
Acquisition module, for the Target id for obtaining the extraneous target URL for specifying and included in target URL;
Judge module, is used for:Judge whether the currently displaying page in UI is corresponding with the Target id, if it is, to working as The page of preceding display carries out refresh process, if it is not, then page layout switch currently displaying in UI is extremely corresponding with the Target id The page.
7. device according to claim 6, it is characterised in that the acquisition module includes:
First acquisition unit, is used for:The click event of extraneous input is received, in determining the corresponding Jump Menu of the click event Comprising URL be target URL.
8. device according to claim 6, it is characterised in that the acquisition module includes:
Second acquisition unit, is used for:The extraneous URL being input into designated area is received, and determines that the URL is target URL.
9. the device according to claim 7 or 8, it is characterised in that the judge module includes:
Judging unit, is used for:The ID of current display page in UI is obtained, and judges whether the ID is consistent with the Target id, such as It is really, it is determined that the currently displaying page is corresponding with the Target id in UI, if it is not, then page currently displaying in determining UI Face is not correspond to the Target id.
10. the device according to claim 7 or 8, it is characterised in that the judge module includes:
Switch unit, is used for:By searching resource name corresponding with the Target id or resource in the configuration information that pre-sets Path, and by page layout switch currently displaying in UI to the page corresponding with the resource name or resource path.
CN201710086625.8A 2017-02-17 2017-02-17 A kind of method for page jump and device Pending CN106815374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710086625.8A CN106815374A (en) 2017-02-17 2017-02-17 A kind of method for page jump and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710086625.8A CN106815374A (en) 2017-02-17 2017-02-17 A kind of method for page jump and device

Publications (1)

Publication Number Publication Date
CN106815374A true CN106815374A (en) 2017-06-09

Family

ID=59112668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710086625.8A Pending CN106815374A (en) 2017-02-17 2017-02-17 A kind of method for page jump and device

Country Status (1)

Country Link
CN (1) CN106815374A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357914A (en) * 2017-07-19 2017-11-17 北京小度信息科技有限公司 Information processing method and device
CN108255561A (en) * 2018-01-15 2018-07-06 广东欧珀移动通信有限公司 The processing method of blank screen, device and computer readable storage medium during page layout switch
CN110096678A (en) * 2018-01-30 2019-08-06 北大方正集团有限公司 The release processing method and device of datagram
CN110764895A (en) * 2019-10-30 2020-02-07 江苏满运软件科技有限公司 Application service dynamic switching method, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880616A (en) * 2011-07-15 2013-01-16 腾讯科技(深圳)有限公司 Browser page loading method and device
CN104166495A (en) * 2013-05-17 2014-11-26 北京百度网讯科技有限公司 Webpage loading method and webpage loading device
US20150294024A1 (en) * 2012-11-16 2015-10-15 Beijing Qihoo Technology Company Limited File management method and device
CN106294648A (en) * 2016-08-03 2017-01-04 腾讯科技(深圳)有限公司 A kind of processing method and processing device for page access path

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880616A (en) * 2011-07-15 2013-01-16 腾讯科技(深圳)有限公司 Browser page loading method and device
US20150294024A1 (en) * 2012-11-16 2015-10-15 Beijing Qihoo Technology Company Limited File management method and device
CN104166495A (en) * 2013-05-17 2014-11-26 北京百度网讯科技有限公司 Webpage loading method and webpage loading device
CN106294648A (en) * 2016-08-03 2017-01-04 腾讯科技(深圳)有限公司 A kind of processing method and processing device for page access path

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357914A (en) * 2017-07-19 2017-11-17 北京小度信息科技有限公司 Information processing method and device
CN107357914B (en) * 2017-07-19 2018-09-14 北京小度信息科技有限公司 Information processing method and device
US10915384B2 (en) 2017-07-19 2021-02-09 Beijing Xingxuan Technology Co., Ltd. Information processing method and device
CN108255561A (en) * 2018-01-15 2018-07-06 广东欧珀移动通信有限公司 The processing method of blank screen, device and computer readable storage medium during page layout switch
CN108255561B (en) * 2018-01-15 2019-09-27 Oppo广东移动通信有限公司 The processing method of blank screen, device and computer readable storage medium when page switching
CN110096678A (en) * 2018-01-30 2019-08-06 北大方正集团有限公司 The release processing method and device of datagram
CN110764895A (en) * 2019-10-30 2020-02-07 江苏满运软件科技有限公司 Application service dynamic switching method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10275433B2 (en) Remote browsing and searching
US9195750B2 (en) Remote browsing and searching
CN102819395B (en) terminal and icon display method
US10754489B2 (en) System and method for pinning tabs in a tabbed browser
RU2433469C2 (en) Simultaneous indication of multiple searches through multiple suppliers
US9383911B2 (en) Modal-less interface enhancements
KR100265142B1 (en) Method and apparatus for displaying help window simultaneously with web page pertaining thereto
US20090204900A1 (en) Method And System For Navigation Of Web Sites And Applications
CN106815374A (en) A kind of method for page jump and device
US20060190441A1 (en) Search toolbar
CN103853540B (en) Access the method and system of third-party application in operating system desktop
CA2688132C (en) Method, apparatus and system for management of application switching in an electronic device
KR20170000329A (en) Method and electronic device for tab management based on context
CN104008114B (en) A kind of method for page jump and device of WAP browser
RU2007138967A (en) SPACE OF JOINT WORK
CN105892894A (en) Screen scroll event conflict processing method and device
WO2014032589A1 (en) Window switching method and apparatus
CN105677815B (en) A kind of Web page bookmark adding method and terminal
WO2015130721A1 (en) Inline and context aware query box
CN105404647A (en) Page content positioning method and apparatus
CN102945243A (en) Contact information identification method based on browsing contents
US9092405B1 (en) Remote browsing and searching
CN102521373A (en) Method for cross-site search and website system for same
CN106982254B (en) The method and apparatus of file download
CN106843559A (en) User instruction is recognized and processing method, device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170609

RJ01 Rejection of invention patent application after publication