WO2019071854A1 - 移动设备的显示方法和移动设备 - Google Patents

移动设备的显示方法和移动设备 Download PDF

Info

Publication number
WO2019071854A1
WO2019071854A1 PCT/CN2017/120097 CN2017120097W WO2019071854A1 WO 2019071854 A1 WO2019071854 A1 WO 2019071854A1 CN 2017120097 W CN2017120097 W CN 2017120097W WO 2019071854 A1 WO2019071854 A1 WO 2019071854A1
Authority
WO
WIPO (PCT)
Prior art keywords
display area
view
mobile device
target
window
Prior art date
Application number
PCT/CN2017/120097
Other languages
English (en)
French (fr)
Inventor
苏庆
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780077854.1A priority Critical patent/CN110088719B/zh
Publication of WO2019071854A1 publication Critical patent/WO2019071854A1/zh

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

Definitions

  • the present application relates to the field of computers, and in particular, to a display method and a mobile device of a mobile device.
  • a negative screen also known as Hiboard, or as a smart assistant, or as a situational assistant.
  • the mobile device can provide users with information such as application suggestions, sports status, and situational intelligence, as well as life service applications (Application, APP), online news information, and the like.
  • the mobile device when the mobile device switches from the desktop to the negative screen, that is, when the mobile device needs to display a negative screen, the mobile device can display the negative one by simultaneously moving the negative one screen window and the view included in the negative one screen window. Screen.
  • the embodiment of the present application discloses a display method and a mobile device for a mobile device, which can effectively reduce the sliding delay, improve the smoothness of the sliding of the mobile device, and effectively avoid cracks or jitters on the medium or heavy load mobile device. The problem.
  • a first aspect of the embodiment of the present application discloses a display method of a mobile device, including:
  • the width of the target window is twice the width of the display area.
  • the width of the target view is the same as the width of the display area.
  • the target window includes a transparent view
  • the moving the target window to the display area includes:
  • the target window and the transparent view are simultaneously moved to the display area.
  • the width of the transparent view is the same as the width of the display area.
  • the moving the target view to the display area includes:
  • the target view is moved to the display area if the criteria of the switching interface are met.
  • the first input operation includes:
  • a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation is a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation.
  • the method before the moving the target window to the display area, the method further includes:
  • the embodiment of the present application further provides a display method of a mobile device, including:
  • a negative one-screen window is moved to the display area
  • the negative one screen view is moved to the display area to display a negative one screen interface.
  • the width of the negative one screen window is twice the width of the display area.
  • the width of the negative one screen view is the same as the width of the display area.
  • the negative one-screen window includes a transparent view
  • the moving the negative one-screen window to the display area includes:
  • the negative one screen window and the transparent view are simultaneously moved to the display area.
  • the width of the transparent view is the same as the width of the display area.
  • the moving the negative one screen view to the display area includes:
  • the negative one-screen view is moved to the display area if the criteria of the switching interface are met.
  • the first input operation includes:
  • a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation is a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation.
  • the method before the moving the negative screen window to the display area, the method further includes:
  • the negative one screen view is moved out of the negative one screen window.
  • an embodiment of the present application provides a mobile device, including:
  • a display unit configured to display the first interface
  • a detecting unit configured to detect a first input operation of the user
  • a first moving unit configured to move the target window to the display area
  • a second moving unit configured to move the target view to the display area after moving the target window to the display area
  • the display unit is further configured to display the second interface.
  • the width of the target window is twice the width of the display area.
  • the width of the target view is the same as the width of the display area.
  • the target window includes a transparent view
  • the first moving unit is specifically configured to move the target window and the transparent view to the display area at the same time.
  • the width of the transparent view is the same as the width of the display area.
  • the second mobile unit is specifically configured to confirm whether the first input operation meets a criterion of a switching interface; if the standard of the switching interface is met, the target view is Move to the display area.
  • the mobile device further includes:
  • a receiving unit configured to receive a second input operation of the user
  • a first moving unit configured to move the target view out of the display area
  • a second removal unit configured to move the target window out of the display area.
  • the first input operation includes:
  • a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation is a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation.
  • the mobile device further includes:
  • a third removal unit configured to move the target view out of the target window.
  • the embodiment of the present application further provides a mobile device, including: at least one processor, a memory, a display screen, and a transceiver, the memory, the display screen, the transceiver, and the at least one processing
  • the program is interconnected by a line in which program instructions are stored; when the program instructions are executed by the processor, the processor is caused to perform the following operations:
  • the width of the target window is twice the width of the display area.
  • the width of the target view is the same as the width of the display area.
  • the target window includes a transparent view
  • the processor is specifically configured to move the target window and the transparent view to the display area at the same time.
  • the width of the transparent view is the same as the width of the display area.
  • the processor is further configured to confirm whether the first input operation meets a criterion of a switching interface; and if the standard of the switching interface is met, move the target view To the display area.
  • the processor is further configured to: after receiving the second input operation of the user, moving the target view out of the display area, moving the target window out of the Display area.
  • the first input operation includes:
  • a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation is a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation.
  • the processor is further configured to move the target view out of the target window.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program includes program instructions, and the program instructions are used by a processor of the mobile device.
  • the processor of the mobile device When executed, causing the processor of the mobile device to perform the method described in the first aspect or any one of the possible implementations of the first aspect, or to cause the processor of the mobile device to perform the second aspect or the second Any of the possible implementations of the aspects described.
  • the embodiment of the present application further provides a computer program product, when the computer program product is run on a mobile device, enabling any one of the first aspect or the first aspect, or The second aspect or any one of the possible implementations of the second aspect is implemented.
  • the target window and the target view when the first input operation of the user is detected, by moving the target window to the display area first, and then moving the target view to the display area, the target window and the target view can be prevented from moving at the same time.
  • the mobile device generates cracks or jitter, reduces the delay caused by the simultaneous movement of the target window and the target view, and improves the smoothness of the sliding of the mobile device between different windows.
  • FIG. 1A is a schematic diagram of a relationship between a window and a view according to an embodiment of the present application
  • FIG. 1B is a schematic diagram of another window and a view provided by an embodiment of the present application.
  • 1C is a schematic diagram of a negative screen and a desktop provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a display method of a mobile device according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of an interface of a moving target window according to an embodiment of the present application.
  • FIGS. 4A to 4F are schematic diagrams showing a movement relationship between a window and a view according to an embodiment of the present application.
  • FIG. 5A to FIG. 5C are schematic diagrams showing movements of another window and a view provided by an embodiment of the present application.
  • FIG. 6A to FIG. 6D are schematic diagrams of specific scenarios of a display method of a mobile device according to an embodiment of the present disclosure
  • FIGS. 7A to 7D are schematic diagrams showing another movement relationship between a window and a view according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a mobile device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of another mobile device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of still another mobile device according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a mobile device according to an embodiment of the present application.
  • a physical screen also known as Screen, or a display, is an appliance for displaying images and colors.
  • the window also known as Window, belongs to the concept of software, is a container of images, and all displayed content is presented inside the Window.
  • Window is a process-based unit, that is, a vector displayed by software. Therefore, it is referred to as a window in the embodiment of the present application.
  • a view also known as a View, is a software entity that hosts a single interface or control. Therefore, it is referred to as a view in the embodiment of the present application.
  • a negative screen also known as Hiboard, or as a smart assistant, or as a situational assistant. Therefore, in the embodiment of the present application, when the interface of the negative screen is displayed in the display area, it may be understood as displaying a negative screen interface, or displaying a negative screen page, or displaying an assistant interface, or displaying a scene assistant interface.
  • the negative screen may have different names in different descriptions, so the names described in the embodiments of the present application should not be construed as having a limited meaning.
  • FIG. 1A is a schematic diagram of a relationship between a window and a view according to an embodiment of the present application. Specifically, FIG. 1A shows the positional relationship of the view 110 and the view 120 with the window 130 and the display area 140. Specifically, the display area 140 is the display area of the display screen. If the size of the display screen is 6 inches, the size of the display area is also 6 inches.
  • the view can be displayed, that is, the view can only be displayed inside the window, and the view beyond the window display area cannot be displayed, and at the same time, If the view is not in the display area, the view cannot be displayed.
  • the view 110 since the view 110 has a window 130 to carry, and the view 110 and the window 130 are in the display area 140, the content of the view 110 can be displayed.
  • the view 120 since the view 120 has no corresponding window to carry, the content of the view 120 cannot be displayed in a specific implementation.
  • FIG. 1B is a schematic diagram of another window and a view provided by an embodiment of the present application.
  • FIG. 1B shows the positional relationship of view 110 and view 120 with window 130 and window 150 and display area 140.
  • the view 120 has a corresponding window 150 for carrying, since the view 120 and the window 150 are not in the display area 140, the view 120 cannot be displayed.
  • the sizes of the views, the windows, and the display areas in the schematic diagrams shown in FIG. 1A and FIG. 1B are merely examples, and should not be construed as limiting the embodiments of the present application.
  • the views described in the embodiments of the present application may be specifically understood as a root view.
  • view 110 should be understood as root view 110
  • view 120 should be understood as root view 120, etc., and will not be exemplified herein.
  • the embodiment of the present application specifically describes a negative screen and a desktop.
  • the interface currently displayed in the display area is the interface of the desktop.
  • the display area includes a window that carries the current desktop, and the display area further includes a view.
  • the window that carries the desktop is a desktop window, and the interface that is displayed is a desktop interface.
  • the view at the time is called the desktop view. If the user needs to display a negative screen interface, the user can input a sliding operation (or a click operation or a pinch operation, etc.), so that after receiving the sliding operation, the mobile device displays a negative screen interface in the display area, such as Figure 1C is shown on the right.
  • the display area further includes a window carrying a negative screen, and the display area further includes a negative screen.
  • the window carrying the negative screen is a negative one screen.
  • the view with a negative screen is a negative one-screen view.
  • FIG. 2 is a schematic flowchart of a display method of a mobile device according to an embodiment of the present application.
  • the display method is applicable to a mobile device, and the mobile device may include:
  • the display method may at least include:
  • the first interface may be a desktop
  • the mobile device may specifically display the first interface by using a display area.
  • the display area may further include a desktop window and a desktop view. That is, the mobile device can display the first interface in the display area by loading the desktop window and the desktop view in the display area.
  • the first interface may include multiple application icons, for example, the first interface may be an interface as shown on the left side of FIG. 1C, that is, multiple application icons included in the first interface may be theme icons, applications. Market icons, mailbox icons, camera icons, settings icons, and more.
  • the foregoing first input operation includes:
  • a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation is a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation.
  • the sliding operation may be a sliding operation as shown in FIG. 1C, or the sliding direction of the sliding operation may be set according to the position of the target window.
  • the target window is on the left side of the desktop, so the swipe operation is to slide from left to right. If the target window is above the desktop, the sliding operation can be swiped from top to bottom.
  • the user can press or press the target button to implement the button operation.
  • the target button may be a physical button on the mobile device, and the target button may be a button or a combination of a plurality of buttons, and the user may implement the button operation by short pressing or long pressing or short pressing or atmospheric pressing target button;
  • the target button may also be a virtual button or the like, which is not limited in this application.
  • the target button may be set on the middle frame of the mobile device, or the target button may be set as a virtual button or the like, and the specific setting of the target button in the embodiment of the present application is not limited.
  • the mobile device can collect the fingerprint input by the user, thereby implementing the fingerprint operation.
  • the mobile device can set a fingerprint area, and the user can implement a fingerprint operation by inputting a fingerprint in the fingerprint area.
  • inputting a fingerprint in the fingerprint area is used to indicate that the mobile device needs to move the target window to the display area.
  • FIG. 3 is a schematic diagram of an interface of a moving target window according to an embodiment of the present application, and FIG. 3 illustrates how a mobile device moves a target window.
  • the mobile device can move the target window 320 on the X axis when the mobile device detects the first input operation of the user.
  • the target window 320 is moved to the display area 310. It can be understood that the positional relationship between the target window and the display area shown in FIG. 3 is only an example, and should not be construed as limiting the embodiments of the present application.
  • the view on the display area may be an application icon, such as an image icon, a text icon, or the like.
  • the target view may be specifically understood as a root view, thereby moving the root view. At the same time, it is possible to simultaneously move the subviews that have a positional correspondence with the root view.
  • a negative view may include a root view, and the width of the root view may be the same as the width of the display area.
  • a search box subview may be included on the root view to facilitate providing a search interface for the user; and in order to display the context card, may also include a subview for designing the card style to facilitate carrying the card; and for displaying the news application, the music application,
  • the video application may also include sub-views of corresponding styles to facilitate the view styles of those applications. And in the specific sub-view, since there may be buttons, texts, etc., it may also include a button sub-view, a text sub-view, etc. to carry the corresponding button and text.
  • the moving target view may be specifically understood as the root view of the moving target view. Because each subview has been defined relative to the root view at the beginning of the definition, the corresponding subview will automatically follow the move as the root view moves.
  • the views described in the embodiments described below can be understood as a root view.
  • the mobile device can effectively shorten the delay caused by the window switching by moving the lightweight view instead of the window (such as a negative one-screen window), and avoiding the cross-process When switching the interface, cracks and jitter occur.
  • the width of the target view may be the same as the width of the display area, so that when the mobile device moves the target view on the X axis (relative to FIG. 3), when moving the target view to the display area, Splicing well, avoiding the width of the target view being too narrow and affecting the user's operation; and when the mobile device moves the target view out of the display area, avoiding the width of the target view being too wide, causing the mobile device to require additional removal operations, thereby improving the Remove efficiency.
  • the width of the target window can be The width of the display area is the same, and may be greater than the width of the display area, etc., which is not limited by the embodiment of the present application.
  • the width of the target window is twice the width of the display area, or the width of the target window may be the same as the width of the display area, etc., which is not limited in this embodiment.
  • the target window includes a transparent view
  • the moving the target window to the display area includes:
  • the target window and the transparent view described above are simultaneously moved to the display area.
  • the width of the transparent view is the same as the width of the display area.
  • the transparent view is moved at the same time.
  • the sliding delay of the mobile device can be reduced by moving the target window first, and the transparent view can be used to avoid affecting the user's viewing of the desktop. Improve the user experience.
  • the method before the moving the target window to the display area, the method further includes:
  • the mobile device can only move the target window when moving the target window, and directly move the view included in the target window to the display area, which can effectively reduce the sliding delay.
  • the embodiment of the present application further provides a method for triggering a mobile device to move a target view, as follows:
  • the above moving the target view to the above display area includes:
  • the above-described target view is moved to the above-described display area.
  • the standard of the switching interface may be a criterion for whether the mobile device moves the target view.
  • the criterion of the switching interface is whether the first input operation of the user satisfies the standard of the mobile device moving target view.
  • the mobile device can confirm whether the sliding operation meets the criteria of the switching interface, or whether the double-click operation satisfies the criteria of the switching interface, or whether the key operation satisfies the criteria of the switching interface, and the like.
  • the mobile device can store the standard of the switching interface, that is, the standard of the first input operation of the storage switching interface.
  • the mobile device may not perform the step of moving the target view to the display area, or the mobile device may move the target window out of the display area.
  • the mobile device may not perform the step of moving the target view to the display area, or the mobile device may move the target window out of the display area.
  • the target window and the target view when the first input operation of the user is detected, by moving the target window to the display area first, and then moving the target view to the display area, the target window and the target view can be prevented from moving at the same time.
  • the mobile device generates cracks or jitter, reduces the delay caused by the simultaneous movement of the target window and the target view, and improves the smoothness of the sliding of the mobile device between different windows.
  • the above specifically describes how the mobile device moves the target window and the target view to the display area when the user needs to display a negative screen.
  • the following specifically describes how the mobile device will target the window when the user does not need to display a negative screen.
  • the target view moves out of the display area.
  • the target window is moved out of the display area.
  • the second input operation may also include any one of a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation.
  • the direction of the second input operation may be opposite to the method of the first input operation.
  • the first input operation is a left-to-right sliding operation
  • the second input operation is a right-to-left sliding operation.
  • the first input operation is a kneading operation, and the kneading operation is specifically from a thumb open state to a thumb closed state
  • the second input operation may be from a thumb closed state to a thumb open state.
  • the second input operation may be the same as the first input operation when the first input operation is an operation having no directivity.
  • the operation of the second input operation is specifically limited, and the embodiment is not limited.
  • the mobile device when the user does not need to display a negative screen, the mobile device may be effectively prevented from moving due to the simultaneous movement of the target view and the target window by moving the target view out of the display area and then moving the target window out of the display area. Crack or jitter; and can also avoid visual delay caused by moving the target window after moving out of the target window, which can improve the operating efficiency of the mobile device.
  • the display method provided by the embodiment of the present application is described above.
  • the display method provided by the implementation of the present application will be described in detail below in conjunction with the human-computer interaction interface.
  • the following embodiments provide the following two implementation manners and corresponding scenarios corresponding to the two implementation manners, and the specific introduction can be as follows:
  • the display method described in Embodiment 1 is implemented based on the mobile device simultaneously moving the target window and the transparent view.
  • the width of the target window may be twice the width of the display area, or the width of the target window may be the same as the width of the display area. The following shows how the target window is displayed at different widths.
  • FIG. 4A to FIG. 4C are schematic diagrams showing a movement relationship between a window and a view according to an embodiment of the present application.
  • FIG. 4A shows a desktop window 410, a desktop view 411, a negative one screen window 420, and a view 421 and a view 422.
  • the interface displayed in the display area in FIG. 4A may be referred to as the first interface described in FIG. 2, and the desktop area 410 and the desktop view 411 are included in the display area. That is, view 421 and view 422 are not displayed in the display area.
  • the mobile device detects that the user needs to display a negative screen (that is, if the mobile device detects the user's first input operation)
  • the mobile device moves the negative one screen window, and the negative screen is negative.
  • the view contained in the window will also move.
  • the view 421 is moved along with the negative one-screen window 420, but the mobile device is added on the one hand by moving the negative one-screen window 420 and the view 421 simultaneously.
  • the embodiment of the present application provides a processing method, so that when the mobile device moves the negative one-screen window 420, the view 421 is not moved at the same time, thereby not only reducing the processor of the mobile device but also processing the negative screen at the same time.
  • the workload of windows and views reduces the display load of the processor and also ensures the smoothness of the sliding of the mobile device.
  • the view 421 is set as a transparent view, or the view 421 is a transparent view 421, and the width of the negative one-screen window 420 is set to be twice the width of the display area, as shown in FIG. 4A.
  • the width of the display area is W width
  • the width of the negative one screen window 420 is 2W width
  • the transparent view 421 and the view 422 respectively occupy a W width, so that the mobile device detects that the user needs to display a negative screen, the movement
  • the device can simultaneously move the negative one screen window 420 and the transparent view 421 to the display area as shown in FIG. 4B.
  • the view 422 ie, the target view described in FIG. 2 has the same width as the display area.
  • the movement diagram shown in FIG. 4B is a schematic diagram of the negative one screen window 420 and the transparent view 421 during the movement.
  • the transparent view 421 is set in the embodiment of the present application, and can be moved to the display area after the negative one-screen window 420 does not affect the visual effect of the user.
  • the transparent view 421 can also function as a placeholder, that is, the transparent view 421 can occupy a W width.
  • the mobile device When detecting that the user needs to display a negative screen, by moving the transparent view 421 and the negative one screen window 420 to the display area, it is also possible to effectively prevent the user from viewing (or using) the desktop if the user does not want to display a negative screen.
  • View 411 After the mobile device confirms that the user needs to display a negative screen (ie, the mobile device confirms that the first input operation meets the criteria of the switching interface), the mobile device can move the view 422 to the display area, as shown in FIG. 4C, so that The display area displays a view 422, wherein the mobile device displays the view 422 in the display area, and the obtained interface is the second interface described in the embodiment of the present application.
  • the negative screen window and the desktop window may partially overlap, such as a negative screen window and a desktop window will be like a picture cover.
  • the negative one-screen window can be located above the desktop window (ie, relative to the Z-axis in FIG. 3, it can be understood that FIG. 3 is not shown), such as a negative one-screen window can be placed on the top of the desktop window.
  • the mobile device can display the view 422 to obtain a second interface. If the negative one-screen window is located below the desktop window, the mobile device may not be able to display a negative screen view, and thus the second interface may not be obtained.
  • the negative one-screen view may be more than one, or may be multiple views. Therefore, referring to FIG. 4D, FIG. 4D is further optimized based on FIG. 4A to FIG. 4C, as shown in the figure, a negative screen.
  • the view (ie, the negative one-screen view) carried in the window 420 includes not only the view 422 but also the view 423.
  • the mobile device detects that the user needs to display the next negative one-screen interface (ie, the mobile The device detects a third input operation), the mobile device can move view 423 to the display area such that the mobile device displays view 423 through the display area, as shown in Figure 4E.
  • the mobile device can move through the mobile device after moving the negative one-screen window to the display area.
  • a negative screen view to display the negative one screen view.
  • the delay due to window switching can be effectively shortened, and cracks and jitters can be avoided when moving the interface across processes.
  • the areas of the negative one screen window and the desktop window shown in FIG. 4A to FIG. 4E are only examples. In a specific implementation, the negative one screen window and the length of the desktop window may all be different. Therefore, FIG.
  • the negative one screen window and the length of the desktop window shown in FIG. 4E are not to be construed as limiting the embodiments of the present application.
  • the third input operation may be the same as the first input operation, or may be different. Therefore, the embodiment of the present application does not limit whether the third input operation is the same as the first input operation.
  • the mobile device may move the target window out of the display area after moving the target view out of the display area.
  • the target view may be view 422 and view 423, which is a negative one-screen window 420.
  • FIG. 4F is illustrated based on the schematic diagram shown in FIG. 4C. As shown in FIG.
  • the mobile device may first The view 422 is moved, and the transparent view 421 is also moved as the mobile device moves the view 422 out of the display area; and when the view 422 moves out of the display area, ie when the transparent view moves to the display area, the movement The device can move the negative one-screen window 420 to move the negative one-screen window 420 out of the display area, as shown in Figure 4F(b), wherein the transparent view 421 is in the process of the mobile device moving the negative one-screen window 420 out of the display area. It will also move, causing the transparent view 421 to also move out of the display area.
  • FIG. 5A to FIG. 5C are schematic diagrams showing another movement of the window and the view provided by the embodiment of the present application.
  • the width of the negative screen window in the figure is the same as the width of the display area.
  • FIG. 5A shows a desktop window 510, a desktop view 511, a negative one-screen window 520, and a view 521 and a view 522.
  • the view 521 is a transparent view, and the view 521 is referred to as a transparent view 521.
  • the width of the display area is W width
  • the width of the negative one screen window 520 is W width.
  • a transparent view 521 is included in one screen window 520.
  • the mobile device detects that the user needs to display a negative screen, the mobile device can simultaneously move the negative one screen window 520 and the transparent view 521 to the display area, as shown in FIG. 5B.
  • the movement diagram shown in FIG. 5B is a schematic diagram of the negative one screen window 520 and the transparent view 521 during the movement.
  • the mobile device can move the view 522 to the display area, as shown in FIG. 5C, so that the view 522 can be displayed in the display area, wherein the mobile device passes through the display area.
  • the view 522 is displayed, and the obtained interface is the second interface described in the embodiment of the present application. It can be understood that after the mobile device moves the negative one-screen window to the display area, the negative one-screen window is located above the desktop window, so that after moving the view 522 to the display area, the mobile device can display the view 522. Get the second interface. If the negative one-screen window is located below the desktop window, the mobile device may not be able to display a negative screen view, and thus the second interface may not be obtained.
  • the view 522 is moved first, while the transparent view 521 is moved simultaneously while moving the view 522, and when the view 522 moves out of the display area, the mobile device can move the negative one-screen window 520 while moving the transparent view. 521, which in turn moves the negative one-screen window 520 and the transparent view 521 out of the display area.
  • the negative one-screen view can be a view and a plurality of views.
  • FIG. 5A to FIG. 5C can also refer to FIG. 4A to FIG. 4E, and details are not described herein again.
  • the width of the negative screen window may be twice the width of the display area. It can also be the same width as the display area, which will not be explained here.
  • FIG. 6A to FIG. 6D are schematic diagrams of specific scenarios of a display method of a mobile device according to an embodiment of the present application. Specifically, FIG. 6A to FIG. 6D are schematic diagrams of specific scenarios based on implementation manner 1 in the embodiment of the present application.
  • the interface displayed by the mobile device in the display area is referred to as a first interface, and the relationship between the current negative screen and the negative screen view and the desktop window and the desktop view may be as shown in FIG. 4A or FIG. 5A. Shown.
  • the user slides the display screen by the finger, as shown in FIG. 6A(a), after the mobile device detects the sliding operation of the user input (that is, detects the first input operation of the user), the negative screen and the negative screen view and
  • the relationship between the desktop window and the desktop view can be as shown in FIG. 4B or as shown in FIG. 5B.
  • the mobile device moves the negative one-screen window to the display area while moving the transparent view (such as the transparent view 421 in FIG. 4A).
  • the mobile device can move the negative one-screen view to the display area, thereby displaying the negative screen in the display area.
  • the view is as shown in FIG. 6A(c), wherein the interface shown in FIG.
  • the mobile device can determine whether the first input operation is a sliding operation.
  • the length of the operation is at least 2 cm; if the length of the sliding operation entered by the user is 1.5 cm, it can be confirmed that the sliding operation does not meet the standard of the switching interface, then the mobile device will not perform a negative screen.
  • the operation of moving the view to the display area if the length of the sliding operation input by the user is 2 cm, it can be confirmed that the sliding operation satisfies the standard of the switching interface, and the mobile device can move the negative one screen view to the display area .
  • the negative one-screen view in FIG. 6A may be not only one but also multiple.
  • the mobile device detects the third input operation of the user, the mobile device can move the next negative one-screen view and move the next negative one-screen view to the display area, thereby displaying the next negative one-screen view, such as Figure 6A(d) shows.
  • the mobile device can no longer move the negative one-screen window, and the negative one-screen window and the negative one-screen view and the positional relationship between the desktop window and the desktop view can be as shown in FIG. 4E.
  • the third input operation detected by the mobile device may be the same as the operation of the first input operation, or may be different from the operation of the first input operation, as shown in FIG.
  • the first input operation is from the left. Sliding to the right, if the user needs to display the next negative one-screen view in FIG. 6A(c), the third input operation may also be sliding from left to right. Similarly, the third input operation may also be sliding from bottom to top. .
  • the mobile device may first move the target view out of the display area, corresponding to FIG. 6A to move the negative one-screen view first, and move the negative one-screen view out of the display area, while the transparent view is in the display area. Move the negative screen and the transparent view to move the negative screen and the transparent view out of the display area.
  • the movement relationship of the negative one screen window, the negative one screen view, the desktop window, and the desktop view can be as shown in FIG. 4F.
  • FIG. 6A is a schematic diagram showing the interface displayed in the display area as the main interface of the desktop.
  • the interface displayed in the display area may not be the main interface of the desktop, and other interfaces of the desktop are as shown in the figure.
  • the first interface displayed in the display area of the mobile device is not the desktop main interface but the other interface of the desktop.
  • the interface displayed in the display area in FIG. 6A (a) is referred to as the desktop first interface
  • the interface displayed in the display area in FIG. 6B (a) may be referred to as the desktop second interface
  • FIG. 6B The first interface displayed in the display area in the illustrated scenario may be referred to as the desktop second interface in the embodiment of the present application.
  • the first interface ie, FIG. 6A(a) is displayed due to the sliding operation and the display desktop.
  • the operation of the interface displayed in the display area conflicts, so the mobile device may malfunction. Therefore, in the scenario shown in FIG. 6B, the first input operation of the user detected by the mobile device: any one of a two-finger swipe operation, a long-press operation, a pinch operation, a click operation, a key operation, or a fingerprint operation.
  • the mobile device can clearly distinguish the response operation corresponding to each operation, other operations may also be set as the first input operation described in the embodiment of the present application.
  • FIG. 6B The scenario in which the embodiment of the present application is applied is illustrated by taking a long press operation as an example in FIG. 6B.
  • the interface currently displayed in the display area of the mobile device is the second interface of the desktop.
  • the positional relationship between the negative one screen and the negative one screen and the desktop window and the desktop view in Fig. 6B(a) can be as shown in Fig. 4A.
  • the mobile device detects a long press operation of the user input (ie, detects the user's first input operation), and returns a screen window and a negative screen view, as well as a desktop window and a desktop.
  • the positional relationship of the view can be as shown in FIG. 4B.
  • the mobile device moves the negative one-screen window to the display area while moving the transparent view.
  • the standard saved in the mobile device is at least 2 s long; if the user presses 1.5 s long, it can be confirmed that the first input operation does not satisfy the switching interface. If the user presses 2.5s for a long time, the mobile device can confirm that the long press operation meets the standard of the switching interface when receiving the long-pressing operation of the user input for 2.5s.
  • the mobile device can move the negative one-screen view to the display area to display the negative one-screen view, as shown in FIG. 6B(b).
  • the positional relationship between the negative one screen window and the negative one screen view and the desktop window and the desktop view may be as shown in FIG. 4C.
  • the negative one-screen view is at least two, refer to the schematic diagram of the scenario shown in FIG. 6A, which will not be described in detail herein.
  • the mobile device may also move the negative screen view first, and the transparent view also moves; when the negative screen view is moved out of the display area, The transparent view will be in the display area; at this point, the mobile device can move the negative one-screen window while moving out of the transparent view; until the negative one-screen window moves out of the display area.
  • the mobile relationship diagram can also refer to the mobile schematic diagram shown in FIG. 4F, which will not be described in detail herein.
  • the scenario shown in FIGS. 6A and 6B is an embodiment in which the first interface currently displayed in the display area is a desktop view and the mobile device has been unlocked.
  • the scenario shown in FIG. 6C is an embodiment shown in the case where the mobile device is not unlocked. That is to say, the embodiment shown in the case where the first interface displayed in the display area is the unlocking interface.
  • the first interface displayed in the display area is an unlocking interface.
  • the container capable of displaying the unlock image is referred to as an unlocking window
  • the interface displayed in the display area is Unlock the view, that is, in this case, the negative one-screen window and the negative one-screen view are not displayed.
  • the negative one screen window and the negative one screen view and the positional relationship between the unlock window and the unlocked view may be as shown in FIG. 4B. That is to say, after detecting the sliding operation input by the user, the mobile device moves the negative one-screen window to the display area while moving the transparent view to the display area.
  • the mobile device moves the negative one-screen view, and moves the negative one-screen view to the display area, thereby displaying the second interface, as shown in FIG. 6C (FIG. 6C). c) shown.
  • the interface displayed in the display area is not necessarily the interface described above. Therefore, the first interface in the embodiment of the present application may also be an interface of the APP (referred to as an APP interface).
  • the APP interface may be a WeChat interface, a browser interface, an Alipay interface, a qq interface, a video interface, and the like.
  • FIG. 6D a specific scenario diagram of the display method described in the embodiment of the present application may be as shown in FIG. 6D, and the scenario shown in FIG. 6D is a video interface displayed in the display area when the user uses the APP.
  • FIG. 6D a specific scenario diagram of the display method described in the embodiment of the present application
  • FIG. 6D is a video interface displayed in the display area when the user uses the APP.
  • the view displayed in the display area may be an APP view, in which case, a negative screen window and a negative one.
  • the screen view is not displayed, and the positional relationship of the negative one screen window, the negative one screen view, the APP window, and the APP view may be as shown in FIG. 4A.
  • the mobile device detects the user's first input operation (such as a button operation or a fingerprint operation)
  • the positional relationship of the negative one-screen window, the negative one-window window view, the APP window, and the APP view may be as shown in FIG. 4B.
  • the mobile device moves the negative screen window to the display area while moving the transparent view to the display area.
  • the mobile device moves the negative one-screen view to the display area, thereby displaying the second in the display area.
  • the interface is shown in Figure 6D(b).
  • the positional relationship of the negative one screen window, the negative one screen window view, the APP window, and the APP view may be as shown in FIG. 4C.
  • the key operation or the fingerprint operation satisfies the standard of the switching interface.
  • the standard of the key operation stored in the mobile device may be at least 2 seconds, and the mobile device may also store the user. Which key must be pressed for the key pressed, and so on.
  • the fingerprint feature of the fingerprint operation may be stored in the mobile device, that is, the fingerprint feature is used as a standard for switching the interface, and the like. The embodiments of the present application are not limited.
  • the negative one-screen window and the negative one-screen view shown in FIG. 6A to FIG. 6D all move from the left side of the display area, thereby moving into the display area.
  • the negative one-screen window The negative one-screen view can also be moved from above the display area to the display area, or from below the display area to the display area, and the like.
  • the first input operation of the user may be correspondingly set, for example, in the negative
  • the user can cause the mobile device to display a negative screen by a sliding operation from top to bottom.
  • the negative one-screen window and the negative one-screen view start moving from below the display area to move into the display area
  • the user can cause the mobile device to display a negative screen by a sliding operation from the bottom up.
  • the first input operation is an operation without directivity, such as in the case where the first input operation is a double-click operation or a fingerprint operation or a key operation, regardless of the negative one-screen window and the negative one-screen view Which direction of the display area, the first input operation can also be a double-click operation or a fingerprint operation or a key operation or the like.
  • FIG. 7A to FIG. 7D are schematic diagrams showing another movement relationship between a window and a view provided by an embodiment of the present application.
  • FIG. 7A shows the positional relationship of the desktop window 710 and the desktop view 711, and the negative one screen window 720 and the negative one screen view 721.
  • the interface currently displayed in the display area is the first interface.
  • the negative one screen window 720 and the negative one screen view 721 are not in the display area.
  • the mobile device may first move the negative one-screen view 721 out of the display area, as shown in FIG. 7B. Further, the negative one-screen window 720 is moved to move the negative one-screen window 720 to the display area as shown in FIG. 7C.
  • the mobile device can move the negative one-screen view 721 to the display area, thereby displaying the negative one-screen view, that is, displaying the second interface, as shown in FIG. 7D.
  • the width of the negative one screen window is the same as the width of the display area; and the width of the negative one screen view is the same as the width of the display area.
  • the mobile device when the mobile device detects the first input operation of the user, that is, when the mobile device detects that the user needs to display a negative screen, the mobile device first carries a negative screen in the negative one screen window. The view moves out of the negative screen window to move only the negative screen window to the display area; and when the mobile device confirms that the first input operation meets the criteria of the switching interface, the negative screen view can be moved to the display area to display the second interface. On the one hand, it can further confirm whether the user needs to display a negative screen, and on the other hand, moving the negative one screen window and then moving the negative one screen view can also effectively reduce cracks caused by moderate or heavy mobile devices due to simultaneous movement or shake.
  • the mobile device may first move the negative one-screen view 721 out of the display area, so that the mobile device can respond to the user's operation in time; the mobile device will again have a negative screen. After the view moves out of the display area, the mobile device can move the negative one-screen window out of the display area, thereby reducing the impact of the negative one-screen window on the user operation.
  • FIG. 6A the relationship between the negative one screen window and the negative one screen view may be as shown in FIG. 7A.
  • the relationship of the negative one screen window, the negative one screen view, the desktop window, and the desktop view may be as shown in FIGS. 7B and 7C.
  • the mobile device detects a sliding operation input by the user, the mobile device first moves the negative one-screen view out of the negative one-screen window, as shown in FIG. 7B. Further, the negative one-screen window is moved (as shown in FIG.
  • the mobile device moves the negative one-screen view to the display area, and displays the second interface, that is, displays a negative screen, as shown in the figure. 6A(c).
  • FIG. 8 is a schematic structural diagram of a mobile device according to an embodiment of the present disclosure.
  • the mobile device may be used to perform a display method of a mobile device provided by an embodiment of the present application. As shown in FIG. include:
  • a display unit 801 configured to display a first interface
  • the detecting unit 802 is configured to detect a first input operation of the user
  • a first moving unit 803, configured to move the target window to the display area
  • a second moving unit 804 configured to move the target view to the display area after moving the target window to the display area;
  • the display unit 801 is further configured to display the second interface.
  • the width of the target window is twice the width of the display area.
  • the width of the target view is the same as the width of the display area.
  • the target window includes a transparent view
  • the first moving unit 803 is specifically configured to simultaneously move the target window and the transparent view to the display area.
  • the width of the transparent view is the same as the width of the display area.
  • the second moving unit 804 is specifically configured to confirm whether the first input operation meets a criterion of the switching interface; and if the standard of the switching interface is met, the target view is moved to the display area.
  • the foregoing mobile device further includes:
  • the receiving unit 805 is configured to receive a second input operation of the user.
  • a first moving unit 806, configured to remove the target view from the display area
  • the second removal unit 807 is configured to remove the target window from the display area.
  • the first input operation described above includes:
  • a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation is a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation.
  • the foregoing mobile device further includes:
  • the third removal unit 808 is configured to move the target view from the target window.
  • each unit may also correspond to the corresponding description of the method embodiment shown in the foregoing embodiments.
  • the mobile device described in FIG. 8 and FIG. 9 in the case that the mobile device detects the first input operation of the user, by moving the target window to the display area first, and then moving the target view to the display area, Avoid the crack or jitter of the mobile device due to the simultaneous movement of the target window and the target view, reduce the delay caused by the simultaneous movement of the target window and the target view, and improve the smoothness of the sliding of the mobile device between different windows.
  • FIG. 10 is a schematic structural diagram of another mobile device according to an embodiment of the present disclosure.
  • the mobile device includes a processor 1001, a memory 1002, a transceiver 1003, and a display screen 1004.
  • the processor 1001 and the memory 1002 receive and receive.
  • the 1003 and the display 1004 are connected to one another via a bus 1005.
  • the memory 1002 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read only memory (EPROM), or A compact disc read-only memory (CD-ROM) is used for related instructions and data.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read only memory
  • CD-ROM compact disc read-only memory
  • the transceiver 1003 is configured to receive and transmit data.
  • the processor 1001 may be one or more central processing units (CPUs). In the case where the processor 1001 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
  • the processor 1001 in the mobile device is configured to read the program code stored in the memory 1002, and perform the following operations:
  • the width of the target window is twice the width of the display area.
  • the width of the target view is the same as the width of the display area.
  • the processor 1001 in the mobile device is further configured to read the program code stored in the foregoing memory 1002, and perform the following operations:
  • the target window includes a transparent view, and the target window and the transparent view are simultaneously moved to the display area.
  • the width of the transparent view is the same as the width of the display area.
  • the processor 1001 in the mobile device is further configured to read the program code stored in the foregoing memory 1002, and perform the following operations:
  • the processor 1001 in the mobile device is further configured to read the program code stored in the foregoing memory 1002, and perform the following operations:
  • the target window is moved out of the display area.
  • the foregoing first input operation includes:
  • a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation is a sliding operation, a double-click operation, a long-press operation, a pinch operation, a key operation, or a fingerprint operation.
  • the processor 1001 in the mobile device is further configured to read the program code stored in the foregoing memory 1002, and perform the following operations:
  • the display screen 1004 is also used to perform the operations performed by the display unit shown in FIG. 8; the processor 1001 is further configured to execute the detecting unit 802, the first mobile unit 803 shown in FIG. And the operations performed by the second mobile unit 804, and the processor 1001 is further configured to perform the operations performed by the first removal unit 806, the second removal unit 807, and the third removal unit 808 illustrated in FIG.
  • the mobile device can further include an input and output interface, through which the first input operation and the second input operation input by the user and the like can be received.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program includes program instructions, when executed by a processor of the mobile device, causing the processor to execute The process flow shown in Figure 2.
  • the above program instructions may be executed by a processor to implement:
  • the target view is moved to the display area to display the second interface.
  • the computer readable storage medium described above may be an internal storage unit of a mobile device, such as a hard disk or a memory. Or the above computer readable storage medium may also be an external storage device of the mobile device, such as a plug-in hard disk equipped on a mobile device, a smart memory card (SMC), a Secure Digital (SD) card, Flash card and more.
  • SMC smart memory card
  • SD Secure Digital
  • the embodiment of the present application further provides a computer program product, which enables the method flow shown in FIG. 2 to be implemented when the computer program product is run on a mobile device.
  • the mobile device is configured with a touch screen of a larger screen, such as a screen of 5 inches and above.
  • the touch screen may be configured with a self-capacitive touch panel or an infrared touch panel.
  • the touch screen may be configured with a self-capacitive touch panel or an infrared touch panel.
  • the touch screen may be configured to receive a touch operation of the user, such as a first input operation, a second input operation, and a third input operation.
  • a touch operation of the user such as a first input operation, a second input operation, and a third input operation.
  • the above touch touch operation refers to an operation in which a user's finger (or hand) directly contacts the screen.
  • the above touch screen can also be used to display the interface content currently output by the system.
  • the above interface content may include an interface of a running application, a system level menu, etc., and may be composed of the following interface elements: input type interface elements, such as a button, a text input box, and a scroll bar. , Menu, etc.; and output interface elements such as Labels and so on.
  • mobile device 110 can include a baseband chip 110, a memory 115 (one or more computer readable storage media), a radio frequency (RF) module 116, and a peripheral system 117. These components can communicate over one or more communication buses 114.
  • RF radio frequency
  • the peripheral system 117 is mainly used to implement the interaction function between the mobile device 110 and the user/external environment, and mainly includes input and output devices.
  • the peripheral system 117 can include a touch screen controller 118, a camera controller 119, an audio controller 120, and a sensor management module 121.
  • Each controller may be coupled to a respective peripheral device (such as touch screen 123, camera 124, audio circuit 125, and sensor 126).
  • the touch screen 123 may be configured with a touch screen of a self-capacitive touch panel or a touch screen configured with an infrared touch panel.
  • camera 124 can be a 3D camera.
  • the peripheral system 117 may also include other I/O peripherals.
  • the first interface or the second interface and the like may also be displayed through the touch screen 123, and the first input operation or the second input operation or the like of the user may also be received through the touch screen 123.
  • the baseband chip 110 can be integrated to include one or more processors 111, a clock module 112, and a power management module 113.
  • the clock module 112 integrated in the baseband chip 110 is primarily used to generate the clocks required for data transfer and timing control for the processor 111.
  • the power management module 113 integrated in the baseband chip 110 is mainly used to provide a stable, high-precision voltage for the processor 111, the radio frequency module 116, and the peripheral system.
  • a radio frequency (RF) module 116 is used to receive and transmit radio frequency signals, primarily integrating a receiver and a transmitter.
  • a radio frequency (RF) module 116 communicates with the communication network and other communication devices via radio frequency signals.
  • the radio frequency (RF) module 116 may include, but is not limited to: an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip, a SIM card, and Storage media, etc.
  • a radio frequency (RF) module 116 can be implemented on a separate chip.
  • Memory 115 is coupled to processor 111 for storing various software programs and/or sets of instructions.
  • memory 115 may include high speed random access memory, and may also include non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid state storage devices.
  • the memory 115 can store an operating system (hereinafter referred to as a system) such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
  • the memory 115 can also store a network communication program that can be used to communicate with one or more additional devices, one or more mobile devices, one or more network devices.
  • the memory 115 can also store a user interface program, which can realistically display the content of the application through a graphical operation interface, and receive user control operations on the application through input controls such as menus, dialog boxes, and keys. .
  • a user interface program which can realistically display the content of the application through a graphical operation interface, and receive user control operations on the application through input controls such as menus, dialog boxes, and keys.
  • the standard of the switching interface and the like may also be stored in the memory 115.
  • the memory 115 can also store one or more applications. As shown in FIG. 11, these applications may include: social applications (such as Facebook), image management applications (such as photo albums), map applications (such as Google Maps), browsers (such as Safari, Google Chrome), etc. .
  • social applications such as Facebook
  • image management applications such as photo albums
  • map applications such as Google Maps
  • browsers such as Safari, Google Chrome
  • the mobile device 110 is only one example provided by the embodiments of the present application, and that the mobile device 110 may have more or fewer components than the illustrated components, may combine two or more components, or may have Different configurations of components are implemented.
  • the mobile device shown in FIG. 11 can also be used to perform the display method of the mobile device provided by the embodiment of the present application, such as the mobile device can be used to perform the method shown in FIG. 2, and other embodiments. The implementation of this, not detailed here.
  • the program can be stored in a computer readable storage medium, when the program is executed
  • the flow of the method embodiments as described above may be included.
  • the foregoing storage medium includes various media that can store program codes, such as a ROM or a random access memory RAM, a magnetic disk, or an optical disk.

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

一种移动设备的显示方法和移动设备。其中,该显示方法包括:显示第一界面(201);在检测到用户的第一输入操作的情况下,将目标窗口移动到显示区域(202);将所述目标窗口移动到所述显示区域后,将目标视图移动至所述显示区域,显示第二界面(203)。该方法能够有效减少负一屏滑动的时延,提高窗口之间的切换性能。

Description

移动设备的显示方法和移动设备
本申请要求于2017年10月12日提交中国专利局、申请号为201710949311.6、申请名称为“一种移动设备桌面显示方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机领域,尤其涉及一种移动设备的显示方法和移动设备。
背景技术
负一屏,又称为Hiboard,或者称为智能助理,又或者称为情景助理等。在负一屏中,移动设备可以为用户提供应用建议、运动状态、情景智能等信息,还可以提供生活服务应用程序(Application,APP),在线的新闻资讯等等。
一般地,移动设备在从桌面切换到负一屏时,即该移动设备需要显示负一屏时,该移动设备可以通过同时移动负一屏窗口以及该负一屏窗口包含的视图来显示负一屏。
然而,采用上述实现方式,在滑动负一屏的过程中,往往会产生30ms不等的时延,尤其是在中度或重度负载移动设备上,会产生裂缝或抖动等等。
因此,如何有效减少时延是本领域技术人员正在研究的技术问题。
发明内容
本申请实施例公开了一种移动设备的显示方法和移动设备,能够有效减少滑动的时延,提高移动设备滑动的流畅度,以及能够有效避免在中度或重度负载移动设备上产生裂缝或抖动的问题。
本申请实施例第一方面公开了一种移动设备的显示方法,包括:
显示第一界面;
在检测到用户的第一输入操作的情况下,将目标窗口移动到显示区域;
将所述目标窗口移动到所述显示区域后,将目标视图移动至所述显示区域,显示第二界面。
在一个可选的实现方式中,所述目标窗口的宽度为所述显示区域的宽度的两倍。
在一个可选的实现方式中,所述目标视图的宽度与所述显示区域的宽度相同。
在一个可选的实现方式中,所述目标窗口包括透明视图,所述将目标窗口移动到显示区域包括:
将所述目标窗口以及所述透明视图同时移动到所述显示区域。
在一个可选的实现方式中,所述透明视图的宽度与所述显示区域的宽度相同。
在一个可选的实现方式中,所述将目标视图移动至所述显示区域包括:
确认所述第一输入操作是否满足切换界面的标准;
在满足所述切换界面的标准的情况下,将所述目标视图移动至所述显示区域。
在一个可选的实现方式中,在接收到用户的第二输入操作的情况下,将所述目标视图移出所述显示区域后,将所述目标窗口移出所述显示区域。
在一个可选的实现方式中,所述第一输入操作包括:
滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
在一个可选的实现方式中,所述将目标窗口移动到显示区域之前,所述方法还包括:
将所述目标视图移出所述目标窗口。
第二方面,本申请实施例还提供了一种移动设备的显示方法,包括:
在显示区域显示桌面的界面;
在检测到用户的第一输入操作的情况下,将负一屏窗口移动至所述显示区域;
将所述负一屏窗口移动到所述显示区域后,将负一屏视图移动至所述显示区域,显示负一屏界面。
在一个可选的实现方式中,所述负一屏窗口的宽度为所述显示区域的宽度的两倍。
在一个可选的实现方式中,所述负一屏视图的宽度与所述显示区域的宽度相同。
在一个可选的实现方式中,所述负一屏窗口包括透明视图,所述将负一屏窗口移动至所述显示区域包括:
将所述负一屏窗口以及所述透明视图同时移动到所述显示区域。
在一个可选的实现方式中,所述透明视图的宽度与所述显示区域的宽度相同。
在一个可选的实现方式中,所述将负一屏视图移动至所述显示区域包括:
确定所述第一输入操作是否满足切换界面的标准;
在满足所述切换界面的标准的情况下,将所述负一屏视图移动至所述显示区域。
在一个可选的实现方式中,在接收到用户的第二输入操作的情况下,将所述负一屏视图移出所述显示区域后,将所述负一屏窗口移出所述显示区域。
在一个可选的实现方式中,所述第一输入操作包括:
滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
在一个可选的实现方式中,所述将负一屏窗口移动到显示区域之前,所述方法还包括:
将所述负一屏视图移出所述负一屏窗口。
第三方面,本申请实施例提供了一种移动设备,包括:
显示单元,用于显示第一界面;
检测单元,用于检测用户的第一输入操作;
第一移动单元,用于将目标窗口移动到显示区域;
第二移动单元,用于在将所述目标窗口移动到所述显示区域后,将目标视图移动至所述显示区域;
所述显示单元,还用于显示第二界面。
在一个可选的实现方式中,所述目标窗口的宽度为所述显示区域的宽度的两倍。
在一个可选的实现方式中,所述目标视图的宽度与所述显示区域的宽度相同。
在一个可选的实现方式中,所述目标窗口包括透明视图,所述第一移动单元,具体用于将所述目标窗口以及所述透明视图同时移动到所述显示区域。
在一个可选的实现方式中,所述透明视图的宽度与所述显示区域的宽度相同。
在一个可选的实现方式中,所述第二移动单元,具体用于确认所述第一输入操作是否满足切换界面的标准;在满足所述切换界面的标准的情况下,将所述目标视图移动至所述 显示区域。
在一个可选的实现方式中,所述移动设备还包括:
接收单元,用于接收用户的第二输入操作;
第一移动单元,用于将所述目标视图移出所述显示区域;
第二移出单元,用于将所述目标窗口移出所述显示区域。
在一个可选的实现方式中,所述第一输入操作包括:
滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
在一个可选的实现方式中,所述移动设备还包括:
第三移出单元,用于将所述目标视图移出所述目标窗口。
第四方面,本申请实施例还提供了一种移动设备,包括:至少一个处理器,存储器,显示屏和收发器,所述存储器、所述显示屏,所述收发器和所述至少一个处理器通过线路互联,所述存储器中存储有程序指令;所述程序指令被所述处理器执行时,使所述处理器执行以下操作:
通过所述显示屏显示第一界面;在检测到用户的第一输入操作的情况下,将所述目标窗口移动到显示区域;将所述目标窗口移动到所述显示区域后,将目标视图移动至所述显示区域,通过所述显示屏显示第二界面。
在一个可选的实现方式中,所述目标窗口的宽度为所述显示区域的宽度的两倍。
在一个可选的实现方式中,所述目标视图的宽度与所述显示区域的宽度相同。
在一个可选的实现方式中,所述目标窗口包括透明视图,所述处理器,具体用于将所述目标窗口以及所述透明视图同时移动到所述显示区域。
在一个可选的实现方式中,所述透明视图的宽度与所述显示区域的宽度相同。
在一个可选的实现方式中,所述处理器,还用于确认所述第一输入操作是否满足切换界面的标准;以及在满足所述切换界面的标准的情况下,将所述目标视图移动至所述显示区域。
在一个可选的实现方式中,所述处理器,还用于在接收到用户的第二输入操作的情况下,将所述目标视图移出所述显示区域后,将所述目标窗口移出所述显示区域。
在一个可选的实现方式中,所述第一输入操作包括:
滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
在一个可选的实现方式中,所述处理器,还用于将所述目标视图移出所述目标窗口。
第五方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被移动设备的处理器执行时,使所述移动设备的处理器执行上述第一方面或者第一方面的任意一种可能实现方式所描述的方法,或者,使所述移动设备的处理器执行上述第二方面或第二方面的任意一种可能实现方式所描述的方法。
第六方面,本申请实施例还提供了一种计算机程序产品,当所述计算机程序产品在移动设备上运行时,使第一方面或第一方面的任意一种可能的实现方式得以实现,或者,使第二方面或第二方面的任意一种可能的实现方式得以实现。
实施本申请实施例,在检测到用户的第一输入操作的情况下,通过先将目标窗口移动 到显示区域,然后再将目标视图移动至该显示区域,可以避免由于目标窗口和目标视图同时移动而导致移动设备产生裂缝或抖动,减少由于目标窗口和目标视图同时移动而产生的时延,提高了移动设备在不同窗口之间滑动的流畅度。
附图说明
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。
图1A是本申请实施例提供的一种窗口和视图的关系示意图;
图1B是本申请实施例提供的另一种窗口和视图的关系示意图;
图1C是本申请实施例提供的一种负一屏和桌面的示意图;
图2是本申请实施例提供的一种移动设备的显示方法的流程示意图;
图3是本申请实施例提供的一种移动目标窗口的界面示意图;
图4A至图4F是本申请实施例提供的一种窗口和视图的移动关系示意图;
图5A至图5C是本申请实施例提供的另一种窗口与视图的移动示意图;
图6A至图6D是本申请实施例提供的一种移动设备的显示方法的具体场景示意图;
图7A至图7D是本申请实施例提供的另一种窗口与视图的移动关系示意图;
图8是本申请实施例提供的一种移动设备的结构示意图;
图9是本申请实施例提供的另一种移动设备的结构示意图;
图10是本申请实施例提供的又一种移动设备的结构示意图;
图11是本申请实施例提供的一种移动设备的具体结构示意图。
具体实施方式
下面将结合本申请实施例中的附图对本申请实施例中的技术方案进行描述。
首先,介绍本申请实施例中涉及到的技术背景。
物理屏幕,又称为Screen,或者也称显示屏,是用于显示图像及色彩的电器。
窗口,又称为Window,属于软件的概念,是图像的容器,所有显示的内容都在Window内部对外呈现。尤其是在安卓(Android)系统中,Window以进程为单位,也即软件显示的载体。因此,本申请实施例中称为窗口。
视图,又称为View,用于承载单个界面或控件的软件实体。因此,本申请实施例中称为视图。
负一屏,又称为Hiboard,或者称为智能助理,又或者称为情景助理。因此,本申请实施例中在显示区域显示负一屏的界面时,可理解为显示负一屏界面,或者,显示负一屏页面,或者,显示智能助理界面,或者显示情景助理界面等。该负一屏在不同的描述中,可能具有不同的名称,因此本申请实施例中所描述的名称不应理解为具有限定意义。
针对上述所描述的窗口和视图的概念,为更加形象地说明两者之间的关系,参见图1A,图1A是本申请实施例提供的一种窗口和视图的关系示意图。具体地,图1A示出了视图110和视图120,与窗口130以及显示区域140的位置关系。具体地,显示区域140为显示屏的显示区域,如显示屏的大小6英寸,则该显示区域的大小也为6英寸。
其中,若有相应的窗口来承载视图,且窗口和视图在显示区域,则可以显示该视图, 也就是说,视图只能在窗口内部显示,超出窗口显示区域的视图,则不能被显示,同时如果视图不在显示区域,则该视图也不能被显示。图中,由于视图110有窗口130来承载,以及视图110和窗口130在显示区域140,所以可以显示视图110的内容。然而由于视图120无相应窗口来承载,因此,在具体实现中无法显示视图120的内容。
参见图1B,图1B是本申请实施例提供的另一种窗口和视图的关系示意图。图1B示出了视图110和视图120,与窗口130和窗口150以及显示区域140的位置关系。其中,尽管视图120有相应的窗口150来承载,但是由于视图120以及窗口150不在显示区域140,因此,视图120仍然不能被显示。可以理解的是,图1A和图1B所示的示意图中,视图、窗口以及显示区域的大小仅为示例,不应理解为对本申请实施例具有限定意义。其中,本申请实施例中所描述的各视图具体可以理解为根视图。如视图110应理解为根视图110,又如视图120应理解为根视图120等,这里不再一一举例。
基于上述所描述的技术背景,本申请实施例具体描述了负一屏和桌面。通常情况下,如图1C中,在显示区域中当前所显示的界面为桌面的界面。该情况下,该显示区域中包含有承载当前桌面的窗口,以及该显示区域中还包含有视图,本申请实施例中,称承载桌面的窗口为桌面窗口,以及在显示的界面为桌面的界面时的视图称为桌面视图。若用户需要显示负一屏的界面,则用户可以输入滑动操作(或点击操作或捏合操作等等),从而使得移动设备接收到该滑动操作后,在显示区域中显示负一屏的界面,如图1C右侧图所示。该情况下,该显示区域中还包含有承载负一屏的窗口,以及该显示区域中还包含有负一屏的视图,本申请实施例中,称承载负一屏的窗口为负一屏窗口,以及负一屏的视图为负一屏视图。可以理解的是,本申请实施例中,负一屏窗口与桌面窗口属于不同的进程,从而可以避免由于负一屏窗口和桌面窗口紧耦合在一起时,移动设备的维护性以及稳定性低下的情况。
基于以上所描述的技术背景,参见图2,图2是本申请实施例提供的一种移动设备的显示方法的示意流程图,该显示方法可应用于移动设备,该移动设备可包括:
如图2所示,该显示方法至少可包括:
201、显示第一界面;
本申请实施例中,第一界面可以为桌面,该移动设备具体可以通过显示区域显示该第一界面。同时,在该移动设备显示第一界面时,该显示区域中还可以包含桌面窗口,以及桌面视图。也就是说,该移动设备可以通过在显示区域加载该桌面窗口以及该桌面视图,从而在该显示区域显示该第一界面。
具体地,该第一界面可以包括多个应用程序图标,如该第一界面可以为如图1C左边所示的界面,即该第一界面中所包含的多个应用图标可以为主题图标、应用市场图标、邮箱图标、相机图标、设置图标等等。
202、在检测到用户的第一输入操作的情况下,将目标窗口移动到显示区域;
具体地,上述第一输入操作包括:
滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
其中,滑动操作为可以如图1C所示的滑动操作,或者该滑动操作的滑动方向可以依据 目标窗口所在位置来设置。如图1C中,目标窗口在桌面的左侧,因此滑动操作为从左向右滑动。而若该目标窗口在桌面的上方,则该滑动操作可以为从上向下滑动。
对于按键操作,用户可以按或压目标按键来实现该按键操作。该目标按键可以是移动设备上的物理按键,该目标按键可以是一个按键,也可以是多个按键的组合,用户可以通过短按或长按或短压或常压目标按键来实现按键操作;或者,该目标按键也可以是虚拟按键等,本申请不作限定。具体地,该目标按键可以设置在移动设备的中框上,又或者,该目标按键可以设置为虚拟按键等等,本申请实施例对于该目标按键具体设置在哪里不作限定。
对于指纹操作,在用户按压显示屏时,移动设备可以采集用户输入的指纹,从而来实现指纹操作。具体地,移动设备可以设置指纹区域,用户可以通过在该指纹区域输入指纹,从而来实现指纹操作。其中,在指纹区域输入指纹用于指示移动设备需要将目标窗口移动至显示区域。
可以理解的是,本申请实施例中,移动设备中可以存储第一输入操作具体所包含的操作,从而在该移动设备检测到用户输入的第一输入操作的情况下,将目标窗口移动到显示区域。具体地,该目标窗口可以为负一屏窗口。举例来说,参见图3,图3是本申请实施例提供的一种移动目标窗口的界面示意图,图3示出了移动设备是如何移动目标窗口的。如图3所示,假设显示区域310当前显示的界面为第一界面,则移动设备在检测到用户的第一输入操作的情况下,该移动设备便可以在X轴上移动目标窗口320,以将该目标窗口320移动至显示区域310。可以理解的是,图3所示的目标窗口与显示区域的位置关系仅为示例,不应理解为对本申请实施例具有限定意义。
203、将上述目标窗口移动到上述显示区域后,将目标视图移动至上述显示区域,显示第二界面。
在具体实现中,显示区域上的视图可以为应用图标,如可以为图像图标,也可以为文字图标等等,但是本申请实施例中,目标视图具体可以理解为根视图,从而在移动根视图时,能够同时移动与根视图有位置对应关系的子视图。
举例来说,以负一屏为例,负一屏中可以包括根视图,且该根视图的宽度可以与显示区域的宽度相同。在该根视图上可以包括搜索框子视图,以便于为用户提供搜索接口;以及为了显示情景卡片,可能还包括用于设计卡片样式的子视图以便于承载卡片;以及为了显示新闻应用,音乐应用,视频应用,可能还包括对应样式的子视图以便于承载这些应用的视图样式。以及在具体的子视图里面,由于可能还有按键(button),文字等,因此还可以包括按键子视图,文字子视图等等来承载对应的按键以及文字。这些子视图会从根视图开始,组成一个有隶属关系的树状结构。并最终展示一个完整的界面。因此在本申请实施例中,具体可以将移动目标视图理解为移动目标视图的根视图。因为每个子视图,在定义之初,就已经定义了和根视图的位置相对关系,因此在根视图移动时,相应的子视图也会自动跟随移动。具体地,以下所介绍的实施例中所描述的视图均可以理解为根视图。
其中,在目标视图至少为两个的情况下,该移动设备通过移动轻量化的视图,而非窗口(如负一屏窗口),可以有效缩短由于窗口切换而导致的时延,避免在跨进程切换界面时,产生裂缝和抖动的情况。
本申请实施例中,目标视图的宽度可以与显示区域的宽度相同,从而可以在移动设备在X轴移动目标视图的情况下(相对于图3),在将目标视图移动至显示区域时,更好地进行拼接,避免目标视图的宽度过窄而影响用户的操作;以及在移动设备将目标视图移出显示区域时,避免目标视图的宽度过宽而导致移动设备需要额外的移出操作,从而提高了移出效率。可以理解的是,在移动设备不在X轴移动目标视图,如以Y轴移动目标视图时,即该目标窗口位于显示区域的上方或下方时(相对于图3),该目标窗口的宽度可以与显示区域的宽度相同,也可以大于该显示区域的宽度等等,本申请实施例不作唯一性限定。
可选的,目标窗口的宽度为显示区域的宽度的两倍,或者,该目标窗口的宽度还可以与该显示区域的宽度相同等,本申请实施例不作限定。
可选的,上述目标窗口包括透明视图,上述将目标窗口移动到显示区域包括:
将上述目标窗口以及上述透明视图同时移动到上述显示区域。
具体地,上述透明视图的宽度与上述显示区域的宽度相同。
实施本实施例,在移动目标窗口时,同时移动透明视图,一方面不仅可以通过先移动目标窗口来减少移动设备的滑动时延,另一方面通过透明视图,可以避免对用户查看桌面造成影响,提高用户体验。
可选的,上述将目标窗口移动到显示区域之前,上述方法还包括:
将上述目标视图移出上述目标窗口。
实施本实施例,可以使得移动设备在移动目标窗口时,仅仅移动目标窗口,而不直接将目标窗口中所包含的视图移动至显示区域,可以有效减少滑动时延。
可选的,本申请实施例还提供了一种触发移动设备移动目标视图的方法,如下所示:
上述将目标视图移动至上述显示区域包括:
确认上述第一输入操作是否满足切换界面的标准;
在满足上述切换界面的标准的情况下,将上述目标视图移动至上述显示区域。
其中,切换界面的标准可以为移动设备是否移动目标视图的标准。具体地,该切换界面的标准为用户的第一输入操作是否满足移动设备移动目标视图的标准。如移动设备可以确认滑动操作是否满足切换界面的标准,或者,确认双击操作是否满足切换界面的标准,或者,确认按键操作是否满足切换界面的标准等等。其中,移动设备可以存储切换界面的标准,即存储切换界面的第一输入操作的标准。可选的,在第一输入操作不满足切换界面的标准的情况下,移动设备可以不执行将目标视图移动至显示区域的步骤,或者该移动设备可以将目标窗口移出显示区域。实施本实施例,通过进一步确认第一输入操作是否满足切换界面的标准,可以进一步确认用户是否需要显示负一屏,从而提高移动设备的效率,避免由于用户误操作或移动设备误检测而显示负一屏的情况。
实施本申请实施例,在检测到用户的第一输入操作的情况下,通过先将目标窗口移动到显示区域,然后再将目标视图移动至该显示区域,可以避免由于目标窗口和目标视图同时移动而导致移动设备产生裂缝或抖动,减少由于目标窗口和目标视图同时移动而产生的时延,提高了移动设备在不同窗口之间滑动的流畅度。
上述具体说明了在用户需要显示负一屏时,移动设备如何将目标窗口以及目标视图移动至显示区域,以下具体说明在用户不需要显示负一屏时,该移动设备又是如何将目标窗 口以及目标视图移出显示区域的。
可选的,在接收到用户的第二输入操作的情况下,将上述目标视图移出上述显示区域后,将上述目标窗口移出上述显示区域。
其中,第二输入操作也可以包括:滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。但是,在第一输入操作为有方向性的操作时,该第二输入操作的方向可以与第一输入操作的方法相反。举例来说,第一输入操作为从左向右的滑动操作,则该第二输入操作为从右向左的滑动操作。又如第一输入操作为捏合操作,该捏合操作具体为从拇指开状态到拇指合状态,则该第二输入操作可以为从拇指合状态到拇指开状态。或者,在第一输入操作为没有方向性的操作时,该第二输入操作可以与第一输入操作相同。具体实现中,该第二输入操作具体为何种操作,本实施例不作唯一性限定。
本申请实施例中,在用户不需要显示负一屏时,通过先将目标视图移出显示区域,然后再将目标窗口移出显示区域,可以有效避免由于目标视图和目标窗口同时移动而导致移动设备出现裂缝或抖动;以及还能够避免由于先移出目标窗口后移出目标视图,而给用户造成视觉上的时延,能够了提高移动设备的操作效率。
以上描述了本申请实施例提供的显示方法,以下将结合人机交互界面详细介绍本申请实施所提供的显示方法。基于图2所提供的显示方法,本申请实施例提供了以下两种实现方式以及与该两种实现方式对应的各个场景,具体介绍可如下所示:
实现方式一、
其中,实现方式一所描述的显示方法是基于移动设备同时移动目标窗口和透明视图来实现。具体地,在该实现方式下,目标窗口的宽度可以为显示区域的宽度的两倍,或者,该目标窗口的宽度可以与显示区域的宽度相同。以下将分别介绍目标窗口在不同宽度下的显示方法。
参见图4A至图4C,图4A至图4C是本申请实施例提供的一种窗口与视图的移动关系示意图。如图4A所示,图4A示出了桌面窗口410、桌面视图411、负一屏窗口420以及视图421和视图422。
其中,图4A中显示区域中所显示的界面可以称为图2所描述的第一界面,在该显示区域中包含有桌面窗口410,以及桌面视图411。也就是说,视图421和视图422未在显示区域显示。通常情况下,移动设备在检测到用户需要显示负一屏的情况下(即移动设备检测到用户的第一输入操作的情况下),该移动设备会移动负一屏窗口,同时该负一屏窗口所包含的视图也会跟着移动。如现有的一般做法是在将负一屏窗口420移动至显示区域时,视图421跟着负一屏窗口420移动,然而采用同时移动负一屏窗口420和视图421的方式,一方面增加移动设备的处理器的显示负担,从而增加移动设备的移动时延,另一方面也可能会出现移动设备误检测而导致移动设备移动负一屏窗口和视图的情况,从而增加移动设备的工作量。
因此,为了解决技术问题,本申请实施例提供了一种处理方法,使得移动设备在移动负一屏窗口420时,不同时移动视图421,从而不仅可以减少移动设备的处理器同时处理负一屏窗口和视图的工作量,减少处理器的显示负担,还能够保证移动设备滑动的流畅度。 以下将具体介绍本申请实施例所描述的方法。
因此,本申请实施例中,不仅将视图421设置为透明视图,或者称视图421为透明视图421,还将负一屏窗口420的宽度设置为显示区域宽度的两倍,如图4A所示,显示区域的宽度为W宽度,负一屏窗口420的宽度为2W宽度,且透明视图421和视图422分别占用一个W宽度,这样在移动设备检测到用户需要显示负一屏的情况下,该移动设备可以同时将负一屏窗口420以及透明视图421移动至显示区域,如图4B所示。其中,视图422(即图2所描述的目标视图)的宽度与显示区域相同。可以理解的是,为了更好地区分,图4B所示的移动示意图为负一屏窗口420和透明视图421在移动过程中的示意图。本申请实施例中设置透明视图421,可以在负一屏窗口420移动到显示区域后,不影响用户的视觉效果。另一方面,在负一屏窗口420未移动时,该透明视图421还可以起到占位的作用,即该透明视图421可以占用一个W宽度。在检测到用户需要显示负一屏时,通过将透明视图421以及负一屏窗口420移动到显示区域,还可以有效防止若用户又不想显示负一屏时,不影响用户查看(或使用)桌面视图411。而移动设备在确认用户需要显示负一屏(即移动设备确认第一输入操作满足切换界面的标准)后,该移动设备便可以将视图422移动至显示区域,如图4C所示,从而可以在显示区域显示视图422,其中,该移动设备通过在显示区域显示视图422,所得到的界面即为本申请实施例所描述的第二界面。可以理解的是,在移动设备将负一屏窗口移动到显示区域后,该负一屏窗口与桌面窗口可能会有部分重叠在一起,如负一屏窗口和桌面窗口会像一张画上面盖着另一张画一样。该情况下,该负一屏窗口可以位于桌面窗口的上面(即相对于图3中的Z轴,可以理解的是,图3未示出),如负一屏窗口可以盖在桌面窗口的上面,从而在将视图422移动至显示区域后,该移动设备可以显示该视图422,得到第二界面。而若该负一屏窗口位于桌面窗口的下方,则可能会导致该移动设备无法显示负一屏视图,进而无法得到第二界面。另一方面,还可以方便用户操作,如方便用户在负一屏上滚动浏览新闻应用等等。
在具体实现中,负一屏视图可能不止只有一个,也可能为多个视图,因此参见图4D,图4D是在图4A至图4C的基础上进一步优化得到,如图所示,负一屏窗口420中所承载的视图(即负一屏视图)不仅包括视图422,还包括视图423时,在图4C的基础上,若移动设备检测到用户需要显示下一个负一屏界面(即该移动设备检测到第三输入操作),则该移动设备可以将视图423移动至显示区域,从而使得该移动设备通过该显示区域显示视图423,如图4E所示。也就是说,在负一屏窗口承载的视图至少为两个视图(除透明的视图外)的情况下,移动设备在将负一屏窗口移动至显示区域后,该移动设备可以每次通过移动负一屏视图,来显示该负一屏视图。通过移动轻量化的视图,而非窗口(如负一屏窗口),从而可以有效缩短由于窗口切换而导致的时延,避免在跨进程移动界面时,产生裂缝和抖动的问题。可以理解的是,图4A至图4E所示的负一屏窗口以及桌面窗口的面积仅为示例,在具体实现中该负一屏窗口以及该桌面窗口的长度可能所有不同,因此,图4A至图4E所示的负一屏窗口以及桌面窗口的长度不应理解为对本申请实施例具有限定意义。其中,第三输入操作可以与第一输入操作相同,也可以不同,因此本申请实施例对于该第三输入操作是否与第一输入操作相同不作限定。
以上具体描述了负一屏窗口以及负一屏视图是如何移动至显示区域的,以下将具体描 述负一屏窗口和负一屏视图是如何移出显示区域。即在移动设备接收到用户的第二输入操作的情况下,该移动设备可以在将目标视图移出显示区域后,将目标窗口移出显示区域。对应图4A至图4E所描述的实现方式,该目标视图可以为视图422和视图423,该目标窗口即负一屏窗口420。具体地,如图4F所示,图4F是基于图4C所示的示意图来说明,如图4F(a)所示,在该移动设备接收到第二输入操作的情况下,该移动设备可以先移动视图422,且在该移动设备将该视图422移出显示区域的过程中,透明视图421也会跟着移动;而在该视图422移出显示区域时,即在透明视图移动至显示区域时,该移动设备可以移动负一屏窗口420,从而将负一屏窗口420移出显示区域,如图4F(b)所示,其中,在移动设备将负一屏窗口420移出显示区域的过程中,透明视图421也会跟着移动,从而使得该透明视图421也移出显示区域。
以上具体描述了负一屏窗口的宽度为显示区域的宽度的两倍的情况,参见图5A至图5C,图5A至图5C是本申请实施例提供的另一种窗口与视图的移动示意图,图中负一屏窗口的宽度与显示区域的宽度相同。如图5A所示,图5A示出了桌面窗口510、桌面视图511、负一屏窗口520以及视图521和视图522。
同样地,本申请实施例中,视图521为透明视图,称视图521为透明视图521,如图5A所示,显示区域的宽度为W宽度,负一屏窗口520的宽度为W宽度,该负一屏窗口520中包括透明视图521。在移动设备检测到用户需要显示负一屏的情况下,该移动设备可以同时将负一屏窗口520以及透明视图521移动至显示区域,如图5B所示。可以理解的是,为了更好地区分,图5B所示的移动示意图为负一屏窗口520和透明视图521在移动过程中的示意图。而移动设备在确认用户需要显示负一屏后,该移动设备便可以将视图522移动至显示区域,如图5C所示,从而可以在显示区域显示视图522,其中,该移动设备通过在显示区域显示视图522,所得到的界面即为本申请实施例所描述的第二界面。可以理解的是,在移动设备将负一屏窗口移动到显示区域后,该负一屏窗口位于桌面窗口的上方,从而在将视图522移动至显示区域后,该移动设备可以显示该视图522,得到第二界面。而若该负一屏窗口位于桌面窗口的下方,则可能会导致该移动设备无法显示负一屏视图,进而无法得到第二界面。可以理解的是,在负一屏窗口的宽度与显示区域的宽度相同的情况下,在移动设备接收到用户的第二输入操作的情况下,视图522、透明视图521以及负一屏窗口520的移出关系参见图4F,即先移动视图522,同时在移动视图522时,透明视图521同时跟着移动,而在视图522移出显示区域时,该移动设备可以移动负一屏窗口520,同时移动透明视图521,进而将负一屏窗口520和透明视图521移出显示区域。
其中,负一屏视图不仅可以为一个视图,还可以为多个视图,具体的实现方式,请参考图4D和图4E所描述的实现方式,这里不再一一详述。
可以理解的是,图5A至图5C中未详尽描述的实现方式,还可以参考图4A至图4E,这里不再一一赘述。
以下将结合人机交互界面来说明本申请实施例所提供的实现方式一,可以理解的是,在以下所描述的具体场景中,负一屏窗口的宽度可以为显示区域的宽度的两倍,还可以与显示区域的宽度相同,这里不再一一说明。
参见图6A至图6D,图6A至图6D是本申请实施例提供的一种移动设备的显示方法的具体场景示意图。具体地,该图6A至图6D是本申请实施例基于实现方式一的具体场景示意图。
如图6A(a)所示,移动设备在显示区域中显示的界面称为第一界面,当前负一屏窗口和负一屏视图以及桌面窗口和桌面视图的关系可如图4A或如图5A所示。用户通过手指滑动显示屏,如图6A(a)所示,移动设备在检测到用户输入的滑动操作(也即检测到用户的第一输入操作)后,负一屏窗口和负一屏视图以及桌面窗口和桌面视图的关系可如图4B或如图5B所示。也就是说,移动设备在检测到用户输入的滑动操作后,将负一屏窗口移动至显示区域,同时移动透明视图(如图4A中的透明视图421)。如图6A(b)所示,在移动设备确认第一输入操作满足切换界面的标准的情况下,该移动设备便可以将负一屏视图移动至显示区域,从而在显示区域显示该负一屏视图,如图6A(c)所示,其中,图6A(c)中所示的界面可以称为第二界面,该情况下,负一屏窗口和负一屏视图以及桌面窗口和桌面视图的位置关系可如图4C或如图5C所示。其中,移动设备确认第一输入操作是否满足切换界面的标准具体可以为:以图6A所示的滑动操作为例来说明,如移动设备中可以存储若第一输入操作为滑动操作,则该滑动操作所划过的长度至少为2厘米;若用户输入的滑动操作所划过的长度为1.5厘米,则可以确认该滑动操作不满足切换界面的标准,则该移动设备将不执行将负一屏视图移动至显示区域的操作;而若用户输入的滑动操作所划过的长度为2厘米,则可以确认该滑动操作满足切换界面的标准,则该移动设备可以将负一屏视图移动至显示区域。
图6A中负一屏视图不仅可以为一个,还可以为多个。在移动设备检测到用户的第三输入操作的情况下,该移动设备可以移动下一个负一屏视图,将下一个负一屏视图移动至显示区域,从而显示该下一个负一屏视图,如图6A(d)所示。在该情况下,移动设备可以不用再移动负一屏窗口,负一屏窗口和负一屏视图以及桌面窗口和桌面视图的位置关系可如图4E所示。可以理解的是,移动设备所检测到的第三输入操作可以与第一输入操作的操作相同,也可以与第一输入操作的操作不同,如图6A(b)中第一输入操作为从左向右滑动,图6A(c)中若用户需要显示下一个负一屏视图,该第三输入操作也可以为从左向右滑动,同样地,该第三输入操作也可以为从下向上滑动。
其中,基于图6A所示的场景示意图,若用户不需要显示负一屏视图,即若用户需要从第二界面(负一屏)切换至第一界面(桌面),则在移动设备接收到用户的第二输入操作的情况下,该移动设备可以先将目标视图移出显示区域,对应图6A即先移动负一屏视图,在将负一屏视图移出显示区域,同时透明视图在显示区域时,再移动负一屏窗口以及透明视图,从而将负一屏窗口和透明视图移出显示区域。负一屏窗口、负一屏视图、桌面窗口以及桌面视图的移动关系可如图4F所示。
其中,图6A是显示区域中显示的界面为桌面的主界面的情况下示出的示意图,在实际生活中,显示区域中显示的界面可能不是桌面的主界面,而且桌面的其他界面,如图6B(a)所示,在移动设备的显示区域中显示的第一界面不为桌面主界面,而为桌面的其他界面的情况。本申请实施例中,假若将图6A(a)中显示区域显示的界面称为桌面第一界面, 则图6B(a)中显示区域显示的界面则可以称为桌面第二界面,则图6B所示的场景中显示区域显示的第一界面可以称为本申请实施例中的桌面第二界面。
可以理解的是,在图6B所示的场景下,若仍通过图6A中所示的滑动操作作为用户的第一输入操作,由于该滑动操作与显示桌面第一界面(即图6A(a)中显示区域显示的界面)的操作冲突,因此移动设备可能会出现误操作的情况。因此,在图6B所所示的场景下,移动设备检测的用户的第一输入操作:双指滑动操作、长按操作、捏合操作、点击操作、按键操作或指纹操作中的任意一种。可以理解的是,以上仅为示例,在移动设备能够明确区分各个操作所对应的响应操作的情况下,其他操作也可以设置为本申请实施例所描述的第一输入操作。
其中,图6B中以长按操作为例来说明本申请实施例所应用的场景。如图6B(a)中,移动设备显示区域中当前显示的界面为桌面第二界面。图6B(a)中负一屏窗口和负一屏视图以及桌面窗口和桌面视图的位置关系可如图4A所示。用户长按显示屏(如长按2s),移动设备在检测到用户输入的长按操作(即检测到用户的第一输入操作)后,负一屏窗口和负一屏视图以及桌面窗口和桌面视图的位置关系可如图4B所示。也就是说,移动设备在检测到用户输入长按操作后,该移动设备将负一屏窗口移动至显示区域,同时移动透明的视图。而在确认第一输入操作是否满足切换界面的标准的情况下,如移动设备中所保存的标准为至少长按2s;若用户长按1.5s,则可以确认该第一输入操作不满足切换界面的标准;而若用户长按2.5s,则该移动设备在接收到用户输入的长按2.5s的操作时,可以确认该长按操作满足切换界面的标准。因此在移动设备确认第一输入操作满足切换界面的标准的情况下,该移动设备可以将负一屏视图移动至显示区域,从而显示该负一屏视图,如图6B(b)所示,该情况下,负一屏窗口和负一屏视图以及桌面窗口和桌面视图的位置关系可如图4C所示。在负一屏视图至少为两个的情况,可参考图6A中所示的场景示意图,这里不再一一详述。同样地,在移动设备检测到用户的第二输入操作的情况下,该移动设备也可以先移动负一屏视图,同时透明视图也会跟着移动;在将负一屏视图移出显示区域时,该透明视图会在显示区域;这时,该移动设备可以移动负一屏窗口,同时移出透明视图;直到将负一屏窗口移出显示区域。具体地,移动关系示意图还可以参考图4F所示的移动示意图,这里不再一一详述。
图6A和图6B所示的场景为显示区域中当前显示的第一界面为桌面视图,以及移动设备已被解锁的情况下示出的实施例。如图6C所示,图6C所示的场景为移动设备未被解锁的情况下示出的实施例。也就是说,在显示区域所显示的第一界面为解锁界面的情况下示出的实施例。
如图6C(a)所示,显示区域中显示的第一界面为解锁界面,如将能够显示出解锁图像的容器称为解锁窗口,则图6C(a)中,显示区域中显示的界面为解锁视图,也就是说,该情况下,负一屏窗口和负一屏视图未显示。在移动设备检测到用户输入的滑动操作后,负一屏窗口和负一屏视图以及解锁窗口和解锁视图的位置关系可如图4B所示。也就是说,移动设备在检测到用户输入的滑动操作后,将负一屏窗口移动至显示区域,同时移动透明视图至显示区域。而在确定滑动操作满足切换界面的标准时,如图6C(b)所示,移动设 备将移动负一屏视图,将该负一屏视图移动至显示区域,从而显示第二界面,如图6C(c)所示。
在具体实现中,显示区域中所显示的界面不一定均为以上所描述的界面,因此,本申请实施例中第一界面也可以为APP的界面(称为APP界面)。如该APP界面具体可以为微信界面、浏览器界面、支付宝界面、qq界面以及视频界面等等。本申请实施例中,对于该APP界面具体为哪个界面不作限定。因此,在第一界面为APP界面时,本申请实施例所描述的显示方法的具体场景示意图可如图6D所示,图6D所示的场景为用户使用APP时,显示区域中显示视频界面的视图的情况下示出的实施例。本申请实施例中,如将能够显示出APP图像的容器称为APP窗口,则图6D(a)中,显示区域中显示的视图可为APP视图,该情况下,负一屏窗口和负一屏视图未显示,该负一屏窗口、负一屏视图、APP窗口以及APP视图的位置关系可如图4A所示。在移动设备检测到用户的第一输入操作(如按键操作或指纹操作)后,负一屏窗口、负一屏窗视图、APP窗口和APP视图的位置关系可如图4B所示。也就是说,移动设备在检测到用户输入的按键操作或指纹操作后,将负一屏窗口移动至显示区域,同时将透明视图移动至显示区域。而在确定用户需要显示负一屏时,即该移动设备确认按键操作或指纹操作满足切换界面的标准的情况下,该移动设备将负一屏视图移动至显示区域,从而在显示区域显示第二界面,如图6D(b)所示。该情况下,负一屏窗口、负一屏窗视图、APP窗口和APP视图的位置关系可如图4C所示。其中,按键操作或指纹操作是否满足切换界面的标准,如第一输入操作为按键操作,则移动设备中所存储的按键操作的标准可以为至少长按2s,同时该移动设备中还可以存储用户所按的键必须为哪个键等等。如第一输入操作为指纹操作,则该移动设备中可以存储指纹操作时的指纹特征,即将该指纹特征作为切换界面的标准等等。本申请实施例不作唯一性限定。
可以理解的是,图6C和图6D所示的场景示意图中,负一屏窗口以及负一屏视图如何移出显示区域以及在负一屏视图至少为两个的情况下的具体实现方式,还可以参考前叙实施例所描述的具体实现方式,这里不再一一详述。
可以理解的是,图6A至图6D中示出的负一屏窗口以及负一屏视图均是从显示区域的左边开始移动,从而移动至显示区域中,在具体实现中,该负一屏窗口和负一屏视图还可以从显示区域的上面移动至显示区域中,又或者从显示区域的下面移动至显示区域中等等。相应的,依据负一屏窗口和负一屏视图所在的位置,即依据该负一屏窗口和该负一屏视图未显示时的位置,还可以对应设置用户的第一输入操作,如在负一屏窗口和负一屏视图从显示区域上面开始移动,从而移动至显示区域中的情况下,用户可以通过从上向下的滑动操作来使得移动设备显示负一屏。又如在负一屏窗口和负一屏视图从显示区域下面开始移动,从而移动至显示区域中的情况下,用户可以通过从下向上的滑动操作来使得移动设备显示负一屏。可以理解的是,在第一输入操作为没有方向性的操作的情况下,如在第一输入操作为双击操作或指纹操作或按键操作的情况下,不论负一屏窗口和负一屏视图在显示区域的哪个方向,该第一输入操作还可以为双击操作或指纹操作或按键操作等等。
实现方式二、
参见图7A至图7D,图7A至图7D是本申请实施例提供的另一种窗口与视图的移动关 系示意图。
图7A示出了桌面窗口710和桌面视图711,以及负一屏窗口720和负一屏视图721的位置关系。如图7A中,显示区域当前显示的界面为第一界面,该情况下,负一屏窗口720和负一屏视图721未在显示区域。移动设备在检测到用户的第一输入操作的情况下,该移动设备可以先将负一屏视图721移出显示区域,如图7B所示。进而移动负一屏窗口720,将负一屏窗口720移动至显示区域,如图7C所示。而在确认第一输入操作满足切换界面的标准的情况下,移动设备便可以将负一屏视图721移动至显示区域,从而显示该负一屏视图,即显示第二界面,如图7D所示。其中,负一屏窗口的宽度与显示区域的宽度相同;以及负一屏视图的宽度与显示区域的宽度相同。
实施本实施例,在移动设备检测到用户的第一输入操作的情况下,即该移动设备检测到用户需要显示负一屏时,该移动设备先将承载于负一屏窗口中的负一屏视图移出负一屏窗口,从而仅仅将负一屏窗口移动至显示区域;而在移动设备确认该第一输入操作满足切换界面的标准时,可以将负一屏视图移动至显示区域,显示第二界面;一方面能够进一步确认用户是否需要显示负一屏,另一方面先移动负一屏窗口再移动负一屏视图,还可以有效减少由于同时移动而对中度或重度移动设备而造成的裂缝或抖动。
可以理解的是,在负一屏视图至少为两个的情况下,可以参考前叙实施例所描述的实现方式,这里不再一一详述。
而在移动设备接收到用户的第二输入操作的情况下,该移动设备可以先将负一屏视图721移出显示区域,从而能够使得移动设备及时响应用户的操作;该移动设备再将负一屏视图移出显示区域后,该移动设备可以将负一屏窗口移出显示区域,从而降低负一屏窗口对用户操作的影响。
作为示例,以图6A为例来说明本申请实施例所描述的实现方式二,在图6A(a)中,负一屏窗口和负一屏视图的关系可如图7A所示。在移动设备检测到用户输入的滑动操作的情况下,负一屏窗口、负一屏视图、桌面窗口和桌面视图的关系可如图7B和图7C所示。级移动设备检测到用户输入的滑动操作的情况下,该移动设备先将负一屏视图移出负一屏窗口,如图7B所示。进而移动负一屏窗口(如图7C所示),将负一屏窗口移动至显示区域。而在确认用户输入的滑动操作(如图6A(b)所示)满足切换界面的标准时,该移动设备将负一屏视图移动至显示区域,显示第二界面,即显示负一屏,如图6A(c)。
可以理解的是,以上所描述的各个实施例的实现方式各有侧重,未详尽描述的实现方式,还可以参考其他实施例。
上述详细阐述了本申请实施例的方法,下面提供了本申请实施例的装置。
请参见图8,图8是本申请实施例提供的一种移动设备的结构示意图,该移动设备可用于执行本申请实施例提供的移动设备的显示方法,如图8所示,该移动设备至少包括:
显示单元801,用于显示第一界面;
检测单元802,用于检测用户的第一输入操作;
第一移动单元803,用于将目标窗口移动到显示区域;
第二移动单元804,用于在将上述目标窗口移动到上述显示区域后,将目标视图移动 至上述显示区域;
上述显示单元801,还用于显示第二界面。
具体地,上述目标窗口的宽度为上述显示区域的宽度的两倍。
具体地,上述目标视图的宽度与上述显示区域的宽度相同。
可选的,上述目标窗口包括透明视图,上述第一移动单元803,具体用于将上述目标窗口以及上述透明视图同时移动到上述显示区域。
具体地,上述透明视图的宽度与上述显示区域的宽度相同。
可选的,上述第二移动单元804,具体用于确认上述第一输入操作是否满足切换界面的标准;在满足上述切换界面的标准的情况下,将上述目标视图移动至上述显示区域。
可选的,如图9所示,上述移动设备还包括:
接收单元805,用于接收用户的第二输入操作;
第一移动单元806,用于将上述目标视图移出上述显示区域;
第二移出单元807,用于将上述目标窗口移出上述显示区域。
上述第一输入操作包括:
滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
可选的,如图9所示,上述移动设备还包括:
第三移出单元808,用于将上述目标视图移出上述目标窗口。
需要说明的是,各个单元的实现还可以对应参照前叙实施例所示的方法实施例的相应描述。
在图8和图9所描述的移动设备中,在移动设备检测到用户的第一输入操作的情况下,通过先将目标窗口移动到显示区域,然后再将目标视图移动至该显示区域,可以避免由于目标窗口和目标视图同时移动而导致移动设备产生裂缝或抖动,减少由于目标窗口和目标视图同时移动而产生的时延,提高了移动设备在不同窗口之间滑动的流畅度。
请参见图10,图10是本申请实施例提供的另一种移动设备的结构示意图,该移动设备包括处理器1001、存储器1002、收发器1003和显示屏1004,处理器1001、存储器1002、收发器1003和显示屏1004通过总线1005相互连接。
存储器1002包括但不限于是随机存储记忆体(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmable read only memory,EPROM)、或便携式只读存储器(compact disc read-only memory,CD-ROM),该存储器1002用于相关指令及数据。本申请实施例中,存储器中还可存储切换界面的标准等等。收发器1003用于接收和发送数据。
处理器1001可以是一个或多个中央处理器(central processing unit,CPU),在处理器1001是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。
该移动设备中的处理器1001用于读取上述存储器1002中存储的程序代码,执行以下操作:
通过上述显示屏显示第一界面;在检测到用户的第一输入操作的情况下,将上述目标窗口移动到显示区域;将上述目标窗口移动到上述显示区域后,将目标视图移动至上述显 示区域,通过上述显示屏显示第二界面。
具体地,上述目标窗口的宽度为上述显示区域的宽度的两倍。
具体地,上述目标视图的宽度与上述显示区域的宽度相同。
可选的,该移动设备中的处理器1001还用于读取上述存储器1002中存储的程序代码,执行如下操作:
上述目标窗口包括透明视图,将上述目标窗口以及上述透明视图同时移动到上述显示区域。
具体地,上述透明视图的宽度与上述显示区域的宽度相同。
可选的,该移动设备中的处理器1001还用于读取上述存储器1002中存储的程序代码,执行如下操作:
确认上述第一输入操作是否满足切换界面的标准;以及在满足上述切换界面的标准的情况下,将上述目标视图移动至上述显示区域。
可选的,该移动设备中的处理器1001还用于读取上述存储器1002中存储的程序代码,执行如下操作:
在接收到用户的第二输入操作的情况下,将上述目标视图移出上述显示区域后,将上述目标窗口移出上述显示区域。
具体地,上述第一输入操作包括:
滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
可选的,该移动设备中的处理器1001还用于读取上述存储器1002中存储的程序代码,执行如下操作:
将上述目标视图移出上述目标窗口。
需要说明的是,各个操作的实现还可以对应参照前叙实施例所示的方法实施例的相应描述。
在图10所描述的移动设备中,显示屏1004还可用于执行图8所示的显示单元所执行的操作;处理器1001还可用于执行图8所示的检测单元802、第一移动单元803以及第二移动单元804所执行的操作,以及处理器1001还可用于执行图9所示的第一移出单元806、第二移出单元807以及第三移出单元808所执行的操作。可以理解的是,在具体实现中,该移动设备还可以包括输入输出接口,通过该输入输出接口可接收用户输入的第一输入操作和第二输入操作等等。
本申请实施例还提供一种计算机可读存储介质,上述计算机可读存储介质中存储有计算机程序,该计算机程序包括程序指令,该程序指令当被移动设备的处理器执行时,使处理器执行图2所示的方法流程。
具体地,上述程序指令可被处理器执行,实现:
显示第一界面;
在检测到用户的第一输入操作的情况下,将目标窗口移动到显示区域;
将上述目标窗口移动到上述显示区域后,将目标视图移动至上述显示区域,显示第二界面。
上述计算机可读存储介质可以是移动设备的内部存储单元,例如硬盘或内存。或者上 述计算机可读存储介质也可以是上述移动设备的外部存储设备,例如移动设备上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等等。
本申请实施例还提供一种计算机程序产品,当上述计算机程序产品在移动设备上运行时,使图2所示的方法流程得以实现。
下面介绍本申请实施例涉及的移动设备的一种具体实现方式。该移动设备配置有较大屏幕(例如5寸及以上的屏幕)的触摸屏。例如,上述触摸屏可以配置有自电容式的触控面板,也可以配置有红外线式的触控面板。在一些可能的实施例中,
本申请实施例中,上述触摸屏可用于接收用户的触摸触控操作如第一输入操作、第二输入操作和第三输入操作。这里,上述触摸触控操作是指用户手指(或手部)直接接触屏幕的操作。
上述触摸屏还可用于显示系统当前输出的界面内容。上述界面内容可包括正在运行的应用程序的界面以及系统级别菜单等,具体可由下述界面元素组成:输入型界面元素,例如按键(Button),文本输入框(Text),滑动条(Scroll Bar),菜单(Menu)等等;以及输出型界面元素,例如标签(Label)等等。
图11是移动设备的一种实现方式的结构框图。如图11所示,移动设备110可包括:基带芯片110、存储器115(一个或多个计算机可读存储介质)、射频(RF)模块116、外围系统117。这些部件可在一个或多个通信总线114上通信。
外围系统117主要用于实现移动设备110和用户/外部环境之间的交互功能,主要包括输入输出装置。具体实现中,外围系统117可包括:触摸屏控制器118、摄像头控制器119、音频控制器120以及传感器管理模块121。其中,各个控制器可与各自对应的外围设备(如触摸屏123、摄像头124、音频电路125以及传感器126)耦合。在一些实施例中,触摸屏123可以配置有自电容式的触控面板的触摸屏,也可以是配置有红外线式的触控面板的触摸屏。在一些实施例中,摄像头124可以是3D摄像头。需要说明的,外围系统117还可以包括其他I/O外设。本申请实施例中,还可以通过触摸屏123显示第一界面或第二界面等,以及还可以通过触摸屏123接收用户的第一输入操作或第二输入操作等。
基带芯片110可集成包括:一个或多个处理器111、时钟模块112以及电源管理模块113。集成于基带芯片110中的时钟模块112主要用于为处理器111产生数据传输和时序控制所需要的时钟。集成于基带芯片110中的电源管理模块113主要用于为处理器111、射频模块116以及外围系统提供稳定的、高精确度的电压。
射频(RF)模块116用于接收和发送射频信号,主要集成了接收器和发射器。射频(RF)模块116通过射频信号与通信网络和其他通信设备通信。具体实现中,射频(RF)模块116可包括但不限于:天线系统、RF收发器、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC芯片、SIM卡和存储介质等。在一些实施例中,可在单独的芯片上实现射频(RF)模块116。
存储器115与处理器111耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器115可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多 个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器115可以存储操作系统(下述简称系统),例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作系统。存储器115还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个移动设备,一个或多个网络设备进行通信。存储器115还可以存储用户接口程序,该用户接口程序可以通过图形化的操作界面将应用程序的内容形象逼真的显示出来,并通过菜单、对话框以及按键等输入控件接收用户对应用程序的控制操作。本申请实施例中,存储器115中还可以存储切换界面的标准等等。
存储器115还可以存储一个或多个应用程序。如图11所示,这些应用程序可包括:社交应用程序(例如Facebook),图像管理应用程序(例如相册),地图类应用程序(例如谷歌地图),浏览器(例如Safari,Google Chrome)等等。
应当理解,移动设备110仅为本申请实施例提供的一个例子,并且,移动设备110可具有比示出的部件更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。
在具体实现中,图11所示的移动设备还可以用于执行本申请实施例所提供的移动设备的显示方法,如该移动设备可以用于执行如图2所示的方法,以及其他实施例的实现方式,这里不再一一详述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。

Claims (29)

  1. 一种移动设备的显示方法,其特征在于,包括:
    显示第一界面;
    在检测到用户的第一输入操作的情况下,将目标窗口移动到显示区域;
    将所述目标窗口移动到所述显示区域后,将目标视图移动至所述显示区域,显示第二界面。
  2. 根据权利要求1所述的方法,其特征在于,所述目标窗口的宽度为所述显示区域的宽度的两倍。
  3. 根据权利要求1或2所述的方法,其特征在于,所述目标视图的宽度与所述显示区域的宽度相同。
  4. 根据权利要求1至3任意一项所述的方法,其特征在于,所述目标窗口包括透明视图,所述将目标窗口移动到显示区域包括:
    将所述目标窗口以及所述透明视图同时移动到所述显示区域。
  5. 根据权利要求4所述的方法,其特征在于,所述透明视图的宽度与所述显示区域的宽度相同。
  6. 根据权利要求1至5任意一项所述的方法,其特征在于,所述将目标视图移动至所述显示区域包括:
    确认所述第一输入操作是否满足切换界面的标准;
    在满足所述切换界面的标准的情况下,将所述目标视图移动至所述显示区域。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在接收到用户的第二输入操作的情况下,将所述目标视图移出所述显示区域后,将所述目标窗口移出所述显示区域。
  8. 根据权利要求1至7任意一项所述的方法,其特征在于,所述第一输入操作包括:
    滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
  9. 根据权利要求1所述的方法,其特征在于,所述将目标窗口移动到显示区域之前,所述方法还包括:
    将所述目标视图移出所述目标窗口。
  10. 一种移动设备,其特征在于,包括:
    显示单元,用于显示第一界面;
    检测单元,用于检测用户的第一输入操作;
    第一移动单元,用于将目标窗口移动到显示区域;
    第二移动单元,用于在将所述目标窗口移动到所述显示区域后,将目标视图移动至所述显示区域;
    所述显示单元,还用于显示第二界面。
  11. 根据权利要求10所述的移动设备,其特征在于,所述目标窗口的宽度为所述显示区域的宽度的两倍。
  12. 根据权利要求10或11所述的移动设备,其特征在于,所述目标视图的宽度与所 述显示区域的宽度相同。
  13. 根据权利要求10至12任意一项所述的移动设备,其特征在于,所述目标窗口包括透明视图,所述第一移动单元,具体用于将所述目标窗口以及所述透明视图同时移动到所述显示区域。
  14. 根据权利要求13所述的移动设备,其特征在于,所述透明视图的宽度与所述显示区域的宽度相同。
  15. 根据权利要求10至14任意一项所述的移动设备,其特征在于,
    所述第二移动单元,具体用于确认所述第一输入操作是否满足切换界面的标准;在满足所述切换界面的标准的情况下,将所述目标视图移动至所述显示区域。
  16. 根据权利要求10所述的移动设备,其特征在于,所述移动设备还包括:
    接收单元,用于接收用户的第二输入操作;
    第一移动单元,用于将所述目标视图移出所述显示区域;
    第二移出单元,用于将所述目标窗口移出所述显示区域。
  17. 根据权利要求10至16任意一项所述的移动设备,其特征在于,所述第一输入操作包括:
    滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
  18. 根据权利要求10所述的移动设备,其特征在于,所述移动设备还包括:
    第三移出单元,用于将所述目标视图移出所述目标窗口。
  19. 一种移动设备,其特征在于,包括至少一个处理器、存储器、显示屏和收发器,所述存储器、所述显示屏、所述收发器和所述至少一个处理器通过线路互联,所述存储器中存储有程序指令;所述程序指令被所述处理器执行时,使所述处理器执行以下操作:
    通过所述显示屏显示第一界面;在检测到用户的第一输入操作的情况下,将所述目标窗口移动到显示区域;将所述目标窗口移动到所述显示区域后,将目标视图移动至所述显示区域,通过所述显示屏显示第二界面。
  20. 根据权利要求19所述的移动设备,其特征在于,所述目标窗口的宽度为所述显示区域的宽度的两倍。
  21. 根据权利要求19或20所述的移动设备,其特征在于,所述目标视图的宽度与所述显示区域的宽度相同。
  22. 根据权利要求19至21任意一项所述的移动设备,其特征在于,所述目标窗口包括透明视图,所述处理器,具体用于将所述目标窗口以及所述透明视图同时移动到所述显示区域。
  23. 根据权利要求22所述的移动设备,其特征在于,所述透明视图的宽度与所述显示区域的宽度相同。
  24. 根据权利要求19至23任意一项所述的移动设备,其特征在于,
    所述处理器,还用于确认所述第一输入操作是否满足切换界面的标准;以及在满足所述切换界面的标准的情况下,将所述目标视图移动至所述显示区域。
  25. 根据权利要求19所述的移动设备,其特征在于,
    所述处理器,还用于在接收到用户的第二输入操作的情况下,将所述目标视图移出所 述显示区域后,将所述目标窗口移出所述显示区域。
  26. 根据权利要求19至25任意一项所述的移动设备,其特征在于,所述第一输入操作包括:
    滑动操作、双击操作、长按操作、捏合操作、按键操作或指纹操作中的任意一项。
  27. 根据权利要求19所述的移动设备,其特征在于,
    所述处理器,还用于将所述目标视图移出所述目标窗口。
  28. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被移动设备的处理器执行时,使所述处理器执行权利要求1至9任意一项所述的方法。
  29. 一种计算机程序产品,其特征在于,当所述计算机程序产品在移动设备上运行时,权利要求1至9任一项所述的方法得以实现。
PCT/CN2017/120097 2017-10-12 2017-12-29 移动设备的显示方法和移动设备 WO2019071854A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780077854.1A CN110088719B (zh) 2017-10-12 2017-12-29 移动设备的显示方法和移动设备

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710949311.6 2017-10-12
CN201710949311 2017-10-12

Publications (1)

Publication Number Publication Date
WO2019071854A1 true WO2019071854A1 (zh) 2019-04-18

Family

ID=66100360

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/120097 WO2019071854A1 (zh) 2017-10-12 2017-12-29 移动设备的显示方法和移动设备

Country Status (2)

Country Link
CN (1) CN110088719B (zh)
WO (1) WO2019071854A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913643A (zh) * 2020-07-15 2020-11-10 青岛海信移动通信技术股份有限公司 一种终端和界面处理方法
CN112181567A (zh) * 2020-09-27 2021-01-05 维沃移动通信有限公司 界面显示方法、装置及电子设备
CN115421634A (zh) * 2021-05-14 2022-12-02 华为技术有限公司 一种界面显示方法、系统及电子设备
CN117170904A (zh) * 2021-05-24 2023-12-05 中兴通讯股份有限公司 跨进程信息处理方法、控制器、终端和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760026A (zh) * 2011-04-27 2012-10-31 阿里巴巴集团控股有限公司 一种触摸屏界面显示方法、显示装置及一种触摸屏设备
US20150177970A1 (en) * 2013-12-24 2015-06-25 Lg Electronics Inc. Mobile terminal and control method thereof
CN105094520A (zh) * 2015-05-18 2015-11-25 努比亚技术有限公司 一种显示方法及终端
CN105426045A (zh) * 2015-11-13 2016-03-23 魅族科技(中国)有限公司 展示通知窗口的方法和装置
CN107193445A (zh) * 2017-06-30 2017-09-22 上海传英信息技术有限公司 移动终端界面切换显示方法及显示装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI357012B (en) * 2007-05-15 2012-01-21 Htc Corp Method for operating user interface and recording
US8600446B2 (en) * 2008-09-26 2013-12-03 Htc Corporation Mobile device interface with dual windows
CN106250042A (zh) * 2016-07-29 2016-12-21 北京顺源开华科技有限公司 用户界面的退出方法、装置及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760026A (zh) * 2011-04-27 2012-10-31 阿里巴巴集团控股有限公司 一种触摸屏界面显示方法、显示装置及一种触摸屏设备
US20150177970A1 (en) * 2013-12-24 2015-06-25 Lg Electronics Inc. Mobile terminal and control method thereof
CN105094520A (zh) * 2015-05-18 2015-11-25 努比亚技术有限公司 一种显示方法及终端
CN105426045A (zh) * 2015-11-13 2016-03-23 魅族科技(中国)有限公司 展示通知窗口的方法和装置
CN107193445A (zh) * 2017-06-30 2017-09-22 上海传英信息技术有限公司 移动终端界面切换显示方法及显示装置

Also Published As

Publication number Publication date
CN110088719A (zh) 2019-08-02
CN110088719B (zh) 2021-06-01

Similar Documents

Publication Publication Date Title
US11861161B2 (en) Display method and apparatus
US10551987B2 (en) Multiple screen mode in mobile terminal
CN105389040B (zh) 包括触敏显示器的电子装置及操作该电子装置的方法
WO2019128732A1 (zh) 一种图标管理的方法及装置
KR102027612B1 (ko) 애플리케이션의 썸네일-이미지 선택 기법
US20170205894A1 (en) Method and device for switching tasks
TWI522894B (zh) 用於電子元件中的方法、電腦程式產品以及非暫時性電腦可讀記錄媒體
US20160210027A1 (en) Closing Applications
US20120289290A1 (en) Transferring objects between application windows displayed on mobile terminal
EP3660646A1 (en) Method for displaying multi-task management interface, device, terminal and storage medium
KR102107469B1 (ko) 사용자 단말 장치 및 이의 디스플레이 방법
WO2019071854A1 (zh) 移动设备的显示方法和移动设备
US20140298245A1 (en) Display Instance Management
WO2021203815A1 (zh) 页面操作方法、装置、终端及存储介质
WO2019137155A1 (zh) 屏幕显示模式的切换方法、装置、存储介质及电子装置
EP3859522A1 (en) Method and system for controlling display orientation, and mobile terminal
US11301124B2 (en) User interface modification using preview panel
US10319338B2 (en) Electronic device and method of extracting color in electronic device
EP2955616A1 (en) Electronic device and method of editing icon in electronic device
KR20150039552A (ko) 전자 장치의 디스플레이 조작 방법 및 그 전자 장치
CN108509138B (zh) 一种任务栏按钮显示的方法及其终端
KR20160096645A (ko) 컴퓨팅 디바이스에 대한 장치의 결합
TWI594180B (zh) 在圖形使用者介面上利用動作輸入分割/合併檔案的方法與電腦系統
US10621017B2 (en) Method and device for sharing a disk image between operating systems
WO2019051648A1 (zh) 一种触摸操作的响应方法及终端

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17928229

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17928229

Country of ref document: EP

Kind code of ref document: A1