WO2022127382A1 - 内容分享方法及装置、设备、存储介质 - Google Patents

内容分享方法及装置、设备、存储介质 Download PDF

Info

Publication number
WO2022127382A1
WO2022127382A1 PCT/CN2021/126128 CN2021126128W WO2022127382A1 WO 2022127382 A1 WO2022127382 A1 WO 2022127382A1 CN 2021126128 W CN2021126128 W CN 2021126128W WO 2022127382 A1 WO2022127382 A1 WO 2022127382A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
target
interface
moving operation
sharing
Prior art date
Application number
PCT/CN2021/126128
Other languages
English (en)
French (fr)
Inventor
莫博宇
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to EP21905311.3A priority Critical patent/EP4239460A4/en
Publication of WO2022127382A1 publication Critical patent/WO2022127382A1/zh
Priority to US18/201,132 priority patent/US20230297209A1/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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • 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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the embodiments of the present application relate to electronic technologies, and relate to, but are not limited to, a content sharing method and apparatus, device, and storage medium.
  • electronic devices such as smart phones, tablet computers
  • the user usually displays the display interface of at least one application on the display screen.
  • embodiments of the present application provide a content sharing method, device, device, and storage medium.
  • an embodiment of the present application provides a content sharing method, which is applied to an electronic device with a display screen, and the method includes:
  • the target content corresponding to the target icon is shared to the second application.
  • an embodiment of the present application provides a content sharing device, the device comprising:
  • an obtaining unit configured to obtain the position information of the target icon during the moving operation in response to the moving operation for the target icon in the first application interface
  • an adjustment unit configured to adjust the interface display state of the second application if the location information is within the location range associated with the second application
  • the sharing unit is configured to, in response to the end of the moving operation, share the target content corresponding to the target icon to the second application if the end position of the moving operation is located in the second application interface.
  • an embodiment of the present application provides an electronic device, the electronic device at least includes: a memory, a communication bus, and a processor: the memory is used to store a content sharing program; the communication bus is used to implement the processor and the connection communication between the memory; the processor is used to execute the content sharing program stored in the memory to realize the following steps:
  • the target content corresponding to the target icon is shared to the second application.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the above-described content sharing method.
  • FIG. 1A is a schematic diagram 1 of an implementation flow of a content sharing method according to an embodiment of the present application
  • FIG. 1B is a schematic diagram 1 of an application scenario of a content sharing method according to an embodiment of the present application
  • FIG. 2A is a second implementation flowchart of a content sharing method according to an embodiment of the present application.
  • FIG. 2B is a second schematic diagram of an application scenario of the content sharing method according to an embodiment of the present application.
  • 2C is a schematic diagram 3 of an application scenario of the content sharing method according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram 3 of the implementation flow of the content sharing method according to the embodiment of the present application.
  • FIG. 4 is a schematic diagram 4 of the implementation process of the content sharing method according to the embodiment of the present application.
  • FIG. 5 is a schematic diagram 1 of an interface operation for content sharing according to an embodiment of the present application.
  • FIG. 6 is a second schematic diagram of an interface operation for content sharing according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a content sharing apparatus according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a hardware entity of an electronic device according to an embodiment of the present application.
  • first ⁇ second ⁇ third involved in the embodiments of the present application is only to distinguish similar objects, and does not represent a specific ordering of objects. It is understandable that “first ⁇ second ⁇ third” "Where permitted, the specific order or sequence may be interchanged to enable the embodiments of the application described herein to be practiced in sequences other than those illustrated or described herein.
  • electronic equipment is limited by the size of its own display screen, and the content that can be displayed on the screen is limited.
  • the display interface of the application may have the problem of incomplete display, which makes it impossible for the user to move the target object conveniently and quickly. To the target location, it is also prone to misoperation, and the user experience is poor.
  • an embodiment of the present application provides a content sharing method, which is applied to an electronic device with a display screen.
  • the method includes: in response to a moving operation for a target icon in a first application interface, obtaining the location of the target icon in the position information during the moving operation; if the position information is within the position range associated with the second application, adjust the interface display state of the second application; in response to the end of the moving operation, if the If the end position of the moving operation is located in the second application interface, the target content corresponding to the target icon is shared to the second application.
  • the location information is within a location range associated with the second application, including: the location information belongs to an application icon location of the second application; the location information belongs to the second application interface inside; the location information belongs to the shortcut identification location of the second application; the location information belongs to the shortcut launch bar location of the second application.
  • sharing the target content corresponding to the target icon to the second application includes: if the moving operation The end position of the target icon is located at the position of the display object in the second application interface, and the target content corresponding to the target icon is shared to the target corresponding to the display object.
  • the second application includes a communication application
  • the display object includes a contact identifier
  • the sharing the target content corresponding to the target icon to the target corresponding to the display object includes: The target content corresponding to the target icon is shared to the contact corresponding to the contact identifier.
  • the contact identifier includes at least one of the following: a contact avatar, a contact number, a contact conversation list item, and a contact conversation page.
  • the second application includes a file management application
  • the display object includes a folder identifier
  • the sharing the target content corresponding to the target icon to the target corresponding to the display object includes: The target content corresponding to the target icon is saved to the path where the folder is located.
  • the second application includes a document editing application; the sharing the target content corresponding to the target icon to the second application includes: saving the target content corresponding to the target icon to the In the file of the corresponding format of the document editing class application.
  • the interface display state of the second application includes at least one of the following: a size of the second application interface, a shape of the second application interface, a shape of the second application, and the first 2. The position of the application in the display screen.
  • the method further includes: in response to the end of the moving operation, canceling the sharing of the target content if the end position of the moving operation is located within the first application interface.
  • the method further includes: after the sharing ends, displaying the second application on the display screen in a state before adjustment; or, after canceling the sharing, displaying the second application on the display screen displayed on the display screen in the state before adjustment.
  • the method further includes: in response to the end of the moving operation, if the end position of the moving operation is located at the title bar position of the electronic device, canceling the sharing of the target content; or, in response to At the end of the moving operation, if the end position of the moving operation exceeds the boundary position of the display screen of the electronic device, the sharing of the target content is cancelled.
  • FIG. 1A is a schematic diagram 1 of an implementation flow of a content sharing method according to an embodiment of the present application. As shown in FIG. 1A , the method includes:
  • Step S101 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • the electronic device can be various types of devices with information processing capabilities, such as a mobile phone, a PDA (Personal Digital Assistant, personal digital assistant), a tablet computer, a navigator, a tablet computer, an all-in-one computer, and the like.
  • a mobile phone a PDA (Personal Digital Assistant, personal digital assistant)
  • PDA Personal Digital Assistant
  • tablet computer a navigator, a tablet computer, an all-in-one computer, and the like.
  • the first application interface may be any interface of the first application.
  • the first application interface may be a contact list interface, a chat interface, or the like;
  • the first application is a file management application, the first application interface may be a folder list interface or a file list interface; if the first application is a gallery application, the first application interface may be a display of all photos interface, etc.
  • the target icon may be an icon corresponding to any content in the first application interface.
  • the target icon may be an icon corresponding to a contact card.
  • the target icon may be an icon corresponding to information such as files, pictures, videos, etc. existing in the chat interface. If the first application interface is a folder list interface, the target icon may be an icon corresponding to a folder. That is to say, in the embodiment of the present application, neither the type of the first application interface nor the type of the target icon is specifically limited.
  • the user can select a target icon in the first application interface by pressing or double-clicking, and then drag the target icon to move in the touch screen.
  • its position information in the touch screen is also constantly changing. Therefore, the position information of the target icon during the moving operation is obtained, and the position information includes the location information at different times. position information of the target icon in the touch screen.
  • Step S102 if the location information is within the location range associated with the second application, adjust the interface display state of the second application;
  • the position information of the target icon in the touch screen is also constantly changing.
  • the interface display state of the second application is adjusted.
  • the second application is another application on the display screen of the electronic device that is different from the first application, and the second application may be displayed on the display in a variety of different states on the screen.
  • the second application may be displayed on the display screen in a state of "shrinking the window", and the second application may be displayed in a state of "bubble” on the display screen.
  • the second application may be displayed on the display screen in a "floating window” state, and the like. If the second application is closed, the second application may be displayed on the display screen in the state of "application icon”, and the second application may be displayed on the display screen in the state of "shortcut” Superior.
  • the interface displays the status.
  • the state of the "shrinking window”, the state of the "bubble” and the state of the "floating window” are the interface display states when the application is opened.
  • the state of the "application icon” and the state of the "shortcut” are the interface display states when the application is closed.
  • the second application may be displayed on the first application interface.
  • the interface display state of the second application is adjusted.
  • the end of the moving operation may be the lifting operation performed by the user, and the dwelling during the moving process is not the end of the moving operation.
  • the location information is within the range of the location associated with the second application, including: the location information belongs to the location of the application icon of the second application; the location information belongs to the second application interface; The location information belongs to the shortcut identification location of the second application; the location information belongs to the shortcut launch bar location of the second application.
  • the location information is within the location range associated with the second application, which refers to the location where the target icon is located. The position coincides with any position in the second application interface. If the second application is displayed on the display screen in a "bubble” state, the location information is within the range of the location associated with the second application, which means that the location of the target icon is located in the first 2. The "bubble" interface position of the application. If the second application is displayed on the launch bar as a "shortcut", the location information is within the range of the location associated with the second application, which means that the target icon is located in the second launch bar. The location of the shortcut to the app.
  • the interface display state of the second application includes at least one of the following: a size of the second application interface, a shape of the second application interface, a shape of the second application, and the first 2. The position of the application in the display screen.
  • the size of the second application interface refers to the size of the second application interface.
  • the size of the second application interface is 5cm*1cm (centimeter)
  • the process of the moving operation of the target icon is obtained. If the location information is within the location range associated with the second application, adjust the size of the second application interface to 15cm*5cm.
  • the form of the second application refers to an interface display state unique to the second application itself.
  • the chat bubble of WeChat the floating window of some download applications, shortcuts, full-screen display, etc.
  • the interface display state of the second application for example, adjust the second application from the state of the floating window to full-screen display state, so that the second application is displayed on the display screen in a state different from the state before adjustment.
  • the second application is in a closed shortcut state
  • the process of the moving operation of the target icon is obtained. If the location information is within the location range associated with the second application, the second application is opened and displayed in the center of the display screen in a state of "reduced window".
  • adjusting the position of the second application in the display screen refers to coordinate information of the second application in the display screen.
  • the adjustment of the interface display state of the second application in this embodiment of the present application may be one of adjusting the interface display state of the second application, or may be adjusting the interface display state of the second application.
  • the specific content of adjusting the display state of the interface is not limited.
  • the second application is displayed in the lower right corner of the electronic device in a "bubble" state. If the icon of an object in the first application is selected and dragged onto the "bubble", the The second application changes from a "bubble” to a "full screen window” state and is displayed in the center of the display.
  • Step S103 In response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, share the target content corresponding to the target icon to the second application.
  • the method further includes: after the sharing ends, displaying the second application on the display screen in a state before adjustment.
  • the end of the moving operation may be a lifting operation after moving a certain distance
  • the end point of the moving operation may be the position of the coordinate point corresponding to the lifting operation.
  • the moving operation may also be a space gesture moving operation in front of the display screen of the electronic device, and the end of the moving operation may be that the moving operation ending gesture occurs after the moving operation moves a certain distance. For example, when the user makes a gesture of opening the palm after moving a certain distance in front of the display screen, it means that the moving operation is over.
  • the end position of the moving operation is located in the second application interface, which may be that the end position of the moving operation is located in an area related to the second application.
  • the end position of the moving operation being located in the second application interface means that the end position of the moving operation is located in the document editing in the editing area of the APP.
  • the end position of the moving operation being located in the second application interface means that the end position of the moving operation is located on a chat list in the chat display interface. .
  • the method further includes:
  • Step S11b after the sharing ends, displaying the second application on the display screen in the state before adjustment;
  • Step S12b After canceling the sharing, display the second application on the display screen in the state before adjustment.
  • the location information of the target icon during the moving operation is obtained by responding to the moving operation for the target icon in the first application interface; if the location information is associated with the second application In response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, the target icon corresponding to the The target content is shared to the second application. In this way, a convenient operation of sharing content from the first application to the second application in the display screen can be realized.
  • an embodiment of the present application further provides a content sharing method, which is applied to an electronic device with a display screen, and the method includes:
  • Step S111 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S112 if the location information belongs to the location of the application icon of the second application, or, the location information belongs to the interface of the second application, or, the location information belongs to the shortcut identifier of the second application location, or, if the location information belongs to the location of the quick launch bar of the second application, adjust the interface display state of the second application;
  • the second application is a document editing application
  • the position where the target icon is located is located at the position identified by the shortcut of the document editing application
  • a new document is created and the document is displayed in full screen.
  • the floating window of the document editing application can be adjusted from the lower right corner of the display screen to the center of the display screen, and at the same time
  • the floating window can also be enlarged.
  • Step S113 In response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, share the target content corresponding to the target icon to the second application.
  • the second application is a document editing application
  • the position where the target icon is located is located at the position identified by the shortcut of the document editing application
  • a new document is created and the document is displayed in full screen. If the end position of the moving operation is located in the newly created document, the newly created document is used to record the target content corresponding to the target icon.
  • the second application may be a system application, such as a camera gallery.
  • the second application may also be a third-party application, such as WeChat.
  • the first application is a file management folder
  • the second application is a camera gallery
  • the second application is displayed above the first application
  • the second application is 5*3cm in size displayed in the lower right corner of the display.
  • the user selects a picture in the file management folder and starts to move the icon corresponding to the picture. If the position of the icon is located in the display interface of the camera gallery, the position of the camera gallery is moved from the lower right corner of the display screen.
  • the first application is a file management folder
  • the second application is WeChat
  • the file management folder is displayed in full screen
  • the WeChat is opened in the form of a "chat bubble" and displayed in the upper left corner of the display screen. .
  • the user selects a picture in the file management folder and starts to move the icon corresponding to the picture.
  • the interface display state of the WeChat is changed from “chat bubble” to "chat bubble”. It is a "reduced window” and is displayed in the center of the display screen, so that the WeChat is displayed on the display screen in a different state than before adjustment. If the icon continues to move to a group logo of the WeChat and the user performs a lifting operation, the picture corresponding to the icon is shared to the contact corresponding to the group logo.
  • an embodiment of the present application further provides a content sharing method, which is applied to an electronic device with a display screen, and the method includes:
  • Step S121 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S122 if the location information is within the location range associated with the second application, adjust the interface display state of the second application;
  • Step S123 in response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, share the target content corresponding to the target icon to the second application;
  • Step S124 the second application includes a document editing application; correspondingly, the sharing the target content corresponding to the target icon to the second application includes: saving the target content corresponding to the target icon to the In the file of the corresponding format of the document editing class application.
  • the method further includes: after saving the target content corresponding to the target icon to a file in a format corresponding to the document editing application, displaying the document editing application in a state before adjustment on the display.
  • the first application is a camera gallery
  • the target icon is an icon corresponding to the target picture. If the user selects the target icon and performs a drag and drop operation, and drags the location of the icon to the display interface of an open document editing application, the position of the open document editing application is removed from the display interface. The lower right corner of the screen is adjusted to the center of the display. If the user continues to drag and drop the icon to the file of the corresponding format of the document editing application and perform a lift operation, the target image is shared to the file of the corresponding format of the document editing application. And, after the sharing is completed, the position of the document editing application is restored to the position before the dragging.
  • FIG. 1B is a schematic diagram 1 of an application scenario of the content sharing method according to the embodiment of the present application.
  • a first application interface 14 and a second application 13 are displayed on the display screen of the electronic device, and the first application interface 14 and the second application 13 are displayed on the display screen of the electronic device, and the The second application 13 is a document editing application, and the user determines the target icon 15 corresponding to the target content in the first application interface 14 through a touch and press operation. In this way, the user can move the selected target icon 15.
  • the position of the target icon 15 is within the range of the position associated with the second application 13 (such as the target icon 15 is located in the interface of the second application 13), adjust the interface display state of the second application 13, so that the second application is displayed on the display screen in a state different from that before adjustment:
  • the second application 13 is enlarged and placed in the center of the display screen, and the adjusted interface is shown in picture 102 .
  • the end position of the moving operation is located in a file of the second application 13 (part of or all of the interface including the target icon 15 is located in a file of the second application 13 ), and the user lifts During operation, the target content corresponding to the target icon 15 is shared to the file of the second application 13, and at the same time, the second application 13 is displayed on the display screen in the state before adjustment (that is, the first The second application 13 is reduced to the size before adjustment, and the position of the second application 13 on the display screen is placed at the position before adjustment), and the interface after the sharing is completed is as shown in picture 103 .
  • FIG. 2A is a second schematic flowchart of the implementation of the content sharing method according to an embodiment of the present application. As shown in FIG. 2A , the method includes:
  • Step S201 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S202 if the location information is within the location range associated with the second application, adjust the interface display state of the second application;
  • Step S203 in response to the end of the moving operation, if the end position of the moving operation is located at the position of the display object in the second application interface, share the target content corresponding to the target icon to the display The target corresponding to the object.
  • the method further includes:
  • Step S21 after the sharing ends, displaying the second application on the display screen in the state before adjustment;
  • Step S22 After canceling the sharing, display the second application on the display screen in the state before adjustment.
  • the location information of the target icon during the moving operation is obtained by responding to the moving operation for the target icon in the first application interface; if the location information is associated with the second application within the position range of the second application, adjust the interface display state of the second application; in response to the end of the movement operation, if the end position of the movement operation is located at the position of the display object in the second application interface, then The target content corresponding to the target icon is shared to the target corresponding to the display object, so that a convenient operation of sharing content from the first application to the second application on the display screen can be realized.
  • an embodiment of the present application further provides a content sharing method, which is applied to an electronic device with a display screen, and the method includes:
  • Step S211 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S212 if the location information is within the location range associated with the second application, adjust the interface display state of the second application;
  • Step S213 in response to the end of the moving operation, if the end position of the moving operation is located at the position of the display object in the second application interface, share the target content corresponding to the target icon to the display The target corresponding to the object;
  • Step S214 the second application includes a communication application, and the display object includes a contact identifier; correspondingly, the sharing the target content corresponding to the target icon to the target corresponding to the display object includes: The target content corresponding to the target icon is shared to the contact corresponding to the contact identifier.
  • the contact identifier includes at least one of the following: a contact avatar, a contact number, a contact conversation list item, and a contact conversation page.
  • the first application is a file management APP
  • the target icon is an icon corresponding to a folder to be shared (including files in the folder)
  • the communication application is WeChat
  • the display object is chat A chat list in the interface
  • the WeChat icon is displayed on the menu bar in the lower right corner. If the user selects and drags the icon corresponding to the folder, and drags the position of the icon onto the WeChat, the WeChat will be adjusted to a floating window state and displayed in the center of the display screen.
  • the folder including the files in the folder
  • the WeChat is redisplayed on the display screen in the state before adjustment, that is, the WeChat is redisplayed on the menu bar in the lower right corner in the state of an icon.
  • FIG. 2B is a second schematic diagram of an application scenario of the content sharing method according to an embodiment of the present application.
  • a first application interface 24 and a second application 23 are displayed on the display screen of the electronic device, and the first application interface 24 and the second application 23 are displayed on the display screen of the electronic device.
  • One application is a file management application
  • the second application 23 is a communication application
  • the user determines the target icon 25 in the first application interface 24 through a touch and press operation. In this way, the user can move the selected target icon 25 .
  • the interface display state of the second application 23 can be adjusted from a bubble to a floating window and moved to the center of the display screen, and the adjusted interface is shown in picture 202 .
  • the end position of the moving operation is located at the position where a contact identifier 26 in the second application 23 is located (including part or all of the interface of the target icon 25 is located in a contact in the second application 23 ) ID 26), and when the user performs a lift operation, the target content corresponding to the target icon 25 is shared to the contact corresponding to the contact ID 26, and the second application is changed into a bubble display again at the same time.
  • the interface after the sharing is completed is as shown in picture 203 .
  • an embodiment of the present application further provides a content sharing method, which is applied to an electronic device with a display screen, and the method includes:
  • Step S221 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S222 if the location information is within the location range associated with the second application, adjust the interface display state of the second application;
  • Step S223 in response to the end of the moving operation, if the end position of the moving operation is located at the position of the display object in the second application interface, share the target content corresponding to the target icon to the display The target corresponding to the object;
  • Step S224 the second application includes a file management application, and the display object includes a folder identifier; correspondingly, the sharing the target content corresponding to the target icon to the target corresponding to the display object includes: The target content corresponding to the target icon is saved to the path where the folder is located.
  • the first application is WeChat
  • the target icon is an icon corresponding to the video received by the user in the chat interface to be shared. If the user selects the icon corresponding to the received video and performs a drag and drop operation, and drags the position of the icon into the file management application interface, the file management application is adjusted to a full-screen interface display state.
  • the user drags the icon corresponding to the video to a folder in the file management application and performs a lift operation the video is saved to the path where the folder is located, and the saving ends Afterwards, the display interface of the file management application is restored to the non-full-screen state before adjustment.
  • FIG. 2C is a schematic diagram of a third application scenario of the content sharing method according to the embodiment of the present application.
  • a first application interface 24 and a second application 23 are displayed on the display screen of the electronic device, and the first application interface 24 and the second application 23 are displayed on the display screen of the electronic device, and the The second application 23 is a file management application, and the user determines the target icon 25 in the first application interface 24 through a touch and press operation. In this way, the user can move the selected target icon 25 .
  • the position of the target icon 25 is within the range of the position associated with the second application 23 (eg, the position of the target icon 25 is within the interface of the second application 23 ) ), then adjust the interface display state of the second application 23 so that the second application 23 is displayed on the display screen in a state different from that before adjustment: enlarge the second application 23 and place it on the display in the center of the display.
  • the adjusted interface is shown in picture 202 .
  • the end position of the moving operation is located at the position where a folder identifier 26 in the second application 23 is located (including part or all of the interface of the target icon 25 is located in a folder in the second application 23 ) the location of the logo 26), and when the user performs a lifting operation, the content corresponding to the target icon 25 is saved to the path where the folder logo 26 is located, and the second application 23 is reduced to the size before adjustment. size, and place the position of the second application 23 on the display screen to the position before adjustment, and the interface after the sharing is completed is as shown in picture 203 .
  • FIG. 3 is a schematic diagram 3 of the implementation process of the content sharing method according to the embodiment of the present application. As shown in FIG. 3 , the method includes:
  • Step S301 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S302 If the location information is within the location range associated with the second application, adjust the interface display state of the second application, and the interface display state of the second application includes at least one of the following: the first 2. the size of the application interface, the shape of the second application interface, the shape of the second application, and the position of the second application in the display screen;
  • Step S303 In response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, share the target content corresponding to the target icon to the second application.
  • an embodiment of the present application further provides a content sharing method, which is applied to an electronic device with a display screen, and the method includes:
  • Step S311 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S312 If the location information is within the location range associated with the second application, adjust the interface display state of the second application, and the interface display state of the second application includes at least one of the following: the first 2. the size of the application interface, the shape of the second application interface, the shape of the second application, and the position of the second application in the display screen;
  • Step S313 In response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, share the target content corresponding to the target icon to the second application.
  • Step S314 In response to the end of the moving operation, if the end position of the moving operation is located in the first application interface, cancel the sharing of the target content.
  • the method further includes:
  • Step S31 after the sharing ends, display the second application on the display screen in the state before adjustment
  • Step S32 After canceling the sharing, display the second application on the display screen in the state before adjustment.
  • the method further includes:
  • the end position of the moving operation is located in the first application interface, or the end position of the moving operation is located on the title bar of the display screen, or the end position of the moving operation exceeds the The boundary position of the display screen can be considered to have received the cancel sharing command. That is to say, in the embodiments of the present application, the implementation manner of canceling sharing is not specifically limited.
  • FIG. 4 is a fourth schematic flowchart of the implementation of the content sharing method according to an embodiment of the present application. As shown in FIG. 4 , the method includes:
  • Step S401 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S402 if the location information is within the location range associated with the second application, adjust the interface display state of the second application;
  • Step S403 in response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, share the target content corresponding to the target icon to the second application;
  • Step S404 After the sharing ends, display the second application on the display screen in the state before adjustment.
  • the location information of the target icon during the moving operation is obtained by responding to the moving operation for the target icon in the first application interface; if the location information is associated with the second application In response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, the target icon corresponding to the share the target content to the second application; after the sharing ends, display the second application on the display screen in the state before adjustment, so that sharing from the first application on the display screen can be achieved
  • the convenient operation of the content to the second application avoids accidental touch, and the interface display state of the application is automatically adjusted to the state before sharing after the sharing is completed.
  • an embodiment of the present application further provides a content sharing method, which is applied to an electronic device with a display screen, and the method includes:
  • Step S411 in the first application interface, determine the target icon corresponding to the target content to be shared;
  • the step S411, in the first application interface determines the target icon corresponding to the target content to be shared, which can be implemented in the following manner: for example, the display screen is a touch screen, and the first application is obtained.
  • the pressing operation is a pressing operation for the target icon.
  • the target icon to be shared can be determined by pressing the selected method.
  • the target icon may be various, for example, the target icon may be an icon corresponding to a text, a picture, a video, a file, or the like.
  • the target icon to be shared can also be determined through a virtual pressing operation.
  • the mouse simulates clicks and presses, air gestures, VR (Virtual Reality, virtual reality technology) operations, etc.
  • VR Virtual Reality, virtual reality technology
  • a user when he is operating an electronic device, he can perform a selection operation in the air, and use the camera of the electronic device to obtain the user's gesture in front of the display screen, and then use an algorithm to identify the shape, location and other information of the gesture to determine the information to be shared.
  • target icon can also be used to create a computer simulation system, to generate a simulation environment, to express objects such as electronic equipment through a three-dimensional model, and to allow the user to determine the target icon to be shared in the three-dimensional model.
  • Step S412 in response to the moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • Step S414 in response to the end of the moving operation, if the end position of the moving operation is located in the second application interface, share the target content corresponding to the target icon to the second application;
  • the end position of the moving operation is located in the second application interface, which may be part or all of the interface of the target icon located in the second application interface.
  • the end position of the moving operation is located in the interface of the second application.
  • Step S415 in response to the end of the moving operation, if the terminal position of the moving operation is located in the first application interface, then cancel the sharing of the target content;
  • the end position of the user's movement operation can be determined, and if the end position of the movement operation is located in the second application interface, content sharing is performed. If the end position of the moving operation is located in the first application interface, the sharing is canceled.
  • Step S416 After the sharing ends, display the second application on the display screen in the state before adjustment.
  • the second application is displayed on the display screen in a state before adjustment after the end.
  • the step S411, in the first application interface determines the target icon corresponding to the target content to be shared, including:
  • Step S41b obtaining a pressing operation on the first application interface; if the duration of the pressing operation exceeds a preset duration, determine a target icon corresponding to the target content to be shared;
  • Step S42b if the number of consecutive pressing times of the pressing operation exceeds a preset number, determine a target icon corresponding to the target content to be shared.
  • the prior art is based on the native capabilities of Android, and the second application can be displayed in an application floating window, and then the bottom interface is the page of the first application. At this time, the user can share the files in the first application to the first application by dragging and dropping.
  • Second application For example, a user long presses a file in the first application to enter the dragging state, and when the user releases the hand within the floating window of the second application, a sharing behavior can be triggered, and the file will be sent to the first application in a specific form. For the second application, when you let go outside the floating window of the second application, drag and share can be canceled.
  • the user in order to conveniently and unobstructed to select a file to be shared from the first application, the user usually places the second application in a corner area of the display screen. In this way, it will cause the problem that the file cannot be accurately shared to the second application after the file is selected, and the user experience is very poor.
  • the embodiments of the present application provide a method for dragging and sharing content from a bottom application to a floating window.
  • the method will judge the user's operation, and the user will manually move the floating window away to facilitate himself.
  • To select the content to be shared and drag the icon of the content to be shared when the user long presses to trigger the drag operation in the bottom application, if the shared object is dragged to the current floating window, the floating window will automatically move to a place where the user can After reading the position of the entire floating window (for example, the screen is centered), when the user lets go of sending, the floating window automatically returns to the previous position, and the user can continue to comfortably select the content to be shared again.
  • FIG. 5 is a schematic diagram 1 of an interface operation for content sharing according to an embodiment of the present application, as shown in FIG. 5 :
  • a first application 501 of the gallery type and a second application 502 of the communication type are displayed on the display interface of the electronic device, and the second application 502 is in the form of a floating window. displayed on the display interface of the first application 501 .
  • the display interface changes to the interface shown in the picture 52, and the photo to be shared 503 is in the selected state.
  • the photo to be shared 503 is dragged, and the result of the drag operation is judged: when the user drags the to-be-shared photo 503
  • the interface is as shown in the picture 53 .
  • the floating window of the second application 502 is automatically moved upward and displayed in the center of the display screen, that is, the position of the second application 502 in the display screen is changed, as shown in the interface shown in picture 54 . In this way, the user can see the entire page layout of the second application 502, which is convenient for the user to share.
  • the embodiment of the present application also provides a method for dragging and sharing content from a bottom application to a floating window.
  • the floating window may not only be displaced, but also You can also change the display state to facilitate sharing. That is to say, dragging to other forms of the floating window can also evoke the floating window for sharing: for example, the floating window is closing on the side of the screen in a bubble state (similar to WeChat bubbles). The corresponding floating window will be automatically called out, and you can send it by letting go in the floating window.
  • FIG. 6 is a second schematic diagram of an interface operation for content sharing according to an embodiment of the present application, as shown in FIG. 6 :
  • a first application 601 of the gallery type and a second application 602 of the communication type are displayed on the display interface of the electronic device.
  • the mode is displayed on the display interface of the first application 601 .
  • the display interface changes to the interface shown in the picture 62, and the photo to be shared 603 is in the selected state.
  • the photo to be shared 603 is dragged, and the result of the user's drag operation is judged: when the user drags the to-be-shared photo 603
  • the photo 603 is shared in the interface of the second application 602
  • the second application 602 is displayed in the center of the display screen in a floating window state. In this way, as in the interface shown in the picture 64, the user can see the entire page layout of the second application 602, which is convenient for the user to drag and locate at will.
  • the pain points brought by the existing solution to the dragging and sharing process of the user are avoided in a clever way, so that the user will not have any unnecessary obstruction during the dragging process, and the sharing can be canceled and returned simply and quickly.
  • the floating window solves the scene pain points of users in the process of dragging and sharing.
  • the automatic adjustment of the floating window will be more convenient when dragging and dropping on small screen devices such as mobile phones.
  • the embodiments of the present application provide a content sharing device, the device includes each unit included, each module included in each unit, and each component included in each module, which can be passed through an electronic device.
  • the processor can be CPU (Central Processing Unit, central processing unit), MPU (Microprocessor Unit, microprocessor), DSP (Digital Signal Processing, digital signal processor) or FPGA (Field Programmable Gate Array, Field Programmable Gate Array), etc.
  • FIG. 7 is a schematic structural diagram of a content sharing apparatus according to an embodiment of the present application. As shown in FIG. 7 , the apparatus 700 includes:
  • an obtaining unit 701 configured to, in response to a moving operation for the target icon in the first application interface, obtain the position information of the target icon during the moving operation;
  • An adjustment unit 702 configured to adjust the interface display state of the second application if the location information is within the location range associated with the second application;
  • the sharing unit 703 is configured to, in response to the end of the moving operation, share the target content corresponding to the target icon to the second application if the end position of the moving operation is located in the second application interface.
  • the location information is within a location range associated with the second application, including:
  • the location information belongs to the location of the application icon of the second application
  • the location information belongs to the second application interface
  • the location information belongs to the shortcut identification location of the second application
  • the location information belongs to the quick launch bar location of the second application.
  • the sharing unit 703 includes:
  • the sharing module is configured to share the target content corresponding to the target icon to the target corresponding to the display object if the end position of the moving operation is located at the position of the display object in the second application interface.
  • the second application includes a communication application, and the display object includes a contact identifier
  • the sharing module includes:
  • the first sharing component is configured to share the target content corresponding to the target icon to the contact corresponding to the contact identifier.
  • the contact identifier includes at least one of the following: a contact avatar, a contact number, a contact conversation list item, and a contact conversation page.
  • the second application includes a file management application, and the display object includes a folder identifier;
  • the sharing module includes:
  • the second sharing component is configured to save the target content corresponding to the target icon to the path where the folder is located.
  • the second application includes a document editing application
  • the sharing unit 703 includes:
  • the document sharing module is configured to save the target content corresponding to the target icon to a file in a format corresponding to the document editing application.
  • the interface display state of the second application includes at least one of the following:
  • the size of the second application interface, the shape of the second application interface, the form of the second application, and the position of the second application in the display screen is the size of the second application interface, the shape of the second application interface, the form of the second application, and the position of the second application in the display screen.
  • the apparatus further includes:
  • the first cancel sharing unit is configured to cancel the sharing of the target content in response to the end of the moving operation, if the end position of the moving operation is located in the first application interface.
  • the apparatus further includes:
  • a restoration unit configured to display the second application on the display screen in a state before adjustment after the sharing ends
  • the restoration unit is further configured to display the second application on the display screen in a state before adjustment after the cancellation of the sharing.
  • the apparatus further includes:
  • a second cancel sharing unit configured to cancel the sharing of the target content in response to the end of the moving operation, if the end position of the moving operation is located at the title bar position of the electronic device;
  • a third cancel sharing unit configured to cancel the sharing of the target content in response to the end of the moving operation, if the end position of the moving operation exceeds the boundary position of the display screen of the electronic device.
  • the embodiments of the present application if the above-mentioned content sharing method is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
  • the computer software products are stored in a storage medium and include several instructions for An electronic device (which may be a personal computer, a server, etc.) is caused to execute all or part of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, ROM (Read Only Memory, read-only memory), magnetic disk or optical disk and other media that can store program codes.
  • the embodiments of the present application are not limited to any specific combination of hardware and software.
  • an embodiment of the present application provides an electronic device, the electronic device at least includes: a memory, a communication bus, and a processor: the memory is used to store a content sharing program; the communication bus is used to implement the processor and the processor. Connection communication between memories; the processor is used to execute the content sharing program stored in the memory to realize the following steps:
  • the target content corresponding to the target icon is shared to the second application.
  • the location information is within a location range associated with the second application, including:
  • the location information belongs to the location of the application icon of the second application; the location information belongs to the interface of the second application; the location information belongs to the shortcut identification location of the second application; the location information belongs to the The location of the shortcut launch bar of the second application.
  • sharing the target content corresponding to the target icon to the second application includes:
  • the target content corresponding to the target icon is shared to the target corresponding to the display object.
  • the second application includes a communication application
  • the display object includes a contact identifier
  • the sharing the target content corresponding to the target icon to the target corresponding to the display object includes:
  • the target content corresponding to the target icon is shared to the contact corresponding to the contact identification.
  • the contact identifier includes at least one of the following: a contact avatar, a contact number, a contact conversation list item, and a contact conversation page.
  • the second application includes a file management application, and the display object includes a folder identifier; and the sharing the target content corresponding to the target icon to the target corresponding to the display object includes:
  • the second application includes a document editing application; and the sharing of the target content corresponding to the target icon to the second application includes:
  • the target content corresponding to the target icon is saved to a file in a format corresponding to the document editing application.
  • the interface display state of the second application includes at least one of the following:
  • the size of the second application interface, the shape of the second application interface, the form of the second application, and the position of the second application in the display screen is the size of the second application interface, the shape of the second application interface, the form of the second application, and the position of the second application in the display screen.
  • the processor is further configured to execute the content sharing program stored in the memory to implement the following steps:
  • the processor is further configured to execute the content sharing program stored in the memory to implement the following steps:
  • the processor is further configured to execute the content sharing program stored in the memory to implement the following steps:
  • an embodiment of the present application provides a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the above content sharing method.
  • FIG. 8 is a schematic diagram of a hardware entity of an electronic device according to an embodiment of the present application.
  • the hardware entity of the electronic device 800 includes: a processor 801 , a communication interface 802 and a memory 803 , wherein
  • the processor 801 generally controls the overall operation of the electronic device 800 .
  • the communication interface 802 may enable the electronic device 800 to communicate with other electronic devices or servers over a network.
  • the memory 803 is configured to store instructions and applications executable by the processor 801, and can also cache data to be processed or processed by the processor 801 and each module in the electronic device 800 (for example, image data, audio data, voice communication data and Video communication data), which can be implemented by FLASH (flash memory) or RAM (Random Access Memory).
  • FLASH flash memory
  • RAM Random Access Memory
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling, or direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
  • the unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment of the present application may all be integrated into one processing module, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented either in the form of hardware or in the form of hardware plus software functional units.
  • Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware, the aforementioned program may be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other media that can store program codes.
  • the methods disclosed in the several method embodiments provided in this application can be arbitrarily combined under the condition of no conflict to obtain new method embodiments.
  • the features disclosed in the several product embodiments provided in this application can be combined arbitrarily without conflict to obtain a new product embodiment.
  • the features disclosed in several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.

Abstract

本申请实施例公开了一种内容分享方法及装置、设备和存储介质,其中,所述方法应用于具备显示屏的电子设备,所述方法包括:响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。

Description

内容分享方法及装置、设备、存储介质
相关申请的交叉引用
本申请基于申请号为202011471717.6、申请日为2020年12月14日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以全文引用的方式引入本申请。
技术领域
本申请实施例涉及电子技术,涉及但不限于一种内容分享方法及装置、设备、存储介质。
背景技术
目前,随着生产力水平的提高,电子设备(例如智能手机、平板电脑)在人们的工作和生活中发挥着越来越重要的作用,电子设备中应用的种类和数量也越来越多。用户在使用的过程中通常会将至少一个应用的显示界面显示在显示屏上。
发明内容
有鉴于此,本申请实施例提供一种内容分享方法及装置、设备、存储介质。
本申请实施例的技术方案是这样实现的:
第一方面,本申请实施例提供一种内容分享方法,应用于具备显示屏的电子设备,所述方法包括:
响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
第二方面,本申请实施例提供一种内容分享装置,所述装置包括:
获取单元,配置为响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
调整单元,配置为若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
分享单元,配置为响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
第三方面,本申请实施例提供一种电子设备,所述电子设备至少包括:存储器、通信总线和处理器:所述存储器,用于存储内容分享程序;所述通信总线,用于实现处理器和存储器之间的连接通信;所述处理器,用于执行存储器中存储的内容分享程序,以实现以下步骤:
响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
第四方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述所述内容分享方法中的步骤。
附图说明
图1A为本申请实施例内容分享方法的实现流程示意图一;
图1B为本申请实施例内容分享方法的应用场景示意图一;
图2A为本申请实施例内容分享方法的实现流程示意图二;
图2B为本申请实施例内容分享方法的应用场景示意图二;
图2C为本申请实施例内容分享方法的应用场景示意图三;
图3为本申请实施例内容分享方法的实现流程示意图三;
图4为本申请实施例内容分享方法的实现流程示意图四;
图5为本申请实施例内容分享的界面操作示意图一;
图6为本申请实施例内容分享的界面操作示意图二;
图7为本申请实施例内容分享装置的组成结构示意图;
图8为本申请实施例电子设备的一种硬件实体示意图。
具体实施方式
下面结合附图和实施例对本申请的技术方案进一步详细阐述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。
在以下的描述中,涉及到“一些实施例”,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。
需要指出,本申请实施例所涉及的术语“第一\第二\第三”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。
目前,电子设备受自身显示屏幕尺寸的限制,屏幕可显示的内容有限。在用户进行针对文件或者其他对象的移动过程中,不同应用的显示界面之间可能会产生遮挡,或者应用的显示界面可能会存在显示不完全的问题,造成用户不仅不能方便快捷地将目标对象移动到目标位置,还容易产生误操作,用户体验差。
基于此,本申请实施例提供一种内容分享方法,应用于具备显示屏的电子设备,所述方法包括:响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
在一些实施例中,所述位置信息在所述第二应用关联的位置范围内,包括:所述位置信息属于所述第二应用的应用图标位置;所述位置信息属于所述第二应用界面内;所述位置信息属于所述第二应用的快捷方式标识位置;所述位置信息属于所述第二应用的快捷启动栏位 置。
在一些实施例中,所述若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用,包括:若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标。
在一些实施例中,所述第二应用包括通讯类应用,所述显示对象包括联系人标识;所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:将所述目标图标对应的目标内容分享至所述联系人标识对应的联系人。
在一些实施例中,所述联系人标识包括以下几种中的至少一种:联系人头像、联系人号码、联系人对话列表项和联系人对话页。
在一些实施例中,所述第二应用包括文件管理类应用,所述显示对象包括文件夹标识;所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:将所述目标图标对应的目标内容保存至所述文件夹所在的路径。
在一些实施例中,所述第二应用包括文档编辑类应用;所述将所述目标图标对应的目标内容分享至所述第二应用,包括:将所述目标图标对应的目标内容保存至所述文档编辑类应用对应格式的文件中。
在一些实施例中,所述第二应用的界面显示状态至少包括以下之一:所述第二应用界面的尺寸、所述第二应用界面的形状、所述第二应用的形态和所述第二应用在所述显示屏中的位置。
在一些实施例中,所述方法还包括:响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第一应用界面内,则取消分享所述目标内容。
在一些实施例中,所述方法还包括:在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上;或者,在取消分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
在一些实施例中,所述方法还包括:响应于所述移动操作的结束,若所述移动操作的终点位置位于所述电子设备的标题栏位置,则取消分享所述目标内容;或者,响应于所述移动操作的结束,若所述移动操作的终点位置超出所述电子设备的显示屏边界位置,则取消分享所述目标内容。
本申请实施例提供一种内容分享方法,该方法应用于具备显示屏的电子设备,该方法所实现的功能可以通过所述电子设备中的处理器调用程序代码来实现,当然程序代码可以保存在所述电子设备的存储介质中。图1A为本申请实施例内容分享方法的实现流程示意图一,如图1A所示,所述方法包括:
步骤S101、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
这里,所述电子设备可以为各种类型的具有信息处理能力的设备,例如手机、PDA(Personal Digital Assistant,个人数字助理)、平板电脑、导航仪、平板电脑、一体机等。
本申请实施例中,所述第一应用界面可以是第一应用的任一界面,例如,如果第一应用是通讯类应用,所述第一应用界面可以是联系人列表界面、聊天界面等;如果第一应用是文件管理类应用,所述第一应用界面可以是文件夹列表界面或者文件列表界面等;如果第一应用是图库类应用,则所述第一应用界面可以是所有照片的显示界面等。对应地,所述目标图标可以是第一应用界面内的任意内容对应的图标。例如,如果第一应用界面是联系人列表界面,目标图标可以是联系人名片对应的图标。如果第一应用界面是聊天界面,目标图标可以是聊天界面中存在的文件、图片、视频等信息对应的图标。如果第一应用界面是文件夹列表界面,目标图标可以是文件夹对应的图标。也就是说,本申请实施例中对所述第一应用界面的类型和所述目标图标的类型均不做具体限定。
假设所述电子设备为触摸屏的手机,用户可以通过按压或者双击操作选中所述第一应用 界面中的目标图标,进而拖动所述目标图标在所述触摸屏内移动。所述目标图标随着时间移动的过程中,其在触摸屏内的位置信息也是在不断变化的,因此获取所述目标图标在所述移动操作过程中的位置信息,所述位置信息包括不同时刻所述目标图标在所述触摸屏中的位置信息。
步骤S102、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
本申请实施例中,所述目标图标随着时间移动的过程中,其在触摸屏内的位置信息也是在不断变化的。在移动的过程中,一旦所述目标图标的位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态。
本申请实施例中,所述第二应用为所述电子设备显示屏中不同于所述第一应用的另一应用,并且,所述第二应用可以以多种不同的状态显示在所述显示屏上。举例来说,如果所述第二应用为打开,则所述第二应用可以以“缩小窗口”的状态显示在所述显示屏上、所述第二应用可以以“气泡”的状态显示在所述显示屏上、所述第二应用可以以“悬浮窗”的状态显示在所述显示屏上等。如果所述第二应用为关闭,则所述第二应用可以以“应用图标”的状态显示在所述显示屏上、所述第二应用可以以“快捷方式”的状态显示在所述显示屏上等。也就是说,所述“缩小窗口”的状态、所述“气泡”的状态、所述“悬浮窗”的状态、所述“应用图标”的状态和所述“快捷方式”的状态,均属于界面显示状态。所述“缩小窗口”的状态、所述“气泡”的状态和所述“悬浮窗”的状态为应用打开时的界面显示状态。所述“应用图标”的状态和所述“快捷方式”的状态为应用关闭时的界面显示状态。
并且,如果所述第二应用处于打开状态,所述第二应用可以显示在所述第一应用界面之上。
这里,在移动的过程中,一旦所述目标图标的位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态。并且,在调整完所述第二应用的界面显示状态后,如果所述移动操作未结束,即使所述目标图标的位置信息又再次在所述第二应用关联的位置范围内,也保持所述第二应用的界面显示状态不变。本申请实施例中,所述移动操作的结束,可以是用户做抬起操作,移动过程中的驻留并不是移动操作的结束。
对应地,所述位置信息在所述第二应用关联的位置范围内,包括:所述位置信息属于所述第二应用的应用图标位置;所述位置信息属于所述第二应用界面内;所述位置信息属于所述第二应用的快捷方式标识位置;所述位置信息属于所述第二应用的快捷启动栏位置。
举例来说,若所述第二应用以“缩小窗口”的状态显示在所述显示屏上,所述位置信息在所述第二应用关联的位置范围内,指的是所述目标图标所在的位置与所述第二应用界面内的任一位置重合。若所述第二应用以“气泡”的状态显示在所述显示屏上,所述位置信息在所述第二应用关联的位置范围内,指的是所述目标图标所在的位置位于所述第二应用的“气泡”界面位置。若所述第二应用以“快捷方式”显示在启动栏位置,所述位置信息在所述第二应用关联的位置范围内,指的是所述目标图标所在的位置位于所述启动栏第二应用的快捷方式所在的位置。
在一些实施例中,所述第二应用的界面显示状态至少包括以下之一:所述第二应用界面的尺寸、所述第二应用界面的形状、所述第二应用的形态和所述第二应用在所述显示屏中的位置。
这里,所述第二应用界面的尺寸,指的是所述第二应用界面的大小。例如,移动目标图标前,所述第二应用界面的尺寸为5cm*1cm(厘米),则响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,调整所述第二应用界面的尺寸为15cm*5cm。
这里,所述第二应用的形态,指的是所述第二应用本身特有的一种界面显示状态。例如,微信的聊天气泡、一些下载类应用的悬浮窗、快捷方式、全屏显示等。对应地,假设在移动目标图标前,所述第二应用为悬浮窗的状态显示在显示屏上,则响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置 信息在所述第二应用关联的位置范围内,调整所述第二应用的界面显示状态,例如将所述第二应用从悬浮窗的状态调整为全屏显示的状态,以使所述第二应用以不同于调整前的状态显示在所述显示屏上。又如,假设在移动目标图标前,所述第二应用为关闭的快捷方式的状态,则响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,将所述第二应用打开并以“缩小窗口”的状态显示在显示屏的中央。
这里,调整所述第二应用在所述显示屏中的位置,指的是所述第二应用在所述显示屏中的坐标信息。例如,移动目标图标前,所述第二应用在所述显示屏中的坐标为(x=1400,y=2500),则响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,调整所述第二应用在所述显示屏中的坐标为(x=750,y=1250)。
对应地,所述调整所述第二应用的界面显示状态,可以只调整所述第二应用在所述显示屏中的位置,也可以同时调整所述第二应用在所述显示屏中的位置以及所述第二应用界面的尺寸。也就是说,本申请实施例中调整所述第二应用的界面显示状态,可以是调整第二应用的界面显示状态中的一项内容,也可以是调整所述第二应用的界面显示状态中的多项内容,本申请实施例中,对调整界面显示状态的具体内容并不做限制。举例来说,第二应用以“气泡”的状态显示在电子设备的右下角,如果第一应用中的某个对象的图标被选中且被拖动到所述“气泡”上,则将所述第二应用从“气泡”变为“全屏窗口”的状态,显示在显示屏的中央。
步骤S103、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
在一些实施例中,所述方法还包括:在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。例如,移动目标图标前,所述第二应用在所述显示屏中的坐标为(x=1400,y=2500),则响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,调整所述第二应用在所述显示屏中的坐标为(x=750,y=1250)。当移动操作结束且所述目标图标对应的目标内容被分享至所述第二应用后,将所述第二应用在所述显示屏中的坐标恢复为调整前的(x=1400,y=2500)位置。
这里,若所述显示屏为触摸屏,且所述移动操作为在所述触摸屏上的触摸移动操作,则所述移动操作的结束可以是移动一定距离后所做出的抬起操作,对应地,所述移动操作的终点可以是所述抬起操作对应的坐标点位置。或者,所述移动操作还可以为在电子设备的显示屏前的隔空手势移动操作,则所述移动操作的结束可以是所述移动操作在移动一定距离后出现了移动操作结束手势。例如,当在显示屏前移动一定距离后用户做出张开手掌的手势,则代表移动操作结束,张开手掌的手势对应在显示屏中的位置,即为隔空手势移动操作的终点。
本申请实施例中,所述移动操作的终点位置位于所述第二应用界面内,可以是所述移动操作的终点位置位于所述第二应用相关的区域内。例如,当所述第二应用为文档编辑APP(Application,软件应用)时,所述移动操作的终点位置位于所述第二应用界面内指的是所述移动操作的终点位置位于所述文档编辑APP的编辑区域内。又如,当所述第二应用为聊天交友APP时,所述移动操作的终点位置位于所述第二应用界面内指的是所述移动操作的终点位置位于聊天显示界面内的一个聊天列表上。
在一些实施例中,所述方法还包括:
步骤S11b、在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上;
步骤S12b、在取消分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
本申请实施例中,通过响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用, 如此,能够实现在显示屏中从所述第一应用分享内容至所述第二应用的便捷操作。
基于前述的实施例,本申请实施例再提供一种内容分享方法,应用于具备显示屏的电子设备,所述方法包括:
步骤S111、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S112、若所述位置信息属于所述第二应用的应用图标位置,或,所述位置信息属于所述第二应用界面内,或,所述位置信息属于所述第二应用的快捷方式标识位置,或,所述位置信息属于所述第二应用的快捷启动栏位置,则调整所述第二应用的界面显示状态;
举例来说,当所述第二应用为文档编辑应用时,若所述目标图标所在的位置位于所述文档编辑应用的快捷方式标识位置,则新建一个文档并将所述文档全屏显示。或,所述目标图标所在的位置位于处于显示屏右下角的文档编辑应用的浮窗内,则可以将所述文档编辑应用的浮窗从显示屏的右下角调整到显示屏的正中央,同时还可以将所述浮窗放大。
步骤S113、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
举例来说,当所述第二应用为文档编辑应用时,若所述目标图标所在的位置位于所述文档编辑应用的快捷方式标识位置,则新建一个文档并将所述文档全屏显示。若所述移动操作的终点位置位于所述新建的文档内,则利用所述新建的文档来记录所述目标图标对应的目标内容。
这里,所述第二应用可以是系统应用,例如相机图库。所述第二应用也可以是第三方应用,例如微信。举例来说,所述第一应用为文件管理夹,所述第二应用为相机图库,所述第二应用显示在所述第一应用的上方,且所述第二应用以5*3cm的大小显示在显示屏的右下角。用户选中文件管理夹中的一个图片并开始移动所述图片对应的图标,若所述图标所在的位置位于所述相机图库的显示界面内,则将所述相机图库的位置从显示屏的右下角调整为显示屏的中央,且将所述相机图库的大小从5*3cm调整为10*6cm,以使所述相机图库以不同于调整前的状态显示在所述显示屏上。若所述图标继续移动到所述相机图库的录屏截屏分类项上且用户做抬起操作,则将所述图标对应的图片保存至录屏截屏分类项中。又如,所述第一应用为文件管理夹,所述第二应用为微信,所述文件管理夹全屏显示,所述微信以“聊天气泡”的形态打开并显示在所述显示屏的左上角。用户选中文件管理夹中的一个图片并开始移动所述图片对应的图标,若所述图标所在的位置位于所述“聊天气泡”上,则将所述微信的界面显示状态从“聊天气泡”变为“缩小窗口”,并显示在显示屏的正中央,以使所述微信以不同与调整前的状态显示在所述显示屏上。若所述图标继续移动到所述微信的一个群标识上且用户做抬起操作,则将所述图标对应的图片分享至所述群标识对应的联系人。
基于前述的实施例,本申请实施例再提供一种内容分享方法,应用于具备显示屏的电子设备,所述方法包括:
步骤S121、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S122、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
步骤S123、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用;
步骤S124、所述第二应用包括文档编辑类应用;对应地,所述将所述目标图标对应的目标内容分享至所述第二应用,包括:将所述目标图标对应的目标内容保存至所述文档编辑类应用对应格式的文件中。
在一些实施例中,所述方法还包括:在将所述目标图标对应的目标内容保存至所述文档编辑类应用对应格式的文件中后,将所述文档编辑类应用以调整前的状态显示在所述显示屏 上。
举例来说,所述第一应用为相机图库,所述目标图标为目标图片对应的图标。若用户选中所述目标图标并做拖拽操作,且将所述图标所在的位置拖拽到了一个打开的文档编辑类应用的显示界面中,则将所述打开的文档编辑类应用的位置从显示屏的右下角调整为显示屏的中央。如果用户继续将所述图标拖拽到所述文档编辑类应用对应格式的文件中且做抬起操作,则将所述目标图片分享至所述文档编辑类应用对应格式的文件中。并且,在分享完毕后,将所述文档编辑类应用的位置还原到拖拽之前的位置上。
图1B为本申请实施例内容分享方法的应用场景示意图一,如图1B所示,在图片100中,电子设备的显示屏上显示有第一应用界面14和第二应用13,并且所述第二应用13为文档编辑类应用,用户通过触摸按压操作确定出了第一应用界面14中的目标内容对应的目标图标15。如此,用户可以对选中的目标图标15进行移动操作,此时,如图片101所示,若所述目标图标15所在的位置在所述第二应用13关联的位置范围内(如所述目标图标15所在的位置位于所述第二应用13的界面内),调整所述第二应用13的界面显示状态,以使所述第二应用以不同于调整前的状态显示在所述显示屏上:将所述第二应用13放大并放置到所述显示屏的中央,调整后的界面如图片102所示。当所述移动操作的终点位置位于所述第二应用13的一个文件中(包括所述目标图标15的部分界面或全部界面位于所述第二应用13的一个文件中),并且用户做抬起操作时,将所述目标图标15对应的目标内容分享至所述第二应用13的文件中,同时将所述第二应用13以调整前的状态显示在所述显示屏上(即将所述第二应用13缩小为调整前的尺寸,并将所述第二应用13在所述显示屏上的位置放置到调整之前的位置上),分享完成后的界面如图片103所示。
基于前述的实施例,本申请实施例再提供一种内容分享方法,该方法应用于具备显示屏的电子设备。图2A为本申请实施例内容分享方法的实现流程示意图二,如图2A所示,所述方法包括:
步骤S201、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S202、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
步骤S203、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标。
在一些实施例中,所述方法还包括:
步骤S21、在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上;
步骤S22、在取消分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
本申请实施例中,通过响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标,如此,能够实现在显示屏中从所述第一应用分享内容至所述第二应用的便捷操作。
基于前述的实施例,本申请实施例再提供一种内容分享方法,应用于具备显示屏的电子设备,所述方法包括:
步骤S211、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S212、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
步骤S213、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标;
步骤S214、所述第二应用包括通讯类应用,所述显示对象包括联系人标识;对应地,所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:将所述目标图标对应的目标内容分享至所述联系人标识对应的联系人。
在一些实施例中,所述联系人标识包括以下几种中的至少一种:联系人头像、联系人号码、联系人对话列表项和联系人对话页。
举例来说,所述第一应用为文件管理APP,所述目标图标为待分享的文件夹(包括文件夹内的文件)对应的图标,所述通讯类应用为微信,所述显示对象为聊天界面内的一个聊天列表,且所述微信以图标的状态显示在右下角的菜单栏上。若用户选中所述文件夹对应的图标并做拖拽操作,且将所述图标的位置拖拽至所述微信上,则将所述微信调整为浮窗的状态显示在所述显示屏中央。当用户将所述文件夹对应的图标拖拽至所述聊天列表上时,将所述文件夹(包括文件夹内的文件)分享给所述聊天列表对应的联系人。并且,在分享完毕后,重新将所述微信以调整前的状态显示在所述显示屏上,即重新将所述微信以图标的状态显示在右下角的菜单栏上。
图2B为本申请实施例内容分享方法的应用场景示意图二,如图2B所示,在图片200中,电子设备的显示屏上显示有第一应用界面24和第二应用23,且所述第一应用为文件管理类应用,所述第二应用23为通讯类应用,用户通过触摸按压操作确定出了第一应用界面24中的目标图标25。如此,用户可以对选中的目标图标25进行移动操作。此时,如图片201所示,若所述目标图标25所在的位置在所述第二应用23关联的位置范围内(如所述目标图标25所在的位置位于所述第二应用23的界面内),则可以将所述第二应用23的界面显示状态从气泡调整为浮窗并移动到显示屏中央,调整后的界面如图片202所示。当所述移动操作的终点位置位于所述第二应用23内的一个联系人标识26所在的位置(包括所述目标图标25的部分界面或全部界面位于所述第二应用23内的一个联系人标识26所在的位置),并且用户做抬起操作时,将所述目标图标25对应的目标内容分享至所述联系人标识26对应的联系人,同时重新将所述第二应用变为气泡显示在显示屏的右下角,分享完成后的界面如图片203所示。
基于前述的实施例,本申请实施例再提供一种内容分享方法,应用于具备显示屏的电子设备,所述方法包括:
步骤S221、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S222、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
步骤S223、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标;
步骤S224、所述第二应用包括文件管理类应用,所述显示对象包括文件夹标识;对应地,所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:将所述目标图标对应的目标内容保存至所述文件夹所在的路径。
举例来说,所述第一应用为微信,所述目标图标为待分享聊天界面内用户接收的视频对应的图标。若用户选中接收到的视频对应的图标并做拖拽操作,且将所述图标的位置拖拽至文件管理类应用界面内,则将所述文件管理类应用调整为全屏的界面显示状态。当用户将所述视频对应的图标拖拽至所述文件管理类应用中的一个文件夹上且做抬起操作时,将所述视频保存至所述文件夹所在的路径下,并在保存结束后,将所述文件管理类应用的显示界面恢复为调整前的非全屏状态。
图2C为本申请实施例内容分享方法的应用场景示意图三,如图2C所示,在图片200中,电子设备的显示屏上显示有第一应用界面24和第二应用23,且所述第二应用23为文件管理类应用,用户通过触摸按压操作确定出了第一应用界面24中的目标图标25。如此,用户可以对选中的所述目标图标25进行移动操作。此时,如图片201所示,若所述目标图标25所在的位置在所述第二应用23关联的位置范围内(如所述目标图标25所在的位置位于所述第二应用23的界面内),则对所述第二应用23的界面显示状态进行调整,以使所述第二应用23以不同于调整前的状态显示在所述显示屏上:将所述第二应用23放大并放置在所述显示屏的中央。调整后的界面如图片202所示。当所述移动操作的终点位置位于所述第二应用23内的一个文件夹标识26所在的位置(包括所述目标图标25的部分界面或全部界面位于所述第二应用23内的一个文件夹标识26所在的位置),且用户做抬起操作时,将所述目标图标25对应的内容保存至所述文件夹标识26所在的路径下,同时将所述第二应用23缩小到调整前的尺寸,并将所述第二应用23在所述显示屏上的位置放置到调整之前的位置上,分享完成后的界面如图片203所示。
基于前述的实施例,本申请实施例再提供一种内容分享方法,该方法应用于具备显示屏的电子设备。图3为本申请实施例内容分享方法的实现流程示意图三,如图3所示,所述方法包括:
步骤S301、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S302、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态,所述第二应用的界面显示状态至少包括以下之一:所述第二应用界面的尺寸、所述第二应用界面的形状、所述第二应用的形态和所述第二应用在所述显示屏中的位置;
步骤S303、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
基于前述的实施例,本申请实施例再提供一种内容分享方法,应用于具备显示屏的电子设备,所述方法包括:
步骤S311、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S312、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态,所述第二应用的界面显示状态至少包括以下之一:所述第二应用界面的尺寸、所述第二应用界面的形状、所述第二应用的形态和所述第二应用在所述显示屏中的位置;
步骤S313、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
步骤S314、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第一应用界面内,则取消分享所述目标内容。
在一些实施例中,所述方法还包括:
步骤S31、在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上;
步骤S32、在取消分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
在一些实施例中,所述方法还包括:
响应于所述移动操作的结束,若所述移动操作的终点位置位于所述电子设备的标题栏位置,则取消分享所述目标内容;
或者,响应于所述移动操作的结束,若所述移动操作的终点位置超出所述电子设备的显示屏边界位置,则取消分享所述目标内容。
这里,在所述移动操作结束后,所述移动操作的终点位置位于第一应用界面内,或者所述移动操作的终点位置位于显示屏的标题栏上,或者所述移动操作的终点位置超出所述显示屏的边界位置,都可以认为接收到了取消分享命令。也就是说,本申请实施例中,对取消分 享的实现方式并不做具体限制。
基于前述的实施例,本申请实施例再提供一种内容分享方法,该方法应用于具备显示屏的电子设备。图4为本申请实施例内容分享方法的实现流程示意图四,如图4所示,所述方法包括:
步骤S401、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S402、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
步骤S403、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用;
步骤S404、在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
本申请实施例中,通过响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用;在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上,如此,能够实现在显示屏中从所述第一应用分享内容至所述第二应用的便捷操作,避免误触碰,且分享完成后应用的界面显示状态自动调整为分享之前的状态。
基于前述的实施例,本申请实施例再提供一种内容分享方法,该方法应用于具备显示屏的电子设备,所述方法包括:
步骤S411、在第一应用界面中,确定待分享的目标内容对应的目标图标;
在一些实施例中,所述步骤S411、在第一应用界面中,确定待分享的目标内容对应的目标图标,可以通过以下方式实现:例如,所述显示屏为触摸屏,获取所述第一应用界面上的按压操作;若所述按压操作的持续时长超过预设时长,确定待分享的目标图标;或者,若所述按压操作的连续按压次数超过预设数量,确定待分享的目标图标,其中所述按压操作为针对所述目标图标的按压操作。
也就是说,可以通过按压选中的方式,来确定待分享的目标图标。并且,所述目标图标可以是多种多样的,例如,所述目标图标可以是文字、图片、视频、文件等对应的图标。
这里,还可以通过虚拟按压操作,来确定待分享的目标图标。例如,鼠标模拟点击按压,隔空手势,VR(Virtual Reality,虚拟现实技术)操作等。举例来说,当用户在操作电子设备时,可以隔空进行选中操作,利用电子设备的摄像头获取用户在显示屏前的手势,进而通过算法识别出手势的形状、位置等信息,来确定待分享的目标图标。当然,也可以利用VR技术创建一个计算机仿真系统,生成一种模拟环境,将电子设备等物体都通过三维模型表现出来,让用户在所述三维模型中确定待分享的目标图标。
步骤S412、响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
步骤S413、若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
步骤S414、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用;
本申请实施例中,所述移动操作的终点位置位于所述第二应用界面内,可以是所述目标图标的部分界面或全部界面位于所述第二应用界面内。例如,当用户移动所述目标图标的界面与所述第二应用的界面有交点时,就可以认为所述移动操作的终点位置位于所述第二应用界面内。
步骤S415、响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第一应 用界面内,则取消分享所述目标内容;
这里,可以对用户移动操作的终点位置进行判断,若所述移动操作的终点位置位于所述第二应用界面内,则进行内容分享。若所述移动操作的终点位置位于所述第一应用界面内,则取消分享。
步骤S416、在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
这里,无论是将所述目标内容分享至所述第二应用还是取消分享所述目标内容,在结束后都将所述第二应用以调整前的状态显示在所述显示屏上。
在一些实施例中,所述步骤S411、在第一应用界面中,确定待分享的目标内容对应的目标图标,包括:
步骤S41b、获取所述第一应用界面上的按压操作;若所述按压操作的持续时长超过预设时长,确定待分享的目标内容对应的目标图标;
步骤S42b、若所述按压操作的连续按压次数超过预设数量,确定待分享的目标内容对应的目标图标。
现有技术基于安卓原生能力,可以将第二应用采用应用浮窗进行展示,然后底部界面为第一应用的页面,此时用户可以通过拖拽操作将所述第一应用中的文件分享给第二应用。例如用户长按所述第一应用中的一个文件可以进入拖拽状态,当在所述第二应用的浮窗范围内松手时,可以触发分享行为,文件将被以特定形式发送给所述第二应用,当在所述第二应用的浮窗外松手时,可以取消拖拽分享。但是,用户为了方便无遮挡地从所述第一应用中选择需要分享的文件,通常会将所述第二应用放置在所述显示屏的边角区域。如此,会造成选中文件后无法准确地将所述文件分享至所述第二应用的问题,用户体验非常差。
因此,基于前述的实施例,本申请实施例提供一种从底部应用拖拽内容分享到浮窗的方法,所述方法会针对用户操作进行判断,用户会先将浮窗手动移开以方便自己去选择待分享内容和拖拽待分享内容的图标,当用户长按触发底部应用中的拖拽操作后,如果将分享对象拖到现在的浮窗处,浮窗会自动位移到一个可以让用户看完整个浮窗的位置(比如屏幕居中),当用户松手发送后,浮窗再自动回到刚才的位置,用户此时可以继续舒适地再次选择待分享内容。
图5为本申请实施例内容分享的界面操作示意图一,如图5所示:
如图5中的(5a)所示,图片51中,电子设备的显示界面上显示有图库类的第一应用501和通信类的第二应用502,所述第二应用502以浮窗的方式显示在所述第一应用501的显示界面上。
当用户在图片51的待分享照片503上持续长按一定时间,或者连续按压两次后,所述显示界面变为图片52所示的界面,此时待分享照片503呈选中状态。
如图5中的(5b)所示,进而在长按触发拖动操作后,对所述待分享照片503进行拖动,并对拖动操作的结果进行判断:当用户拖动所述待分享照片503至所述第二应用502界面内时,如图片53所示的界面。将所述第二应用502的浮窗自动向上位移,并显示在所述显示屏的中央,即改变所述第二应用502在显示屏中的位置,如图片54所示的界面。如此,用户可以看到所述第二应用502的全部页面布局,方便用户进行分享。
如图5中的(5c)所示,此时,如果用户在所述第二应用502的显示界面内松手,则如图片55所示的界面,所述待分享照片503分享至所述第二应用502,同时所述第二应用502的浮窗自动返回到原来的位置。
如图5中的(5d)所示,当然,如果用户继续进行拖动,如图片56所示的界面,将待分享照片503拖动到所述第二应用502所在的区域外,此时松手则会取消分享。如果用户松手的话,如图片57所示的界面,则取消照片分享,并将所述第二应用502的浮窗自动返回到原来的位置。
本申请实施例还提供一种从底部应用拖拽内容分享到浮窗的方法,所述方法在将分享对象拖拽到所述浮窗所在的界面上时,所述浮窗可以不只是位移,还可以改变显示状态,以实 现方便分享的目的。也就是说,拖拽到浮窗的其他形态也同样可以唤起浮窗以进行分享:比如浮窗正以气泡状态收在屏幕侧边(类似微信气泡),此时拖拽分享对象到气泡上,会自动唤出对应的浮窗,在浮窗内松手即可发送。
图6为本申请实施例内容分享的界面操作示意图二,如图6所示:
如图6中的(6a)所示,图片61中,电子设备的显示界面上显示有图库类的第一应用601和通信类的第二应用602,所述第二应用602以“气泡”的方式显示在所述第一应用601的显示界面上。
当用户在图片61的待分享照片603上持续长按一定时间,或者连续按压两次后,所述显示界面变为图片62所示的界面,此时待分享照片603呈选中状态。
如图6中的(6b)所示,进而在长按触发拖动操作后,对所述待分享照片603进行拖动,并对用户的拖动操作结果进行判断:当用户拖动所述待分享照片603至所述第二应用602界面内时,如图片63所示的界面,将所述第二应用602以浮窗状态显示在显示屏的中央。如此,如图片64所示的界面,用户可以看到所述第二应用602的全部页面布局,方便用户随便拖拽和定位。
如图6中的(6c)所示,此时,如果用户在所述第二应用602的显示界面内松手,则如图片65示的界面,所述待分享照片603分享至所述第二应用602,同时所述第二应用602的会自动变为调整前的“气泡”状态,并返回到原来的位置。
如图6中的(6d)所示,当然,如果用户继续进行拖动,如图片66示的界面,将待分享照片603拖动到所述第二应用602所在的区域外,此时松手则会取消分享。如果用户松手的话,如图片67示的界面,则取消照片分享,并将所述第二应用602的状态调整为“气泡”状态,并返回到原来的位置。
本申请实施例中,利用巧妙的方式避免了现有方案给用户拖拽分享过程带来的痛点,使得用户在拖拽过程中不会有任何不必要的遮挡,而且能简单快速地取消分享返回浮窗,解决了用户在拖拽分享过程中的场景痛点。尤其是浮窗的自动调整会在手机等小屏设备上做拖拽时更加方便。
基于前述的实施例,本申请实施例提供一种内容分享装置,该装置包括所包括的各单元、以及各单元所包括的各模块、以及各模块所包括的各部件,可以通过电子设备中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为CPU(Central Processing Unit,中央处理器)、MPU(Microprocessor Unit,微处理器)、DSP(Digital Signal Processing,数字信号处理器)或FPGA(Field Programmable Gate Array,现场可编程门阵列)等。
图7为本申请实施例内容分享装置的组成结构示意图,如图7所示,所述装置700包括:
获取单元701,配置为响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
调整单元702,配置为若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
分享单元703,配置为响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
在一些实施例中,所述位置信息在所述第二应用关联的位置范围内,包括:
所述位置信息属于所述第二应用的应用图标位置;
所述位置信息属于所述第二应用界面内;
所述位置信息属于所述第二应用的快捷方式标识位置;
所述位置信息属于所述第二应用的快捷启动栏位置。
在一些实施例中,所述分享单元703,包括:
分享模块,配置为若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标。
在一些实施例中,所述第二应用包括通讯类应用,所述显示对象包括联系人标识;
所述分享模块,包括:
第一分享部件,配置为将所述目标图标对应的目标内容分享至所述联系人标识对应的联系人。
在一些实施例中,所述联系人标识包括以下几种中的至少一种:联系人头像、联系人号码、联系人对话列表项和联系人对话页。
在一些实施例中,所述第二应用包括文件管理类应用,所述显示对象包括文件夹标识;
所述分享模块,包括:
第二分享部件,配置为将所述目标图标对应的目标内容保存至所述文件夹所在的路径。
在一些实施例中,所述第二应用包括文档编辑类应用;
所述分享单元703,包括:
文档分享模块,配置为将所述目标图标对应的目标内容保存至所述文档编辑类应用对应格式的文件中。
在一些实施例中,所述第二应用的界面显示状态至少包括以下之一:
所述第二应用界面的尺寸、所述第二应用界面的形状、所述第二应用的形态和所述第二应用在所述显示屏中的位置。
在一些实施例中,所述装置还包括:
第一取消分享单元,配置为响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第一应用界面内,则取消分享所述目标内容。
在一些实施例中,所述装置还包括:
恢复单元,配置为在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上;
所述恢复单元,还配置为在取消分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
在一些实施例中,所述装置还包括:
第二取消分享单元,配置为响应于所述移动操作的结束,若所述移动操作的终点位置位于所述电子设备的标题栏位置,则取消分享所述目标内容;
第三取消分享单元,配置为响应于所述移动操作的结束,若所述移动操作的终点位置超出所述电子设备的显示屏边界位置,则取消分享所述目标内容。
以上装置实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请装置实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。
需要说明的是,本申请实施例中,如果以软件功能模块的形式实现上述的内容分享方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是个人计算机、服务器等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、ROM(Read Only Memory,只读存储器)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本申请实施例不限制于任何特定的硬件和软件结合。
对应地,本申请实施例提供一种电子设备,所述电子设备至少包括:存储器、通信总线和处理器:所述存储器,用于存储内容分享程序;所述通信总线,用于实现处理器和存储器之间的连接通信;所述处理器,用于执行存储器中存储的内容分享程序,以实现以下步骤:
响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则 将所述目标图标对应的目标内容分享至所述第二应用。
在一些设备实施例中,所述位置信息在所述第二应用关联的位置范围内,包括:
所述位置信息属于所述第二应用的应用图标位置;所述位置信息属于所述第二应用界面内;所述位置信息属于所述第二应用的快捷方式标识位置;所述位置信息属于所述第二应用的快捷启动栏位置。
在一些设备实施例中,所述若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用,包括:
若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标。
在一些设备实施例中,所述第二应用包括通讯类应用,所述显示对象包括联系人标识;所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:
将所述目标图标对应的目标内容分享至所述联系人标识对应的联系人。
在一些设备实施例中,所述联系人标识包括以下几种中的至少一种:联系人头像、联系人号码、联系人对话列表项和联系人对话页。
在一些设备实施例中,所述第二应用包括文件管理类应用,所述显示对象包括文件夹标识;所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:
将所述目标图标对应的目标内容保存至所述文件夹所在的路径。
在一些设备实施例中,所述第二应用包括文档编辑类应用;所述将所述目标图标对应的目标内容分享至所述第二应用,包括:
将所述目标图标对应的目标内容保存至所述文档编辑类应用对应格式的文件中。
在一些设备实施例中,所述第二应用的界面显示状态至少包括以下之一:
所述第二应用界面的尺寸、所述第二应用界面的形状、所述第二应用的形态和所述第二应用在所述显示屏中的位置。
在一些设备实施例中,所述处理器,还用于执行存储器中存储的内容分享程序,以实现以下步骤:
响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第一应用界面内,则取消分享所述目标内容。
在一些设备实施例中,所述处理器,还用于执行存储器中存储的内容分享程序,以实现以下步骤:
在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上;或者,在取消分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
在一些设备实施例中,所述处理器,还用于执行存储器中存储的内容分享程序,以实现以下步骤:
响应于所述移动操作的结束,若所述移动操作的终点位置位于所述电子设备的标题栏位置,则取消分享所述目标内容;
或者,响应于所述移动操作的结束,若所述移动操作的终点位置超出所述电子设备的显示屏边界位置,则取消分享所述目标内容。
对应地,本申请实施例提供一种可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述内容分享方法中的步骤。
这里需要指出的是:以上存储介质和设备实施例的描述,与上述方法实施例的描述是类似的,具有同方法实施例相似的有益效果。对于本申请存储介质和设备实施例中未披露的技术细节,请参照本申请方法实施例的描述而理解。
需要说明的是,图8为本申请实施例电子设备的一种硬件实体示意图,如图8所示,该电子设备800的硬件实体包括:处理器801、通信接口802和存储器803,其中
处理器801通常控制电子设备800的总体操作。
通信接口802可以使电子设备800通过网络与其他电子设备或服务器通信。
存储器803配置为存储由处理器801可执行的指令和应用,还可以缓存待处理器801以 及电子设备800中各模块待处理或已经处理的数据(例如,图像数据、音频数据、语音通信数据和视频通信数据),可以通过FLASH(闪存)或RAM(Random Access Memory,随机访问存储器)实现。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本申请各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种内容分享方法,应用于具备显示屏的电子设备,其中,所述方法包括:
    响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
    若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
    响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
  2. 根据权利要求1所述的方法,其中,所述位置信息在所述第二应用关联的位置范围内,包括:
    所述位置信息属于所述第二应用的应用图标位置;
    所述位置信息属于所述第二应用界面内;
    所述位置信息属于所述第二应用的快捷方式标识位置;
    所述位置信息属于所述第二应用的快捷启动栏位置。
  3. 根据权利要求1所述的方法,其中,所述若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用,包括:
    若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标。
  4. 根据权利要求3所述的方法,其中,所述第二应用包括通讯类应用,所述显示对象包括联系人标识;
    所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:将所述目标图标对应的目标内容分享至所述联系人标识对应的联系人。
  5. 根据权利要求4所述的方法,其中,所述联系人标识包括以下几种中的至少一种:联系人头像、联系人号码、联系人对话列表项和联系人对话页。
  6. 根据权利要求3所述的方法,其中,所述第二应用包括文件管理类应用,所述显示对象包括文件夹标识;
    所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:将所述目标图标对应的目标内容保存至所述文件夹所在的路径。
  7. 根据权利要求1所述的方法,其中,所述第二应用包括文档编辑类应用;
    所述将所述目标图标对应的目标内容分享至所述第二应用,包括:将所述目标图标对应的目标内容保存至所述文档编辑类应用对应格式的文件中。
  8. 根据权利要求1所述的方法,其中,所述第二应用的界面显示状态至少包括以下之一:
    所述第二应用界面的尺寸、所述第二应用界面的形状、所述第二应用的形态和所述第二应用在所述显示屏中的位置。
  9. 根据权利要求8所述的方法,其中,所述方法还包括:
    响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第一应用界面内,则取消分享所述目标内容。
  10. 根据权利要求1至9任一项所述的方法,其中,所述方法还包括:
    在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上;
    或者,在取消分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
  11. 根据权利要求8所述的方法,其中,所述方法还包括:
    响应于所述移动操作的结束,若所述移动操作的终点位置位于所述电子设备的标题栏位置,则取消分享所述目标内容;
    或者,响应于所述移动操作的结束,若所述移动操作的终点位置超出所述电子设备的显示屏边界位置,则取消分享所述目标内容。
  12. 一种内容分享装置,其中,所述装置包括:
    获取单元,配置为响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
    调整单元,配置为若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
    分享单元,配置为响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
  13. 一种电子设备,其中,所述电子设备至少包括:存储器、通信总线和处理器:
    所述存储器,用于存储内容分享程序;
    所述通信总线,用于实现处理器和存储器之间的连接通信;
    所述处理器,用于执行存储器中存储的内容分享程序,以实现以下步骤:
    响应于针对第一应用界面中的目标图标的移动操作,获取所述目标图标在所述移动操作过程中的位置信息;
    若所述位置信息在所述第二应用关联的位置范围内,则调整所述第二应用的界面显示状态;
    响应于所述移动操作的结束,若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用。
  14. 根据权利要求13所述的电子设备,其中,所述位置信息在所述第二应用关联的位置范围内,包括:
    所述位置信息属于所述第二应用的应用图标位置;
    所述位置信息属于所述第二应用界面内;
    所述位置信息属于所述第二应用的快捷方式标识位置;
    所述位置信息属于所述第二应用的快捷启动栏位置。
  15. 根据权利要求13所述的电子设备,其中,所述若所述移动操作的终点位置位于所述第二应用界面内,则将所述目标图标对应的目标内容分享至所述第二应用,包括:
    若所述移动操作的终点位置位于所述第二应用界面内的显示对象所在的位置,则将所述目标图标对应的目标内容分享至所述显示对象对应的目标。
  16. 根据权利要求15所述的电子设备,其中,所述第二应用包括通讯类应用,所述显示对象包括联系人标识;
    所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:将所述目标图标对应的目标内容分享至所述联系人标识对应的联系人。
  17. 根据权利要求15所述的电子设备,其中,所述第二应用包括文件管理类应用,所述显示对象包括文件夹标识;
    所述将所述目标图标对应的目标内容分享至所述显示对象对应的目标,包括:将所述目标图标对应的目标内容保存至所述文件夹所在的路径。
  18. 根据权利要求13所述的电子设备,其中,所述第二应用包括文档编辑类应用;
    所述将所述目标图标对应的目标内容分享至所述第二应用,包括:将所述目标图标对应的目标内容保存至所述文档编辑类应用对应格式的文件中。
  19. 根据权利要求13至18任一项所述的电子设备,其中,所述处理器,还用于执行存储器中存储的内容分享程序,以实现以下步骤:
    在分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上;
    或者,在取消分享结束后,将所述第二应用以调整前的状态显示在所述显示屏上。
  20. 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现权利要求1至11任一项所述内容分享方法中的步骤。
PCT/CN2021/126128 2020-12-14 2021-10-25 内容分享方法及装置、设备、存储介质 WO2022127382A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21905311.3A EP4239460A4 (en) 2020-12-14 2021-10-25 METHOD AND DEVICE FOR SHARING CONTENT AND DEVICE AND STORAGE MEDIUM
US18/201,132 US20230297209A1 (en) 2020-12-14 2023-05-23 Content sharing methods and apparatus, terminal, storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011471717.6A CN114690983A (zh) 2020-12-14 2020-12-14 内容分享方法及装置、设备、存储介质
CN202011471717.6 2020-12-14

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/201,132 Continuation US20230297209A1 (en) 2020-12-14 2023-05-23 Content sharing methods and apparatus, terminal, storage medium

Publications (1)

Publication Number Publication Date
WO2022127382A1 true WO2022127382A1 (zh) 2022-06-23

Family

ID=82058901

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/126128 WO2022127382A1 (zh) 2020-12-14 2021-10-25 内容分享方法及装置、设备、存储介质

Country Status (4)

Country Link
US (1) US20230297209A1 (zh)
EP (1) EP4239460A4 (zh)
CN (1) CN114690983A (zh)
WO (1) WO2022127382A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102460370A (zh) * 2009-06-08 2012-05-16 苹果公司 用于多显示区的用户界面
US20150242086A1 (en) * 2014-02-21 2015-08-27 Markport Limited Drag and drop event system and method
CN107770369A (zh) * 2017-09-28 2018-03-06 努比亚技术有限公司 移动终端的控制方法、装置及计算机可读存储介质
CN107992263A (zh) * 2017-12-19 2018-05-04 维沃移动通信有限公司 一种信息分享方法及移动终端

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7383308B1 (en) * 2004-02-11 2008-06-03 Aol Llc, A Delaware Limited Liability Company Buddy list-based sharing of electronic content
US20130332872A1 (en) * 2012-06-11 2013-12-12 EVERYTHINK Ltd. System and method for drag hover drop functionality
US9612732B2 (en) * 2014-11-13 2017-04-04 Microsoft Technology Licensing, Llc Content transfer to non-running targets
CN108803958B (zh) * 2017-04-26 2022-12-16 腾讯科技(深圳)有限公司 文件载入控制、云存储应用中实现上传的交互方法和装置
CN107590006B (zh) * 2017-09-05 2019-02-05 Oppo广东移动通信有限公司 文件处理方法、装置及移动终端
US10684764B2 (en) * 2018-03-28 2020-06-16 Microsoft Technology Licensing, Llc Facilitating movement of objects using semantic analysis and target identifiers
CN110798521B (zh) * 2019-10-23 2022-09-13 腾讯科技(深圳)有限公司 分享文件的方法、装置、电子设备及存储介质
CN111857468A (zh) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 内容分享方法及装置、设备、存储介质
CN111858522A (zh) * 2020-08-06 2020-10-30 Oppo广东移动通信有限公司 文件分享方法、装置、终端及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102460370A (zh) * 2009-06-08 2012-05-16 苹果公司 用于多显示区的用户界面
US20150242086A1 (en) * 2014-02-21 2015-08-27 Markport Limited Drag and drop event system and method
CN107770369A (zh) * 2017-09-28 2018-03-06 努比亚技术有限公司 移动终端的控制方法、装置及计算机可读存储介质
CN107992263A (zh) * 2017-12-19 2018-05-04 维沃移动通信有限公司 一种信息分享方法及移动终端

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"I'm a Mac: Handbook for Mac OS X Lion", 31 August 2012, PEOPLE'S POSTS AND TELECOMMUNICATIONS PUBLISHING HOUSE, CN, ISBN: 9787115286949, article TONY: "Chapter 6: Operations on Dock", pages: 160 - 169, XP009538843 *
See also references of EP4239460A4 *

Also Published As

Publication number Publication date
EP4239460A4 (en) 2024-04-10
CN114690983A (zh) 2022-07-01
EP4239460A1 (en) 2023-09-06
US20230297209A1 (en) 2023-09-21

Similar Documents

Publication Publication Date Title
WO2022001374A1 (zh) 内容分享方法及装置、设备、存储介质
US11783117B2 (en) Device, method, and graphical user interface for sharing a content object in a document
US11722764B2 (en) Creative camera
US11107261B2 (en) Virtual avatar animation based on facial feature movement
US10606469B2 (en) Device, method, and graphical user interface for managing multiple display windows
KR102013443B1 (ko) 이미지를 전송하기 위한 방법 및 그 전자 장치
WO2022028185A1 (zh) 文件分享方法、装置、终端及存储介质
CN104756060B (zh) 基于手势的光标控制
US8347238B2 (en) Device, method, and graphical user interface for managing user interface content and user interface elements by dynamic snapping of user interface elements to alignment guides
US20160139748A1 (en) Mobile terminal, memory, and folder control method
US11363071B2 (en) User interfaces for managing a local network
KR20140143696A (ko) 스택형 탭 뷰
WO2022127304A1 (zh) 界面显示状态的调整方法及装置、设备、存储介质
CN110928614B (zh) 界面显示方法、装置、设备及存储介质
WO2019000437A1 (zh) 显示图形用户界面的方法和移动终端
WO2022083088A1 (zh) 生成移动终端桌面的方法、装置及电子装置
JP2011215878A (ja) 端末装置、端末装置の制御方法、通信システム、制御プログラム、及び記録媒体
JP2014195183A (ja) プログラム、通信装置
WO2022242542A1 (zh) 应用图标的管理方法和电子设备
US11681410B2 (en) Icon management method and terminal device
WO2022127382A1 (zh) 内容分享方法及装置、设备、存储介质
WO2016049875A1 (en) Device and method for capturing, sharing and watching video messages
WO2021068405A1 (zh) 元素传递方法、装置、设备及存储介质
WO2023284640A9 (zh) 图片处理方法和电子设备
WO2022105389A1 (zh) 内容分享方法及装置、设备、存储介质

Legal Events

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

Ref document number: 21905311

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021905311

Country of ref document: EP

Effective date: 20230601

NENP Non-entry into the national phase

Ref country code: DE