Content processing method, graphical interface and electronic equipment

By combining long press operations and dynamic light-effect guidance on electronic devices, content processing and sharing across applications, split screens and cross-devices is realized, solving the problem of inconsistent content processing methods in the existing technology and improving user experience.

CN120335665AActive Publication Date: 2025-07-18HONOR DEVICE CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202510412500.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-03
Filing Date
2023-12-27
Publication Date
2025-07-18
Estimated Expiration
2043-12-27

AI Technical Summary

Technical Problem

In the prior art, the content processing methods provided by various applications are not uniform, making it difficult for users to efficiently and conveniently process and share content between different applications.

Method used

By implementing long pressing on the electronic device to display the prompt information of the first application to reach the first time, reaching the second time, displaying the panel of the second application, and releasing it in the drag-and-drop to the target area to realize content sharing, and guide user operations in combination with dynamic light effects, supporting content transmission across applications, split screens and cross-device.

Benefits of technology

It realizes a unified content processing method among different applications, improves user experience, provides convenient and rich content sharing methods, and adapts to a variety of application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120335665A_ABST
    Figure CN120335665A_ABST
Patent Text Reader

Abstract

The invention provides a content processing method, a graphical interface and electronic equipment. The method comprises the following steps: the electronic equipment displays an interface of a first application, wherein the interface comprises first contents such as texts or images; a long-press operation acting on the first content is received, if the long-press operation reaches a first duration, first prompt information provided by the first application and second prompt information provided by the second application are displayed, the first prompt information comprises an option for processing the first content, and the second prompt information indicates a user to continue to input the long-press operation; if the long press operation reaches a second duration, a first panel provided by a second application is displayed, and the first panel comprises the first content. And sharing the first content to a target object under the condition that an operation of dragging the first panel to the target area and releasing the first panel is received.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of the invention patent application with the application number 202311832938.5 and the invention creation name "Content Processing Method, Graphic Interface and Electronic Device" submitted to the China National Patent Office. Technical Field

[0002] This application relates to the terminal field, and in particular, to a content processing method, a graphic interface and an electronic device. Background Art

[0003] Currently, the content provided by various applications is becoming increasingly rich, and users have more processing requirements for the content therein. How to provide a method for users to process content is an urgent problem to be solved. Summary of the Invention

[0004] This application provides a content processing method, a graphic interface and an electronic device. The method includes: The electronic device displays an interface of a first application, and the interface includes first content such as text or images. When a long-press operation on the first content is received, if the long-press operation reaches a first duration, a first prompt message provided by the first application and a second prompt message provided by a second application are displayed. The first prompt message includes options for processing the first content, and the second prompt message instructs the user to continue inputting the long-press operation; if the long-press operation reaches a second duration, a first panel provided by the second application is displayed, and the first panel includes the first content. In the case where an operation of dragging the first panel to a target area and releasing it is received, the first content is shared with the target object.

[0005] In a first aspect, this application provides a content processing method applied to an electronic device. The method includes: Displaying an interface of a first application, where the interface includes first content; Receiving a long-press operation on the first content; In response to the long-press operation reaching a first duration, displaying a first prompt message; In response to the long-press operation reaching a second duration, displaying a first panel, where the first panel includes the first content, where the second duration is greater than the first duration; In the case where an operation of dragging the first panel to a target area and releasing it is received, sharing the first content with the target object. In response to a first operation on the first panel, sharing the first content with the target object.

[0006] After implementing the method provided in the first aspect, by means of a simple long-press operation, different content processing functions are provided to the user successively, which not only ensures the compatible implementation of the two content processing functions, but also meets the user's need to share the content in the application, thus improving the user experience.

[0007] The method described in the first aspect further includes: in response to the long - press operation reaching a duration between the first duration and the second duration, displaying a second prompt message for guiding the continuation of the input of the long - press operation.

[0008] In this way, it is possible to guide the user to input the corresponding trigger operation and enhance the user - device interaction experience.

[0009] The method described in the first aspect, the second prompt message includes any one of the following: a gradually shrinking aperture; a gradually filling progress circle; gradually spreading light points; or, a flashing fence around the first content.

[0010] In this way, it is possible to bring a more interesting guiding effect to the user.

[0011] The method described in the first aspect, after displaying the first panel, the method further includes: stopping the display of the second prompt message, and in response to the first operation, also stopping the display of the first prompt message.

[0012] In this way, it is possible to reduce the display of unnecessary elements, avoid interfering with the elements that the user is concerned about, and improve the interface display effect.

[0013] The method described in the first aspect, the first prompt message is option information provided by the first application for processing the first content, and the second prompt message is information provided by a second application, where the second application is any one of an application program, a service, or a component.

[0014] In this way, it is possible to retain the content - processing function of the first application itself, and without affecting the native content - processing function of the first application, prompt the user on how to use the extended content - processing function provided by the second application through the second application, ensuring that the two content - processing functions can be compatibly implemented by the electronic device.

[0015] The method described in the first aspect, the first operation is an operation of dragging the first panel to a target area of the interface and releasing it.

[0016] In this way, it is possible to provide a more convenient and rich content - sharing method for the user. The user can share the content to the target object only by dragging the content to the target area and then releasing it.

[0017] In the method described in the first aspect, the target area is at the icon of the third application, and the target object is the third application. In response to the first operation on the first panel, sharing the first content with the target object specifically includes: receiving an operation of dragging the first panel to the second area; displaying a menu bar, where the menu bar includes the icon of the third application; receiving an operation of continuing to drag the first panel to the icon of the third application and releasing it; and sharing the first content to the third application.

[0018] In this way, the extended content processing function of the present application can meet the user's need to share the content of the first application with other applications, that is, the cross-application transmission function is realized.

[0019] In the method described in the first aspect, before displaying the menu bar, the method further includes: displaying a light band in a third area, where the third area partially or completely overlaps with the second area.

[0020] In this way, by displaying a light band in a specific area, the user can be prompted to drag the panel to the specific area to trigger the display of the menu bar, which can facilitate the user to drag the panel into it, thereby improving the user's interaction experience.

[0021] In the method described in the first aspect, the target area is the second split screen, and the target object is the second split screen. In response to the first operation on the first panel, sharing the first content with the target object specifically includes: receiving an operation of dragging the first panel from the first split screen to the second split screen and releasing it; and sharing the first content to the second split screen.

[0022] In this way, the extended content processing function of the present application can share the content of the first application to other sub-screens in the split screen scenario, that is, the cross-screen transmission function is realized.

[0023] In the method described in the first aspect, the target area is the fourth area of the electronic device, and the target object is the target electronic device. In response to the first operation on the first panel, sharing the first content with the target object specifically includes: receiving an operation of dragging the first panel to the fourth area and releasing it; and sharing the first content to the target electronic device.

[0024] In this way, the extended content processing function of the present application can share the content of the first application to other collaborating electronic devices in the cross-device transmission scenario, that is, the cross-device sharing function is realized.

[0025] In the method described in the first aspect, after the first operation and before the first content is shared to the target object, the method further includes: the first panel is switched from the first display form to the second display form.

[0026] In this way, by switching the display form of the target text, it is possible to better adapt to the area where it is dragged during the dragging process, improving the interaction experience.

[0027] Combined with the method described in the first aspect, the coverage rate of the first hint information on the first content exceeds a preset value.

[0028] In this way, when the first hint information blocks the first content that the user is concerned about, the second hint information can be used to guide the user to continue long pressing, avoiding misleading the user to interrupt the long pressing operation.

[0029] Combined with the method described in the first aspect, the first hint information includes any one of the following: a toolbar or a floating window.

[0030] Combined with the method described in the first aspect, the first content includes an image and / or text.

[0031] In this way, the needs of users to process various types of content can be met.

[0032] Combined with the method described in the first aspect, the method further includes: in response to the long pressing operation reaching between the first duration and the second duration, taking a screenshot to obtain the first content.

[0033] In a second aspect, the present application provides, for example, a content processing method applied to an electronic device. The method includes: displaying an interface of a first application, the interface including a first content; receiving a long pressing operation on the first content; in response to the long pressing operation reaching a first duration, displaying a first hint information; in response to the long pressing operation reaching a second duration, displaying a first panel, the first panel including the first content, where the second duration is greater than the first duration; in response to a second operation on the first panel, displaying an editing tool; and in response to an operation on the editing tool, editing the first content into a second content.

[0034] Combined with the method described in the second aspect, the method further includes: in response to a first operation on the second content, sharing the second content to a target object.

[0035] After implementing the method provided in the second aspect, through a simple long pressing operation, different content processing functions can be provided to the user successively. This not only ensures the compatible implementation of the two content processing functions but also meets the user's need to share the content in the application, improving the user experience. One of the content processing functions includes providing the user with a function to freely select the content of interest from the application, thereby supporting the user to perform further processing on the content of interest and meeting the user's needs.

[0036] Combined with the method described in the second aspect, the method further includes: in response to the long-press operation reaching a duration between the first duration and the second duration, displaying a second prompt message for guiding to continue inputting the long-press operation.

[0037] In this way, a more convenient and rich content sharing method can be provided for users. The user can share the selected content to the target object by simply dragging the selected content to the target area and then releasing it.

[0038] Combined with the method described in the second aspect, the second prompt message includes any one of the following: a gradually shrinking aperture; a gradually filling progress circle; gradually spreading light points; or, a fence flashing around the first content.

[0039] In this way, a more interesting guiding effect can be brought to the user.

[0040] Combined with the method described in the second aspect, after displaying the first panel, the method further includes: stopping displaying the second prompt message, and in response to the first operation, stopping displaying the first prompt message.

[0041] In this way, the display of unnecessary elements can be reduced, the interference with the elements that the user focuses on can be avoided, and the interface display effect is improved.

[0042] Combined with the method described in the second aspect, the first prompt message is option information provided by the first application for processing the first content, and the second prompt message is information provided by a second application, where the second application is any one of an application program, a service, or a component.

[0043] In this way, the content processing function of the first application itself can be retained, and on the premise of not affecting the native content processing function of the first application, the user can be prompted by the second application on how to use the extended content processing function provided by the second application, ensuring that the two content processing functions can be compatibly implemented by the electronic device.

[0044] Combined with the method described in the second aspect, the first operation is an operation of dragging to a target area on the interface and then releasing.

[0045] In this way, a more convenient and rich content sharing method can be provided for users. The user can share the content to the target object by simply dragging the content to the target area and then releasing it.

[0046] Combined with the method described in the second aspect, the target area is at the icon of the third application, and the target object is the third application. In response to a first operation on the first panel, sharing the first content to the target object specifically includes: receiving an operation of dragging the first panel to a second area; displaying a menu bar, which includes the icon of the third application; receiving an operation of continuing to drag the first panel to the icon of the third application and releasing it; sharing the first content to the third application.

[0047] In this way, the extended content processing function of the present application can meet the user's need to share the content of the first application to other applications, that is, the cross-application transmission function is realized.

[0048] Combined with the method described in the second aspect, before displaying the menu bar, the method further includes: displaying a light band in a third area, and the third area partially or completely overlaps with the second area.

[0049] In this way, by displaying a light band in a specific area, it can prompt the user to drag the panel to the specific area to trigger the display of the menu bar, which can facilitate the user to drag the panel into it, thereby enhancing the user's interaction experience.

[0050] Combined with the method described in the second aspect, the target area is at the second split screen, and the target object is the second split screen. In response to a first operation on the first panel, sharing the first content to the target object specifically includes: receiving an operation of dragging the first panel from the first split screen to the second split screen and releasing it; sharing the first content to the second split screen.

[0051] In this way, the extended content processing function of the present application can share the content of the first application to other sub-screens in the split-screen scenario, that is, the cross-screen transmission function is realized.

[0052] Combined with the method described in the second aspect, the target area is the fourth area of the electronic device, and the target object is the target electronic device. In response to a first operation on the first panel, sharing the first content to the target object specifically includes: receiving an operation of dragging the first panel to the fourth area and releasing it; sharing the first content to the target electronic device.

[0053] In this way, the extended content processing function of the present application can share the content of the first application to other collaborative electronic devices in the cross-device transmission scenario, that is, the cross-device sharing function is realized. Combined with the method described in the second aspect, after the first operation and before the first content is shared to the target object, the method further includes: the first panel is switched from a first display form to a second display form.

[0054] In this way, by switching the display form of the target text, it is possible to better adapt to the area where it is dragged during the dragging process, thus enhancing the interaction experience.

[0055] Combined with the method described in the second aspect, the coverage rate of the first prompt information on the first content exceeds a preset value.

[0056] In this way, when the first prompt information obscures the first content that the user is concerned about, the second prompt information can be used to guide the user to continue long pressing, so as to avoid misleading the user to interrupt the long pressing operation.

[0057] Combined with the method described in the second aspect, the first prompt information includes any one of the following: a toolbar or a floating window.

[0058] Combined with the method described in the second aspect, the first content includes an image and / or text.

[0059] In this way, the needs of users to process various types of content can be met.

[0060] Combined with the method described in the second aspect, the method further includes: in response to the long pressing operation reaching between the first duration and the second duration, taking a screenshot to obtain the first content.

[0061] In a third aspect, the present application provides an electronic device, which includes one or more processors and one or more memories; wherein, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the method described in any one of the first aspect or the second aspect is performed.

[0062] In a fourth aspect, the present application provides a computer-readable storage medium, including instructions, which when running on an electronic device, cause the method described in any one of the first aspect or the second aspect to be performed. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figures 1A - 1D Schematic diagrams of several operation interfaces for processing images provided for the application;

[0064] Figures 1E - 1G Schematic diagrams of several operation interfaces for processing text provided for the application;

[0065] Figure 2A A set of schematic diagrams of operation interfaces for processing images provided by the present application;

[0066] Figure 2B A set of schematic diagrams of operation interfaces for processing text provided by the present application;

[0067] Figure 3ASchematic diagram of an operation interface for selecting images provided by an embodiment of the present application;

[0068] Figure 3B Schematic diagram of an operation interface for transmitting images provided by an embodiment of the present application;

[0069] Figure 4A Another schematic diagram of an operation interface for selecting images provided by an embodiment of the present application;

[0070] Figure 4B Another schematic diagram of an operation interface for transmitting images provided by an embodiment of the present application;

[0071] Figure 5A Another schematic diagram of an operation interface for selecting images provided by an embodiment of the present application;

[0072] Figure 5B Another schematic diagram of an operation interface for transmitting images provided by an embodiment of the present application;

[0073] Figure 6A Another schematic diagram of an operation interface for selecting images provided by an embodiment of the present application;

[0074] Figure 6B Another schematic diagram of an operation interface for transmitting images provided by an embodiment of the present application;

[0075] Figure 7A Schematic diagram of an operation interface for selecting text provided by an embodiment of the present application;

[0076] Figure 7B Schematic diagram of an operation interface for transmitting selected text provided by an embodiment of the present application;

[0077] Figure 8 Schematic diagram of the hardware architecture of an electronic device provided by an embodiment of the present application;

[0078] Figure 9 Schematic diagram of the software of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0079] Next, the technical solutions in the embodiments of the present application will be clearly and elaborately described with reference to the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may represent A or B; "and / or" in the text is merely a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. These three situations.

[0080] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0081] Reference to "embodiment" in the present application means that specific features, structures, or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The occurrence of this phrase at various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described in the present application may be combined with other embodiments.

[0082] The term "user interface (UI)" in the following embodiments of the present application is a media interface for interaction and information exchange between an application program or an operating system and a user, and it realizes the conversion between the internal form of information and the form that can be received by the user. The user interface is source code written in specific computer languages such as Java and Extensible Markup Language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content recognizable by the user. The common manifestation form of the user interface is the graphical user interface (GUI), which refers to the user interface related to computer operations displayed in a graphical manner. It can be visual interface elements such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and Widgets displayed on the display screen of an electronic device.

[0083] Currently, various application programs (also referred to as applications, APPs) are all provided with controls. On the one hand, an application can display content such as text and images through the control. On the other hand, an application can provide further processing methods for the content in the control by detecting operations acting on the control.

[0084] Reference Figures 1A - 1D , Figures 1A - 1D is a schematic diagram of several operation interfaces for processing images provided for an application.

[0085] As Figure 1A shown in the interface of the application, the control 111 included in this interface is an image type control that does not support selection. After the user inputs an operation such as a long press to this control 111, the application does not respond, that is, it does not trigger the selection of the image in the control 111.

[0086] AsFigure 1B The application shown, where the control 112 included in the application is an image control that supports selection. After the user inputs an operation such as a long press to this control 112, the application will pop up a window 113, and the window 113 can include various processing options, such as sharing to different applications, saving, viewing the original image, and so on. Among them, the window 113 also partially covers the image in the control 112.

[0087] As Figure 1C The interface of the application shown, where the control 114 included in the interface is an image control that supports selection. After the user inputs an operation such as a long press to this control 114, the application will display a floating window 115 on the upper layer of the control 114, and the floating window 115 includes various processing options, such as not interested in the product, don't want to see this type of product, already bought, more, and find similar, and so on. Among them, the floating window 115 completely covers the image displayed in the control 114.

[0088] As Figure 1D The interface of the application shown, where the control 116 included in the interface is an image control that supports selection. After the user inputs an operation such as a long press to this control 116, the application will display a mask layer on the upper layer of the control 116 and display a window 117 in this mask layer. The window 117 includes various processing options, such as don't like this product, don't like this category, the content is discomforting, and find similar, and so on. Among them, although the mask layer has transparency, it also completely covers the image displayed in the control 116.

[0089] Refer to Figures 1E - 1G , Figures 1E - 1G which are schematic diagrams of several operation interfaces for processing text provided for the application.

[0090] As Figure 1E The interface of the application shown, where the control 121 included in the interface is a text control that does not support selection. After the user inputs an operation such as a long press to this control 121, the application does not respond, that is, it does not trigger the selection of the content in the control 121.

[0091] As Figure 1F The interface of the application shown, where the control 122 included in the interface is a text control that only supports full selection. After the user inputs an operation such as a long press to this control 122, the application will default to selecting all the text in the control 122 and pop up a toolbar 123 for processing text. The toolbar 123 can include various tool options, such as copy, forward, favorite, and search, and so on.

[0092] As Figure 1GThe interface of the application shown, where the control 124 included in the interface is a text control that supports free selection. After the user inputs an operation such as a long press into the control 124, the application displays the cursors 125A and 125B for sliding to select text, as well as a toolbar 126 for processing the selected content. The toolbar 126 may include various tool options, such as copy, select all, and search, etc.

[0093] The foregoing has merely described by way of example the content processing methods provided by several different applications for this application. By analyzing the layout of controls in a large number of applications and the provided control processing methods, it is found that most of the controls provided by applications do not support users to select the content therein, and thus do not support further processing of this content. Although a small number of applications provide controls that support users to select the content therein for further processing, the provided processing methods of different applications are not the same.

[0094] In view of this, the present application provides a content processing method. In this content processing method, it is possible to support users to select the content provided by applications, and a unified and rich processing method can be provided for the content in different applications, including but not limited to cross-application transmission, split-screen transmission, cross-device transmission, etc. The present application will only take cross-application transmission as an example for introduction, and for details, reference can be made to the following description of Figures 2A - 2B the introduction.

[0095] Reference Figure 2A , Figure 2A is a schematic diagram of an operation interface for processing images provided by the present application.

[0096] Figure 2A In a of, the interface 20 of the application is shown. The interface 20 includes an image control for displaying the image 211.

[0097] Figure 2A In a-b of, the operation interface for selecting an image is shown. Specifically, when the electronic device detects a long press operation on the image 211, a floating panel 212 containing the image 211 is displayed, and this floating panel 212 supports user dragging.

[0098] Figure 2A In b-c of, the operation interface for dragging the panel is shown. Specifically, when the electronic device detects an operation of dragging the panel 212, the display area of the panel 212 can be changed along with the dragging trajectory. And during the process of dragging the panel 212, the electronic device also displays a light band 213, which is used to indicate to the user to drag the panel to any hot zone to trigger the opening of any door. In addition, during the dragging process, the display form of the panel 212 (such as display size, display content) can also be changed.

[0099] Figure 2AThe "d" in it shows the operation interface for transmitting an image through an arbitrary door. Specifically, when the electronic device detects that the panel 212 is dragged to the hot zone of the arbitrary door, the arbitrary door is triggered to open, and a menu bar 214 is displayed in the arbitrary door. Application icons are displayed in the menu bar 214. After detecting the operation of dragging the panel 212 to and releasing it at the icon of an application such as a note application, the image 211 in the panel 212 is transmitted to the note application, and a corresponding prompt message 215 is popped up.

[0100] Reference Figure 2B , Figure 2B is a schematic diagram of an operation interface for processing text provided by this application.

[0101] Figure 2B The "a" in it shows the interface 20 of the application. The interface 20 includes a text control for displaying text 221.

[0102] Figure 2B The "a-b" in it shows the operation interface for selecting text. Specifically, when the electronic device detects a long-press operation on the text 221, a floating panel 222 containing the text 221 is displayed, and this floating panel 222 supports user dragging.

[0103] Figure 2B The "b-c" in it shows the operation interface for dragging the panel. Specifically, when the electronic device detects the operation of dragging the panel 222, the display area of the panel 222 can be changed along with the dragging trajectory. Also, during the process of dragging the panel 222, the electronic device also displays a light band 223, which is used to indicate to the user to drag the panel to the hot zone of the arbitrary door to trigger the opening of the arbitrary door. In addition, during the dragging process, the display form of the panel 222 (such as display size, display content) can also be changed.

[0104] Figure 2B The "d" in it shows the operation interface for transmitting the text in the panel through the arbitrary door. Specifically, when the electronic device detects that the panel 222 is dragged to the hot zone of the arbitrary door, the arbitrary door is triggered to open, and a menu bar 224 is displayed in the arbitrary door. Application icons are displayed in the menu bar 224. After detecting the operation of dragging the panel 222 to and releasing it at the icon of an application such as a note application, the text 221 in the panel 222 is transmitted to the note application, and a prompt message 225 is popped up.

[0105] In this application, the content processing method shown above Figures 1A - 1G is a method provided by the application for itself, and is only used to process the content provided by this application, and the content processing methods provided by different applications are different. The content processing method shown above Figures 2A - 2B is a method provided by any one of the application, service or component, and can be used to process the content including that provided by this application and other applications.

[0106] In order to retain the content processing method of the application itself and add an extended content processing method without affecting the existing content processing method of the application, that is, to ensure that these two methods can be compatibly implemented by an electronic device, the present application provides a content processing method, a graphical interface, and an electronic device.

[0107] The content processing method provided by the present application includes: an electronic device displays an interface of a first application, and the interface includes first content such as text or an image. When a long-press operation on the first content is received, if the long-press operation reaches a first duration, a first prompt message provided by the first application is displayed, and the first prompt message includes options for processing the first content; if the long-press operation reaches a second duration, a first panel provided by a second application is displayed, and the first panel includes the first content. When an operation of dragging the first panel to a target area and releasing it is received, the first content is shared with a target object.

[0108] Optionally, when the long-press operation reaches the first duration and has not reached the second duration, the electronic device also displays a second prompt message provided by the second application, and the second prompt message is used to guide the user not to lift their hand, that is, to continue inputting the long-press operation, thereby triggering the electronic device to enable the extended content processing function of the second application. In one implementation, when the first content is image content, the electronic device will display the second prompt message. This is because the first prompt message displayed by the first application for the long-press operation on image content is usually a pop-up window, a floating window, etc., which largely covers the first content. Therefore, the second prompt message is needed to guide the user not to lift their hand. In another implementation, regardless of whether the first content is image content or text content, the electronic device displays the second prompt message. This can provide a consistent operation experience for the user.

[0109] Optionally, before sharing the first content in the first panel with a target object, the first content can also be edited and the edited first content is shared with the target object.

[0110] Next, relevant concepts related to the present application will be introduced first.

[0111] Hot zone

[0112] The hot zone involved in this application refers to the area in the interface that can be used for interaction and will trigger the electronic device to execute corresponding events after interaction. Taking the hot zone for triggering the electronic device to open an arbitrary door (abbreviated as the arbitrary door hot zone) as an example, the corresponding interaction method for this arbitrary door hot zone includes, for example, the operation of dragging a draggable element to the arbitrary door hot zone and then releasing it. The events triggered by this interaction method include, for example, triggering the electronic device to open the arbitrary door, that is, triggering the electronic device to display a menu bar containing application icons. The so-called arbitrary door hot zone in this application is only an exemplary name, and this application does not limit the specific name of this area. All the specific functions it provides have been detailedly recorded in the embodiments of this application.

[0113] First application

[0114] The first application includes the system application of the electronic device or a third-party application. In particular, in order to protect the intellectual property rights of users and provide users with an immersive gaming experience, the first application in this application does not include gaming applications, literature providing applications, etc. If there are other requirements, other types of applications may also be excluded.

[0115] Native content processing function

[0116] The "native content processing" function refers to the content processing function provided by the first application for itself. This function includes: supporting the user to trigger the display of the first prompt message by means of a long-press operation on the content in the control, and then further processing the content in the control through the processing options in the first prompt message. The embodiments of this application do not limit the name of this function. The specific functions and implementations of this function have been detailedly recorded in this article.

[0117] Second application

[0118] The second application includes the system application of the electronic device or a third-party application, or can also be a service or component of the electronic device, etc. This second application is different from the first application.

[0119] Extended content processing function

[0120] The "extended content processing" function refers to the content processing function provided by the second application for itself and other applications. This function includes "content selection" and "content sharing". The content processing methods involved later all belong to the extended content processing methods. The embodiments of this application do not limit the name of this function. The specific functions and implementations of this function have been detailedly recorded in this article.

[0121] Content selection

[0122] The "Content Selection" function includes: supporting the user to trigger the display of the first panel through a long - press operation on the control, and also triggering the display of the second prompt message before triggering the display of the first panel. The "Content Selection" function also includes: dragging the panel, editing the text, images and other content in the panel. For specific details, please refer to the introduction of the UI implementation in the following text, which will not be elaborated here for the time being.

[0123] Content Sharing

[0124] The "Content Sharing" function can be specifically provided by the "Intelligent Transfer Service", "Cross - device Transmission Service" or "Split - screen Transmission Service", etc.

[0125] The "Intelligent Transfer Service" can also be called the "Cross - application Transmission Service", and can specifically provide the function of sharing the content in this application to other applications in the Any Door.

[0126] The "Cross - device Transmission Service" can also be called the "Multi - device Collaboration Service", and can specifically provide the function of sharing the content of this device to other devices for collaborative processing.

[0127] The "Split - screen Transmission Service" can also be called the "Multi - screen Collaboration Service", and can specifically provide the function of sharing the content of this sub - screen to other sub - screens for collaborative processing.

[0128] In the embodiments of this application, when "Content Sharing" is applied in different scenarios, "Content Sharing" can be specifically provided by the aforementioned different functional modules, and the embodiments of this application do not limit this. The names of the foregoing various functions are only examples, and the embodiments of this application do not limit their names. The specific functions they provide are all detailedly recorded in this application.

[0129] In the embodiments of this application, "Content Selection" and "Content Sharing" can be provided by two independent functional modules, or can also be provided by a functional module formed by two sub - functional modules coupled with each other. The embodiments of this application do not limit this.

[0130] First Duration

[0131] The first duration in this application includes one or more durations. This application does not limit the specific value of the first duration, which is specifically determined by the content - processing logic of the application itself. Currently, the long - press durations for triggering content processing provided by most applications are between 400 milliseconds and 600 milliseconds.

[0132] Second Duration

[0133] The second duration in this application includes one or more durations. When the second duration is a fixed duration, this fixed duration is longer than the first duration provided by each current application. For example, it is 1100 milliseconds. If the second duration includes multiple durations, for applications with different first durations, the corresponding second durations are all different, as long as it is ensured that the second duration corresponding to each application is longer than the first duration corresponding to that application.

[0134] Next, taking text content and image content as examples respectively, combined with several groups of user interfaces provided in the accompanying drawings, the content processing method provided in this application will be introduced in detail.

[0135] This application provides a total of four processing methods. For specific references, please refer to the detailed description below.

[0136] 1. Figures 3A - 3B This is the operation interface involved in adopting the first content processing method.

[0137] In content processing method 1, the electronic device can guide the user to keep their hand on it by gradually reducing the aperture, that is, guide the user to continue to input a long-press operation on the content until the long-press operation reaches the second duration to trigger the display of the panel corresponding to the content.

[0138] Refer to Figure 3A , Figure 3A This is a schematic diagram of an operation interface for selecting an image provided by an embodiment of this application.

[0139] Figure 3A In a, an interface 30 of the application is shown. The interface 30 includes an image 311, and the image 311 can be displayed through an image control provided by the application. If the electronic device detects that the long-press operation on the image 311 reaches the first duration, in response to the long-press operation, the electronic device displays a prompt message 312 and a prompt message 313. For details, see Figure 3A In b.

[0140] Figure 3A In b - c, the prompt messages displayed by the electronic device are shown. Specifically, in response to the long-press operation of the first duration on the image 311, the electronic device displays the prompt message 312 provided by this application and the prompt message 313 provided by the second application.

[0141] In some embodiments, since some applications do not provide methods for processing the content in the control by themselves, these applications do not respond to this operation to display the prompt message 312. And the response methods of different applications are different, that is, the displayed prompt message 312 can be a toolbar, a floating window, etc. in addition to a pop-up window.

[0142] In some embodiments, the prompt message 313 can have an animation display effect toFigure 3A Taking the aperture shown by b and c in [reference] as an example, the aperture can gradually shrink as the pressing duration increases, giving the user a sense of focusing, which is used to guide the user to continue long-pressing until the aperture disappears after reaching the second duration.

[0143] Figure 3A d in [reference] shows a panel including an image displayed by the electronic device. Specifically, if the electronic device detects that the long-press operation on the image 311 reaches the second duration, in response to the long-press operation, the electronic device displays a floating panel 314 containing the image 311. Optionally, during the process of the electronic device displaying the panel 314, it can be specifically displayed through an animation effect from large to small. In addition, the electronic device also supports the user to drag the floating panel 314, and during the dragging process, the display form of the panel 314 can also be changed, including changing the display size, content, etc.

[0144] Reference Figure 3B , Figure 3B is a schematic diagram of an operation interface for transmitting images provided by an embodiment of the present application.

[0145] Figure 3B e in [reference] shows a light band 315 displayed by the electronic device. Specifically, after the electronic device displays the floating panel 314, as the user drags the panel 314, the electronic device can display the light band 315, and the light band 315 is used to guide the user to drag the panel 314 to any door hot zone to trigger the opening of any door (i.e., enabling the intelligent transfer service). The light band 315 can be an interface element with attributes such as color, shadow, gradient, graphic filling (such as grid filling, diagonal filling), etc. In some embodiments, the light band 315 can also present a dynamic effect, such as changing the display area, color, etc. For example, the light band can change the display area along with the dragging area of the panel 314, giving the user an operation experience of attracting the floating panel 314. In other embodiments, the light band 315 can also be an area with transparency, so as not to block the interface elements displayed below the light band 315.

[0146] Figure 3BThe f in [description] shows the operation interface for opening an arbitrary door for transmission displayed on the electronic device. Specifically, when the electronic device detects that the panel 314 is dragged to the light band 315 (or when the electronic device detects that the panel 314 is dragged to the second area), the electronic device is triggered to open an arbitrary door, and a menu bar 316 including icons of one or more candidate applications is displayed in the opened arbitrary door. The menu bar 316 may include a favorite icon, a search icon, a share icon, a note icon, an information icon, a shopping icon, a print icon, an email icon, and so on. In addition, when the electronic device detects that the user continues to drag the panel 314 to the icon of any candidate application in the menu bar 316 (for example, the note application icon, which is the target area) and releases it, the electronic device can confirm the note application as the target object. Subsequently, the electronic device can transmit the text corresponding to the panel 314 (i.e., the target text) to the note application and can also output a corresponding prompt message 317. Not limited to outputting the prompt message 317, in some other embodiments, the electronic device can also display the window provided by the target object or directly jump to the interface provided by the target object.

[0147] In an implementable manner, after the electronic device displays Figure 3A the panel 314 shown in d in [description], and before detecting Figure 3B the operation of dragging the panel 314 shown in e in [description], the user can directly start dragging the panel 314 without releasing the hand after triggering the display of the panel 314 by long pressing the image 311, or the user can release the hand after triggering the display of the panel 314 by long pressing the image 311 and start dragging the panel 314 within 3 s after releasing the hand. The embodiments of the present application do not limit this. Optionally, the duration for which the panel 314 remains displayed can be other durations in addition to 3 s. The embodiments of the present application do not limit this.

[0148] Optionally, after the electronic device displays the panel 314, if it detects an operation of dragging the panel 314 and releasing it in an area other than the icon of the application in the arbitrary door, the current image transmission is ended, that is, the electronic device closes the arbitrary door and stops displaying the panel 314. In this way, if the user does not want to transmit the image, this operation can be used to cancel the current image transmission task.

[0149] In the embodiments of the present application, the custom name involved in the foregoing content processing method 1 can also be called other names, specifically including: the application that provides the interface 30 can also be called the first application. The image 311 can also be called the first content, the image control for displaying the image 311 can also be called the first control, the prompt message 312 can also be called the first prompt message, the prompt message 313 can also be called the second prompt message, and the panel 314 can also be called the first panel. The note application can also be called the third application or the target object, and the operation of dragging the image 311 to the note application icon and releasing it can also be called the first operation. Among them, the operation of the user dragging the panel 314 to the area for triggering the opening of the arbitrary door can also be called the second area, and the area for displaying the light strip 315 can also be called the third area, and the third area partially or completely overlaps with the second area.

[0150] 2. Figures 4A - 4B It is the operation interface involved in adopting the second content processing method.

[0151] In the content processing method 2, the electronic device can guide the user not to let go by a gradually filling progress circle, that is, guide the user to continue to input a long-press operation on the content until the long-press operation reaches the second duration to trigger the display of the panel corresponding to the content.

[0152] Refer to Figure 4A , Figure 4A It is a schematic diagram of another group of operation interfaces for selecting images provided by the embodiments of the present application.

[0153] Figure 4A In a, it shows the interface 40 of the application. The interface 40 includes an image 411, and the image 411 can be displayed through the image control provided by the application. If the electronic device detects that the long-press operation on the image 411 reaches the first duration, in response to the long-press operation, the electronic device will display the prompt message 412 and the prompt message 413, as specifically shown in Figure 4A b and c in.

[0154] Figure 4A In b and c in, it shows the prompt messages displayed by the electronic device. Specifically, in response to the long-press operation with the first duration on the image 411, the electronic device will display the prompt message 412 provided by this application and the prompt message 413 provided by the second application.

[0155] In some embodiments, since some applications do not provide their own methods for processing the content in the control, these applications will not respond to this operation to display the prompt message 412. And the response methods of different applications are different, that is, the displayed prompt message 412 can be a toolbar, a floating window, etc. in addition to a pop-up window.

[0156] In some embodiments, the prompt message 413 may have an animated display effect, so that Figure 4A taking the progress circle shown in b and c in Figure 4A as an example, the progress circle can be gradually filled with progress as the pressing duration increases, giving the user a feeling that the long-press trigger operation is about to be completed, and is used to guide the user to continue long-pressing until the progress circle is filled and disappears after reaching the second duration.

[0157] Figure 4A Figure d in shows a panel including an image displayed by the electronic device. Specifically, if the electronic device detects that a long-press operation on the image 411 reaches the second duration, in response to the long-press operation, the electronic device displays a floating panel 414 that includes the image 411. Optionally, during the process of the electronic device displaying the panel 414, it can be specifically displayed through an animated effect of changing from large to small. In addition, the electronic device also supports the user to drag the floating panel 414, and during the dragging process, the display form of the panel 414 can also be changed, including changing the display size, content, etc.

[0158] Referring to Figure 4B , Figure 4B which is another schematic diagram of an operation interface for transmitting images provided by an embodiment of the present application.

[0159] Figure 4B Figure e in Figure 4B shows a light band 415 displayed by the electronic device. Specifically, after the electronic device displays the floating panel 414, as the user drags the panel 414, the electronic device can display the light band 415. The light band 415 is used to guide the user to drag the panel 414 to any door hot zone to trigger the opening of any door (that is, to enable the intelligent transfer service). The light band 415 can be an interface element with attributes such as color, shadow, gradient, graphic filling (such as grid filling, diagonal filling), etc. In some embodiments, the light band 415 can also present a dynamic effect, such as changing the display area, color, etc. For example, the light band can change the display area along with the dragging area of the panel 414, giving the user an operation experience of attracting the floating panel 414. In other embodiments, the light band 415 can also be a region with transparency, so that it does not block the interface elements displayed below the light band 415.

[0160] Figure 4BThe f in [the figure] shows an operation interface for opening an arbitrary door for transmission displayed on the electronic device. Specifically, when the electronic device detects that the panel 414 is dragged to the light band 415, the electronic device is triggered to open an arbitrary door, and a menu bar 416 including icons of one or more candidate applications is displayed in the opened arbitrary door. The menu bar 416 may include a favorite icon, a search icon, a share icon, a note icon, an information icon, a shopping icon, a print icon, an email icon, and so on. In addition, when the electronic device detects that the user continues to drag the panel 414 to the icon of any candidate application in the menu bar 416 (for example, the note application icon, which is the target area) and releases it, the electronic device can confirm that the note application is the target object. Subsequently, the electronic device can transmit the text corresponding to the panel 414 (i.e., the target text) to the note application and can also output a corresponding prompt message 417. Not limited to outputting the prompt message 417, in some other embodiments, the electronic device can also display the window provided by the target object or directly jump to the interface provided by the target object.

[0161] In an implementable manner, after the electronic device displays Figure 4A the panel 414 shown in d in [the figure], and before detecting Figure 4B the operation of dragging the panel 414 shown in e in [the figure], the user can start dragging the panel 414 without releasing the hand after triggering the display of the panel 414 by long pressing the image 411, or the user can release the hand after triggering the display of the panel 414 by long pressing the image 411 and start dragging the panel 414 within 3 seconds after releasing the hand. The embodiments of the present application do not limit this. Optionally, the duration for which the panel 414 remains displayed can be other durations in addition to 3 seconds. The embodiments of the present application do not limit this.

[0162] Optionally, after the electronic device displays the panel 414, if it detects an operation of dragging the panel 414 and releasing it in an area other than the icon of the application in the arbitrary door, the current image transmission is ended, that is, the electronic device closes the arbitrary door and stops displaying the panel 414. In this way, if the user does not want to transmit the image, this operation can be used to cancel the current image transmission task.

[0163] In the embodiments of the present application, the custom names involved in the foregoing content processing method 2 may also be referred to as other names, specifically including: the application that provides the interface 40 may also be referred to as the first application. The image 411 may also be referred to as the first content, the image control for displaying the image 411 may also be referred to as the first control, the prompt message 412 may also be referred to as the first prompt message, the prompt message 413 may also be referred to as the second prompt message, and the panel 414 may also be referred to as the first panel. The note application may also be referred to as the third application or the target object, and the operation of dragging the image 411 to the note application icon and releasing it may also be referred to as the first operation. Among them, the operation of the user dragging the panel 414 to the area for triggering the opening of the arbitrary door may also be referred to as the second area, and the area for displaying the light band 415 may also be referred to as the third area, and the third area partially or completely overlaps with the second area.

[0164] 3. Figures 5A - 5B It is the operation interface involved in adopting the third content processing method.

[0165] In the content processing method 3, the electronic device can guide the user not to let go through the gradually diffusing light point animation effect, that is, guide the user to continue to input a long-press operation on the content until the long-press operation reaches the second duration to trigger the display of the panel corresponding to the content.

[0166] Reference Figure 5A , Figure 5A It is another schematic diagram of the operation interface for selecting an image provided by the embodiments of the present application.

[0167] Figure 5A In a, it shows the interface 50 of the application. The interface 50 includes an image 511, and the image 511 can be displayed through the image control provided by the application. If the electronic device detects that the long-press operation on the image 511 reaches the first duration, in response to the long-press operation, the electronic device displays the prompt message 512 and the prompt message 513, as specifically shown in Figure 5A b and c in.

[0168] Figure 5A b and c in show the prompt messages displayed by the electronic device. Specifically, in response to the long-press operation of the first duration on the image 511, the electronic device displays the prompt message 512 provided by this application and the prompt message 513 provided by the second application.

[0169] In some embodiments, since some applications do not provide a method for processing the content in the control by themselves, these applications do not respond to this operation to display the prompt message 512. And the response methods of different applications are different, that is, the displayed prompt message 512 can be a toolbar, a floating window, etc. in addition to a pop-up window.

[0170] In some embodiments, the prompt message 513 may have an animated display effect. Taking the light spot animation shown in b and c of Figure 5A as an example, the light spot animation may gradually spread as the pressing duration increases, guiding the user to continue long pressing until the progress circle is filled and disappears after reaching the second duration.

[0171] Figure 5A d in

[0172] shows a panel including an image displayed by the electronic device. Specifically, if the electronic device detects that a long press operation on the image 511 reaches the second duration, in response to the long press operation, the electronic device displays a floating panel 514 containing the image 511. Optionally, during the process of the electronic device displaying the panel 514, it can be specifically displayed through an animation effect of changing from large to small. In addition, the electronic device also supports the user to drag the floating panel 514, and during the dragging process, the display form of the panel 514 can also be changed, including changing the display size, content, etc. Figure 5B , Figure 5B which is another schematic diagram of an operation interface for transmitting images provided by an embodiment of the present application.

[0173] Figure 5B e in

[0174] Figure 5BThe f in it shows the operation interface for opening an arbitrary door for transmission displayed on the electronic device. Specifically, when the electronic device detects that the panel 514 is dragged to the light strip 515, the electronic device is triggered to open an arbitrary door, and a menu bar 516 including icons of one or more candidate applications is displayed in the opened arbitrary door. The menu bar 516 may include a favorite icon, a search icon, a share icon, a note icon, an information icon, a shopping icon, a print icon, an email icon, and so on. In addition, when the electronic device detects that the user continues to drag the panel 514 to the icon of any candidate application in the menu bar 516 (for example, the note application icon, which is the target area) and releases it, the electronic device can confirm that the note application is the target object. Subsequently, the electronic device can transmit the text corresponding to the panel 514 (i.e., the target text) to the note application and can also output a corresponding prompt message 517. Not limited to outputting the prompt message 517, in some other embodiments, the electronic device can also display the window provided by the target object or directly jump to the interface provided by the target object.

[0175] In an implementable manner, after the electronic device displays Figure 5A the panel 514 shown in d in it, and before detecting Figure 5B the operation of dragging the panel 514 shown in e in it, the user can directly start dragging the panel 514 without releasing the hand after long-pressing the image 511 to trigger the display of the panel 514, or the user can release the hand after long-pressing the image 511 to trigger the display of the panel 514 and start dragging the panel 514 within 3 seconds after releasing the hand. The embodiments of the present application do not limit this. Optionally, the duration for which the panel 514 remains displayed can be other durations in addition to 3 seconds. The embodiments of the present application do not limit this.

[0176] Optionally, after the electronic device displays the panel 514, if it detects an operation of dragging the panel 514 and releasing it in an area other than the icon of the application in the arbitrary door, the current image transmission is ended, that is, the electronic device closes the arbitrary door and stops displaying the panel 514. In this way, if the user does not want to transmit the image, this operation can be used to cancel the current image transmission task.

[0177] In the embodiments of the present application, the custom names involved in the foregoing content processing method 3 may also be referred to as other names, specifically including: the application that provides the interface 50 may also be referred to as the first application. The image 511 may also be referred to as the first content, the image control for displaying the image 511 may also be referred to as the first control, the prompt message 512 may also be referred to as the first prompt message, the prompt message 513 may also be referred to as the second prompt message, and the panel 514 may also be referred to as the first panel. The note application may also be referred to as the target object, and the operation of dragging the image 511 to the note application icon and releasing it may also be referred to as the first operation. Among them, the operation of the user dragging the panel 514 to the area for triggering the opening of the arbitrary door may also be referred to as the second area, and the area for displaying the light strip 515 may also be referred to as the third area, and the third area partially or completely overlaps with the second area.

[0178] 4. Figures 6A - 6B It is the operation interface involved in adopting the third content processing method.

[0179] In the content processing method 4, the electronic device can guide the user not to let go through the shiny fence animation effect, that is, guide the user to continue to input the long-press operation on the content until the long-press operation reaches the second duration to trigger the display of the panel corresponding to the content.

[0180] Reference Figure 6A , Figure 6A It is a schematic diagram of another group of operation interfaces for selecting images provided by the embodiments of the present application.

[0181] Figure 6A In a, it shows the interface 60 of the application. The interface 60 includes an image 611, and the image 611 can be displayed through the image control provided by the application. If the electronic device detects that the long-press operation on the image 611 reaches the first duration, in response to the long-press operation, the electronic device displays the prompt message 612 and the prompt message 613, as specifically shown in Figure 6A b and c in.

[0182] Figure 6A b and c in show the prompt messages displayed by the electronic device. Specifically, in response to the long-press operation with the first duration on the image 611, the electronic device displays the prompt message 612 provided by this application and the prompt message 613 provided by the second application.

[0183] In some embodiments, since some applications do not provide their own methods for processing the content in the control, these applications do not respond to this operation to display the prompt message 612. And the response methods of different applications are different, that is, the displayed prompt message 612 can be a toolbar, a floating window, etc. in addition to a pop-up window.

[0184] In some embodiments, the prompt message 613 may have an animation display effect to Figure 6A Taking the fence surrounding the image 611 shown in b and c in Figure 6A as an example, the fence may continuously flash as the pressing duration increases, guiding the user to continue long pressing until the progress circle is filled and disappears after reaching the second duration.

[0185] Figure 6A d in Figure 6A shows a panel including an image displayed on the electronic device. Specifically, if the electronic device detects that the long press operation on the image 611 reaches the second duration, in response to the long press operation, the electronic device displays a floating panel 614 containing the image 611. Optionally, during the process of the electronic device displaying the panel 614, it can be specifically displayed through an animation effect of changing from large to small. In addition, the electronic device also supports the user to drag the floating panel 614, and during the dragging process, the display form of the panel 614 can also be changed, including changing the display size, content, etc.

[0186] Refer to Figure 6B , Figure 6B which is another schematic diagram of the operation interface for transmitting images provided by the embodiments of the present application.

[0187] Figure 6B e in Figure 6B shows a light band 615 displayed on the electronic device. Specifically, after the electronic device displays the floating panel 614, as the user drags the panel 614, the electronic device can display the light band 615, and the light band 615 is used to guide the user to drag the panel 614 to any door hot zone to trigger the opening of any door (i.e., start the intelligent transfer service). The light band 615 can be an interface element with attributes such as color, shadow, gradient, graphic filling (such as grid filling, diagonal filling), etc. In some embodiments, the light band 615 can also present a dynamic effect, such as changing the display area, color, etc. For example, the light band can change the display area along with the dragging area of the panel 614, bringing the user an operation experience of attracting the floating panel 614. In other embodiments, the light band 615 can also be a region with transparency, so as not to block the interface elements displayed under the light band 615.

[0188] Figure 6BThe f in [description] shows the operation interface for opening an arbitrary door for transmission displayed on the electronic device. Specifically, when the electronic device detects that the panel 614 is dragged to the light band 615, the electronic device is triggered to open an arbitrary door, and a menu bar 616 including icons of one or more candidate applications is displayed in the opened arbitrary door. The menu bar 616 may include a favorite icon, a search icon, a share icon, a note icon, an information icon, a shopping icon, a print icon, an email icon, and so on. In addition, when the electronic device detects that the user continues to drag the panel 614 to the icon of any candidate application in the menu bar 616 (for example, the note application icon, which is the target area) and releases it, the electronic device can confirm that the note application is the target object. Subsequently, the electronic device can transmit the text corresponding to the panel 614 (i.e., the target text) to the note application and can also output a corresponding prompt message 617. Not limited to outputting the prompt message 617, in some other embodiments, the electronic device can also display the window provided by the target object or directly jump to the interface provided by the target object.

[0189] In an implementable manner, after the electronic device displays Figure 6A the panel 614 shown in d in [description], and before detecting Figure 6B the operation of dragging the panel 614 shown in e in [description], the user can directly start dragging the panel 614 without releasing the hand after triggering the display of the panel 614 by long-pressing the image 611, or the user can release the hand after triggering the display of the panel 614 by long-pressing the image 611 and start dragging the panel 614 within 3 s after releasing the hand. The embodiments of the present application do not limit this. Optionally, the duration for which the panel 614 remains displayed can be other durations in addition to 3 s. The embodiments of the present application do not limit this.

[0190] Optionally, after the electronic device displays the panel 614, if it detects an operation of dragging the panel 614 and releasing it in an area other than the icon of the application in the arbitrary door, the current image transmission is ended, that is, the electronic device closes the arbitrary door and stops displaying the panel 614. In this way, if the user does not want to transmit the image, this operation can be used to cancel the current image transmission task.

[0191] In an embodiment of the present application, the custom name involved in the aforementioned content processing method 4 may also be referred to as other names, including: the application providing the interface 60 may also be referred to as the first application. The image 611 may also be referred to as the first content, the image control for displaying the image 611 may also be referred to as the first control, the prompt information 612 may also be referred to as the first prompt information, the prompt information 613 may also be referred to as the second prompt information, and the panel 614 may also be referred to as the first panel. The note application may also be referred to as the target object, and the operation for dragging the image 611 to the note application icon and releasing it may also be referred to as the first operation. Among them, the area where the user drags the panel 614 to trigger the opening of any door may also be referred to as the second area, and the area for displaying the light band 615 may also be referred to as the third area, and the third area partially or completely overlaps with the second area.

[0192] The above text only takes image content as an example to introduce the operation interface involved. The processing method for text content provided by this application is similar to the processing method for image content mentioned above. Figures 3A - 3B Let’s take the first image content processing method as an example to introduce the corresponding processing method for text content. For other specific content processing methods, please refer to the previous article. Figures 4A - 6B The several processing methods shown will not be described in detail here.

[0193] refer to Figure 7A , Figure 7A A schematic diagram of a set of operation interfaces for selecting text provided in an embodiment of the present application.

[0194] Figure 7A a in FIG. 7 shows an interface 70 of the application. The interface 70 includes text 711, which can be displayed by a text control provided by the application. If the electronic device detects that the long press operation on the text 711 reaches a first duration, in response to the long press operation, the electronic device displays prompt information 712 and prompt information 713. For details, see Figure 7A b in.

[0195] Figure 7A bc in FIG. 7 shows the prompt information displayed by the electronic device. Specifically, in response to the long press operation of the first duration on the text 711, the electronic device displays the prompt information 712 provided by the present application and the prompt information 713 provided by the second application.

[0196] In some implementations, since some applications do not provide methods for processing the contents in the control, these applications will not respond to the operation to display the prompt information 712. Different applications may have different response methods, that is, the displayed prompt information 712 may be a pop-up window, a floating window, etc. in addition to a toolbar.

[0197] In some embodiments, the prompt message 713 may have an animated display effect to Figure 7A Taking the aperture shown in b and c in Figure 7A as an example, the aperture may gradually shrink as the pressing duration increases, giving the user a sense of focus, and is used to guide the user to continue long pressing until the aperture disappears after reaching the second duration.

[0198] Figure 7A d in Figure 7A shows a panel including text displayed by the electronic device. Specifically, if the electronic device detects that the long - press operation on the text 711 reaches the second duration, in response to the long - press operation, the electronic device displays a floating panel 714 containing the text 711. Optionally, during the process of the electronic device displaying the panel 714, it can be specifically displayed through an animated effect from large to small. In addition, the electronic device also supports the user to drag the floating panel 714, and during the dragging process, the display form of the panel 714 can also be changed, including changing the display size, content, etc.

[0199] Refer to Figure 7B , Figure 7B which is another schematic diagram of the operation interface for transmitting the selected text provided by the embodiment of the present application.

[0200] Figure 7B e in Figure 7B shows the light band 715 displayed by the electronic device. Specifically, after the electronic device displays the floating panel 714, as the user drags the panel 714, the electronic device can display the light band 715. The light band 715 is used to guide the user to drag the panel 714 to any door hot zone to trigger the opening of the arbitrary door (i.e., start the intelligent transfer service). The light band 715 can be an interface element with attributes such as color, shadow, gradient, graphic filling (such as grid filling, diagonal filling), etc. In some embodiments, the light band 715 can also present a dynamic effect, such as changing the display area, color, etc. For example, the light band can change the display area along with the dragging area of the panel 714, giving the user an operation experience of attracting the floating panel 714. In other embodiments, the light band 715 can also be a region with transparency, so as not to block the interface elements displayed below the light band 715.

[0201] Figure 7BThe f in [description] shows the operation interface of the electronic device for opening any door for transmission. Specifically, when the electronic device detects that the panel 714 is dragged to the light strip 715, the electronic device is triggered to open any door, and a menu bar 716 including icons of one or more candidate applications is displayed in the opened any door. The menu bar 716 may include a favorite icon, a search icon, a share icon, a note icon, an information icon, a shopping icon, a print icon, an email icon, and so on. In addition, when the electronic device detects that the user continues to drag the panel 714 to the icon of any candidate application in the menu bar 716 (for example, the note application icon, which is the target area) and releases it, the electronic device can confirm that the note application is the target object. Subsequently, the electronic device can transmit the text corresponding to the panel 714 (i.e., the target text) to the note application and can also output a corresponding prompt message 717. Not limited to outputting the prompt message 717, in some other embodiments, the electronic device can also display the window provided by the target object or directly jump to the interface provided by the target object.

[0202] In an implementable manner, after the electronic device displays Figure 7A the panel 714 shown in d in [description], and before detecting Figure 7B the operation of dragging the panel 714 shown in e in [description], the user can directly start dragging the panel 714 without releasing the hand after long-pressing the text 711 to trigger the display of the panel 714, or the user can release the hand after long-pressing the text 711 to trigger the display of the panel 714 and start dragging the panel 714 within 3 seconds after releasing the hand. The embodiments of the present application do not limit this. Optionally, the duration for which the panel 714 remains displayed can be other durations in addition to 3 seconds. The embodiments of the present application do not limit this.

[0203] Optionally, after the electronic device displays the panel 714, if it detects an operation of dragging the panel 714 and releasing it in an area other than the icon of the application in any door, the current text transmission is ended, that is, the electronic device closes any door and stops displaying the panel 714. In this way, if the user does not want to transmit the text, this operation can be used to cancel the current text transmission task.

[0204] In the embodiments of the present application, the custom names involved in the foregoing content processing method 4 may also be referred to as other names, specifically including: The application that provides the interface 70 may also be referred to as the first application. The text 711 may also be referred to as the first content, the image control for displaying the text 711 may also be referred to as the first control, the prompt message 712 may also be referred to as the first prompt message, the prompt message 713 may also be referred to as the second prompt message, and the panel 714 may also be referred to as the first panel. The note application may also be referred to as the target object, and the operation of dragging the text 711 to the note application icon and releasing it may also be referred to as the first operation. Among them, the user dragging the panel 714 to the area for triggering the opening of the arbitrary door may also be referred to as the second area, and the area for displaying the light band 715 may also be referred to as the third area, and the third area partially or completely overlaps with the second area.

[0205] Edit the content in the panel

[0206] The foregoing Figures 3A - 7B In the UI embodiment of, after triggering the electronic device to display the panel corresponding to the image and text, only taking the example of directly dragging the panel to the target area and releasing it to share the content in the panel. In addition, after the electronic device floats the panel and before dragging and sharing the panel content, through a second operation on the panel, the electronic device can trigger the display of an editing tool, so as to freely edit the content in the panel by using the editing tool (the content before editing may also be referred to as the first content, and the content after editing may also be referred to as the second content), and then drag the edited content to the target area for sharing.

[0207] Among them, the methods for editing the content in the panel include but are not limited to any one or more of the following;

[0208] (1) First, drag the panel to the editing area, and then input operations such as deleting, selecting, and adding text to the panel; or, perform operations such as scribbling and cropping on the image in the panel. Specifically, taking Figures 3A - 3B as an example, after the electronic device displays Figure 3A the panel 314 shown in c in, an editing icon may also be displayed on the upper layer of the interface 30, and the editing icon is used to instruct the user to continue dragging the panel 314 into the hot area of the editing icon to perform editing processing on the image 311.

[0209] (2) Directly perform operations such as deleting, selecting, and adding text to the panel; or, directly perform operations such as scribbling and cropping on the image in the panel. Specifically, taking Figures 3A - 3B as an example, after the electronic device displays Figure 3A the panel 314 shown in c in, it can also detect the operation on the panel 314 to edit the image 311 therein.

[0210] Other content sharing methods

[0211] The foregoing Figure 3B 、 Figure 4B 、 Figure 5B 、 Figure 6B and Figure 7B Taking only the method of adopting the "intelligent transfer service" as an example, the operation method of transmitting content such as images and texts is introduced. In addition, the electronic device can also transmit the selected text through methods such as the "cross-device transfer service" or the "split-screen transfer service". The operation methods corresponding to the latter two methods are similar to the operation methods described above. The difference is that the panels corresponding to the images and texts need to be dragged to a target area different from the foregoing light band, and the target objects of sharing are also different. Taking the "cross-device transfer service" as an example specifically, the target area can also be the edge area of the local electronic device (this edge area includes, for example, the left edge, right edge, upper edge or lower edge of the display screen of the local device, and the specific edge area depends on the side of the neighboring device close to the local device. This edge area can also be called the fourth area), and the target object is the neighboring device for collaborative processing. Taking the "split-screen transfer service" as an example, the target area can be another split-screen area of the electronic device, and the target object is the object in the other split-screen area.

[0212] Other rules for guiding the user to continue long pressing

[0213] In the foregoing Figures 3A - 7B UI embodiment, whether it is image content or text content, when a long-press operation with a first duration acting on this type of content is detected, the electronic device displays an extended prompt message for guiding the user to continue long pressing. In addition, the present application can also adopt the following rules. In some cases, an extended prompt message for guiding the user to continue long pressing is displayed, and in some other cases, the extended prompt message for guiding the user to continue long pressing is not displayed.

[0214] (1) In an implementable manner, for image content, the second prompt message shown by the foregoing Figures 3A - 6B is required to guide the user to continue to input a long-press operation to trigger the display of a panel including the image, and then subsequent content processing methods. For text content, there is no need to provide the same as the foregoing Figures 3A - 6BThe second prompt message shown. This is because, for the image content provided by most current applications, the native content processing methods provided by the applications include: in response to a long - press operation on the image, displaying a corresponding pop - up window, floating window, or overlay, etc. These prompt messages will all block the image over a large area, and in this case, the user may mistakenly think that the current press operation should be ended. For the text content provided by most current applications, the native content processing methods provided by the applications include: in response to a long - press operation on the text, displaying a corresponding toolbar, etc. These prompt messages do not block the text over a large area and usually do not mislead the user into thinking that they cannot continue the input press operation. Therefore, in the extended content processing method provided in this application, in order to ensure that the user can learn about and adopt the extended content processing function provided in this application, only extended prompt messages are provided for image content.

[0215] (2) In another implementable manner, it can be divided according to the native prompt message corresponding to the content. When the covering area of the native prompt message on the content exceeds a preset value (for example, 70%), the second prompt message (i.e., the extended prompt message) shown as described above is displayed; when the covering area of the native prompt message on the content does not exceed the threshold, the extended prompt message is not displayed. In this way, it can effectively ensure that the user learns about the extended content processing function provided in this application, can guide the user to successfully adopt the extended content processing function provided in this application, and ensure the effectiveness of the extended content processing function. Figures 3A - 6B The second prompt message shown (i.e., the extended prompt message); when the covering area of the native prompt message on the content does not exceed the threshold, the extended prompt message is not displayed. In this way, it can effectively ensure that the user learns about the extended content processing function provided in this application, can guide the user to successfully adopt the extended content processing function provided in this application, and ensure the effectiveness of the extended content processing function.

[0216] Other forms of guiding the user to continue long - pressing

[0217] In the foregoing Figures 3A - 7B UI embodiment, only four prompt messages for guiding the user to continue long - pressing are shown as examples. In addition, this application can also provide other forms of guiding information, such as text prompts, voice prompts, vibration prompts, breathing light prompts, etc. The embodiments of this application do not limit this.

[0218] In summary of the above description, it can be seen that after implementing the method provided in this application, the following beneficial effects are achieved:

[0219] (1) Retain the content processing method of the application itself, and on the premise of having no impact on the existing content processing method of the application, compatibly implement the extended content processing method provided in this application.

[0220] (2) Provide a unified content processing method for users. Specifically, since the content processing methods provided by different applications themselves are different, when the user uniformly processes different applications, the method provided in this application can be used.

[0221] (3) Adapt to a wide range of application scenarios, including but not limited to cross - application transmission, split - screen transmission, and cross - device transmission, etc.

[0222] (4) Provide a more convenient and free content selection method for users, and provide a more convenient and rich content sharing method.

[0223] Based on the introduction of the UI embodiments involved in the content processing method provided in the foregoing, the forms of the electronic devices involved and their software and hardware architectures will be introduced next.

[0224] The electronic device may be a portable terminal device equipped with or other operating systems, such as mobile phones, tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, as well as cellular phones, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, artificial intelligence (AI) devices, wearable devices, in-vehicle devices, smart home devices, and / or smart city devices, etc.

[0225] Figure 8 Shows a schematic structural diagram of the electronic device 100.

[0226] The electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a sensor module 180, a display screen 194, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a touch sensor 180K, etc.

[0227] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0228] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0229] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.

[0230] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0231] In the embodiments of the present application, the processor 110 is used to cooperate with the display screen 194, the touch sensor 180K, etc. to implement the foregoing content processing method.

[0232] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include a universal serial bus (USB) interface, etc.

[0233] The USB interface 130 is an interface that conforms to the USB standard specification. Specifically, it may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used for data transmission between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other electronic devices, such as AR devices, etc.

[0234] It can be understood that the interface connection relationships among the modules illustrated in the embodiments of the present application are only illustrative descriptions and do not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the above embodiments, or a combination of multiple interface connection manners.

[0235] The electronic device 100 implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to execute mathematical and geometric calculations and is used for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change the display information.

[0236] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel may adopt a liquid crystal display (LCD). The display screen panel may also adopt an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniled, a microLed, a micro-oled, a quantum dot light-emitting diode (QLED), etc. for manufacturing. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0237] In the embodiments of the present application, the electronic device may control the display screen 194 to output corresponding feedback information according to the detected operation, and specifically may output including but not limited to Figures 1A - 7B the interface shown in

[0238] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0239] The external memory interface 120 may be used to connect to an external non-volatile memory to implement the storage capacity expansion of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement the data storage function. For example, files such as music and videos are saved in the external non-volatile memory.

[0240] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor may include at least two parallel plates having conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.

[0241] In the embodiments of the present application, the pressure sensor 180A can be used to detect various touch and press operations involved in the foregoing Figures 1A - 7B above.

[0242] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from that of the display screen 194.

[0243] In the embodiments of the present application, the touch sensor 180K is used to detect various touch and press operations involved in the foregoing Figures 1A - 7B above.

[0244] The software system of the electronic device 100 can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In the embodiments of the present application, taking the Android system with a layered architecture as an example, the software structure of the electronic device 100 is exemplarily described.

[0245] Figure 9 is the software structure block diagram of the electronic device 100 in the embodiments of the present application.

[0246] The layered architecture divides software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0247] The application layer may include a series of application packages.

[0248] Such as Figure 9 shown, the application packages may include, but are not limited to, the first application, settings, maps, notes and other applications.

[0249] The first application is a third-party application or a system application installed on the electronic device. In the embodiments of the present application, the system application refers to an application directly provided by the operating system of the electronic device 100 for implementing specific functions. The third-party application refers to an application provided by other developers obtained by the electronic device 100 through the Internet for implementing specific functions. The first application may display the user interface introduced in the previous UI implementation.

[0250] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer includes some predefined functions.

[0251] Such as Figure 9 shown, the application framework layer may include a window manager, a view system, a smart transfer service, a split-screen service, and a cross-device transfer service, etc.

[0252] The view system includes visual controls, such as the controls for displaying text and the controls for displaying images introduced above. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.

[0253] In the embodiments of the present application, the view system is used to build the first application, and thus can display the interface provided by the first application introduced above. The view system can also be used to build various types of panels described Figures 1A - 7B above, and these panels are provided by second applications installed on the electronic device other than the first application.

[0254] "Intelligent Transfer Service" is a system service or system function provided by the electronic device in this application, which can support the electronic device to conveniently transfer content from one application to another. Specifically, the "Intelligent Transfer Service" supports the electronic device to display one or more icons of applications that can be used to receive the content to be transferred on the display screen, and after detecting the operation of dragging the panel / element corresponding to the content to be transferred to the area where any application icon is located and releasing it, the content to be transferred is shared to the corresponding application program.

[0255] "Split-screen Transfer Service" can also be called "Multi-screen Collaboration Service", which can specifically provide the function of sharing the content of the local sub-screen to other sub-screens for collaborative processing.

[0256] "Cross-device Transfer Service" can also be called "Multi-device Collaboration Service", which can specifically provide the function of sharing the content of the local device to other devices for collaborative processing.

[0257] The system library can include multiple functional modules. For example: Surface Manager, Media Libraries, 3D graphics processing library (e.g., OpenGL ES), 2D (two-dimensional) graphics engine (e.g., SGL), etc.

[0258] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.

[0259] It should be understood that each step in the above method embodiments provided by this application can be completed by the integrated logic circuit of the hardware in the processor or the instructions in the form of software. The method steps disclosed in combination with the embodiments of this application can be directly embodied as being executed and completed by the hardware processor, or executed and completed by the combination of the hardware and software modules in the processor.

[0260] This application also provides an electronic device, which may include: a memory and a processor. Among them, the memory can be used to store computer programs; the processor can be used to call the computer programs in the memory so that the electronic device executes the methods in any one of the above embodiments.

[0261] This application also provides a chip system, which includes at least one processor for implementing the functions involved in the methods executed by the electronic device in any one of the above embodiments.

[0262] In a possible design, the chip system further includes a memory, and the memory is used to store program instructions and data, and the memory is located inside or outside the processor.

[0263] This chip system can be composed of chips, or can include chips and other discrete devices.

[0264] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor that implements functions by reading software code stored in a memory.

[0265] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately provided from the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transitory processor, such as a read-only memory (ROM), which may be integrated with the processor on the same chip or may be separately provided on different chips. The embodiments of the present application do not specifically limit the type of the memory and the setting manner of the memory and the processor.

[0266] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processing unit (CPU), a network processor (NP), a digital signal processing circuit (DSP), a micro controller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0267] The present application also provides a computer program product, which includes a computer program (which may also be referred to as code or instruction). When the computer program is run, the computer is caused to execute the method performed by the electronic device in any one of the above embodiments.

[0268] The present application also provides a computer-readable storage medium, which stores a computer program (which may also be referred to as code or instruction). When the computer program is run, the computer is caused to execute the method performed by the electronic device in any one of the above embodiments.

[0269] The various embodiments of the present application may be combined arbitrarily to achieve different technical effects.

[0270] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in this application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state disk SolidStateDisk), etc.

[0271] Those of ordinary skill in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing relevant hardware with a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the above method embodiments. The foregoing storage medium includes various media that can store program codes such as ROM or random access memory RAM, magnetic disks, or optical discs.

[0272] In summary, the above descriptions are only embodiments of the technical solutions of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of the present invention should be included within the protection scope of the present invention.

Claims

1. A content processing method, characterized in that, Applied to an electronic device, the method includes: Displaying a first interface, where the first interface includes first content of a first application; Receiving a pressing operation on the first content; When the pressing operation reaches a first duration, displaying first information of the first application, where the first information includes icons of multiple applications, the icons of the multiple applications include an icon of a second application, the second application is different from the first application, and the first information is used to prompt that the first content can be shared to any one of the multiple applications; After displaying the first information, when the pressing operation exceeds the first duration and reaches a second duration, displaying a first panel, where the area for displaying the first panel includes the area where the pressing operation is received; After displaying the first panel, receiving a dragging operation on the first panel; In response to the first panel being dragged to a first area, displaying a menu bar, where the first area is a hot zone, and the menu bar includes icons of multiple applications, the icons of the multiple applications include an icon of a third application, and the third application is different from the first application and the second application; After displaying the menu bar, continuing to receive the dragging operation on the first panel, and displaying the first panel floating above the icon of the third application, where the pressing operation and the dragging operation are not interrupted; In response to the operation of releasing the first panel above the icon of the third application, the first content is shared to the third application.

2. The method according to claim 1, wherein The first application and the second application are third-party applications, and the third application is a system application or service of the electronic device.

3. The method according to claim 1 or 2, characterized in that, During the process of dragging the first panel, a light band is displayed in a second area.

4. The method according to claim 3, wherein The light band stops being displayed after the menu bar is displayed.

5. The method according to claim 4, characterized in that, The light band is used to indicate that the first panel can be dragged to the first area.

6. The method according to claim 5, characterized in that The light band is an interface element that at least includes color, shadow, or gradient attributes.

7. The method according to claim 5, wherein During the process of dragging the first panel, the light band with its color changed and / or its position changed is displayed within the second area.

8. The method according to any one of claims 4 to 7, characterized in that, The second area partially or completely overlaps with the first area.

9. The method according to claim 1 or 2, characterized in that, In response to the first panel being dragged to the first area, a second interface is also displayed, where when the second interface and the menu bar are displayed, the first interface is not displayed, and the second interface includes second content of the first application, and the information indicated by the first content and the second content is the same.

10. The method according to claim 1 or 2, characterized in that, The first area is an edge area of the screen of the electronic device, where the edge area at least includes a left edge, a right edge, an upper edge, or a lower edge.

11. The method according to claim 1 or 2, characterized in that, The first information is one of a pop-up window, a toolbar, or a floating window.

12. The method according to claim 1 or 2, characterized in that, The method further includes: in response to the operation of releasing the first panel, displaying a window or interface provided by the third application, and displaying the first content in the window or interface provided by the third application.

13. The method according to claim 1 or 2, characterized in that, The first content includes an image and / or text.

14. The method according to claim 13, wherein If the first content includes an image, the first information is displayed at the lower edge of the screen of the electronic device.

15. An electronic device, characterized in that, Comprising one or more processors and one or more memories; wherein, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code includes computer instructions, when the one or more processors execute the computer instructions, the method according to any one of claims 1-14 is caused to be executed.

16. A computer-readable storage medium comprising instructions, characterized in that, When the instructions run on an electronic device, the method according to any one of claims 1-14 is caused to be executed.

Citation Information

Patent Citations

  • Electronic devices with touch input units and their touch input methods

    CN102262465A

  • Method for moving icon and communication terminal

    CN103324404A

  • Screen shot sharing method and device

    CN106598462A

  • Data processing method and device, and mobile terminal

    CN109032465A

  • Information processing method, apparatus, electronic device, and readable storage medium

    CN109471742A