View switching method and device, equipment and medium

By presenting multiple switching controls in the computer display area and responding to user interaction, the problem of inconvenience in view switching in the prior art is solved, and fast and efficient view switching and user experience improvement are achieved.

CN119937862APending Publication Date: 2025-05-06BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311451824.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-02
Publication Date
2025-05-06

Smart Images

  • Figure CN119937862A_ABST
    Figure CN119937862A_ABST
Patent Text Reader

Abstract

The invention provides a method, a device, equipment and a medium for switching views. In one method, a plurality of switching controls are presented in a display area of a client device, the plurality of switching controls respectively corresponding to a plurality of views to be presented in the display area; and in response to the received first user interaction for a target switching control in the multiple switching controls, presenting a target view corresponding to the target switching control in the multiple views in the display area. By utilizing the exemplary implementation mode of the invention, the view switching can be conveniently and quickly realized through the switching control under the condition that a plurality of views are included, and the view switching efficiency can be improved. Furthermore, the view switching is carried out based on the user interaction, so that the association between the user interaction and the view switching can be enhanced, and the user experience of the user during view switching can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Example implementations of the present disclosure generally relate to the field of computers, and more particularly, to methods, devices, apparatuses, and computer-readable storage media for switching views. Background Art

[0002] With the rapid development of computer technology, computers have become one of the indispensable tools in people's daily lives. Users usually place application icons, such as software icons or files, on the desktop of the computer, and start the software or open the file through the desktop. Users can also present different content in the display area through gestures, user interfaces, etc. At this time, it is expected to switch different content in the display area in a more convenient and effective way. Summary of the invention

[0003] In a first aspect of the present disclosure, a method for switching views is provided. In the method, a plurality of switching controls are presented in a display area of ​​a client device, the plurality of switching controls respectively corresponding to a plurality of views to be presented in the display area; and in response to receiving a first user interaction for a target switching control among the plurality of switching controls, a target view corresponding to the target switching control among the plurality of views is presented in the display area.

[0004] In a second aspect of the present disclosure, a device for switching views is provided. The device includes: a control presentation module configured to present multiple switching controls in a display area of ​​a client device, wherein the multiple switching controls correspond to multiple views to be presented in the display area; and a view presentation module configured to present a target view corresponding to the target switching control among the multiple views in the display area in response to receiving a first user interaction for a target switching control among the multiple switching controls.

[0005] In a third aspect of the present disclosure, an electronic device is provided. The electronic device includes: at least one processing unit; and at least one memory, the at least one memory is coupled to the at least one processing unit and stores instructions for execution by the at least one processing unit, and when the instructions are executed by the at least one processing unit, the electronic device executes the method according to the first aspect of the present disclosure.

[0006] In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor implements the method according to the first aspect of the present disclosure.

[0007] It should be understood that the content described in this content section is not intended to limit the key features or important features of the implementation of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] In the following, in conjunction with the accompanying drawings and with reference to the following detailed description, the above and other features, advantages and aspects of various implementations of the present disclosure will become more apparent. In the accompanying drawings, the same or similar figure labels represent the same or similar elements, wherein:

[0009] Figure 1 A block diagram illustrating an example environment in which implementations of the present disclosure can be implemented;

[0010] Figure 2 A block diagram illustrating a display area according to some implementations of the present disclosure;

[0011] Figure 3 A block diagram illustrating a desktop view according to some implementations of the present disclosure;

[0012] Figure 4 A block diagram illustrating a launch pad view according to some implementations of the present disclosure;

[0013] Figure 5 A block diagram illustrating a multitasking view according to some implementations of the present disclosure;

[0014] Figure 6 A block diagram showing a cross architecture according to some implementations of the present disclosure;

[0015] Figure 7 A flowchart showing a process for switching views according to some implementations of the present disclosure is shown;

[0016] Figure 8 A block diagram showing an apparatus for switching views according to some implementations of the present disclosure; and

[0017] Fig. 9 A block diagram of an electronic device is shown in which one or more implementations of the present disclosure may be implemented. DETAILED DESCRIPTION

[0018] The implementation of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain implementations of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be interpreted as being limited to the implementations described herein. On the contrary, these implementations are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and implementations of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0019] In the description of the implementation methods of the present disclosure, the term "including" and similar terms should be understood as open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "an implementation" or "the implementation" should be understood as "at least one implementation". The term "some implementations" should be understood as "at least some implementations". The following may also include other explicit and implicit definitions. As used herein, the term "model" can represent the association relationship between various data. For example, the above-mentioned association relationship can be obtained based on a variety of technical solutions currently known and / or to be developed in the future.

[0020] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0021] It is understandable that before using the technical solutions disclosed in each implementation of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0022] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0023] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information is sent to the user in a manner such as a pop-up window, in which the prompt information can be presented in text form. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0024] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0025] The term "in response to" as used herein refers to a state in which a corresponding event occurs or a condition is satisfied. It will be understood that the timing of executing a subsequent action executed in response to the event or condition is not necessarily strongly related to the time when the event occurs or the condition is satisfied. For example, in some cases, the subsequent action may be executed immediately when the event occurs or the condition is satisfied; while in other cases, the subsequent action may be executed some time after the event occurs or the condition is satisfied.

[0026] Example Environment

[0027] Figure 1 A block diagram of an example environment 100 in which implementations of the present disclosure can be implemented is shown. In the example environment 100, a client device 110 can present different contents in its own display area 115, and a user 120 can operate the client device 110 through the client device 110 or an attached device of the client device 110, and present desired contents in the display area 115.

[0028] In some implementations, at least one application may be installed in the client device 110. The user 120 may interact with the at least one application via the client device 110 and / or an attached device of the client device 110.

[0029] In some implementations, the client device 110 may be any type of mobile, fixed or portable terminal, including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a television receiver, a radio broadcast receiver, an e-book device, a gaming device, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some implementations, the client device 120 may also support any type of interface for the user (such as a "wearable" circuit, etc.).

[0030] It should be understood that the structure and function of the various elements in the environment 100 are described for exemplary purposes only and do not imply any limitation on the scope of the present disclosure.

[0031] The client device 110 can present a view corresponding to a predetermined operation in the display area 115 in response to a predetermined operation of the user, for example, it can present a corresponding view in response to a user gesture. However, the client device 110 cannot reflect the view architecture of the view during the view switching process, nor can it closely integrate the gesture with the view architecture. Furthermore, the complexity of the gesture is high, which will affect the user's experience. At this time, how to conveniently and quickly implement view switching has become a difficulty and hot spot in the field of computer technology.

[0032] Overview of Switching Views

[0033] In order to at least partially solve the deficiencies in the prior art, according to an exemplary implementation of the present disclosure, a method for switching views is proposed. Figure 1 These example implementations are described. To facilitate operation, different views may be presented in the display area. For example, a desktop view may include a predefined desktop, a launchpad view may include launch controls for installed applications, and a multitasking view may include management controls for managing and launching applications, and so on.

[0034] According to the solution, multiple switching controls corresponding to multiple views are presented in the display area 115 of the client device 110. Further, when a user interaction with a target switching control among the multiple switching controls is received, a target view corresponding to the target switching control is presented in the display area 115. In this way, when multiple views are included, it is possible to conveniently and quickly implement view switching through the switching control, which helps to improve the efficiency of view switching. Furthermore, view switching based on user interaction can strengthen the association between user interaction and view switching, and can improve the user experience when switching views.

[0035] Detailed process of switching views

[0036] Figure 2 1 is a schematic diagram of a display area 115 according to some implementations of the present disclosure. The client device 110 may present multiple switch controls (including a switch control 202, a switch control 204, and a switch control 206) in the display area 115, and the multiple switch controls correspond to multiple views to be presented in the display area 115. It can be understood that although Figure 2 Only three switching controls are shown in FIG. 1 , but the present disclosure does not limit the number of switching controls. Alternatively and / or additionally, more or fewer switching controls may be presented, and each switching control may correspond to a view.

[0037] In some implementations, the client device 110 may directly present multiple switch controls at any position of the display area 115, and the multiple switch controls may be located in the same area of ​​the display area 115 in a centralized manner, or may be located in different areas of the display area 115 in a decentralized manner. For example, the client device 110 may present some of the multiple switch controls in the upper area of ​​the display area 115, and present another part of the multiple switch controls in the left area of ​​the display area 115.

[0038] In order to ensure the neatness of the display area 115, in some implementations, the client device 110 may present multiple switching controls in a specific area (also referred to as the first area) of the display area 115. The first area here may be located at the edge of the display area (the edge here may be any edge of the display area, such as the upper edge, the lower edge, the left edge, and the right edge, which is not limited in the present disclosure), and the first area is always presented during the operation of the client device and is not blocked by the window of the application that has been started. Figure 2 As shown, the client device 110 can always present the area 201, and multiple switch controls are presented in the area 201. In this way, it can be ensured that multiple switch controls are always presented in the display area 115, and the user can click each switch control at any time to switch to the corresponding view.

[0039] In some implementations, the display area 115 also includes a taskbar display area 208, and the client device 110 can present the application identifiers of the user's frequently used applications in the taskbar display area 208. The frequently used applications here can be pre-set by the user, or can be automatically determined by the client device 110 based on the user's historical application usage. In some implementations, the client device 110 can also present multiple switching controls in the taskbar display area 208.

[0040] In some implementations, the display area 115 also includes a status bar display area, and the status bar display area 209 can be used to present the status of the client device 110, such as the current time, network status, battery status, etc. In some implementations, the client device 110 can also present multiple switching controls in the status bar display area.

[0041] Regarding the positional relationship of multiple switching controls, in some implementations, the client device 110 may obtain a view architecture of multiple views, and present multiple switching controls based on the positional relationship between the multiple views represented by the view architecture. The view architecture here may be pre-set by a user of the client device 110, or may be a default of the client device 110.

[0042] Exemplarily, if three switching controls need to be presented, and the positional relationship of the views corresponding to the three switching controls in the view architecture is a horizontally arranged left-center-right order, then the three switching controls can be presented in area 201 according to the positional relationship of the corresponding views and the horizontally arranged left-center-right positional relationship. Specifically, the switching control for switching to the left view among the multiple views is located on the left side of area 201, the switching control for switching to the middle view among the multiple views is located in the middle of area 201, and the switching control for switching to the right view among the multiple views is located on the right side of area 201. At this time, area 201 can be located at the upper edge or the lower edge of the display area.

[0043] It can be understood that if the position relationship of the three views in the view architecture is the top, middle and bottom positions of the vertical arrangement, the corresponding three switching controls can be presented in the area 201 in the top, middle and bottom order of the vertical arrangement according to the position relationship of the corresponding views. That is, the switching control for switching to the upper view is located on the upper side of the area 201, the switching control for switching to the middle view is located in the middle of the area 201, and the switching control for switching to the lower view is located on the lower side of the area 201). At this time, the area 201 can be located at the left edge or the right edge of the display area.

[0044] In some implementations, a user can adjust the positional relationship of multiple views. Client device 110 can also update the view architecture in response to receiving an adjustment made by the user of client device 110 regarding the positional relationship of multiple views. Further, client device 110 can update the presentation positions of multiple toggle controls based on the updated view architecture. For example, if a user changes the position of a left view and a right view among three horizontally arranged views, client device 110 can change the position of a left toggle control and a right toggle control among the corresponding three toggle controls in response to the user's adjustment. Figure 2 For the example in FIG. 1 , the order of the replaced switching controls may be switching controls 206 , 204 , and 202 .

[0045] In some implementations, the multiple views corresponding to the multiple switching controls include at least a desktop view 210, and the desktop view 210 includes at least one desktop defined at the client device 110. Here, the desktop can represent a workspace for a user to operate the client device 110, for example, in a certain desktop, the user can open one or more applications. By default, the client device 110 can include only one default desktop (also called the main desktop), and the user can add one or more other desktops according to their own needs.

[0046] In some implementations, the multiple views further include at least one of an application platform view 220 and a multitasking view 230. The application platform view 220 includes a launch control for launching at least one application installed at the client device 110. The launch control may be, for example, an identifier (e.g., an icon) of the application. In response to receiving a selection operation (e.g., a click operation, a double-click operation, a slide operation, etc.) on the launch control, the client device 110 may launch the application corresponding to the launch control.

[0047] The multitasking view 230 includes management controls for managing applications that have been launched in at least one desktop defined at the client device 110. The management controls may, for example, include user interfaces of applications that have been launched. In response to receiving a selection operation on the management controls, the client device 110 may switch to presenting a user interface of an application corresponding to the management controls.

[0048] In some implementations, when multiple desktops are included, the multitasking view 230 also includes management controls for each of the multiple desktops, where the management controls may be, for example, thumbnails of the desktops. The client device 110 may present user interfaces of different applications in response to selection operations on thumbnails corresponding to different desktops. For example, when a user selects a thumbnail of a file application, the user interface of the file application is presented; when a user selects a thumbnail of a chat application, the user interface of the chat application is presented, and so on.

[0049] In response to receiving a first user interaction for a target switch control among the multiple switch controls, the client device 110 presents a target view corresponding to the target switch control among the multiple views in the display area 115. The first user interaction here may be, for example, a selection operation for the target switch control, and the selection operation may be, for example, a click operation, a double-click operation, a slide operation, etc. In response to receiving the selection operation for the target switch control, the client device 110 may present the target view in the display area 115.

[0050] Regarding the presentation position of the target view, in some implementations, the client device 110 presents the target view in a second area outside the first area. Figure 2 As shown, the client device 110 presents a plurality of switching controls in the area 201 , and presents a target view in a portion of the display area 115 that is not blocked by the area 201 .

[0051] Combine the following Figures 3 to 5 Describes more details about the switch. Specifically, Figure 3 A block diagram 300 of a desktop view according to some implementations of the present disclosure is shown. Figure 3As shown, the client device 110 can present the desktop view 210 in the display area 115 in response to receiving a selection operation for the switch control 204. It should be noted that in this case, the desktop view 210 includes the user interface of the application that has been launched in the desktop. For example, Figure 3 The user interface 310 of the chat application, the user interface 320 of the file application, ..., and the user interface 330 of other applications are shown. At this time, the switch control of the currently presented view can be highlighted, for example, a dotted frame can be presented around the switch control 204 to indicate that the desktop view is currently being presented.

[0052] Figure 4 A block diagram 400 of a launchpad view according to some implementations of the present disclosure is shown. Figure 4 As shown, the client device 110 may present the application platform view 220 in the display area 115 in response to receiving a selection operation on the switch control 202. A dotted frame may be presented around the switch control 202 to indicate that the launch pad view is currently being presented.

[0053] Figure 5 A block diagram 500 of a multitasking view according to some implementations of the present disclosure is shown. Figure 5 As shown, the client device 110 may present a multitasking view 230 in the display area 115 in response to receiving a selection operation for the switch control 206. The multitasking view 230 may include an area 510 for displaying a desktop logo and an area 520 for displaying management controls for applications. Figure 5 As shown, each desktop that has been created (e.g., desktop 1 210-1, desktop 2 210-2) can be presented in area 510 on the left side of multitasking view 230, and management controls of applications that have been started in each desktop that has been created (e.g., management controls 522 for managing chat applications, management controls 524 for managing file applications, ..., management controls 526 for managing other applications) can be presented in area 520 on the right side of multitasking view 230. A dotted frame can be presented around switch control 206 to indicate that the multitasking view is currently being presented.

[0054] In some implementations, in addition to the above-mentioned method of presenting the target view in response to the first user interaction, the client device 110 can also detect a second user interaction (e.g., a sliding operation on the display area 115), and present the target view based on the second user interaction. Specifically, the client device 110 can determine the sliding direction of the second user interaction in response to detecting the second user interaction. The second user interaction here can be, for example, a sliding operation, a dragging operation, etc. on the display area 115. The sliding direction of the second user interaction here includes any one of a horizontal direction and a vertical direction. The client device 110 can receive the second user interaction, for example, through a touch screen, a mouse, or other device, and determine the sliding direction of the second user interaction.

[0055] The client device 110 can select the next target view corresponding to the second user interaction from multiple views based on the sliding direction, the target view and the position relationship. Specifically, the client device 110 can determine the opposite direction opposite to the sliding direction, and based on the position relationship, select a view adjacent to the target view in the opposite direction from multiple views as the next target view. Exemplarily, if the position relationship of the multiple views is a horizontal arrangement relationship, and if the sliding direction of the second user interaction is from left to right, the client device 110 can determine that the opposite direction is the left direction, and then select a view adjacent to the current target view and located on the left side of the current target view from multiple views based on the position relationship in the view architecture as the next target view.

[0056] Specifically, assume that the positional relationship of the three views is (left side: launchpad view; middle: desktop view; right side: multitasking view), and the target view currently being presented is the desktop view. A swipe to the right can trigger the presentation of the launchpad view, and a swipe to the left can trigger the presentation of the multitasking view. For another example, assuming that the target view currently being presented is the launchpad view, swiping to the right will no longer switch views, and a swipe to the left can trigger the presentation of the desktop view. For another example, assuming that the target view currently being presented is the multitasking view, swiping to the right can trigger the presentation of the desktop view, and a swipe to the left will no longer switch views.

[0057] In some implementations, the client device 110 may also determine the number of desktops included in the desktop view 210, and then present the corresponding desktops in the desktop view 210. Assuming that only one desktop is defined, the desktop may be presented directly when switching to the desktop view 210. In some implementations, the user is allowed to create a new desktop and / or delete an existing desktop. For example, the user may click Figure 5 button 530 in order to create a new desktop; alternatively and / or additionally, the user can select the desktop that is desired to be deleted and delete the desktop in the menu that pops up when the right button is clicked (or in other ways).

[0058] In the case where it is determined that multiple desktops are defined at the client device 110, the current desktop can be determined based on the default settings of the client device and / or the user settings of the user of the client device, and the current desktop can be presented in the display area 115. Specifically, the desktop with default settings (e.g., the main desktop) can be presented in the desktop view 210. In the case where there are user settings, for example, the user has activated another desktop different from the main desktop in historical operations, then another desktop can be presented.

[0059] In some implementations, the view architecture may further include the positional relationship between the multiple desktops. For example, the multiple desktops may be arranged along the vertical direction. Figure 6 Describes more details about the view architecture. Figure 6 A block diagram 600 of a cross architecture according to some implementations of the present disclosure is shown. Figure 6 As shown, in the case of including three desktops, the view architecture of multiple views can be a cross architecture. In such a view architecture, a certain desktop is the center of the cross architecture, and other desktops can be above and below it, and the launcher view and multitasking view can be on the left and right.

[0060] exist Figure 6 In the embodiment, the launcher view 220, the desktop view 210 (including multiple desktops 210-1, 210-2 and 210-3), and the multitasking view 230 can be arranged in the horizontal direction in the order of left, middle and right. The multiple desktops 210-1, 210-2 and 210-3 can be arranged in the vertical direction in the order of top, middle and bottom.

[0061] Furthermore, the client device 110 may determine the sliding direction of the third user interaction in response to detecting the third user interaction. Similarly, the third user interaction here may be, for example, a sliding operation or a dragging operation on the display area 115. The sliding direction of the third user interaction here includes any one of a horizontal direction and a vertical direction. Figure 6 In the example of , the sliding direction of the third user interaction is the vertical direction. It should be noted that, compared with the second user interaction that can be received when the display area 115 displays any view, the third user interaction can only be received by the client device 110 when the display area 115 displays the desktop view. In other words, in the launch pad view 220 and the multitasking view 230, the sliding operation along the vertical direction does not trigger switching to other desktops.

[0062] The client device 110 can receive the third user interaction through a touch screen, a mouse, or other devices, for example, and determine the sliding direction of the third user interaction. The client device 110 can then select an adjacent desktop adjacent to the current desktop from multiple desktops based on the sliding direction of the third user interaction, and present the adjacent desktop in the display area. Exemplarily, if the positional relationship of the multiple desktops is a vertical arrangement relationship, and if the sliding direction is from top to bottom, the client device 110 can determine that the opposite direction is the upper direction, and then based on the positional relationship in the view architecture, select an adjacent desktop located above the current target desktop and adjacent to the current desktop from the multiple desktops included in the desktop view, and present the adjacent desktop in the display area.

[0063] In the case where the target view is a view in the horizontal direction of the cross structure, the second user interaction is in the horizontal direction, and the client device 110 can, in response to detecting the second user interaction with respect to the display area 115, determine the next target view corresponding to the second user interaction from the launch pad view 220, the second desktop 210-2, and the multitasking view 230, and present the next target view in the display area 115. In the case where the target view is a desktop in the vertical direction of the cross structure, the third user interaction is in the vertical direction, and the client device can, in response to detecting the third user interaction, determine the adjacent desktop corresponding to the third user interaction from the first desktop 210-1, the second desktop 210-2, and the third desktop 210-3, and present the adjacent desktop in the display area 115.

[0064] will understand, Figure 6 The view architecture in is merely exemplary, and the view architecture may be defined in different ways. For example, the launch pad view, desktop view, and multitasking view may be arranged in a vertical direction and in the order of top, middle, and bottom, and desktop one, desktop two, and desktop three may be arranged in a horizontal direction and in the order of left, middle, and right. At this point, a plurality of switching controls may be presented on the left edge or the right edge of the display area, the sliding direction of the second user interaction may be a vertical direction, and the sliding direction of the third user interaction may be a horizontal direction. Specifically, different views may be switched by sliding in the vertical direction, and in the desktop view, different desktops may be switched by sliding in the horizontal direction.

[0065] In some implementations, the view architecture of the multiple views may also be, for example, a ring architecture, a grid architecture (e.g., 3×3 or other formats), etc. The implementation of the present application takes the cross architecture as an example, but is not limited thereto. For example, under a 3×3 grid architecture, a view architecture including 9 different views may be predefined. At this time, the user may swipe along the diagonal direction to switch to the predefined view.

[0066] Using the exemplary implementation of the present disclosure, multiple switch controls corresponding to multiple views are presented in the display area 115 of the client device 110, and in response to receiving a user interaction with a target switch control in the multiple switch controls, a target view corresponding to the target switch control is presented in the display area 115. In this way, when multiple views are included, it is possible to conveniently and quickly implement view switching through the switch control, which helps to improve the efficiency of view switching. Furthermore, the user interaction at this time is associated with the positional relationship in the view architecture. View switching based on user interaction can strengthen the association between user interaction and view switching, and can improve the user experience when switching views.

[0067] Example Process

[0068] Figure 7 FIG. 7 is a flowchart of a process 700 for switching views according to some implementations of the present disclosure. The process 700 may be implemented at the client device 110. For ease of discussion, reference will be made to FIG. Figure 1 Process 700 is described with reference to environment 100 of FIG. At box 710, multiple toggle controls are presented in a display area of ​​a client device, and the multiple toggle controls correspond to multiple views to be presented in the display area. At box 720, it can be determined whether a first user interaction for a target toggle control in the multiple toggle controls is received. If the first user interaction is received, process 700 proceeds to box 730. At box 730, a target view corresponding to the target toggle control in the multiple views is presented in the display area.

[0069] In some implementations, the multiple views include: a desktop view, including at least one desktop defined at the client device; and at least any of the following: a launch pad view, including a launch control for launching at least one application installed at the client device; and a multitasking view, including management controls for managing applications that have been launched in at least one desktop defined at the client device.

[0070] In some implementations, presenting the multiple switch controls includes: acquiring a view architecture of the multiple views, the view architecture representing a positional relationship between the multiple views; and presenting the multiple switch controls based on the positional relationship.

[0071] In some implementations, process 700 further includes: in response to detecting a second user interaction, determining a sliding direction of the second user interaction; based on the sliding direction, the target view, and the position relationship, selecting a next target view corresponding to the second user interaction from multiple views; and presenting the next target view in the display area.

[0072] In some implementations, selecting the next target view includes: determining an opposite direction opposite to the sliding direction; and selecting, based on a position relationship, a view adjacent to the target view along the opposite direction from a plurality of views as the next target view.

[0073] In some implementations, presenting the target view in the display area further includes: in response to determining that multiple desktops are defined at the client device, determining a current desktop based on at least any of: a default setting of the client device, a user setting of a user of the client device; and presenting the current desktop in the display area.

[0074] In some implementations, process 700 further includes: in response to detecting a third user interaction, determining a sliding direction of the third user interaction; selecting an adjacent desktop adjacent to the current desktop from a plurality of desktops based on the sliding direction of the third user interaction; and presenting the adjacent desktop in the display area.

[0075] In some implementations, the sliding direction of the second user interaction includes any one of a horizontal direction and a vertical direction, and the sliding direction of the third user interaction includes the other of the horizontal direction and the vertical direction.

[0076] In some implementations, process 700 further includes updating the view architecture in response to receiving an adjustment to the positional relationship by a user of the client device.

[0077] In some implementations, presenting the plurality of toggle controls includes: presenting the plurality of toggle controls in a first area in the display area; and presenting the target view includes: presenting the target view in a second area outside the first area in the display area.

[0078] In some implementations, the first area is located at an edge of the display area, and the first area is always presented during operation of the client device.

[0079] In some implementations, the first area is at least any one of a task bar and a status bar in the display area.

[0080] Example devices and equipment

[0081] Figure 8 A block diagram of an apparatus 800 for switching views according to some implementations of the present disclosure is shown. The apparatus 800 may be implemented in or included in the client device 110, for example. Each module / component in the apparatus 800 may be implemented by hardware, software, firmware, or any combination thereof.

[0082] As shown in the figure, the apparatus 800 includes a control rendering module 810, which is configured to render a plurality of switching controls in a display area of ​​a client device, wherein the plurality of switching controls correspond to a plurality of views to be rendered in the display area. The apparatus 800 also includes a view rendering module 820, which is configured to render a target view corresponding to the target switching control in the plurality of views in the display area in response to receiving a first user interaction for a target switching control in the plurality of switching controls.

[0083] In some implementations, the multiple views include: a desktop view, including at least one desktop defined at the client device; and at least any of the following: a launch pad view, including a launch control for launching at least one application installed at the client device; and a multitasking view, including management controls for managing applications that have been launched in at least one desktop defined at the client device.

[0084] In some implementations, the control presentation module 810 includes: an architecture acquisition module configured to acquire a view architecture of multiple views, wherein the view architecture represents a positional relationship between the multiple views; and a switch control presentation module configured to present multiple switch controls based on the positional relationship.

[0085] In some implementations, the device 800 further includes: a first sliding direction determination module, configured to determine the sliding direction of the second user interaction in response to detecting the second user interaction; a view selection module, configured to select a next target view corresponding to the second user interaction from multiple views based on the sliding direction, target view and position relationship; and a first view presentation module, configured to present the next target view in the display area.

[0086] In some implementations, the view selection module includes: an opposite direction determination module, configured to determine an opposite direction opposite to the sliding direction; and a second view presentation module, configured to select a view adjacent to the target view along the opposite direction from multiple views as the next target view based on a positional relationship.

[0087] In some implementations, the first view presentation module further includes: a desktop determination module, configured to, in response to determining that multiple desktops are defined at the client device, determine the current desktop based on at least any one of: a default setting of the client device, a user setting of a user of the client device; and a desktop presentation module, configured to present the current desktop in the display area.

[0088] In some implementations, the device 800 further includes: a second sliding direction determination module, configured to determine the sliding direction of a third user interaction in response to detecting a third user interaction; an adjacent desktop selection module, configured to select an adjacent desktop adjacent to the current desktop from multiple desktops based on the sliding direction of the third user interaction; and an adjacent desktop presentation module, configured to present the adjacent desktop in the display area.

[0089] In some implementations, the sliding direction of the second user interaction includes any one of a horizontal direction and a vertical direction, and the sliding direction of the third user interaction includes the other of the horizontal direction and the vertical direction.

[0090] In some implementations, the apparatus 800 further includes: a framework updating module configured to update the view framework in response to receiving an adjustment of the position relationship by a user of the client device.

[0091] In some implementations, the control rendering module 810 includes: a first rendering module configured to render a plurality of switching controls in a first area of ​​the display area; and the view rendering module 820 includes: a second rendering module configured to render a target view in a second area outside the first area of ​​the display area.

[0092] In some implementations, the first area is located at an edge of the display area, and the first area is always presented during operation of the client device.

[0093] In some implementations, the first area is at least any one of a task bar and a status bar in the display area.

[0094] Fig. 9 9 shows a block diagram of an electronic device 900 in which one or more implementations of the present disclosure may be implemented. It should be understood that Fig. 9 The illustrated electronic device 900 is merely exemplary and should not constitute any limitation on the functionality and scope of the implementations described herein. Fig. 9 The electronic device 900 shown can be used to implement Figure 1 The terminal device 110 and / or Figure 8 Device 800.

[0095] like Fig. 9As shown, the electronic device 900 is in the form of a general electronic device. The components of the electronic device 900 may include, but are not limited to, one or more processors or processing units 910, a memory 920, a storage device 930, one or more communication units 940, one or more input devices 950, and one or more output devices 960. The processing unit 910 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 920. In a multi-processor system, multiple processing units execute computer executable instructions in parallel to improve the parallel processing capability of the electronic device 900.

[0096] The electronic device 900 typically includes a plurality of computer storage media. Such media may be any accessible media that is accessible to the electronic device 900, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 920 may be a volatile memory (e.g., a register, a cache, a random access memory (RAM)), a non-volatile memory (e.g., a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. The storage device 930 may be a removable or non-removable medium, and may include a machine-readable medium, such as a flash drive, a disk, or any other medium, which may be capable of being used to store information and / or data (e.g., training data for training) and may be accessed within the electronic device 900.

[0097] The electronic device 900 may further include additional removable / non-removable, volatile / non-volatile storage media. Fig. 9 As shown in , a disk drive for reading or writing from a removable, non-volatile disk (e.g., a "floppy disk") and an optical drive for reading or writing from a removable, non-volatile optical disk may be provided. In these cases, each drive may be connected to the bus (not shown) by one or more data media interfaces. Memory 920 may include a computer program product 925 having one or more program modules that are configured to perform various methods or actions of various implementations of the present disclosure.

[0098] The communication unit 940 implements communication with other electronic devices through a communication medium. Additionally, the functions of the components of the electronic device 900 can be implemented with a single computing cluster or multiple computing machines that can communicate through a communication connection. Therefore, the electronic device 900 can operate in a networked environment using a logical connection with one or more other servers, a network personal computer (PC), or another network node.

[0099] The input device 950 may be one or more input devices, such as a mouse, a keyboard, a tracking ball, etc. The output device 960 may be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 900 may also communicate with one or more external devices (not shown) through the communication unit 940 as needed, such as a storage device, a display device, etc., communicate with one or more devices that allow a user to interact with the electronic device 900, or communicate with any device that allows the electronic device 900 to communicate with one or more other electronic devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface (not shown).

[0100] According to an exemplary implementation of the present disclosure, a computer-readable storage medium is provided, on which computer-executable instructions are stored, wherein the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is also provided, the computer program product is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, and the computer-executable instructions are executed by a processor to implement the method described above. According to an exemplary implementation of the present disclosure, a computer program product is provided, on which a computer program is stored, and when the program is executed by a processor, the method described above is implemented.

[0101] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices, equipment, and computer program products implemented according to the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0102] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0103] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, so that the instructions executed on the computer, other programmable data processing apparatus, or other device implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0104] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple implementations of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of a module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some implementations as replacements, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be realized by a special hardware-based system that performs the function or action of the specification, or can be realized by a combination of special hardware and computer instructions.

[0105] The above descriptions of various implementations of the present disclosure are exemplary, non-exhaustive, and not limited to the disclosed implementations. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described implementations. The selection of terms used herein is intended to best explain the principles of the implementations, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the various implementations disclosed herein.

Claims

1. A method for switching views, comprising: Presenting a plurality of switching controls in a display area of ​​a client device, the plurality of switching controls respectively corresponding to a plurality of views to be presented in the display area; as well as In response to receiving a first user interaction with respect to a target switch control among the plurality of switch controls, presenting a target view among the plurality of views corresponding to the target switch control in the display area.

2. The method of claim 1, wherein the plurality of views comprises: a desktop view comprising at least one desktop defined at the client device; as well as At least one of the following: a launch pad view including a launch control for launching at least one application installed at the client device; as well as The multitasking view includes management controls for managing applications that have been launched in the at least one desktop defined at the client device.

3. The method of claim 1 , wherein presenting the plurality of toggle controls comprises: Acquire a view framework of the multiple views, where the view framework represents a positional relationship between the multiple views; as well as The plurality of switching controls are presented based on the positional relationship.

4. The method according to claim 3, further comprising: In response to the detected second user interaction, determining a sliding direction of the second user interaction; selecting, from the plurality of views, a next target view corresponding to the second user interaction based on the sliding direction, the target view and the position relationship; as well as The next target view is presented in the display area.

5. The method of claim 4, wherein selecting the next target view comprises: determining an opposite direction opposite to the sliding direction; as well as Based on the positional relationship, a view adjacent to the target view along the opposite direction is selected from the multiple views as the next target view.

6. The method according to claim 4, wherein presenting the target view in the display area further comprises: In response to determining that a plurality of desktops are defined at the client device, determining a current desktop based on at least any of: a default setting of the client device, a user setting of a user of the client device; as well as The current desktop is presented in the display area.

7. The method according to claim 6, further comprising: In response to the detected third user interaction, determining a sliding direction of the third user interaction; selecting an adjacent desktop adjacent to the current desktop from the multiple desktops based on the sliding direction of the third user interaction; as well as The adjacent desktop is presented in the display area. 8 . The method according to claim 7 , wherein the sliding direction of the second user interaction includes any one of a horizontal direction and a vertical direction, and the sliding direction of the third user interaction includes the other of the horizontal direction and the vertical direction.

9. The method according to claim 3, further comprising: In response to receiving an adjustment of the positional relationship by a user of the client device, the view framework is updated.

10. The method of claim 1, wherein: Presenting the plurality of switching controls comprises: presenting the plurality of switching controls in a first area in the display area; and Presenting the target view includes: presenting the target view in a second area outside the first area in the display area.

11. The method of claim 1, wherein the first area is located at an edge of the display area, and the first area is always presented during operation of the client device. 12 . The method according to claim 1 , wherein the first area is at least any one of a task bar and a status bar in the display area.

13. A device for switching views, comprising: A control presentation module, configured to present a plurality of switching controls in a display area of ​​a client device, wherein the plurality of switching controls respectively correspond to a plurality of views to be presented in the display area; as well as The view presenting module is configured to present a target view corresponding to the target switch control among the multiple views in the display area in response to receiving a first user interaction with the target switch control among the multiple switch controls.

14. An electronic device comprising: at least one processing unit; as well as At least one memory, the at least one memory being coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 12 when executed by the at least one processing unit.

15. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to implement the method according to any one of claims 1 to 12.