CN107515948B - Method for page jump, device and readable storage medium storing program for executing - Google Patents

Method for page jump, device and readable storage medium storing program for executing Download PDF

Info

Publication number
CN107515948B
CN107515948B CN201710818500.XA CN201710818500A CN107515948B CN 107515948 B CN107515948 B CN 107515948B CN 201710818500 A CN201710818500 A CN 201710818500A CN 107515948 B CN107515948 B CN 107515948B
Authority
CN
China
Prior art keywords
jump
controller
page
variable
target
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
CN201710818500.XA
Other languages
Chinese (zh)
Other versions
CN107515948A (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710818500.XA priority Critical patent/CN107515948B/en
Publication of CN107515948A publication Critical patent/CN107515948A/en
Application granted granted Critical
Publication of CN107515948B publication Critical patent/CN107515948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the present invention provides a kind of method for page jump, device and readable storage medium storing program for executing.This method comprises: obtaining all sub-controllers in the navigation controller of current application program, wherein the navigation controller is stack architecture, and all sub-controllers therein are arranged successively from inside to outside according to the sequencing for entering navigation controller;Judge to obtain judging result with the presence or absence of the target sub-controller for needing page jump in all sub-controllers;It is obtained according to the judging result and jumps variable for jump to the mode page;By it is described jump variable and adjust back jump function to target, execute jumping for the mode page to jump function by target.The present invention can be realized from any unknown page jump to a mode page, in order to the extension work of page development in the future.

Description

Method for page jump, device and readable storage medium storing program for executing
Technical field
The present invention relates to field of computer technology, in particular to a kind of method for page jump, device and readable storage Medium.
Background technique
With the fast development of mobile phone mobile terminal, inside the app of mobile terminal, jumping between the general page be all from One has been known that the page of type is transferred to another page, and jumping between the conventional this page both knows about jump page The page where before, can write direct code and be jumped.But in the exploitation of mobile terminal, sometimes and do not know not Will be in that page, but the page for needing to come out from this unknown page jump to a mode, the demand are conventional Scheme substantially can not achieve, also not similar implementation discloses.How to provide it is a kind of from unknown page jump to The method for page jump of one mode page is those skilled in the art's technical problem urgently to be resolved.
Summary of the invention
In order to overcome above-mentioned deficiency in the prior art, the purpose of the present invention is to provide a kind of method for page jump, dress It sets and readable storage medium storing program for executing, can be realized from any unknown page jump to a mode page, in order to page in the future The extension work of face exploitation.
To achieve the goals above, present pre-ferred embodiments the technical solution adopted is as follows:
Present pre-ferred embodiments provide a kind of method for page jump, are applied to user terminal, pacify in the user terminal Equipped with application program, which comprises
Obtain all sub-controllers in the navigation controller of current application program, wherein the navigation controller is heap Stack architecture, all sub-controllers therein are arranged successively from inside to outside according to the sequencing for entering navigation controller;
Judge to obtain judging result with the presence or absence of the target sub-controller for needing page jump in all sub-controllers;
It is obtained according to the judging result and jumps variable for jump to the mode page;
By it is described jump variable and adjust back jump function to target, to jump the jump that function executes the mode page by target Turn.
In a preferred embodiment of the present invention, before the step of sub-controller being selected in obtaining current display page, The method also includes:
Judge whether current screen state direction is transverse screen direction;
If so, the screen state direction is switched to vertical screen direction.
In a preferred embodiment of the present invention, described to be obtained according to the judging result for jumping to jumping for the mode page The step of variable, comprising:
The target sub-controller for needing to jump if it exists, then using be located at the target sub-controller outer layer controller as Variable is jumped for what is jumped;And
Variable is jumped for what is jumped if it does not exist, then using controller outermost in the navigation controller as being used for What is jumped jumps variable.
In a preferred embodiment of the present invention, the target sub-controller for needing to jump if it exists, the method also includes:
Empty all sub-controllers of the target sub-controller and the target sub-controller internal layer.
In a preferred embodiment of the present invention, it is described by it is described jump variable and adjust back jump function to target, to pass through target It jumps function and executes the step of jumping of the mode page, comprising:
Creation one is to be jumped to jump controller;
It jumps variable based on described attribute assignment is carried out to the controller that jumps, and to jump controller setting aobvious to described Show parameter, obtains target and jump controller;
Controller is jumped as root controller using the target, creates a navigation controller;
The navigation controller after variable mode creates is jumped using described, to jump to the mode page.
In a preferred embodiment of the present invention, creation one it is to be jumped the step of jumping controller before, the method Further include:
Judge that current application program whether there is the page destroyed;
If it exists, then the page destroyed is destroyed.
Present pre-ferred embodiments also provide a kind of page skip device, are applied to user terminal, in the user terminal Application program is installed, described device includes:
Obtain module, all sub-controllers in navigation controller for obtaining current application program, wherein described to lead Route controller is stack architecture, and all sub-controllers therein are according to entering the sequencing of navigation controller from inside to outside successively Arrangement;
Judgment module obtains in all sub-controllers with the presence or absence of the target sub-controller for needing page jump for judging To judging result;
Module is obtained, jumps variable for jump to the mode page for obtaining according to the judging result;
Adjust back jump module, for by it is described jump variable and adjust back jump function to target, to jump function by target Execute jumping for the mode page.
Present pre-ferred embodiments also provide a kind of readable storage medium storing program for executing, are stored with computer in the readable storage medium storing program for executing Program, the user terminal computer program controls the storage medium when running where execute above-mentioned method for page jump.
In terms of existing technologies, the invention has the following advantages:
The embodiment of the present invention provides a kind of method for page jump, device and readable storage medium storing program for executing.This method comprises: being worked as All sub-controllers in the navigation controller of preceding application program, wherein the navigation controller is stack architecture, institute therein There is sub-controller to be arranged successively from inside to outside according to the sequencing for entering navigation controller;Judge in all sub-controllers whether In the presence of the target sub-controller for needing page jump, judging result is obtained;It is obtained according to the judging result for jumping to mould The state page jumps variable;By it is described jump variable and adjust back jump function to target, execute mode to jump function by target The page jumps.The present invention can be realized from any unknown page jump to a mode page, in order to page in the future The extension work of face exploitation.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of block diagram for the user terminal that present pre-ferred embodiments provide;
Fig. 2 is a kind of flow diagram for the method for page jump that present pre-ferred embodiments provide;
Fig. 3 is one of navigation controller example block diagram;
Fig. 4 is a kind of functional block diagram for the page skip device that present pre-ferred embodiments provide;
Fig. 5 is a kind of structural block diagram for each submodule that readjustment jump module includes shown in Fig. 4;
Fig. 6 is another structural block diagram for each submodule that readjustment jump module includes shown in Fig. 4.
Icon: 100- user terminal;110- memory;120- processor;130- communication unit;140- storage control; 150- display unit;200- page skip device;210- obtains module;220- judgment module;230- obtains module;240- readjustment Jump module;241- judging submodule;242- destroys submodule;243- jumps controller creation submodule;244- assignment submodule Block;245- navigation controller creates submodule;246- mode submodule.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Usually herein The component of the embodiment of the present invention described and illustrated in place's attached drawing can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiments of the present invention, this field is common Technical staff's all other embodiment obtained without creative efforts belongs to the model that the present invention protects It encloses.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.
With reference to the accompanying drawing, it elaborates to some embodiments of the present invention.In the absence of conflict, following Feature in embodiment and embodiment can be combined with each other.
Referring to Fig. 1, the block diagram of the user terminal 100 provided for present pre-ferred embodiments.The present invention is implemented In example, the user terminal 100 is preferably iOS user terminal.The user terminal 100 can be installed corresponding according to user demand Application program, for example, it is mountable have bucket fish live streaming APP.
As shown in Figure 1, the user terminal 100 may include memory 110, processor 120, communication unit 130, storage Controller 140 and display unit 150.The memory 110, processor 120, communication unit 130, storage control 140 with And display unit 150 is directly or indirectly electrically connected between each other, to realize the transmission or interaction of data.For example, these yuan Part can be realized by one or more communication bus or signal wire be electrically connected between each other.The page is stored in memory 110 Device 200 is jumped, the page skip device 200 includes that at least one can be stored in the form of software or firmware (Firmware) Software function module in the memory 110, the software that the processor 120 is stored in memory 110 by operation Program and functional module, such as the page skip device 200 in the embodiment of the present invention, thereby executing various function application and number According to processing, i.e. method for page jump in the realization embodiment of the present invention.
Wherein, the memory 110 may include high speed random access memory, may also include nonvolatile memory, such as one Or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.In some instances, memory 110 can It further comprise the remote memory remotely located relative to processor 120, these remote memories can pass through network connection To the user terminal 100.Wherein, memory 110 is for storing program, the processor 120 after receiving and executing instruction, Execute described program.Further, various input/output devices are couple processor 120 and memory by communication unit 130 110, software program and module in above-mentioned memory 110 may also include operating system, may include various for managing system The component software of system task (such as memory management, storage equipment control, power management etc.) and/or driving, and can with it is various firmly Part or component software mutually communicate, to provide the running environment of other component softwares.
The processor 120 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 120 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc..It can also be digital signal processor (DSP), specific integrated circuit (ASIC), scene Programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware group Part.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be with It is microprocessor or is also possible to any conventional processor etc..
The display unit 150 can provide an output and input simultaneously between the user terminal 100 and user Interface.Specifically, the display unit 150 shows video or image output to user, and the content of these videos output can wrap Include text, figure, video and any combination thereof.Some outputs are the result is that correspond to some user interface objects.In addition, described Display unit 150 can also receive the input of user, such as the gesture operations such as click, sliding of user, so as to user interface pair As the input to these users responds.The technology of detection user's input can be based on resistance-type, condenser type or other Any possible touch control detection technology.Optionally, the specific example of the display unit 150 may include but be not limited to liquid crystal Display or light emitting polymer displays.
It is appreciated that structure shown in FIG. 1 be only illustrate, the user terminal 100 can also include than shown in Fig. 1 more More perhaps less component or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can be using hardware, soft Part or combinations thereof is realized.
Referring to Fig. 2, a kind of flow diagram of the method for page jump provided for present pre-ferred embodiments, the side The user terminal 100 of method as shown in Figure 1 executes.It should be noted that method provided in an embodiment of the present invention is not with Fig. 2 and following The specific order is limitation.The detailed process of the method is as follows:
Step S210 obtains all sub-controllers in the navigation controller of current application program.
In the present embodiment, the navigation controller is stack architecture, and all sub-controllers therein are controlled according to navigation is entered The sequencing of device processed is arranged successively from inside to outside.More specifically, there is a navigation controller (container in each application program Controller), the characteristics of navigation controller is a storehouse (grey parts), storehouse is first-in last-out, that is to say, that is entered afterwards It is stored in outermost layer, when each controller jumps, a controller is often jumped and requires toward navigation controller storehouse As soon as a sub-controller is added in the inside, continuously jumps and repeatedly need to increase into navigation controller storehouse multiple corresponding sub- controls Device, each sub-controller return are then equivalent to sub-controller of popping from storehouse.
Optionally, before step S210, it is also necessary to judge whether current screen state direction is transverse screen direction, if It is that the screen state direction is then switched to vertical screen direction.Specifically, sharedApplication function can be used to obtain Application program currently is obtained, after obtaining application program, the direction that a grammer obtains status bar can be used.If obtained Direction is not vertical screen direction UIInterfaceOrientationPortrait, indicates the state for being currently at transverse screen, if it is Transverse screen state is then needed horizontal screen switching to vertical screen.If by horizontal screen switching to vertical screen, firstly, obtaining current equipment Then currentDevice is that two parameters are arranged in this current equipment currentDevice using setValue function, One is the value of the vertical screen for the application program that setting currently obtains, second parameter is that setting application program vertical screen value is corresponding Key value, this key value are character string orientation, are being provided with into, it can switch the screen state direction To vertical screen direction.
Step S220 judges to be sentenced in all sub-controllers with the presence or absence of the target sub-controller for needing page jump Disconnected result.
In the present embodiment, by looping through all sub-controllers inside navigation controller, all son controls are judged Whether device processed has the following target sub-controller for needing to jump.
Step S230 is obtained according to the judging result and is jumped variable for jump to the mode page.
Specifically, in the present embodiment, the target sub-controller for needing to jump if it exists will then be located at the target control The controller of device outer layer processed jumps variable as what is jumped.Variable is jumped for what is jumped if it does not exist, then is led described Outermost controller is as the variable that jumps for jumping in route controller, and the variable that jumps is namely for jumping to mould The targetVc of the state page.For example, referring to Fig. 3, if there is the target sub-controller that needs jump, then will then be located at institute The controller of target sub-controller outer layer is stated, that is, targetVc jumps variable as what is jumped.In addition, in order to avoid The target sub-controller that the subsequent process for jumping to mode may also need to carry out jumps, it is also necessary to control target All sub-controllers of device and the target sub-controller internal layer are emptied.
Step S240, by it is described jump variable and adjust back jump function to target, execute mode to jump function by target The page jumps.
In the present embodiment, get it is described jump variable targetVc after, targetVc is just used into code block Mode is adjusted back, and then to needing what is jumped to jump function, the mode page can be executed by jumping function in acquisition targetVc It jumps.Specifically, one is created first to be jumped jumps controller, that is, the page con to be jumped that mode comes out, wound Construction method is then initialized using init function to the controller that jumps using alloc function storage allocation. Attribute assignment is carried out to the controller that jumps next, jumping variable targetVc based on described in, the attribute of assignment can be with table It is the attribute from which controller that controller is jumped described in sign, that is, from the attribute for jumping variable targetVc, then Controller setting display parameters, such as display text size, the parameters such as display color can also be jumped to described, finally obtain to The target jumped jumps controller.Subsequently, controller is jumped as root controller using the target, creates a Navigation Control Device, specifically, it is this navigation controller storage allocation that alloc function, which can be used, is then used InitWithRootViewController is that root controller is arranged in the navigation controller.Finally, can use PresentViewController method, by the Navigation Control jumped after the above-mentioned creation of variable targetVc mode Device, to jump to the mode page.
Optionally, creation one it is to be jumped jump controller before, can also judge whether current application program deposits In the page destroyed, and if it exists, then destroy the page destroyed.Wherein, the page destroyed Face can refer to the wicket of the current display page, such as the video playing wicket in the page.
Further, referring to Fig. 4, present pre-ferred embodiments also provide a kind of page skip device 200, described device The software function module for being installed on the memory 110 and being executed including one or more by the processor 120, the dress It sets and includes:
Obtain module 210, all sub-controllers in navigation controller for obtaining current application program, wherein institute State navigation controller be stack architecture, all sub-controllers therein according to enter navigation controller sequencing from inside to outside It is arranged successively.
Judgment module 220 whether there is the target sub-controller for needing page jump for judging in all sub-controllers, Obtain judging result.
Module 230 is obtained, jumps variable for jump to the mode page for obtaining according to the judging result.
Adjust back jump module 240, for by it is described jump variable and adjust back jump function to target, to jump letter by target Number executes jumping for the mode page.
Optionally, the mode for jumping variable for jumping to the mode page is obtained according to the judging result, can wrap Include: the target sub-controller for needing to jump if it exists will then be located at the controller of the target sub-controller outer layer as being used for What is jumped jumps variable;And jump variable for what is jumped if it does not exist, then by control outermost in the navigation controller Device processed jumps variable as what is jumped.
Optionally, referring to Fig. 5, the readjustment jump module 240 may include:
Controller creation submodule 243 is jumped, to be jumped jumps controller for creating one.
Assignment submodule 244 carries out attribute assignment to the controller that jumps for jumping variable based on described in, and to institute It states and jumps controller setting display parameters, obtain target and jump controller.
Navigation controller creates submodule 245, and for jumping controller as root controller using the target, creation one is led Route controller.
Mode submodule 246, for jumping the navigation controller after variable mode creates described in use, to jump to The mode page.
Optionally, referring to Fig. 6, the readjustment jump module 240 can also include:
Judging submodule 241, for judging that current application program whether there is the page destroyed.
The page destroys submodule 242, for if it exists, then destroying the page destroyed.
The concrete operation method of each functional module in the present embodiment can refer to corresponding steps in above method embodiment Detailed description, it is no longer repeated herein.
In conclusion the embodiment of the present invention provides a kind of method for page jump, device and readable storage medium storing program for executing.This method packet It includes: obtaining all sub-controllers in the navigation controller of current application program, wherein the navigation controller is storehouse knot Structure, all sub-controllers therein are arranged successively from inside to outside according to the sequencing for entering navigation controller;Judge all sons With the presence or absence of the target sub-controller for needing page jump in controller, judging result is obtained;It is obtained according to the judging result Variable is jumped for jump to the mode page;By it is described jump variable and adjust back jump function to target, to be jumped by target Function executes jumping for the mode page.The present invention can be realized from any unknown page jump to a mode page, In order to the extension work of page development in the future.
In embodiment provided by the present invention, it should be understood that disclosed device and method, it can also be by other Mode realize.Device and method embodiment described above is only schematical, for example, flow chart and frame in attached drawing Figure shows the system frame in the cards of the system of multiple embodiments according to the present invention, method and computer program product Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code A part, a part of the module, section or code includes one or more for implementing the specified logical function Executable instruction.It should also be noted that function marked in the box can also be with not in some implementations as replacement It is same as the sequence marked in attached drawing generation.For example, two continuous boxes can actually be basically executed in parallel, they have When can also execute in the opposite order, this depends on the function involved.It is also noted that in block diagram and or flow chart Each box and the box in block diagram and or flow chart combination, can function or movement as defined in executing it is dedicated Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, electronic equipment or network equipment etc.) execute all or part of step of each embodiment the method for the present invention Suddenly.
It should be noted that, in this document, term " including ", " including " or its any other variant are intended to non-row His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and And further include the other elements being not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including institute State in the process, method, article or equipment of element that there is also other identical elements.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims Variation is included within the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.

Claims (8)

1. a kind of method for page jump is applied to user terminal, which is characterized in that be equipped in the user terminal using journey Sequence, which comprises
Obtain all sub-controllers in the navigation controller of current application program, wherein the navigation controller is storehouse knot Structure, all sub-controllers therein are arranged successively from inside to outside according to the sequencing for entering navigation controller;
Judge to obtain judging result with the presence or absence of the target sub-controller for needing page jump in all sub-controllers;
It is obtained according to the judging result and jumps variable for jump to the mode page;
By it is described jump variable and adjust back jump function to target, execute jumping for the mode page, institute to jump function by target State by it is described jump variable and adjust back jump function to target, to jump the step jumped that function executes the mode page by target Suddenly, comprising:
Creation one is to be jumped to jump controller;
Based on it is described jump variable to it is described jump controller carry out attribute assignment, and to it is described jump controller setting display ginseng Number, obtains target and jumps controller;
Controller is jumped as root controller using the target, creates a navigation controller;
The navigation controller after variable mode creates is jumped using described, to jump to the mode page.
2. method for page jump according to claim 1, which is characterized in that be selected in obtaining current display page Before the step of sub-controller, the method also includes:
Judge whether current screen state direction is transverse screen direction;
If so, the screen state direction is switched to vertical screen direction.
3. method for page jump according to claim 1, which is characterized in that described to be used for according to judging result acquisition Jump to the step of jumping variable of the mode page, comprising:
The target sub-controller for needing to jump if it exists will then be located at the controller of the target sub-controller outer layer as being used for What is jumped jumps variable;And
Variable is jumped for what is jumped if it does not exist, then using controller outermost in the navigation controller as being used to jump Jump variable.
4. method for page jump according to claim 3, which is characterized in that the target control for needing to jump if it exists Device, the method also includes:
Empty all sub-controllers of the target sub-controller and the target sub-controller internal layer.
5. method for page jump according to claim 1, which is characterized in that be jumped jump controller at creation one The step of before, the method also includes:
Judge that current application program whether there is the page destroyed;
If it exists, then the page destroyed is destroyed.
6. a kind of page skip device is applied to user terminal, which is characterized in that be equipped in the user terminal using journey Sequence, described device include:
Obtain module, all sub-controllers in navigation controller for obtaining current application program, wherein the navigation control Device processed is stack architecture, and all sub-controllers therein are successively arranged from inside to outside according to the sequencing for entering navigation controller Column;
Judgment module is sentenced in all sub-controllers with the presence or absence of the target sub-controller for needing page jump for judging Disconnected result;
Module is obtained, jumps variable for jump to the mode page for obtaining according to the judging result;
Adjust back jump module, for by it is described jump variable and adjust back jump function to target, to jump function execution by target The mode page jumps, and the readjustment jump module includes:
Controller creation submodule is jumped, to be jumped jumps controller for creating one;
Assignment submodule carries out attribute assignment to the controller that jumps for jumping variable based on described in, and jumps to described Display parameters are arranged in controller, obtain target and jump controller;
Navigation controller creates submodule and creates a Navigation Control for jumping controller as root controller using the target Device;
Mode submodule, for jumping the navigation controller after variable mode creates described in use, to jump to mode page Face.
7. page skip device according to claim 6, which is characterized in that described to be used for according to judging result acquisition Jump to the mode for jumping variable of the mode page, comprising:
The target sub-controller for needing to jump if it exists will then be located at the controller of the target sub-controller outer layer as being used for What is jumped jumps variable;And
Variable is jumped for what is jumped if it does not exist, then using controller outermost in the navigation controller as being used to jump Jump variable.
8. a kind of readable storage medium storing program for executing, computer program is stored in the readable storage medium storing program for executing, which is characterized in that the calculating User terminal perform claim machine program controls the storage medium when running where requires the page described in any one of 1-5 to jump Shifting method.
CN201710818500.XA 2017-09-12 2017-09-12 Method for page jump, device and readable storage medium storing program for executing Active CN107515948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710818500.XA CN107515948B (en) 2017-09-12 2017-09-12 Method for page jump, device and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710818500.XA CN107515948B (en) 2017-09-12 2017-09-12 Method for page jump, device and readable storage medium storing program for executing

Publications (2)

Publication Number Publication Date
CN107515948A CN107515948A (en) 2017-12-26
CN107515948B true CN107515948B (en) 2019-12-03

Family

ID=60724085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710818500.XA Active CN107515948B (en) 2017-09-12 2017-09-12 Method for page jump, device and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN107515948B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363597A (en) * 2018-01-02 2018-08-03 武汉斗鱼网络科技有限公司 A kind of method for page jump and system
CN108566564B (en) * 2018-04-12 2021-09-28 深圳Tcl数字技术有限公司 Page focus jumping method, television and computer readable storage medium
CN108920233B (en) * 2018-06-22 2022-03-15 百度在线网络技术(北京)有限公司 Panoramic page skipping method and device and storage medium
CN110688592B (en) * 2018-07-06 2022-06-21 武汉斗鱼网络科技有限公司 External link skipping method, storage medium, electronic device and system
CN110688120A (en) * 2018-07-06 2020-01-14 武汉斗鱼网络科技有限公司 Method for jumping to designated module and electronic equipment
CN109408182B (en) * 2018-10-18 2022-04-05 五八有限公司 Method and device for skipping preset page, storage medium and terminal
CN109814960A (en) * 2018-12-21 2019-05-28 北京城市网邻信息技术有限公司 A kind of page returning method, device, electronic equipment and storage medium
CN110780957A (en) * 2019-09-18 2020-02-11 北京你财富计算机科技有限公司 Page jump configuration method, page jump configuration device and electronic equipment
CN112333462A (en) * 2020-11-04 2021-02-05 北京字节跳动网络技术有限公司 Live broadcast room page jumping method, returning device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617078A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Method and device for managing active components
CN104346267A (en) * 2013-08-08 2015-02-11 腾讯科技(深圳)有限公司 Method and device for generating program bug positioning information
CN104881212A (en) * 2015-06-26 2015-09-02 深圳市富途网络科技有限公司 Fast display interface switching method and system for mobile electronic equipment
WO2016095728A1 (en) * 2014-12-16 2016-06-23 阿里巴巴集团控股有限公司 Multi-window display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346267A (en) * 2013-08-08 2015-02-11 腾讯科技(深圳)有限公司 Method and device for generating program bug positioning information
CN103617078A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Method and device for managing active components
WO2016095728A1 (en) * 2014-12-16 2016-06-23 阿里巴巴集团控股有限公司 Multi-window display method and device
CN104881212A (en) * 2015-06-26 2015-09-02 深圳市富途网络科技有限公司 Fast display interface switching method and system for mobile electronic equipment

Also Published As

Publication number Publication date
CN107515948A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
CN107515948B (en) Method for page jump, device and readable storage medium storing program for executing
CN105164632B (en) Form interface switching
CN103345885B (en) The collocation method of casing trace configurations method and device and spliced display screen
CN105554547B (en) The method and system of display screen adaptive configuration
US20130127905A1 (en) Dual-system displaying method and electric device
US20170031555A1 (en) Display Processing Method and Display Processing Device
US20160004574A1 (en) Method and apparatus for accelerating system running
CN103135879B (en) Display packing, display device and electronic equipment
CN105320417B (en) Page switching method and client
CN103309555B (en) The method and device of focus based on multiwindow switching
CN103337086A (en) Picture editing method and device for mobile terminal and mobile terminal
CN104238897A (en) Menu item displaying method and device
CN105556417A (en) Electronic device for controlling power and method therefor
CN107220077B (en) Using the management-control method and management and control devices of starting
CN105824390A (en) Terminal electricity-saving display method and mobile terminal
CN107219983A (en) List display method and device
CN103365621A (en) Image processing method and device
CN103955327B (en) Information processing method and electronic equipment
CN111309413B (en) Interface display method and device, electronic equipment and storage medium
CN104424003A (en) Information processing method and electronic device
CN109343954A (en) Electronic device works method and system
CN105426076A (en) Information processing method and electronic equipment
CN103003769B (en) Clock circuit, electronic equipment and the method for clock signal is provided
US9921728B2 (en) Service providing device, and method of providing a user interface
CN102968254B (en) electronic equipment and information processing method thereof

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant