Summary of the invention
In order to solve the above technical problems, the main purpose of the present invention is to provide a kind of jump method of page, device,
System and storage medium are arranged with identical subordinate navigation to solve the different navigation button of individual page in the prior art
When, if linking the corresponding page from the message that current page jumps to pop-up, can not select which the navigation button jumped to
Subordinate navigation, so that the technical issues of message links the corresponding page can not be jumped to.
The technical scheme is that be accomplished by the following way:
A kind of jump method of the page, comprising:
Skip command is generated according to page address, the skip command is uniform resource locator order, described to jump life
It include the page address in order;
Judge whether the page address in the skip command includes individual page address;
When the page address in the skip command includes individual page address, the individual page address pair is jumped to
The individual page answered, and the page of the individual page will be embedded in while being shown;
Otherwise, the page address in the skip command is subpage frame address, by the individual page frame for carrying subpage frame
Frame jumps to the corresponding subpage frame in the subpage frame address, to complete jumping for the page.
Preferably, it when page address includes individual page address in the skip command, is also wrapped in the skip command
It includes and jumps parameter, the value for jumping parameter is to be embedded in the address of the page of individual page;The individual page of being embedded in
The corresponding page for being embedded in individual page in the address of the page is embedded in the corresponding individual page in the individual page address;
According to the address of the individual page address and the page for being embedded in individual page, by the individual page address pair
It the individual page the answered page for being embedded in individual page corresponding with the address for the page for being embedded in individual page while being shown
Show.
Preferably, be provided with level-one navigation in the corresponding individual page in the individual page address, level-one navigation with
The page for being embedded in individual page is corresponding, and described be embedded in the page of individual page is provided with secondary navigation and three-level is led
Boat, the secondary navigation and three-level navigation are respectively arranged with the page that subordinate is embedded in individual page, the level-one navigation, second level
The priority of navigation and three-level navigation successively reduces.
Preferably, when page address is subpage frame address in the skip command, by the independent page for carrying subpage frame
Surface frame frame shows the corresponding subpage frame in the subpage frame address, is provided with subpage frame title in the subpage frame address.
Preferably, the exhibition method of the subpage frame includes: the title bar that individual page frame roof or bottom is arranged in,
It is provided with return key on the left of the title bar, the centre of the title bar is provided with subpage frame title, under the title bar
Side or top are provided with the subpage frame of display content.
Preferably, the default value setting that the subpage frame title is arranged by the skip command or local code.
Preferably, before judging whether the corresponding page in page address described in the skip command be individual page,
Further include:
Initialize the corresponding application program of the skip command;
Define the page address of individual page and subpage frame in the application program;
Obtain the page address.
A kind of page jumps device, including
Skip command generation module, for generating skip command according to page address, the skip command is unified resource
Finger URL order includes the page address in the skip command;
Judgment module, for judging whether the page address in the skip command includes individual page address;
Jump module, it is described for jumping to when the page address in the skip command includes individual page address
The corresponding individual page in individual page address, and the page of the individual page will be embedded in while being shown;Otherwise, described to jump
Page address in order is subpage frame address, and the individual page frame by carrying subpage frame jumps to the subpage frame address
Corresponding subpage frame, to complete jumping for the page.
A kind of jump system of the page, comprising:
Memory, for storing program instruction;
Processor, for executing described program instruction, to realize above-mentioned jump method.
A kind of storage medium, the storage medium is stored with readable instruction, when the readable instruction can be executed by processor
Realize above-mentioned jump method.
Compared with the prior art, a kind of jump method of the page of the present invention, device, system and storage medium at least have with
It is lower the utility model has the advantages that
1) invention is by defining page address, according to the unified money of page address generation for individual page and subpage frame
Source finger URL skip command judges that skip command needs to jump to individual page and still needs to jump to subpage frame, determines final
The page for needing to jump.When message link pop up when, through the invention in jump method can according to page address judge jump
Go to individual page or subpage frame.
2) invention can summarize in skip command only includes difference in subpage frame address, that is, individual page navigation bar
When the navigation button is provided with the navigation of identical subordinate, the corresponding page of subordinate navigation is jumped directly to according to page address, it should be from
Belonging to the corresponding page that navigates is not the corresponding page of subordinate navigation in the navigation button, is the subpage frame regenerated.The subpage
Face is shown by carrying the unified individual page frame of subpage frame.It avoids in the prior art and independent page occurs
When being provided with the navigation of identical subordinate in the navigation bar of face in different navigation button, the subordinate in which the navigation button can not be selected to lead
Boat, thus the problem of not can be carried out correct page jump.
3) since the jump method of the invention is when jumping to individual page, in skip command include individual page address and
Subpage frame address, is provided with level-one navigation in individual page, and level-one navigates and is embedded in individual page in corresponding subpage frame address
The page, be embedded in the navigation that secondary navigation or more stages are additionally provided in the page of individual page, every level-one navigation difference
It is corresponding with the navigate subordinate of the corresponding page for being embedded in individual page of upper level and is embedded in the page of individual page.When there is independence
When the page and the page for being embedded in individual page exist simultaneously, by individual page and it can be embedded after jumping to the individual page
It is shown simultaneously in the page of individual page.So the invention also achieves the turn function of multistage subpage frame in individual page, from
The level-one of individual page navigates to the corresponding page of afterbody navigation and can be explicitly shown.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application
A part of the embodiment, instead of all the embodiments.Based on this specification embodiment, those of ordinary skill in the art are not making
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present application.
In conjunction with attached drawing, invention is further explained.
Needed before the process for executing jump method shown in FIG. 1 it is pre- first carry out default step, executing default step
Step shown in FIG. 1 is executed after rapid again.Default step mainly comprises the steps that
Initialization needs the application program jumped, by all data initializations of application program, guarantees application program not
Receive the influence of other data.Wherein, the application program for needing to jump is initialized in design and installation, wait need using when
Directly use.
Since the page in application program is divided into individual page and subpage frame, so after initializing application program,
The page address of individual page and subpage frame in definition application.The address of individual page and the address of subpage frame are to pass through system
What one Resource Locator defined.Individual page address can be understood as energy for the individual page of only homepage, individual page
The page of application program complete screen is enough occupied, that is, from the page that application program has just started to open display, this page
In include option button in the most basic navigation bar (or menu bar) of application program.Such as in Fig. 2, individual page includes bottom
Live streaming that portion's navigation bar is shown, bright spot, discovery four navigation options buttons of id and individual center, regardless of this four navigation options
The subpage frame embedded in the page that button is shown is any subpage frame, as long as the page for including navigation options button is exactly independent page
Face.Subpage frame can be understood as the page being embedded in individual page.
The individual page address or subpage frame address for obtaining definition, after getting individual page address or subpage frame address
It is to jump in the individual page or subpage frame of acquisition.
As shown in Figure 1, being a kind of flow diagram of the jump method of the page provided in an embodiment of the present invention, the side of jumping
Method mainly comprises the steps that
Step S100 generates skip command according to page address, and skip command is uniform resource locator order, the jump
Turn to include the page address in order.
Specifically, according to after the definition of acquisition individual page address and subpage frame address generate skip command, generate
Skip command in include definition after individual page address and/or subpage frame address.It can be only included in skip command solely
Vertical page address, can also only include subpage frame address, when only including individual page address in skip command, order according to jumping
The homepage for jumping directly to application program is enabled to jump directly to subpage frame according to skip command when only including subpage frame address.
The skip command is similarly uniform resource locator (URL) order, individual page address or subpage frame address phase with definition
Match.
By taking YY application program as an example, when using other applications (such as trill etc.), in trill video
In the process, the Info Link that a YY is popped up from the page of the currently playing video of trill, when the Info Link of the YY to pop-up
When interested, it is necessary to click the Info Link.The Info Link is individual page address or subpage frame based on definition
What location generated, as skip command.The skip command only is got before not clicking the skip command, there are no jumps
Go to the skip command and need the page that jumps to, do not know yet the skip command need the page jumped to be individual page also
It is subpage frame.
Step S200 judges whether the page address in the skip command is individual page address.When generation jumps life
It after order, needs to carry out jumping for the page according to the skip command, that is, need to click the skip command, be jumped when clicking this
After order, the operation jumped is executed according to the skip command.In skip command regulation be carry out jumping according to which address just by
Which jumped according to address.YY application program is individual page address or subpage frame according to the page address in skip command
Address is judged.
Step S300 jumps to the independent page when the page address in the skip command is individual page address
The corresponding individual page in face address, and the page of the individual page will be embedded in while being shown.
Specifically, it when page address only includes individual page address in skip command, is directly jumped according to skip command
The homepage for the individual page for including into skip command includes the head that the individual page address is application program in skip command
Page address.Because in skip command not including other navigation and corresponding subpage frame in the homepage of application program.Equally with YY
For application program, if skip command is as follows:
yymobile://Entrance/MainActivity
--/Entrance/MainActivity (homepage)
The skip command only includes home address, and the page after jumping is the homepage defaulted in YY application program, should
The homepage of default is the corresponding page of live streaming button in navigation bar, and the homepage of default is also possible in navigation bar other buttons pair
The page answered.Referring to FIG. 2, live streaming, bright spot, discovery id and individual center four in the page that Fig. 2 is shown, in the navigation bar of bottom
Bright spot is solid state in a the navigation button, so the page that Fig. 2 is shown is the individual page of bright spot, by the bright spot of solid state
It is switched to solid live streaming, while being also that above-mentioned skip command jumps by the individual page that the individual page of bright spot changes live streaming into
Individual page afterwards.When only jumping to individual page, do not consider that include in individual page is embedded in the page of individual page,
The corresponding subpage frame of default is shown simultaneously.
Further, the page address in skip command comprises more than individual page address, further includes needing when jumping parameter
It further to jump to after jumping to individual page and jump the corresponding page of parameter.The value for jumping parameter is to be embedded in
The address of the page of individual page, the corresponding page for being embedded in individual page in the address of the page for being embedded in individual page
It is embedded in the corresponding individual page in the individual page address.According to the individual page address and it is embedded in individual page
The address of the page is corresponding with the address for the page for being embedded in individual page by the corresponding individual page in the individual page address
It is embedded in the page of individual page while being shown.
Level-one navigation is provided in the corresponding individual page in individual page address, the level-one navigation is embedded in solely with described
The page of the vertical page is corresponding, and described be embedded in the page of individual page is provided with secondary navigation, three-level navigation, even more multistage
Navigation, the secondary navigation, three-level navigation, even more multistage navigation is respectively arranged with the page that subordinate is embedded in individual page
The priority in face, the level-one navigation, secondary navigation and three-level navigation successively reduces, and the priority for the higher navigation of series of navigating is more
It is low.
It is illustrated by taking Fig. 2 as an example, the corresponding skip command of the page shown in figure is as follows:
It both include individual page address in above-mentioned skip command, also the subpage frame including being embedded in individual page is corresponding
Subpage frame address.In order
Yymobile: //Entrance/MainActivity?
--/Entrance/MainActivity (homepage)
As individual page address can jump to the corresponding page of live streaming the navigation button by individual page address.By
What it is in system default is live streaming the navigation button in navigation bar, so the corresponding page of live streaming the navigation button is jumped to, by setting
It sets and can also be the corresponding page of other the navigation buttons in navigation bar.
In above-mentioned skip command
To jump parameter, which is to be embedded in the address of the page of individual page, by individual page
Location may finally jump to that be embedded in the address of the page of individual page corresponding with the address for the page for being embedded in individual page
It is embedded in the page of individual page, which shows in the corresponding individual page in individual page address
Show.
When passing through skip command
After jumping, the corresponding individual page in individual page address is content shown by 201 in Fig. 2.It is embedded in solely
The corresponding page for being embedded in individual page in address of the page of the vertical page is content shown by 202 in Fig. 2.It is embedded in solely
The page of the vertical page is embedded in individual page, and individual page is the corresponding individual page of homepage.When there is level-one in skip command
It is provided with when navigation, in navigation bar level-one the navigation button (such as live streaming, bright spot, discovery id and individual center), in skip command
There is level-one navigation address, by individual page from the corresponding page jump of homepage to the corresponding individual page of bright spot the navigation button.Figure
In the page shown by bright spot the navigation button shown in 201 be individual page, it is most basic to show application program in the page
Navigation bar button.The page shown by 202 be level-one navigation in the corresponding individual page of the navigation button bright spot be embedded in solely
The page of the vertical page is realized by two addresses last in above-mentioned skip command when this is embedded in the page of individual page and is jumped
's.
It is embedded in shown in 202 in the page of individual page and is additionally provided with secondary navigation, secondary navigation can be top and set
The small video set, Divine Comedy, it is askew read, three in secondary navigation the navigation button is respectively arranged with the page that subordinate is embedded in individual page
Face is embedded in the page of individual page and is additionally provided with three-level navigation, three-level navigation square, topic and same as illustrated in the drawing
City.By taking the small video in secondary navigation button as an example, the corresponding page for being embedded in individual page of small video be three-level navigate with
And three-level is navigated the corresponding page for being embedded in individual page.The page shown in 203 is the square navigation in three-level navigation in figure
The corresponding page of button, the page shown in Fig. 2 are the above-mentioned skip command finally page to be shown.
The page that a subordinate is embedded in individual page can be embedded in individual page, the first level-one of individual page is navigated, solely
The page for being embedded in individual page of the vertical page corresponds to secondary navigation, and the page for being embedded in individual page of individual page embeds
Three-level navigation is corresponded in the page of individual page, once analogizes, the page that multiple subordinates are embedded in individual page can be embedded, it is right
Multistage navigation is answered, the priority for the higher navigation of series of navigating is lower.The page that skip command finally jumps is the last one subordinate
It is embedded in the page of individual page, the navigation of corresponding afterbody.
It include individual page address and son in skip command since the jump method of the invention is when jumping to individual page
Page address, is provided with level-one navigation in individual page, and level-one is navigated the individual page that is embedded in corresponding subpage frame address
The page, is embedded in the navigation that secondary navigation or more stages are additionally provided in the page of individual page, and every level-one navigation is right respectively
There should be the navigate subordinate of the corresponding page for being embedded in individual page of upper level to be embedded in the page of individual page.When there is independent page
When face and the page for being embedded in individual page exist simultaneously, by individual page and it can be embedded in after jumping to the individual page
The page of individual page is shown simultaneously.So the invention also achieves in individual page the turn function of multistage subpage frame, from only
The level-one of the vertical page navigates to the corresponding page of afterbody navigation and can be explicitly shown.
Step S400, the page when the page address in skip command does not include individual page address, in skip command
Address is subpage frame address, and the individual page frame by carrying subpage frame jumps to the corresponding subpage in the subpage frame address
Face.
Specifically, it can be the individual page frame by carrying subpage frame for the corresponding subpage frame in the subpage frame address
It is shown, is provided with subpage frame title in the subpage frame address.If only including subpage frame address in skip command,
The subpage frame address in skip command will be jumped directly to according to the subpage frame address in skip command, regardless of the subpage frame address
Corresponding subpage frame is embedded in the corresponding individual page of the navigation button which level-one navigation bar includes or level-one navigation originally
The subordinate of the corresponding page for being embedded in individual page of the navigation button be embedded in the page of individual page.Subpage frame after jumping
It is to be shown subpage frame by carrying the unified individual page frame of subpage frame, jumping to the subpage frame will occupy later
Whole display interfaces of entire application program.
The exhibition method of the subpage frame includes: the title bar that individual page frame roof or bottom is arranged in, the title
Return key is provided on the left of column, the centre of the title bar is provided with subpage frame title, the below or above of the title bar
It is provided with the subpage frame of display content.The subpage frame title is arranged silent by the skip command or local code
Recognize value setting, the title mode highest priority being wherein arranged in skip command is preferential to use.
With reference to Fig. 3, citing is illustrated, and the corresponding skip command of the page shown in figure is as follows:
Yymobile: //TinyVideo/Square? the square title=
Due to not having square in the navigation button in the homepage navigation bar i.e. level-one navigation bar of application program, this is led
Boat only has subpage frame address in the skip command, so the page after jumping directly is exactly the subpage frame on square, regardless of this
In a square subpage frame page which is embedded in individual page in the individual page that application program includes level-one navigation.Example
Such as, when in the figure shown in Fig. 2 of square small video, Divine Comedy and it is askew read in the corresponding navigation of the page for being embedded in individual page in
There is setting, then jumping directly in a new square subpage frame according to above-mentioned skip command, which is shown
Content include small video, Divine Comedy and it is askew read in square be embedded in content in the page of individual page.The subpage frame is logical
The individual page frame for crossing carrying subpage frame is shown, so the display effect of the subpage frame is occupied using journey
The entire screen of sequence, as shown in 301.
The exhibition method of the subpage frame can be the title bar that individual page frame roof is arranged in, and set on the left of title bar
It is equipped with return key, the centre of the title bar is provided with subpage frame title, and the title bar has been disposed underneath or over display
The square subpage frame of content, square subpage frame is as illustrated at 302.
The invention can summarize in skip command to be only included difference in subpage frame address, that is, individual page navigation bar and leads
When boat button is provided with the navigation of identical subordinate, the corresponding page of subordinate navigation, the subordinate are jumped directly to according to page address
The corresponding page that navigates is not the corresponding page of subordinate navigation in the navigation button, is the subpage frame regenerated.The subpage frame
It is to be shown by carrying the unified individual page frame of subpage frame.It avoids and occurs individual page in the prior art
When being provided with the navigation of identical subordinate in navigation bar in different navigation button, the subordinate in which the navigation button can not be selected to navigate,
The problem of to not can be carried out correct page jump.
The jump method of the above-mentioned page provided in an embodiment of the present invention realizes jumping for the page, which can be
Completion is executed by jumping device.As shown in figure 4, jumping device the present invention also provides a kind of page, the device is main
Include:
Skip command generation module 1, for generating skip command according to page address, the skip command is unified resource
Finger URL order includes the page address in the skip command.
Judgment module 2, for judging whether the page address in the skip command is individual page address.
Jump module 3, it is described only for jumping to when the page address in the skip command is individual page address
The vertical corresponding individual page in page address, and the page of the individual page will be embedded in while being shown;Otherwise, described to jump life
Page address in order is subpage frame address, and the individual page frame by carrying subpage frame jumps to the subpage frame address pair
The subpage frame answered, to complete jumping for the page.
This, which jumps device, may be implemented scheme in above-mentioned jump method, can solve and solves the problems, such as with jump method,
Reach technical effect same as jump method.
The present invention also provides a kind of jump systems of page, comprising: more than one memory and more than one processor.
Wherein,
Memory (not shown), for storing program instruction, memory can be of short duration storage or persistent storage.
Processor (not shown), for executing described program instruction, to realize jumping for the page in the technical program
Method.
The present invention also provides a kind of storage medium, the storage medium is stored with readable instruction, and the readable instruction can
The jump method of the page in the technical program is realized when being executed by processor.
More than, it is merely preferred embodiments of the present invention, but the protection scope invented is not limited thereto, it is any ripe
Know those skilled in the art in the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of, should all contain
Lid is within protection scope of the present invention.Therefore, the scope of protection of the invention shall be subject to the scope of protection specified in the patent claim.