CN112363668A - Multi-view interaction method and device, mobile terminal and computer equipment - Google Patents

Multi-view interaction method and device, mobile terminal and computer equipment Download PDF

Info

Publication number
CN112363668A
CN112363668A CN202011295874.6A CN202011295874A CN112363668A CN 112363668 A CN112363668 A CN 112363668A CN 202011295874 A CN202011295874 A CN 202011295874A CN 112363668 A CN112363668 A CN 112363668A
Authority
CN
China
Prior art keywords
view
page
display
controller
pages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011295874.6A
Other languages
Chinese (zh)
Inventor
王字良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baijia Technology Group Co ltd
Original Assignee
Beijing Baijia Technology Group 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 Beijing Baijia Technology Group Co ltd filed Critical Beijing Baijia Technology Group Co ltd
Priority to CN202011295874.6A priority Critical patent/CN112363668A/en
Publication of CN112363668A publication Critical patent/CN112363668A/en
Pending legal-status Critical Current

Links

Images

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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

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 application discloses a multi-view interaction method and device, a mobile terminal and computer equipment. The method comprises the following steps: acquiring a new command of the new view and determining the view type of the new view; if the new view is a common view for displaying a plurality of pages, controlling to create a multi-view controller, wherein the multi-view controller comprises a plurality of view controllers, and the plurality of view controllers are used for controlling the display of a plurality of display pages of the common view; and displaying the new view according to the page adding sequence of the common view. According to the multi-view interaction method and device, the mobile terminal and the computer equipment, the multiple pages can be simultaneously displayed on the same interface by creating the multiple view controllers, and the multiple view controllers can be removed according to the display sequence of the multiple pages, so that the multiple pages are removed, and the dynamic interaction process of the multiple pages on the mobile terminal is realized.

Description

Multi-view interaction method and device, mobile terminal and computer equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a multi-view interaction method and apparatus, a mobile terminal, and a computer device.
Background
The iOS system applied by the current iPhone and the iPad has the same view interaction effect, which is equivalent to that an enlarged version of the iPhone interface is seen on the iPad equipment, and the user experience is poor.
The controller for realizing the left and right structural interfaces in the current iPad is a split controller (UISplitView controller), so that the original interaction experience of the iPad is single, the single interaction means that iPad and iPad devices both belong to single-page application, each page is displayed in a full screen mode, new page display can cover the old page, and after the current display page is removed, the lower page is displayed again, so that the customization cannot be realized, and the dynamism cannot be supported.
Disclosure of Invention
The embodiment of the application provides a multi-view interaction method and device, a mobile terminal and computer equipment.
The embodiment of the application provides a multi-view interaction method. The method comprises the following steps: acquiring a display instruction of a new view and determining the view type of the new view; if the new view is a common view for displaying a plurality of pages, controlling to create a multi-view controller, wherein the multi-view controller comprises a plurality of view controllers, and the plurality of view controllers are used for controlling the display of the plurality of display pages of the common view; and displaying the new view according to the page adding sequence of the common view.
The embodiment of the application also provides a multi-view interaction device. The device comprises a first obtaining module, a first creating module and a display module. The first obtaining module is used for obtaining a new instruction of a new view and determining the view type of the new view; the first creating module is configured to control the system to create a multi-view controller if the new view is a normal view displaying multiple pages, where the multi-view controller includes multiple view controllers, and the multiple view controllers are configured to control display of the multiple display pages of the normal view; and the display module is used for displaying the new view according to the page adding sequence of the common view.
The embodiment of the application also provides the mobile terminal. The mobile terminal comprises a shell and the multi-view interaction device. The device is disposed within the housing. The device comprises a first obtaining module, a first creating module and a display module. The first obtaining module is used for obtaining a new instruction of a new view and determining the view type of the new view; the first creating module is configured to control the system to create a multi-view controller if the new view is a normal view displaying multiple pages, where the multi-view controller includes multiple view controllers, and the multiple view controllers are configured to control display of the multiple display pages of the normal view; and the display module is used for displaying the new view according to the page adding sequence of the common view.
The embodiment of the application also provides computer equipment which comprises a memory and a processor. The memory is stored with a computer program, and the computer program is used for acquiring display instructions of a new view and determining a view type of the new view when being executed by the processor; if the new view is a common view for displaying a plurality of pages, controlling to create a multi-view controller, wherein the multi-view controller comprises a plurality of view controllers, and the plurality of view controllers are used for controlling the display of the plurality of display pages of the common view; and displaying the new view according to the page adding sequence of the common view.
According to the multi-view interaction method and device, the mobile terminal and the computer equipment, the multiple pages can be simultaneously displayed on the same interface by creating the multiple view controllers, and the multiple view controllers can be removed according to the display sequence of the multiple pages, so that the multiple pages are removed, and the dynamic interaction process of the multiple pages on the mobile terminal is realized.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart diagram of a multi-view interaction method of some embodiments of the present application;
FIG. 2 is a schematic block diagram of a multi-view interactive device according to some embodiments of the present application;
FIG. 3 is a schematic diagram of a scenario of a multi-view interaction method according to some embodiments of the present application;
FIG. 4 is a schematic diagram of a scenario of a multi-view interaction method according to some embodiments of the present application;
FIG. 5 is a schematic diagram of a scenario of a multi-view interaction method according to some embodiments of the present application;
FIG. 6 is a schematic diagram of a scenario of a multi-view interaction method in some embodiments of the present application;
FIG. 7 is a schematic diagram of a scenario of a multi-view interaction method in some embodiments of the present application;
FIG. 8 is a block diagram of a mobile terminal according to some embodiments of the present application;
FIG. 9 is a schematic block diagram of a computer device according to some embodiments of the present application;
FIG. 10 is a flow chart diagram of a multi-view interaction method of some embodiments of the present application;
FIG. 11 is a schematic diagram of a multi-view interaction device according to some embodiments of the present application;
FIG. 12 is a schematic diagram of a scenario of a multi-view interaction method in some embodiments of the present application;
FIG. 13 is a flow chart diagram of a multi-view interaction method of some embodiments of the present application;
FIG. 14 is a block diagram illustrating a first removal module of the multi-view interaction device, in accordance with certain embodiments of the present application;
FIG. 15 is a schematic diagram of a scenario of a multi-view interaction method in some embodiments of the present application;
FIG. 16 is a schematic diagram of a scenario of a multi-view interaction method in some embodiments of the present application;
FIG. 17 is a schematic diagram of a scenario of a multi-view interaction method in some embodiments of the present application;
FIG. 18 is a schematic diagram of a scenario of a multi-view interaction method in some embodiments of the present application;
FIG. 19 is a flow chart diagram of a multi-view interaction method of some embodiments of the present application;
FIG. 20 is a schematic diagram of a multi-view interaction device according to some embodiments of the present application;
FIG. 21 is a schematic diagram of a scenario of a multi-view interaction method in some embodiments of the present application;
FIG. 22 is a flow chart diagram of a multi-view interaction method of some embodiments of the present application;
FIG. 23 is a schematic structural diagram of a multi-view interaction device according to some embodiments of the present application;
FIG. 24 is a scenario diagram illustrating a multi-view interaction method according to some embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the embodiments of the present application.
Referring to fig. 1, the present application provides a multi-view interaction method. The method comprises the following steps:
s12: acquiring a display instruction of the new view and determining the view type of the new view;
s14: if the new view is a common view for displaying a plurality of pages, controlling to create a multi-view controller, wherein the multi-view controller comprises a plurality of view controllers, and the plurality of view controllers are used for controlling the display of a plurality of display pages of the common view;
s16: and displaying the new view according to the page adding sequence of the common view.
Referring to fig. 2, the present application provides a multi-view interactive device 10. The apparatus 10 comprises: a first acquisition module 12, a first creation module 14, and a display module 16.
The step S12 may be implemented by the first obtaining module 12, the step S14 may be implemented by the first creating module 14, and the step S16 may be implemented by the display module 16. That is, the first obtaining module 12 is configured to obtain a new instruction of the new view and determine a view type of the new view. The first creating module 14 is configured to, if the new view is a normal view displaying multiple pages, control the system to create a multi-view controller, where the multi-view controller includes multiple view controllers, and the multiple view controllers are used to control the display of multiple display pages of the normal view. The display module 16 is used for displaying the new view according to the page adding sequence of the common view.
Specifically, the instruction for displaying the new view may refer to an instruction for displaying the new view, which is issued by a user clicking a certain link or a certain application (app) in the mobile terminal.
The view type of the new view may be a common view of multiple pages displayed in the embodiment of the present application (as shown in fig. 3), or may be a full-screen view in which only one page is displayed (as shown in fig. 4). It is understood that whether the new view is a full screen view or a normal view, the system can identify the attribute of the new view to obtain the attribute information of the new view, so as to identify whether the new view is a full screen view displayed in full screen on a single page or a normal view with multiple pages.
In order to realize that a plurality of pages are displayed in the mobile terminal at the same time, the multi-view controller 141 may be created in the control system of the mobile terminal by the first creation module 14, and the multi-view controller 141 includes a plurality of view controllers. Taking iOS system of iPhone and iPad applications as an example, a view controller (UIViewController) is a carrier and a controller of top view of the iOS system, the interaction between users and program interfaces is controlled by UIViewController, and UIView Controller manages the life cycle of UIView and the loading and releasing of resources. That is, the multi-view interaction method of the present application controls the display and removal of a plurality of pages by providing a plurality of view controllers (uiview controllers) on an existing system.
The multi-view controller 141 may include 2 or more than 2 view controllers, and one view controller may control display and removal of one page. The number of the multiple view controllers 141 in specific application can be created according to the total number of pages of the new view required by the user, for example, if the total number of pages of the new view is 4 pages, the 4 view controllers are controlled to be created to respectively control the display and removal of the 4 pages (as shown in fig. 5), and if the total number of pages of the new view is 5 pages, the 5 view controllers are controlled to be created to respectively control the display and removal of the 5 pages, so that a dynamic interaction process of the 5 pages on the mobile terminal is realized.
When the page is displayed, the new view can be displayed according to the adding sequence of the page in the common view. That is, the common view is formed by adding a plurality of pages to the multi-view controller according to the order of the pages, and the multi-view controller controls the order of the pages displayed on the display interface of the mobile terminal 100 according to the order of the pages. The page adding sequence in the common view can be as shown in fig. 5, where page 1, page 2, page 3, and page 4 are added from left to right in turn, and when displaying, page 1 may be set to be displayed first, and then page 1 is displayed from page 1 to right-most page 4 in turn.
When displaying the common views of the multiple pages, the mobile terminal can be set to display at most two pages, that is, the mobile terminal is divided into two display interfaces, and the two displayed pages can be sequentially displayed according to the page adding sequence. Specifically, in an embodiment, as shown in fig. 6, the common view includes 5 pages, a first time displays a page 1 and a page 2 in two display interfaces according to a user touch gesture, a second time displays a page 3 by a user touch, at this time, two interfaces on the mobile terminal may display the page 2 and the page 3, a third time displays a page 4 by a user touch, at this time, two interfaces on the mobile terminal may display the page 3 and the page 4, and a fourth time displays a page 5 by a user touch, at this time, two interfaces on the mobile terminal may display the page 4 and the page 5. It should be noted that, the displayed pages 1, 2, 3, 4, and 5 may be sequentially displayed in the display manner as shown in fig. 6 (1 and 2, 2 and 3, 3 and 4, and 4 and 5), and may be sequentially displayed in the display manner as shown in fig. 7 (1 and 2, 1 and 3, 1 and 4, 1 and 5), so as to implement a multi-page dynamic interaction process.
The multi-view interaction method can set various page display methods in the mobile terminal according to different application scenes in advance, and a user can set an interaction mode according to self preference. For example, when the user needs to select the content displayed on the next page according to the previous page, the display method shown in fig. 6 may be set, that is, when the currently displayed page 1 and page 2 are displayed, the user may click the relevant link on the page 3 in the page 2, may switch the current page from the page 1 and the page 2 to the page 2 and the page 3, and click the relevant link on the page 4 in the page 3, may change the current page from the page 2 and the page 3 to the page 3 and the page 4. Or, as shown in fig. 7, when the user needs to keep the initial list page, the user may click on the course list page 1 and then display the course detailed introduction page 2, and the user may click on the link related to the page 3 in the page 1, click on the link related to the page 4 in the page 1, and click on the link related to the page 5 in the page 1 to display the page 5, that is, as shown in the display method shown in fig. 7, the half of the mobile terminal is fixed on the page 1, and the half may sequentially display the pages 2, 3, 4, and 5.
In addition, in the two currently displayed pages in the normal view, any area of the page may be touched by a finger to slide up and down (for example, C, D direction in fig. 12) to obtain more information, for example, in page 1 and page 2, two pages may be set in the effective area of the whole page of page 1 and page 2, and may slide up and down to obtain more pictures or text information.
Please refer to fig. 8, the present application further provides a mobile terminal 100. The mobile terminal 100 includes a housing 20 and a device 10, the device 10 being disposed within the housing 20. The device 10 is used for acquiring a display instruction of the new view and determining the view type of the new view; if the new view is a common view for displaying a plurality of pages, controlling to create a multi-view controller, wherein the multi-view controller comprises a plurality of view controllers, and the plurality of view controllers are used for controlling the display of a plurality of display pages of the common view; and displaying the new view according to the page adding sequence of the common view.
The mobile terminal 100 may be a mobile phone, a tablet computer (iPad), a notebook computer, a smart watch, etc. In the embodiment of the present application, the mobile terminal 100 is an iPad as an example, and it is understood that the specific form of the mobile terminal 100 may be other, and is not limited herein.
Please refer to fig. 9, the present application further provides a computer device 30. The computer device 30 includes a memory 31 and a processor 32. The memory 31 stores a computer program 33, and the computer program 33 realizes the steps of the method of any of the above embodiments when executed by the processor 32.
For example, the computer program 33, when executed by the processor 32, implements the steps of the following control method:
s12: acquiring a display instruction of the new view and determining the view type of the new view;
s14: if the new view is a common view for displaying a plurality of pages, controlling to create a multi-view controller, wherein the multi-view controller comprises a plurality of view controllers, and the plurality of view controllers are used for controlling the display of a plurality of display pages of the common view;
s16: and displaying the new view according to the page adding sequence of the common view.
It will be appreciated that the computer program 33 comprises computer program code. The computer program code may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), software distribution medium, and the like.
According to the multi-view interaction method and device, the mobile terminal and the computer equipment, the multiple pages can be simultaneously displayed on the same interface by creating the multiple view controllers, and the multiple view controllers can be removed according to the display sequence of the multiple pages, so that the multiple pages are removed, and the dynamic interaction process of the multiple pages on the mobile terminal is realized.
Referring to fig. 10, in some embodiments, the method further includes:
s11: acquiring a first removing instruction for removing the common view page;
s13: and controlling to remove the plurality of view controllers according to the display sequence of the plurality of pages according to the first removal instruction.
Referring to fig. 11, the present application provides a multi-view interactive device 10. The apparatus 10 comprises: a second acquisition module 11 and a first removal module 13.
The step S11 may be implemented by the second obtaining module 11, and the step S13 may be implemented by the first removing module 13. That is, the second obtaining module 11 is configured to obtain a first removing instruction for removing the normal view page. The first removing module 13 is configured to control to remove the plurality of view controllers according to the display order of the plurality of pages according to a first removing instruction.
Referring to fig. 9, the processor 32 is further configured to: acquiring a first removing instruction for removing the common view page; and controlling to remove the plurality of view controllers according to the display sequence of the plurality of pages according to the first removal instruction.
Specifically, taking 6 view controllers as an example, the 6 view controllers are respectively a view controller 1, a view controller 2, a view controller 3, a view controller 4, a view controller 5, and a view controller 6, the view controller 1 controls a display page 1, the view controller 2 controls a display page 2, the view controller 3 controls a display page 3, the view controller 4 controls a display page 4, the view controller 5 controls a display page 5, and the view controller 6 controls a display page 6. The first removal instruction may refer to a gesture of sliding a screen of a user, for example, when the user issues a first removal instruction to the mobile terminal 100 to remove the page 6 in the current normal view, the first removal instruction refers to an operation of performing sliding removal with a finger in any display area of the page 6, the removal instruction may be set to slide in different directions from a page center area O (an area shown by a dotted line in fig. 12) according to user habits, and the operation is simple and fast, for example, the removal instruction may slide in the a direction, the B direction, the C direction, and the D direction, as shown in fig. 12, which is not limited herein. The first removing instruction may also be set to be in other manners, for example, in a voice control manner, and a command of "remove current page" is input into the mobile terminal 100, that is, the current latest displayed page may be removed, which is beneficial to the intellectualization of the mobile terminal. Meanwhile, the second obtaining module 11 of the multi-view interaction device 10 may obtain the first removing instruction in real time, and the first removing module 13 may control to remove the view controller 6 controlling the page 6 of the current general view according to the first removing instruction.
It can be understood that, after the view controller 6 is removed, the page 6 is removed along with the removal of the view controller 6, so that the page 6 displayed on the mobile terminal 100 is moved and not displayed on the display interface, and since the displayed pages are set to be the two pages that are added recently, after the page 6 is removed, the two pages displayed at this time are the page 4 and the page 5, that is, the page 5 is automatically supplemented to the display position of the page 6, and the page 4 is automatically supplemented to the display position of the page 5. Similarly, after the view controller 5 is removed, the page 5 is removed with the removal of the view controller 5, and after the page 5 is removed, the page 4 and the page 3 are displayed in the mobile terminal, that is, the page 4 is automatically supplemented to the display position of the page 5, and the page 3 is automatically supplemented to the display position of the page 4. After the view controller 4 is removed, the page 4 is removed with the removal of the view controller 4, and after the page 4 is removed, the page 3 and the page 2 are displayed in the mobile terminal, that is, the page 3 is automatically supplemented to the display position of the page 4, and the page 2 is automatically supplemented to the display position of the page 3 (as shown in fig. 15). After the view controller 3 is removed, the page 3 is removed with the removal of the view controller 3, and after the page 3 is removed, the mobile terminal displays the page 2 and the page 1, that is, the page 2 is automatically supplemented to the display position of the page 3, and the page 1 is automatically supplemented to the display position of the page 2 (as shown in fig. 16). After the view controller 2 is removed, the page 2 is also removed along with the removal of the view controller 2, and the page 1 is automatically supplemented to the display position before the removal of the page 2 (as shown in fig. 17). After the view controller 1 is removed, the page 1 is also removed along with the removal of the view controller 1 (as shown in fig. 18). Through the whole set of processes, namely, the 6 view controllers are controlled to be removed according to the display sequence of the 6 pages, the dynamic interaction process of removing all the pages is completed.
Referring to fig. 13, in some embodiments, the first removal instruction includes a preset slide gesture of the user, and the step S13 includes:
s131: determining a display sequence according to the sequence of a plurality of display pages controlled and displayed by a plurality of view controllers;
s132: and removing the view controllers according to the display sequence and the preset sliding gesture.
Referring to fig. 14, the first removing module 13 includes: a determination unit 131 and a removal unit 132.
Step S131 may be implemented by the second obtaining module 131, and step S132 may be implemented by the first removing module 132. That is, the determining unit 131 is configured to determine a display order according to a sequence of the plurality of display pages that are controlled and displayed by the plurality of view controllers; the removing unit 132 is configured to remove the view controllers according to the display order and the preset swipe gesture.
Referring to fig. 9, the processor 32 is configured to determine a display order according to a sequence of the plurality of display pages that are controlled and displayed by the plurality of view controllers; and removing the view controllers according to the display sequence and the preset sliding gesture.
Specifically, taking 4 view controllers (view controller 1, view controller 2, view controller 3, and view controller 4) as an example, determining the display order according to the sequential order of the display pages that the plurality of view controllers control to display means: suppose that the view controller 1 controls the display page 1, and the view controller 2 controls the display page 2 according to a link instruction related to a click of a user on the page 1, which is equivalent to that the page 1 is a parent view of the page 2, that is, the display page sequence at this time is that the page 1 is displayed first and then the page 2 is displayed. Next, the view control 3 controls the display page 3 according to the click related link instruction of the user in the page 2, and the display page sequence at this time is page 1-page 2-page 3, which is equivalent to that the page 2 is the parent view of the page 3. Then, the view controller 4 may control the display page 4 according to a click related link instruction of the user in the page 3, where the page 3 is a parent view of the page 4, and the display page sequence at this time is page 1-page 2-page 3-page 4, that is, the display sequence is determined as follows: page 1-page 2-page 3-page 4.
The preset swipe gesture is effective for any area of the currently displayed page, for example, the preset swipe gesture may be a linear or curved swipe from the central area O of the currently displayed page to the a direction as shown in fig. 12, or a linear or curved swipe to the B direction, which is described in this embodiment by taking the swipe to the a direction as an example. Removing the view controllers according to the display sequence and the preset swipe gesture means that the display sequence is assumed to be page 1-page 2-page 3-page 4 as described above, that is, the pages currently displayed by the mobile terminal 100 are page 3 and page 4. Referring to fig. 15, if all 4 pages need to be removed, that is, if 4 corresponding view controllers need to be removed, the user may slide the page 4 in the direction a to remove the view controller 4 corresponding to the page 4, and then remove the page 4 controlled by the view controller 4. Then, referring to fig. 16, the user may slide the page 3 in the direction a, remove the view controller 3 corresponding to the page 3, and further remove the page 3 controlled by the view controller 3. Next, referring to fig. 17, the user may slide the page 2 in the direction a to remove the view controller 2 corresponding to the page 2, and further remove the page 2 controlled by the view controller 2. Finally, referring to fig. 18, the user can slide from the corresponding area O in the page 1 to the direction a, remove the view controller 1 corresponding to the page 1, and further remove the page 1 controlled by the view controller 1. After the above removal process, all the 4 view controllers are removed, all the pages controlled by the 4 view controllers are also removed, and the mobile terminal 100 can restore the original display desktop.
Referring to fig. 19, in some embodiments, the method further comprises:
s18: and if the new view is a full-screen view for displaying a page and the controller of the new view is a multi-view controller, controlling to create a custom controller, adding the new view into the custom controller, and controlling the display of the new view by the custom controller.
Referring to fig. 20, the apparatus 10 includes a second creation module 18.
Step S18 may be implemented by the second creation module 18. That is, the second creating module 18 is configured to, if the new view is a full-screen view displaying one page and the controller of the new view is a multi-view controller, control to create a custom controller, add the new view into the custom controller, and the custom controller is used to control the display of the new view.
Referring to fig. 9, the processor 32 is further configured to: and if the new view is a full-screen view for displaying a page and the controller of the new view is a multi-view controller, controlling to create a custom controller, adding the new view into the custom controller, and controlling the display of the new view by the custom controller.
It is to be understood that the new view is a full screen view, and the system may identify the attribute of the new view to obtain relevant information to identify the new view as a full screen view displayed in full screen on a single page.
Specifically, the custom controller refers to a controller modified on the basis of the existing iSO system in the iPad and used for controlling the display of a full screen view. That is, the custom controller functions as a carrier for the top view as the same as an existing view controller (uiview controller), except that the custom controller is a controller compatible with the multi-view controller, that is, the custom controller and the multi-view controller can be switched with each other in the iSO system, when a user needs full-screen display, the custom controller is created to control the display of full-screen view, and when the user needs multi-view display, the display of a common view of multiple pages of the multi-view controller is created.
It should be noted that, in the present application, if the new view is a full-screen view displaying a page and the controller of the new view is a multi-view controller, the creating of the custom controller is controlled, the new view is added to the custom controller, and the custom controller is used for controlling the displaying of the new view, which means: when the current page is displayed as a common view in two page states, one of the pages needs to be switched to a full-screen view of full-screen display, as shown in fig. 21, when pages 2 and 3 are displayed in multiple pages, and when page 3 needs to be displayed in full-screen display, the device 10 can control the system to create a self-defined controller, page 3 needing to be displayed in full-screen is added into the self-defined controller, and the self-defined controller can control the page 3 to be displayed in full-screen, so that the interactive process of switching the multiple pages to the full-screen page is realized, a user can conveniently magnify a certain page, and a better visual effect is obtained.
When it is desired to remove a single page of a full screen view, referring to fig. 22, in some embodiments, the method further comprises:
s17: acquiring a second removing instruction for removing a single page of the full screen view;
s19: and controlling to remove the custom controller according to the second removal instruction.
Referring to fig. 23, the apparatus 10 includes a third obtaining module 17 and a second removing module 19.
The step S17 may be implemented by the third obtaining module 17, and the step S19 may be implemented by the second removing module 19. That is, the third obtaining module 17 is configured to obtain a second removing instruction for removing the full screen view, and the second removing module 19 is configured to control to remove the custom controller according to the second removing instruction.
Referring to fig. 9, the processor 32 is further configured to: acquiring a second removing instruction for removing a single page of the full screen view; and controlling to remove the custom controller according to the second removal instruction.
Specifically, the second removal instruction may be to click the return key 21 in a single page of the full-screen view to return to the state when two pages of the last ordinary view are displayed, and the return key 21 is generally disposed in the upper left corner of the full-screen page, as shown in fig. 24. That is, when the full-screen view is the page 3 shown in fig. 24 and the user clicks the return key, the device 10 in the mobile terminal 100 may simultaneously obtain the second removal instruction through the third obtaining module 17, and control the removal of the custom controller through the second removing module 17, so as to remove the full-screen view, and further may switch back to the common view commonly displayed on the page 2 and the page 3 in front of the full-screen display page 3.
In summary, the multi-view interaction method and apparatus, the mobile terminal, and the computer device of the present application may also control a certain page of the multiple pages to be displayed in a full screen and removed by creating the custom controller, so as to implement a dynamic interaction process of the multiple pages and the certain page thereof on the mobile terminal.

Claims (12)

1. A multi-view interaction method, the method comprising:
acquiring a display instruction of a new view and determining the view type of the new view;
if the new view is a common view for displaying a plurality of pages, controlling to create a multi-view controller, wherein the multi-view controller comprises a plurality of view controllers, and the plurality of view controllers are used for controlling the display of the plurality of display pages of the common view;
and displaying the new view according to the page adding sequence of the common view.
2. The multi-view interaction method as claimed in claim 1, wherein the method further comprises:
acquiring a removing instruction for removing the common view page;
and controlling to remove the plurality of view controllers according to the display sequence of the plurality of pages according to the removal instruction.
3. The multi-view interaction method according to claim 2, wherein the removal instruction comprises a preset swipe gesture of a user, and the controlling removal of the plurality of view controllers in the display order of the plurality of pages according to the removal instruction comprises:
determining the display sequence according to the sequence of the plurality of display pages controlled and displayed by the plurality of view controllers;
removing the view controllers according to the display sequence and the preset sliding gesture.
4. The multi-view interaction method as recited in claim 1, the method further comprising:
and if the newly-built view is a full-screen view displaying one page and the controller of the newly-built view is a multi-view controller, controlling to create a custom controller, adding the newly-built view into the custom controller, and controlling the display of the newly-built view by the custom controller.
5. The multi-view interaction method of claim 4, wherein said method further comprises:
acquiring a second removing instruction for removing the single page of the full screen view;
and controlling to remove the custom controller according to the second removal instruction.
6. A multi-view interaction apparatus, the apparatus comprising:
the first acquisition module is used for acquiring a display instruction of a new view and determining the view type of the new view;
a first creating module, configured to control the system to create a multi-view controller if the new view is a normal view displaying multiple pages, where the multi-view controller includes multiple view controllers, and the multiple view controllers are used to control display of the multiple display pages of the normal view;
and the display module is used for displaying the new view according to the page adding sequence of the common view.
7. The apparatus of claim 6, further comprising:
the second acquisition module is used for acquiring a first removing instruction for removing the common view page;
a first removal module for controlling removal of the plurality of view controllers in accordance with the display order of the plurality of pages in accordance with the first removal instruction.
8. The apparatus of claim 7, wherein the removal instruction comprises a preset swipe gesture of a user, and wherein the first removal module comprises:
the determining unit is used for determining the display sequence according to the sequence of the plurality of display pages which are controlled and displayed by the plurality of view controllers;
a removal unit for removing the plurality of view controllers according to the display order and the preset slide gesture.
9. The apparatus of claim 6, wherein the apparatus comprises:
and the second creation module is used for controlling a custom controller to be created if the newly created view is a full-screen view displaying one page and the controller of the newly created view is a multi-view controller, and the custom controller is used for controlling the display of the newly created view.
10. The apparatus of claim 9, wherein the apparatus comprises:
a third obtaining module, configured to obtain a second removing instruction for removing the single full-screen-view page;
and the second removing module is used for controlling the removal of the custom controller according to the second removing instruction.
11. A mobile terminal, characterized in that the mobile terminal comprises:
a housing; and
the device of any of the preceding claims 6 to 10, which is disposed within the housing.
12. A computer device comprising a memory and a processor, characterized in that the memory has stored therein a computer program which, when executed by the processor, implements the method of any one of claims 1 to 5.
CN202011295874.6A 2020-11-18 2020-11-18 Multi-view interaction method and device, mobile terminal and computer equipment Pending CN112363668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011295874.6A CN112363668A (en) 2020-11-18 2020-11-18 Multi-view interaction method and device, mobile terminal and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011295874.6A CN112363668A (en) 2020-11-18 2020-11-18 Multi-view interaction method and device, mobile terminal and computer equipment

Publications (1)

Publication Number Publication Date
CN112363668A true CN112363668A (en) 2021-02-12

Family

ID=74533499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011295874.6A Pending CN112363668A (en) 2020-11-18 2020-11-18 Multi-view interaction method and device, mobile terminal and computer equipment

Country Status (1)

Country Link
CN (1) CN112363668A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559055A (en) * 2013-10-31 2014-02-05 青岛海信移动通信技术股份有限公司 Activity starting method and device applied to Android platform
CN103677576A (en) * 2012-09-14 2014-03-26 腾讯科技(深圳)有限公司 Method and device for closing window
CN107037949A (en) * 2017-03-29 2017-08-11 北京小米移动软件有限公司 A kind of multi-screen display method and device
CN107229411A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Control the method and device of split screen state
CN108509110A (en) * 2018-03-30 2018-09-07 广州视源电子科技股份有限公司 The split screen display available and method, apparatus of operation, terminal device and storage medium
CN109917980A (en) * 2014-03-05 2019-06-21 腾讯科技(深圳)有限公司 The method and device that multi-page is shown
CN111352597A (en) * 2018-12-24 2020-06-30 Oppo广东移动通信有限公司 Multi-screen display control method and device, electronic equipment and readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677576A (en) * 2012-09-14 2014-03-26 腾讯科技(深圳)有限公司 Method and device for closing window
CN103559055A (en) * 2013-10-31 2014-02-05 青岛海信移动通信技术股份有限公司 Activity starting method and device applied to Android platform
CN109917980A (en) * 2014-03-05 2019-06-21 腾讯科技(深圳)有限公司 The method and device that multi-page is shown
CN107037949A (en) * 2017-03-29 2017-08-11 北京小米移动软件有限公司 A kind of multi-screen display method and device
US20180284948A1 (en) * 2017-03-29 2018-10-04 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for split-window display
CN107229411A (en) * 2017-05-27 2017-10-03 北京小米移动软件有限公司 Control the method and device of split screen state
CN108509110A (en) * 2018-03-30 2018-09-07 广州视源电子科技股份有限公司 The split screen display available and method, apparatus of operation, terminal device and storage medium
CN111352597A (en) * 2018-12-24 2020-06-30 Oppo广东移动通信有限公司 Multi-screen display control method and device, electronic equipment and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李文峰等: "《露天矿信息化建设》", 31 January 2017 *
电脑报合订本编委会: "《电脑报 2014合订本 下册》", 31 January 2015 *

Similar Documents

Publication Publication Date Title
CN110716680B (en) Control method and device of intelligent interactive panel
CN108334371B (en) Method and device for editing object
US20150113428A1 (en) Widget Setting Method and Terminal Device
EP2521025B1 (en) Component display processing method and user device
CA2922060C (en) Swipe toolbar to switch tabs
CN108694012B (en) Method and system for displaying objects on screen
US20120159382A1 (en) Managing an immersive environment
CN104216600A (en) Method for providing functions of application programs and touch screen intelligent terminal device
CN104866182A (en) Movement method of picture data and mobile terminal
CN112905093B (en) Content display method, content display device, storage medium and electronic equipment
CN111782030A (en) Setting method of three-dimensional icon, electronic device and readable storage medium
CN102508596A (en) Method for carrying out rapid Internet operation on mobile equipment
CN108549521A (en) terminal control method, mobile terminal and storage medium
CN113986076A (en) Icon display control method and device, electronic equipment and storage medium
CN113032068A (en) Display method and electronic device
CN112214144A (en) Method and device for generating mobile terminal desktop and electronic device
CN103383621A (en) Method and device for view switching
CN113805752A (en) Object moving method and electronic equipment
CN107291235B (en) Control method and device
CN112462989A (en) Operation method and device of intelligent interaction panel, intelligent interaction panel and medium
CN111638828A (en) Interface display method and device
EP4328725A1 (en) Display method and apparatus, electronic device, and storage medium
CN109032455B (en) Menu display method and device
US20220129117A1 (en) Method for generating desktop of mobile terminal, device and electronic device
CN112363668A (en) Multi-view interaction method and device, mobile terminal and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210212