WO2021083052A1 - Object sharing method and electronic device - Google Patents

Object sharing method and electronic device Download PDF

Info

Publication number
WO2021083052A1
WO2021083052A1 PCT/CN2020/123315 CN2020123315W WO2021083052A1 WO 2021083052 A1 WO2021083052 A1 WO 2021083052A1 CN 2020123315 W CN2020123315 W CN 2020123315W WO 2021083052 A1 WO2021083052 A1 WO 2021083052A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
identifiers
application
electronic device
input
Prior art date
Application number
PCT/CN2020/123315
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 WO2021083052A1 publication Critical patent/WO2021083052A1/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/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/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/04842Selection of displayed objects or displayed text elements
    • 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
    • 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
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Definitions

  • the embodiments of the present application relate to the field of communication technology, and in particular, to an object sharing method and electronic equipment.
  • the process of sharing an image in application A to image B can be as follows: first trigger the electronic device to select the target image in application A, save the target image in the local album, and then trigger The electronic device switches the application A to running in the background, and opens the application B, and then triggers the electronic device to open the local album in the application B, find the target image and share it.
  • the embodiments of the present application provide an object sharing method and electronic device to solve the problem of low operational efficiency of cross-application data transmission in related technologies.
  • an embodiment of the present application provides an object sharing method applied to an electronic device.
  • the method includes: receiving a user's drag input of a target object in a first interface; in response to the drag input, displaying N Logo; in the case where the end position of the drag input and the display position of the first logo meet the preset conditions, share the target object to the first application; wherein, each of the N logos is used to indicate An application program, the first identifier is used to indicate the first application program, and N is a positive integer.
  • an embodiment of the present application provides an electronic device, the electronic device includes: a receiving module, a display module, and a sharing module; the receiving module is configured to receive a user's drag input of a target object in a first interface; The display module is configured to display N identifiers in response to the drag input received by the receiving module; the sharing module is configured to display N identifiers when the end position of the drag input and the display position of the first identifier meet a preset condition Next, share the target object to the first application program; wherein, each of the N identifiers is used to indicate an application program, the first identifier is used to indicate the first application program, and N is a positive integer.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor, the following On the one hand, the steps of the object sharing method.
  • an embodiment of the present application provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the object sharing method in the first aspect are implemented.
  • the electronic device may receive a drag input of the user on the target object in the first interface; in response to the drag input, display N identifiers; and the end position of the drag input is at the same position as the first identifier.
  • the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used to indicate the first application , N is a positive integer.
  • the user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the operation efficiency of data transmission between applications.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the application
  • FIG. 2 is one of the flowcharts of the object sharing method provided by the embodiment of the application.
  • FIG. 3 is one of the schematic diagrams of the interface of the object sharing method provided by the embodiment of the application.
  • FIG. 5 is the second flowchart of the object sharing method provided by an embodiment of the application.
  • FIG. 6 is the third schematic diagram of the interface of the object sharing method provided by the embodiment of the application.
  • FIG. 7 is the third flowchart of the object sharing method provided by an embodiment of the application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
  • FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the application.
  • first”, “second”, “third”, and “fourth” in the specification and claims of this application are used to distinguish different objects, rather than describing a specific order of objects.
  • first interface, the second interface, the third interface, and the fourth interface are used to distinguish different interfaces, rather than to describe a specific order of the interfaces.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple processing units refers to two or more processing units; multiple elements Refers to two or more elements, etc.
  • the embodiment of the present application provides an object sharing method.
  • the electronic device can receive a user's drag input on the target object in the first interface; in response to the drag input, display N identifiers; at the end position of the drag input If the display position of the first identifier meets the preset condition, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used to indicate For the first application, N is a positive integer.
  • the user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the operation efficiency of data transmission between applications.
  • the following takes the Android operating system as an example to introduce the software environment to which the object sharing method provided in the embodiments of the present application is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of this application.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • a developer can develop a software program that implements the object sharing method provided by the embodiment of this application based on the system architecture of the Android operating system as shown in FIG. 1, so that the object The sharing method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the object sharing method provided in the embodiments of the present application by running the software program in the Android operating system.
  • the electronic device in the embodiment of the present application may be a mobile electronic device or a non-mobile electronic device.
  • Mobile electronic devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle terminals, wearable devices, ultra-mobile personal computers (UMPC), netbooks, or personal digital assistants (personal digital assistants, PDAs), etc.
  • the non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc.; the embodiment of the application does not specifically limit it.
  • the execution subject of the object sharing method provided by the embodiments of the present application can be the aforementioned electronic device (including mobile electronic devices and non-mobile electronic devices), or can be a functional module and/or functional entity in the electronic device that can implement the method.
  • the details can be determined according to actual use requirements, and the embodiments of the present application do not limit it.
  • the following takes an electronic device as an example to illustrate the object sharing method provided in the embodiment of the present application.
  • an embodiment of the present application provides an object sharing method, which may include the following steps 201 to 203.
  • Step 201 The electronic device receives the user's drag input of the target object in the first interface.
  • the first interface may be a chat interface, a circle of friends interface, etc. in an instant social application
  • the first interface may also be a search interface, a search result interface, etc. in a search application
  • the first interface may also be
  • the shopping interface in the shopping application the first interface can also be the e-book interface in the e-book application, etc., and the first interface can also be other feasible interfaces, which can be determined according to actual use requirements. This embodiment does not limited.
  • the target object may be text, image, video file, audio file, etc., which may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit it.
  • the input parameters of the drag input include at least one of the following: the movement direction of the drag input, the trajectory of the drag input, and the end position of the drag input; the input parameters of the drag input may also include other feasibility parameters, which are implemented in this application The examples are not limited.
  • Step 202 In response to the drag input, the electronic device displays N identifiers.
  • Step 203 When the end position of the drag input and the display position of the first identifier meet a preset condition, the electronic device shares the target object to the first application.
  • Each of the N identifiers is used to indicate an application program, and the first identifier is used to indicate a first application program; where N is a positive integer.
  • each of the N identifiers may be the application icon of the indicated application, or the name of the indicated application, or the interface thumbnail of the indicated application, or It may be another identifier that can be used to indicate an application program, which is not limited in the embodiment of the present application.
  • the N applications indicated by the N identifiers may be applications currently running in the background (may also include applications currently running in the foreground, that is, the applications corresponding to the first interface (hereinafter referred to as the second application).
  • Program an application that is displayed on a separate screen with a second application, or an application that is displayed on a different screen of an electronic device (multi-screen electronic device) with the second application, the embodiment of the application does not limit it); it can also be
  • the preset N application programs may also be any N application programs, which may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit it.
  • the number of N identifiers can be reduced, which facilitates the user to find the first identifier, and improves the user cross-application.
  • the speed of data transmission thereby enhancing the user experience.
  • the N logos can be superimposed and displayed on the first interface, and the N logos can also be displayed on the desktop of the electronic device (at this time, the N logos may be application icons on the desktop, or not The application icon in the desktop) can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present application.
  • step 202 may be specifically implemented by the following step 202a or step 202b.
  • Step 202a In response to the drag input, the electronic device displays the N identifiers on the first interface according to a preset display effect when the input parameters of the drag input meet the first condition.
  • the first condition may include at least one of the following: the movement direction of the drag input includes the first direction (part of the movement direction of the drag input), and the movement track of the drag input passes through the electronic device The first area of the screen.
  • the first condition may also include other feasibility conditions, which may be specifically determined according to actual use requirements, which are not limited in the embodiment of the present application.
  • the preset display effect can be that the size of each logo gradually increases from a first threshold to a second threshold, the first threshold is smaller than the second threshold (the effect of the logo from being small to being larger), or the first threshold is greater than
  • the second threshold value (the effect of the identification changes from large to small)
  • the size of the first threshold and the second threshold are determined according to actual use requirements, and the embodiment of the present application does not limit it.
  • the preset display effect may be that each logo sequentially moves from the first side of the electronic device to the second side of the electronic device, and the first side and the second side are two opposite sides of the electronic device. .
  • each mark rises from the bottom of the electronic device to the top of the electronic device in sequence.
  • the preset display effect can also be other feasible display effects, which can be specifically determined according to actual use requirements, and the embodiment of the present application does not limit it.
  • Step 202b In response to the drag input, the electronic device updates the first interface to the desktop of the electronic device when the input parameter of the drag input meets the second condition.
  • the N identifiers are application icons in the desktop.
  • the second condition may include at least one of the following: the movement direction of the drag input includes the second direction (the movement direction of the partial drag input), and the movement track of the drag input passes through the screen.
  • the second area may also include other feasibility conditions, which may be specifically determined according to actual usage requirements, and are not limited in the embodiment of the present application.
  • the second condition and the first condition may be the same or different, which is not limited in the embodiment of the present application.
  • the electronic device can determine N different identifiers according to the input parameters of the drag input, the first condition and the second condition are different.
  • the end position of the drag input and the display position of the first mark satisfy the preset condition.
  • the end position of the drag input may coincide with the display position of the first mark, or it may be the end position of the drag input.
  • the distance from the display position of the first mark is less than the first threshold (the first threshold may be determined according to actual usage requirements, and is not limited in the embodiment of the present application), and may also be other feasible conditions, which is not limited in the embodiment of the present application.
  • the target object is displayed on the second interface of the first application.
  • the first interface and the second interface may be different interfaces in the same application program, or may be different interfaces in different application programs, which is not limited in the embodiment of the present application.
  • first interface and the second interface can be superimposed and displayed on the same screen, can also be displayed in split screens on the same screen, or can be displayed separately on different screens, which are specifically determined according to actual usage requirements. Not limited.
  • the electronic device updates the first interface to the second interface, and the second interface includes the target object.
  • the electronic device displays the first interface and the second interface on separate screens, and the second interface includes the target object.
  • the first interface is displayed on the first screen of the electronic device, and the electronic device displays the second screen on the second screen of the electronic device when the display position of the end position identifier of the drag input meets the preset condition.
  • the second interface includes the target object.
  • the electronic device can control the N signs to move to the left in turn, so that the user can view the N signs; after the user finds the required signs from the N signs, The user can move the image to the left for a certain distance by dragging the image to trigger the electronic device to control the N signs to stop moving.
  • the user when the first interface is displayed on the first screen of the electronic device and the second interface is displayed on the second screen, the user can drag the target object in the first interface from the first interface to The drag input on the second interface triggers the electronic device to display the target object in the second interface.
  • the user when the first interface and the second interface are displayed in separate screens on the first screen of the electronic device, the user can drag the target object in the first interface from the first interface to the second interface.
  • the drag input triggers the electronic device to display the target object in the second interface.
  • the embodiment of the present application provides an object sharing method.
  • the electronic device can receive a user's drag input on the target object in the first interface; in response to the drag input, display N identifiers; at the end of the drag input When the position and the display position of the first identifier meet the preset conditions, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used for Indicate the first application, N is a positive integer.
  • the user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the cross-application relationship (when the application belongs to the first interface and the first application Not at the same time) the operational efficiency of data transmission.
  • the electronic device may first display a batch of logos (each logo indicates an application program).
  • each logo indicates an application program.
  • the user can use the drag Input, trigger the electronic device to change a batch of identifications, so that the user can find the first identification needed.
  • the object sharing method provided in the embodiment of the present application may further include the following step 204, and the above step 202 can be specifically implemented by the following step 202c .
  • Step 204 In response to the drag input, the electronic device displays M identifiers when the input parameter of the drag input satisfies the third condition.
  • Each of the M identifiers is used to indicate an application program, where M is a positive integer.
  • the third condition For the description of the input parameter of the drag input that satisfies the third condition, reference may be made to the related description of the input parameter of the drag input that satisfies the first condition in step 202a, which will not be repeated here.
  • the third condition and the first condition may be the same or different, which is not limited in the embodiment of the present application.
  • Step 202c The electronic device updates the M identifiers to the N identifiers when the input parameter of the drag input meets the fourth condition.
  • the fourth condition For the description of the input parameter of the drag input that satisfies the fourth condition, reference may be made to the related description of the input parameter of the drag input that satisfies the second condition in step 202b, which will not be repeated here.
  • the fourth condition and the second condition may be the same or different, which is not limited in the embodiment of the present application.
  • step 204 and step 202c the third condition and the fourth condition are different.
  • the electronic device when the trajectory of the drag input passes through the first area, the electronic device first displays M logos. If the user does not find the required first logo in the M logos, the user can continue to drag the target object.
  • the electronic device updates the M identifiers to N identifiers, the user finds the first identifier among the N identifiers, and continues to drag the target object to the first identifier.
  • the M identifiers and the N identifiers may be completely different, or may be partly the same or partly different, which is not limited in the embodiment of the present application.
  • the display format of the M logos and the display format of the N logos may be the same or different, which is not limited in the embodiment of the present application.
  • the M logos are superimposed and displayed on the first interface, and the N logos are also superimposed and displayed on the first interface.
  • the M identifiers are superimposed and displayed on the first interface, and each of the M identifiers is an identifier of an application running in the background; the N identifiers are displayed on the desktop of the electronic device, and the The N identifiers are application icons on the desktop.
  • the above-mentioned displaying of M identifiers is: superimposing and displaying the M identifiers on the first interface, and each of the M identifiers is an identifier of an application running in the background; the above M identifiers are updated to the
  • the N identifiers are: updating the first interface to the desktop of the electronic device, and the N identifiers are application icons in the desktop.
  • N identifiers are displayed on the desktop of the electronic device, since the user is more familiar with the application icons in the desktop, it is easier to find the first identifier, which can improve the user's cross-application data
  • the transmission speed improves the user experience.
  • the desktop includes N logos, and the N logos include app A; as shown in Figure 6 (a) As shown, the user continues to drag the image until the position of app A ends the drag input, then as shown in Figure 4 (a), the electronic device updates the desktop to the second interface, and displays this in the second interface image.
  • the first application program may include multiple interfaces that can be used to display the target object. Therefore, before displaying the second interface including the target object, the electronic device first displays at least one interface identifier (each interface identifier is used To indicate an interface) for the user to select an interface identifier indicating the second interface.
  • step 203 can be specifically implemented by the following steps 203a to 203c.
  • Step 203a The electronic device displays at least one interface identifier when the drag input and the display position of the first identifier meet a preset condition.
  • Each interface identifier is used to indicate a different interface in the first application.
  • Each interface identifier can be an interface name, an interface thumbnail, or other indicator interface identifiers, which can be specifically determined according to actual usage requirements, and the embodiment of the present application does not limit it.
  • Step 203b The electronic device receives the user's target input of the target interface identifier in the at least one interface identifier.
  • the target interface identifier is used to indicate the second interface.
  • the target input can be the user's click input on the target interface logo, or the user's sliding input on the target interface logo.
  • the target input can also be the user's multi-finger input on the target interface logo.
  • the input may also be other feasibility input by the user on the target interface identification, which may be specifically determined according to actual use requirements, and is not limited in the embodiment of this application.
  • the above-mentioned click input may be one-click input, double-click input, triple-click input, etc., any number of click inputs;
  • the above-mentioned sliding input may be upward sliding input, downward sliding input, left sliding input, right
  • the above-mentioned multi-finger input can be two-finger or three-finger long-press input, two-finger or three-finger sliding input, two-finger or three-finger zoom input and other arbitrary multi-finger input; It is determined according to actual usage requirements, and the embodiment of the present application does not limit it.
  • Step 203c In response to the target input, the electronic device displays the target object on the second interface.
  • the electronic device displays at least one target interface identifier "interface 1, interface 2, interface 3, interface 4, interface 5, interface", and the user selects the target interface identifier "interface 2" (corresponding to the second interface), then as As shown in (a) of FIG. 4, the electronic device updates the first interface to the second interface, and displays the image on the second interface.
  • each of the drawings in the embodiments of the present application is an example in combination with the drawings of the independent embodiment. In specific implementation, each of the drawings may also be implemented in combination with any other drawings that can be combined, and the embodiments of the present application are not limited.
  • the object sharing method provided in the embodiment of the present application may further include the above-mentioned step 204, and the above-mentioned step 202 may be specifically implemented by the above-mentioned step 202c.
  • an embodiment of the present application provides an electronic device 120.
  • the electronic device 120 includes: a receiving module 121, a display module 122, and a sharing module 123;
  • the display module 122 is configured to display N identifiers in response to the drag input received by the receiving module 121;
  • the sharing module 123 is configured to display the first drag input at the end position of the drag input
  • the target object is shared to the first application; wherein, each of the N logos is used to indicate an application, and the first logo is used to indicate the first application Program, N is a positive integer.
  • the display module 122 is specifically configured to display the N identifiers on the first interface according to a preset display effect when the input parameters of the drag input meet the first condition; or, in the drag In the case that the input parameter that is input automatically meets the second condition, the first interface is updated to the desktop of the electronic device, and the N identifiers are application program icons in the desktop.
  • the display module 122 is further configured to display M identifiers when the input parameter of the drag input satisfies the third condition before displaying the N identifiers, each of the M identifiers Used to indicate an application; the display module 122 is specifically configured to update the M identifiers to the N identifiers when the input parameter of the drag input meets the fourth condition; where M is a positive integer.
  • the display module 122 is specifically configured to superimpose and display the M identifiers on the first interface, and each of the M identifiers is an identifier of an application running in the background; the display module 122 is specifically configured to The first interface is updated to the desktop of the electronic device, and the N identifiers are application icons in the desktop.
  • the sharing module 123 is specifically configured to display at least one interface identifier, and each interface identifier is used to indicate a different interface in the first application program; receiving a user's target input of the target interface identifier in the at least one interface identifier , The target interface identifier is used to indicate the second interface; in response to the target input, the target object is displayed in the second interface.
  • the electronic device provided in the embodiment of the present application can implement each process shown in any one of FIG. 2 to FIG. 7 in the foregoing method embodiment, and in order to avoid repetition, details are not described herein again.
  • the embodiment of the present application provides an electronic device, which can receive a drag input of a user on a target object in a first interface; in response to the drag input, display N identifiers; at the end position of the drag input If the display position of the first identifier meets the preset condition, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used to indicate For the first application, N is a positive integer.
  • the user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the operation efficiency of data transmission between applications.
  • FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements each embodiment of the present application.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , Processor 110, and power supply 111 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
  • the user input unit 107 is configured to receive a drag input of the user on the target object in the first interface; the display unit 106 is configured to display N identifiers in response to the drag input; and the processor 110 is configured to When the end position of the drag input and the display position of the first mark meet the preset conditions, the target object is shared to the first application, where each of the N marks is used to indicate an application, The first identifier is used to indicate the first application, and N is a positive integer.
  • the electronic device can receive a drag input of the user on the target object in the first interface; in response to the drag input, display N identifiers; When the display position of an identifier satisfies the preset condition, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used to indicate the first application.
  • N is a positive integer.
  • the user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the operation efficiency of data transmission between applications.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device and the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present application further provides an electronic device, which may include the aforementioned processor 110 shown in FIG. 9, a memory 109, and a computer program stored in the memory 109 and running on the processor 110,
  • the computer program is executed by the processor 110, each process of the object sharing method shown in any one of FIG. 2 to FIG. 7 in the foregoing method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. .
  • the embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program When the computer program is executed by a processor, the computer program shown in any one of FIG. 2 to FIG.
  • Each process of the object sharing method can achieve the same technical effect. In order to avoid repetition, I will not repeat it here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.

Landscapes

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

Abstract

Disclosed in embodiments of the present application are an object sharing method and an electronic device. The method comprises: receiving a dragging input of a user to a target object in a first interface; displaying N identifiers in response to the dragging input; and sharing the target object to a first application program under a condition that an end position of the dragging input and a display position of the first identifier satisfy a preset condition, wherein each of the N identifiers is used for indicating one application program, the first identifier is used for indicating the first application program, and N is a positive integer.

Description

对象分享方法及电子设备Object sharing method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年10月28日在中国提交的中国专利申请号201911033618.7的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911033618.7 filed in China on October 28, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种对象分享方法及电子设备。The embodiments of the present application relate to the field of communication technology, and in particular, to an object sharing method and electronic equipment.
背景技术Background technique
随着终端技术的不断发展,用户对电子设备的使用越来越频繁。在某些场景下,用户可能需要在多个应用程序之间来回切换,且在切换过程中,用户需要将一些数据信息(比如图像、音频、视频等)从一个应用程序传输到另一个应用程序进行使用、分享等。比如,从聊天应用程序中复制文字到搜索应用程序中查找资料、从新闻应用程序中拷贝图像到社交应用程序中分享。With the continuous development of terminal technology, users use electronic devices more and more frequently. In some scenarios, the user may need to switch back and forth between multiple applications, and during the switching process, the user needs to transfer some data information (such as images, audio, video, etc.) from one application to another Use, share, etc. For example, copy text from a chat application to find information in a search application, and copy an image from a news application to share in a social application.
以图像分享为例说明,目前,将应用程序A中的图像分享到图像B的过程可以为:首先触发电子设备选择应用程序A中的目标图像,并将目标图像保存在本地相册中,然后触发电子设备将应用程序A切换到后台运行,并打开应用程序B,再触发电子设备在应用程序B中打开本地相册,找到目标图像并分享。Take image sharing as an example. At present, the process of sharing an image in application A to image B can be as follows: first trigger the electronic device to select the target image in application A, save the target image in the local album, and then trigger The electronic device switches the application A to running in the background, and opens the application B, and then triggers the electronic device to open the local album in the application B, find the target image and share it.
然而,上述方法中跨应用程序间数据传输的过程比较繁琐耗时,因此跨应用程序间数据传输的操作效率较低。However, the cross-application data transmission process in the above method is cumbersome and time-consuming, so the operation efficiency of cross-application data transmission is low.
发明内容Summary of the invention
本申请实施例提供一种对象分享方法及电子设备,以解决相关技术中跨应用程序间数据传输的操作效率较低的问题。The embodiments of the present application provide an object sharing method and electronic device to solve the problem of low operational efficiency of cross-application data transmission in related technologies.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种对象分享方法,应用于电子设备,该方法包括:接收用户对第一界面中的目标对象的拖动输入;响应于该拖动输入,显示N个标识;在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序;其中,该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。In a first aspect, an embodiment of the present application provides an object sharing method applied to an electronic device. The method includes: receiving a user's drag input of a target object in a first interface; in response to the drag input, displaying N Logo; in the case where the end position of the drag input and the display position of the first logo meet the preset conditions, share the target object to the first application; wherein, each of the N logos is used to indicate An application program, the first identifier is used to indicate the first application program, and N is a positive integer.
第二方面,本申请实施例提供了一种电子设备,该电子设备包括:接收模块、显示模块和分享模块;该接收模块,用于接收用户对第一界面中的目标对象的拖动输入;该显示模块,用于响应于该接收模块接收的该拖动输入,显示N个标识;该分享模块,用于在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序;其中,该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。In a second aspect, an embodiment of the present application provides an electronic device, the electronic device includes: a receiving module, a display module, and a sharing module; the receiving module is configured to receive a user's drag input of a target object in a first interface; The display module is configured to display N identifiers in response to the drag input received by the receiving module; the sharing module is configured to display N identifiers when the end position of the drag input and the display position of the first identifier meet a preset condition Next, share the target object to the first application program; wherein, each of the N identifiers is used to indicate an application program, the first identifier is used to indicate the first application program, and N is a positive integer.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面中的对象分享方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor. When the computer program is executed by the processor, the following On the one hand, the steps of the object sharing method.
第四方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面中的对象分享方法的步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the object sharing method in the first aspect are implemented.
在本申请实施例中,电子设备可以通过接收用户对第一界面中的目标对象的拖动输入;响应于该拖动输入,显示N个标识;在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序;其中,该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。用户可以通过一次拖动输入触发电子设备将目标对象从第一界面分享至第一应用程序中,简化了操作步骤,可以提高跨应用程序间数据传输的操作效率。In the embodiment of the present application, the electronic device may receive a drag input of the user on the target object in the first interface; in response to the drag input, display N identifiers; and the end position of the drag input is at the same position as the first identifier. In the case where the display position of satisfies the preset condition, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used to indicate the first application , N is a positive integer. The user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the operation efficiency of data transmission between applications.
附图说明Description of the drawings
图1为本申请实施例提供的一种可能的安卓操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the application;
图2为本申请实施例提供的对象分享方法的流程图之一;FIG. 2 is one of the flowcharts of the object sharing method provided by the embodiment of the application;
图3为本申请实施例提供的对象分享方法的界面的示意图之一;FIG. 3 is one of the schematic diagrams of the interface of the object sharing method provided by the embodiment of the application;
图4为本申请实施例提供的对象分享方法的界面的示意图之二;4 is the second schematic diagram of the interface of the object sharing method provided by the embodiment of the application;
图5为本申请实施例提供的对象分享方法的流程图之二;FIG. 5 is the second flowchart of the object sharing method provided by an embodiment of the application;
图6为本申请实施例提供的对象分享方法的界面的示意图之三;FIG. 6 is the third schematic diagram of the interface of the object sharing method provided by the embodiment of the application;
图7为本申请实施例提供的对象分享方法的流程图之三;FIG. 7 is the third flowchart of the object sharing method provided by an embodiment of the application;
图8为本申请实施例提供的电子设备的结构示意图;FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the application;
图9为本申请实施例提供的电子设备的硬件示意图。FIG. 9 is a schematic diagram of hardware of an electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article refers to an association relationship that describes associated objects, which means that there can be three types of relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone These three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
本申请的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一界面、第二界面、第三界面和第四界面等是用于区别不同的界面,而不是用于描述界面的特定顺序。The terms "first", "second", "third", and "fourth" in the specification and claims of this application are used to distinguish different objects, rather than describing a specific order of objects. For example, the first interface, the second interface, the third interface, and the fourth interface are used to distinguish different interfaces, rather than to describe a specific order of the interfaces.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元;多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present application, unless otherwise specified, the meaning of “multiple” refers to two or more than two, for example, multiple processing units refers to two or more processing units; multiple elements Refers to two or more elements, etc.
本申请实施例提供一种对象分享方法,电子设备可以通过接收用户对第一界面中的目标对象的拖动输入;响应于该拖动输入,显示N个标识;在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序;其中,该N 个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。用户可以通过一次拖动输入触发电子设备将目标对象从第一界面分享至第一应用程序中,简化了操作步骤,可以提高跨应用程序间数据传输的操作效率。The embodiment of the present application provides an object sharing method. The electronic device can receive a user's drag input on the target object in the first interface; in response to the drag input, display N identifiers; at the end position of the drag input If the display position of the first identifier meets the preset condition, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used to indicate For the first application, N is a positive integer. The user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the operation efficiency of data transmission between applications.
下面以安卓操作系统为例,介绍一下本申请实施例提供的对象分享方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the object sharing method provided in the embodiments of the present application is applied.
如图1所示,为本申请实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of a possible Android operating system provided by an embodiment of this application. In Figure 1, the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本申请实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本申请实施例提供的对象分享方法的软件程序,从而使得该对象分享方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本申请实施例提供的对象分享方法。Taking the Android operating system as an example, in this embodiment of the application, a developer can develop a software program that implements the object sharing method provided by the embodiment of this application based on the system architecture of the Android operating system as shown in FIG. 1, so that the object The sharing method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the electronic device can implement the object sharing method provided in the embodiments of the present application by running the software program in the Android operating system.
本申请实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本申请实施例不作具体限定。The electronic device in the embodiment of the present application may be a mobile electronic device or a non-mobile electronic device. Mobile electronic devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle terminals, wearable devices, ultra-mobile personal computers (UMPC), netbooks, or personal digital assistants (personal digital assistants, PDAs), etc. ; The non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc.; the embodiment of the application does not specifically limit it.
本申请实施例提供的对象分享方法的执行主体可以为上述的电子设备(包括移动电子设备和非移动电子设备),也可以为该电子设备中能够实现该方法的功能模块和/或功能实 体,具体的可以根据实际使用需求确定,本申请实施例不作限定。下面以电子设备为例,对本申请实施例提供的对象分享方法进行示例性的说明。The execution subject of the object sharing method provided by the embodiments of the present application can be the aforementioned electronic device (including mobile electronic devices and non-mobile electronic devices), or can be a functional module and/or functional entity in the electronic device that can implement the method. The details can be determined according to actual use requirements, and the embodiments of the present application do not limit it. The following takes an electronic device as an example to illustrate the object sharing method provided in the embodiment of the present application.
参考图2所示,针对相关技术中跨应用程序间数据传输的操作效率较低的问题,本申请实施例提供了一种对象分享方法,该方法可以包括下述的步骤201-步骤203。Referring to FIG. 2, in view of the problem of low operational efficiency of data transmission between cross-applications in the related technology, an embodiment of the present application provides an object sharing method, which may include the following steps 201 to 203.
步骤201、电子设备接收用户对第一界面中的目标对象的拖动输入。Step 201: The electronic device receives the user's drag input of the target object in the first interface.
本申请实施例中,第一界面可以为即时社交应用程序中的聊天界面、朋友圈界面等,第一界面也可以是搜索应用程序中的搜索界面、搜索结果界面等,第一界面也可以为购物应用程序中的购物界面,第一界面也可以为电子书应用程序中的电子书界面等,第一界面还可以是其他的可行性界面,具体可以根据实际使用需求确定,本申请实施例不作限定。In the embodiments of this application, the first interface may be a chat interface, a circle of friends interface, etc. in an instant social application, the first interface may also be a search interface, a search result interface, etc. in a search application, and the first interface may also be For the shopping interface in the shopping application, the first interface can also be the e-book interface in the e-book application, etc., and the first interface can also be other feasible interfaces, which can be determined according to actual use requirements. This embodiment does not limited.
可选地,目标对象可以为文字、图像、视频文件、音频文件等,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, the target object may be text, image, video file, audio file, etc., which may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit it.
拖动输入的输入参数包括以下至少一项:拖动输入的运动方向、拖动输入的运动轨迹、拖动输入的结束位置;拖动输入的输入参数还可以包括其他可行性参数,本申请实施例不作限定。The input parameters of the drag input include at least one of the following: the movement direction of the drag input, the trajectory of the drag input, and the end position of the drag input; the input parameters of the drag input may also include other feasibility parameters, which are implemented in this application The examples are not limited.
步骤202、电子设备响应于该拖动输入,显示N个标识。Step 202: In response to the drag input, the electronic device displays N identifiers.
步骤203、电子设备在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序。Step 203: When the end position of the drag input and the display position of the first identifier meet a preset condition, the electronic device shares the target object to the first application.
该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序;其中,N为正整数。Each of the N identifiers is used to indicate an application program, and the first identifier is used to indicate a first application program; where N is a positive integer.
可选地,该N个标识中的每个标识可以为其指示的应用程序的应用程序图标,也可以为其指示的应用程序的名称,也可以为其指示的应用程序的界面缩略图,还可以为其他的可以用于指示一个应用程序的标识,本申请实施例不作限定。Optionally, each of the N identifiers may be the application icon of the indicated application, or the name of the indicated application, or the interface thumbnail of the indicated application, or It may be another identifier that can be used to indicate an application program, which is not limited in the embodiment of the present application.
可选地,该N个标识指示的N个应用程序可以为当前在后台运行的应用程序(也可以包括当前在前台运行的应用程序,即第一界面对应的应用程序(以下称为第二应用程序)、与第二应用程序分屏显示的应用程序,或与第二应用程序在电子设备(多面屏电子设备)的不同屏幕上显示的应用程序,本申请实施例不作限定);也可以为预设的N个应用程序,也可也为任意的N个应用程序,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, the N applications indicated by the N identifiers may be applications currently running in the background (may also include applications currently running in the foreground, that is, the applications corresponding to the first interface (hereinafter referred to as the second application). Program), an application that is displayed on a separate screen with a second application, or an application that is displayed on a different screen of an electronic device (multi-screen electronic device) with the second application, the embodiment of the application does not limit it); it can also be The preset N application programs may also be any N application programs, which may be specifically determined according to actual use requirements, and the embodiment of the present application does not limit it.
本申请实施例中,在N个标识指示的N个应用程序可以为当前在后台运行的应用程序的情况下,可以减少N个标识的数量,便于用户找到第一标识,提高了用户跨应用程序数据传输的速度,从而提升用户体验。In the embodiment of the present application, in the case that the N applications indicated by the N identifiers can be applications currently running in the background, the number of N identifiers can be reduced, which facilitates the user to find the first identifier, and improves the user cross-application. The speed of data transmission, thereby enhancing the user experience.
可选地,该N个标识可以叠加显示在第一界面上,该N个标识也可以显示在电子设备的桌面中(此时,该N个标识可以为桌面中的应用程序图标,也可以不是桌面中的应用程序图标),具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, the N logos can be superimposed and displayed on the first interface, and the N logos can also be displayed on the desktop of the electronic device (at this time, the N logos may be application icons on the desktop, or not The application icon in the desktop) can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present application.
示例性的,上述步骤202具体可以通过下述步骤202a或步骤202b实现。Exemplarily, the foregoing step 202 may be specifically implemented by the following step 202a or step 202b.
步骤202a、电子设备响应于该拖动输入,在该拖动输入的输入参数满足第一条件的情况下,按照预设显示效果,在第一界面上显示该N个标识。Step 202a: In response to the drag input, the electronic device displays the N identifiers on the first interface according to a preset display effect when the input parameters of the drag input meet the first condition.
可选地,本申请实施例中,第一条件可以包括以下至少一项:拖动输入的运动方向包括第一方向(部分拖动输入的运动方向),拖动输入的运动轨迹经过该电子设备的屏幕的第一区域。第一条件还可以包括其他可行性条件,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, the first condition may include at least one of the following: the movement direction of the drag input includes the first direction (part of the movement direction of the drag input), and the movement track of the drag input passes through the electronic device The first area of the screen. The first condition may also include other feasibility conditions, which may be specifically determined according to actual use requirements, which are not limited in the embodiment of the present application.
可选地,该预设显示效果可以为每个标识的尺寸由第一阈值逐渐变大为第二阈值,第一阈值小于第二阈值(标识由小变大的效果),或者第一阈值大于第二阈值(标识由大变小的效果),第一阈值和第二阈值的大小根据实际使用需求确定,本申请实施例不作限定。Optionally, the preset display effect can be that the size of each logo gradually increases from a first threshold to a second threshold, the first threshold is smaller than the second threshold (the effect of the logo from being small to being larger), or the first threshold is greater than The second threshold value (the effect of the identification changes from large to small), the size of the first threshold and the second threshold are determined according to actual use requirements, and the embodiment of the present application does not limit it.
可选地,该预设显示效果可以为每个标识依次从该电子设备的第一边移动到该电子设备的第二边,第一边和第二边为该电子设备的两个相对的边。例如,每个标识从电子设备的底部依次上升到电子设备的顶部。Optionally, the preset display effect may be that each logo sequentially moves from the first side of the electronic device to the second side of the electronic device, and the first side and the second side are two opposite sides of the electronic device. . For example, each mark rises from the bottom of the electronic device to the top of the electronic device in sequence.
可选地,该预设显示效果还可以为其他可行的显示效果,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, the preset display effect can also be other feasible display effects, which can be specifically determined according to actual use requirements, and the embodiment of the present application does not limit it.
步骤202b、电子设备响应于该拖动输入,在该拖动输入的输入参数满足第二条件的情况下,将第一界面更新为该电子设备的桌面。Step 202b: In response to the drag input, the electronic device updates the first interface to the desktop of the electronic device when the input parameter of the drag input meets the second condition.
该N个标识为该桌面中的应用程序图标。The N identifiers are application icons in the desktop.
可选地,本申请实施例中,第二条件可以包括以下至少一项:拖动输入的运动方向包括第二方向(部分拖动输入的运动方向),拖动输入的运动轨迹经过该屏幕的第二区域。第二条件还可以包括其他可行性条件,具体可以根据实际使用需求确定,本申请实施例不 作限定。Optionally, in the embodiment of the present application, the second condition may include at least one of the following: the movement direction of the drag input includes the second direction (the movement direction of the partial drag input), and the movement track of the drag input passes through the screen. The second area. The second condition may also include other feasibility conditions, which may be specifically determined according to actual usage requirements, and are not limited in the embodiment of the present application.
第二条件和第一条件可以相同,也可以不相同,本申请实施例不作限定。The second condition and the first condition may be the same or different, which is not limited in the embodiment of the present application.
示例性的,在电子设备可以根据拖动输入的输入参数,确定不同的N个标识的情况下,第一条件和第二条件不同。Exemplarily, when the electronic device can determine N different identifiers according to the input parameters of the drag input, the first condition and the second condition are different.
本申请实施例中,拖动输入的结束位置与第一标识的显示位置满足预设条件具体可以为拖动输入的结束位置与第一标识的显示位置重合,也可以为拖动输入的结束位置与第一标识的显示位置之间的距离小于第一阈值(第一阈值可以根据实际使用需求确定,本申请实施例不作限定),还可以为其他可行性情况,本申请实施例不做限定。In the embodiment of the present application, the end position of the drag input and the display position of the first mark satisfy the preset condition. Specifically, the end position of the drag input may coincide with the display position of the first mark, or it may be the end position of the drag input. The distance from the display position of the first mark is less than the first threshold (the first threshold may be determined according to actual usage requirements, and is not limited in the embodiment of the present application), and may also be other feasible conditions, which is not limited in the embodiment of the present application.
本申请实施例中,电子设备将该目标对象分享至第一应用程序之后,在第一应用程序的第二界面中显示该目标对象。其中,第一界面与第二界面可以为同一个应用程序中的不同界面,也可以为不同应用程序中的不同界面,本申请实施例不作限定。In the embodiment of the present application, after the electronic device shares the target object with the first application, the target object is displayed on the second interface of the first application. Wherein, the first interface and the second interface may be different interfaces in the same application program, or may be different interfaces in different application programs, which is not limited in the embodiment of the present application.
可以理解,第一界面和第二界面可以在同一个屏幕上叠加显示,也可以在同一个屏幕上分屏显示,还可以在不同屏幕上分别显示,具体根据实际使用需求确定,本申请实施例不作限定。It can be understood that the first interface and the second interface can be superimposed and displayed on the same screen, can also be displayed in split screens on the same screen, or can be displayed separately on different screens, which are specifically determined according to actual usage requirements. Not limited.
示例性的,电子设备在该拖动输入的结束位置标识的显示位置满足预设条件的情况下,将第一界面更新为第二界面,第二界面包括该目标对象。Exemplarily, when the display position of the end position identifier of the drag input meets a preset condition, the electronic device updates the first interface to the second interface, and the second interface includes the target object.
示例性的,电子设备在该拖动输入的结束位置标识的显示位置满足预设条件的情况下,分屏显示第一界面和第二界面,第二界面包括该目标对象。Exemplarily, when the display position of the end position identifier of the drag input meets a preset condition, the electronic device displays the first interface and the second interface on separate screens, and the second interface includes the target object.
示例性的,第一界面在电子设备的第一屏幕上显示,电子设备在该拖动输入的结束位置标识的显示位置满足预设条件的情况下,在电子设备的第二屏幕上显示第二界面,第二界面包括该目标对象。Exemplarily, the first interface is displayed on the first screen of the electronic device, and the electronic device displays the second screen on the second screen of the electronic device when the display position of the end position identifier of the drag input meets the preset condition. Interface, the second interface includes the target object.
示例性的,如图3中的(a)所示,用户在浏览应用程序0的第一界面的时候,需要将第一界面中的图像传输到应用程序3的第二界面中,并在第二界面中对图像进行处理,则用户通过向上的拖动输入(保持按住图像不松开),触发电子设备显示“app 1、app 2、app 3、app 4……”N个标识(该N个标识可以为电子设备的后台运行的应用程序的标识);如图3中的(b)所示,用户继续向下拖动图像,直至将图像拖动至app 3所在的位置松开手指结束该拖动输入;如图4中(a)所示,电子设备将第一界面更新为第二界面,并在第 二界面中显示该图像。其中,在用户拖动图像继续向右运动一段距离后,电子设备可以控制N个标识依次向左运动,从而用户可以查看该N个标识;在用户从该N个标识中找到需要的标识之后,用户可以通过拖动图像向左运动一段距离,触发电子设备控制该N个标识停止运动。Exemplarily, as shown in Figure 3(a), when the user browses the first interface of application 0, the user needs to transfer the image in the first interface to the second interface of application 3, and in the first interface When the image is processed in the second interface, the user drags the input upwards (keep pressing the image without releasing it), triggering the electronic device to display "app 1, app 2, app 3, app 4..." N signs (the The N identifiers can be the identifiers of the applications running in the background of the electronic device); as shown in Figure 3 (b), the user continues to drag the image downwards until the image is dragged to the location of the app 3 and release the finger End the drag input; as shown in Figure 4 (a), the electronic device updates the first interface to the second interface, and displays the image in the second interface. Among them, after the user drags the image and continues to move to the right for a certain distance, the electronic device can control the N signs to move to the left in turn, so that the user can view the N signs; after the user finds the required signs from the N signs, The user can move the image to the left for a certain distance by dragging the image to trigger the electronic device to control the N signs to stop moving.
本申请实施例中,在电子设备的第一屏幕中显示第一界面,以及第二屏幕中显示第二界面的情况下,用户可以通过将第一界面中的目标对象从第一界面拖动至第二界面的拖动输入,触发电子设备在第二界面中显示该目标对象。In the embodiment of the present application, when the first interface is displayed on the first screen of the electronic device and the second interface is displayed on the second screen, the user can drag the target object in the first interface from the first interface to The drag input on the second interface triggers the electronic device to display the target object in the second interface.
本申请实施例中,在电子设备的第一屏幕中分屏显示第一界面和第二界面的情况下,用户可以通过将第一界面中的目标对象从第一界面拖动至第二界面的拖动输入,触发电子设备在第二界面中显示该目标对象。In the embodiment of the present application, when the first interface and the second interface are displayed in separate screens on the first screen of the electronic device, the user can drag the target object in the first interface from the first interface to the second interface. The drag input triggers the electronic device to display the target object in the second interface.
本申请实施例提供了一种对象分享方法,电子设备可以通过接收用户对第一界面中的目标对象的拖动输入;响应于该拖动输入,显示N个标识;在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序;其中,该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。用户可以通过一次拖动输入触发电子设备将目标对象从第一界面分享至第一应用程序中,简化了操作步骤,可以提高跨应用程序间(当第一界面所属的应用程序与第一应用程序不同时)数据传输的操作效率。The embodiment of the present application provides an object sharing method. The electronic device can receive a user's drag input on the target object in the first interface; in response to the drag input, display N identifiers; at the end of the drag input When the position and the display position of the first identifier meet the preset conditions, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used for Indicate the first application, N is a positive integer. The user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the cross-application relationship (when the application belongs to the first interface and the first application Not at the same time) the operational efficiency of data transmission.
可选地,本申请实施例中,电子设备可以先显示一批标识(每个标识指示一个应用程序),在该一批标识中,不包括第一标识的情况下,用户可以通过该拖动输入,触发电子设备换一批标识,以使用户可以找到需要的第一标识。Optionally, in this embodiment of the present application, the electronic device may first display a batch of logos (each logo indicates an application program). In the case that the first logo is not included in the batch of logos, the user can use the drag Input, trigger the electronic device to change a batch of identifications, so that the user can find the first identification needed.
示例性的,结合图2,如图5所示,在步骤202之前,本申请实施例提供的对象分享方法还可以包括下述的步骤204,上述步骤202具体的可以通过下述的步骤202c实现。Exemplarily, in conjunction with FIG. 2, as shown in FIG. 5, before step 202, the object sharing method provided in the embodiment of the present application may further include the following step 204, and the above step 202 can be specifically implemented by the following step 202c .
步骤204、电子设备响应于该拖动输入,在该拖动输入的输入参数满足第三条件的情况下,显示M个标识。Step 204: In response to the drag input, the electronic device displays M identifiers when the input parameter of the drag input satisfies the third condition.
该M个标识中的每个标识用于指示一个应用程序,其中,M为正整数。Each of the M identifiers is used to indicate an application program, where M is a positive integer.
对该拖动输入的输入参数满足第三条件的描述可以参考上述步骤202a中对该拖动输入的输入参数满足第一条件的相关描述,此处不再赘述。第三条件与第一条件可以相同, 也可以不相同,本申请实施例不作限定。For the description of the input parameter of the drag input that satisfies the third condition, reference may be made to the related description of the input parameter of the drag input that satisfies the first condition in step 202a, which will not be repeated here. The third condition and the first condition may be the same or different, which is not limited in the embodiment of the present application.
步骤202c、电子设备在该拖动输入的输入参数满足第四条件的情况下,将该M个标识更新为该N个标识。 Step 202c: The electronic device updates the M identifiers to the N identifiers when the input parameter of the drag input meets the fourth condition.
对该拖动输入的输入参数满足第四条件的描述可以参考上述步骤202b中对该拖动输入的输入参数满足第二条件的相关描述,此处不再赘述。第四条件与第二条件可以相同,也可以不相同,本申请实施例不作限定。For the description of the input parameter of the drag input that satisfies the fourth condition, reference may be made to the related description of the input parameter of the drag input that satisfies the second condition in step 202b, which will not be repeated here. The fourth condition and the second condition may be the same or different, which is not limited in the embodiment of the present application.
需要说明的是,针对上述步骤204和步骤202c的场景,第三条件和第四条件不同。It should be noted that for the scenarios of step 204 and step 202c, the third condition and the fourth condition are different.
示例性的,在拖动输入的运动轨迹经过第一区域时,电子设备先显示M个标识,若用户在该M个标识中未找到需要的第一标识,则用户可以继续拖动目标对象,在拖动输入的运动轨迹经过第二区域时,电子设备将M个标识更新为N个标识,用户在该N个标识中找到第一标识,并将目标对象继续拖动至第一标识。Exemplarily, when the trajectory of the drag input passes through the first area, the electronic device first displays M logos. If the user does not find the required first logo in the M logos, the user can continue to drag the target object. When the movement track of the drag input passes through the second area, the electronic device updates the M identifiers to N identifiers, the user finds the first identifier among the N identifiers, and continues to drag the target object to the first identifier.
本申请实施例中,该M个标识与该N个标识可以完全不相同,也可以部分相同、部分不相同,本申请实施例不作限定。In the embodiment of the present application, the M identifiers and the N identifiers may be completely different, or may be partly the same or partly different, which is not limited in the embodiment of the present application.
本申请实施例中,该M个标识的显示形式与该N个标识的显示形式可以相同,也可以不相同,本申请实施例不作限定。In the embodiment of the present application, the display format of the M logos and the display format of the N logos may be the same or different, which is not limited in the embodiment of the present application.
可选地,该M个标识叠加显示在第一界面上,该N个标识也叠加显示在第一界面上。Optionally, the M logos are superimposed and displayed on the first interface, and the N logos are also superimposed and displayed on the first interface.
可选地,该M个标识叠加显示在第一界面上,且该M个标识中的每个标识为后台运行的应用程序的标识;该N个标识显示在该电子设备的桌面中,且该N个标识为该桌面中的应用程序图标。Optionally, the M identifiers are superimposed and displayed on the first interface, and each of the M identifiers is an identifier of an application running in the background; the N identifiers are displayed on the desktop of the electronic device, and the The N identifiers are application icons on the desktop.
示例性的,上述显示M个标识为:在第一界面上叠加显示该M个标识,该M个标识中的每个标识为后台运行的应用程序的标识;上述将该M个标识更新为该N个标识为:将第一界面更新为该电子设备的桌面,该N个标识为该桌面中的应用程序图标。Exemplarily, the above-mentioned displaying of M identifiers is: superimposing and displaying the M identifiers on the first interface, and each of the M identifiers is an identifier of an application running in the background; the above M identifiers are updated to the The N identifiers are: updating the first interface to the desktop of the electronic device, and the N identifiers are application icons in the desktop.
本申请实施例中,在N个标识显示在该电子设备的桌面中的情况下,由于用户对桌面中的应用程序图标比较熟悉,因此更容易找到第一标识,可以提高了用户跨应用程序数据传输的速度,提升用户体验。In the embodiment of the present application, when N identifiers are displayed on the desktop of the electronic device, since the user is more familiar with the application icons in the desktop, it is easier to find the first identifier, which can improve the user's cross-application data The transmission speed improves the user experience.
示例性的,如图3中的(a)所示,用户在浏览应用程序0的第一界面的时候,需要将第一界面中的图像传输到应用程序A的第二界面中,在第二界面中对图像进行处理,则用 户通过向上的拖动输入(保持按住图像不松开),触发电子设备显示“app 1、app 2、app 3、app 4……”M个标识(该M个标识可以为电子设备的后台运行的应用程序的标识);该M个标识中不包括应用程序A的标识(app A),如图4中的(b)所示,用户继续向上拖动图像直至电子设备的顶部,电子设备退出第一界面,并显示桌面(电子设备将第一界面更新为桌面),桌面中包括N个标识,该N个标识包括app A;如图6中(a)所示,用户继续拖动图像直至app A所在的位置结束该拖动输入,则如图4中的(a)所示,电子设备将桌面更新为第二界面,并在第二界面中显示该图像。Exemplarily, as shown in Figure 3(a), when the user browses the first interface of application 0, the user needs to transfer the image in the first interface to the second interface of application A. In the second interface, When the image is processed in the interface, the user drags the input upwards (keep pressing the image without releasing it), triggering the electronic device to display "app 1, app 2, app 3, app 4..." M signs (the M Each identifier can be the identifier of an application running in the background of the electronic device); the M identifiers do not include the identifier of application A (app A), as shown in Figure 4 (b), the user continues to drag the image upwards Up to the top of the electronic device, the electronic device exits the first interface and displays the desktop (the electronic device updates the first interface to the desktop). The desktop includes N logos, and the N logos include app A; as shown in Figure 6 (a) As shown, the user continues to drag the image until the position of app A ends the drag input, then as shown in Figure 4 (a), the electronic device updates the desktop to the second interface, and displays this in the second interface image.
可选地,第一应用程序中可能包括多个可以用于显示目标对象的界面,因此,在显示包括该目标对象的第二界面之前,电子设备先显示至少一个界面标识(每个界面标识用于指示一个界面),以供用户从中选择指示第二界面的界面标识。Optionally, the first application program may include multiple interfaces that can be used to display the target object. Therefore, before displaying the second interface including the target object, the electronic device first displays at least one interface identifier (each interface identifier is used To indicate an interface) for the user to select an interface identifier indicating the second interface.
示例性的,结合图2,如图7所示,上述步骤203具体的可以通过下述步骤203a-步骤203c实现。Exemplarily, in conjunction with FIG. 2, as shown in FIG. 7, the above step 203 can be specifically implemented by the following steps 203a to 203c.
步骤203a、电子设备在该拖动输入与第一标识的显示位置满足预设条件的情况下,显示至少一个界面标识。 Step 203a: The electronic device displays at least one interface identifier when the drag input and the display position of the first identifier meet a preset condition.
每个界面标识用于指示第一应用程序中的不同界面。Each interface identifier is used to indicate a different interface in the first application.
每个界面标识可以为界面名称,也可以界面缩略图,还可以为其他的指示界面的标识,具体可以根据实际使用需求确定,本申请实施例不作限定。Each interface identifier can be an interface name, an interface thumbnail, or other indicator interface identifiers, which can be specifically determined according to actual usage requirements, and the embodiment of the present application does not limit it.
步骤203b、电子设备接收用户对该至少一个界面标识中的目标界面标识的目标输入。 Step 203b: The electronic device receives the user's target input of the target interface identifier in the at least one interface identifier.
该目标界面标识用于指示第二界面。The target interface identifier is used to indicate the second interface.
本申请实施例中,目标输入可以为用户在目标界面标识上的点击输入,也可以为用户在目标界面标识上的滑动输入,目标输入也可以为用户在目标界面标识上的多指输入,目标输入还可以为用户在目标界面标识上的其他可行性输入,具体可以根据实际使用需求确定,本申请实施例不作限定。In the embodiments of the present application, the target input can be the user's click input on the target interface logo, or the user's sliding input on the target interface logo. The target input can also be the user's multi-finger input on the target interface logo. The input may also be other feasibility input by the user on the target interface identification, which may be specifically determined according to actual use requirements, and is not limited in the embodiment of this application.
示例性的,上述点击输入可以为单击输入、双击输入、三击输入等任意次数的点击输入;上述滑动输入可以为向上的滑动输入、向下的滑动输入、向左的滑动输入、向右的滑动输入等向任意方向的滑动输入;上述多指输入可以为双指或三指长按输入、双指或三指滑动输入、双指或三指缩放输入等任意多指输入;具体的可以根据实际使用需求确定,本 申请实施例不作限定。Exemplarily, the above-mentioned click input may be one-click input, double-click input, triple-click input, etc., any number of click inputs; the above-mentioned sliding input may be upward sliding input, downward sliding input, left sliding input, right The above-mentioned multi-finger input can be two-finger or three-finger long-press input, two-finger or three-finger sliding input, two-finger or three-finger zoom input and other arbitrary multi-finger input; It is determined according to actual usage requirements, and the embodiment of the present application does not limit it.
步骤203c、电子设备响应于该目标输入,将该目标对象显示在第二界面中。 Step 203c: In response to the target input, the electronic device displays the target object on the second interface.
示例性的,结合图3中的(b)所示,用户继续向下拖动图像,直至将图像拖动至app 3所在的位置松开手指结束该拖动输入;如图6中(b)所示,电子设备显示“界面1、界面2、界面3、界面4、界面5、界面……”至少一个目标界面标识,用户选择目标界面标识“界面2”(对应第二界面),则如图4中的(a)所示,电子设备将第一界面更新为第二界面,并在第二界面中显示该图像。Exemplarily, as shown in (b) in Figure 3, the user continues to drag the image downwards until the image is dragged to the position of app 3 and the finger is released to end the drag input; Figure 6 (b) As shown, the electronic device displays at least one target interface identifier "interface 1, interface 2, interface 3, interface 4, interface 5, interface...", and the user selects the target interface identifier "interface 2" (corresponding to the second interface), then as As shown in (a) of FIG. 4, the electronic device updates the first interface to the second interface, and displays the image on the second interface.
本申请实施例中的各个附图均是结合独权实施例附图示例的,具体实现时,各个附图还可以结合其它任意可以结合的附图实现,本申请实施例不作限定。例如,结合图5,在步骤202之前,本申请实施例提供的对象分享方法还可以包括上述的步骤204,上述步骤202具体的可以通过上述的步骤202c实现。Each of the drawings in the embodiments of the present application is an example in combination with the drawings of the independent embodiment. In specific implementation, each of the drawings may also be implemented in combination with any other drawings that can be combined, and the embodiments of the present application are not limited. For example, with reference to FIG. 5, before step 202, the object sharing method provided in the embodiment of the present application may further include the above-mentioned step 204, and the above-mentioned step 202 may be specifically implemented by the above-mentioned step 202c.
如图8所示,本申请实施例提供一种电子设备120,该电子设备120包括:接收模块121、显示模块122和分享模块123;该接收模块121,用于接收用户对第一界面中的目标对象的拖动输入;该显示模块122,用于响应于该接收模块121接收的该拖动输入,显示N个标识;该分享模块123,用于在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序;其中,该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。As shown in FIG. 8, an embodiment of the present application provides an electronic device 120. The electronic device 120 includes: a receiving module 121, a display module 122, and a sharing module 123; The drag input of the target object; the display module 122 is configured to display N identifiers in response to the drag input received by the receiving module 121; the sharing module 123 is configured to display the first drag input at the end position of the drag input When the display position of the logo meets the preset condition, the target object is shared to the first application; wherein, each of the N logos is used to indicate an application, and the first logo is used to indicate the first application Program, N is a positive integer.
可选地,该显示模块122,具体用于在该拖动输入的输入参数满足第一条件的情况下,按照预设显示效果,在第一界面上显示该N个标识;或者,在该拖动输入的输入参数满足第二条件的情况下,将第一界面更新为该电子设备的桌面,该N个标识为该桌面中的应用程序图标。Optionally, the display module 122 is specifically configured to display the N identifiers on the first interface according to a preset display effect when the input parameters of the drag input meet the first condition; or, in the drag In the case that the input parameter that is input automatically meets the second condition, the first interface is updated to the desktop of the electronic device, and the N identifiers are application program icons in the desktop.
可选地,该显示模块122,还用于在该显示N个标识之前,在该拖动输入的输入参数满足第三条件的情况下,显示M个标识,该M个标识中的每个标识用于指示一个应用程序;该显示模块122,具体用于在该拖动输入的输入参数满足第四条件的情况下,将该M个标识更新为该N个标识;其中,M为正整数。Optionally, the display module 122 is further configured to display M identifiers when the input parameter of the drag input satisfies the third condition before displaying the N identifiers, each of the M identifiers Used to indicate an application; the display module 122 is specifically configured to update the M identifiers to the N identifiers when the input parameter of the drag input meets the fourth condition; where M is a positive integer.
可选地,该显示模块122,具体用于在第一界面上叠加显示该M个标识,该M个标识中的每个标识为后台运行的应用程序的标识;该显示模块122,具体用于将第一界面更 新为该电子设备的桌面,该N个标识为该桌面中的应用程序图标。Optionally, the display module 122 is specifically configured to superimpose and display the M identifiers on the first interface, and each of the M identifiers is an identifier of an application running in the background; the display module 122 is specifically configured to The first interface is updated to the desktop of the electronic device, and the N identifiers are application icons in the desktop.
可选地,该分享模块123,具体用于显示至少一个界面标识,每个界面标识用于指示第一应用程序中的不同界面;接收用户对该至少一个界面标识中的目标界面标识的目标输入,该目标界面标识用于指示第二界面;响应于该目标输入,将该目标对象显示在第二界面中。Optionally, the sharing module 123 is specifically configured to display at least one interface identifier, and each interface identifier is used to indicate a different interface in the first application program; receiving a user's target input of the target interface identifier in the at least one interface identifier , The target interface identifier is used to indicate the second interface; in response to the target input, the target object is displayed in the second interface.
本申请实施例提供的电子设备能够实现上述方法实施例中图2至图7任意之一所示的各个过程,为避免重复,此处不再赘述。The electronic device provided in the embodiment of the present application can implement each process shown in any one of FIG. 2 to FIG. 7 in the foregoing method embodiment, and in order to avoid repetition, details are not described herein again.
本申请实施例提供了一种电子设备,电子设备可以通过接收用户对第一界面中的目标对象的拖动输入;响应于该拖动输入,显示N个标识;在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序;其中,该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。用户可以通过一次拖动输入触发电子设备将目标对象从第一界面分享至第一应用程序中,简化了操作步骤,可以提高跨应用程序间数据传输的操作效率。The embodiment of the present application provides an electronic device, which can receive a drag input of a user on a target object in a first interface; in response to the drag input, display N identifiers; at the end position of the drag input If the display position of the first identifier meets the preset condition, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used to indicate For the first application, N is a positive integer. The user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the operation efficiency of data transmission between applications.
图9为实现本申请各个实施例的一种电子设备的硬件结构示意图。如图9所示,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、以及计步器等。FIG. 9 is a schematic diagram of the hardware structure of an electronic device that implements each embodiment of the present application. As shown in FIG. 9, the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , Processor 110, and power supply 111 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 9 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present application, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, wearable devices, and pedometers.
其中,用户输入单元107,用于接收用户对第一界面中的目标对象的拖动输入;显示单元106,用于响应于该拖动输入,显示N个标识;处理器110,用于在该拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序,其中,该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。Among them, the user input unit 107 is configured to receive a drag input of the user on the target object in the first interface; the display unit 106 is configured to display N identifiers in response to the drag input; and the processor 110 is configured to When the end position of the drag input and the display position of the first mark meet the preset conditions, the target object is shared to the first application, where each of the N marks is used to indicate an application, The first identifier is used to indicate the first application, and N is a positive integer.
本申请实施例提供的电子设备,电子设备可以通过接收用户对第一界面中的目标对象的拖动输入;响应于该拖动输入,显示N个标识;在该拖动输入的结束位置与第一标识的 显示位置满足预设条件的情况下,将该目标对象分享至第一应用程序;其中,该N个标识中的每个标识用于指示一个应用程序,第一标识用于指示第一应用程序,N为正整数。用户可以通过一次拖动输入触发电子设备将目标对象从第一界面分享至第一应用程序中,简化了操作步骤,可以提高跨应用程序间数据传输的操作效率。In the electronic device provided by the embodiment of the present application, the electronic device can receive a drag input of the user on the target object in the first interface; in response to the drag input, display N identifiers; When the display position of an identifier satisfies the preset condition, the target object is shared to the first application; wherein, each of the N identifiers is used to indicate an application, and the first identifier is used to indicate the first application. Application, N is a positive integer. The user can trigger the electronic device to share the target object from the first interface to the first application through a drag input, which simplifies the operation steps and can improve the operation efficiency of data transmission between applications.
应理解的是,本申请实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present application, the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used to receive audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame can be displayed on the display unit 106. The image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备 姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light. The proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is used to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating). The touch panel 1071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed. In addition, the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图9中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 can be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 1061. Although in FIG. 9, the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力 等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。The interface unit 108 is an interface for connecting an external device and the electronic device 100. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器110可包括一个或多个处理单元;可选地,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is the control center of the electronic device, which uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 109, and calls data stored in the memory 109 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选地,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 100 includes some functional modules not shown, which will not be repeated here.
可选地,本申请实施例还提供一种电子设备,可以包括上述如图9所示的处理器110,存储器109,以及存储在存储器109上并可在该处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例中图2至图7任意之一所示的对象分享方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。Optionally, an embodiment of the present application further provides an electronic device, which may include the aforementioned processor 110 shown in FIG. 9, a memory 109, and a computer program stored in the memory 109 and running on the processor 110, When the computer program is executed by the processor 110, each process of the object sharing method shown in any one of FIG. 2 to FIG. 7 in the foregoing method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. .
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例中图2至图7任意之一所示的对象分享方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present application also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the computer program shown in any one of FIG. 2 to FIG. Each process of the object sharing method can achieve the same technical effect. In order to avoid repetition, I will not repeat it here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk, or optical disk, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非 排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) ) Includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (12)

  1. 一种对象分享方法,所述方法包括:An object sharing method, the method includes:
    接收用户对第一界面中的目标对象的拖动输入;Receiving a user's drag input of the target object in the first interface;
    响应于所述拖动输入,显示N个标识;In response to the drag input, display N identifiers;
    在所述拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将所述目标对象分享至第一应用程序;Sharing the target object to the first application in the case that the end position of the drag input and the display position of the first identifier meet a preset condition;
    其中,所述N个标识中的每个标识用于指示一个应用程序,所述第一标识用于指示所述第一应用程序,N为正整数。Wherein, each of the N identifiers is used to indicate an application program, the first identifier is used to indicate the first application program, and N is a positive integer.
  2. 根据权利要求1所述的方法,其中,所述显示N个标识,包括:The method according to claim 1, wherein said displaying N identifiers comprises:
    在所述拖动输入的输入参数满足第一条件的情况下,按照预设显示效果,在所述第一界面上显示所述N个标识;In a case where the input parameter input by dragging satisfies the first condition, display the N identifiers on the first interface according to a preset display effect;
    或者,在所述拖动输入的输入参数满足第二条件的情况下,将所述第一界面更新为所述电子设备的桌面,所述N个标识为所述桌面中的应用程序图标。Alternatively, in the case that the input parameter of the drag input meets the second condition, the first interface is updated to the desktop of the electronic device, and the N identifiers are application icons in the desktop.
  3. 根据权利要求1所述的方法,其中,所述显示N个标识之前,还包括:The method according to claim 1, wherein before the displaying the N identifiers, the method further comprises:
    在所述拖动输入的输入参数满足第三条件的情况下,显示M个标识,所述M个标识中的每个标识用于指示一个应用程序;In the case that the input parameter of the drag input meets the third condition, M identifiers are displayed, and each identifier of the M identifiers is used to indicate an application;
    所述显示N个标识,包括:The display of N identifiers includes:
    在所述拖动输入的输入参数满足第四条件的情况下,将所述M个标识更新为所述N个标识;In the case that the input parameters of the drag input meet the fourth condition, update the M identifiers to the N identifiers;
    其中,M为正整数。Among them, M is a positive integer.
  4. 根据权利要求3所述的方法,其中,所述显示M个标识,包括:The method according to claim 3, wherein said displaying M identifiers comprises:
    在所述第一界面上叠加显示所述M个标识,所述M个标识中的每个标识为后台运行的应用程序的标识;Superimposing and displaying the M identifiers on the first interface, and each of the M identifiers is an identifier of an application program running in the background;
    所述将所述M个标识更新为所述N个标识,包括:The updating the M identifiers to the N identifiers includes:
    将所述第一界面更新为所述电子设备的桌面,所述N个标识为所述桌面中的应用程序图标。The first interface is updated to the desktop of the electronic device, and the N identifiers are application program icons in the desktop.
  5. 根据权利要求1至4任一项所述的方法,其中,所述将所述目标对象分享至第 一应用程序,包括:The method according to any one of claims 1 to 4, wherein the sharing the target object to the first application program comprises:
    显示至少一个界面标识,每个界面标识用于指示所述第一应用程序中的不同界面;Displaying at least one interface identifier, and each interface identifier is used to indicate a different interface in the first application;
    接收用户对所述至少一个界面标识中的目标界面标识的目标输入,所述目标界面标识用于指示第二界面;Receiving a user's target input of a target interface identifier in the at least one interface identifier, where the target interface identifier is used to indicate a second interface;
    响应于所述目标输入,将所述目标对象显示在所述第二界面中。In response to the target input, the target object is displayed in the second interface.
  6. 一种电子设备,所述电子设备包括:接收模块、显示模块和分享模块;An electronic device, the electronic device comprising: a receiving module, a display module, and a sharing module;
    所述接收模块,用于接收用户对第一界面中的目标对象的拖动输入;The receiving module is configured to receive a user's drag input on the target object in the first interface;
    所述显示模块,用于响应于所述接收模块接收的所述拖动输入,显示N个标识;The display module is configured to display N identifiers in response to the drag input received by the receiving module;
    所述分享模块,用于在所述拖动输入的结束位置与第一标识的显示位置满足预设条件的情况下,将所述目标对象分享至第一应用程序;The sharing module is configured to share the target object to the first application when the end position of the drag input and the display position of the first mark meet a preset condition;
    其中,所述N个标识中的每个标识用于指示一个应用程序,所述第一标识用于指示第一应用程序,N为正整数。Wherein, each of the N identifiers is used to indicate an application program, the first identifier is used to indicate a first application program, and N is a positive integer.
  7. 根据权利要求6所述的电子设备,其中,所述显示模块,具体用于在所述拖动输入的输入参数满足第一条件的情况下,按照预设显示效果,在所述第一界面上显示所述N个标识;或者,在所述拖动输入的输入参数满足第二条件的情况下,将所述第一界面更新为所述电子设备的桌面,所述N个标识为所述桌面中的应用程序图标。8. The electronic device according to claim 6, wherein the display module is specifically configured to display on the first interface according to a preset display effect when the input parameter input by the drag satisfies a first condition. Display the N identifiers; or, in the case that the input parameter of the drag input meets the second condition, update the first interface to the desktop of the electronic device, and the N identifiers are the desktop Application icons in.
  8. 根据权利要求6所述的电子设备,其中,所述显示模块,还用于在所述显示N个标识之前,在所述拖动输入的输入参数满足第三条件的情况下,显示M个标识,所述M个标识中的每个标识用于指示一个应用程序;The electronic device according to claim 6, wherein the display module is further configured to display M identifiers when the input parameter of the drag input satisfies a third condition before the display of the N identifiers , Each of the M identifiers is used to indicate an application;
    所述显示模块,具体用于在所述拖动输入的输入参数满足第四条件的情况下,将所述M个标识更新为所述N个标识;The display module is specifically configured to update the M identifiers to the N identifiers when the input parameters of the drag input meet the fourth condition;
    其中,M为正整数。Among them, M is a positive integer.
  9. 根据权利要求8所述的电子设备,其中,所述显示模块,具体用于在所述第一界面上叠加显示所述M个标识,所述M个标识中的每个标识为后台运行的应用程序的标识;The electronic device according to claim 8, wherein the display module is specifically configured to superimpose and display the M logos on the first interface, and each of the M logos is an application running in the background The identification of the program;
    所述显示模块,具体用于将所述第一界面更新为所述电子设备的桌面,所述N个标识为所述桌面中的应用程序图标。The display module is specifically configured to update the first interface to the desktop of the electronic device, and the N identifiers are application program icons in the desktop.
  10. 根据权利要求6至9任一项所述的电子设备,其中,所述分享模块,具体用于显示至少一个界面标识,每个界面标识用于指示所述第一应用程序中的不同界面;接收用户对所述至少一个界面标识中的目标界面标识的目标输入,所述目标界面标识用于指示第二界面;响应于所述目标输入,将所述目标对象显示在所述第二界面中。The electronic device according to any one of claims 6 to 9, wherein the sharing module is specifically configured to display at least one interface identifier, and each interface identifier is used to indicate a different interface in the first application; receiving; The user inputs a target of a target interface identifier in the at least one interface identifier, where the target interface identifier is used to indicate a second interface; in response to the target input, the target object is displayed in the second interface.
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的对象分享方法的步骤。An electronic device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor to implement any of claims 1 to 5 One of the steps of the object sharing method.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的对象分享方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the object sharing method according to any one of claims 1 to 5 are realized.
PCT/CN2020/123315 2019-10-28 2020-10-23 Object sharing method and electronic device WO2021083052A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911033618.7 2019-10-28
CN201911033618.7A CN110851051B (en) 2019-10-28 2019-10-28 Object sharing method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021083052A1 true WO2021083052A1 (en) 2021-05-06

Family

ID=69598090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/123315 WO2021083052A1 (en) 2019-10-28 2020-10-23 Object sharing method and electronic device

Country Status (2)

Country Link
CN (1) CN110851051B (en)
WO (1) WO2021083052A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851051B (en) * 2019-10-28 2021-06-08 维沃移动通信有限公司 Object sharing method and electronic equipment
CN111600931A (en) * 2020-04-13 2020-08-28 维沃移动通信有限公司 Information sharing method and electronic equipment
CN111522674B (en) * 2020-04-30 2024-05-07 维沃移动通信(杭州)有限公司 Cross-application processing method of multimedia content and electronic equipment
CN111881647A (en) * 2020-06-09 2020-11-03 维沃移动通信有限公司 Identification display method and device and electronic equipment
CN111796733B (en) * 2020-06-28 2022-05-17 维沃移动通信(杭州)有限公司 Image display method, image display device and electronic equipment
CN112269523B (en) * 2020-10-28 2023-05-26 维沃移动通信有限公司 Object editing processing method and device and electronic equipment
CN113452744B (en) * 2021-03-30 2023-06-09 维沃移动通信有限公司 File sharing method, device, equipment and storage medium
CN113055525A (en) * 2021-03-30 2021-06-29 维沃移动通信有限公司 File sharing method, device, equipment and storage medium
CN113360879B (en) * 2021-05-27 2023-09-22 维沃移动通信(杭州)有限公司 Display control method, display control device, electronic equipment and medium
CN115407909A (en) * 2021-05-27 2022-11-29 Oppo广东移动通信有限公司 Content sharing method and device, terminal and storage medium
CN114001748B (en) * 2021-10-28 2024-03-22 维沃移动通信有限公司 Navigation route display method, device, equipment and medium
CN114338897B (en) * 2021-12-16 2024-01-16 杭州逗酷软件科技有限公司 Method and device for sharing objects, electronic equipment and storage medium
CN114327189B (en) * 2022-03-07 2022-09-30 深圳传音控股股份有限公司 Operation method, intelligent terminal and storage medium
WO2023169236A1 (en) * 2022-03-07 2023-09-14 深圳传音控股股份有限公司 Operation method, intelligent terminal, and storage medium
CN115202555A (en) * 2022-06-23 2022-10-18 维沃移动通信有限公司 Information processing method and device
CN115309309A (en) * 2022-08-17 2022-11-08 维沃移动通信有限公司 Content sharing method and device, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9075583B1 (en) * 2013-03-15 2015-07-07 Emc Corporation Layout design for a mobile application using selected governance, risk management and compliance rules
CN106527882A (en) * 2016-09-29 2017-03-22 北京小米移动软件有限公司 Content sharing method, device and terminal
CN107247746A (en) * 2017-05-23 2017-10-13 努比亚技术有限公司 A kind of data sharing method and terminal
CN108762954A (en) * 2018-05-29 2018-11-06 维沃移动通信有限公司 A kind of object sharing method and mobile terminal
CN110851051A (en) * 2019-10-28 2020-02-28 维沃移动通信有限公司 Object sharing method and electronic equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102087662A (en) * 2011-01-24 2011-06-08 深圳市同洲电子股份有限公司 Method and device for searching information
CN102508707A (en) * 2011-11-21 2012-06-20 宇龙计算机通信科技(深圳)有限公司 Information editing method and terminal
US20130332841A1 (en) * 2012-06-10 2013-12-12 Apple Inc. Integrated tools for creating and sharing image streams
KR20140007163A (en) * 2012-07-09 2014-01-17 삼성전자주식회사 Method and apparatus for providing a clipboard for mobile apparatus
US10599250B2 (en) * 2013-05-06 2020-03-24 Qeexo, Co. Using finger touch types to interact with electronic devices
CN105955607B (en) * 2016-04-22 2020-06-19 北京小米移动软件有限公司 Content sharing method and device
CN106603823A (en) * 2016-11-28 2017-04-26 努比亚技术有限公司 Content sharing method and device and terminal
CN107977152A (en) * 2017-11-30 2018-05-01 努比亚技术有限公司 A kind of picture sharing method, terminal and storage medium based on dual-screen mobile terminal
CN108958580B (en) * 2018-06-28 2021-07-23 维沃移动通信有限公司 Display control method and terminal equipment
CN109471742A (en) * 2018-11-07 2019-03-15 Oppo广东移动通信有限公司 Information processing method, device, electronic equipment and readable storage medium storing program for executing
CN109582475A (en) * 2018-11-27 2019-04-05 维沃移动通信有限公司 A kind of sharing method and terminal
CN109683761B (en) * 2018-12-17 2021-07-23 北京小米移动软件有限公司 Content collection method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9075583B1 (en) * 2013-03-15 2015-07-07 Emc Corporation Layout design for a mobile application using selected governance, risk management and compliance rules
CN106527882A (en) * 2016-09-29 2017-03-22 北京小米移动软件有限公司 Content sharing method, device and terminal
CN107247746A (en) * 2017-05-23 2017-10-13 努比亚技术有限公司 A kind of data sharing method and terminal
CN108762954A (en) * 2018-05-29 2018-11-06 维沃移动通信有限公司 A kind of object sharing method and mobile terminal
CN110851051A (en) * 2019-10-28 2020-02-28 维沃移动通信有限公司 Object sharing method and electronic equipment

Also Published As

Publication number Publication date
CN110851051A (en) 2020-02-28
CN110851051B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
WO2021083052A1 (en) Object sharing method and electronic device
WO2021115329A1 (en) Method for controlling application, and electronic device
WO2021104365A1 (en) Object sharing method and electronic device
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2021197263A1 (en) Content sharing method and electronic device
WO2021218902A1 (en) Display control method and apparatus, and electronic device
WO2021083132A1 (en) Icon moving method and electronic device
WO2021082711A1 (en) Image display method and electronic device
WO2021057337A1 (en) Operation method and electronic device
WO2021012931A1 (en) Icon management method and terminal
CN111338530B (en) Control method of application program icon and electronic equipment
CN109917995B (en) Object processing method and terminal equipment
WO2021104163A1 (en) Icon arrangement method and electronic device
WO2020151525A1 (en) Message sending method, and terminal device
WO2021129536A1 (en) Icon moving method and electronic device
WO2021129538A1 (en) Control method and electronic device
CN110888707A (en) Message sending method and electronic equipment
WO2020207379A1 (en) Screen splitting method and terminal device
WO2020182035A1 (en) Image processing method and terminal device
WO2020199783A1 (en) Interface display method and terminal device
WO2020215982A1 (en) Desktop icon management method and terminal device
WO2021164716A1 (en) Display method and electronic device
WO2020181945A1 (en) Identifier displaying method and terminal device
CN108228902B (en) File display method and mobile terminal
CN110908554B (en) Long screenshot method and terminal 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: 20882207

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

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20882207

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.03.2023)