CN104423785A - View switching method and terminal - Google Patents

View switching method and terminal Download PDF

Info

Publication number
CN104423785A
CN104423785A CN201310400517.5A CN201310400517A CN104423785A CN 104423785 A CN104423785 A CN 104423785A CN 201310400517 A CN201310400517 A CN 201310400517A CN 104423785 A CN104423785 A CN 104423785A
Authority
CN
China
Prior art keywords
page
next stage
view controller
stage page
page view
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.)
Granted
Application number
CN201310400517.5A
Other languages
Chinese (zh)
Other versions
CN104423785B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310400517.5A priority Critical patent/CN104423785B/en
Publication of CN104423785A publication Critical patent/CN104423785A/en
Application granted granted Critical
Publication of CN104423785B publication Critical patent/CN104423785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a view switching method and a terminal. The view switching method comprises the steps of establishing a control relation between a current page view controller and a next page view controller when a next page of a current page is selected; setting a switching effect of the next page in the current page view controller, and setting a display effect of the next page in the next page view controller; switching and displaying the next page according to the control relation, the current page view controller and the next page view controller. By adopting the view switching method disclosed by the invention, various switching effects can be supplied, the switching effect between all pages can be flexibly set, and the situation of quickly returning to a selected page can be ensured.

Description

A kind of view changing method and terminal
Technical field
The present invention relates to view control technology, particularly relate to a kind of view changing method and terminal.
Background technology
Terminal such as smart mobile phone application is more and more extensive, and the application program can loaded in smart mobile phone also gets more and more, and each application program is containing multiple view.When executive utility, need to switch in multiple view.
At present, the method that view switches, mainly comprises following two kinds:
One, the view controller that each level page of Navigation Control management is corresponding is adopted.Concrete, navigation controller, by view controller corresponding for one or more level page, is put into storehouse according to level and is managed, and, control the switching effect between the page corresponding to each level view controller.But the view of this method switches effect by navigation controller unified management, therefore, switches effect less; In addition, because this method adopts the mode of storehouse, like this, opening the page corresponding to current application program multi-layer controller, and when will return the homepage of application program, just need view controller corresponding for each level page to exit storehouse one by one, that is: return higher level's page step by step from current page successively, the homepage of final display application program, very inconvenient.
Two, adopt tab view controller (Tab view controller) to control view controller corresponding to each page, the switching effect that can provide like this is few; Further, also can be subject to the restriction of screen size, cause showing whole tab.
Visible, the method that in prior art, view switches, cannot fast and switch to desired page intuitively, and switching effect between the page is less.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of view changing method and terminal, at least can solve the problems referred to above that prior art exists.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of view changing method, described method comprises:
When selecting the next stage page of current page, set up the control planning between current page view controller and next stage page view controller;
The switching effect of the described next stage page is set in described current page view controller, the display effect of the described next stage page is set in described next stage page view controller;
According to described control planning, described current page view controller and next stage page view controller, switch and show the next stage page.
In such scheme, during the next stage page of described selected current page, set up the control planning between current page view controller and next stage page view controller, comprising:
In current page selected return before the assigned stages page or the selected next stage page, elected when fixing first level pages, set up the control planning between current page view controller and next stage page view controller; When selected return the front assigned stages page time, all pages after deleting the described front assigned stages page.
In such scheme, the described control planning set up between current page view controller and next stage page view controller, comprising:
According to the mark of the selected next stage page, set up the view controller of the described next stage page; In current page view controller, add the pointer pointing to next stage page view controller, and in described next stage page view controller, add the pointer pointing to upper level page view controller.
In such scheme, all pages after the described front assigned stages page of described deletion, comprising:
Using the described front assigned stages page as current page, according to the pointer of the sensing next stage page view controller preserved in the view controller of current page, all page view controllers interlinked after finding next stage page view controller and described next stage page view controller;
Switching effect corresponding to the next stage page is extracted from described next stage page view controller, according to described switching effect, the next stage page is deleted, and according to page view controllers interlinked all after next stage page view controller, delete the view controller of all pages after the described next stage page and correspondence;
Delete the pointer of the downward first level pages view controller of current page view controller middle finger.
In such scheme, the described switching effect arranging the described next stage page in current page view controller, comprising:
Selected one or more incision effect and one or morely cut out effect from switching effect set, by described selected one or more incision combination of effects and by described selected one or more cut out combination of effects after, be kept in described current page view controller.
Present invention also offers a kind of terminal, described terminal comprises: administration module and one or more view controller; Wherein,
Described administration module, when being configured to the next stage page of selected current page, sets up the control planning between current page view controller and next stage page view controller; The switching effect of the described next stage page is set in described current page view controller, the display effect of the described next stage page is set in described next stage page view controller; According to described control planning, described current page view controller and next stage page view controller, switch and show the next stage page;
Described view controller, is configured to operate according to the control of administration module.
In such scheme, described administration module, to be configured in current page the assigned stages page or the selected next stage page before selected returning, elected when fixing first level pages, sets up the control planning between current page view controller and next stage page view controller; When selected return the front assigned stages page time, all pages after deleting the described front assigned stages page.
In such scheme, described administration module, is configured to, according to the mark of the selected next stage page, set up the view controller of the described next stage page; In current page view controller, add the pointer pointing to next stage page view controller, and in described next stage page view controller, add the pointer pointing to upper level page view controller.
In such scheme, described administration module, be configured to the described front assigned stages page as current page, according to the pointer of the sensing next stage page view controller preserved in the view controller of current page, find next stage page view controller, and all page view controllers interlinked after described next stage page view controller; Switching effect corresponding to the next stage page is extracted from described next stage page view controller, according to described switching effect, the next stage page is deleted, and according to page view controllers interlinked all after next stage page view controller, delete the view controller of all pages after the described next stage page and correspondence; Delete the pointer of the downward first level pages view controller of current page view controller middle finger.
In such scheme, described administration module, to be configured to from switching effect set selected one or more incision effect and one or morely to cut out effect, by described selected one or more incision combination of effects and by described selected one or more cut out combination of effects after, be kept in described next stage page view controller.
The view changing method that the embodiment of the present invention provides and terminal, when the next stage page of selected current page, can set up the control planning between current page view controller and next stage page view controller; Further, according to the switching effect of the described next stage page arranged in described current page view controller, the display effect of the described next stage page arranged in described next stage page view controller, switches and shows the next stage page.So, the switching effect that this page is corresponding can be determined in the view controller of each page, thus guarantee to provide multiple switching effect for view switches, and switching effect corresponding to each page in the page at different levels is set neatly.
In addition, owing to establishing control planning between every grade of view controller, therefore, when switching back to the selected page, problem in the stacking-type management method of prior art navigation controller can be avoided, the problem includes: the problem first entering the complex operation going out to bring afterwards, can ensure that the selected page is arrived in fast return.
Accompanying drawing explanation
Fig. 1 is the treatment scheme schematic diagram of embodiment of the present invention view changing method;
Fig. 2 is the control planning schematic diagram between embodiment of the present invention view controller;
Fig. 3 is the incision effect schematic diagram that the embodiment of the present invention controls the next stage page;
Fig. 4 is the display effect of the embodiment of the present invention next stage page;
Fig. 5 is the composition structural representation of embodiment of the present invention terminal.
Embodiment
The basic thought of the embodiment of the present invention is: when selecting the next stage page of current page, set up the control planning between current page view controller and next stage page view controller; The switching effect of the described next stage page is set in described current page view controller, the display effect of the described next stage page is set in described next stage page view controller; According to described control planning, described current page view controller and next stage page view controller, switch and show the next stage page.
Below in conjunction with drawings and the specific embodiments, the embodiment of the present invention is further described in more detail.
The view changing method that the embodiment of the present invention proposes, as shown in Figure 1, comprises the following steps:
Step 101: when selecting the next stage page of current page, set up the control planning between current page view controller and next stage page view controller.
Concrete, in current page, selectedly return the front assigned stages page or the selected next stage page, elected when fixing first level pages, set up the control planning between current page view controller and next stage page view controller; When selected return the front assigned stages page time, all pages after deleting the described front assigned stages page.
Here, described current page can be the homepage of the application program of current unlatching, also can be any one page of the application program of current unlatching.
The described selected next stage page is: from the catalogue that current page provides, and any one catalogue selected is as the selected next stage page.
Wherein, described control planning of setting up can be generate Quality Initiative; The described control planning set up between current page view controller and next stage page view controller comprises: according to the mark of the selected next stage page, set up the view controller of the described next stage page;
In current page view controller, add the pointer of the sensing next stage page view controller pointing to next stage page view controller, and in described next stage page view controller, add the pointer of the sensing upper level page view controller pointing to upper level page view controller.
Control planning between described view controller as shown in Figure 2, wherein, suppose that the page of view controller 1 correspondence is the homepage of the application program of current unlatching, the view controller 2 correspondence second level page, the rest may be inferred, view controller n-1 is current page view controller, view controller n is next stage page view controller, the pointed view controller n-1 of the sensing upper level page view controller of the pointed view controller n of the sensing next stage page view controller of view controller n-1, view controller n.
The mark of the next stage page that described basis is selected, the view controller setting up the described next stage page is: utilize model-view-controller (MVC, Model-View-Controller) technology realizes, and described MVC technology is prior art, does not repeat here.The adding method of described pointer is prior art, does not repeat here.
The described front assigned stages page is: select according to user operation, the page of specified quantity level before current page, such as, when current page is the level V page, the front assigned stages page is the second level page that user selectes.
All pages after the described front assigned stages page of described deletion, comprise: using the described front assigned stages page as current page, according to the pointer of the sensing next stage page view controller preserved in the view controller of current page, find next stage page view controller, and all page view controllers interlinked after described next stage page view controller; Switching effect corresponding to the next stage page is extracted from described next stage page view controller, according to described switching effect, the next stage page is deleted, and according to page view controllers interlinked all after next stage page view controller, delete the view controller of all pages after the described next stage page and correspondence; Delete the pointer of the sensing next stage page view controller in current page view controller.
Wherein, the pointer of the sensing next stage page view controller in described deletion current page view controller can for be set to sky by the pointer of described sensing next stage page view controller.
Step 102: the switching effect arranging the described next stage page in described current page view controller, arranges the display effect of the described next stage page in described next stage page view controller.
Here, the switching effect arranging the described next stage page in described current page view controller comprises: selected one or more incision effect and one or morely cut out effect from switching effect set, by described selected one or more incision combination of effects and by described selected one or more cut out combination of effects after, be kept in described current page view controller.
The set of described switching effect comprises: one or more incision effect and one or morely cut out effect.Such as, described incision effect can comprise fly into, gradual change; The described effect that cuts out can comprise and flies out, directly cancels.
Describedly display effect be set in next stage page view controller comprise: designated edge in the next stage page, relative to current page in the position of identical designated edge arrange, such as, can be set to: the left and right edges of the next stage page and lower limb, to overlap with the left and right edges of current page and lower limb respectively, the coboundary of the next stage page moves down designated length than the coboundary of current page.
Such as, realize by level the incision effect flown into and fly out cut out effect, utilize the hierarchical relationship between the control planning reflection view shown in Fig. 2, the incision of the view that the view controller of the next stage page is held, cut out effect, if need the incision of each page arranged or cut out effect consistent, then all selected identical switching effect of each view controller, so just maintains consistance.Further, this control planning scheme can provide different switching effects respectively for the page of each level, has very strong extendability.
Step 103: according to described control planning, described current page view controller and next stage page view controller, switch and show the next stage page.
Concrete, according to the described control planning determination next stage page view controller between current page view controller and next stage page view controller, according to the switching effect in described current page view controller, by described next stage page incision screen, and show the described next stage page according to the display effect in described next stage page view controller, using the described next stage page as current page, using described next stage page view controller as current page controller.
Such as, Figure 3 shows that the next stage page is according to described next stage page view controller, be about to adopt the incision effect flown into enter screen; Fig. 4 be according to arrange in described next stage page view controller by left hand edge in the next stage page, the designated length place being presented at distance current page left hand edge, and using the described next stage page as current page.
Further, after above-mentioned steps 103 completes, according to the operation of user, can also return and perform step 101.
Visible, the said method that the application of the invention embodiment provides, the switching effect that this page is corresponding can be determined in the view controller of each page, thus ensure to provide multiple switching effect for view switches, and switching effect corresponding to each page in the page at different levels is set neatly.And, owing to establishing control planning between every grade of view controller, so when switching back to the selected page, problem in the stacking-type management method of prior art navigation controller can be avoided, the problem includes: the problem first entering the complex operation going out to bring afterwards, so, can ensure that the selected page is arrived in fast return.
The terminal that the embodiment of the present invention provides, as shown in Figure 5, comprising: administration module and one or more view controller; Wherein,
Described administration module, when being configured to the next stage page of selected current page, sets up the control planning between current page view controller and next stage page view controller; The switching effect of the described next stage page is set in described current page view controller, the display effect of the described next stage page is set in described next stage page view controller; According to described control planning, described current page view controller and next stage page view controller, switch and show the next stage page;
Described view controller, is configured to operate according to the control of administration module.
Described administration module, to be configured in current page the assigned stages page or the selected next stage page before selected returning, elected when fixing first level pages, sets up the control planning between current page view controller and next stage page view controller; When selected return the front assigned stages page time, all pages after deleting the described front assigned stages page.
Described administration module, is configured to any one selected from the catalogue that current page provides for user catalogue as the selected next stage page.
Described administration module, is configured to, according to the mark of the selected next stage page, set up the view controller of the described next stage page; In current page view controller, add the pointer pointing to next stage page view controller, and in described next stage page view controller, add the pointer pointing to upper level page view controller; Accordingly, described view controller, is also configured to preserve the pointer pointing to upper level page view controller and the pointer pointing to next stage page view controller.
Control planning between described view controller can be realized by Quality Initiative, as shown in Figure 2, wherein, suppose that the page of view controller 1 correspondence is the homepage of the application program of current unlatching, the view controller 2 correspondence second level page, the rest may be inferred, view controller n-1 is current page view controller, view controller n is next stage page view controller, and, the pointed view controller n of the sensing next stage page view controller of view controller n-1, the pointed view controller n-1 of the sensing upper level page view controller of view controller n.
Described administration module, be configured to MVC technology and set up corresponding view controller, described MVC technology is prior art, does not repeat here.
Described administration module, be configured to the assigned stages page before user selectes as current page, according to the pointer of the sensing next stage page view controller preserved in current page view controller, find next stage page view controller, and all page view controllers interlinked after described next stage page view controller; Switching effect corresponding to the next stage page is extracted from described next stage page view controller, according to described switching effect, the next stage page is deleted, and according to page view controllers interlinked all after next stage page view controller, delete the view controller of all pages after the described next stage page and correspondence; Delete the pointer of the sensing next stage page view controller in current page view controller.Wherein, the pointer of the sensing next stage page view controller in described deletion current page view controller can for be set to sky by the pointer of described sensing next stage page view controller.
Described administration module, to be configured to from switching effect set selected one or more incision effect and one or morely to cut out effect, by described selected one or more incision combination of effects and by described selected one or more cut out combination of effects after, be kept in described current page view controller.Wherein, the set of described switching effect comprises: one or more incision effect and one or morely cut out effect.Such as, described incision effect can comprise fly into, gradual change; The described effect that cuts out can comprise and flies out, directly cancels.
Described administration module, be configured to designated edge in the next stage page, arrange relative to the position of designated edge identical in current page, such as can be set to: the left and right edges of the next stage page and lower limb, to overlap with the left and right edges of current page and lower limb respectively, the coboundary of the next stage page moves down designated length than the coboundary of current page.
Such as, realize by level the incision effect flown into and fly out cut out effect, utilize the hierarchical relationship between the control planning reflection view shown in Fig. 2, the incision of the view that the view controller of the next stage page is held, cut out effect, if need the incision of each page arranged or cut out effect consistent, then all selected identical switching effect of each view controller, so just maintains consistance.Further, this control planning scheme can provide different switching effects respectively for the page of each level, has very strong extendability.
Described administration module, be configured to according to the described control planning determination next stage page view controller between current page view controller and next stage page view controller, according to the switching effect in described next stage page view controller by described next stage page incision screen, and show the described next stage page according to the display effect in described next stage page view controller, using the described next stage page as current page, using described next stage page view controller as current page controller.
Such as, Figure 3 shows that the next stage page is according to described next stage page view controller, be about to adopt the incision effect flown into enter screen; Fig. 4 be according to arrange in described next stage page view controller by left hand edge in the next stage page, the designated length place being presented at distance current page left hand edge, and using the described next stage page as current page.
Visible, the terminal that the application of the invention embodiment provides, in the view controller of each page, determine the switching effect that this page is corresponding, thus ensure to provide multiple switching effect for view switches, and switching effect corresponding to each page in the page at different levels is set neatly.Owing to establishing control planning between every grade of view controller, therefore, when switching back to the selected page, problem in the stacking-type management method of prior art navigation controller can be avoided, the problem includes: the problem first entering the complex operation going out to bring afterwards, so, can ensure that the selected page is arrived in fast return.
The embodiment of the present invention also provides a kind of computer-readable recording medium, and this storage medium comprises one group of instruction, when executed, causes at least one processor to perform and comprises following operation:
When selecting the next stage page of current page, set up the control planning between current page view controller and next stage page view controller;
The switching effect of the described next stage page is set in described current page view controller, the display effect of the described next stage page is set in described next stage page view controller;
According to described control planning, described current page view controller and next stage page view controller, switch and show the next stage page.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, described operation comprises: in current page, select and return the front assigned stages page or the selected next stage page, elected when fixing first level pages, set up the control planning between current page view controller and next stage page view controller; When selected return the front assigned stages page time, all pages after deleting the described front assigned stages page.
Wherein, described current page can be the homepage of the application program of current unlatching, also can be any one page of the application program of current unlatching.The described selected next stage page is: from the catalogue that current page provides, and any one catalogue selected is as the selected next stage page.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises:
According to the mark of the selected next stage page, set up the view controller of the described next stage page; In current page view controller, add the pointer of the sensing next stage page view controller pointing to next stage page view controller, and in described next stage page view controller, add the pointer of the sensing upper level page view controller pointing to upper level page view controller.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises:
Utilize MVC technology to realize, described MVC technology is prior art, does not repeat here.The adding method of described pointer is prior art, does not repeat here.The described front assigned stages page is: select according to user operation, the page of specified quantity level before current page, such as, when current page is the level V page, the front assigned stages page is the second level page that user selectes.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises:
Using the described front assigned stages page as current page, according to the pointer of the sensing next stage page view controller preserved in the view controller of current page, find next stage page view controller, and all page view controllers interlinked after described next stage page view controller;
Switching effect corresponding to the next stage page is extracted from described next stage page view controller, according to described switching effect, the next stage page is deleted, and according to page view controllers interlinked all after next stage page view controller, delete the view controller of all pages after the described next stage page and correspondence;
Delete the pointer of the sensing next stage page view controller in current page view controller.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises: the pointer of the sensing next stage page view controller in described deletion current page view controller can for be set to sky by the pointer of described sensing next stage page view controller.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises:
Selected one or more incision effect and one or morely cut out effect from switching effect set, by described selected one or more incision combination of effects and by described selected one or more cut out combination of effects after, be kept in described current page view controller.The set of described switching effect comprises: one or more incision effect and one or morely cut out effect.Such as, described incision effect can comprise fly into, gradual change; The described effect that cuts out can comprise and flies out, directly cancels.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises:
To designated edge in the next stage page, arrange relative to the position of designated edge identical in current page, such as, can be set to: the left and right edges of the next stage page and lower limb, to overlap with the left and right edges of current page and lower limb respectively, the coboundary of the next stage page moves down designated length than the coboundary of current page.
Such as, realize by level the incision effect flown into and fly out cut out effect, utilize the hierarchical relationship between the control planning reflection view shown in Fig. 2, the incision of the view that the view controller of the next stage page is held, cut out effect, if need the incision of each page arranged or cut out effect consistent, then all selected identical switching effect of each view controller, so just maintains consistance.Further, this control planning scheme can provide support for various switching effect, has very strong extendability.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises:
According to the described control planning determination next stage page view controller between current page view controller and next stage page view controller, according to the switching effect in described next stage page view controller, by described next stage page incision screen, and show the described next stage page according to the display effect in described next stage page view controller, using the described next stage page as current page, using described next stage page view controller as current page controller.
Such as, Figure 3 shows that the next stage page is according to described next stage page view controller, be about to adopt the incision effect flown into enter screen; Fig. 4 be according to arrange in described next stage page view controller by left hand edge in the next stage page, the designated length place being presented at distance current page left hand edge, and using the described next stage page as current page.
Wherein, this storage medium also comprises the instruction causing at least one processor to perform following operation, and described operation comprises:
According to described next stage page view controller, to switch and after showing the next stage page, according to the operation of user, when continuing the next stage page of selected current page, the control planning between current page view controller and next stage page view controller can also be set up.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (10)

1. a view changing method, is characterized in that, described method comprises:
When selecting the next stage page of current page, set up the control planning between current page view controller and next stage page view controller;
The switching effect of the described next stage page is set in described current page view controller, the display effect of the described next stage page is set in described next stage page view controller;
According to described control planning, described current page view controller and next stage page view controller, switch and show the next stage page.
2. method according to claim 1, is characterized in that, during the next stage page of described selected current page, sets up the control planning between current page view controller and next stage page view controller, comprising:
In current page selected return before the assigned stages page or the selected next stage page, elected when fixing first level pages, set up the control planning between current page view controller and next stage page view controller; When selected return the front assigned stages page time, all pages after deleting the described front assigned stages page.
3. method according to claim 2, is characterized in that, the described control planning set up between current page view controller and next stage page view controller, comprising:
According to the mark of the selected next stage page, set up the view controller of the described next stage page; In current page view controller, add the pointer pointing to next stage page view controller, and in described next stage page view controller, add the pointer pointing to upper level page view controller.
4. method according to claim 2, is characterized in that, all pages after the described front assigned stages page of described deletion, comprising:
Using the described front assigned stages page as current page, according to the pointer of the sensing next stage page view controller preserved in the view controller of current page, all page view controllers interlinked after finding next stage page view controller and described next stage page view controller;
Switching effect corresponding to the next stage page is extracted from described next stage page view controller, according to described switching effect, the next stage page is deleted, and according to page view controllers interlinked all after next stage page view controller, delete the view controller of all pages after the described next stage page and correspondence;
Delete the pointer of the downward first level pages view controller of current page view controller middle finger.
5. method according to claim 1, is characterized in that, the described switching effect arranging the described next stage page in current page view controller, comprising:
Selected one or more incision effect and one or morely cut out effect from switching effect set, by described selected one or more incision combination of effects and by described selected one or more cut out combination of effects after, be kept in described current page view controller.
6. a terminal, is characterized in that, described terminal comprises: administration module and one or more view controller; Wherein,
Described administration module, when being configured to the next stage page of selected current page, sets up the control planning between current page view controller and next stage page view controller; The switching effect of the described next stage page is set in described current page view controller, the display effect of the described next stage page is set in described next stage page view controller; According to described control planning, described current page view controller and next stage page view controller, switch and show the next stage page;
Described view controller, is configured to operate according to the control of administration module.
7. terminal according to claim 6, is characterized in that,
Described administration module, to be configured in current page the assigned stages page or the selected next stage page before selected returning, elected when fixing first level pages, sets up the control planning between current page view controller and next stage page view controller; When selected return the front assigned stages page time, all pages after deleting the described front assigned stages page.
8. terminal according to claim 7, is characterized in that,
Described administration module, is configured to, according to the mark of the selected next stage page, set up the view controller of the described next stage page; In current page view controller, add the pointer pointing to next stage page view controller, and in described next stage page view controller, add the pointer pointing to upper level page view controller.
9. terminal according to claim 7, is characterized in that,
Described administration module, be configured to the described front assigned stages page as current page, according to the pointer of the sensing next stage page view controller preserved in the view controller of current page, find next stage page view controller, and all page view controllers interlinked after described next stage page view controller; Switching effect corresponding to the next stage page is extracted from described next stage page view controller, according to described switching effect, the next stage page is deleted, and according to page view controllers interlinked all after next stage page view controller, delete the view controller of all pages after the described next stage page and correspondence; Delete the pointer of the downward first level pages view controller of current page view controller middle finger.
10. terminal according to claim 6, is characterized in that,
Described administration module, to be configured to from switching effect set selected one or more incision effect and one or morely to cut out effect, by described selected one or more incision combination of effects and by described selected one or more cut out combination of effects after, be kept in described next stage page view controller.
CN201310400517.5A 2013-09-05 2013-09-05 A kind of view switching method and terminal Active CN104423785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310400517.5A CN104423785B (en) 2013-09-05 2013-09-05 A kind of view switching method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310400517.5A CN104423785B (en) 2013-09-05 2013-09-05 A kind of view switching method and terminal

Publications (2)

Publication Number Publication Date
CN104423785A true CN104423785A (en) 2015-03-18
CN104423785B CN104423785B (en) 2019-06-14

Family

ID=52972956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310400517.5A Active CN104423785B (en) 2013-09-05 2013-09-05 A kind of view switching method and terminal

Country Status (1)

Country Link
CN (1) CN104423785B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016146056A1 (en) * 2015-03-19 2016-09-22 阿里巴巴集团控股有限公司 Page switching method and device
CN106155662A (en) * 2015-04-15 2016-11-23 高德软件有限公司 A kind of Web page event-handling method, system and page controller
CN107071574A (en) * 2017-05-24 2017-08-18 环球智达科技(北京)有限公司 Intelligent television method for page jump
CN107105334A (en) * 2017-05-24 2017-08-29 环球智达科技(北京)有限公司 Intelligent television page skip device
CN107463367A (en) * 2017-06-22 2017-12-12 北京小度信息科技有限公司 Transition cartoon implementing method and device
CN107609199A (en) * 2017-10-24 2018-01-19 网易无尾熊(杭州)科技有限公司 A kind of method, equipment and storage medium for handling and recovering the page
CN111459371A (en) * 2020-03-31 2020-07-28 北京奇艺世纪科技有限公司 View switching method and device, electronic equipment and storage medium
CN111694624A (en) * 2019-03-13 2020-09-22 北京字节跳动网络技术有限公司 Rollback display processing method, apparatus, device and medium
CN112604304A (en) * 2020-12-25 2021-04-06 珠海金山网络游戏科技有限公司 Interaction control method and device for virtual objects
CN113298579A (en) * 2020-02-21 2021-08-24 北京沃东天骏信息技术有限公司 Method and device for displaying product list
CN113435785A (en) * 2021-07-21 2021-09-24 广州博冠信息科技有限公司 Controller management method and device, storage medium and electronic equipment
CN113568688A (en) * 2020-04-29 2021-10-29 RealMe重庆移动通信有限公司 View switching method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102214068A (en) * 2011-04-28 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for page switching display and mobile terminal
CN102385473A (en) * 2010-09-02 2012-03-21 腾讯科技(深圳)有限公司 Page switching method and device
CN102799421A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Multi-view switching system and method
US20130067394A1 (en) * 2011-09-12 2013-03-14 Microsoft Corporation Pointer invocable navigational user interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385473A (en) * 2010-09-02 2012-03-21 腾讯科技(深圳)有限公司 Page switching method and device
CN102214068A (en) * 2011-04-28 2011-10-12 宇龙计算机通信科技(深圳)有限公司 Control method for page switching display and mobile terminal
CN102799421A (en) * 2011-05-25 2012-11-28 腾讯科技(深圳)有限公司 Multi-view switching system and method
US20130067394A1 (en) * 2011-09-12 2013-03-14 Microsoft Corporation Pointer invocable navigational user interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何祖顺: "《计算机技术基础讲座(连载十七)第八讲PowerPoint2003》", 《印刷世界》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016146056A1 (en) * 2015-03-19 2016-09-22 阿里巴巴集团控股有限公司 Page switching method and device
CN106155662A (en) * 2015-04-15 2016-11-23 高德软件有限公司 A kind of Web page event-handling method, system and page controller
CN106155662B (en) * 2015-04-15 2019-11-15 高德软件有限公司 A kind of Web page event-handling method, system and page controller
CN107071574A (en) * 2017-05-24 2017-08-18 环球智达科技(北京)有限公司 Intelligent television method for page jump
CN107105334A (en) * 2017-05-24 2017-08-29 环球智达科技(北京)有限公司 Intelligent television page skip device
CN107463367A (en) * 2017-06-22 2017-12-12 北京小度信息科技有限公司 Transition cartoon implementing method and device
CN107463367B (en) * 2017-06-22 2021-05-18 北京星选科技有限公司 Transition animation realization method and device
CN107609199A (en) * 2017-10-24 2018-01-19 网易无尾熊(杭州)科技有限公司 A kind of method, equipment and storage medium for handling and recovering the page
CN111694624A (en) * 2019-03-13 2020-09-22 北京字节跳动网络技术有限公司 Rollback display processing method, apparatus, device and medium
CN113298579A (en) * 2020-02-21 2021-08-24 北京沃东天骏信息技术有限公司 Method and device for displaying product list
CN111459371A (en) * 2020-03-31 2020-07-28 北京奇艺世纪科技有限公司 View switching method and device, electronic equipment and storage medium
CN111459371B (en) * 2020-03-31 2021-09-28 北京奇艺世纪科技有限公司 View switching method and device, electronic equipment and storage medium
CN113568688A (en) * 2020-04-29 2021-10-29 RealMe重庆移动通信有限公司 View switching method and device, electronic equipment and storage medium
CN113568688B (en) * 2020-04-29 2023-06-06 RealMe重庆移动通信有限公司 View switching method and device, electronic equipment and storage medium
CN112604304A (en) * 2020-12-25 2021-04-06 珠海金山网络游戏科技有限公司 Interaction control method and device for virtual objects
CN112604304B (en) * 2020-12-25 2022-09-02 珠海金山数字网络科技有限公司 Interaction control method and device for virtual objects
CN113435785A (en) * 2021-07-21 2021-09-24 广州博冠信息科技有限公司 Controller management method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN104423785B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN104423785A (en) View switching method and terminal
US11068134B2 (en) Method and apparatus for creating desktop widget, and terminal device
CN105068721B (en) A kind of actions menu display methods and terminal
AU2013386836B2 (en) Application window divider control for window layout management
CN102736849B (en) Menu layout processing method and device
CN106033372A (en) Page switching method and apparatus
CN103412751A (en) Information display method and device of lock screen interfaces
KR102280474B1 (en) Method and apparatus for operating of electronic device
CN102789317A (en) Method and device for accelerating text input
CN105700505A (en) Control method and device of intelligent household equipment
CN103763433A (en) Method and system for controlling operation of terminal applications
CN102736903A (en) Method and device for managing widgets based on intelligent terminal desktop
CN106095917A (en) A kind of bookmark preservation, methods of exhibiting, device and browser
CN102306084A (en) Method and device for managing application programs
CN106095240A (en) The display packing of a kind of text box and device
CN103440271B (en) The method and its device of history catalogue are shown in operating system
CN102662958A (en) Page segmentation display method
CN111045561A (en) Display method and device of function keys, terminal equipment and storage medium
CN106990931A (en) Display methods and terminal for terminal
CN105376650A (en) Switching method and device for channels and applications of smart television
CN106325681A (en) Method and device for switching menu items
CN104168350A (en) Contact person searching method and terminal
CN103593114A (en) Page display method and device
CN105700827A (en) Android APP migration method and system
CN105516505B (en) A kind of more apply synchronizes the method, system and smart phone used

Legal Events

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