CN115407909A - Content sharing method and device, terminal and storage medium - Google Patents

Content sharing method and device, terminal and storage medium Download PDF

Info

Publication number
CN115407909A
CN115407909A CN202110586893.2A CN202110586893A CN115407909A CN 115407909 A CN115407909 A CN 115407909A CN 202110586893 A CN202110586893 A CN 202110586893A CN 115407909 A CN115407909 A CN 115407909A
Authority
CN
China
Prior art keywords
application
target
candidate
thumbnail
content
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110586893.2A
Other languages
Chinese (zh)
Inventor
孟婉婷
沈琛
戴润达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110586893.2A priority Critical patent/CN115407909A/en
Priority to PCT/CN2022/089179 priority patent/WO2022247557A1/en
Publication of CN115407909A publication Critical patent/CN115407909A/en
Pending legal-status Critical Current

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the application discloses a content sharing method, a content sharing device, a content sharing terminal and a storage medium, and belongs to the technical field of man-machine interaction. The method comprises the following steps: responding to the trigger operation of the target content, displaying a thumbnail of the target content and a candidate application card corresponding to at least one candidate application, wherein an application interface of the candidate application is displayed in the candidate application card; determining a target application from at least one candidate application in response to a drag operation on the thumbnail; and responding to the dragging operation of the thumbnail in the target application interface, and sharing the target content through the target application, wherein the target application interface is an application interface displayed in a target application card corresponding to the target application. By adopting the scheme provided by the embodiment of the application, the user can complete content sharing in the target application only through continuous dragging operation, and the content sharing operation and flow are simplified.

Description

Content sharing method, device, terminal and storage medium
Technical Field
The embodiment of the application relates to the technical field of human-computer interaction, in particular to a content sharing method, device, terminal and storage medium.
Background
With the continuous development of network technologies, more and more applications start to have sharing properties. For example, a user may share a taken photo, article, or video, etc. with a single or multiple friends in a network through an application.
In the related technology, after a user selects content to be shared, the user firstly clicks a sharing control to trigger a terminal to display an application list, then selects a target application from the application list, and triggers the terminal to jump to a sharing page displaying the target application, and then a series of sharing operations are executed in the sharing page to complete content sharing.
Disclosure of Invention
The embodiment of the application provides a content sharing method, a content sharing device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a content sharing method, where the method includes:
responding to a trigger operation of target content, displaying a thumbnail of the target content and a candidate application card corresponding to at least one candidate application, wherein an application interface of the candidate application is displayed in the candidate application card;
in response to the dragging operation of the thumbnail, determining a target application from at least one candidate application;
and responding to the dragging operation of the thumbnail in a target application interface, and sharing the target content through the target application, wherein the target application interface is an application interface displayed in a target application card corresponding to the target application.
On the other hand, an embodiment of the present application provides a content sharing apparatus, the apparatus includes:
the display module is used for responding to the trigger operation of the target content, displaying the thumbnail of the target content and at least one candidate application card corresponding to the candidate application, wherein an application interface of the candidate application is displayed in the candidate application card;
a determining module, configured to determine a target application from at least one candidate application in response to a dragging operation on the thumbnail;
the sharing module is used for responding to dragging operation of the thumbnail in a target application interface and sharing the target content through the target application, and the target application interface is an application interface displayed in a target application card corresponding to the target application.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the content sharing method as described in the above aspect.
In another aspect, an embodiment of the present application provides a computer-readable storage medium, where at least one instruction is stored, and the at least one instruction is used for being executed by a processor to implement the content sharing method according to the above aspect.
In another aspect, embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the terminal reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the terminal executes the content sharing method provided by the above aspect.
The technical scheme provided by the embodiment of the application at least comprises the following beneficial effects:
in the embodiment of the application, when a trigger operation on the target content is received, the terminal displays a thumbnail of the target content and displays an application card of a candidate application providing a content sharing service for a user to select; by adopting the scheme provided by the embodiment of the application, the user can complete content sharing in the target application only through continuous dragging operation, so that the content sharing operation and flow are simplified; moreover, the application card is used for displaying the application interface, and content sharing is realized based on the dragging operation of the thumbnail in the application interface, so that the content sharing process is clearer and more visual, and the efficiency and the accuracy of content sharing are improved.
Drawings
Fig. 1 illustrates a flowchart of a method of content sharing according to an exemplary embodiment of the present application;
fig. 2 is a schematic diagram illustrating an implementation of a content sharing process according to an exemplary embodiment of the present application;
FIG. 3 is an interface diagram illustrating an application interface update process within an application card according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a thumbnail and candidate application card display process shown in an exemplary embodiment of the present application;
FIG. 5 is an interface diagram illustrating a thumbnail and candidate application card display process in accordance with an exemplary embodiment of the present application;
FIG. 6 is an interface diagram of a candidate application card update process shown in an exemplary embodiment of the present application;
FIG. 7 is an interface diagram illustrating a target application selection process in accordance with an illustrative embodiment of the present application;
FIG. 8 is a flow diagram illustrating a content sharing process in accordance with an exemplary embodiment of the present application;
FIG. 9 is an interface diagram illustrating a content sharing process according to an exemplary embodiment of the present application;
FIG. 10 is an interface diagram illustrating a display content scrolling process according to an exemplary embodiment of the present application;
FIG. 11 is an interface diagram illustrating a page switching process according to an exemplary embodiment of the present application;
fig. 12 is an interface diagram illustrating a floating window display process after sharing is completed according to an exemplary embodiment of the present application;
fig. 13 shows a block diagram of a content sharing apparatus according to an embodiment of the present application;
fig. 14 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the related art, when a user needs to share content, the user first needs to select target content to be shared, and then triggers a terminal to display application icons of a plurality of applications by clicking a sharing control. When the clicking operation of the application icon is received, the terminal skips to display a sharing object selection list (such as a contact list in the instant messaging application) of the selected target application, so that the target content is shared to the target object through the target application according to the sharing object selection operation in the sharing object selection list. As can be seen, the operation of the whole content sharing process is cumbersome, and the operation process is not directly performed in the application interface, which results in the sharing process being not intuitive enough.
In the scheme provided by the embodiment of the application, when a user needs to share content, the target content is triggered, the terminal is triggered to display the candidate application cards of the candidate applications, and then the thumbnail corresponding to the target content is dragged to select the target application for sharing the content from the candidate applications. Because the target application interface of the target application is displayed in the target application card, the user can further drag the thumbnail in the target application interface to realize content sharing.
Therefore, compared with the method of skipping and clicking among pages, the content sharing can be completed by a user through continuous dragging operation, and the content sharing operation is simplified; moreover, the thumbnail is dragged in the application interface of the target application to share the content, so that the operation process is more visual, and the accuracy and the efficiency of the sharing operation are improved.
The content sharing method provided by the embodiment of the application can be applied to terminals such as smart phones, tablet computers, personal computers, digital players and personal computers, wherein when a display screen of the terminal has display and touch functions, the operation in the content sharing process is screen touch operation; when the display screen of the terminal only has a display function but does not have a touch function, operations (such as a mouse, a touch pad, and the like) in a content sharing process can be realized through an external input device, which is not limited in the embodiment of the present application.
Referring to fig. 1, a flowchart of a content sharing method according to an exemplary embodiment of the present disclosure is shown. The method may include the following steps.
Step 101, in response to a trigger operation on the target content, displaying a thumbnail of the target content and a candidate application card corresponding to at least one candidate application, where an application interface of the candidate application is displayed in the candidate application card.
Optionally, the target content includes at least one of: text, pictures, files, audio and video, applications, chat records; moreover, the number of the target content may be one or more, for example, the target content may be a single selected picture or multiple selected pictures, and the specific type and number of the target content are not limited in the embodiments of the present application.
Optionally, the trigger operation is used to trigger content sharing, the trigger operation is a long-press operation, a press operation, or a continuous-click operation (such as a double-click operation, a triple-click operation, or the like), and the trigger operation may be set by a default of the system or may be set by a user.
When the terminal receives a trigger operation on target content, the content sharing is determined to be needed, so that a thumbnail is displayed based on the selected target content, at least one candidate application card is displayed, the candidate application card is an application card corresponding to a candidate application (installed in the terminal) providing content sharing service, and an application interface of the candidate application is displayed in the application card.
Optionally, the candidate applications displayed in different content sharing processes may be the same or different. For example, the candidate applications displayed in the content sharing process are preset applications, or the number and types of the candidate applications are dynamically determined based on the target content.
In one possible implementation mode, in response to the triggering operation of the target content, the terminal displays a cover layer on the upper layer of the current interface, and displays the thumbnail and the candidate application card on the cover layer.
Illustratively, as shown in fig. 2, when the user selects a photo 22 to be shared in the album interface 21 and long-presses the selected photo 22, the terminal displays a cover layer on the album interface 21, and displays a thumbnail 23, and a first candidate application card 241, a second candidate application card 242, and a third candidate application card 243 on the cover layer.
And 102, responding to the dragging operation of the thumbnail, and determining a target application from at least one candidate application.
After the thumbnail and the candidate application card are triggered and displayed, the user further determines a target application from the candidate applications by dragging the thumbnail, wherein the target application is an application for sharing target content.
Optionally, the dragging operation on the thumbnail and the triggering operation on the target content are continuous operations, that is, the triggering position of the triggering operation is the dragging starting position of the dragging operation; alternatively, the drag operation on the thumbnail and the trigger operation on the target content are not continuous operations, that is, the trigger position of the trigger operation and the drag start position of the move operation may be different.
Illustratively, as shown in fig. 2, the thumbnail 23 is displayed at the long-press position of the finger of the user, and when a drag operation on the thumbnail 23 is received, the terminal determines the candidate application corresponding to the second candidate application card 242 as the target application based on the drag operation.
And 103, responding to the dragging operation of the thumbnail in the target application interface, and sharing the target content through the target application, wherein the target application interface is an application interface displayed in a target application card corresponding to the target application.
Because the target application interface is displayed in the target application card, a user can select a specific sharing object of the target content in the target application by continuously dragging the thumbnail in the target application interface, and finish content sharing when the dragging of the thumbnail is finished. Compared with the sharing mode in the related art, the content sharing is realized by dragging the thumbnail in the application interface, so that the sharing process is more visual (namely, the content is directly dragged to the application for sharing).
In a possible implementation manner, when a plurality of candidate sharing objects exist in a target user interface (for example, a plurality of sessions exist in a session interface), the terminal determines, in real time, a candidate sharing object at a dragging position corresponding to the dragging operation based on the dragging operation on the thumbnail, and determines, when the dragging operation is finished, the candidate sharing object as the target sharing object, so that the target content is shared to the target sharing object through the target application.
Illustratively, as shown in fig. 2, a session interface displayed by the second candidate application card 242 includes a plurality of sessions, and after the user drags the thumbnail image 23 to a display position where a specified session is located and finishes the dragging, the photo 22 is shared to the specified session.
In a possible implementation manner, a terminal acquires a storage path of target content, transfers the storage path to a target application, and acquires the target content by the target application based on the storage path, thereby sharing the target content.
It should be noted that the sharing referred in this embodiment may be sending the target content to a specified contact or publishing the target content to a sharing platform through the target application, or sharing the target content from the original application to the target application, so as to edit the target content through the target application in the following.
To sum up, in the embodiment of the application, when a trigger operation on a target content is received, a terminal displays a thumbnail of the target content and displays an application card of a candidate application providing a content sharing service for a user to select, when a drag operation on the thumbnail is received, the terminal determines a target application for content sharing based on the drag operation and further shares the target content through the target application based on the drag operation on the thumbnail in the target application card; by adopting the scheme provided by the embodiment of the application, the user can complete content sharing in the target application only through continuous dragging operation, so that the content sharing operation and flow are simplified; moreover, the application interface is displayed through the application card, content sharing is achieved based on the dragging operation of the thumbnail in the application interface, the content sharing process is clearer and more visual, and the content sharing efficiency and accuracy are improved.
In order to realize dragging sharing in the application interface, after the terminal receives triggering operation on the target content, at least one candidate application is determined, and the application interface of the at least one candidate application is obtained, so that when the thumbnail of the target content is displayed, the application interface is displayed in a candidate application card corresponding to the at least one candidate application.
In one possible embodiment, the terminal may determine the candidate application in at least one of the following ways.
1. At least one candidate application is determined based on the target type to which the target content belongs, and the candidate application supports sharing the content belonging to the target type.
Typically, applications have certain limitations on the types of content that are shared. For example, the instant messaging application supports sharing texts, files, pictures, audio/video and chat records, the social application supports sharing texts, pictures, audio/video and chat records, and the cloud storage application supports sharing files, pictures and audio/video.
Therefore, in order to improve the efficiency of selecting the target application from the candidate applications by the user and avoid that the content sharing cannot be performed through the selected application, the terminal acquires the target type to which the target content belongs in response to the trigger operation on the target content, and accordingly, the application supporting the sharing of the target type content in the installed applications is determined as the candidate application based on the target type.
In a possible implementation manner, the terminal determines the candidate applications based on the shared content types supported by the installed applications, and the shared content types supported by the applications may be collected by the server and provided to the terminal.
In an illustrative example, when the target content is a picture, the terminal determines an instant messaging application, a social application and a cloud storage application as candidate applications; when the target content is a chat record, the terminal determines the instant messaging application and the social application as candidate applications.
2. Acquiring a target history sharing record based on a target type to which the target content belongs, wherein the target history sharing record comprises sharing times of the content belonging to the target type by each application; at least one candidate application is determined based on the number of shares.
In order to enable the recommended candidate applications to better accord with the personal sharing habits of the user during content sharing, improve the efficiency of selecting the target application from the candidate applications by the user and further improve the content sharing efficiency, in a possible implementation manner, the terminal records the types of the content shared during content sharing and the applications adopted during content sharing to obtain a historical sharing record.
When a trigger operation on the target content is received, the terminal obtains a target history sharing record from the history sharing record based on the target type of the target content, wherein the target history sharing record comprises sharing times of the content belonging to the target type shared by each application.
Further, the terminal determines at least one candidate application based on the number of sharing times. Optionally, the terminal determines the first n (n is a positive integer) applications with the largest sharing times as candidate applications.
Illustratively, the history sharing record stored in the terminal is shown in table one.
Watch 1
Content type Applications of the invention Number of shares Applications of Number of shares Applications of Number of shares
Picture frame Instant messaging application 10 times of Social applications 5 times (twice) Cloud storage application 2 times (one time)
Audio and video Instant messaging application 5 times of Social applications 2 times of Cloud storage application 8 times of
Chat logging Instant messaging application 9 times of Social applications 3 times of Shopping applications 1 time of
When the target content is a picture, the terminal determines the instant messaging application and the social application as candidate applications; when the target content is audio and video, the terminal determines the cloud storage application and the instant messaging application as candidate applications; when the target content is the chat record, the terminal determines the instant messaging application and the social application as candidate applications.
3. And determining the applications in the application sharing list as candidate applications.
In a possible implementation manner, the terminal stores an application sharing list, where the application sharing list includes an identifier of an application supporting content sharing through a dragging operation. And responding to the trigger operation of the target content, the terminal determines the terminal to belong to the application sharing list and the installed application as a candidate application.
In an illustrative example, the application sharing list includes an instant messaging application a, an instant messaging application B, an instant messaging application C, a social application D, a social application E, a cloud storage application F, and a memo application G, and since the terminal is only installed with the instant messaging application B and the memo application G, the terminal determines the instant messaging application B and the memo application G as candidate applications.
It should be noted that, in the above embodiment, the manner of determining the candidate application may be performed alone or in combination, for example, the 1 st manner and the 3 rd manner may be combined, so that the application belonging to the application sharing list and supporting sharing of the content belonging to the target type is determined as the candidate application, which is not limited in this embodiment.
In this embodiment, the terminal determines, based on the target type of the target content, the application supporting sharing of the target type content as the candidate application, so that it is ensured that the selected target application can normally share the target content when subsequent content sharing is performed, the problem that the selected target application cannot perform content sharing is avoided, and the accuracy of content sharing and the sharing efficiency are improved.
In addition, the terminal can determine the candidate application based on the historical sharing record and the target type of the target content, so that the recommended candidate application during content sharing meets the personal sharing habit of the user, and the content sharing efficiency is improved.
Because the determined candidate application may be in an open state (i.e., running in the foreground or running in the background) or in a closed state, the modes used by the terminal to acquire the application interface are different for the candidate applications in different running states.
Optionally, in response to that the candidate application is in an open state, the terminal acquires a real-time application interface of the candidate application; and responding to the condition that the candidate application is in a closed state, and acquiring a non-real-time application interface of the candidate application by the terminal, wherein the non-real-time application interface is a historical application interface or a default application interface of the candidate application.
For the candidate application in the open state, the terminal can directly acquire the real-time application interface of the candidate application and display the real-time application interface in the candidate application card, so that the content currently displayed by the candidate application is clearly presented to the user.
For the candidate application in the closed state, because the finally selected target application may not be the candidate application, in order to avoid directly opening the candidate application in the closed state, but the candidate application is not selected to cause resource occupation waste, the terminal obtains a non-real-time application interface of the candidate application without opening the candidate application.
The terminal may store the historical application interface when the candidate application is recently started and display the historical application interface as a non-real-time interface, or the terminal may display a default application interface corresponding to the candidate application as the non-real-time interface.
Further, when the selected target application is the candidate application in the open state, the terminal continues to display the acquired real-time application interface in the target candidate card. When the selected target application is the candidate application in the closed state, in order to ensure correct execution of the candidate dragging sharing operation, in a possible implementation manner, the terminal needs to open the target application and acquire a real-time application interface of the target application, so that a non-real-time application interface displayed in the target application card is updated to the real-time application interface.
Illustratively, as shown in fig. 3, the terminal displays a first candidate application card 241, a second candidate application card 242, and a third candidate application card 243, where a default application interface of a first candidate application (currently in a closed state) is displayed in the first candidate application card 241, a real-time application interface of a second candidate application (currently in an open state) is displayed in the second candidate application card 242, and a default application interface of a third candidate application (currently in a closed state) is displayed in the third candidate application card 243. When the user selects the first candidate application as the target application by dragging the thumbnail 23, the terminal opens the first candidate application, and updates the default application interface displayed in one candidate application card 241 to the real-time application interface of the first candidate application.
In a possible implementation, the trigger operation on the target content and the drag operation on the thumbnail are continuous operations, and in order to ensure the continuity of the operations and the integrity of displaying the candidate application cards, as shown in fig. 4, the process of displaying the candidate application cards based on the trigger operation on the target content may include the following steps.
Step 401, determining a card display area of the candidate application card based on a trigger area of the trigger operation, wherein a distance between the trigger area and the card display area is a fixed value.
Optionally, the candidate application card is arranged in the card display area, and a distance between the card display area and the display area corresponding to the thumbnail (i.e., a trigger area for triggering operation) is a fixed value. The card display area may be located above, below, left side or right side of the thumbnail, and the candidate application cards may be arranged horizontally or longitudinally in the card display area, which is not limited in this embodiment.
In order to ensure that the candidate application cards in the card display area are completely displayed, the terminal needs to dynamically determine the card display area based on the trigger area of the trigger operation.
In one possible implementation, when the card display area may be located above or below the thumbnail (the candidate application cards of the card display area are arranged horizontally), the terminal determines whether the distance between the trigger area and the upper edge of the screen is greater than a distance threshold, and if so, determines that the card display area is located above the trigger area; if the number of the card display areas is smaller than the preset threshold, the card display areas are determined to be located below the trigger areas.
When the card display area can be located on the left side or the right side of the thumbnail (the candidate application cards in the card display area are longitudinally arranged), the terminal determines whether the distance between the trigger area and the left edge of the screen is greater than a distance threshold value, and if so, the card display area is located on the left side of the trigger area; and if the card display area is smaller than the trigger area, determining that the card display area is positioned on the right side of the trigger area.
Step 402, displaying the thumbnail of the target content in the trigger area.
Step 403, displaying a candidate application card corresponding to at least one candidate application in the card display area, and displaying an application interface in the candidate application card.
After the card display area is determined, the terminal displays the thumbnail of the target content in the trigger area of the trigger operation and displays the candidate application card corresponding to the candidate application in the card display area, so that after the user performs the trigger operation on the target content, the dragging operation on the thumbnail can be continuously performed, and the complete display of the candidate application card is ensured.
Illustratively, as shown in fig. 5, since the trigger area of the trigger operation is located in the lower half area of the screen, the terminal displays the thumbnail 52 corresponding to the target content 51 in the trigger area, and displays the first candidate application card 531, the second candidate application card 532, and the third candidate application card 533 in the card display area 53 above the thumbnail 52.
In this embodiment, the terminal dynamically determines the display position of the card display area based on the trigger area of the trigger operation, which not only ensures the continuity of the trigger operation and the drag operation, but also ensures the complete display of the candidate cards in the card display area.
In other possible embodiments, when the trigger operation on the target content and the drag operation on the thumbnail are not continuous operations, the terminal may display the thumbnail and the card display area in the default area based on the trigger operation, and a subsequent user may also complete the drag sharing by dragging the thumbnail, where when an actual display position of the thumbnail is different from the trigger area of the trigger operation, the user needs to adjust a gesture, so as to start the drag operation from the actual display position of the thumbnail.
Because the number of the candidate application cards that can be accommodated in the card display area is limited, for example, the card display area supports at most 3 candidate application cards to be accommodated and displayed simultaneously, when the total number of the candidate application cards is greater than the accommodation upper limit of the card display area, part of the candidate application cards cannot be displayed in the card display area, and at this time, a user needs to update the candidate application cards in the card display area through manual operation.
In one possible implementation, in response to the dragging operation of the thumbnail and the thumbnail is located at the edge of the screen, the terminal updates the candidate application card displayed in the card display area.
When the candidate cards in the card display area are transversely arranged, if the thumbnails are located at the left edge or the right edge of the screen, the terminal updates the candidate application cards in the card display area; when the candidate cards in the card display area are longitudinally arranged, if the thumbnails are located at the upper edge or the lower edge of the screen, the terminal updates the candidate application cards in the card display area.
Illustratively, as shown in fig. 6, a first candidate application card 531, a second candidate application card 532 and a third candidate application card 533 are initially displayed in the card display area 53, and when the user drags the thumbnail 52 to the right edge of the screen, the terminal moves the first candidate application card 531 out of the card display area 53 and moves the fourth candidate application card 534 into the card display area 53, so that the user can share the target content through the candidate application corresponding to the fourth candidate application card 534.
Optionally, the display priority of the candidate application card in the card display area is related to the number of content sharing using the candidate application. For example, the higher the content sharing frequency of the candidate application is, the higher the display priority of the corresponding candidate application card in the card display area is, so that the user can quickly select the target application from the card display area.
Regarding the process of selecting a target application from a plurality of candidate applications, in one possible implementation, in the process of dragging the thumbnail by the user, the thumbnail can be dragged above a certain candidate application card and kept for a period of time, so as to complete the target application selection. Accordingly, in response to the drag operation on the thumbnail, the terminal determines the target application from the at least one candidate application based on the first hover position of the thumbnail.
In some embodiments, in order to reduce the probability of misoperation, in response to the intersection of the first hovering position of the thumbnail and the display position of the candidate application card, displaying an application selection countdown, and highlighting the candidate application card, and prompting a user that after the time reaches the countdown, the candidate application corresponding to the candidate application card will be selected as the target application, wherein the highlighting manner includes at least one of frame thickening, frame highlighting, and card enlarging. By highlighting the candidate application cards, the user can be more remarkably informed of the currently selected application card (namely, clear selection feedback is given), so that the selection accuracy of the application card is improved, and the probability of mis-selection is reduced.
Optionally, when the first hovering position of the thumbnail and the display position of the candidate application card intersect, the terminal may further perform reduction processing on the thumbnail, so as to further improve the significance of the selection feedback and improve the accuracy of the application card selection.
And in response to the end of the application selection countdown, the terminal determines the candidate application corresponding to the candidate application card as the target application, wherein the application selection countdown can be set by the terminal in a default mode or can be defined by a user, for example, the application selection countdown is 3s.
Of course, in other possible embodiments, when the first hovering position of the thumbnail intersects with the display position of the candidate application card, the terminal may display the application selection countdown without highlighting the candidate application card, or the terminal may display the candidate application card without displaying the application selection countdown (but still counting down), which is not limited in this embodiment.
In addition, in order to facilitate subsequent content sharing in a target application interface displayed by the target application card, the terminal performs amplification processing on the target application card. The size of the target application card after the enlargement process is a default setting, for example, the size of the enlarged target application card is changed from 100px × 200px to 350px × 700px.
Illustratively, as shown in fig. 7, after receiving a trigger operation on the target content, the terminal displays a thumbnail 71, a first candidate application card 721, a second candidate application card 722 and a third candidate application card 723 of the target content. When the user drags the thumbnail 71 to the display position corresponding to the second candidate application card 722, the thumbnail 71 is reduced, the frame of the second candidate application card 722 is thickened, and the countdown 73 (countdown 3 seconds) is selected by the terminal display application. When the hovering duration reaches 3s, the terminal determines the second candidate application card 722 as a target application card, and performs amplification processing on the target application card.
In some embodiments, when the thumbnail is dragged to a display area outside the target application card, the terminal determines that sharing is not required in the application corresponding to the target application card, so that the target application card is restored to the original size.
In the embodiment, the user only needs to drag the thumbnail of the target content to the display position of the candidate application card and keeps hovering for a period of time to complete target application selection, the application selection process is simple, the false triggering probability can be reduced, and the accuracy of application selection is improved.
Optionally, in a case that the target application selection is not completed, in response to that the dragging operation on the thumbnail is finished and the thumbnail is located at a display position outside the candidate application card, the terminal cancels display of the thumbnail and the candidate application card, thereby finishing content sharing.
Regarding the process of performing content sharing by performing a drag operation within the target application interface, in one possible embodiment, as shown in fig. 8, the process may include the following steps.
Step 801, responding to the dragging operation of the thumbnail in the target application interface, and updating the thumbnail display position based on the dragging position of the dragging operation.
And after the target application is determined, the terminal updates the display position of the thumbnail in the target application interface in real time based on the received dragging operation. The display position of the reduction rate graph can be represented by coordinates, and the coordinates can be absolute coordinates or relative coordinates.
Step 802, determining a first application function area corresponding to a thumbnail display position in a target application interface.
Based on the real-time display position of the thumbnail, the terminal determines a first application function area corresponding to the display position of the thumbnail in the target application interface. Since not all functional areas of the target application interface support content sharing, in a possible embodiment, the terminal detects whether the first application functional area supports content sharing, and if so, performs step 803; if not, go to step 804.
Regarding the specific manner of detecting whether the first application function region supports content sharing, optionally, the terminal operating system transmits the thumbnail display position to the target application, the target application determines the first application function region based on the thumbnail display position, and further determines whether the first application function region supports content sharing, so as to feed back the result to the terminal operating system.
And step 803, in response to that the first application function area supports content sharing, displaying sharing prompt information on the peripheral side of the thumbnail.
The sharing prompt information is used for prompting the user that the user can stop dragging to share the target content. Moreover, the sharing prompt information may be displayed above, below, on the left side or on the right side of the thumbnail, and the specific display position of the sharing prompt information is not limited in the embodiment of the present application.
Illustratively, as shown in fig. 9, a session interface of the instant messaging application is displayed in the target application card 92, and the session interface includes a session list (including session options of different objects). When the user drags the thumbnail 91 to the session option corresponding to "three pages", the terminal determines that the application function area where the thumbnail 91 is currently located supports content sharing, so that sharing prompt information 93 is displayed on the peripheral side of the thumbnail 91, and the user is prompted to release the application function area to send the target content.
And step 804, in response to that the first application function area does not support the content, displaying a sharing forbidding identifier on the peripheral side of the thumbnail.
The sharing forbidding identification is used for prompting the user that the content sharing cannot be completed when the current position stops dragging.
Optionally, the sharing disable flag is displayed on the periphery side of the thumbnail in the form of a corner mark. For example, the sharing disable flag is a "-" corner mark displayed in the upper right corner of the thumbnail. The embodiment of the present application does not limit the specific representation form and the display position of the shared forbidden identifier.
In step 805, in response to the end of the dragging operation and the first application function area supporting content sharing, the target content is shared through the target application.
When the fact that the dragging operation is finished is detected, if the first application function area corresponding to the thumbnail display position before the dragging operation is finished supports content sharing, the terminal shares the target content through the target application.
Illustratively, as shown in fig. 9, when the user stops the drag operation on the thumbnail at the session option corresponding to "zhang san", the terminal shares the target content to "zhang san" in the instant messaging application.
Optionally, if the first application function region corresponding to the thumbnail display position does not support content sharing before the dragging operation is finished, the terminal prompts that the content sharing fails, and displays the thumbnail in the preset display region, so that the user drags the thumbnail again to share the content. The preset display area is located in the display area where the application card is located.
In one possible application scenario, when there is too much display content in the target application interface, the user needs to view the entire display content in the interface through a page turning or scrolling operation. For example, a session list of the session interface includes a large number of session options, so that all the session options cannot be displayed on the same screen, and the rest of the session options in the session list need to be triggered and displayed through a sliding operation.
Correspondingly, when content sharing is performed through the dragging operation in such a scene, the user needs to drag the operation trigger terminal to update the display content in the target application interface. Regarding the specific manner of triggering the target application interface to update the display content through the dragging operation, in one possible implementation manner, in response to that the thumbnail display position is located at the target interface edge of the target application interface, the terminal updates the display content of the target application interface based on a content update manner corresponding to the target interface edge, where the content update manner includes at least one of up-down scrolling and left-right page turning.
Optionally, when the display content in the target application interface supports up-and-down scrolling, the edge of the target application interface is an interface upper edge or an interface lower edge, wherein when the thumbnail display position is located at the interface upper edge, the display content in the target application interface scrolls up, and when the thumbnail display position is located at the interface lower edge, the display content in the target application interface scrolls down.
And when the display content in the target application interface supports left-right page turning, the edge of the target interface is the left edge of the interface or the right edge of the interface, wherein when the display position of the thumbnail is positioned at the left edge of the interface, the display content in the target application interface pages to the left, and when the display position of the thumbnail is positioned at the right edge of the interface, the display content in the target application interface pages to the right.
In a possible implementation manner, when the terminal operating system detects that the thumbnail is located at the edge of the target interface, a scrolling or page turning instruction is sent to the target application, and the target application updates the display content of the target application interface based on the scrolling or page turning instruction, so that the terminal operating system displays the real-time application interface in the target application card.
Illustratively, as shown in fig. 10, a session interface of the instant messaging application is displayed in the target application card 1002, and the session interface includes session options with different session objects. If the currently displayed session options do not include the target session object, the user may push the thumbnail 1001 to the lower edge of the session interface, thereby triggering the session list in the session interface to scroll down to display more session options (for example, the session options corresponding to "eight and eight").
In this embodiment, when the target application interface displays a long page, the user may drag the thumbnail to the interface edge of the target application interface, so as to trigger updating of the display content in the target application interface, and thus, the function of scrolling up and down or turning left and right in the application card is realized, and further, the content sharing efficiency is improved.
In another possible application scenario, the lower page or the upper page of the currently displayed page in the target application interface is the page that the user desires to share the content, and at this time, the user needs to trigger page switching through dragging operation to complete subsequent content sharing. In one possible implementation, in response to the thumbnail hovering at the second hovering position, the terminal determines a second application function area corresponding to the second hovering position in the target application interface, and when the hovering duration reaches a first duration threshold and the second application function area supports page switching, the terminal switches a page displayed in the target application interface.
Optionally, the page switching means to return to the upper page or enter to the lower page. For example, when the second application function area is a return control in the chat page, the terminal determines that the second application function area supports page switching, so as to trigger switching of the chat page to the session list page; when the second application function area is a certain session option in the session list page, the terminal determines that the second application function area supports page switching, so as to trigger switching of the session list page to a session page corresponding to the session option.
Optionally, the first time threshold may be set by default in the terminal, or may be customized by the user. For example, the first time threshold is 2s.
Illustratively, as shown in fig. 11, an application interface of the instant messaging application is displayed in the target application card 1102, and the application interface currently displays a session list page, and when the user drags the thumbnail 1101 to the session option corresponding to "three pages" and hovers over for 2s, the terminal updates the session list page to a chat page corresponding to "three pages". When the user drags the thumbnail 1101 to the chat message display area and stops dragging, the terminal sends the picture corresponding to the thumbnail 1101 to "zhang san". When the user drags the thumbnail 1101 to the display area where the return control 1103 is located and hovers for 2s, the terminal redisplays the session list page update.
In the related art, after content sharing is completed, the terminal usually skips to display an interface before sharing operation or stays at an application interface of a target application, and after content sharing is completed by adopting the scheme provided by the embodiment of the application, the terminal cancels display of thumbnails and candidate application cards and displays the application interface of the target application through a floating window, so that a user can continuously check content sharing feedback through the floating window, or continuously operates in the floating window without manually starting the target application.
Optionally, the floating window supports closing and full-screen display. The user can close the floating window according to the requirement, or trigger the terminal to display the target application in a full screen mode.
Illustratively, as shown in fig. 12, after the photos in the album application are shared to the instant messaging application through the dragging operation, the terminal stops displaying the thumbnail 1201 and each candidate application card 1202, jumps to display the album interface 1204, and continues to display the application interface of the instant messaging application through the floating window 1203. Further, the user may click a full-screen control to trigger the terminal to display the instant messaging application in full screen, or click a close control to close the floating window 1203.
In the embodiment, after content sharing is completed, the terminal cancels display of the thumbnail and the candidate application card and displays the target application through the floating window, so that a user can further operate the target application through the floating window without manually opening the target application, and the efficiency of subsequent application operation is improved.
In a possible case, a user may make a selection error in the process of selecting the target application, and at this time, the user needs to reselect the target application to complete subsequent content sharing. Regarding the process of re-selecting the target application, in one possible implementation, the user may drag the thumbnail out of the application interface of the currently selected target application card and hold the thumbnail for a period of time, so as to release the selected state of the target application. Correspondingly, in response to the thumbnail being outside the target application interface (i.e. the application interface of the target application card) and the duration reaching the second duration threshold (e.g. 2 s), the terminal releases the selected state of the target application.
After the selected state is released, the user can select other candidate applications as the target application through the dragging operation again. And after the selected state is released, the target application card and the thumbnail corresponding to the original target application are restored to the initial state. For example, after the selected state is released, the target application card is reduced to return to the original size of the candidate application card, and the thumbnail returns to be enlarged to return to the size before the selected target application.
Referring to fig. 13, a block diagram of a content sharing device according to an embodiment of the present disclosure is shown. The apparatus may be implemented as all or part of a terminal in software, hardware, or a combination of both. The device includes:
the display module 1301 is configured to display a thumbnail of the target content and a candidate application card corresponding to at least one candidate application in response to a trigger operation on the target content, where an application interface of the candidate application is displayed in the candidate application card;
a determining module 1302, configured to determine a target application from at least one of the candidate applications in response to a dragging operation on the thumbnail;
and the sharing module 1303 is configured to share the target content through the target application in response to the dragging operation on the thumbnail in the target application interface, where the target application interface is an application interface displayed in a target application card corresponding to the target application.
Optionally, the determining module 1302 is specifically configured to:
in response to a drag operation on the thumbnail, a target application is determined from at least one of the candidate applications based on the first hover position of the thumbnail.
Optionally, the determining module 1302 includes:
the countdown display unit is used for responding to the intersection of the first hovering position of the thumbnail and the display position of the candidate application card, displaying countdown selected by an application, and highlighting the candidate application card, wherein the highlighting mode comprises at least one of frame thickening, frame highlighting and card enlarging;
and the first determining unit is used for determining the candidate application corresponding to the candidate application card as the target application in response to the completion of the application selection countdown, and amplifying the target application card.
Optionally, the apparatus further comprises:
the prompt information display module is used for responding to the fact that the first application function area supports content sharing and displaying sharing prompt information on the peripheral side of the thumbnail;
and the forbidden identifier display module is used for responding to the condition that the first application function area does not support the content and displaying the sharing forbidden identifier on the peripheral side of the thumbnail.
Optionally, the sharing module 1303 includes:
a position updating unit for updating a thumbnail display position based on a drag position of a drag operation in response to the drag operation of the thumbnail within the target application interface;
the second determining unit is used for determining a first application function area corresponding to the thumbnail display position in the target application interface;
and the sharing unit is used for responding to the end of the dragging operation, supporting content sharing by the first application function area and sharing the target content through the target application.
Optionally, the sharing module 1303 further includes:
and the content updating unit is used for responding to the situation that the thumbnail display position is located at the target interface edge of the target application interface, and updating the display content of the target application interface based on a content updating mode corresponding to the target interface edge, wherein the content updating mode comprises at least one of up-and-down scrolling and left-and-right page turning.
Optionally, the sharing module 1303 further includes:
a third determination unit, configured to determine, in response to the thumbnail hovering at a second hovering position, a second application function area corresponding to the second hovering position in the target application interface;
and the page switching unit is used for switching the page displayed in the target application interface in response to the fact that the hovering duration reaches a first duration threshold and the second application function area supports page switching.
Optionally, the display module 1301 includes:
a fourth determining unit, configured to determine at least one candidate application in response to a triggering operation on the target content;
the interface acquisition unit is used for acquiring an application interface of at least one candidate application;
and the display unit is used for displaying the thumbnail of the target content and displaying an application interface in the candidate application card corresponding to at least one candidate application.
Optionally, the fourth determining unit is configured to:
determining at least one candidate application based on a target type to which the target content belongs, wherein the candidate application supports sharing the content belonging to the target type; or the like, or a combination thereof,
acquiring a target history sharing record based on a target type to which the target content belongs, wherein the target history sharing record comprises sharing times of the content belonging to the target type shared by each application; determining at least one candidate application based on the sharing times; or the like, or, alternatively,
and determining the applications in the application sharing list as the candidate applications.
Optionally, the interface obtaining unit is configured to:
responding to the opening state of the candidate application, and acquiring a real-time application interface of the candidate application;
and responding to the condition that the candidate application is in a closed state, and acquiring a non-real-time application interface of the candidate application, wherein the non-real-time application interface is a historical application interface or a default application interface of the candidate application.
Optionally, the target application is the candidate application in a closed state;
the display module 1301 further includes:
the starting unit is used for starting the target application and acquiring the real-time application interface of the target application;
and the interface updating unit is used for updating the non-real-time application interface displayed in the target application card into the real-time application interface.
Optionally, the triggering operation on the target content and the dragging operation on the thumbnail are continuous operations;
the display unit is used for:
determining a card display area of the candidate application card based on a trigger area of a trigger operation, wherein the distance between the trigger area and the card display area is a fixed value;
displaying the thumbnail of the target content in the trigger area;
displaying the candidate application card corresponding to at least one candidate application in the card display area, and displaying an application interface in the candidate application card.
Optionally, the number of the candidate application cards that can be accommodated in the card display area is less than the total number of the candidate application cards;
the device, still include:
and the card updating module is used for responding to the dragging operation of the thumbnail, and updating the candidate application card displayed in the card display area when the thumbnail is positioned at the edge of the screen.
Optionally, the apparatus further comprises:
the window display module is used for canceling the display of the thumbnail and the candidate application card; and displaying the application interface of the target application through a floating window.
Optionally, the apparatus further comprises:
and the canceling module is used for responding to the end of the dragging operation of the thumbnail, and canceling the display of the thumbnail and the candidate application card when the thumbnail is positioned at a display position outside the candidate application card.
Optionally, the apparatus further comprises:
and the releasing module is used for responding to the situation that the thumbnail is positioned outside the target application interface and the duration reaches a second duration threshold value, and releasing the selected state of the target application.
To sum up, in the embodiment of the application, when a trigger operation on a target content is received, a terminal displays a thumbnail of the target content and displays an application card of a candidate application providing a content sharing service for a user to select, when a drag operation on the thumbnail is received, the terminal determines a target application for content sharing based on the drag operation and further shares the target content through the target application based on the drag operation on the thumbnail in the target application card; by adopting the scheme provided by the embodiment of the application, the user can complete content sharing in the target application only through continuous dragging operation, so that the content sharing operation and flow are simplified; moreover, the application interface is displayed through the application card, content sharing is achieved based on the dragging operation of the thumbnail in the application interface, the content sharing process is clearer and more visual, and the content sharing efficiency and accuracy are improved.
Referring to fig. 14, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 1410, and a memory 1420.
Processor 1410 may include one or more processing cores. The processor 1410 connects various parts within the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1420, and calling data stored in the memory 1420. Alternatively, the processor 1410 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1410 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural-Network Processing Unit (NPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the touch display screen; the NPU is used for realizing an Artificial Intelligence (AI) function; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into the processor 1410, but may be implemented by a single chip.
The Memory 1420 may include a Random Access Memory (RAM) and a Read-Only Memory (ROM). Optionally, the memory 1420 includes a non-transitory computer-readable storage medium. The memory 1420 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1420 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the terminal, and the like.
The terminal in the embodiment of the present application further includes a display 1430. The display screen 1430 is used for displaying images, and may be a full-screen, an irregular-shaped screen, a curved-surface screen, a folding screen, or a double-surface screen, which is not limited in this embodiment of the application. In addition, the display screen 1430 may also have a touch function, and a user may perform touch operation on an element in the interface through a finger or a stylus.
In addition, those skilled in the art will appreciate that the configurations of the terminals illustrated in the above-described figures are not meant to be limiting, and that the terminals may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a speaker, a microphone, a power supply, and other components, which are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, where at least one instruction is stored, and the at least one instruction is used for being executed by a processor to implement the content sharing method according to the above embodiment.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the terminal reads the computer instruction from the computer-readable storage medium, and executes the computer instruction, so that the terminal executes the content sharing method provided by the foregoing embodiment.
Those skilled in the art will recognize that the functionality described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof, in one or more of the examples described above. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (19)

1. A method for sharing content, the method comprising:
responding to a trigger operation of target content, displaying a thumbnail of the target content and a candidate application card corresponding to at least one candidate application, wherein an application interface of the candidate application is displayed in the candidate application card;
in response to the dragging operation of the thumbnail, determining a target application from at least one candidate application;
and responding to the dragging operation of the thumbnail in a target application interface, and sharing the target content through the target application, wherein the target application interface is an application interface displayed in a target application card corresponding to the target application.
2. The method according to claim 1, wherein the determining a target application from at least one of the candidate applications in response to the dragging operation on the thumbnail comprises:
in response to a drag operation on the thumbnail, a target application is determined from at least one of the candidate applications based on the first hover position of the thumbnail.
3. The method of claim 2, wherein determining a target application from at least one of the candidate applications based on the first hover position of the thumbnail comprises:
responding to the intersection of the first hovering position of the thumbnail and the display position of the candidate application card, displaying application selection countdown, and highlighting the candidate application card, wherein the highlighting mode comprises at least one of frame thickening, frame highlighting and card amplification;
and responding to the end of the application selection countdown, determining the candidate application corresponding to the candidate application card as the target application, and amplifying the target application card.
4. The method according to claim 1, wherein the sharing the target content by the target application in response to the drag operation on the thumbnail within the target application interface comprises:
in response to a drag operation on the thumbnail within the target application interface, updating a thumbnail display position based on a drag position of the drag operation;
determining a first application function area corresponding to the thumbnail display position in the target application interface;
and responding to the end of the dragging operation and the support of content sharing of the first application function area, and sharing the target content through the target application.
5. The method of claim 4, wherein after determining the first application function region corresponding to the thumbnail display position in the target application interface, the method further comprises:
responding to the fact that the first application function area supports content sharing, and displaying sharing prompt information on the peripheral side of the thumbnail;
and in response to that the first application function area does not support content, displaying a sharing forbidding identification on the peripheral side of the thumbnail.
6. The method according to claim 4, further comprising, after the updating of the thumbnail display position based on the drag position of the drag operation:
and in response to the fact that the thumbnail display position is located on the target interface edge of the target application interface, updating the display content of the target application interface based on a content updating mode corresponding to the target interface edge, wherein the content updating mode comprises at least one of up-down scrolling and left-right page turning.
7. The method according to claim 4, further comprising, after the updating the thumbnail display position based on the drag position of the drag operation:
in response to the thumbnail hovering at a second hovering location, determining a second application function area in the target application interface corresponding to the second hovering location;
and responding to the fact that the hovering duration reaches a first duration threshold and the second application function area supports page switching, and switching the page displayed in the target application interface.
8. The method according to claim 1, wherein the displaying a thumbnail of the target content and a candidate application card corresponding to at least one candidate application in response to the triggering operation on the target content comprises:
determining at least one candidate application in response to a triggering operation on the target content;
acquiring an application interface of at least one candidate application;
displaying the thumbnail of the target content, and displaying an application interface in the candidate application card corresponding to at least one candidate application.
9. The method of claim 8, wherein the determining at least one of the candidate applications comprises at least one of:
determining at least one candidate application based on a target type to which the target content belongs, wherein the candidate application supports sharing the content belonging to the target type;
acquiring a target history sharing record based on a target type to which the target content belongs, wherein the target history sharing record comprises sharing times of the content belonging to the target type shared by each application; determining at least one candidate application based on the sharing times;
and determining the applications in the application sharing list as the candidate applications.
10. The method of claim 8, wherein obtaining the application interface of the at least one candidate application comprises:
responding to the opening state of the candidate application, and acquiring a real-time application interface of the candidate application;
and responding to the condition that the candidate application is in a closed state, and acquiring a non-real-time application interface of the candidate application, wherein the non-real-time application interface is a historical application interface or a default application interface of the candidate application.
11. The method of claim 10, wherein the target application is the candidate application in an off state;
after determining the target application from at least one of the candidate applications, the method further comprises:
starting the target application, and acquiring the real-time application interface of the target application;
and updating the non-real-time application interface displayed in the target application card into the real-time application interface.
12. The method according to claim 8, wherein the trigger operation on the target content and the drag operation on the thumbnail are continuous operations;
the displaying the thumbnail of the target content and displaying an application interface in the candidate application card corresponding to at least one candidate application comprises:
determining a card display area of the candidate application card based on a trigger area of a trigger operation, wherein the distance between the trigger area and the card display area is a fixed value;
displaying the thumbnail of the target content in the trigger area;
displaying the candidate application card corresponding to at least one candidate application in the card display area, and displaying an application interface in the candidate application card.
13. The method of claim 12, wherein the card display area can accommodate a number of candidate application cards that is less than a total number of the candidate application cards;
after the candidate application card corresponding to at least one candidate application is displayed in the card display area, the method further comprises the following steps:
and in response to the dragging operation of the thumbnail, and the thumbnail is positioned at the edge of the screen, updating the candidate application card displayed in the card display area.
14. The method according to any one of claims 1 to 13, wherein after the target content is shared by the target application in response to the drag operation on the thumbnail within the target application interface, the method further comprises:
canceling the display of the thumbnail and the candidate application card;
and displaying the application interface of the target application through the floating window.
15. The method according to any one of claims 1 to 13, wherein after displaying the thumbnail of the target content and the candidate application card corresponding to at least one candidate application, the method further comprises:
and in response to the fact that the dragging operation on the thumbnail is finished and the thumbnail is located at a display position outside the candidate application card, canceling the display of the thumbnail and the candidate application card.
16. The method according to any one of claims 1 to 13, wherein after determining a target application from at least one of the candidate applications in response to the drag operation on the thumbnail, the method further comprises:
and in response to the fact that the thumbnail is located outside the target application interface and the duration reaches a second duration threshold, releasing the selected state of the target application.
17. An apparatus for sharing content, the apparatus comprising:
the display module is used for responding to the trigger operation of the target content, displaying the thumbnail of the target content and at least one candidate application card corresponding to the candidate application, wherein an application interface of the candidate application is displayed in the candidate application card;
a determining module, configured to determine a target application from at least one of the candidate applications in response to a dragging operation on the thumbnail;
the sharing module is used for responding to dragging operation of the thumbnail in a target application interface and sharing the target content through the target application, wherein the target application interface is an application interface displayed in a target application card corresponding to the target application.
18. A terminal, characterized in that the terminal comprises a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the content sharing method of any of claims 1 to 16.
19. A computer-readable storage medium having stored thereon at least one instruction for execution by a processor to perform a content sharing method according to any one of claims 1 to 16.
CN202110586893.2A 2021-05-27 2021-05-27 Content sharing method and device, terminal and storage medium Pending CN115407909A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110586893.2A CN115407909A (en) 2021-05-27 2021-05-27 Content sharing method and device, terminal and storage medium
PCT/CN2022/089179 WO2022247557A1 (en) 2021-05-27 2022-04-26 Content sharing method and apparatus, and terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110586893.2A CN115407909A (en) 2021-05-27 2021-05-27 Content sharing method and device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115407909A true CN115407909A (en) 2022-11-29

Family

ID=84156103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110586893.2A Pending CN115407909A (en) 2021-05-27 2021-05-27 Content sharing method and device, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN115407909A (en)
WO (1) WO2022247557A1 (en)

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8793605B2 (en) * 2006-03-29 2014-07-29 Yahoo! Inc. Smart drag-and-drop
US8756519B2 (en) * 2008-09-12 2014-06-17 Google Inc. Techniques for sharing content on a web page
GB201119383D0 (en) * 2011-11-09 2011-12-21 Omnifone Ltd Rara
KR102049855B1 (en) * 2013-01-31 2019-11-28 엘지전자 주식회사 Mobile terminal and controlling method thereof
TW201516698A (en) * 2013-10-28 2015-05-01 Quanta Comp Inc Remote play system and method
CN105955569A (en) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 File sharing method and apparatus
CN106909286A (en) * 2017-02-28 2017-06-30 宇龙计算机通信科技(深圳)有限公司 A kind of information sharing method and device based on terminal
CN108536365B (en) * 2018-03-16 2020-07-28 维沃移动通信有限公司 Image sharing method and terminal
CN109782976B (en) * 2019-01-15 2020-12-22 Oppo广东移动通信有限公司 File processing method, device, terminal and storage medium
CN110851051B (en) * 2019-10-28 2021-06-08 维沃移动通信有限公司 Object sharing method and electronic equipment
CN112839163B (en) * 2019-11-25 2022-03-18 深圳市万普拉斯科技有限公司 Shot image sharing method and device, mobile terminal and readable storage medium
CN111858522A (en) * 2020-08-06 2020-10-30 Oppo广东移动通信有限公司 File sharing method and device, terminal and storage medium

Also Published As

Publication number Publication date
WO2022247557A1 (en) 2022-12-01

Similar Documents

Publication Publication Date Title
EP3907591A1 (en) File processing method and device, terminal, and storage medium
CN109164964B (en) Content sharing method and device, terminal and storage medium
WO2022028185A1 (en) File sharing method and apparatus, and terminal and storage medium
US10942616B2 (en) Multimedia resource management method and apparatus, and storage medium
US9787812B2 (en) Privacy management
KR102367838B1 (en) Device, method, and graphical user interface for managing concurrently open software applications
KR101460428B1 (en) Device, method, and graphical user interface for managing folders
US8694902B2 (en) Device, method, and graphical user interface for modifying a multi-column application
CN110515510B (en) Data processing method, device, equipment and storage medium
JP7138804B2 (en) INTERFACE DISPLAY METHOD AND DEVICE, TERMINAL AND COMPUTER PROGRAM
EP4187378A1 (en) Application interface switching method and apparatus, and terminal and storage medium
KR20220050187A (en) User interfaces for customizing graphical objects
CN108984093B (en) Touch operation method and device, storage medium and electronic equipment
CN107066188B (en) A kind of method and terminal sending screenshot picture
CN110568974B (en) Sliding view display method and device and mobile terminal
KR102027879B1 (en) Menu contolling method of media equipment, apparatus thereof, and medium storing program source thereof
CN107153546B (en) Video playing method and mobile device
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
WO2023046130A1 (en) Application icon display method and apparatus, and electronic device and storage medium
CN111324398B (en) Method, device, terminal and storage medium for processing latest content
WO2019085810A1 (en) Processing method, device, apparatus, and machine-readable medium
CN113268182A (en) Application icon management method and electronic equipment
CN112083858A (en) Method and device for adjusting display position of control
CN111367457A (en) Content sharing method and device and electronic equipment
CN114860149A (en) Content editing control method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination