WO2022213831A1 - Control display method and related device - Google Patents

Control display method and related device Download PDF

Info

Publication number
WO2022213831A1
WO2022213831A1 PCT/CN2022/083215 CN2022083215W WO2022213831A1 WO 2022213831 A1 WO2022213831 A1 WO 2022213831A1 CN 2022083215 W CN2022083215 W CN 2022083215W WO 2022213831 A1 WO2022213831 A1 WO 2022213831A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
electronic device
target
control
controls
Prior art date
Application number
PCT/CN2022/083215
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Publication of WO2022213831A1 publication Critical patent/WO2022213831A1/en

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a control display method and related equipment.
  • a drag-and-drop operation is often involved to move objects such as a window or a file displayed in the device interface to a certain position. This position may correspond to a short-distance or long-distance movement within the current interface, or may be a movement across devices or across screens.
  • the electronic device in order to realize cross-device or cross-screen movement, the electronic device often triggers the display of corresponding functional controls based on the user's drag operation on the window. At this time, the user needs to drag the window continuously until a certain functional control is selected. However, as mentioned above, during the dragging process, the user often needs to keep clicking the selected window and not release it until it moves to the desired function control and then release it. Therefore, in the case of dragging with a long path, Especially in the environment where the touchpad is used for operation, the user's operation burden will be greatly increased, and the operation efficiency and operation experience thereof will also be greatly reduced. In addition, the frequency of dragging and dropping a window or file in the current interface is often greater than the movement across devices or screens. Therefore, if the corresponding function control is triggered to be displayed every time a window is dragged, it will cause visual disturbance to the actual operation of the user. interference and reduce the user experience.
  • Embodiments of the present application provide a control display method and related devices, so as to improve the user's operation experience.
  • an embodiment of the present application provides a control display method, which is applied to a first electronic device, and may include:
  • the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface; receiving and responding to the The first drag operation of the first target point on the target object, determining the first area where the first position is located, and determining that the first target point is located at the second position of the first interface; if detecting When the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, display the target control at the third position of the first interface; receive and respond In the second drag operation for the first target point, it is determined that the first target point is located at the fourth position of the first interface, and a target frame is displayed at the third position; the fourth position in the second area where the third position is located; the target frame includes N controls, where N is an integer greater than or equal to 1; receiving and responding to a click operation on one of the N controls, The second interface is displayed.
  • the electronic device can determine the user's operation intention by detecting the time and movement range of the drag operation performed by the user. If the user quickly drags the window or file (that is, the target object) away from the original position in a short period of time, it can be considered that the user only wants to move the window or file in this interface, and the display may not be triggered for sharing or Controls (ie, target controls, or portals) for cross-screen display (or switching screen displays). Conversely, if the user does not drag the window or file away from a certain range (ie, the first area) where the original location is located for a period of time, it can be considered that the user wants to share the window or file across devices or display it across screens.
  • a certain range ie, the first area
  • the first electronic device includes a first display screen and M second display screens, and the first interface and the second interface are interfaces displayed on the first display screen ;
  • the N controls include M switch screen display controls corresponding to the M second display screens one-to-one, and M is an integer greater than or equal to 1; the receiving and responding to the N controls
  • the click operation of one of the controls of the , to display the second interface specifically includes: receiving and responding to the click operation for the ith switching screen display control in the M switching screen display controls, displaying a second interface: the first switching screen display control.
  • the second interface does not include the target object;
  • the third interface displayed on the i-th second display screen corresponding to the i-th switch screen display control includes the target object; i is greater than or equal to 1, and An integer less than or equal to M.
  • the N controls include a full-screen display control; the receiving and responding to a click operation on one of the N controls, displaying the second interface, specifically includes: receiving and in response to a click operation on the full-screen display control, a second interface is displayed; the second interface includes the target object, and the size of the target object in the second interface is larger than that in the first interface. Describe the size of the target object.
  • the N widgets include K shared widgets corresponding to the K second electronic devices one-to-one; the receiving and responding to a request for one of the N widgets Click operation to display the second interface, which specifically includes: receiving and responding to the click operation on the jth sharing control among the K sharing controls, sending the target object to the jth sharing control corresponding to the jth sharing control.
  • the jth second electronic device displays a second interface; wherein, the second interface is the same as the first interface; j is an integer greater than or equal to 1 and less than or equal to K.
  • the method further includes:
  • Receive and respond to the third drag operation for the x th sharing control in the K sharing controls form a snapshot corresponding to the x th sharing control, and detect that the x th sharing control corresponds to the third drag operation.
  • a multi-device sharing control corresponding to the xth second electronic device and the yth second electronic device is generated; wherein, the N controls also include all The multi-device sharing control; x and y are integers greater than or equal to 1 and less than or equal to K.
  • the receiving and responding to a click operation on one of the N controls, and displaying the second interface specifically includes: receiving and responding to a click operation on the multi-device sharing control. Click operation to send the target object to the x-th second electronic device and the y-th second electronic device corresponding to the multi-device sharing control, respectively, and display a second interface; wherein, the The second interface is the same as the first interface.
  • the receiving and responding to a second drag operation for the first target point determine that the first target point is located at a fourth position on the first interface, and Displaying a target frame at the third position specifically includes: receiving and responding to a second drag operation for the first target point, gradually reducing the size of the target object, and gradually increasing the size of the target control; determining that the first target point is located at the fourth position of the first interface, and displaying a target frame at the third position; wherein, when it is detected that the first target point is located at the fourth position where the third position is located In the second area, change the color of the target control to the target color; the target color is used to prompt the user that the first target point is located in the second area where the third position is located, so as to complete the second dragging drag operation.
  • the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
  • the target object is any one of a window, a file, a business card and a link.
  • an embodiment of the present application provides an electronic device, the electronic device is a first electronic device, and includes a first display screen, a memory, and one or more processors; the first display screen, the memory coupled to the one or more processors, the memory for storing computer program code comprising computer instructions that the one or more processors invoke to cause the electronic device to execute : displaying a first interface; wherein, the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface; receiving and responding to the the first drag operation of the first target point on the target object, determine the first area where the first position is located, and determine that the first target point is located at the second position of the first interface; if It is detected that the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, displaying a target control at the third position of the first interface; receiving and In response to a second drag operation for the first target point, it is determined that the first target point
  • the electronic device further includes M second display screens; the first display screen, the M second display screens, the memory and the one or more processors coupling; the first interface and the second interface are interfaces displayed on the first display screen; the N controls include M switch screen displays corresponding to the M second display screens one-to-one A control, where M is an integer greater than or equal to 1; the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute:
  • the second interface does not include the target object; the i-th switch
  • the third interface displayed on the i-th second display screen corresponding to the screen display control includes the target object; i is an integer greater than or equal to 1 and less than or equal to M.
  • the N controls include a full-screen display control; the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute: receive and respond to the The click operation of the full-screen display control displays a second interface; the second interface includes the target object, and the size of the target object in the second interface is larger than the size of the target object in the first interface .
  • the N controls include K shared controls corresponding to the K second electronic devices one-to-one; the one or more processors are further configured to invoke the computer instructions to make The electronic device performs: receiving and responding to a click operation for the jth sharing control among the K sharing controls, sending the target object to the jth second corresponding to the jth sharing control; The electronic device displays a second interface; wherein, the second interface is the same as the first interface; j is an integer greater than or equal to 1 and less than or equal to K.
  • the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute: receive and respond to the xth sharing among the K sharing controls
  • the third drag-and-drop operation of the control forms a snapshot corresponding to the xth sharing control, and when it is detected that the snapshot corresponding to the xth sharing control is located in the third area where the yth sharing control is located, a snapshot corresponding to the xth sharing control is generated.
  • the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: receiving and responding to a click operation on the multi-device sharing control, converting all The target object is respectively sent to the xth second electronic device and the yth second electronic device corresponding to the multi-device sharing control, and a second interface is displayed; wherein, the second interface and the The first interface is the same as described above.
  • the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: receiving and responding to a second drag operation for the first target point , gradually reduce the size of the target object, and gradually increase the size of the target control; determine that the first target point is located at the fourth position of the first interface, and display a target frame at the third position ; wherein, when it is detected that the first target point is located in the second area where the third position is located, the color of the target control is changed to a target color; the target color is used to prompt the user that the first target The point is located in the second area where the third position is located to complete the second drag operation.
  • the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
  • the target object is any one of a window, a file, a business card and a link.
  • an embodiment of the present application provides a control display device, which is applied to a first electronic device and may include:
  • a first display unit configured to display a first interface; wherein the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface;
  • a first determining unit configured to receive and respond to a first drag operation for the first target point on the target object, determine a first area where the first position is located, and determine the first target the point is located at the second position of the first interface
  • the second display unit is configured to, if it is detected that the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, display the display at the third position of the first interface. Display the target control on the position;
  • a third display unit configured to receive and respond to a second drag operation for the first target point, determine that the first target point is located at a fourth position on the first interface, and is at the third position A target frame is displayed on the top; the fourth position is in the second area where the third position is located; the target frame includes N controls, and N is an integer greater than or equal to 1;
  • the fourth display unit is configured to receive and respond to a click operation on one of the N controls to display a second interface.
  • the first electronic device includes a first display screen and M second display screens, and the first interface and the second interface are interfaces displayed on the first display screen
  • the N controls include M switch screen display controls corresponding to the M second display screens one-to-one, and M is an integer greater than or equal to 1; the fourth display unit is specifically used for:
  • the second interface does not include the target object; the i-th switch
  • the third interface displayed on the i-th second display screen corresponding to the screen display control includes the target object; i is an integer greater than or equal to 1 and less than or equal to M.
  • the N controls include a full-screen display control; the fourth display unit is specifically used for:
  • the second interface includes the target object, and the size of the target object in the second interface is larger than that in the first interface The size of the target object.
  • the N controls include K share controls corresponding to the K second electronic devices one-to-one; the fourth display unit is specifically used for:
  • the device further includes:
  • the generating unit is used to receive and respond to the third drag operation for the xth sharing control in the K sharing controls, and form a snapshot corresponding to the xth sharing control, when detecting the xth sharing control
  • the control also includes the multi-device sharing control; x and y are integers greater than or equal to 1 and less than or equal to K.
  • the fourth display unit is specifically used for:
  • Receive and respond to the click operation for the multi-device sharing control respectively sending the target object to the xth second electronic device and the yth second electronic device corresponding to the multi-device sharing control device, and display a second interface; wherein, the second interface is the same as the first interface.
  • the third display unit is specifically used for:
  • the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
  • the target object is any one of a window, a file, a business card and a link.
  • an embodiment of the present application provides a computer storage medium for storing computer software instructions used for the control display device provided in the third aspect, including a program designed to execute the above aspect.
  • an embodiment of the present application provides a computer program, the computer program includes instructions, when the computer program is executed by a computer, the computer can execute the process performed by the control display device in the third aspect.
  • FIG. 1 is a schematic diagram of a cross-screen switching display.
  • Figures 2a-2d are a set of schematic diagrams of user interfaces.
  • FIG. 3 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
  • FIG. 4 is a software structural block diagram of an electronic device 100 provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a control display method provided by an embodiment of the present application.
  • 6a-6c are schematic diagrams of a group of user interfaces provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a change process of a transmission gate provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another transmission gate change process provided by an embodiment of the present application.
  • Fig. 9a is a schematic diagram of a transmission gate and a button backplane provided by an embodiment of the present application.
  • FIG. 9b is a schematic diagram of a button backplane provided by an embodiment of the present application.
  • 10a-10h are schematic diagrams of a group of user interfaces provided by embodiments of the present application.
  • FIG. 11 is a schematic diagram of a transmission gate provided by an embodiment of the present application.
  • FIG. 12 is a schematic diagram of another transmission gate provided by an embodiment of the present application.
  • 13a-13e are schematic diagrams of a group of user interfaces provided by an embodiment of the present application.
  • 14a-14c are schematic diagrams of a group of user interfaces provided by the embodiments of the present application.
  • 15a-15e are schematic diagrams of a group of user interfaces provided by embodiments of the present application.
  • 16a-16d are schematic diagrams of a group of user interfaces provided by embodiments of the present application.
  • 17a-17d are schematic diagrams of a group of user interfaces provided by the embodiments of the present application.
  • FIG. 18 is a schematic structural diagram of a control display device provided by an embodiment of the present application.
  • the electronic device may be a portable electronic device that also includes other functions, such as cross-screen display, cross-device sharing, and other functions, such as a mobile phone, a tablet computer, and a wearable electronic device (such as a smart watch) with wireless communication functions. Wait.
  • portable electronic devices include, but are not limited to, carry-on Or portable electronic devices with other operating systems.
  • the above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop or the like with a touch-sensitive surface or touch panel.
  • the above-mentioned electronic device may not be a portable electronic device, but a desktop computer, a vehicle-mounted computer, etc. having a touch-sensitive surface or a touch panel.
  • the embodiment of the present application takes a smart phone as an example for introduction, but it is not limited to a smart phone, and can also be other smart devices with communication functions, such as smart watches, smart bracelets, and virtual reality technology (virtual reality, VR). glasses, etc.
  • VR virtual reality
  • UI user interface
  • the term "user interface (UI)" in the description, claims and drawings of this application is a medium interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the internal form of information Conversion to and from user-acceptable forms.
  • the user interface of the application is the source code written in a specific computer language such as java and extensible markup language (XML).
  • the interface source code is parsed and rendered on the terminal device, and finally presented as content that the user can recognize.
  • Controls also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, and scroll bars. (scrollbar), pictures and text.
  • the attributes and content of controls in the interface are defined by tags or nodes.
  • XML specifies the controls contained in the interface through nodes such as ⁇ Textview>, ⁇ ImgView>, and ⁇ VideoView>.
  • a node corresponds to a control or property in the interface, and the node is rendered as user-visible content after parsing and rendering.
  • applications such as hybrid applications, often contain web pages in their interface.
  • a web page, also known as a page can be understood as a special control embedded in an application program interface.
  • a web page is source code written in a specific computer language, such as hypertext markup language (HTML), cascading styles Tables (cascading style sheets, CSS), java scripts (JavaScript, JS), etc.
  • the source code of the web page can be loaded and displayed as user-identifiable content by a browser or a web page display component similar in function to a browser.
  • the specific content contained in a web page is also defined by tags or nodes in the source code of the web page. For example, HTML defines the elements and attributes of web pages through ⁇ p>, ⁇ img>, ⁇ video>, and ⁇ canvas>.
  • GUI graphical user interface
  • GUI refers to a user interface related to computer operations that is displayed graphically. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. visual interface elements.
  • Drag and drop also known as drag and drop, refers to "using a touchpad, mouse or finger to click on an object and hold it in a laptop, desktop computer, tablet computer or smartphone. Release, and move the trackpad, mouse, or finger in the original plane, and then release” the entire operation process.
  • the drag operation is usually used to move objects such as windows or files to a certain position, which can be a short-distance or long-distance movement within the current interface, or a cross-device or cross-screen movement.
  • FIG. 1 is a schematic diagram of a cross-screen switching display. As shown in FIG.
  • the electronic device may include two display screens, a first display screen and a second display screen, for example, two display screens connected by a computer host, or a notebook computer or a tablet computer. Two display screens with a belt, etc., which are not specifically limited in this embodiment of the present application. Then, a corresponding drag operation can be performed for the window shown in FIG. 1, so that the window can be switched and displayed in the first display screen and the second display screen.
  • two display screens with a belt, etc. which are not specifically limited in this embodiment of the present application. Then, a corresponding drag operation can be performed for the window shown in FIG. 1, so that the window can be switched and displayed in the first display screen and the second display screen.
  • Fig. 2a-Fig. 2d are a set of schematic diagrams of user interfaces.
  • the electronic device taking a notebook computer as an example in Fig. 2a-Fig. 2d
  • the screen specifically, may include a first display screen 01 and a second display screen 02 .
  • the interface displayed on the first display screen 01 of the electronic device may include a window 03.
  • the electronic device When the user uses a mouse, a touchpad or a finger (the finger is taken as an example in the figure, the dots in the figure That is, the position touched by the finger, the electronic device may be an electronic device with a touch screen function), when the window 03 is dragged from the window bar of the window 03 (that is, as shown in FIG. When inputting operation 04a), the electronic device will display a control combination 05 (or called a button combination, that is, the above-mentioned app switcher) in the moving direction of the dragging operation. As shown in FIG.
  • the control combination 05 may include two controls 06a and 06b, wherein the control 06a may be a control for switching to the display of the second display screen 02, and the control 06b may be used for switching to the dual screen and performing Controls that are displayed continuously in full screen.
  • the electronic device receives the user's input operation 04b (for example, on the basis of Fig. 2b, the user does not release his finger and continues to drag the window until his finger touches the control 06a), and in response to the input operation 04b, the electronic device A secondary menu 07 related to the function of switching to the second display screen 02 is displayed below the control combination 05, and at this time, the control combination 05 and the secondary menu 07 may be in a floating state. As shown in FIG.
  • the secondary menu 07 may include a control 07a (which can be used to switch to the left half of the second display screen 02 for display), a control 07b (which can be used to switch to the right half of the second display screen 02) display), control 07c (can be used to switch to two-thirds of the second display 02 and the left screen for display) and control 07d (can be used to switch to two-thirds of the second display 02 and display on the right screen).
  • the electronic device receives an input operation 04c from the user (for example, on the basis of FIG. 2c, the user does not release his finger and continues to drag the window until his finger touches the control 07a).
  • the electronic device Switch the window 03 to the left half of the second display screen 02 for display.
  • the app switcher appears in the same direction as the window moves, which makes it easy for users to touch it by mistake.
  • the control combination 05 will inevitably pass by in its moving path.
  • the floating state of the control combination 05 will inevitably be triggered, and the secondary menu 07 will be displayed (as shown in the figure). 2c), resulting in a greater visual disturbance to the user.
  • Fig. 2b due to the large size of the control combination 05, it is easy to block the actual operation target of the user. For example, when the user drags the window with the goal of not using the app swither, due to the large size of the control combination 05, it is very likely to block the actual operation target of the user. For example, when the user wants to drag to the edge in windows ("window" operating system) to trigger the split screen function, during the process of the user dragging to the edge, the electronic device will trigger the display of the above-mentioned control combination 05. At this time, the user In order to avoid the control combination 05, the split-screen operation needs to be performed away from the original path direction, which greatly increases the user's operation burden and reduces the user's operation efficiency.
  • window window operating system
  • the actual technical problems to be solved by this application may include the following aspects: avoiding the excessive burden of user operations under long-path dragging (especially when using a touchpad to operate In the environment), the operation efficiency is too low; distinguish whether the user expects to move within the current interface, or move across devices or screens, in order to provide a more effective and fast solution.
  • the embodiments of the present application identify the user's dragging intention by detecting the duration and movement range of the user's drag operation, and display the portal of the desired target at an appropriate position and time (also That is, the corresponding controls), shorten the user's operation path, and optimize and enhance the user's experience in the dragging process in terms of vision and interaction.
  • FIG. 3 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application, wherein the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus) bus, USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphones Interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195 and the like.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation Satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and radiate it into electromagnetic
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou satellite navigation system (bei dou navigation satellite system, BDS), quasi-zenith satellite system ( quasi-zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou satellite navigation system bei dou navigation satellite system, BDS
  • quasi-zenith satellite system quasi-zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the display screen 194 is used to display exemplary user interfaces provided by subsequent embodiments of the present application.
  • the specific description of the user interface can be referred to later.
  • the display screen 194 can be used to display target objects such as windows and files, and also used to display related controls for cross-device and cross-screen display, etc., which will not be described in detail here.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • Electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • NPU is a Neural-network Processing Unit. By borrowing the structure of biological neural network, such as the transmission mode between neurons in the human brain, it can quickly process the input information, and can also continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 can also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • the electronic device 100 can also calculate two positions according to the detection signal of the pressure sensor 180A distance between them, and the duration of the move operation, etc.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the air pressure sensor 180C is used to measure air pressure.
  • the magnetic sensor 180D includes a Hall sensor.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • Distance sensor 180F for measuring distance.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • LEDs light emitting diodes
  • photodiodes such as photodiodes
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided via display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the touch screen can detect a user operation on a file, a window, or a link, etc., and the user operation can be a drag operation on the file.
  • the touch screen can detect a user operation on the control, and the user operation can be a click operation on the control, etc.
  • the above-mentioned user operation can also have other implementation forms, which are not limited in this embodiment of the present application. For the specific implementation of the above-mentioned user operation, reference may be made to the detailed description of the subsequent method embodiments, and details are not described here.
  • the processor 110 may trigger the display of target controls on the display screen 194 according to certain rules in response to user operations on files, windows, or links.
  • the processor 110 may trigger the display of target controls on the display screen 194 according to certain rules in response to user operations on files, windows, or links.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the electronic device 100 may be a smart wearable device, a smart phone, a tablet computer, a notebook computer, a desktop computer, etc. with the above functions, which are not specifically limited in this embodiment of the present application.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 .
  • FIG. 4 is a software structural block diagram of an electronic device 100 provided by an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide the communication function of the electronic device 100 .
  • the management of call status including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library Media Libraries
  • 3D graphics processing library eg: OpenGL ES
  • 2D graphics engine eg: SGL
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, G.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • the software system shown in Figure 4 involves application presentation (such as gallery, file manager) that uses sharing capabilities, an instant sharing module that provides sharing capabilities, and a print service and print spooler that provide printing capabilities. ), and the application framework layer provides printing framework, WLAN service, Bluetooth service, and the kernel and bottom layer provide WLAN Bluetooth capability and basic communication protocol.
  • FIG. 5 is a schematic flowchart of a control display method provided by an embodiment of the present application. The method can be applied to the electronic device 100 described in FIG. 3 and FIG. 4 , and the electronic device 100 can be used to support and execute steps S101 to S105 of the method flow shown in FIG. 5 .
  • a control display method provided by an embodiment of the present application may include:
  • Step S101 displaying a first interface; wherein, the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface.
  • the electronic device 100 displays a first interface
  • the first interface may include a target object.
  • the target object may be a window, a file (may include a document, a picture, a folder, etc.), Business cards and connections (such as web page links, etc.), etc., are not specifically limited in this embodiment of the present application.
  • the target object may include a plurality of target points, which may include a first target point, and the first target point may be located at a first position of the first interface.
  • FIG. 6a-FIG. 6c are schematic diagrams of a group of user interfaces provided by an embodiment of the present application.
  • the position of the finger/cursor (or mouse) in the target object may be the first position of the first target point in the target object.
  • Step S102 Receive and respond to a first drag operation for a first target point on the target object, determine a first area where the first position is located, and determine that the first target point is located at a second position on the first interface.
  • the electronic device 100 receives and responds to the first drag operation for the first target point on the target object, and determines the first position where the first position (for example, the original position of the finger/cursor in FIG. 6b) is located. a region (eg, the dotted circle in FIG. 6b ), and determine that the first target point is located at the second position of the first interface. As shown in Figure 6b, the user drags the window to move downward and to the right.
  • Step S103 if it is detected that the second position is within the first area and the duration of the first drag operation is longer than the first duration threshold, display the target control at the third position of the first interface.
  • the electronic device 100 may determine the user's operation intention according to the speed, duration, and scope of the user's drag operation. If the electronic device 100 detects that the second position corresponding to the first drag operation is within the first area, and the duration of the first drag operation is greater than the first duration threshold (for example, 1 second, 2 seconds, 3 seconds, etc.) , the target control is displayed on the third position of the first interface.
  • the first duration threshold for example, 1 second, 2 seconds, 3 seconds, etc.
  • the target control is displayed on the third position of the first interface.
  • the target control that is, the portal in Fig.
  • the target control can be displayed in different directions of the finger/cursor movement track, that is, the direction in which the first position points to the third position and the direction in which the first position points to the second position (for example, as shown in Figure 6b, the target control can be displayed on the opposite direction of the finger/cursor movement trajectory), so that the target can be displayed when the user does not want to share across devices or display across screens, but still triggers the display of the target.
  • the control After the control is installed, avoid the user from accidentally touching the target control in the positive direction of the movement track, and avoid occlusion and visual interference to the user's actual dragging path.
  • the shape of the first region may be an ellipse, a square, a triangle, etc., in addition to the circle shown in FIG. 6b and FIG. 6c , which is not specifically limited in this embodiment of the present application.
  • the embodiment of the present application reduces it to a circular target control, representing all functions that may be triggered in this dragging scene.
  • the user can also release the finger or mouse at the third position, and the electronic device Receive and in response to the user releasing the finger or the mouse, cancel the display of the target control.
  • the target control may continue to be displayed.
  • the target control can also be canceled by clicking on a blank space on the first interface, and so on, which is not specifically limited in this embodiment of the present application.
  • Step S104 Receive and respond to the second drag operation for the first target point, determine that the first target point is located at the fourth position of the first interface, and display the target frame at the third position; the fourth position is at the fourth position.
  • the target frame includes N controls.
  • the electronic device 100 receives and responds to the second drag operation for the first target point, determines that the first target point is located at the fourth position of the first interface, and displays the target frame at the third position; the fourth The position is in the second area where the third position is located; the target frame includes N controls. Wherein, N is an integer greater than or equal to 1.
  • FIG. 7 is a schematic diagram of a change process of a transmission gate provided by an embodiment of the present application.
  • the actual hot area of the target control that is, the portal in FIG. 7
  • the electronic device 100 can gradually enlarge the portal and gradually shrink the window, so that the user is on the visual feedback Generates the visual effect of dragging the target object into the portal, improving the user's operating experience, and ensuring that the user can easily operate even on objects that seem small.
  • the size of the portal can be Zoom in to the size of the actual hot area, and it needs to be larger than the size of the finger/cursor to ensure the user's recognition of the target control, improve the visual experience, and avoid user operation errors.
  • parameters such as the shape, transparency and size of the transmission gate can be customized by the user through the electronic device 100 .
  • FIG. 8 is a schematic diagram of another transmission gate change process provided by an embodiment of the present application. As shown in Figure 8, when the user continues to drag the window until the finger/cursor touches the portal, the portal can change color to indicate that the user can release the finger or mouse at this time to trigger subsequent functions, and so on.
  • FIG. 9a is a schematic diagram of a transmission gate and a button back panel provided by an embodiment of the present application.
  • the user can release the finger or the mouse (that is, release the dragged target object) to complete the second drag operation.
  • the electronic device 100 can cancel the display transmission door, and display the button backplate where the portal is.
  • the portal is transformed from a circle as shown in FIG. 9a into a button backplane (ie, a target frame).
  • a button backplane ie, a target frame
  • the button back panel may include a plurality of controls, for example, may include a control for switching to the left half of the second display screen for display, and a control for switching to the right half of the second display screen for display controls and full screen display controls, etc.
  • the user does not need to face the burden of dragging and dragging for a long time, and the corresponding function can be realized by clicking the control that is called up after releasing the hand.
  • the embodiment of the present application can accommodate more functional controls. Please refer to FIG. 9b.
  • FIG. 9b is a schematic diagram of a button backplane provided by an embodiment of the present application.
  • the number of portals can be two or more, and different portals can correspond to different button backplanes.
  • the user can customize two portals through the electronic device 100, and one portal can correspond to The button back panel containing multiple share buttons can share the dragged content to other devices, and another portal can correspond to the button back panel containing multiple switching screen display buttons, which can switch the dragged content to other displays. display, etc., which are not specifically limited in this embodiment of the present application.
  • Step S105 receiving and responding to a click operation on one of the N controls, displaying a second interface.
  • the electronic device 100 receives and displays the second interface in response to a click operation on one of the N controls.
  • the electronic device 100 may include a first display screen and M second display screens, where M is an integer greater than or equal to 1, and the N controls may include a one-to-one correspondence with the M second display screens.
  • M is an integer greater than or equal to 1
  • the N controls may include a one-to-one correspondence with the M second display screens.
  • the M switching screens display controls, and even, considering the different display schemes for each of the above-mentioned second display screens, more controls can be included, which greatly enriches the choices of users and meets different needs of users.
  • the electronic device 100 receives and responds to the user's click operation on the control, and can switch the target object to the second display screen for display, and so on.
  • first display screen and the second display screen in the figures of the embodiments of the present application are only examples, and the size of the second display screen may be smaller than the size of the first display screen as shown in the figure, or may be equal to or larger than that of the first display screen.
  • the first display screen, etc. are not specifically limited in this embodiment of the present application.
  • first and “second” in the first display screen and the second display screen described in the embodiments of the present application do not constitute limitations on the display screen specifications, primary and secondary or priority levels, but only for distinguishing the current target The display the object is on, and other displays.
  • FIGS. 10a-10h are a set of schematic diagrams of user interfaces provided by the embodiments of the present application.
  • the electronic device 100 may include two display screens, namely a first display screen and a second display screen.
  • the electronic device 100 displays a first interface through the first display screen, and the first interface includes a target object (window), and the window may be a common browser window or a chat window, etc., which is not specifically limited in this embodiment of the present application .
  • the electronic device 100 in response to the user releasing the mouse/touchpad, displays the target frame at the position where the target control was originally located, and cancels the display of the target control, or can display it at any suitable position in the interface
  • the target controller, etc. are not specifically limited in this embodiment of the present application.
  • the target frame may include multiple controls, which may implement various corresponding functions.
  • the electronic device 100 receives and responds to the user's click operation on the control used to switch to the display of the second display screen in the left half of FIG. 10g, and displays the second interface through the first display screen.
  • the second interface does not include the target object
  • the third interface is displayed through the second display screen, and the third interface includes the target object. That is, the target object (window) is switched from the first display screen to the left half of the second display screen for display.
  • FIG. 11 is a schematic diagram of a transmission gate provided by an embodiment of the present application.
  • the brightness of the interface background is used as the judgment standard, and the background color is selected when the portal (ie, the target control) appears, so as to adjust the color of the portal accordingly to ensure the recognizability of the portal and improve the user experience. operating experience.
  • FIG. 12 is a schematic diagram of another transmission gate provided by an embodiment of the present application.
  • a capsule-shaped prompt can be used, and the capsule can be marked with specific function prompts; when the cursor/finger moves to touch the portal (when the portal changes color), the cursor The corner mark prompts the user to release the mouse/trackpad/finger to open the corresponding multiple functional controls, etc., so as to ensure that the user can still recognize and know its function when seeing an abstract dot with no specific intention conveyed .
  • FIG. 13a-FIG. 13e are schematic diagrams of a set of user interfaces provided by the embodiments of the present application.
  • the electronic device 100 takes the electronic device 100 as a notebook computer as an example, the electronic device 100 displays a user interface 21, which may include multiple files (eg, file 11, file 12, file 13, and file 14).
  • the electronic device 100 receives the user's drag operation on the file 16, and in response to the drag operation, determines the first area 22 where the original position of the file 16 is located (the first area 22 may be a 13b), and form a snapshot of the file 16, which is dragged out with the user's drag operation.
  • parameters such as the transparency and size of the snapshot are not specifically limited in this embodiment of the present application, and may be system default values, or may be customized by the user through the electronic device 100 .
  • the electronic device 100 detects that the snapshot (or cursor) of the file 16 is still located in the first area 22 within a certain period of time, the target control 23 is displayed in a different direction from the drag operation. As shown in FIG.
  • the electronic device 100 receives the user's drag operation for the snapshot of the file 16, and in response to the drag operation, gradually enlarges the size of the target control 23, and gradually reduces the size of the snapshot of the file 16, when the electronic device detects
  • the control target control 23 changes color to remind the user that the mouse/touchpad can be released at this time to end the dragging operation , to trigger more functions.
  • the electronic device 100 can display the target frame 24 in the center of the interface (or other suitable positions), and cancel the display of the target control 23 (in the user's visual field).
  • the target control 23 is shaped as a target frame 24).
  • the target frame 24 may be a suspended window, a suspended backboard, or the like, which is not specifically limited in this embodiment of the present application.
  • the target frame 24 may include a plurality of sharing controls, specifically including a sharing control 25, a sharing control 26, a sharing control 27, a sharing control 28, a sharing control 29 and a sharing control 30, that is, the above-mentioned N controls
  • a plurality of sharing controls corresponding to a plurality of other devices (ie, the second electronic device) one-to-one may be included in the .
  • the electronic device 100 receives the user's click operation on the share control 28, and in response to the click operation, sends the file 16 to the other device "my phone", and then the electronic device 100 can display the same interface as the user interface 21, or, electronically
  • the device 100 cancels the display of the target frame 24 by receiving and responding to the user's click operation on the blank space of the interface, thereby displaying the same interface as the user interface 21 .
  • This file 16 may be received by other devices as shown in Figure 13e.
  • the electronic device 100 and other devices may establish connections with each other through wired or wireless networks (eg, Wireless-Fidelity (WiFi), Bluetooth, and mobile networks), which are not specifically limited in this embodiment of the present application.
  • wired or wireless networks eg, Wireless-Fidelity (WiFi), Bluetooth, and mobile networks
  • Figures 13a-13e demonstrate the process of synchronizing files from the computer side to the mobile phone side.
  • the sharing operation between all electronic devices can be designed in this way.
  • it can also include the sharing of multimedia such as photos/videos, and the sharing of content such as business cards/calendars/memos, and so on.
  • the target frame 24 may further include a shortcut control for sending the dragged content to a printer for printing, a shortcut control for moving the dragged content to a certain folder, and a shortcut control for sending the dragged content to a mail/information/various type.
  • a shortcut control sent by a third-party application (such as a communication application, a short video application, etc.), etc., is not specifically limited in this embodiment of the present application.
  • FIG. 14a-FIG. 14c are a set of schematic diagrams of user interfaces provided by the embodiments of the present application.
  • the electronic device 100 receives the user's drag operation on the share control 28, and in response to the drag operation, forms a snapshot 28' of the share control 28, and drags it out along with the user's drag operation.
  • the electronic device 100 responds to the user's drag operation on the snapshot 28', and in response to the drag operation, detects that the snapshot 28' is located above the sharing control 30, and the user releases the Open the mouse/trackpad, create and display the multi-device sharing control 31 corresponding to the sharing control 28 and the sharing control 30 (that is, the device group including "my mobile phone” and “mobile phone xxx"), that is, among the above N controls
  • a multi-device sharing control for synchronously sharing to multiple other devices ie, the second electronic device may also be included. As shown in FIG.
  • the electronic device 100 receives the user's click operation on the multi-device sharing control 31, and in response to the click operation, the file 16 can be respectively sent to other devices "my phone” and other devices "mobile phone xxx” .
  • the other device "my mobile phone” and the other device “mobile phone xxx” can receive the file 16, thereby greatly improving the efficiency of file sharing and bringing convenience to the user's operation.
  • the user can also drag and drop other sharing controls, for example, drag the sharing control 25 to the multi-device sharing control 31 and release it, thereby creating a control that can be shared with three devices at a time. (that is, the device group including "My Computer”, “My Mobile Phone” and “Mobile Phone xxx”) to further improve the sharing efficiency.
  • this function is mainly aimed at the sharing of commonly used devices of more than 2 people, such as quick sharing among colleagues in the same department/classmates/friends traveling together, bringing convenience to user operations.
  • the multi-device sharing control 31 (that is, the device group including "my mobile phone” and “mobile phone xxx”) can be saved in the background.
  • the electronic device 100 can always display the multi-device sharing control 31 in the target frame 24, or, when the electronic device 100 recognizes any device in the device group through Bluetooth or the like, it can display the multi-device sharing control 31 in the target frame 24.
  • the device sharing control 31, optionally, the unrecognized devices in the device group can be grayed out to prompt the user.
  • FIG. 15a-FIG. 15e are schematic diagrams of a group of user interfaces provided by the embodiments of the present application. As shown in FIG.
  • the electronic device 100 displays a user interface 32, the user interface 32 may include a search window, and the search window may include multiple pieces of search content, the multiple pieces of search content It may be obtained through the global search function of the electronic device 100 and searched according to keywords, for example, it may be a file, a business card, a browser connection, and the like.
  • the electronic device 100 receives the user's drag operation on the search content 1, and in response to the drag operation, forms a snapshot of the search content 1, and drags out the search content 1 along with the user's drag operation.
  • the electronic device 100 When the electronic device 100 detects that the snapshot (or cursor) of the search content 1 is still located in a certain area where the original position of the search content 1 is located within a certain period of time, the target control 23 is displayed in a direction different from the drag operation. . As shown in FIG. 15d, the electronic device 100 receives the user's drag operation for the snapshot of the search content 1, and in response to the drag operation, gradually enlarges the size of the target control 23, and gradually reduces the size of the snapshot of the search content 1.
  • the device When the device detects that the snapshot of the search content 1 is located on the target control 23 (or when the cursor is located on the target control 23), the device controls the target control 23 to change color to remind the user that the mouse/touchpad can be released at this time, and the end Drag and drop to trigger more functions.
  • the electronic device 100 when the electronic device 100 detects that the user has released the mouse/touchpad, the electronic device 100 can display the target frame 24 in the center of the interface (or other suitable positions), and cancel the display of the target control 23 .
  • the target frame 24 may include a plurality of sharing controls, which will not be repeated here.
  • the electronic device 100 receives the user's click operation on the sharing control 28, and in response to the click operation, sends the search content 1 to the other device "my mobile phone".
  • the search content 1 in the figure, the file "graduation album” is taken as an example.
  • FIG. 16a-FIG. 16d are schematic diagrams of a set of user interfaces provided by the embodiments of the present application.
  • the electronic device 100 taking the electronic device 100 as a tablet computer as an example, the electronic device 100 displays a user interface 33, and the user interface 33 may include application programs (such as weather, music, video, application store, mail and gallery, etc.) .
  • the electronic device 100 receives the user's click operation 34 for the application gallery, and in response to the click operation 34, displays the user 35, which may include a plurality of pictures.
  • FIG. 16a-FIG. 16d are schematic diagrams of a set of user interfaces provided by the embodiments of the present application.
  • the electronic device 100 displays a user interface 33, and the user interface 33 may include application programs (such as weather, music, video, application store, mail and gallery, etc.) .
  • the electronic device 100 receives the user's click operation 34 for the application gallery, and in response to the click operation 34, displays the user 35, which may include a pluralit
  • the electronic device 100 receives the user's drag operation 36 for the picture 8, and in response to the drag operation 36, when the electronic device 100 detects that the picture 8 (or finger) is still located in the picture 8 within a certain time range
  • the drag operation 36 starts within a certain area where the original position of the finger is located, the target control 23 is displayed in a different direction from the drag operation 36 . As shown in FIG.
  • the electronic device 100 receives the user's drag operation 37 for the picture 8, and in response to the drag operation 37, gradually enlarges the size of the target control 23, and gradually reduces the size of the picture 8, when the electronic device 100 detects that When the picture 8 is positioned on the target control 23 (or when the finger is positioned on the target control 23 ), the target control 23 is controlled to change color to prompt the user to release the finger and end the drag operation 37 .
  • the electronic device 100 can display the target frame 24 at the position where the target control 23 is located (or other suitable positions), and cancel the display of the target control 23 . As shown in FIG.
  • the target frame 24 may include a plurality of sharing controls, which will not be repeated here.
  • the electronic device 100 receives the user's click operation 38 on the sharing control 26 , and in response to the click operation 38 , sends the picture 8 to the other device "My Computer", and "My Computer” can receive the picture 8 .
  • FIG. 17a-FIG. 17d are schematic diagrams of a set of user interfaces provided by the embodiments of the present application.
  • the electronic device 100 takes the electronic device 100 as a smartphone as an example, the electronic device 100 displays a user interface 39, which may be a resource manager interface, which may include multiple files, documents, etc. (for example, file 1, file 2, etc., and Document 1, Document 2, and Document 3, etc.).
  • a user interface 39 which may be a resource manager interface, which may include multiple files, documents, etc. (for example, file 1, file 2, etc., and Document 1, Document 2, and Document 3, etc.).
  • the electronic device 100 receives the user's drag operation 40 for document 1, and in response to the drag operation 40, when the electronic device 100 detects that the document 1 (or finger) is still located in the document 1 (or finger) within a certain period of time
  • the drag operation 40 starts within a certain area where the original position of the finger is located, the target control 23 is displayed in a different direction from the drag operation 40 . As shown in FIG.
  • the electronic device 100 receives the user's drag operation 41 for document 1, and in response to the drag operation 41, gradually enlarges the size of the target control 23, and gradually reduces the size of the document 1, when the electronic device 100 detects that When the document 1 is positioned on the target control 23 (or when the finger is positioned on the target control 23 ), the target control 23 is controlled to change color to prompt the user to release the finger and end the drag operation 41 .
  • the electronic device 100 when the electronic device 100 detects that the user releases the finger, the electronic device 100 can display the target frame 24 in the center of the interface (or other suitable positions), and cancel the display of the target control 23 . As shown in FIG.
  • the target frame 24 may include a plurality of sharing controls, which will not be repeated here.
  • the electronic device 100 receives the user's click operation 42 on the sharing control 27 , and in response to the click operation 42 , sends the document 1 to the other device "My Tablet", and "My Tablet” can receive the picture 8 .
  • FIGS. 13 a to 13 e For some details of the application scenario 4, reference may be made to the descriptions of the corresponding embodiments in the above-mentioned FIGS. 13 a to 13 e , which will not be repeated here.
  • the embodiment of the present application proposes a control display method, which can identify the user's operation intention by detecting the duration and movement range of the user's drag operation, display the control in a timely manner, and reduce the visual interference to the user's operation.
  • the path for the user to perform the dragging operation is shortened, the operation burden of the user is reduced, and the operation efficiency of the user is improved.
  • the embodiments of the present application explore more visual expressions and interaction methods, and explore more draggable content and specific embodiment scenarios.
  • FIG. 18 is a schematic structural diagram of a control display device provided by an embodiment of the present application.
  • the control display device 20 may include a first display unit 201 , a first determination unit 202 , a second display unit 203 , and a third display unit 201 .
  • the display unit 204 and the fourth display unit 205 may further include a generating unit 206 .
  • the detailed description of each unit is as follows.
  • the first display unit 201 is configured to display a first interface; wherein, the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface ;
  • a first determining unit 202 configured to receive and respond to a first drag operation for the first target point on the target object, determine a first area where the first position is located, and determine the first the target point is located at the second position of the first interface;
  • the second display unit 203 is configured to, if it is detected that the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, display the second position on the first interface of the first interface.
  • Display target controls in three positions;
  • the third display unit 204 is configured to receive and respond to the second drag operation for the first target point, determine that the first target point is located at the fourth position of the first interface, and A target frame is displayed on the position; the fourth position is in the second area where the third position is located; the target frame includes N controls, and N is an integer greater than or equal to 1;
  • the fourth display unit 205 is configured to receive and display a second interface in response to a click operation on one of the N controls.
  • the first electronic device includes a first display screen and M second display screens, and the first interface and the second interface are interfaces displayed on the first display screen
  • the N controls include M switch screen display controls corresponding to the M second display screens one-to-one, where M is an integer greater than or equal to 1; the fourth display unit 205 is specifically used for:
  • the second interface does not include the target object; the i-th switch
  • the third interface displayed on the i-th second display screen corresponding to the screen display control includes the target object; i is an integer greater than or equal to 1 and less than or equal to M.
  • the N controls include a full-screen display control; the fourth display unit 205 is specifically used for:
  • the second interface includes the target object, and the size of the target object in the second interface is larger than that in the first interface The size of the target object.
  • the N controls include K share controls corresponding to the K second electronic devices one-to-one; the fourth display unit 205 is specifically used for:
  • the device further includes:
  • the generating unit 206 is configured to receive and respond to the third drag operation for the x th sharing control in the K sharing controls, and form a snapshot corresponding to the x th sharing control.
  • the snapshots corresponding to the x-th sharing controls are located in the third area where the y-th sharing control is located, multi-device sharing controls corresponding to the x-th second electronic device and the y-th second electronic device are generated; wherein the N Each control also includes the multi-device sharing control; x and y are integers greater than or equal to 1 and less than or equal to K.
  • the fourth display unit 205 is specifically used for:
  • Receive and respond to the click operation for the multi-device sharing control respectively sending the target object to the xth second electronic device and the yth second electronic device corresponding to the multi-device sharing control device, and display a second interface; wherein, the second interface is the same as the first interface.
  • the third display unit 204 is specifically used for:
  • the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
  • the target object is any one of a window, a file, a business card and a link.
  • the disclosed apparatus may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the above-mentioned units is only a logical function division.
  • multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
  • the units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc., specifically a processor in the computer device) to execute all or part of the steps of the above methods in various embodiments of the present application.
  • a computer device which may be a personal computer, a server, or a network device, etc., specifically a processor in the computer device
  • the aforementioned storage medium may include: U disk, mobile hard disk, magnetic disk, optical disk, Read-Only Memory (Read-Only Memory, abbreviation: ROM) or Random Access Memory (Random Access Memory, abbreviation: RAM), etc.
  • a medium that can store program code may include: U disk, mobile hard disk, magnetic disk, optical disk, Read-Only Memory (Read-Only Memory, abbreviation: ROM) or Random Access Memory (Random Access Memory, abbreviation: RAM), etc.

Landscapes

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

Abstract

Provided in the embodiments of the present application are a control display method and a related device. The method comprises: displaying a first interface, wherein the first interface comprises a target object, the target object comprises a first target point, and the first target point is located at a first position in the first interface; receiving a first dragging operation for the first target point, and in response to the first dragging operation, determining a first area where the first position is located, and determining that the first target point is located at a second position in the first interface; if it is detected that the second position is in the first area, and the duration of the first dragging operation is greater than a first duration threshold value, displaying a target control at a third position in the first interface; receiving a second dragging operation for the first target point, and in response to the second dragging operation, determining that the first target point is located at a fourth position in the first interface, and displaying a target box at the third position, wherein the target box comprises N controls; and receiving a click operation for one of the N controls, and in response to the click operation, displaying a second interface. By means of the implementation of the embodiments of the present application, the operation experience of a user can be improved.

Description

一种控件显示方法及相关设备A control display method and related equipment
本申请要求于2021年4月7日提交中国专利局、申请号为202110372085.6、申请名称为“一种控件显示方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110372085.6 and the application title "A control display method and related equipment" filed with the China Patent Office on April 7, 2021, the entire contents of which are incorporated by reference into this application middle.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种控件显示方法及相关设备。The present application relates to the field of communication technologies, and in particular, to a control display method and related equipment.
背景技术Background technique
随着人们生活水平的提高,手机、平板和电脑等电子设备在任何的日常生活中随处可见。在用户使用智能设备时,往往会涉及拖拽操作,以实现将设备界面中显示的窗口或者文件等物件移动至某一位置。该位置对应的可以是当前界面内的短距离或者长距离移动,也可以是跨设备或者跨屏幕的移动。With the improvement of people's living standards, electronic devices such as mobile phones, tablets and computers can be seen everywhere in any daily life. When a user uses a smart device, a drag-and-drop operation is often involved to move objects such as a window or a file displayed in the device interface to a certain position. This position may correspond to a short-distance or long-distance movement within the current interface, or may be a movement across devices or across screens.
其中,为了实现跨设备或者跨屏幕的移动,电子设备往往会基于用户针对窗口的拖拽操作,而触发显示相应的功能控件,此时需要用户持续拖拽窗口直至选中某一功能控件。然而,如上所述,在拖拽过程中,用户往往需要保持点击选中窗口并不放开,直至移动到想要的功能控件上再松开,因此,在需要进行长路径拖拽的情况下,尤其是在使用触控板进行操作的环境下,用户的操作负担会大大增加,其操作效率和操作体验也会大大降低。另外,拖拽窗口或者文件在当前界面内进行移动的频率往往大于跨设备或者跨屏幕的移动,因此,若每次拖拽窗口都会触发显示相应的功能控件,则会对用户的实际操作造成视觉干扰,降低用户的使用体验。Among them, in order to realize cross-device or cross-screen movement, the electronic device often triggers the display of corresponding functional controls based on the user's drag operation on the window. At this time, the user needs to drag the window continuously until a certain functional control is selected. However, as mentioned above, during the dragging process, the user often needs to keep clicking the selected window and not release it until it moves to the desired function control and then release it. Therefore, in the case of dragging with a long path, Especially in the environment where the touchpad is used for operation, the user's operation burden will be greatly increased, and the operation efficiency and operation experience thereof will also be greatly reduced. In addition, the frequency of dragging and dropping a window or file in the current interface is often greater than the movement across devices or screens. Therefore, if the corresponding function control is triggered to be displayed every time a window is dragged, it will cause visual disturbance to the actual operation of the user. interference and reduce the user experience.
因此,如何提升用户的操作体验,是亟待解决的问题。Therefore, how to improve the user's operating experience is an urgent problem to be solved.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种控件显示方法及相关设备,以提升用户的操作体验。Embodiments of the present application provide a control display method and related devices, so as to improve the user's operation experience.
第一方面,本申请实施例提供了一种控件显示方法,应用于第一电子设备,可包括:In a first aspect, an embodiment of the present application provides a control display method, which is applied to a first electronic device, and may include:
显示第一界面;其中,所述第一界面包括目标对象,所述目标对象包括第一目标点,所述第一目标点位于所述第一界面的第一位置;接收并响应于针对所述目标对象上的所述第一目标点的第一拖拽操作,确定所述第一位置所在的第一区域,以及确定所述第一目标点位于所述第一界面的第二位置;若检测到所述第二位置在所述第一区域内,且所述第一拖拽操作持续的时长大于第一时长阈值,则在所述第一界面的第三位置上显示目标控件;接收并响应于针对所述第一目标点的第二拖拽操作,确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;所述第四位置在所述第三位置所在的第二区域内;所述目标框包括N个控件,N为大于或者等于1的整数;接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面。displaying a first interface; wherein the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface; receiving and responding to the The first drag operation of the first target point on the target object, determining the first area where the first position is located, and determining that the first target point is located at the second position of the first interface; if detecting When the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, display the target control at the third position of the first interface; receive and respond In the second drag operation for the first target point, it is determined that the first target point is located at the fourth position of the first interface, and a target frame is displayed at the third position; the fourth position in the second area where the third position is located; the target frame includes N controls, where N is an integer greater than or equal to 1; receiving and responding to a click operation on one of the N controls, The second interface is displayed.
通过第一方面提供的方法,电子设备可以通过对用户执行拖拽操作的时间以及移动范围的检测,判断用户的操作意图。若用户在短时间内将窗口或者文件等(即目标对象)快速拖 拽远离原位置,则可认为用户仅仅只想在本界面内移动一下窗口或者文件,则可以不触发显示用于进行分享或者跨屏显示(或者说切换屏显示)的控件(即目标控件,或者称之为传送门)。反之,若用户在一段时间内未将窗口或者文件等拖拽离开原位置所在的某一范围内(即第一区域),则可认为用户想要将窗口或者文件进行跨设备分享或者跨屏显示,则可以触发显示上述目标控件。继而,在触发显示目标控件后,用户可以持续拖拽窗口或者文件直至触及该目标控件,而后,电子设备显示目标框,该目标框内可以包括具体用于分享给各个设备的多个控件以及用于换屏显示的多个控件等等,最终,用户可以根据需求点击目标框内相应的控件以实现相应的功能。由此,对比现有技术中,在用户针对窗口或者文件执行拖拽操作时,非常轻易地就触发显示了跨屏显示或者分享的控件,从而导致在用户没有上述操作意图,仅仅只想在本界面内移动一下窗口或者文件时,造成用户实际操作上的视觉干扰,降低用户操作体验的方案而言,本申请实施例可以大大提升用户的操作体验和操作效率。With the method provided in the first aspect, the electronic device can determine the user's operation intention by detecting the time and movement range of the drag operation performed by the user. If the user quickly drags the window or file (that is, the target object) away from the original position in a short period of time, it can be considered that the user only wants to move the window or file in this interface, and the display may not be triggered for sharing or Controls (ie, target controls, or portals) for cross-screen display (or switching screen displays). Conversely, if the user does not drag the window or file away from a certain range (ie, the first area) where the original location is located for a period of time, it can be considered that the user wants to share the window or file across devices or display it across screens. , you can trigger the display of the above target control. Then, after triggering the display of the target control, the user can continue to drag the window or file until the target control is touched, and then the electronic device displays a target frame, which may include a plurality of controls specifically used for sharing to each device and a user interface. In the end, the user can click the corresponding control in the target frame to realize the corresponding function according to the requirements. Therefore, compared with the prior art, when a user performs a drag operation on a window or a file, it is very easy to trigger the display of a control for cross-screen display or sharing, so that the user does not have the above-mentioned operation intention, but only wants to When a window or file is moved in the interface, it causes visual disturbance to the user's actual operation and reduces the user's operation experience, the embodiments of the present application can greatly improve the user's operation experience and operation efficiency.
在一种可能的实施方式中,所述第一电子设备包括第一显示屏和M个第二显示屏,所述第一界面和所述第二界面为所述第一显示屏上显示的界面;所述N个控件中包括与所述M个第二显示屏一一对应的M个切换屏显示控件,M为大于或者等于1的整数;所述接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面,具体包括:接收并响应于针对所述M个切换屏显示控件中的第i个切换屏显示控件的点击操作,显示第二界面:所述第二界面中不包括所述目标对象;所述第i个切换屏显示控件对应的第i个第二显示屏上所显示的第三界面中包括所述目标对象;i为大于或者等于1,且小于或者等于M的整数。In a possible implementation manner, the first electronic device includes a first display screen and M second display screens, and the first interface and the second interface are interfaces displayed on the first display screen ; The N controls include M switch screen display controls corresponding to the M second display screens one-to-one, and M is an integer greater than or equal to 1; the receiving and responding to the N controls The click operation of one of the controls of the , to display the second interface, specifically includes: receiving and responding to the click operation for the ith switching screen display control in the M switching screen display controls, displaying a second interface: the first switching screen display control. The second interface does not include the target object; the third interface displayed on the i-th second display screen corresponding to the i-th switch screen display control includes the target object; i is greater than or equal to 1, and An integer less than or equal to M.
在一种可能的实施方式中,所述N个控件中包括全屏显示控件;所述接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面,具体包括:接收并响应于针对所述全屏显示控件的点击操作,显示第二界面;所述第二界面中包括所述目标对象,所述第二界面中所述目标对象的尺寸大于所述第一界面中所述目标对象的尺寸。In a possible implementation manner, the N controls include a full-screen display control; the receiving and responding to a click operation on one of the N controls, displaying the second interface, specifically includes: receiving and in response to a click operation on the full-screen display control, a second interface is displayed; the second interface includes the target object, and the size of the target object in the second interface is larger than that in the first interface. Describe the size of the target object.
在一种可能的实施方式中,所述N个控件中包括与K个第二电子设备一一对应的K个分享控件;所述接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面,具体包括:接收并响应于针对所述K个分享控件中的第j个分享控件的点击操作,将所述目标对象发送至与所述第j个分享控件对应的第j个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同;j为大于或者等于1,且小于或者等于K的整数。In a possible implementation manner, the N widgets include K shared widgets corresponding to the K second electronic devices one-to-one; the receiving and responding to a request for one of the N widgets Click operation to display the second interface, which specifically includes: receiving and responding to the click operation on the jth sharing control among the K sharing controls, sending the target object to the jth sharing control corresponding to the jth sharing control. The jth second electronic device displays a second interface; wherein, the second interface is the same as the first interface; j is an integer greater than or equal to 1 and less than or equal to K.
在一种可能的实施方式中,所述方法还包括:In a possible implementation, the method further includes:
接收并响应于针对所述K个分享控件中的第x个分享控件的第三拖拽操作,形成与所述第x个分享控件对应的快照,在检测到所述第x个分享控件对应的快照位于第y个分享控件所在的第三区域内时,生成与第x个第二电子设备以及第y个第二电子设备对应的多设备分享控件;其中,所述N个控件中还包括所述多设备分享控件;x、y为大于或者等于1,且小于或者等于K的整数。Receive and respond to the third drag operation for the x th sharing control in the K sharing controls, form a snapshot corresponding to the x th sharing control, and detect that the x th sharing control corresponds to the third drag operation. When the snapshot is located in the third area where the yth sharing control is located, a multi-device sharing control corresponding to the xth second electronic device and the yth second electronic device is generated; wherein, the N controls also include all The multi-device sharing control; x and y are integers greater than or equal to 1 and less than or equal to K.
在一种可能的实施方式中,所述接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面,具体包括:接收并响应于针对所述多设备分享控件的点击操作,将所述目标对象分别发送至与所述多设备分享控件对应的所述第x个第二电子设备以及所述第y个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同。In a possible implementation manner, the receiving and responding to a click operation on one of the N controls, and displaying the second interface, specifically includes: receiving and responding to a click operation on the multi-device sharing control. Click operation to send the target object to the x-th second electronic device and the y-th second electronic device corresponding to the multi-device sharing control, respectively, and display a second interface; wherein, the The second interface is the same as the first interface.
在一种可能的实施方式中,所述接收并响应于针对所述第一目标点的第二拖拽操作,确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框,具体包括:接收并响应于针对所述第一目标点的第二拖拽操作,逐渐缩小所述目标对象的尺寸,以及逐渐增大所述目标控件的尺寸;确定所述第一目标点位于所述第一界面的第四位置,并在 所述第三位置上显示目标框;其中,当检测到所述第一目标点位于所述第三位置所在的第二区域内时,改变所述目标控件的颜色至目标颜色;所述目标颜色用于提示用户所述第一目标点位于所述第三位置所在的第二区域内,以完成所述第二拖拽操作。In a possible implementation manner, the receiving and responding to a second drag operation for the first target point, determine that the first target point is located at a fourth position on the first interface, and Displaying a target frame at the third position specifically includes: receiving and responding to a second drag operation for the first target point, gradually reducing the size of the target object, and gradually increasing the size of the target control; determining that the first target point is located at the fourth position of the first interface, and displaying a target frame at the third position; wherein, when it is detected that the first target point is located at the fourth position where the third position is located In the second area, change the color of the target control to the target color; the target color is used to prompt the user that the first target point is located in the second area where the third position is located, so as to complete the second dragging drag operation.
在一种可能的实施方式中,所述第一位置指向所述第三位置的方向与所述第一位置指向所述第二位置的方向不同。In a possible implementation manner, the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
在一种可能的实施方式中,所述目标对象为窗口、文件、名片和链接中的任意一种。In a possible implementation manner, the target object is any one of a window, a file, a business card and a link.
第二方面,本申请实施例提供了一种电子设备,所述电子设备为第一电子设备,包括第一显示屏、存储器、一个或多个处理器;所述第一显示屏、所述存储器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,所述一个或多个处理器调用所述计算机指令以使得所述电子设备执行:显示第一界面;其中,所述第一界面包括目标对象,所述目标对象包括第一目标点,所述第一目标点位于所述第一界面的第一位置;接收并响应于针对所述目标对象上的所述第一目标点的第一拖拽操作,确定所述第一位置所在的第一区域,以及确定所述第一目标点位于所述第一界面的第二位置;若检测到所述第二位置在所述第一区域内,且所述第一拖拽操作持续的时长大于第一时长阈值,则在所述第一界面的第三位置上显示目标控件;接收并响应于针对所述第一目标点的第二拖拽操作,确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;所述第四位置在所述第三位置所在的第二区域内;所述目标框包括N个控件,N为大于或者等于1的整数;接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面。In a second aspect, an embodiment of the present application provides an electronic device, the electronic device is a first electronic device, and includes a first display screen, a memory, and one or more processors; the first display screen, the memory coupled to the one or more processors, the memory for storing computer program code comprising computer instructions that the one or more processors invoke to cause the electronic device to execute : displaying a first interface; wherein, the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface; receiving and responding to the the first drag operation of the first target point on the target object, determine the first area where the first position is located, and determine that the first target point is located at the second position of the first interface; if It is detected that the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, displaying a target control at the third position of the first interface; receiving and In response to a second drag operation for the first target point, it is determined that the first target point is located at a fourth position on the first interface, and a target frame is displayed at the third position; the fourth position The position is in the second area where the third position is located; the target frame includes N controls, and N is an integer greater than or equal to 1; receiving and responding to a click operation on one of the N controls to display the second interface.
在一种可能的实施方式中,所述电子设备还包括M个第二显示屏;所述第一显示屏、所述M个第二显示屏、所述存储器与所述一个或多个处理器耦合;所述第一界面和所述第二界面为所述第一显示屏上显示的界面;所述N个控件中包括与所述M个第二显示屏一一对应的M个切换屏显示控件,M为大于或者等于1的整数;所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:In a possible implementation manner, the electronic device further includes M second display screens; the first display screen, the M second display screens, the memory and the one or more processors coupling; the first interface and the second interface are interfaces displayed on the first display screen; the N controls include M switch screen displays corresponding to the M second display screens one-to-one A control, where M is an integer greater than or equal to 1; the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute:
接收并响应于针对所述M个切换屏显示控件中的第i个切换屏显示控件的点击操作,显示第二界面:所述第二界面中不包括所述目标对象;所述第i个切换屏显示控件对应的第i个第二显示屏上所显示的第三界面中包括所述目标对象;i为大于或者等于1,且小于或者等于M的整数。Receiving and responding to a click operation on the i-th switch-screen display control among the M switch-screen display controls, displaying a second interface: the second interface does not include the target object; the i-th switch The third interface displayed on the i-th second display screen corresponding to the screen display control includes the target object; i is an integer greater than or equal to 1 and less than or equal to M.
在一种可能的实施方式中,所述N个控件中包括全屏显示控件;所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:接收并响应于针对所述全屏显示控件的点击操作,显示第二界面;所述第二界面中包括所述目标对象,所述第二界面中所述目标对象的尺寸大于所述第一界面中所述目标对象的尺寸。In a possible implementation manner, the N controls include a full-screen display control; the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute: receive and respond to the The click operation of the full-screen display control displays a second interface; the second interface includes the target object, and the size of the target object in the second interface is larger than the size of the target object in the first interface .
在一种可能的实施方式中,所述N个控件中包括与K个第二电子设备一一对应的K个分享控件;所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:接收并响应于针对所述K个分享控件中的第j个分享控件的点击操作,将所述目标对象发送至与所述第j个分享控件对应的第j个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同;j为大于或者等于1,且小于或者等于K的整数。In a possible implementation manner, the N controls include K shared controls corresponding to the K second electronic devices one-to-one; the one or more processors are further configured to invoke the computer instructions to make The electronic device performs: receiving and responding to a click operation for the jth sharing control among the K sharing controls, sending the target object to the jth second corresponding to the jth sharing control; The electronic device displays a second interface; wherein, the second interface is the same as the first interface; j is an integer greater than or equal to 1 and less than or equal to K.
在一种可能的实施方式中,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:接收并响应于针对所述K个分享控件中的第x个分享控件的第三拖拽操作,形成与所述第x个分享控件对应的快照,在检测到所述第x个分享控件对应的快照位于第y 个分享控件所在的第三区域内时,生成与第x个第二电子设备以及第y个第二电子设备对应的多设备分享控件;其中,所述N个控件中还包括所述多设备分享控件;x、y为大于或者等于1,且小于或者等于K的整数。In a possible implementation manner, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute: receive and respond to the xth sharing among the K sharing controls The third drag-and-drop operation of the control forms a snapshot corresponding to the xth sharing control, and when it is detected that the snapshot corresponding to the xth sharing control is located in the third area where the yth sharing control is located, a snapshot corresponding to the xth sharing control is generated. The multi-device sharing controls corresponding to the xth second electronic device and the yth second electronic device; wherein, the N controls also include the multi-device sharing controls; x and y are greater than or equal to 1, and less than or equal to 1 or an integer equal to K.
在一种可能的实施方式中,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:接收并响应于针对所述多设备分享控件的点击操作,将所述目标对象分别发送至与所述多设备分享控件对应的所述第x个第二电子设备以及所述第y个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同。In a possible implementation manner, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: receiving and responding to a click operation on the multi-device sharing control, converting all The target object is respectively sent to the xth second electronic device and the yth second electronic device corresponding to the multi-device sharing control, and a second interface is displayed; wherein, the second interface and the The first interface is the same as described above.
在一种可能的实施方式中,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:接收并响应于针对所述第一目标点的第二拖拽操作,逐渐缩小所述目标对象的尺寸,以及逐渐增大所述目标控件的尺寸;确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;其中,当检测到所述第一目标点位于所述第三位置所在的第二区域内时,改变所述目标控件的颜色至目标颜色;所述目标颜色用于提示用户所述第一目标点位于所述第三位置所在的第二区域内,以完成所述第二拖拽操作。In a possible implementation, the one or more processors are further configured to invoke the computer instructions to cause the electronic device to perform: receiving and responding to a second drag operation for the first target point , gradually reduce the size of the target object, and gradually increase the size of the target control; determine that the first target point is located at the fourth position of the first interface, and display a target frame at the third position ; wherein, when it is detected that the first target point is located in the second area where the third position is located, the color of the target control is changed to a target color; the target color is used to prompt the user that the first target The point is located in the second area where the third position is located to complete the second drag operation.
在一种可能的实施方式中,所述第一位置指向所述第三位置的方向与所述第一位置指向所述第二位置的方向不同。In a possible implementation manner, the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
在一种可能的实施方式中,其特征在于,所述目标对象为窗口、文件、名片和链接中的任意一种。In a possible implementation manner, the target object is any one of a window, a file, a business card and a link.
第三方面,本申请实施例提供了一种控件显示装置,应用于第一电子设备,可包括:In a third aspect, an embodiment of the present application provides a control display device, which is applied to a first electronic device and may include:
第一显示单元,用于显示第一界面;其中,所述第一界面包括目标对象,所述目标对象包括第一目标点,所述第一目标点位于所述第一界面的第一位置;a first display unit, configured to display a first interface; wherein the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface;
第一确定单元,用于接收并响应于针对所述目标对象上的所述第一目标点的第一拖拽操作,确定所述第一位置所在的第一区域,以及确定所述第一目标点位于所述第一界面的第二位置;a first determining unit, configured to receive and respond to a first drag operation for the first target point on the target object, determine a first area where the first position is located, and determine the first target the point is located at the second position of the first interface;
第二显示单元,用于若检测到所述第二位置在所述第一区域内,且所述第一拖拽操作持续的时长大于第一时长阈值,则在所述第一界面的第三位置上显示目标控件;The second display unit is configured to, if it is detected that the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, display the display at the third position of the first interface. Display the target control on the position;
第三显示单元,用于接收并响应于针对所述第一目标点的第二拖拽操作,确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;所述第四位置在所述第三位置所在的第二区域内;所述目标框包括N个控件,N为大于或者等于1的整数;a third display unit, configured to receive and respond to a second drag operation for the first target point, determine that the first target point is located at a fourth position on the first interface, and is at the third position A target frame is displayed on the top; the fourth position is in the second area where the third position is located; the target frame includes N controls, and N is an integer greater than or equal to 1;
第四显示单元,用于接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面。The fourth display unit is configured to receive and respond to a click operation on one of the N controls to display a second interface.
在一种可能的实施方式中,所述第一电子设备包括第一显示屏和M个第二显示屏,所述第一界面和所述第二界面为所述第一显示屏上显示的界面;所述N个控件中包括与所述M个第二显示屏一一对应的M个切换屏显示控件,M为大于或者等于1的整数;所述第四显示单元,具体用于:In a possible implementation manner, the first electronic device includes a first display screen and M second display screens, and the first interface and the second interface are interfaces displayed on the first display screen The N controls include M switch screen display controls corresponding to the M second display screens one-to-one, and M is an integer greater than or equal to 1; the fourth display unit is specifically used for:
接收并响应于针对所述M个切换屏显示控件中的第i个切换屏显示控件的点击操作,显示第二界面:所述第二界面中不包括所述目标对象;所述第i个切换屏显示控件对应的第i个第二显示屏上所显示的第三界面中包括所述目标对象;i为大于或者等于1,且小于或者等于M的整数。Receiving and responding to a click operation on the i-th switch-screen display control among the M switch-screen display controls, displaying a second interface: the second interface does not include the target object; the i-th switch The third interface displayed on the i-th second display screen corresponding to the screen display control includes the target object; i is an integer greater than or equal to 1 and less than or equal to M.
在一种可能的实施方式中,所述N个控件中包括全屏显示控件;所述第四显示单元,具体用于:In a possible implementation manner, the N controls include a full-screen display control; the fourth display unit is specifically used for:
接收并响应于针对所述全屏显示控件的点击操作,显示第二界面;所述第二界面中包括所述目标对象,所述第二界面中所述目标对象的尺寸大于所述第一界面中所述目标对象的尺寸。receiving and responding to a click operation on the full-screen display control, displaying a second interface; the second interface includes the target object, and the size of the target object in the second interface is larger than that in the first interface The size of the target object.
在一种可能的实施方式中,所述N个控件中包括与K个第二电子设备一一对应的K个分享控件;所述第四显示单元,具体用于:In a possible implementation manner, the N controls include K share controls corresponding to the K second electronic devices one-to-one; the fourth display unit is specifically used for:
接收并响应于针对所述K个分享控件中的第j个分享控件的点击操作,将所述目标对象发送至与所述第j个分享控件对应的第j个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同;j为大于或者等于1,且小于或者等于K的整数。Receive and respond to the click operation for the jth sharing control in the K sharing controls, send the target object to the jth second electronic device corresponding to the jth sharing control, and display the jth second electronic device. Two interfaces; wherein, the second interface is the same as the first interface; j is an integer greater than or equal to 1 and less than or equal to K.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
生成单元,用于接收并响应于针对所述K个分享控件中的第x个分享控件的第三拖拽操作,形成与所述第x个分享控件对应的快照,在检测到所述第x个分享控件对应的快照位于第y个分享控件所在的第三区域内时,生成与第x个第二电子设备以及第y个第二电子设备对应的多设备分享控件;其中,所述N个控件中还包括所述多设备分享控件;x、y为大于或者等于1,且小于或者等于K的整数。The generating unit is used to receive and respond to the third drag operation for the xth sharing control in the K sharing controls, and form a snapshot corresponding to the xth sharing control, when detecting the xth sharing control When the snapshots corresponding to each sharing control are located in the third area where the yth sharing control is located, multi-device sharing controls corresponding to the xth second electronic device and the yth second electronic device are generated; wherein, the N The control also includes the multi-device sharing control; x and y are integers greater than or equal to 1 and less than or equal to K.
在一种可能的实施方式中,所述第四显示单元,具体用于:In a possible implementation manner, the fourth display unit is specifically used for:
接收并响应于针对所述多设备分享控件的点击操作,将所述目标对象分别发送至与所述多设备分享控件对应的所述第x个第二电子设备以及所述第y个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同。Receive and respond to the click operation for the multi-device sharing control, respectively sending the target object to the xth second electronic device and the yth second electronic device corresponding to the multi-device sharing control device, and display a second interface; wherein, the second interface is the same as the first interface.
在一种可能的实施方式中,所述第三显示单元,具体用于:In a possible implementation manner, the third display unit is specifically used for:
接收并响应于针对所述第一目标点的第二拖拽操作,逐渐缩小所述目标对象的尺寸,以及逐渐增大所述目标控件的尺寸;确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;其中,当检测到所述第一目标点位于所述第三位置所在的第二区域内时,改变所述目标控件的颜色至目标颜色;所述目标颜色用于提示用户所述第一目标点位于所述第三位置所在的第二区域内,以完成所述第二拖拽操作。receiving and responding to a second drag operation for the first target point, gradually reducing the size of the target object, and gradually increasing the size of the target control; determining that the first target point is located at the first The fourth position of the interface, and a target frame is displayed on the third position; wherein, when it is detected that the first target point is located in the second area where the third position is located, the color of the target control is changed to the target color; the target color is used to prompt the user that the first target point is located in the second area where the third position is located, so as to complete the second drag operation.
在一种可能的实施方式中,所述第一位置指向所述第三位置的方向与所述第一位置指向所述第二位置的方向不同。In a possible implementation manner, the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
在一种可能的实施方式中,所述目标对象为窗口、文件、名片和链接中的任意一种。In a possible implementation manner, the target object is any one of a window, a file, a business card and a link.
第四方面,本申请实施例提供一种计算机存储介质,用于储存为上述第三方面提供的一种控件显示装置所用的计算机软件指令,其包含用于执行上述方面所设计的程序。In a fourth aspect, an embodiment of the present application provides a computer storage medium for storing computer software instructions used for the control display device provided in the third aspect, including a program designed to execute the above aspect.
第五方面,本申请实施例提供了一种计算机程序,该计算机程序包括指令,当该计算机程序被计算机执行时,使得计算机可以执行上述第三方面中的控件显示装置所执行的流程。In a fifth aspect, an embodiment of the present application provides a computer program, the computer program includes instructions, when the computer program is executed by a computer, the computer can execute the process performed by the control display device in the third aspect.
应当理解的是,说明书中对技术特征、技术方案、优点或类似语言的描述并不是暗示在任意的单个实施例中可以实现所有的特点和优点。相反,可以理解的是对于特征或优点的描述意味着在至少一个实施例中包括特定的技术特征、技术方案或优点。因此,本说明书中对于技术特征、技术方案或优点的描述并不一定是指相同的实施例。进而,还可以任何适当的方式组合以下各个实施例中所描述的技术特征、技术方案和优点。本领域技术人员将会理解,无需特定实施例的一个或多个特定的技术特征、技术方案或优点即可实现实施例。在其他实施例中,还可在没有体现所有实施例的特定实施例中识别出额外的技术特征和优点。It should be understood that the description of technical features, technical solutions, advantages or similar language in the specification does not imply that all features and advantages can be realized in any single embodiment. Rather, it is to be understood that a description of a feature or advantage is meant to include a particular technical feature, technical solution or advantage in at least one embodiment. Therefore, descriptions of technical features, technical solutions or advantages in this specification do not necessarily refer to the same embodiments. Furthermore, the technical features, technical solutions and advantages described in each of the following embodiments can also be combined in any appropriate manner. Those skilled in the art will appreciate that an embodiment may be implemented without one or more of the specific technical features, technical solutions or advantages of a specific embodiment. In other embodiments, additional technical features and advantages may also be identified in specific embodiments that do not embody all embodiments.
附图说明Description of drawings
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the accompanying drawings required in the embodiments or the background technology of the present application will be described below.
图1是一种跨屏切换显示的示意图。FIG. 1 is a schematic diagram of a cross-screen switching display.
图2a-图2d是一组用户界面示意图。Figures 2a-2d are a set of schematic diagrams of user interfaces.
图3是本申请实施例提供的一种电子设备100的结构示意图。FIG. 3 is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application.
图4是本申请实施例提供的一种电子设备100的软件结构框图。FIG. 4 is a software structural block diagram of an electronic device 100 provided by an embodiment of the present application.
图5是本申请实施例提供的一种控件显示方法的流程示意图。FIG. 5 is a schematic flowchart of a control display method provided by an embodiment of the present application.
图6a-图6c是本申请实施例提供的一组用户界面示意图。6a-6c are schematic diagrams of a group of user interfaces provided by an embodiment of the present application.
图7是本申请实施例提供的一种传送门变化过程示意图。FIG. 7 is a schematic diagram of a change process of a transmission gate provided by an embodiment of the present application.
图8是本申请实施例提供的另一种传送门变化过程示意图。FIG. 8 is a schematic diagram of another transmission gate change process provided by an embodiment of the present application.
图9a是本申请实施例提供的一种传送门和按钮背板的示意图。Fig. 9a is a schematic diagram of a transmission gate and a button backplane provided by an embodiment of the present application.
图9b是本申请实施例提供的一种按钮背板的示意图。FIG. 9b is a schematic diagram of a button backplane provided by an embodiment of the present application.
图10a-图10h是本申请实施例提供的一组用户界面示意图。10a-10h are schematic diagrams of a group of user interfaces provided by embodiments of the present application.
图11是本申请实施例提供的一种传送门示意图。FIG. 11 is a schematic diagram of a transmission gate provided by an embodiment of the present application.
图12是本申请实施例提供的另一种传送门示意图。FIG. 12 is a schematic diagram of another transmission gate provided by an embodiment of the present application.
图13a-图13e是本申请实施例提供的一组用户界面示意图。13a-13e are schematic diagrams of a group of user interfaces provided by an embodiment of the present application.
图14a-图14c是本申请实施例提供的一组用户界面示意图。14a-14c are schematic diagrams of a group of user interfaces provided by the embodiments of the present application.
图15a-图15e是本申请实施例提供的一组用户界面示意图。15a-15e are schematic diagrams of a group of user interfaces provided by embodiments of the present application.
图16a-图16d是本申请实施例提供的一组用户界面示意图。16a-16d are schematic diagrams of a group of user interfaces provided by embodiments of the present application.
图17a-图17d是本申请实施例提供的一组用户界面示意图。17a-17d are schematic diagrams of a group of user interfaces provided by the embodiments of the present application.
图18是本申请实施例提供的一种控件显示装置的结构示意图。FIG. 18 is a schematic structural diagram of a control display device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合本申请实施例中的附图对本申请实施例进行描述。本申请实施例的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. The terms used in the implementation part of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
本申请的说明书、权利要求书及附图中的术语“第一”、“第二”、“第三”等均是用于区别不同对象,而不是用于描述特定顺序。本申请以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括复数表达形式,除非其上下文中明确地有相反指示。还应当理解,本申请中使用的术语“和/或”是指并包含一个或多个所列出项目的任何或所有可能组合。The terms "first", "second", "third" and the like in the description, claims and drawings of the present application are all used to distinguish different objects, rather than to describe a specific order. The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "an," "the," "above," "the," and "the" are intended to also Plural expressions are included unless the context clearly dictates otherwise. It will also be understood that, as used in this application, the term "and/or" refers to and includes any and all possible combinations of one or more of the listed items.
以下介绍了电子设备、用于这样的电子设备的用户界面、和用于使用这样的电子设备的实施例。在一些实施例中,电子设备可以是还包含其它功能,诸如跨屏显示、跨设备分享等功能的便携式电子设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴电子设备(如智能手表)等。便携式电子设备的示例性实施例包括但不限于搭载
Figure PCTCN2022083215-appb-000001
或者其它操作系统的便携式电子设备。上述便携式电子设备也可以是其它便携式电子设备,诸如具有触敏表面或触控面板的膝上型计算机(laptop)等。还应当理解的是,在其他一些实施例中,上述电子设备也可以不是便携式电子设备,而是具有触敏表面或触控面板的台式计算机、车载电脑等。可以理解的,本申请实施例以智能手机为例进行介绍,但是不限于智能 手机,还可以是其他具备通讯功能的智能设备,如智能手表、智能手环、虚拟现实技术(virtual reality,VR)眼镜等等。
Electronic devices, user interfaces for such electronic devices, and embodiments for using such electronic devices are described below. In some embodiments, the electronic device may be a portable electronic device that also includes other functions, such as cross-screen display, cross-device sharing, and other functions, such as a mobile phone, a tablet computer, and a wearable electronic device (such as a smart watch) with wireless communication functions. Wait. Exemplary embodiments of portable electronic devices include, but are not limited to, carry-on
Figure PCTCN2022083215-appb-000001
Or portable electronic devices with other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop or the like with a touch-sensitive surface or touch panel. It should also be understood that, in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer, a vehicle-mounted computer, etc. having a touch-sensitive surface or a touch panel. It can be understood that the embodiment of the present application takes a smart phone as an example for introduction, but it is not limited to a smart phone, and can also be other smart devices with communication functions, such as smart watches, smart bracelets, and virtual reality technology (virtual reality, VR). glasses, etc.
本申请的说明书和权利要求书及附图中的术语“用户界面(user interface,UI)”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。应用程序的用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在终端设备上经过解析,渲染,最终呈现为用户可以识别的内容,比如图片、文字、按钮等控件。控件(control)也称为部件(widget),是用户界面的基本元素,典型的控件有工具栏(toolbar)、菜单栏(menu bar)、文本框(text box)、按钮(button)、滚动条(scrollbar)、图片和文本。界面中的控件的属性和内容是通过标签或者节点来定义的,比如XML通过<Textview>、<ImgView>、<VideoView>等节点来规定界面所包含的控件。一个节点对应界面中一个控件或属性,节点经过解析和渲染之后呈现为用户可视的内容。此外,很多应用程序,比如混合应用(hybrid application)的界面中通常还包含有网页。网页,也称为页面,可以理解为内嵌在应用程序界面中的一个特殊的控件,网页是通过特定计算机语言编写的源代码,例如超文本标记语言(hyper text markup language,HTML),层叠样式表(cascading style sheets,CSS),java脚本(JavaScript,JS)等,网页源代码可以由浏览器或与浏览器功能类似的网页显示组件加载和显示为用户可识别的内容。网页所包含的具体内容也是通过网页源代码中的标签或者节点来定义的,比如HTML通过<p>、<img>、<video>、<canvas>来定义网页的元素和属性。The term "user interface (UI)" in the description, claims and drawings of this application is a medium interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the internal form of information Conversion to and from user-acceptable forms. The user interface of the application is the source code written in a specific computer language such as java and extensible markup language (XML). The interface source code is parsed and rendered on the terminal device, and finally presented as content that the user can recognize. Such as pictures, text, buttons and other controls. Controls, also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, and scroll bars. (scrollbar), pictures and text. The attributes and content of controls in the interface are defined by tags or nodes. For example, XML specifies the controls contained in the interface through nodes such as <Textview>, <ImgView>, and <VideoView>. A node corresponds to a control or property in the interface, and the node is rendered as user-visible content after parsing and rendering. In addition, many applications, such as hybrid applications, often contain web pages in their interface. A web page, also known as a page, can be understood as a special control embedded in an application program interface. A web page is source code written in a specific computer language, such as hypertext markup language (HTML), cascading styles Tables (cascading style sheets, CSS), java scripts (JavaScript, JS), etc., the source code of the web page can be loaded and displayed as user-identifiable content by a browser or a web page display component similar in function to a browser. The specific content contained in a web page is also defined by tags or nodes in the source code of the web page. For example, HTML defines the elements and attributes of web pages through <p>, <img>, <video>, and <canvas>.
用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的一个图标、窗口、控件等界面元素,其中控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。A commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed graphically. It can be an icon, window, control and other interface elements displayed on the display screen of the electronic device, wherein the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. visual interface elements.
首先,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。First, some terms in this application will be explained so as to facilitate the understanding of those skilled in the art.
(1)拖放(drag and drop),或者称之为拖拽,是指“在笔记本电脑、台式电脑、平板电脑或者智能手机中,使用触控板、鼠标或者手指操作点击一个物件并保持不放开,以及在原有平面内移动触控板、鼠标或者手指,再松开”的整个操作过程。其中,拖拽操作通常用于执行移动窗口或者文件等物件至某一个位置,可以是当前界面内的短距离或长距离移动,也可以是跨设备或者跨屏幕的移动。例如,请参阅图1,图1是一种跨屏切换显示的示意图。如图1所示,电子设备可以包括第一显示屏和第二显示屏两个显示屏,例如可以是由一台电脑主机连接的两个显示屏,也可以是一个笔记本电脑或者平板电脑上自带的两个显示屏,等等,本申请实施例对此不作具体限定。继而,可以针对图1所示的窗口执行相应的拖拽操作,使得窗口可以在第一显示屏和第二显示屏中进行切换显示,具体可参考下述现有技术中的方案,此处不再进行详述。(1) Drag and drop, also known as drag and drop, refers to "using a touchpad, mouse or finger to click on an object and hold it in a laptop, desktop computer, tablet computer or smartphone. Release, and move the trackpad, mouse, or finger in the original plane, and then release” the entire operation process. The drag operation is usually used to move objects such as windows or files to a certain position, which can be a short-distance or long-distance movement within the current interface, or a cross-device or cross-screen movement. For example, please refer to FIG. 1 , which is a schematic diagram of a cross-screen switching display. As shown in FIG. 1, the electronic device may include two display screens, a first display screen and a second display screen, for example, two display screens connected by a computer host, or a notebook computer or a tablet computer. Two display screens with a belt, etc., which are not specifically limited in this embodiment of the present application. Then, a corresponding drag operation can be performed for the window shown in FIG. 1, so that the window can be switched and displayed in the first display screen and the second display screen. For details, please refer to the following solutions in the prior art. More details.
如上所述,为了实现通过拖拽操作将窗口或者文件进行跨设备或者跨屏幕移动,在现有技术中,包括多种技术方案,以下示例性的例举了目前市场上有关公司的产品中所提出的app switcher(应用程序切换器)方案。As mentioned above, in order to realize the cross-device or cross-screen movement of a window or file through a drag and drop operation, the prior art includes various technical solutions. The proposed app switcher scheme.
请参阅图2a-图2d,图2a-图2d是一组用户界面示意图,如图2a-图2d所示,该电子设备(图2a-图2d中以笔记本电脑为例)可以包括多个显示屏,具体可以包括第一显示屏01和 第二显示屏02。如图2a和图2b所示,该电子设备第一显示屏01所显示的界面中可以包括窗口03,当用户使用鼠标、触控板或者手指(图中以手指为例,图中的圆点即为手指触摸的位置,该电子设备可以为具备触摸屏功能的电子设备),在窗口03的窗口栏拖拽该窗口03时(也即如图2b所示,电子设备接收到用户针对窗口03的输入操作04a时),该电子设备会在拖拽操作的移动方向上显示一个控件组合05(或者称之为按钮组合,也即上述app switcher)。如图2c所示,该控件组合05可以包括06a和06b两个控件,其中,控件06a可以为用于切换至第二显示屏02显示的控件,控件06b可以为用于切换至双屏并进行连续全屏显示的控件。如图2c所示,电子设备接收用户的输入操作04b(例如在图2b的基础上,用户不松开手指,并持续拖拽窗口至手指触及控件06a),响应于该输入操作04b,电子设备在控件组合05的下方显示与切换至第二显示屏02功能相关的二级菜单07,并且此时控件组合05和二级菜单07可以为悬浮态。如图2d所示,二级菜单07可以包括控件07a(可以用于切换至第二显示屏02的左半边屏幕进行显示)、控件07b(可以用于切换至第二显示屏02的右半边屏幕进行显示)、控件07c(可以用于切换至第二显示屏02中三分之二且靠左的屏幕进行显示)和控件07d(可以用于切换至第二显示屏02中三分之二且靠右的屏幕进行显示)。如图2d所示,电子设备接收用户的输入操作04c(例如在图2c的基础上,用户不松开手指,并持续拖拽窗口至手指触及控件07a),响应于该输入操作04c,电子设备将窗口03切换至第二显示屏02的左半边屏幕中进行显示。Please refer to Fig. 2a-Fig. 2d. Fig. 2a-Fig. 2d are a set of schematic diagrams of user interfaces. As shown in Fig. 2a-Fig. 2d, the electronic device (taking a notebook computer as an example in Fig. 2a-Fig. 2d) may include multiple displays The screen, specifically, may include a first display screen 01 and a second display screen 02 . As shown in Figures 2a and 2b, the interface displayed on the first display screen 01 of the electronic device may include a window 03. When the user uses a mouse, a touchpad or a finger (the finger is taken as an example in the figure, the dots in the figure That is, the position touched by the finger, the electronic device may be an electronic device with a touch screen function), when the window 03 is dragged from the window bar of the window 03 (that is, as shown in FIG. When inputting operation 04a), the electronic device will display a control combination 05 (or called a button combination, that is, the above-mentioned app switcher) in the moving direction of the dragging operation. As shown in FIG. 2c, the control combination 05 may include two controls 06a and 06b, wherein the control 06a may be a control for switching to the display of the second display screen 02, and the control 06b may be used for switching to the dual screen and performing Controls that are displayed continuously in full screen. As shown in Fig. 2c, the electronic device receives the user's input operation 04b (for example, on the basis of Fig. 2b, the user does not release his finger and continues to drag the window until his finger touches the control 06a), and in response to the input operation 04b, the electronic device A secondary menu 07 related to the function of switching to the second display screen 02 is displayed below the control combination 05, and at this time, the control combination 05 and the secondary menu 07 may be in a floating state. As shown in FIG. 2d, the secondary menu 07 may include a control 07a (which can be used to switch to the left half of the second display screen 02 for display), a control 07b (which can be used to switch to the right half of the second display screen 02) display), control 07c (can be used to switch to two-thirds of the second display 02 and the left screen for display) and control 07d (can be used to switch to two-thirds of the second display 02 and display on the right screen). As shown in FIG. 2d, the electronic device receives an input operation 04c from the user (for example, on the basis of FIG. 2c, the user does not release his finger and continues to drag the window until his finger touches the control 07a). In response to the input operation 04c, the electronic device Switch the window 03 to the left half of the second display screen 02 for display.
然而,虽然上述方案可以实现将一个窗口从当前屏幕拖拽至另一个屏幕进行显示,但是该方案在产品中实际落地,并在用户中使用时,仍然存在许多问题。首先,由于用户在当前界面内拖拽窗口进行小范围移动的频率远远大于执行切换屏幕的频率,因此,如上图2a-图2d所述的现有技术可以看出,若每次拖拽窗口都会出现控件,则必然会在视觉及操作体验上对用户形成较大的干扰。基于此,上述现有技术存在的问题可以具体包括以下几点:However, although the above solution can realize dragging a window from the current screen to another screen for display, there are still many problems when the solution is actually implemented in the product and used in the user. First of all, since the frequency of the user dragging the window in the current interface to move in a small range is far greater than the frequency of switching the screen, it can be seen from the prior art described in Fig. 2a-Fig. There will be controls, which will inevitably cause greater interference to the user in terms of visual and operational experience. Based on this, the problems existing in the above-mentioned prior art can specifically include the following points:
1、如图2b所示,app switcher出现的位置与窗口移动方向一致,导致用户极易误触。例如,当用户以非使用app switcher的目标拖动了窗口,在其移动路径当中必然会路过该控件组合05,此时必然会触发该控件组合05的悬浮态,显示二级菜单07(如图2c所示),从而对用户形成了较大的视觉干扰。并且后续用户需要通过其他操作来取消显示上述控件组合05和二级菜单07(例如点击第一显示屏01显示界面中的空白处,等等,本申请实施例对此不作具体限定),如此,大大增加了用户的操作量和操作负担,降低了用户的操作效率。1. As shown in Figure 2b, the app switcher appears in the same direction as the window moves, which makes it easy for users to touch it by mistake. For example, when the user drags the window with the goal of not using the app switcher, the control combination 05 will inevitably pass by in its moving path. At this time, the floating state of the control combination 05 will inevitably be triggered, and the secondary menu 07 will be displayed (as shown in the figure). 2c), resulting in a greater visual disturbance to the user. And the subsequent user needs to cancel the display of the above-mentioned control combination 05 and the secondary menu 07 through other operations (for example, click a blank space in the display interface of the first display screen 01, etc., which is not specifically limited in this embodiment of the present application), so, This greatly increases the user's operation volume and operation burden, and reduces the user's operation efficiency.
2、如图2b所示,由于控件组合05尺寸较大,极易遮挡用户实际的操作目标。例如,当用户以非使用app swither的目标拖动了窗口,由于控件组合05尺寸较大,极有可能会遮挡用户的实际操作目标。比如,当用户想要在windows("视窗"操作系统)中向边缘拖拽以触发分屏功能时,在用户向边缘拖拽的过程中,电子设备会触发显示上述控件组合05,此时用户为了躲避控件组合05,需离开原有路径方向来执行分屏操作,大大增加了用户的操作负担,降低了用户的操作效率。2. As shown in Fig. 2b, due to the large size of the control combination 05, it is easy to block the actual operation target of the user. For example, when the user drags the window with the goal of not using the app swither, due to the large size of the control combination 05, it is very likely to block the actual operation target of the user. For example, when the user wants to drag to the edge in windows ("window" operating system) to trigger the split screen function, during the process of the user dragging to the edge, the electronic device will trigger the display of the above-mentioned control combination 05. At this time, the user In order to avoid the control combination 05, the split-screen operation needs to be performed away from the original path direction, which greatly increases the user's operation burden and reduces the user's operation efficiency.
3、如图2b、图2c和图2d所示,用户最终达成一个跨屏显示的目标需进行较长时间和较为精准的拖拽操作,尤其是在触控板及手指触摸下,用户的操作负担较重。在触控板的使用环境中,由于触控板的面积较小,在部分触控板是机械结构下,用户需要较用力地按压触控板才能保持拖拽。例如,由上述图2b、图2c和图2d可知,现有技术要求用户进行从拖拽唤出控件组合05,到拖拽至跨屏显示控件06a,到拖拽至具体的跨屏显示方案控件07a按钮的过程中,一直保持按压触控板或者鼠标进行移动,或者一直保持手指触摸显示屏进行移动, 直至触及控件07a再松开。如此,伴随着跨屏显示方案的增多或者可分享设备的增多,控件的数量也会越来越多,用户的操作负担也就随之加重。另外,在触摸屏操作下,由于手指较大,而现有技术中控件的大小未能大于手指的大小,因而当用户移动至控件区域,无法看见实际选择的控件是什么,便极易导致用户的误操作和无效操作,往往需要用户较为谨慎地操作,大大增加了用户的操作负担,降低了用户的操作效率。3. As shown in Figure 2b, Figure 2c and Figure 2d, it takes a long time and a relatively accurate drag operation for the user to finally achieve the goal of a multi-screen display, especially when the touchpad and finger touch, the user's operation Heavy burden. In the use environment of the touchpad, due to the small area of the touchpad, under the mechanical structure of some touchpads, the user needs to press the touchpad harder to keep dragging. For example, as can be seen from the above-mentioned Figures 2b, 2c and 2d, the prior art requires the user to drag and drop the control combination 05, to the multi-screen display control 06a, to the specific multi-screen display scheme control. During the process of pressing the button 07a, keep pressing the touchpad or the mouse to move, or keep your finger touching the display screen to move until you touch the control 07a and then release it. In this way, with the increase of cross-screen display solutions or the increase of shareable devices, the number of controls will also increase, and the user's operational burden will increase accordingly. In addition, under the operation of the touch screen, because the finger is large, and the size of the control in the prior art cannot be larger than the size of the finger, when the user moves to the control area, he cannot see what the actual selected control is, which will easily lead to the user's confusion. Misoperations and invalid operations often require the user to operate more cautiously, which greatly increases the user's operational burden and reduces the user's operational efficiency.
因此,为了解决当前技术中不满足用户实际需求的问题,本申请实际要解决的技术问题可以包括如下方面:避免长路径拖拽下,用户操作负担过大(尤其是在使用触控板进行操作的环境下),操作效率过低的问题;区分用户是期望在当前界面内移动,还是跨设备或跨屏移动,以提供更有效快速的解决方案。由此,本申请实施例基于现有的电子设备,通过对用户拖拽操作的时长和移动范围的检测,识别用户的拖拽意图,在适当的位置和时间显示所需目标的传送门(也即相应的控件),缩短用户的操作路径,并在视觉与交互等方面优化和提升用户在拖拽过程中的体验。Therefore, in order to solve the problem that the current technology does not meet the actual needs of users, the actual technical problems to be solved by this application may include the following aspects: avoiding the excessive burden of user operations under long-path dragging (especially when using a touchpad to operate In the environment), the operation efficiency is too low; distinguish whether the user expects to move within the current interface, or move across devices or screens, in order to provide a more effective and fast solution. Therefore, based on the existing electronic equipment, the embodiments of the present application identify the user's dragging intention by detecting the duration and movement range of the user's drag operation, and display the portal of the desired target at an appropriate position and time (also That is, the corresponding controls), shorten the user's operation path, and optimize and enhance the user's experience in the dragging process in terms of vision and interaction.
下面,将详细介绍本申请实施例中涉及的示例性电子设备。Hereinafter, exemplary electronic devices involved in the embodiments of the present application will be described in detail.
请参阅图3,图3是本申请实施例提供的一种电子设备100的结构示意图,其中,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。Please refer to FIG. 3, which is a schematic structural diagram of an electronic device 100 provided by an embodiment of the present application, wherein the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus) bus, USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphones Interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195 and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路 (inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140 and supplies power to the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 . The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大, 经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation Satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and radiate it into electromagnetic waves through the antenna 2 .
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(bei dou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou satellite navigation system (bei dou navigation satellite system, BDS), quasi-zenith satellite system ( quasi-zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
显示屏194用于显示本申请后续实施例提供的示例性用户界面。用户界面的具体描述可参考后文。The display screen 194 is used to display exemplary user interfaces provided by subsequent embodiments of the present application. The specific description of the user interface can be referred to later.
具体地,显示屏194可用于显示窗口和文件等目标对象,还用于显示用于进行跨设备和跨屏显示的相关控件等等,此处不再进行详述。Specifically, the display screen 194 can be used to display target objects such as windows and files, and also used to display related controls for cross-device and cross-screen display, etc., which will not be described in detail here.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编 解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络计算处理单元(Neural-network Processing Unit),通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a Neural-network Processing Unit. By borrowing the structure of biological neural network, such as the transmission mode between neurons in the human brain, it can quickly process the input information, and can also continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or a voice message, the voice can be answered by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触控操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触控操作强度。电子设备100也可以根据压力传感器180A的检测信号计 算触摸的位置。在一些实施例中,当用户触摸显示屏194中的某一位置,并从该位置开始保持触摸状态并进行移动直至另一位置,电子设备100还可以根据压力传感器180A的检测信号计算两个位置之间的距离,以及移动操作的持续时长等。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 can also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, when the user touches a certain position in the display screen 194, keeps the touch state from the position and moves to another position, the electronic device 100 can also calculate two positions according to the detection signal of the pressure sensor 180A distance between them, and the duration of the move operation, etc.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
气压传感器180C用于测量气压。The air pressure sensor 180C is used to measure air pressure.
磁传感器180D包括霍尔传感器。The magnetic sensor 180D includes a Hall sensor.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
距离传感器180F,用于测量距离。Distance sensor 180F for measuring distance.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
环境光传感器180L用于感知环境光亮度。The ambient light sensor 180L is used to sense ambient light brightness.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。The temperature sensor 180J is used to detect the temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触控操作。触摸传感器可以将检测到的触控操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触控操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect touch operations on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided via display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
例如:在本申请实施例中,触控屏可以检测到针对文件、窗口或者链接等等的用户操作,该用户操作可以是针对该文件的拖拽操作。该触控屏可以检测到针对控件的用户操作,该用户操作可以是针对该控件的点击操作,等等,上述用户操作还可以有其他的实现形式,本申请实施例对此不作限制。上述用户操作的具体实现,可参考后续方法实施例的详细描述,在此不赘述。For example, in this embodiment of the present application, the touch screen can detect a user operation on a file, a window, or a link, etc., and the user operation can be a drag operation on the file. The touch screen can detect a user operation on the control, and the user operation can be a click operation on the control, etc. The above-mentioned user operation can also have other implementation forms, which are not limited in this embodiment of the present application. For the specific implementation of the above-mentioned user operation, reference may be made to the detailed description of the subsequent method embodiments, and details are not described here.
在本申请实施例中,处理器110可以响应于针对文件、窗口或者链接等的用户操作,按照一定的规则,在显示屏194中触发显示目标控件。其中,该策略的具体实现,以及电子设备接收到的用户操作的具体实现,可参考后续实施例的相关描述,在此暂不赘述。In this embodiment of the present application, the processor 110 may trigger the display of target controls on the display screen 194 according to certain rules in response to user operations on files, windows, or links. For the specific implementation of the policy and the specific implementation of the user operation received by the electronic device, reference may be made to the relevant descriptions of the subsequent embodiments, and details are not described here for the time being.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone. The audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触控操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触控操作,马达191也可对应不同的振动反馈效果。不 同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
综上,电子设备100可以是具备上述功能的智能可穿戴设备、智能手机、平板电脑、笔记本电脑和台式电脑等等,本申请实施例对此不作具体限定。To sum up, the electronic device 100 may be a smart wearable device, a smart phone, a tablet computer, a notebook computer, a desktop computer, etc. with the above functions, which are not specifically limited in this embodiment of the present application.
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。请参考附图4,图4是本申请实施例提供的一种电子设备100的软件结构框图。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the electronic device 100 . Please refer to FIG. 4 , which is a software structural block diagram of an electronic device 100 provided by an embodiment of the present application.
可以理解的是,本申请实施例示意的软件结构框图并不构成对电子设备100的软件结构框图具体限定。It can be understood that the block diagram of the software structure illustrated in the embodiments of the present application does not constitute a specific limitation on the block diagram of the software structure of the electronic device 100 .
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图4所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。As shown in Figure 4, the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and so on.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图4所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 4, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the electronic device 100 . For example, the management of call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息, 可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。A system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,G.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, G.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
如图4所示的软件系统涉及到使用分享能力的应用呈现(如图库,文件管理器),提供分享能力的即时分享模块,提供打印能力的打印服务(print service)和打印后台服务(print spooler),以及应用框架层提供打印框架、WLAN服务、蓝牙服务,以及内核和底层提供WLAN蓝牙能力和基本通信协议。The software system shown in Figure 4 involves application presentation (such as gallery, file manager) that uses sharing capabilities, an instant sharing module that provides sharing capabilities, and a print service and print spooler that provide printing capabilities. ), and the application framework layer provides printing framework, WLAN service, Bluetooth service, and the kernel and bottom layer provide WLAN Bluetooth capability and basic communication protocol.
请参阅图5,图5是本申请实施例提供的一种控件显示方法的流程示意图。该方法可应用于图3和图4所述的电子设备100中,电子设备100可以用于支持并执行图5中所示的方法流程步骤S101-步骤S105。如图5所示,本申请实施例提供的一种控件显示方法可以包括:Please refer to FIG. 5. FIG. 5 is a schematic flowchart of a control display method provided by an embodiment of the present application. The method can be applied to the electronic device 100 described in FIG. 3 and FIG. 4 , and the electronic device 100 can be used to support and execute steps S101 to S105 of the method flow shown in FIG. 5 . As shown in FIG. 5 , a control display method provided by an embodiment of the present application may include:
步骤S101,显示第一界面;其中,第一界面包括目标对象,目标对象包括第一目标点,第一目标点位于第一界面的第一位置。Step S101, displaying a first interface; wherein, the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface.
具体地,电子设备100(即第一电子设备)显示第一界面,该第一界面中可以包括目标对象,该目标对象例如可以为窗口、文件(可以包括文档、图片、文件夹等等)、名片和连接(例如网页链接等等),等等,本申请实施例对此不作具体限定。可选地,该目标对象可以包括多个目标点,其中,可以包括第一目标点,第一目标点可以位于该第一界面的第一位置。Specifically, the electronic device 100 (ie, the first electronic device) displays a first interface, and the first interface may include a target object. For example, the target object may be a window, a file (may include a document, a picture, a folder, etc.), Business cards and connections (such as web page links, etc.), etc., are not specifically limited in this embodiment of the present application. Optionally, the target object may include a plurality of target points, which may include a first target point, and the first target point may be located at a first position of the first interface.
可选地,请参阅图6a-图6c,图6a-图6c是本申请实施例提供的一组用户界面示意图。如图6a所示,以目标对象是窗口为例,其中的手指/光标(或者称之为鼠标)所在的位置即可以为目标对象中第一目标点的第一位置。Optionally, please refer to FIG. 6a-FIG. 6c, FIG. 6a-FIG. 6c are schematic diagrams of a group of user interfaces provided by an embodiment of the present application. As shown in FIG. 6a, taking the target object as a window as an example, the position of the finger/cursor (or mouse) in the target object may be the first position of the first target point in the target object.
步骤S102,接收并响应于针对目标对象上的第一目标点的第一拖拽操作,确定第一位置所在的第一区域,以及确定第一目标点位于第一界面的第二位置。Step S102: Receive and respond to a first drag operation for a first target point on the target object, determine a first area where the first position is located, and determine that the first target point is located at a second position on the first interface.
具体地,如图6b所示,电子设备100接收并响应于针对目标对象上的第一目标点的第一拖拽操作,确定第一位置(例如图6b中手指/光标原位置)所在的第一区域(例如图6b中的虚线圈),以及确定第一目标点位于第一界面的第二位置。如图6b所示,用户拖拽窗口向右 下方移动。Specifically, as shown in FIG. 6b, the electronic device 100 receives and responds to the first drag operation for the first target point on the target object, and determines the first position where the first position (for example, the original position of the finger/cursor in FIG. 6b) is located. a region (eg, the dotted circle in FIG. 6b ), and determine that the first target point is located at the second position of the first interface. As shown in Figure 6b, the user drags the window to move downward and to the right.
步骤S103,若检测到第二位置在第一区域内,且第一拖拽操作持续的时长大于第一时长阈值,则在第一界面的第三位置上显示目标控件。Step S103, if it is detected that the second position is within the first area and the duration of the first drag operation is longer than the first duration threshold, display the target control at the third position of the first interface.
具体地,电子设备100可以根据用户拖拽操作的速度、时长和范围等来判定用户的操作意图。若电子设备100检测到该第一拖拽操作对应的第二位置在第一区域内,且第一拖拽操作持续的时长大于第一时长阈值(例如为1秒、2秒、3秒等),则在第一界面的第三位置上显示目标控件。可选地,如图6b所示,当在第一时长阈值内,用户手指/光标触及的位置仍在该第一区域内,则可以认为用户有进行跨设备分享或者跨屏显示的操作意图,此时可以在手指/光标移动轨迹的不同方向上显示该目标控件(也即图6b中的传送门),也即第一位置指向该第三位置的方向与该第一位置指向该第二位置的方向不同(例如图6b所示,可以在手指/光标移动轨迹的反方向轨迹上显示该目标控件),如此,可以在用户不想要进行跨设备分享或者跨屏显示,但是仍然触发显示了目标控件后,避免用户在移动轨迹的正方向上误触该目标控件,以及避免对用户实际拖拽路径的遮挡和视觉干扰。反之,如图6c所示,若在第一时长阈值内,用户拖拽该窗口快速离开了该第一区域,则可以认为用户只想在该界面内移动一下该窗口,并没有进行跨设备分享或者跨屏显示的意图,则可以不触发显示该目标控件(也即传送门),从而降低非必要显示的目标控件对用户实际操作带来的干扰,提高了用户的操作体验和操作效率。Specifically, the electronic device 100 may determine the user's operation intention according to the speed, duration, and scope of the user's drag operation. If the electronic device 100 detects that the second position corresponding to the first drag operation is within the first area, and the duration of the first drag operation is greater than the first duration threshold (for example, 1 second, 2 seconds, 3 seconds, etc.) , the target control is displayed on the third position of the first interface. Optionally, as shown in Figure 6b, when within the first duration threshold, the position touched by the user's finger/cursor is still within the first area, then it can be considered that the user has the operation intention of sharing across devices or displaying across screens, At this time, the target control (that is, the portal in Fig. 6b) can be displayed in different directions of the finger/cursor movement track, that is, the direction in which the first position points to the third position and the direction in which the first position points to the second position (for example, as shown in Figure 6b, the target control can be displayed on the opposite direction of the finger/cursor movement trajectory), so that the target can be displayed when the user does not want to share across devices or display across screens, but still triggers the display of the target. After the control is installed, avoid the user from accidentally touching the target control in the positive direction of the movement track, and avoid occlusion and visual interference to the user's actual dragging path. On the contrary, as shown in Figure 6c, if the user drags the window and leaves the first area quickly within the first duration threshold, it can be considered that the user only wants to move the window in the interface, and does not share across devices. Or the intention of cross-screen display, the display of the target control (that is, the portal) may not be triggered, thereby reducing the interference caused by the unnecessary display of the target control to the user's actual operation, and improving the user's operation experience and operation efficiency.
可选地,上述第一区域的形状除了可以为图6b和图6c所示的圆形外,还可以是椭圆形、正方形、三角形,等等,本申请实施例对此不作具体限定。此外,相较于前述现有技术中的控件组合05,本申请实施例将其缩小为一个圆形的目标控件,代表此拖拽场景下可能触发的所有功能。Optionally, the shape of the first region may be an ellipse, a square, a triangle, etc., in addition to the circle shown in FIG. 6b and FIG. 6c , which is not specifically limited in this embodiment of the present application. In addition, compared with the aforementioned control combination 05 in the prior art, the embodiment of the present application reduces it to a circular target control, representing all functions that may be triggered in this dragging scene.
可选地,由于不同电子设备的屏幕尺寸不同,可以根据实际的产品屏幕尺寸,以及实际设定的传送门与拖拽操作的初始位置(也即第一位置)之间的距离,来进一步辅助判断用户的操作意图,并设定边界范围(也即第一区域的大小)以及延迟秒数(也即第一时长阈值)。Optionally, since the screen sizes of different electronic devices are different, further assistance can be provided according to the actual screen size of the product and the distance between the actually set transfer gate and the initial position (ie, the first position) of the drag operation. The user's operation intention is judged, and the boundary range (that is, the size of the first area) and the delay seconds (that is, the first duration threshold) are set.
可选地,如图6b所示,若在触发显示了目标控件的情况下,用户不想要进行跨设备分享或者跨屏显示,此时也可以在第三位置上松开手指或者鼠标,电子设备接收并响应于用户松开手指或者鼠标的操作,取消显示该目标控件。可选地,在显示了目标控件后,若此时用户在第三位置上松开手指或者鼠标,也可以继续显示该目标控件,在该情况下,若用户不想要进行跨设备分享或者跨屏显示,也可以通过点击第一界面上的空白处,取消显示该目标控件,等等,本申请实施例对此不作具体限定。Optionally, as shown in FIG. 6b, if the user does not want to share across devices or display across screens when the target control is triggered and displayed, the user can also release the finger or mouse at the third position, and the electronic device Receive and in response to the user releasing the finger or the mouse, cancel the display of the target control. Optionally, after the target control is displayed, if the user releases the finger or the mouse at the third position at this time, the target control may continue to be displayed. In this case, if the user does not want to share across devices or across screens Display, the target control can also be canceled by clicking on a blank space on the first interface, and so on, which is not specifically limited in this embodiment of the present application.
步骤S104,接收并响应于针对第一目标点的第二拖拽操作,确定第一目标点位于所述第一界面的第四位置,并在第三位置上显示目标框;第四位置在第三位置所在的第二区域内;目标框包括N个控件。Step S104: Receive and respond to the second drag operation for the first target point, determine that the first target point is located at the fourth position of the first interface, and display the target frame at the third position; the fourth position is at the fourth position. In the second area where the three positions are located; the target frame includes N controls.
具体地,电子设备100接收并响应于针对第一目标点的第二拖拽操作,确定第一目标点位于所述第一界面的第四位置,并在第三位置上显示目标框;第四位置在第三位置所在的第二区域内;目标框包括N个控件。其中,N为大于或者等于1的整数。Specifically, the electronic device 100 receives and responds to the second drag operation for the first target point, determines that the first target point is located at the fourth position of the first interface, and displays the target frame at the third position; the fourth The position is in the second area where the third position is located; the target frame includes N controls. Wherein, N is an integer greater than or equal to 1.
可选地,请参阅图7,图7是本申请实施例提供的一种传送门变化过程示意图。如图7所示,目标控件(也即图7中的传送门)的实际热区可以大于该传送门的尺寸,当手指/光标(也即第一目标点所在的位置)随着用户的拖拽操作移动进入该热区时(或者包括在未进入热区的整个第二拖拽操作的过程中),电子设备100可以逐渐放大该传送门,并逐渐缩小该窗口,使得用户在视觉反馈上产生拖拽目标对象吸入传送门的视觉效果,提升用户的操作体验, 保证用户在即使看起来很小的物件上也能轻松操作。然后,如图7所示,当用户持续拖拽该窗口直至手指/光标触及该传送门时,也即当第一目标点位于该目标控件所在的第二区域时,此时传送门的尺寸可以放大至实际热区的尺寸,并且需要大于手指/光标的尺寸,保证用户对目标控件的识别,提升视觉感受,避免用户操作失误。可选地,传送门的形状、透明度和大小等参数可以由用户通过该电子设备100进行自定义设置。Optionally, please refer to FIG. 7 . FIG. 7 is a schematic diagram of a change process of a transmission gate provided by an embodiment of the present application. As shown in FIG. 7 , the actual hot area of the target control (that is, the portal in FIG. 7 ) can be larger than the size of the portal. When the finger/cursor (that is, the position of the first target point) moves along with the user When the drag operation moves into the hot zone (or during the entire second drag operation that does not enter the hot zone), the electronic device 100 can gradually enlarge the portal and gradually shrink the window, so that the user is on the visual feedback Generates the visual effect of dragging the target object into the portal, improving the user's operating experience, and ensuring that the user can easily operate even on objects that seem small. Then, as shown in Figure 7, when the user continues to drag the window until the finger/cursor touches the portal, that is, when the first target point is located in the second area where the target control is located, the size of the portal can be Zoom in to the size of the actual hot area, and it needs to be larger than the size of the finger/cursor to ensure the user's recognition of the target control, improve the visual experience, and avoid user operation errors. Optionally, parameters such as the shape, transparency and size of the transmission gate can be customized by the user through the electronic device 100 .
可选地,请参阅图8,图8是本申请实施例提供的另一种传送门变化过程示意图。如图8所示,当用户持续拖拽该窗口直至手指/光标触及该传送门时,传送门可以变色示意,从而提示用户此时可松开手指或者鼠标,以触发后续功能,等等。Optionally, please refer to FIG. 8 . FIG. 8 is a schematic diagram of another transmission gate change process provided by an embodiment of the present application. As shown in Figure 8, when the user continues to drag the window until the finger/cursor touches the portal, the portal can change color to indicate that the user can release the finger or mouse at this time to trigger subsequent functions, and so on.
可选地,请参阅图9a,图9a是本申请实施例提供的一种传送门和按钮背板的示意图。如图9a所示,用户在传送门变色示意的情况下,可以松开手指或者鼠标(也即松开拖拽的目标对象),完成第二拖拽操作,此时电子设备100可以取消显示传送门,并在传送门所在的位置上显示按钮背板。如此,从视觉体验上用户可以看到传送门由如图9a所示的圆形,形变成按钮背板(也即目标框)。如图9a所示,该按钮背板可以包括多个控件,例如可以包括用于切换至第二显示屏的左半边屏幕进行显示的控件、用于切换至第二显示屏的右半边屏幕进行显示的控件和全屏显示控件,等等。如此,相较于前述现有技术,采用本申请实施例,用户无需面对长时间的拖拽负担,后续可以通过点击松手后唤出的控件即可实现相应的功能。并且,相较于前述现有技术,本申请实施例可以容纳更多功能控件。请参阅图9b,图9b是本申请实施例提供的一种按钮背板的示意图。如图9b所示,还可以通过扩大按钮背板的空间,增加更多的控件(例如图9b中的按钮1、按钮2、按钮3等等),从实现更多的功能,等等,本申请实施例对此不作具体限定。可选地,传送门的数量可以为两个甚至更多,不同的传送门可以对应不同的按钮背板,例如,用户可以通过电子设备100自定义设置两个传送门,一个传送门可以对应于包含多个分享按钮的按钮背板,可以将拖拽内容分享至其他设备,另一个传送门可以对应于包含多个切换屏显示按钮的按钮背板,可以将拖拽内容切换至其他显示屏进行显示,等等,本申请实施例对此不作具体限定。Optionally, please refer to FIG. 9a, which is a schematic diagram of a transmission gate and a button back panel provided by an embodiment of the present application. As shown in FIG. 9a , in the case that the transmission door changes color, the user can release the finger or the mouse (that is, release the dragged target object) to complete the second drag operation. At this time, the electronic device 100 can cancel the display transmission door, and display the button backplate where the portal is. In this way, from the visual experience, the user can see that the portal is transformed from a circle as shown in FIG. 9a into a button backplane (ie, a target frame). As shown in FIG. 9a, the button back panel may include a plurality of controls, for example, may include a control for switching to the left half of the second display screen for display, and a control for switching to the right half of the second display screen for display controls and full screen display controls, etc. In this way, compared with the aforementioned prior art, with the embodiment of the present application, the user does not need to face the burden of dragging and dragging for a long time, and the corresponding function can be realized by clicking the control that is called up after releasing the hand. Moreover, compared with the aforementioned prior art, the embodiment of the present application can accommodate more functional controls. Please refer to FIG. 9b. FIG. 9b is a schematic diagram of a button backplane provided by an embodiment of the present application. As shown in Fig. 9b, it is also possible to increase the space of the button backplane and add more controls (such as button 1, button 2, button 3, etc. in Fig. 9b) to realize more functions, etc. This is not specifically limited in the application examples. Optionally, the number of portals can be two or more, and different portals can correspond to different button backplanes. For example, the user can customize two portals through the electronic device 100, and one portal can correspond to The button back panel containing multiple share buttons can share the dragged content to other devices, and another portal can correspond to the button back panel containing multiple switching screen display buttons, which can switch the dragged content to other displays. display, etc., which are not specifically limited in this embodiment of the present application.
步骤S105,接收并响应于针对N个控件中的其中一个控件的点击操作,显示第二界面。Step S105, receiving and responding to a click operation on one of the N controls, displaying a second interface.
具体地,电子设备100接收并响应于针对N个控件中的其中一个控件的点击操作,显示第二界面。例如,该电子设备100可以包括第一显示屏和M个第二显示屏,其中,M为大于或者等于1的整数,则该N个控件中可以包括与该M个第二显示屏一一对应的M个切换屏显示控件,甚至,考虑到针对上述每个第二显示屏的不同显示方案,还可以包括更多的控件,大大丰富了用户的选择,满足用户的不同需求。电子设备100接收并响应于用户对该控件的点击操作,可以将目标对象切换至第二显示屏进行显示,等等。需要说明的是,本申请实施例各个图中的第一显示屏和第二显示屏仅为示例,第二显示屏的尺寸可以如图所示小于第一显示屏的尺寸,也可以等于或者大于第一显示屏,等等,本申请实施例对此不做具体限定。并且,本申请实施例中描述的第一显示屏和第二显示屏中的“第一”和“第二”并不构成对显示屏规格、主次或者优先等级的限定,仅为了区分当前目标对象所在的显示屏,以及其他的显示屏。Specifically, the electronic device 100 receives and displays the second interface in response to a click operation on one of the N controls. For example, the electronic device 100 may include a first display screen and M second display screens, where M is an integer greater than or equal to 1, and the N controls may include a one-to-one correspondence with the M second display screens The M switching screens display controls, and even, considering the different display schemes for each of the above-mentioned second display screens, more controls can be included, which greatly enriches the choices of users and meets different needs of users. The electronic device 100 receives and responds to the user's click operation on the control, and can switch the target object to the second display screen for display, and so on. It should be noted that the first display screen and the second display screen in the figures of the embodiments of the present application are only examples, and the size of the second display screen may be smaller than the size of the first display screen as shown in the figure, or may be equal to or larger than that of the first display screen. The first display screen, etc., are not specifically limited in this embodiment of the present application. In addition, "first" and "second" in the first display screen and the second display screen described in the embodiments of the present application do not constitute limitations on the display screen specifications, primary and secondary or priority levels, but only for distinguishing the current target The display the object is on, and other displays.
可选地,请参阅图10a-图10h,图10a-图10h是本申请实施例提供的一组用户界面示意图。以电子设备100为笔记本电脑,以及鼠标/触控板操作环境为例,如图10a所示,电子设备100可以包括两个显示屏,分别为第一显示屏和第二显示屏。其中,电子设备100通过第一显示屏显示第一界面,该第一界面包括目标对象(窗口),该窗口可以为常见的浏览器窗口或者聊天窗口等等,本申请实施例对此不作具体限定。如图10b和图10c所示,用户按下鼠 标选中窗口并开始拖拽,若电子设备100检测到在第一时长阈值范围内,该光标仍然位于原光标位置所在的第一区域内时,则电子设备100可以在光标移动的反方向上显示目标控件。如图10d所示,当电子设备100检测到光标移动进入目标控件的热区时,可以放大目标控件,并缩小目标对象(窗口)。如图10e所示,当电子设备100检测到光标触及目标控件,则可以控制目标控件变色示意(例如从原先的灰色变成黄色,等等),指示用户可以松开鼠标/触控板。如图10f所示,电子设备100响应于用户松开鼠标/触控板的操作,在原先目标控件所在的位置上显示目标框,并取消显示目标控件,或者可以在界面中任何合适的位置显示该目标控,等等,本申请实施例对此不作具体限定。可选地,该目标框内可以包括多个控件,可以实现相应的多种功能,例如具体可以包括两分屏/三分屏/全屏/连续屏(上下结构/左右结构)的控件;还可以包括将窗口内的文件/链接/文字等内容分享给其他设备,比如针对浏览器窗口,可直接将浏览器内打开的所有分页签的链接分享给本人/他人的可识别到的设备,包括手机/电脑/电视/平板等等,本申请实施例对此不作具体限定。如图10g和图10h所示,电子设备100接收并响应于用户针对图10g中用于切换至左半边第二显示屏显示的控件的点击操作,通过第一显示屏显示第二界面,该第二界面中不包括目标对象,并且通过第二显示屏显示第三界面,该第三界面中包括该目标对象。也即实现了将目标对象(窗口)从第一显示屏切换至第二显示屏的左半边进行显示。Optionally, please refer to FIGS. 10a-10h. FIGS. 10a-10h are a set of schematic diagrams of user interfaces provided by the embodiments of the present application. Taking the electronic device 100 as a notebook computer and a mouse/touchpad operating environment as an example, as shown in FIG. 10a , the electronic device 100 may include two display screens, namely a first display screen and a second display screen. Wherein, the electronic device 100 displays a first interface through the first display screen, and the first interface includes a target object (window), and the window may be a common browser window or a chat window, etc., which is not specifically limited in this embodiment of the present application . As shown in FIG. 10b and FIG. 10c , the user presses the mouse to select the window and starts dragging. If the electronic device 100 detects that the cursor is still located in the first area where the original cursor position is within the first duration threshold, then The electronic device 100 may display the target control in the opposite direction of the cursor movement. As shown in FIG. 10d , when the electronic device 100 detects that the cursor moves into the hot area of the target control, the target control can be enlarged and the target object (window) can be reduced. As shown in FIG. 10e , when the electronic device 100 detects that the cursor touches the target control, it can control the target control to change color (eg, from gray to yellow, etc.), indicating that the user can release the mouse/touchpad. As shown in FIG. 10f , in response to the user releasing the mouse/touchpad, the electronic device 100 displays the target frame at the position where the target control was originally located, and cancels the display of the target control, or can display it at any suitable position in the interface The target controller, etc., are not specifically limited in this embodiment of the present application. Optionally, the target frame may include multiple controls, which may implement various corresponding functions. For example, it may specifically include controls for two-split screen/three-split screen/full screen/continuous screen (up and down structure/left and right structure); Including sharing the file/link/text and other content in the window to other devices, for example, for the browser window, you can directly share the links of all tabs opened in the browser to the device that can be recognized by me/others, including mobile phones /computer/television/tablet, etc., which are not specifically limited in this embodiment of the present application. As shown in FIG. 10g and FIG. 10h, the electronic device 100 receives and responds to the user's click operation on the control used to switch to the display of the second display screen in the left half of FIG. 10g, and displays the second interface through the first display screen. The second interface does not include the target object, and the third interface is displayed through the second display screen, and the third interface includes the target object. That is, the target object (window) is switched from the first display screen to the left half of the second display screen for display.
可选地,本申请实施例在视觉上还设计了各类提示,以保证上述功能的可知性。例如,请参阅图11,图11是本申请实施例提供的一种传送门示意图。如图11所示,以界面背景的明度为判断标准,在出现传送门(即目标控件)时对背景取色,从而相应的调整传送门的颜色,以保证传送门的可识别性,提升用户的操作体验。例如,请参阅图12,图12是本申请实施例提供的另一种传送门示意图。如图12所示,可以通过涟漪提示;在第一次使用时采用胶囊状提示,该胶囊上可以标明具体功能提示;当光标/手指移动至触及传送门时(传送门变色时),通过光标角标提示用户松开鼠标/触控板/手指即可打开相应多个功能控件,等等,从而保证用户在看见一个无具体意向传达的抽象圆点时,仍然能识别到,并知晓其功能。Optionally, various types of prompts are also visually designed in the embodiments of the present application to ensure the knowability of the above functions. For example, please refer to FIG. 11 , which is a schematic diagram of a transmission gate provided by an embodiment of the present application. As shown in Figure 11, the brightness of the interface background is used as the judgment standard, and the background color is selected when the portal (ie, the target control) appears, so as to adjust the color of the portal accordingly to ensure the recognizability of the portal and improve the user experience. operating experience. For example, please refer to FIG. 12 , which is a schematic diagram of another transmission gate provided by an embodiment of the present application. As shown in Figure 12, it can be prompted by ripples; when using for the first time, a capsule-shaped prompt can be used, and the capsule can be marked with specific function prompts; when the cursor/finger moves to touch the portal (when the portal changes color), the cursor The corner mark prompts the user to release the mouse/trackpad/finger to open the corresponding multiple functional controls, etc., so as to ensure that the user can still recognize and know its function when seeing an abstract dot with no specific intention conveyed .
下面,将通过多个应用场景的举例,更加详细、直观地介绍本申请实施例中的操作步骤。Hereinafter, the operation steps in the embodiments of the present application will be introduced in more detail and intuitively through examples of multiple application scenarios.
应用场景一:请参阅图13a-图13e,图13a-图13e是本申请实施例提供的一组用户界面示意图。如图13a所示,以电子设备100为笔记本电脑为例,电子设备100显示用户界面21,该用户界面21中可以包括多个文件(例如文件11、文件12、文件13和文件14等)。如图13b和图13c所示,电子设备100接收用户针对文件16的拖拽操作,响应于该拖拽操作,确定该文件16原位置所在的第一区域22(该第一区域22可以为图13b所示的正方形),并形成文件16的快照,随着用户的拖拽操作拖拽而出。可选的,该快照的透明度和大小等参数本申请实施例对此不作具体限定,可以为系统默认值,也可以由用户通过电子设备100自定义设置。当电子设备100检测到该文件16的快照(或者光标)在一定的时长范围内仍然位于该第一区域22内时,在与该拖拽操作的不同方向上显示目标控件23。如图13d所示,电子设备100接收用户针对文件16的快照的拖拽操作,响应于该拖拽操作,逐渐放大目标控件23的尺寸,并逐渐缩小文件16的快照的尺寸,当电子设备检测到该文件16的快照位于目标控件23上时(或者说当光标位于该目标控件23上时),控制目标控件23变色,以提示用户此时可以松开鼠标/触控板,结束拖拽操作,以触发更多的功能。如图13e所示,当电子设备100检测到用户松开鼠标/触控板,电子设备100可以在界面中心(或者其他合适的位置)显示目标框24,并取消显示目标控件23(在用户视觉上可以认为目标控件23形变为目标框24)。 可选地,该目标框24可以为悬浮窗口、悬浮背板等等,本申请实施例对此不作具体限定。如图13e所示,该目标框24内可以包括多个分享控件,具体包括分享控件25、分享控件26、分享控件27、分享控件28、分享控件29和分享控件30,也即上述N个控件中可以包括与多个其他设备(即第二电子设备)一一对应的多个分享控件。电子设备100接收用户针对分享控件28的点击操作,响应于该点击操作,将文件16发送至其他设备“我的手机”,随后,电子设备100可以显示与用户界面21相同的界面,或者,电子设备100通过接收并响应于用户针对界面空白处的点击操作,取消显示该目标框24,从而显示与用户界面21相同的界面。如图13e所示,其他设备可以接收到该文件16。Application Scenario 1: Please refer to FIG. 13a-FIG. 13e. FIG. 13a-FIG. 13e are schematic diagrams of a set of user interfaces provided by the embodiments of the present application. As shown in FIG. 13a, taking the electronic device 100 as a notebook computer as an example, the electronic device 100 displays a user interface 21, which may include multiple files (eg, file 11, file 12, file 13, and file 14). As shown in FIG. 13b and FIG. 13c , the electronic device 100 receives the user's drag operation on the file 16, and in response to the drag operation, determines the first area 22 where the original position of the file 16 is located (the first area 22 may be a 13b), and form a snapshot of the file 16, which is dragged out with the user's drag operation. Optionally, parameters such as the transparency and size of the snapshot are not specifically limited in this embodiment of the present application, and may be system default values, or may be customized by the user through the electronic device 100 . When the electronic device 100 detects that the snapshot (or cursor) of the file 16 is still located in the first area 22 within a certain period of time, the target control 23 is displayed in a different direction from the drag operation. As shown in FIG. 13d, the electronic device 100 receives the user's drag operation for the snapshot of the file 16, and in response to the drag operation, gradually enlarges the size of the target control 23, and gradually reduces the size of the snapshot of the file 16, when the electronic device detects When the snapshot of the file 16 is located on the target control 23 (or when the cursor is located on the target control 23), the control target control 23 changes color to remind the user that the mouse/touchpad can be released at this time to end the dragging operation , to trigger more functions. As shown in FIG. 13e, when the electronic device 100 detects that the user has released the mouse/trackpad, the electronic device 100 can display the target frame 24 in the center of the interface (or other suitable positions), and cancel the display of the target control 23 (in the user's visual field). It can be considered that the target control 23 is shaped as a target frame 24). Optionally, the target frame 24 may be a suspended window, a suspended backboard, or the like, which is not specifically limited in this embodiment of the present application. As shown in Figure 13e, the target frame 24 may include a plurality of sharing controls, specifically including a sharing control 25, a sharing control 26, a sharing control 27, a sharing control 28, a sharing control 29 and a sharing control 30, that is, the above-mentioned N controls A plurality of sharing controls corresponding to a plurality of other devices (ie, the second electronic device) one-to-one may be included in the . The electronic device 100 receives the user's click operation on the share control 28, and in response to the click operation, sends the file 16 to the other device "my phone", and then the electronic device 100 can display the same interface as the user interface 21, or, electronically The device 100 cancels the display of the target frame 24 by receiving and responding to the user's click operation on the blank space of the interface, thereby displaying the same interface as the user interface 21 . This file 16 may be received by other devices as shown in Figure 13e.
其中,电子设备100和其他设备之间可以通过有线或者无线网络(例如无线保真(Wireless-Fidelity,WiFi)、蓝牙和移动网络)等方式互相建立连接,本申请实施例对此不作具体限定。The electronic device 100 and other devices may establish connections with each other through wired or wireless networks (eg, Wireless-Fidelity (WiFi), Bluetooth, and mobile networks), which are not specifically limited in this embodiment of the present application.
可以理解的是,图13a-图13e演示的是将文件从电脑侧同步至手机侧的过程,同理,所有电子设备之间的共享操作均可如此设计。另外,还可以包括照片/视频等多媒体的共享,以及名片/日历/备忘录等内容的共享,等等。可选地,该目标框24内还可以包括将拖拽内容发送给打印机打印的快捷控件、将拖拽内容移动至某一文件夹内的快捷控件、将拖拽内容以邮件/信息/各类三方应用(例如通信应用等和短视频应用等)等方式发送出去的快捷控件,等等,本申请实施例对此不作具体限定。It can be understood that, Figures 13a-13e demonstrate the process of synchronizing files from the computer side to the mobile phone side. Similarly, the sharing operation between all electronic devices can be designed in this way. In addition, it can also include the sharing of multimedia such as photos/videos, and the sharing of content such as business cards/calendars/memos, and so on. Optionally, the target frame 24 may further include a shortcut control for sending the dragged content to a printer for printing, a shortcut control for moving the dragged content to a certain folder, and a shortcut control for sending the dragged content to a mail/information/various type. A shortcut control sent by a third-party application (such as a communication application, a short video application, etc.), etc., is not specifically limited in this embodiment of the present application.
在一种可能的实施方式中,在目标控件23变形为目标框24后,用户还可以针对目标框24内的控件进行建群操作。例如,请参阅图14a-图14c,图14a-图14c是本申请实施例提供的一组用户界面示意图。如图14a所示,电子设备100接收用户针对分享控件28的拖拽操作,响应于该拖拽操作,形成分享控件28的快照28’,并随着用户的拖拽操作拖拽而出。如图14b和图14c所示,电子设备100响应于用户针对该快照28’的拖拽操作,响应于该拖拽操作,检测到该快照28’位于分享控件30的上方,且此时用户松开鼠标/触控板,创建并显示分享控件28和分享控件30对应的多设备分享控件31(也即包含“我的手机”以及“手机xxx”的设备组),也即上述N个控件中还可以包括用于同步分享至多个其他设备(即第二电子设备)的多设备分享控件。如图14c所示,电子设备100接收用户针对多设备分享控件31的点击操作,响应于该点击操作,可以将该文件16分别发送至其他设备“我的手机”,以及其他设备“手机xxx”。其他设备“我的手机”,以及其他设备“手机xxx”可以接收到该文件16,从而可以大大提升文件分享的效率,为用户操作带来便捷。In a possible implementation manner, after the target control 23 is transformed into the target frame 24 , the user can also perform a grouping operation for the controls in the target frame 24 . For example, please refer to FIG. 14a-FIG. 14c, FIG. 14a-FIG. 14c are a set of schematic diagrams of user interfaces provided by the embodiments of the present application. As shown in FIG. 14a, the electronic device 100 receives the user's drag operation on the share control 28, and in response to the drag operation, forms a snapshot 28' of the share control 28, and drags it out along with the user's drag operation. As shown in FIG. 14b and FIG. 14c, the electronic device 100 responds to the user's drag operation on the snapshot 28', and in response to the drag operation, detects that the snapshot 28' is located above the sharing control 30, and the user releases the Open the mouse/trackpad, create and display the multi-device sharing control 31 corresponding to the sharing control 28 and the sharing control 30 (that is, the device group including "my mobile phone" and "mobile phone xxx"), that is, among the above N controls A multi-device sharing control for synchronously sharing to multiple other devices (ie, the second electronic device) may also be included. As shown in FIG. 14c, the electronic device 100 receives the user's click operation on the multi-device sharing control 31, and in response to the click operation, the file 16 can be respectively sent to other devices "my phone" and other devices "mobile phone xxx" . The other device "my mobile phone" and the other device "mobile phone xxx" can receive the file 16, thereby greatly improving the efficiency of file sharing and bringing convenience to the user's operation.
可选地,在创建多设备分享控件31后,用户还可以拖拽其他分享控件,例如拖拽分享控件25至该多设备分享控件31并松开,从而创建一次可以分享给三台设备的控件(也即包含“我的电脑”、“我的手机”以及“手机xxx”的设备组),进一步提升分享效率。如上所述,此功能主要针对常用2人以上设备的共享,如同一部门的同事/同一班级的同学/一起去旅游的朋友间的快捷分享,为用户操作带来便捷。Optionally, after creating the multi-device sharing control 31, the user can also drag and drop other sharing controls, for example, drag the sharing control 25 to the multi-device sharing control 31 and release it, thereby creating a control that can be shared with three devices at a time. (that is, the device group including "My Computer", "My Mobile Phone" and "Mobile Phone xxx") to further improve the sharing efficiency. As mentioned above, this function is mainly aimed at the sharing of commonly used devices of more than 2 people, such as quick sharing among colleagues in the same department/classmates/friends traveling together, bringing convenience to user operations.
可选地,该多设备分享控件31(也即该包含“我的手机”以及“手机xxx”的设备组)可以保存至后台。电子设备100可以一直在目标框24内显示该多设备分享控件31,或者,当电子设备100通过蓝牙等方式识别到该设备组内的任意一个设备时,可以在该目标框24内显示该多设备分享控件31,可选地,该设备组内未识别到的设备可以置灰,以提示用户。Optionally, the multi-device sharing control 31 (that is, the device group including "my mobile phone" and "mobile phone xxx") can be saved in the background. The electronic device 100 can always display the multi-device sharing control 31 in the target frame 24, or, when the electronic device 100 recognizes any device in the device group through Bluetooth or the like, it can display the multi-device sharing control 31 in the target frame 24. The device sharing control 31, optionally, the unrecognized devices in the device group can be grayed out to prompt the user.
应用场景二:如今的全局搜索功能下,用户只能打开搜索到的内容,而无法对内容进行快捷操作。本申请实施例进一步提出了用户通过拖拽搜索到的内容,即可唤出传送门(也即 控件),并将搜索到的内容分享出去的方案。请参阅图15a-图15e,图15a-图15e是本申请实施例提供的一组用户界面示意图。如图15a所示,以电子设备100为笔记本电脑为例,电子设备100显示用户界面32,该用户界面32内可以包括搜索窗口,该搜索窗口内可以包括多条搜索内容,该多条搜索内容可以为通过电子设备100的全局搜索功能,根据关键词搜索得到的,例如可以为文件、名片和浏览器连接等等。如图15b和图15c所示,电子设备100接收用户针对搜索内容1的拖拽操作,响应于该拖拽操作,形成搜索内容1的快照,并随着用户的拖拽操作拖拽而出。当电子设备100检测到该搜索内容1的快照(或者光标)在一定的时长范围内仍然位于搜索内容1原位置所在的一定区域内时,在与该拖拽操作的不同方向上显示目标控件23。如图15d所示,电子设备100接收用户针对搜索内容1的快照的拖拽操作,响应于该拖拽操作,逐渐放大目标控件23的尺寸,并逐渐缩小搜索内容1的快照的尺寸,当电子设备检测到该搜索内容1的快照位于目标控件23上时(或者说当光标位于该目标控件23上时),控制目标控件23变色,以提示用户此时可以松开鼠标/触控板,结束拖拽操作,以触发更多的功能。如图15e所示,当电子设备100检测到用户松开鼠标/触控板,电子设备100可以在界面中心(或者其他合适的位置)显示目标框24,并取消显示目标控件23。如图13e所示,该目标框24内可以包括多个分享控件,此处不再赘述。电子设备100接收用户针对分享控件28的点击操作,响应于该点击操作,将搜索内容1发送至其他设备“我的手机”。如图15e所示,其他设备可以接收到该搜索内容1(图中以文件“毕业相册”为例)。应用场景二中部分细节可参考上述图13a-图13e对应实施例的描述,此处不再进行赘述。Application Scenario 2: Under today's global search function, users can only open the searched content, but cannot perform shortcut operations on the content. The embodiment of the present application further proposes a solution that the user can call up the portal (that is, the control) by dragging the searched content, and share the searched content. Please refer to FIG. 15a-FIG. 15e. FIG. 15a-FIG. 15e are schematic diagrams of a group of user interfaces provided by the embodiments of the present application. As shown in FIG. 15a, taking the electronic device 100 as a notebook computer as an example, the electronic device 100 displays a user interface 32, the user interface 32 may include a search window, and the search window may include multiple pieces of search content, the multiple pieces of search content It may be obtained through the global search function of the electronic device 100 and searched according to keywords, for example, it may be a file, a business card, a browser connection, and the like. As shown in FIG. 15b and FIG. 15c , the electronic device 100 receives the user's drag operation on the search content 1, and in response to the drag operation, forms a snapshot of the search content 1, and drags out the search content 1 along with the user's drag operation. When the electronic device 100 detects that the snapshot (or cursor) of the search content 1 is still located in a certain area where the original position of the search content 1 is located within a certain period of time, the target control 23 is displayed in a direction different from the drag operation. . As shown in FIG. 15d, the electronic device 100 receives the user's drag operation for the snapshot of the search content 1, and in response to the drag operation, gradually enlarges the size of the target control 23, and gradually reduces the size of the snapshot of the search content 1. When the device detects that the snapshot of the search content 1 is located on the target control 23 (or when the cursor is located on the target control 23), the device controls the target control 23 to change color to remind the user that the mouse/touchpad can be released at this time, and the end Drag and drop to trigger more functions. As shown in FIG. 15e , when the electronic device 100 detects that the user has released the mouse/touchpad, the electronic device 100 can display the target frame 24 in the center of the interface (or other suitable positions), and cancel the display of the target control 23 . As shown in FIG. 13e , the target frame 24 may include a plurality of sharing controls, which will not be repeated here. The electronic device 100 receives the user's click operation on the sharing control 28, and in response to the click operation, sends the search content 1 to the other device "my mobile phone". As shown in Fig. 15e, other devices can receive the search content 1 (in the figure, the file "graduation album" is taken as an example). For some details of the second application scenario, reference may be made to the descriptions of the embodiments corresponding to FIG. 13a to FIG. 13e, which are not repeated here.
应用场景三:请参阅图16a-图16d,图16a-图16d是本申请实施例提供的一组用户界面示意图。如图16a所示,以电子设备100为平板电脑为例,电子设备100显示用户界面33,该用户界面33中可以包括应用程序(例如天气、音乐、视频、应用商场、邮件和图库等等)。电子设备100接收用户针对应用程序图库的点击操作34,响应于该点击操作34,显示用户35,该用户界面35可以包括多张图片。如图16b所示,电子设备100接收用户针对图片8的拖拽操作36,响应于该拖拽操作36,当电子设备100检测到该图片8(或者手指)在一定的时长范围内仍然位于该拖拽操作36开始时手指原位置所在的一定区域内时,在与该拖拽操作36的不同方向上显示目标控件23。如图16c所示,电子设备100接收用户针对图片8的拖拽操作37,响应于该拖拽操作37,逐渐放大目标控件23的尺寸,并逐渐缩小图片8的尺寸,当电子设备100检测到该图片8位于目标控件23上时(或者说当手指位于该目标控件23上时),控制目标控件23变色,以提示用户此时可以松开手指,结束拖拽操作37。如图16d所示,当电子设备100检测到用户松开手指,电子设备100可以在目标控件23所在的位置(或者其他合适的位置)显示目标框24,并取消显示目标控件23。如图16d所示,该目标框24内可以包括多个分享控件,此处不再赘述。电子设备100接收用户针对分享控件26的点击操作38,响应于该点击操作38,将图片8发送至其他设备“我的电脑”,“我的电脑”可以接收到该图片8。应用场景三中部分细节可参考上述图13a-图13e对应实施例的描述,此处不再进行赘述。Application scenario 3: Please refer to FIG. 16a-FIG. 16d. FIG. 16a-FIG. 16d are schematic diagrams of a set of user interfaces provided by the embodiments of the present application. As shown in FIG. 16a, taking the electronic device 100 as a tablet computer as an example, the electronic device 100 displays a user interface 33, and the user interface 33 may include application programs (such as weather, music, video, application store, mail and gallery, etc.) . The electronic device 100 receives the user's click operation 34 for the application gallery, and in response to the click operation 34, displays the user 35, which may include a plurality of pictures. As shown in FIG. 16b, the electronic device 100 receives the user's drag operation 36 for the picture 8, and in response to the drag operation 36, when the electronic device 100 detects that the picture 8 (or finger) is still located in the picture 8 within a certain time range When the drag operation 36 starts within a certain area where the original position of the finger is located, the target control 23 is displayed in a different direction from the drag operation 36 . As shown in FIG. 16c, the electronic device 100 receives the user's drag operation 37 for the picture 8, and in response to the drag operation 37, gradually enlarges the size of the target control 23, and gradually reduces the size of the picture 8, when the electronic device 100 detects that When the picture 8 is positioned on the target control 23 (or when the finger is positioned on the target control 23 ), the target control 23 is controlled to change color to prompt the user to release the finger and end the drag operation 37 . As shown in FIG. 16d , when the electronic device 100 detects that the user releases the finger, the electronic device 100 can display the target frame 24 at the position where the target control 23 is located (or other suitable positions), and cancel the display of the target control 23 . As shown in FIG. 16d, the target frame 24 may include a plurality of sharing controls, which will not be repeated here. The electronic device 100 receives the user's click operation 38 on the sharing control 26 , and in response to the click operation 38 , sends the picture 8 to the other device "My Computer", and "My Computer" can receive the picture 8 . For some details of the third application scenario, reference may be made to the descriptions of the embodiments corresponding to FIG. 13a to FIG. 13e, which are not repeated here.
应用场景四:请参阅图17a-图17d,图17a-图17d是本申请实施例提供的一组用户界面示意图。如图17a所示,以电子设备100为智能手机为例,电子设备100显示用户界面39,该用户界面39可以为资源管理器界面,其中可以包括多个文件、文档等(例如文件1、文件2等,以及文档1、文档2和文档3等)。如图17b所示,电子设备100接收用户针对文档1 的拖拽操作40,响应于该拖拽操作40,当电子设备100检测到该文档1(或者手指)在一定的时长范围内仍然位于该拖拽操作40开始时手指原位置所在的一定区域内时,在与该拖拽操作40的不同方向上显示目标控件23。如图17c所示,电子设备100接收用户针对文档1的拖拽操作41,响应于该拖拽操作41,逐渐放大目标控件23的尺寸,并逐渐缩小文档1的尺寸,当电子设备100检测到该文档1位于目标控件23上时(或者说当手指位于该目标控件23上时),控制目标控件23变色,以提示用户此时可以松开手指,结束拖拽操作41。如图17d所示,当电子设备100检测到用户松开手指,电子设备100可以在界面中心(或者其他合适的位置)显示目标框24,并取消显示目标控件23。如图17d所示,该目标框24内可以包括多个分享控件,此处不再赘述。电子设备100接收用户针对分享控件27的点击操作42,响应于该点击操作42,将文档1发送至其他设备“我的平板”,“我的平板”可以接收到该图片8。应用场景四中部分细节可参考上述图13a-图13e对应实施例的描述,此处不再进行赘述。Application scenario 4: Please refer to FIG. 17a-FIG. 17d. FIG. 17a-FIG. 17d are schematic diagrams of a set of user interfaces provided by the embodiments of the present application. As shown in FIG. 17a, taking the electronic device 100 as a smartphone as an example, the electronic device 100 displays a user interface 39, which may be a resource manager interface, which may include multiple files, documents, etc. (for example, file 1, file 2, etc., and Document 1, Document 2, and Document 3, etc.). As shown in FIG. 17b, the electronic device 100 receives the user's drag operation 40 for document 1, and in response to the drag operation 40, when the electronic device 100 detects that the document 1 (or finger) is still located in the document 1 (or finger) within a certain period of time When the drag operation 40 starts within a certain area where the original position of the finger is located, the target control 23 is displayed in a different direction from the drag operation 40 . As shown in FIG. 17c, the electronic device 100 receives the user's drag operation 41 for document 1, and in response to the drag operation 41, gradually enlarges the size of the target control 23, and gradually reduces the size of the document 1, when the electronic device 100 detects that When the document 1 is positioned on the target control 23 (or when the finger is positioned on the target control 23 ), the target control 23 is controlled to change color to prompt the user to release the finger and end the drag operation 41 . As shown in FIG. 17d , when the electronic device 100 detects that the user releases the finger, the electronic device 100 can display the target frame 24 in the center of the interface (or other suitable positions), and cancel the display of the target control 23 . As shown in FIG. 17d , the target frame 24 may include a plurality of sharing controls, which will not be repeated here. The electronic device 100 receives the user's click operation 42 on the sharing control 27 , and in response to the click operation 42 , sends the document 1 to the other device "My Tablet", and "My Tablet" can receive the picture 8 . For some details of the application scenario 4, reference may be made to the descriptions of the corresponding embodiments in the above-mentioned FIGS. 13 a to 13 e , which will not be repeated here.
综上,本申请实施例提出了一种控件显示方法,可以通过对用户拖拽操作的时长和移动范围的检测,识别用户操作意图,适时的显示控件,降低了对用户操作视觉上的干扰,同时,还缩短了用户执行拖拽操作的路径,降低了用户的操作负担,提高了用户的操作效率。本申请实施例挖掘了更多视觉表达及交互方式,探索了更多可拖拽内容及具体实施例场景。In conclusion, the embodiment of the present application proposes a control display method, which can identify the user's operation intention by detecting the duration and movement range of the user's drag operation, display the control in a timely manner, and reduce the visual interference to the user's operation. At the same time, the path for the user to perform the dragging operation is shortened, the operation burden of the user is reduced, and the operation efficiency of the user is improved. The embodiments of the present application explore more visual expressions and interaction methods, and explore more draggable content and specific embodiment scenarios.
上述详细阐述了本申请实施例的方法,下面提供了本申请实施例的相关装置。The methods of the embodiments of the present application are described in detail above, and the related apparatuses of the embodiments of the present application are provided below.
请参见图18,图18是本申请实施例提供的一种控件显示装置的结构示意图,该控件显示装置20可以包括第一显示单元201、第一确定单元202、第二显示单元203、第三显示单元204和第四显示单元205,还可以包括生成单元206。其中,各个单元的详细描述如下。Please refer to FIG. 18 . FIG. 18 is a schematic structural diagram of a control display device provided by an embodiment of the present application. The control display device 20 may include a first display unit 201 , a first determination unit 202 , a second display unit 203 , and a third display unit 201 . The display unit 204 and the fourth display unit 205 may further include a generating unit 206 . The detailed description of each unit is as follows.
第一显示单元201,用于显示第一界面;其中,所述第一界面包括目标对象,所述目标对象包括第一目标点,所述第一目标点位于所述第一界面的第一位置;The first display unit 201 is configured to display a first interface; wherein, the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface ;
第一确定单元202,用于接收并响应于针对所述目标对象上的所述第一目标点的第一拖拽操作,确定所述第一位置所在的第一区域,以及确定所述第一目标点位于所述第一界面的第二位置;A first determining unit 202, configured to receive and respond to a first drag operation for the first target point on the target object, determine a first area where the first position is located, and determine the first the target point is located at the second position of the first interface;
第二显示单元203,用于若检测到所述第二位置在所述第一区域内,且所述第一拖拽操作持续的时长大于第一时长阈值,则在所述第一界面的第三位置上显示目标控件;The second display unit 203 is configured to, if it is detected that the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, display the second position on the first interface of the first interface. Display target controls in three positions;
第三显示单元204,用于接收并响应于针对所述第一目标点的第二拖拽操作,确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;所述第四位置在所述第三位置所在的第二区域内;所述目标框包括N个控件,N为大于或者等于1的整数;The third display unit 204 is configured to receive and respond to the second drag operation for the first target point, determine that the first target point is located at the fourth position of the first interface, and A target frame is displayed on the position; the fourth position is in the second area where the third position is located; the target frame includes N controls, and N is an integer greater than or equal to 1;
第四显示单元205,用于接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面。The fourth display unit 205 is configured to receive and display a second interface in response to a click operation on one of the N controls.
在一种可能的实施方式中,所述第一电子设备包括第一显示屏和M个第二显示屏,所述第一界面和所述第二界面为所述第一显示屏上显示的界面;所述N个控件中包括与所述M个第二显示屏一一对应的M个切换屏显示控件,M为大于或者等于1的整数;所述第四显示单元205,具体用于:In a possible implementation manner, the first electronic device includes a first display screen and M second display screens, and the first interface and the second interface are interfaces displayed on the first display screen The N controls include M switch screen display controls corresponding to the M second display screens one-to-one, where M is an integer greater than or equal to 1; the fourth display unit 205 is specifically used for:
接收并响应于针对所述M个切换屏显示控件中的第i个切换屏显示控件的点击操作,显示第二界面:所述第二界面中不包括所述目标对象;所述第i个切换屏显示控件对应的第i个第二显示屏上所显示的第三界面中包括所述目标对象;i为大于或者等于1,且小于或者等 于M的整数。Receiving and responding to a click operation on the i-th switch-screen display control among the M switch-screen display controls, displaying a second interface: the second interface does not include the target object; the i-th switch The third interface displayed on the i-th second display screen corresponding to the screen display control includes the target object; i is an integer greater than or equal to 1 and less than or equal to M.
在一种可能的实施方式中,所述N个控件中包括全屏显示控件;所述第四显示单元205,具体用于:In a possible implementation manner, the N controls include a full-screen display control; the fourth display unit 205 is specifically used for:
接收并响应于针对所述全屏显示控件的点击操作,显示第二界面;所述第二界面中包括所述目标对象,所述第二界面中所述目标对象的尺寸大于所述第一界面中所述目标对象的尺寸。receiving and responding to a click operation on the full-screen display control, displaying a second interface; the second interface includes the target object, and the size of the target object in the second interface is larger than that in the first interface The size of the target object.
在一种可能的实施方式中,所述N个控件中包括与K个第二电子设备一一对应的K个分享控件;所述第四显示单元205,具体用于:In a possible implementation manner, the N controls include K share controls corresponding to the K second electronic devices one-to-one; the fourth display unit 205 is specifically used for:
接收并响应于针对所述K个分享控件中的第j个分享控件的点击操作,将所述目标对象发送至与所述第j个分享控件对应的第j个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同;j为大于或者等于1,且小于或者等于K的整数。Receive and respond to the click operation for the jth sharing control in the K sharing controls, send the target object to the jth second electronic device corresponding to the jth sharing control, and display the jth second electronic device. Two interfaces; wherein, the second interface is the same as the first interface; j is an integer greater than or equal to 1 and less than or equal to K.
在一种可能的实施方式中,所述装置还包括:In a possible implementation, the device further includes:
生成单元206,用于接收并响应于针对所述K个分享控件中的第x个分享控件的第三拖拽操作,形成与所述第x个分享控件对应的快照,在检测到所述第x个分享控件对应的快照位于第y个分享控件所在的第三区域内时,生成与第x个第二电子设备以及第y个第二电子设备对应的多设备分享控件;其中,所述N个控件中还包括所述多设备分享控件;x、y为大于或者等于1,且小于或者等于K的整数。The generating unit 206 is configured to receive and respond to the third drag operation for the x th sharing control in the K sharing controls, and form a snapshot corresponding to the x th sharing control. When the snapshots corresponding to the x-th sharing controls are located in the third area where the y-th sharing control is located, multi-device sharing controls corresponding to the x-th second electronic device and the y-th second electronic device are generated; wherein the N Each control also includes the multi-device sharing control; x and y are integers greater than or equal to 1 and less than or equal to K.
在一种可能的实施方式中,所述第四显示单元205,具体用于:In a possible implementation manner, the fourth display unit 205 is specifically used for:
接收并响应于针对所述多设备分享控件的点击操作,将所述目标对象分别发送至与所述多设备分享控件对应的所述第x个第二电子设备以及所述第y个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同。Receive and respond to the click operation for the multi-device sharing control, respectively sending the target object to the xth second electronic device and the yth second electronic device corresponding to the multi-device sharing control device, and display a second interface; wherein, the second interface is the same as the first interface.
在一种可能的实施方式中,所述第三显示单元204,具体用于:In a possible implementation manner, the third display unit 204 is specifically used for:
接收并响应于针对所述第一目标点的第二拖拽操作,逐渐缩小所述目标对象的尺寸,以及逐渐增大所述目标控件的尺寸;确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;其中,当检测到所述第一目标点位于所述第三位置所在的第二区域内时,改变所述目标控件的颜色至目标颜色;所述目标颜色用于提示用户所述第一目标点位于所述第三位置所在的第二区域内,以完成所述第二拖拽操作。receiving and responding to a second drag operation for the first target point, gradually reducing the size of the target object, and gradually increasing the size of the target control; determining that the first target point is located at the first The fourth position of the interface, and a target frame is displayed on the third position; wherein, when it is detected that the first target point is located in the second area where the third position is located, the color of the target control is changed to the target color; the target color is used to prompt the user that the first target point is located in the second area where the third position is located, so as to complete the second drag operation.
在一种可能的实施方式中,所述第一位置指向所述第三位置的方向与所述第一位置指向所述第二位置的方向不同。In a possible implementation manner, the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
在一种可能的实施方式中,所述目标对象为窗口、文件、名片和链接中的任意一种。In a possible implementation manner, the target object is any one of a window, a file, a business card and a link.
需要说明的是,本申请实施例中各个单元的实现还可参见上述图3-图17d所示的实施例的相关描述,此处不再赘述。It should be noted that, for the implementation of each unit in the embodiments of the present application, reference may also be made to the relevant descriptions of the embodiments shown in FIG. 3 to FIG. 17d , which are not repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可能可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。 例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以为个人计算机、服务端或者网络设备等,具体可以是计算机设备中的处理器)执行本申请各个实施例上述方法的全部或部分步骤。其中,而前述的存储介质可包括:U盘、移动硬盘、磁碟、光盘、只读存储器(Read-Only Memory,缩写:ROM)或者随机存取存储器(Random Access Memory,缩写:RAM)等各种可以存储程序代码的介质。If the above-mentioned integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc., specifically a processor in the computer device) to execute all or part of the steps of the above methods in various embodiments of the present application. Wherein, the aforementioned storage medium may include: U disk, mobile hard disk, magnetic disk, optical disk, Read-Only Memory (Read-Only Memory, abbreviation: ROM) or Random Access Memory (Random Access Memory, abbreviation: RAM), etc. A medium that can store program code.
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (19)

  1. 一种控件显示方法,其特征在于,应用于第一电子设备,包括:A control display method, characterized in that, applied to a first electronic device, comprising:
    显示第一界面;其中,所述第一界面包括目标对象,所述目标对象包括第一目标点,所述第一目标点位于所述第一界面的第一位置;displaying a first interface; wherein, the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface;
    接收并响应于针对所述目标对象上的所述第一目标点的第一拖拽操作,确定所述第一位置所在的第一区域,以及确定所述第一目标点位于所述第一界面的第二位置;Receive and respond to a first drag operation for the first target point on the target object, determine a first area where the first position is located, and determine that the first target point is located on the first interface the second position;
    若检测到所述第二位置在所述第一区域内,且所述第一拖拽操作持续的时长大于第一时长阈值,则在所述第一界面的第三位置上显示目标控件;If it is detected that the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, displaying the target control at the third position of the first interface;
    接收并响应于针对所述第一目标点的第二拖拽操作,确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;所述第四位置在所述第三位置所在的第二区域内;所述目标框包括N个控件,N为大于或者等于1的整数;receiving and responding to a second drag operation for the first target point, determining that the first target point is located at a fourth position on the first interface, and displaying a target frame at the third position; the The fourth position is in the second area where the third position is located; the target frame includes N controls, and N is an integer greater than or equal to 1;
    接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面。A second interface is displayed in response to receiving and responding to a click operation on one of the N controls.
  2. 根据权利要求1所述的方法,其特征在于,所述第一电子设备包括第一显示屏和M个第二显示屏,所述第一界面和所述第二界面为所述第一显示屏上显示的界面;所述N个控件中包括与所述M个第二显示屏一一对应的M个切换屏显示控件,M为大于或者等于1的整数;所述接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面,具体包括:The method according to claim 1, wherein the first electronic device comprises a first display screen and M second display screens, and the first interface and the second interface are the first display screen The interface displayed on the screen; the N controls include M switching screen display controls corresponding to the M second display screens one-to-one, where M is an integer greater than or equal to 1; the receiving and responding to the The click operation of one of the N controls displays the second interface, which specifically includes:
    接收并响应于针对所述M个切换屏显示控件中的第i个切换屏显示控件的点击操作,显示第二界面:所述第二界面中不包括所述目标对象;所述第i个切换屏显示控件对应的第i个第二显示屏上所显示的第三界面中包括所述目标对象;i为大于或者等于1,且小于或者等于M的整数。Receiving and responding to a click operation on the i-th switch-screen display control among the M switch-screen display controls, displaying a second interface: the second interface does not include the target object; the i-th switch The third interface displayed on the i-th second display screen corresponding to the screen display control includes the target object; i is an integer greater than or equal to 1 and less than or equal to M.
  3. 根据权利要求1所述的方法,其特征在于,所述N个控件中包括全屏显示控件;所述接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面,具体包括:The method according to claim 1, wherein the N controls include a full-screen display control; the receiving and responding to a click operation on one of the N controls, displaying the second interface, Specifically include:
    接收并响应于针对所述全屏显示控件的点击操作,显示第二界面;所述第二界面中包括所述目标对象,所述第二界面中所述目标对象的尺寸大于所述第一界面中所述目标对象的尺寸。receiving and responding to a click operation on the full-screen display control, displaying a second interface; the second interface includes the target object, and the size of the target object in the second interface is larger than that in the first interface The size of the target object.
  4. 根据权利要求1所述的方法,其特征在于,所述N个控件中包括与K个第二电子设备一一对应的K个分享控件;所述接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面,具体包括:The method according to claim 1, wherein the N controls include K shared controls corresponding to the K second electronic devices one-to-one; the receiving and responding to the control for the N controls The click operation of one of the controls displays the second interface, which includes:
    接收并响应于针对所述K个分享控件中的第j个分享控件的点击操作,将所述目标对象发送至与所述第j个分享控件对应的第j个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同;j为大于或者等于1,且小于或者等于K的整数。Receive and respond to the click operation for the jth sharing control in the K sharing controls, send the target object to the jth second electronic device corresponding to the jth sharing control, and display the jth second electronic device. Two interfaces; wherein, the second interface is the same as the first interface; j is an integer greater than or equal to 1 and less than or equal to K.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    接收并响应于针对所述K个分享控件中的第x个分享控件的第三拖拽操作,形成与所述第x个分享控件对应的快照,在检测到所述第x个分享控件对应的快照位于第y个分享控件所在的第三区域内时,生成与第x个第二电子设备以及第y个第二电子设备对应的多设备分 享控件;其中,所述N个控件中还包括所述多设备分享控件;x、y为大于或者等于1,且小于或者等于K的整数。Receive and respond to the third drag operation for the x th sharing control in the K sharing controls, form a snapshot corresponding to the x th sharing control, and detect that the x th sharing control corresponds to the third drag operation. When the snapshot is located in the third area where the yth sharing control is located, a multi-device sharing control corresponding to the xth second electronic device and the yth second electronic device is generated; wherein, the N controls also include all The multi-device sharing control; x and y are integers greater than or equal to 1 and less than or equal to K.
  6. 根据权利要求4所述的方法,其特征在于,所述接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面,具体包括:The method according to claim 4, wherein the receiving and responding to a click operation on one of the N controls, and displaying the second interface, specifically includes:
    接收并响应于针对所述多设备分享控件的点击操作,将所述目标对象分别发送至与所述多设备分享控件对应的所述第x个第二电子设备以及所述第y个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同。Receive and respond to the click operation for the multi-device sharing control, respectively sending the target object to the xth second electronic device and the yth second electronic device corresponding to the multi-device sharing control device, and display a second interface; wherein, the second interface is the same as the first interface.
  7. 根据权利要求1-6任意一项所述的方法,其特征在于,所述接收并响应于针对所述第一目标点的第二拖拽操作,确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框,具体包括:The method according to any one of claims 1-6, wherein the receiving and responding to a second drag operation for the first target point determines that the first target point is located at the first target point The fourth position of the interface, and the target frame is displayed on the third position, which specifically includes:
    接收并响应于针对所述第一目标点的第二拖拽操作,逐渐缩小所述目标对象的尺寸,以及逐渐增大所述目标控件的尺寸;确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;其中,当检测到所述第一目标点位于所述第三位置所在的第二区域内时,改变所述目标控件的颜色至目标颜色;所述目标颜色用于提示用户所述第一目标点位于所述第三位置所在的第二区域内,以完成所述第二拖拽操作。receiving and responding to a second drag operation for the first target point, gradually reducing the size of the target object, and gradually increasing the size of the target control; determining that the first target point is located at the first The fourth position of the interface, and a target frame is displayed on the third position; wherein, when it is detected that the first target point is located in the second area where the third position is located, the color of the target control is changed to the target color; the target color is used to prompt the user that the first target point is located in the second area where the third position is located, so as to complete the second drag operation.
  8. 根据权利要求1-7任意一项所述的方法,其特征在于,所述第一位置指向所述第三位置的方向与所述第一位置指向所述第二位置的方向不同。The method according to any one of claims 1-7, wherein the direction in which the first position points to the third position is different from the direction in which the first position points to the second position.
  9. 根据权利要求1-8任意一项所述的方法,其特征在于,所述目标对象为窗口、文件、名片和链接中的任意一种。The method according to any one of claims 1-8, wherein the target object is any one of a window, a file, a business card and a link.
  10. 一种电子设备,其特征在于,所述电子设备为第一电子设备,包括第一显示屏、存储器、一个或多个处理器;所述第一显示屏、所述存储器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,所述一个或多个处理器调用所述计算机指令以使得所述电子设备执行:An electronic device, characterized in that the electronic device is a first electronic device, comprising a first display screen, a memory, and one or more processors; the first display screen, the memory, and the one or more processors two processors are coupled, the memory for storing computer program code, the computer program code comprising computer instructions that the one or more processors invoke to cause the electronic device to perform:
    显示第一界面;其中,所述第一界面包括目标对象,所述目标对象包括第一目标点,所述第一目标点位于所述第一界面的第一位置;displaying a first interface; wherein, the first interface includes a target object, the target object includes a first target point, and the first target point is located at a first position of the first interface;
    接收并响应于针对所述目标对象上的所述第一目标点的第一拖拽操作,确定所述第一位置所在的第一区域,以及确定所述第一目标点位于所述第一界面的第二位置;Receive and respond to a first drag operation for the first target point on the target object, determine a first area where the first position is located, and determine that the first target point is located on the first interface the second position;
    若检测到所述第二位置在所述第一区域内,且所述第一拖拽操作持续的时长大于第一时长阈值,则在所述第一界面的第三位置上显示目标控件;If it is detected that the second position is within the first area, and the duration of the first drag operation is greater than the first duration threshold, displaying the target control at the third position of the first interface;
    接收并响应于针对所述第一目标点的第二拖拽操作,确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;所述第四位置在所述第三位置所在的第二区域内;所述目标框包括N个控件,N为大于或者等于1的整数;receiving and responding to a second drag operation for the first target point, determining that the first target point is located at a fourth position on the first interface, and displaying a target frame at the third position; the The fourth position is in the second area where the third position is located; the target frame includes N controls, and N is an integer greater than or equal to 1;
    接收并响应于针对所述N个控件中的其中一个控件的点击操作,显示第二界面。A second interface is displayed in response to receiving and responding to a click operation on one of the N controls.
  11. 根据权利要求10所述的电子设备,其特征在于,所述电子设备还包括M个第二显示屏;所述第一显示屏、所述M个第二显示屏、所述存储器与所述一个或多个处理器耦合;所 述第一界面和所述第二界面为所述第一显示屏上显示的界面;所述N个控件中包括与所述M个第二显示屏一一对应的M个切换屏显示控件,M为大于或者等于1的整数;所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:The electronic device according to claim 10, wherein the electronic device further comprises M second display screens; the first display screen, the M second display screens, the memory and the one or multiple processors are coupled; the first interface and the second interface are interfaces displayed on the first display screen; the N controls include one-to-one correspondence with the M second display screens M switching screen display controls, where M is an integer greater than or equal to 1; the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute:
    接收并响应于针对所述M个切换屏显示控件中的第i个切换屏显示控件的点击操作,显示第二界面:所述第二界面中不包括所述目标对象;所述第i个切换屏显示控件对应的第i个第二显示屏上所显示的第三界面中包括所述目标对象;i为大于或者等于1,且小于或者等于M的整数。Receiving and responding to a click operation on the i-th switch-screen display control among the M switch-screen display controls, displaying a second interface: the second interface does not include the target object; the i-th switch The third interface displayed on the i-th second display screen corresponding to the screen display control includes the target object; i is an integer greater than or equal to 1 and less than or equal to M.
  12. 根据权利要求10所述的电子设备,其特征在于,所述N个控件中包括全屏显示控件;所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:The electronic device according to claim 10, wherein the N controls include a full-screen display control; the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute:
    接收并响应于针对所述全屏显示控件的点击操作,显示第二界面;所述第二界面中包括所述目标对象,所述第二界面中所述目标对象的尺寸大于所述第一界面中所述目标对象的尺寸。receiving and responding to a click operation on the full-screen display control, displaying a second interface; the second interface includes the target object, and the size of the target object in the second interface is larger than that in the first interface The size of the target object.
  13. 根据权利要求10所述的电子设备,其特征在于,所述N个控件中包括与K个第二电子设备一一对应的K个分享控件;所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:The electronic device according to claim 10, wherein the N controls include K shared controls corresponding to the K second electronic devices one-to-one; the one or more processors are further configured to call the the computer instructions to cause the electronic device to execute:
    接收并响应于针对所述K个分享控件中的第j个分享控件的点击操作,将所述目标对象发送至与所述第j个分享控件对应的第j个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同;j为大于或者等于1,且小于或者等于K的整数。Receive and respond to the click operation for the jth sharing control in the K sharing controls, send the target object to the jth second electronic device corresponding to the jth sharing control, and display the jth second electronic device. Two interfaces; wherein, the second interface is the same as the first interface; j is an integer greater than or equal to 1 and less than or equal to K.
  14. 根据权利要求13所述的电子设备,其特征在于,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:The electronic device of claim 13, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute:
    接收并响应于针对所述K个分享控件中的第x个分享控件的第三拖拽操作,形成与所述第x个分享控件对应的快照,在检测到所述第x个分享控件对应的快照位于第y个分享控件所在的第三区域内时,生成与第x个第二电子设备以及第y个第二电子设备对应的多设备分享控件;其中,所述N个控件中还包括所述多设备分享控件;x、y为大于或者等于1,且小于或者等于K的整数。Receiving and responding to the third drag operation for the xth sharing control in the K sharing controls, a snapshot corresponding to the xth sharing control is formed, and after detecting the corresponding xth sharing control When the snapshot is located in the third area where the yth share control is located, a multi-device sharing control corresponding to the xth second electronic device and the yth second electronic device is generated; wherein, the N controls also include all The multi-device sharing control; x and y are integers greater than or equal to 1 and less than or equal to K.
  15. 根据权利要求13所述的电子设备,其特征在于,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:The electronic device of claim 13, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute:
    接收并响应于针对所述多设备分享控件的点击操作,将所述目标对象分别发送至与所述多设备分享控件对应的所述第x个第二电子设备以及所述第y个第二电子设备,并显示第二界面;其中,所述第二界面与所述第一界面相同。Receive and respond to the click operation for the multi-device sharing control, respectively sending the target object to the xth second electronic device and the yth second electronic device corresponding to the multi-device sharing control device, and display a second interface; wherein, the second interface is the same as the first interface.
  16. 根据权利要求10-15任意一项所述的电子设备,其特征在于,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:The electronic device according to any one of claims 10-15, wherein the one or more processors are further configured to invoke the computer instructions to cause the electronic device to execute:
    接收并响应于针对所述第一目标点的第二拖拽操作,逐渐缩小所述目标对象的尺寸,以及逐渐增大所述目标控件的尺寸;确定所述第一目标点位于所述第一界面的第四位置,并在所述第三位置上显示目标框;其中,当检测到所述第一目标点位于所述第三位置所在的第二区域内时,改变所述目标控件的颜色至目标颜色;所述目标颜色用于提示用户所述第一目标 点位于所述第三位置所在的第二区域内,以完成所述第二拖拽操作。receiving and responding to a second drag operation for the first target point, gradually reducing the size of the target object, and gradually increasing the size of the target control; determining that the first target point is located at the first The fourth position of the interface, and a target frame is displayed on the third position; wherein, when it is detected that the first target point is located in the second area where the third position is located, the color of the target control is changed to the target color; the target color is used to prompt the user that the first target point is located in the second area where the third position is located, so as to complete the second drag operation.
  17. 根据权利要求10-16任意一项所述的电子设备,其特征在于,所述第一位置指向所述第三位置的方向与所述第一位置指向所述第二位置的方向不同。The electronic device according to any one of claims 10-16, wherein a direction in which the first position points to the third position is different from a direction in which the first position points to the second position.
  18. 根据权利要求10-17任意一项所述的电子设备,其特征在于,所述目标对象为窗口、文件、名片和链接中的任意一种。The electronic device according to any one of claims 10-17, wherein the target object is any one of a window, a file, a business card and a link.
  19. 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-9中任意一项所述的方法。A computer-readable storage medium comprising instructions, characterized in that, when the instructions are executed on an electronic device, the electronic device is caused to perform the method according to any one of claims 1-9.
PCT/CN2022/083215 2021-04-07 2022-03-26 Control display method and related device WO2022213831A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110372085.6A CN115185440B (en) 2021-04-07 2021-04-07 Control display method and related equipment
CN202110372085.6 2021-04-07

Publications (1)

Publication Number Publication Date
WO2022213831A1 true WO2022213831A1 (en) 2022-10-13

Family

ID=83512323

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083215 WO2022213831A1 (en) 2021-04-07 2022-03-26 Control display method and related device

Country Status (2)

Country Link
CN (1) CN115185440B (en)
WO (1) WO2022213831A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116680019A (en) * 2022-10-26 2023-09-01 荣耀终端有限公司 Screen icon moving method, electronic equipment, storage medium and program product
CN116820229A (en) * 2023-05-17 2023-09-29 荣耀终端有限公司 XR space display method, XR equipment, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615102A (en) * 2008-06-26 2009-12-30 鸿富锦精密工业(深圳)有限公司 Input method based on touch-screen
JP2015228260A (en) * 2015-09-16 2015-12-17 Kddi株式会社 User interface device capable of performing scroll control according to degree of contact, image scroll method, and program
CN106249981A (en) * 2015-06-04 2016-12-21 Lg电子株式会社 Mobile terminal and control method thereof

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101387527B1 (en) * 2007-12-06 2014-04-23 엘지전자 주식회사 Terminal and method for displaying menu icon therefor
CN103324404B (en) * 2012-03-20 2017-02-01 宇龙计算机通信科技(深圳)有限公司 Method for moving icon and communication terminal
CN105653178A (en) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Information sharing method and apparatus
CN108228053A (en) * 2017-12-29 2018-06-29 努比亚技术有限公司 A kind of information sharing method, intelligent terminal and storage medium
CN111602381A (en) * 2018-07-02 2020-08-28 华为技术有限公司 Icon switching method, method for displaying GUI (graphical user interface) and electronic equipment
CN109725789B (en) * 2018-12-27 2021-06-04 维沃移动通信有限公司 Application icon archiving method and terminal equipment
CN109684110A (en) * 2018-12-28 2019-04-26 北京小米移动软件有限公司 Multimedia resource sharing method, device and storage medium
CN111443842B (en) * 2020-03-26 2021-11-12 维沃移动通信有限公司 Method for controlling electronic equipment and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615102A (en) * 2008-06-26 2009-12-30 鸿富锦精密工业(深圳)有限公司 Input method based on touch-screen
CN106249981A (en) * 2015-06-04 2016-12-21 Lg电子株式会社 Mobile terminal and control method thereof
JP2015228260A (en) * 2015-09-16 2015-12-17 Kddi株式会社 User interface device capable of performing scroll control according to degree of contact, image scroll method, and program

Also Published As

Publication number Publication date
CN115185440B (en) 2024-05-10
CN115185440A (en) 2022-10-14

Similar Documents

Publication Publication Date Title
WO2021013158A1 (en) Display method and related apparatus
WO2021129326A1 (en) Screen display method and electronic device
JP7385008B2 (en) Screen capture method and related devices
WO2021103981A1 (en) Split-screen display processing method and apparatus, and electronic device
WO2021000803A1 (en) Method for controlling small window of screen and related device
WO2021052147A1 (en) Data transmission method and related devices
WO2021036571A1 (en) Desktop editing method and electronic device
WO2021139768A1 (en) Interaction method for cross-device task processing, and electronic device and storage medium
WO2021036735A1 (en) User interface display method and electronic device
WO2021000839A1 (en) Screen splitting method and electronic device
WO2021104030A1 (en) Split-screen display method and electronic device
WO2020062294A1 (en) Display control method for system navigation bar, graphical user interface, and electronic device
WO2021036770A1 (en) Split-screen processing method and terminal device
WO2020253758A1 (en) User interface layout method and electronic device
WO2021063098A1 (en) Touch screen response method, and electronic device
WO2021196970A1 (en) Method for creating application shortcuts, electronic device, and system
WO2022068483A1 (en) Application startup method and apparatus, and electronic device
WO2021078032A1 (en) User interface display method and electronic device
WO2020238759A1 (en) Interface display method and electronic device
WO2022213831A1 (en) Control display method and related device
WO2022017393A1 (en) Display interaction system, display method, and device
WO2022052662A1 (en) Display method and electronic device
EP4024839A1 (en) Operation method and electronic device
WO2022052712A1 (en) Method and apparatus for processing interaction event
US20230236714A1 (en) Cross-Device Desktop Management Method, First Electronic Device, and Second Electronic Device

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: 22783898

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: 22783898

Country of ref document: EP

Kind code of ref document: A1