Content processing method, graphical interface and electronic equipment
By displaying the application interface on the electronic device and responding to user operations, users can easily select and share content in the application, solve the problem of inconvenient content selection and sharing in the prior art, and improve the user experience.
Patent Information
- Application Number
- CN202510050939.7
- 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-05-30
AI Technical Summary
The existing technology is difficult to meet the rich content needs of users in convenient selection and sharing applications.
By displaying the application interface on an electronic device and in response to user operations, displaying a panel including text or image, allowing the user to drag the panel to the edit hot zone or target area to select and share content.
It enables users to easily select content they are interested in and share it with the target object, improving the interactive experience between users and devices.
Smart Images

Figure CN120066342A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with the application number 202311832908.4, the application date of December 27, 2023, and the invention creation name of "Content Processing Method, Graphical Interface and Electronic Device", which was 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 graphical interface and an electronic device. Background Art
[0003] Currently, the content provided by various applications is becoming increasingly rich. Users want to conveniently select the content they are interested in for further processing. How to meet the needs of users is an urgent problem to be solved. Summary of the Invention
[0004] This application provides a content processing method, a graphical interface and an electronic device. The electronic device displays the interface of an application, and the interface includes content such as text or images. If an operation on the text is received, a first panel including the text is displayed. If an operation of dragging the first panel to an editing hot zone is further detected, a second panel including the text is displayed, so that the user can select target text from the second panel, and when an operation of dragging the target text to a target area and releasing it is received, the target text is shared with a target object. In this way, a convenient experience of freely selecting the content of interest by the user and sharing it can be provided.
[0005] In a first aspect, this application provides a content processing method, which is applied to an electronic device. The method includes: displaying the interface of a first application, where the interface includes first text; in response to a first operation on the first text, displaying a first panel, where the first panel includes the first text; in response to a second operation on the first panel, displaying the second panel, where the second panel includes the first text and a cursor; in response to an operation on the cursor, target text is selected, where the target text is part or all of the first text.
[0006] After implementing the method provided in the first aspect, a function of freely selecting the content of interest from the application can be provided for the user, thereby supporting the user to perform further processing on the content of interest and meeting the user's needs. Combining with the method described in the first aspect, the first operation is a long-press operation.
[0007] In this way, the user only needs to perform a simple and convenient long-press operation to trigger the content selection function provided by the electronic device, thereby improving the interaction experience between the user and the device.
[0008] In combination with the method described in the first aspect, the second operation is an operation of dragging to the first area of the interface. The first area includes a first icon, which is used to prompt the user to perform text editing. The first area may be located below the screen of the electronic device.
[0009] In this way, by displaying an icon in a specific area, the user can be prompted to drag the panel to the specific area for content selection, and by setting the specific area below the screen of the electronic device, it is convenient for the user to drag the panel into it, thereby enhancing the user's interaction experience.
[0010] In combination with the method described in the first aspect, displaying the first panel includes: displaying the first panel on the upper layer of the interface; after displaying the first panel and before displaying the second panel, the method further includes: displaying the interface on the lower layer of the first panel.
[0011] In this way, the panel displayed on the electronic device is equivalent to floating above the original interface, retaining the content of the original interface to a certain extent and bringing a visual effect that the user can drag the panel, thus enhancing the user's interaction experience with the device.
[0012] In combination with the method described in the first aspect, after displaying the second panel, the method further includes: stopping displaying the first panel.
[0013] In this way, the display of unnecessary elements can be reduced, avoiding interference with the elements that the user is concerned about, and enhancing the interface display effect.
[0014] In combination with the method described in the first aspect, after the target text is selected, the method further includes: in response to a third operation on the target text, displaying a menu bar, where the menu bar includes icons of a second application; in response to a fourth operation on the target text, the target text is shared to the second application. Wherein, the third operation is an operation of dragging to the second area of the interface, and the fourth operation is an operation of continuing to drag to the icon of the second application and releasing.
[0015] In this way, a more convenient and rich content sharing method can be provided for the user. Specifically, the user can share the selected content to the target object by simply dragging the selected content to the target area and releasing.
[0016] In combination with the method described in the first aspect, after the third operation, the method further includes: stopping displaying the second panel.
[0017] In this way, during the process of content sharing, the panel for content selection is no longer displayed, reducing the display of unnecessary elements, avoiding interference with the elements that the user is concerned about, and enhancing the interface display effect.
[0018] For the method described in the first aspect, after the third operation and before the target text is shared to the second application, the method further includes: switching the target text from a first display form to a second display form.
[0019] In this way, by switching the display form of the target text, it can better adapt to the dragged area during the dragging process, improving the interaction experience.
[0020] For the method described in the first aspect, before displaying the menu bar, the method further includes: displaying a light band at a third area.
[0021] In this way, the light band can guide the user to drag the panel to the corresponding area to trigger the opening of the menu bar, improving the interaction experience between the user and the device.
[0022] For the method described in the first aspect, after the target text is selected, the method further includes: in response to a fifth operation on the second panel, displaying a third panel, where the third panel includes the first text; in response to a third operation on the third panel, displaying a menu bar, where the menu bar includes an icon of the second application; in response to a fourth operation on the second panel, all the text in the second panel is shared to the second application. Wherein, the fifth operation is an operation of long pressing on a blank area, the third operation is an operation of dragging to a second area of the interface, and the fourth operation is an operation of continuing to drag to the icon of the second application and releasing.
[0023] In this way, during the stage where the user freely selects content, a convenient operation entry can be provided for the user to share all the content included in the panel. That is, the user does not need to select all the content through the cursor. By simply long pressing on the blank area in the panel, the user can directly and quickly select the entire content for sharing.
[0024] For the method described in the first aspect, after the third operation, the method further includes: stopping the display of the third panel.
[0025] In this way, during the process of content sharing, the panel for selecting content is no longer displayed. This reduction in the display of unnecessary elements avoids interfering with the elements that the user is concerned about, improving the interface display effect.
[0026] For the method described in the first aspect, after the third operation and before all the text in the third panel is shared to the second application, the method further includes: switching the third panel from a third display form to a fourth display form.
[0027] In this way, by switching the display form of all the text, it can better adapt to the dragged area during the dragging process, improving the interaction experience.
[0028] For the method described in the first aspect, before displaying the menu bar, the method further includes: displaying a light band at the fourth area.
[0029] In this way, the light band can guide the user to drag the panel to the corresponding area to trigger the opening of the menu bar, improving the user experience of interacting with the device.
[0030] For the method described in the first aspect, the first text is displayed in an uneditable control provided by the first application. The first panel and the second panel are provided by one of an application, a service, or a component other than the first application.
[0031] In this way, for some applications that do not support the user to select the content therein, or for different applications that provide different content selection methods, etc., through the content selection method provided in this application, a unified content processing method can be brought to the user, meeting the user's needs and improving the user experience.
[0032] For the method described in the first aspect, after the first operation and before displaying the first panel, the method further includes: taking a screenshot to obtain the first text.
[0033] In a second aspect, the present application provides a content processing method, which is applied to an electronic device. The method includes: displaying an interface of a first application, where the interface includes a first text; in response to a first operation on the first text, displaying a first panel, where the first panel includes the first text; in response to a third operation on the first panel, displaying a menu bar, where the menu bar includes icons of a second application; in response to a fourth operation on the first panel, the first text is shared to the second application.
[0034] After implementing the method provided in the second aspect, before freely selecting content, a convenient operation entry can be provided for the user to share all the content included in the panel. That is, the user does not need to trigger the selection of content, and only by simply dragging the panel to the area to be shared, the entire content can be directly and quickly selected for sharing.
[0035] In a third aspect, the present application provides a content processing method, which is applied to an electronic device. The method includes: displaying an interface of a first application, where the interface includes a first text; in response to a first operation on the first text, displaying a first panel, where the first panel includes the first text; in response to an eleventh operation on the first panel, displaying a cursor in the first panel; in response to an operation on the cursor, the target text is selected, where the target text is part or all of the first text.
[0036] After implementing the method provided in the third aspect, a function can be provided for users to freely select the content they are interested in from an application, thereby supporting users to perform further processing on the content they are interested in and meeting the needs of users.
[0037] In a fourth aspect, the present application provides a content processing method, which is applied to an electronic device. The method includes: displaying an interface of a first application, the interface including a first text; in response to a first operation on the first text, displaying a first panel, wherein the first panel includes the first text and a cursor, and the first text is in a fully selected state; in response to an operation on the cursor, the target text is selected, wherein the target text is part or all of the first text.
[0038] After implementing the method provided in the fourth aspect, a function can be provided for users to freely select the content they are interested in from an application, thereby supporting users to perform further processing on the content they are interested in and meeting the needs of users.
[0039] In a fifth aspect, the present application provides a content processing method, which is applied to an electronic device. The method includes: displaying an interface of a first application, the interface including a first text; in response to a first operation on the first text, displaying a first panel, wherein the first panel includes the first text and a cursor, and a part of the first text is in a selected state; in response to an operation on the cursor, the target text is selected, wherein the target text is part or all of the first text.
[0040] After implementing the method provided in the fifth aspect, a function can be provided for users to freely select the content they are interested in from an application, thereby supporting users to perform further processing on the content they are interested in and meeting the needs of users.
[0041] In a sixth 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 executed.
[0042] In a seventh aspect, the present application provides a computer-readable storage medium, including instructions. When the instructions run on an electronic device, the method described in any one of the first aspect or the second aspect is executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figures 1A - 1C Schematic diagrams of display interfaces for several text-based controls provided for the application;
[0044] Figures 2A - 2B Schematic diagrams of display interfaces for several image controls provided for an application;
[0045] Figure 3A Schematic diagrams of an operation interface for freely selecting text provided by an embodiment of the present application;
[0046] Figure 3B Schematic diagrams of an operation interface for transmitting freely selected text provided by an embodiment of the present application;
[0047] Figure 3C Schematic diagrams of an operation interface for selecting all text provided by an embodiment of the present application;
[0048] Figure 3D Schematic diagrams of an operation interface for transmitting all selected text provided by an embodiment of the present application;
[0049] Figure 4A Another set of schematic diagrams of an operation interface for freely selecting text provided by an embodiment of the present application;
[0050] Figure 4B Another set of schematic diagrams of an operation interface for transmitting freely selected text provided by an embodiment of the present application;
[0051] Figure 4C Another set of schematic diagrams of an operation interface for selecting all text provided by an embodiment of the present application;
[0052] Figure 4D Another set of schematic diagrams of an operation interface for transmitting all selected text provided by an embodiment of the present application;
[0053] Figure 4E Another set of schematic diagrams of an operation interface for selecting all text provided by an embodiment of the present application;
[0054] Figure 4F Another set of schematic diagrams of an operation interface for transmitting all selected text provided by an embodiment of the present application;
[0055] Figure 5A Another set of schematic diagrams of an operation interface for freely selecting text provided by an embodiment of the present application;
[0056] Figure 5B Another set of schematic diagrams of an operation interface for transmitting freely selected text provided by an embodiment of the present application;
[0057] Figure 5C Another set of schematic diagrams of an operation interface for selecting all text provided by an embodiment of the present application;
[0058] Figure 5D Another set of schematic diagrams of an operation interface for transmitting all selected text provided by an embodiment of the present application;
[0059] Figure 6A Another schematic diagram of the operation interface for freely selecting text provided by an embodiment of the present application;
[0060] Figure 6B Another schematic diagram of the operation interface for transmitting freely selected text provided by an embodiment of the present application;
[0061] Figure 6C Another schematic diagram of the operation interface for selecting all text provided by an embodiment of the present application;
[0062] Figure 6D Another schematic diagram of the operation interface for transmitting all selected text provided by an embodiment of the present application;
[0063] Figure 7A A schematic diagram of the operation interface for freely editing images provided by an embodiment of the present application;
[0064] Figure 7B A schematic diagram of the operation interface for transmitting freely edited images provided by an embodiment of the present application;
[0065] Figure 7C A schematic diagram of the operation interface for selecting images provided by an embodiment of the present application;
[0066] Figure 7D A schematic diagram of the operation interface for directly transmitting the selected images provided by an embodiment of the present application;
[0067] Figure 8 A schematic diagram of the hardware architecture of the electronic device provided by an embodiment of the present application;
[0068] Figure 9 A schematic diagram of the software of the electronic device provided by an embodiment of the present application. Detailed implementation manners
[0069] 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 only a description of the association relationship of the 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.
[0070] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the 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.
[0071] References to "embodiments" in this application mean that the specific features, structures, or characteristics described in connection with the embodiments can be included in at least one embodiment of this application. The phrase appears in various places in the specification and 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 this application can be combined with other embodiments.
[0072] In the following embodiments of this application, the term "user interface (UI)" is a media interface for interaction and information exchange between an application or an operating system and a user, which 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 a specific computer language such as Java, Extensible Markup Language (XML), etc. The interface code is parsed and rendered on an electronic device and finally presented as content that can be recognized by the user. The common form of presentation of the user interface is the graphical user interface (GUI), which refers to the user interface related to computer operations presented in a graphical manner. It can be visible interface elements such as controls, text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. displayed on the display screen of an electronic device.
[0073] Currently, applications (also known as apps) are all provided with controls and display content such as text and images through these controls.
[0074] Controls can be divided into two types: those that support selecting the content they display, and those that do not support selecting the content they display. Taking specific control types such as WebView, TextView, EditText, and ImageView as examples, controls of types such as WebView and EditText usually support users to select the content they display for operations such as copying and searching. While controls of types such as TextView and ImageView usually do not support users to select the content they display and thus cannot perform other operations further.
[0075] Optionally, there is no such strong binding correspondence between the control type and whether it supports selection. During the development of an application, developers can also customize some properties of various controls in the application to set whether the control type supports editing. For example, defining the textIsSelectable property in TextView as true can enable the selection of the content displayed in TextView controls, so as to implement functions such as copying. Another example is to define the editable property in EditText as false, which can prohibit the selection of the content displayed in EditText controls. Similarly, corresponding properties in ImageView can also be defined to set the editability of the content displayed in ImageView.
[0076] Reference Figures 1A - 1C , Figures 1A - 1C Exemplarily, several schematic diagrams of the display interfaces for handling text controls are shown.
[0077] Figure 1A A schematic diagram of the display interface of a text control that does not support selection is shown.
[0078] As Figure 1A shown, the control 111 included in the application is a text control that does not support selection. Specifically, although there is text content displayed in the control 111, after the user inputs an operation such as a long press to this control 111, the application will not make any response, that is, it will not trigger the selection of the content in the control 111.
[0079] Figure 1B A schematic diagram of the display interface of a text control that only supports full selection is shown.
[0080] As Figure 1B shown, the control 112 included in the application is a text control that only supports full selection. Specifically, although there is text content displayed in the control 112, after the user inputs an operation such as a long press to this control 112, the application will default to selecting all the content in the control 112 and pop up a toolbar 113 for handling the content in the control 112. The toolbar 113 can include various tool options, such as copy, forward, favorite, and search, etc.
[0081] Figure 1C A schematic diagram of the display interface of a text control that supports free selection is shown.
[0082] As Figure 1CAs shown, the control 114 included in the application is a text control that supports free selection. Specifically, text content is displayed in the control 114. After the user inputs an operation such as a long press to this control 114, the application displays the cursors 115A and 115B for sliding to select the text content, as well as pops up a toolbar 116 for processing the selected content. The toolbar 116 can include various tool options, such as copy, select all, and search, etc.
[0083] Reference Figures 2A - 2B , Figures 2A - 2B Exemplarily shows several schematic diagrams of the display interfaces for processing image controls.
[0084] Figure 2A Shows a schematic diagram of the display interface of an image control that does not support selection.
[0085] As Figure 2A shown, the control 211 included in the application is an image control that does not support selection. Specifically, although image content is displayed in the control 211, after the user inputs an operation such as a long press to this control 211, the application does not respond, that is, it does not trigger the selection of the image in the control 211.
[0086] Figure 2B Shows a schematic diagram of the display interface of an image control that supports selection.
[0087] As Figure 2B shown, the control 212 included in the application is an image control that supports selection. Specifically, image content is displayed in the control 212. After the user inputs an operation such as a long press to this control 212, the application then defaults to selecting the image in the control 212 and pops up a window 213 for processing the content in the control 212. The window 213 can include various processing options, such as sharing to different applications, saving, viewing the original image, etc.
[0088] By analyzing the layout of controls in different applications, 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 processing methods provided by different applications are not the same. And users often need to select the content they are interested in, as well as perform unified processing on the content selected from different applications.
[0089] To solve the above problems, the present application provides a content processing method, a graphical interface and an electronic device, which can support a user to freely select the content provided by an application and can provide a unified and rich processing method for the content in different applications. The method includes: displaying an interface of an application, where the interface includes content such as text or an image. If an operation on the text is received, a first panel including the text is displayed. If an operation of dragging the first panel to an editing hot zone is further detected, a second panel including the text is displayed, so that the user can select target text from the second panel, and when an operation of dragging the target text to a target area and releasing it is received, the target text is shared with a target object. In addition, if it is detected that the first panel is dragged to a target area and released, or if it is detected that a blank space is pressed in an editing panel and then a third panel including the text is dragged to a target area and released, the text is shared with the target object. In addition, if an operation on the image is received, a fourth panel including the image is displayed, and if it is further detected that the fourth panel is dragged to a target area and released, the image is shared with the target object.
[0090] Optionally, the present application also provides another content processing method, a graphical interface and an electronic device. The method includes: displaying an interface of an application, where the interface includes content such as text or an image. If an operation on the text is received, a first panel including the text is displayed, and the text in the first panel is default not selected at all. If an operation of selecting target text from the first panel (different from the implementation plan) is further received, and an operation of dragging the target text to a target area and releasing it is also received, the target text is shared with a target object. In addition, if it is detected that the first panel is dragged to a target area and released, or if it is detected that a blank space is pressed in the first panel and then a third panel including the text is dragged to a target area and released, the text is shared with the target object. In addition, if an operation on the image is received, a fourth panel including the image is displayed, and if it is further detected that the fourth panel is dragged to a target area and released, the image is shared with the target object.
[0091] Optionally, the present application also provides another content processing method, graphical interface and electronic device. The method includes: displaying an interface of an application, the interface including content such as text or images. If an operation on the text is received, a first panel including the text is displayed, and the text in the first panel is default selected in full. If an operation of selecting target text from the first panel (different from the implementation plan) is further received, and an operation of dragging the target text to a target area and releasing it is further received, the target text is shared with the target object. In addition, if it is detected that the first panel is dragged to the target area and released, or if it is detected that a blank space in the first panel is pressed and then a third panel including the text is dragged to the target area and released, the text is shared with the target object. In addition, if an operation on the image is received, a fourth panel including the image is displayed, and if it is further detected that the fourth panel is dragged to the target area and released, the image is shared with the target object.
[0092] Optionally, the present application also provides another content processing method, graphical interface and electronic device. The method includes: displaying an interface of an application, the interface including content such as text or images. If an operation on the text is received, a first panel including the text is displayed, and the text in the first panel is default partially selected. If an operation of selecting target text from the first panel (different from the implementation plan) is further received, and an operation of dragging the target text to a target area and releasing it is further received, the target text is shared with the target object. In addition, if it is detected that the first panel is dragged to the target area and released, or if it is detected that a blank space in the first panel is pressed and then a third panel including the text is dragged to the target area and released, the text is shared with the target object. In addition, if an operation on the image is received, a fourth panel including the image is displayed, and if it is further detected that the fourth panel is dragged to the target area and released, the image is shared with the target object.
[0093] After implementing the method provided by the present application, the following effects can be brought:
[0094] (1) Provide a more convenient and free content selection method for users. Specifically, users can directly and quickly select the entire content only by a long-press operation according to their needs, or select the content of interest from the entire content after a long-press according to their needs.
[0095] (2) Provide a more convenient and rich content sharing method for users. Specifically, users can share the selected content with the target object only by dragging the selected content to the target area.
[0096] (3) Provide a unified and rich content processing method for the content of different applications. Specifically, users can share the content of different applications with the target object, which can be the applications, devices, split screens, etc. mentioned later.
[0097] Editing hot zone
[0098] The editing 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. The corresponding interaction methods of the editing hot zone include, for example, the operation of dragging a draggable element to the editing hot zone and then releasing it. The events triggered by this interaction method include, for example, triggering the electronic device to display an editing panel, and this editing panel can support the user to edit the text therein. The editing hot zone mentioned 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 are detailed in the embodiments of this application.
[0099] Content selection
[0100] The target text in the display panel, drag panel, and selection panel involved in the context of this application can be specifically provided by the "content selection" function, and this "content selection" function can be provided by any one of the system-level / third-party applications, services, or components. The name of the "content selection" function is only an example, and the embodiments of this application do not limit its name. All the specific functions it provides are detailed in this application.
[0101] Content sharing
[0102] The content sharing involved in the context of this application can be specifically provided by the "intelligent transfer service", "cross-device transmission service", or "split-screen transmission service", etc.
[0103] 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.
[0104] The "cross-device transmission service" can also be called the "multi-device collaboration service", and can specifically provide the function of sharing the content in this device to other devices for collaborative processing.
[0105] The "split-screen transmission service" can also be called the "multi-screen collaboration service", and can specifically provide the function of sharing the content in this sub-screen to other sub-screens for collaborative processing.
[0106] 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. All the specific functions they provide are detailed in this application.
[0107] In the embodiments of the present 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 the mutual coupling of two sub-functional modules. The embodiments of the present application do not limit this.
[0108] In the embodiments of the present application, in order to protect the intellectual property rights of users and provide users with an immersive gaming experience, the applications that can perform the aforementioned "content selection" and "content sharing" include system applications or third-party applications other than the following applications: literature providing applications, gaming applications. The embodiments of the present application do not specifically limit the applications that cannot perform the aforementioned "content selection" and "content sharing", and they can be adjusted according to actual needs.
[0109] Next, taking text content and image content as examples respectively, several groups of user interfaces provided in the accompanying drawings are used to introduce in detail the content processing method provided by the present application.
[0110] For text content, the present application provides a total of four processing methods, specifically referring to the detailed description below.
[0111] 1. Figures 3A - 3D It is the operation interface involved in adopting the first text content processing method.
[0112] In text content processing method 1, the user can drag the floating panel to the editing hot zone to further freely select text through the editing panel, and then drag the freely selected text to the target area to share it with the target object. Or, the user can also directly drag the floating panel to the target area to share it with the target object.
[0113] (1) In text content processing method 1, for the floating panel and when the text contained in the panel is in a completely unselected state, the user can drag the panel to the editing hot zone to further freely select text through the editing panel, and then drag the freely selected text to the target area to share it with the target object. For specific details, refer to the following description of Figures 3A - 3B .
[0114] (2) In text content processing method 1, for the floating panel and when the text contained in the panel is in a completely unselected state, the user can also directly drag the panel to the target area to share it with the target object. For specific details, refer to the following description of Figures 3C - 3D .
[0115] Refer to Figure 3A , Figure 3A which is a schematic diagram of the operation interface for freely selecting text provided by the embodiments of the present application.
[0116] Figure 3A In a, an interface 30 of an electronic device for displaying an application is shown. Specifically, the interface 30 includes a text 311, and the text 311 can be displayed through a text control provided by the application. The interface 30 of the application can specifically be an interface provided by a system-level application or a third-party application, and the embodiments of the present application do not limit this. If the electronic device detects a long-press operation on the text 311, in response to this long-press operation, the electronic device displays a panel. Specifically, see Figure 3A b in
[0117] Figure 3A In b, a panel 312 displayed by the electronic device is shown. Specifically, in response to a long-press operation on the text 311, the electronic device displays the panel 312 and an icon 313 on the upper layer of the interface 30. The panel 312 contains the text 311, and the process of displaying the panel 312 brings a floating visual experience to the user, that is, the panel 312 is equivalent to a floating interface element. In some embodiments, the panel 312 can also be implemented as a text control containing the text 311, or an image control such as a preview image or thumbnail containing the text 311. In some embodiments, after detecting a long-press operation on the text 311, the electronic device can obtain the text 311 by taking a screenshot, and then display the panel 312 including the text 311. In some embodiments, after the panel 312 is displayed, if it is detected that the user ends the long-press operation (i.e., the user's hand leaves), the panel 312 can disappear after continuously displaying for a preset duration (such as 3 s); if it is detected that the user does not leave the hand and drags the panel 312, or it is detected that the panel 312 is dragged within a preset duration (such as 3 s) after leaving the hand, the panel 312 will move the display area along with the user's dragging trajectory.
[0118] Figure 3A In c, an operation interface when the electronic device displays and drags the panel 312 is shown. Specifically, during the process of detecting the operation of dragging the panel 312, the electronic device also displays an icon 313, and the icon 313 is used to instruct the user to continue dragging the panel 312 into the hot area of the icon 313 to perform an editing process on the text 311.
[0119] Figure 3AThe d in [the figure] shows the editing panel 314 displayed by the electronic device. Specifically, upon detecting an operation of dragging the panel 312 to the hot zone of the icon 313, the electronic device displays the editing panel 314 and stops displaying the panel 312. The editing panel 314 includes text 311, cursor 315A, and cursor 315B. The text between the cursor 315A and cursor 315B is the selected text. In the initially displayed editing panel 314 by default, the text between the cursor 315A and cursor 315B can be default selected or otherwise. The user can adjust the selected target text by sliding the cursor 315A and cursor 315B. In some embodiments, the electronic device can also detect other editing operations input by the user in the editing panel 314, such as deletion, writing, etc. The embodiments of the present application do not limit this.
[0120] Reference Figure 3B , Figure 3B is a schematic diagram of an operation interface for transmitting freely selected text provided by an embodiment of the present application.
[0121] Figure 3B The e in [the figure] shows the operation interface when the electronic device displays and freely selects text through the editing panel 314. Specifically, the electronic device can adjust the selection state of the text from the text 311 in the editing panel 314 according to the detected operation of sliding the cursor 315A and / or 315B in the editing panel 314. The text in the selected state is the target text described in the present application.
[0122] Figure 3B The f in [the figure] shows the operation interface for triggering the dragging of the target text displayed by the electronic device. Specifically, upon detecting a long - press operation on the target text in the editing panel 314, the electronic device can display a floating panel 316 corresponding to the target text. The panel 316 can be displayed above the target text in the editing panel 314. The panel 316 includes the target text. Optionally, when the content of the target text is relatively long, a partial target text can be displayed in the panel 316, such as the first sentence of the target text, or an abstract of the target text, etc. In some embodiments, the panel 316 can also be implemented as a text - type control of the target text, or an image - type control such as a preview image or thumbnail of the target text.
[0123] Figure 3BThe g in [description] shows the light band 317 displayed by the electronic device. Specifically, after the electronic device displays the floating panel 316, as the user drags the panel 316, the electronic device can display the light band 317, which is used to guide the user to drag the panel 316 to any door hot zone to trigger the opening of any door (i.e., enable the intelligent transfer service). The light band 317 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 317 can also present a dynamic effect, such as changing the display area, color, etc. For example, the light band can change the display area according to the dragging area of the panel 316, bringing the user an operation experience of attracting the floating panel 316. In other embodiments, the light band 317 can also be a transparent area, so as not to block the interface elements displayed under the light band 317.
[0124] Figure 3B The h in [description] shows the operation interface for opening any door and performing transmission displayed by the electronic device. Specifically, when the electronic device detects that the panel 316 is dragged to the light band 317, it triggers the electronic device to open any door, and a menu bar 318 including icons of one or more candidate applications is displayed in the opened any door. The menu bar 318 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, etc. In addition, when the electronic device detects that the user continues to drag the panel 316 to the icon of any candidate application (such as the note application icon, i.e., the target area) in the menu bar 318 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 316 (i.e., the target text) to the note application and can also output a corresponding prompt message 319. Not limited to outputting the prompt message 319, 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.
[0125] Among them, the favorite application corresponding to the favorite icon in the menu bar 318 can be a system application, providing a global system favorite function. The note application corresponding to the note icon can be a system application or a third-party application, which can provide functions such as in-application recording and favoriting. The candidate applications are application programs screened by the electronic device from all installed application programs that support receiving the data to be transmitted. The electronic device can determine the candidate applications according to the information type, semantic information, etc. of the data to be transmitted. The candidate applications can include global applications that support receiving any type of data (such as favorite applications, search applications, share applications, email applications, etc.), and can also include applications that only support receiving some types of data (such as a picture editing application that only supports receiving pictures, a navigation application that only supports receiving text, etc.). Different data to be transmitted can correspond to different menu bars.
[0126] Continuing to refer to Figure 3B f, g, and h in [reference], during the process of dragging the panel 316, the display form of the panel 316 will switch, including switching the display size and / or display content, etc. For example, when dragging the panel 316 from the initial position towards the light band 317, the size of the panel 316 will change from Figure 3B f in [reference] shrinks to Figure 3B the size shown by g in [reference]; for another example, when dragging the panel 316 to the light band area, the size of the panel 316 will further shrink from Figure 3B g in [reference] to Figure 3B the size shown by h in [reference], and the text contained will also change from Figure 3B the content shown by g in [reference] to Figure 3B the content shown by h in [reference]. The embodiments of the present application do not specifically limit the changes in the display form of the panel 316 during the dragging process.
[0127] Continuing to refer to Figure 3B h in [reference], while the electronic device is displaying the menu bar 318 containing the icons of candidate applications, the electronic device can adjust the original foreground user interface to a right perspective style, vividly forming an "opening door" animation effect with the above-mentioned menu bar 318. The foreground user interface can refer to the interface composed of other content displayed on the display screen excluding the status bar, or it can refer to all the content including the status bar displayed on the display screen. The embodiments of the present application do not limit this.
[0128] Referring to Figure 3C , Figure 3C is a schematic diagram of an operation interface for a group of select-all text provided by an embodiment of the present application.
[0129] Figure 3C a and b in [reference] show that by performing a long-press operation on the text 311, the electronic device is triggered to display the panel 312, which includes all the content in the text 311. Figure 3C a and b in [reference] are the same as a and b in the previous Figure 3A reference, and specifically, reference can be made to the introduction of a and b in the previous Figure 3A reference, which will not be elaborated here.
[0130] Referring to Figure 3D , Figure 3D is a schematic diagram of an operation interface for a group of transmitting select-all text provided by an embodiment of the present application.
[0131] Figure 3D c and d in [reference] show that the panel 312 is dragged to the target area in any door and released to transmit all the text. Figure 3D c and d in [reference] are the same as the previous Figure 3BThe g and h in the figure are similar, the difference is that the content of dragging and sharing is different. Here, it is all the text in the dragging and sharing panel 312, and the content of the aforementioned dragging and sharing is only part of the content in the panel 312. For other similarities, please refer to the previous description of Figure 3B The introduction of g and h in will not be repeated here.
[0132] In one practicable manner, the electronic device displays Figure 3C After the panel 312 shown in b, and after detecting Figure 3D Before the operation of dragging the panel 312 shown in c, the user can start dragging the panel 312 without releasing the hand after long pressing the text 311 to trigger the display panel 312, or the user can release the hand after long pressing the text 311 to trigger the display panel 312, and start dragging the panel 312 within 3 seconds after releasing the hand, which is not limited in the embodiment of the present application. Optionally, the duration of the panel 312 remaining displayed can be other than 3 seconds, which is not limited in the embodiment of the present application.
[0133] Other ways to share content
[0134] The foregoing Figure 3B and Figure 3D We will only use the "smart transfer service" as an example to introduce the operation method of transferring selected text. In addition, electronic devices can also transfer selected text through "cross-device transfer service" or "split-screen transfer service". The operation methods corresponding to the latter two methods are the same as those described above. Figure 3B The operation method shown is similar, the difference is that the panel 316 corresponding to the selected content needs to be dragged to a target area different from the aforementioned light band 317 to be released, and the target object of sharing is also different. Specifically, taking the "cross-device transmission service" as an example, the target area can also be the edge area of the local electronic device (the 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), and the target object is the neighboring device for collaborative processing. Taking the "split-screen transmission 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.
[0135] In the embodiment of the present application, the custom name involved in the aforementioned text content processing method 1 may also be called other names, as follows:
[0136] The application providing the interface 30 may also be referred to as a first application.
[0137] The text 311 can also be referred to as the first text, the text control for displaying the text 311 can also be referred to as the first control, and the long - press operation on the text 311 can also be referred to as the first operation. In the embodiments of the present application, in addition to the long - press operation, the first operation can also be other types of operations, and the embodiments of the present application do not limit this.
[0138] The panel 312 is also called the first panel, the icon 313 is also called the first icon, the display area of the icon 313 is also called the first area, the operation of dragging the panel 312 to the icon 313 can also be called the second operation, the operation of directly dragging the panel 312 to the light strip 317 can also be called the third operation, and the operation of dragging the panel 312 to the note application in the menu bar 318 and releasing it can also be called the fourth operation.
[0139] The editing panel 314 is also called the second panel, the area where the light strip 317 is located can also be called the second area, and the operation of dragging the target text in the second panel to the light strip 317 can also be called the third operation.
[0140] The note application in the menu bar 318 can also be called the second application, and the operation of dragging the target text to the icon of the handwriting application and releasing it can also be called the fourth operation.
[0141] The long - press operation on the blank area in the editing panel can also be called the fifth operation. In addition to the long - press operation, the fifth operation can also be other types of operations, such as a click operation, etc., and the present application does not limit this.
[0142] The panel 316 is also called the third panel, the operation of dragging the panel 316 to the menu bar 318 can also be called the third operation, and the operation of dragging the panel 316 to the note application in the menu bar 318 and then releasing it can also be called the fourth operation.
[0143] 2. Figures 4A - 4F It is the operation interface involved in adopting the second text - type content processing method.
[0144] (1) In the text - type content processing method 2, for the floating panel, and when the text contained in the panel is in a completely unselected state, the user can perform an editing operation on the panel to further freely select text through the panel, and then drag the freely selected text to the target area to share it with the target object. For specific details, see the following description of Figures 4A - 4B this.
[0145] (2) In the text - type content processing method 2, for the floating panel, and when the text contained in the panel is in a completely unselected state, the user can also directly drag the panel to the target area to share it with the target object. For specific details, see the following description of Figures 4C - 4D this.
[0146] (3) In the text content processing method 2, for the panel that supports free text selection, the user can also trigger the display of a new panel by pressing on the blank area of the panel. The text contained in the new panel is in a completely unselected state. Then, drag the new panel to the target area to share it with the target object. For specific details, refer to the description of Figures 4E - 4F below.
[0147] Refer to Figure 4A , Figure 4A which is another schematic diagram of the operation interface for free text selection provided by the embodiments of the present application.
[0148] Figure 4A In a, it shows the interface 40 of the application displayed on the electronic device. Specifically, the interface 40 includes text 411, which can be displayed through the text control provided by the application. The interface 40 of the application can specifically be the interface provided by a system-level application or a third-party application. The embodiments of the present application do not limit this. If the electronic device detects a long-press operation on the text 411, in response to this long-press operation, the electronic device will display a panel. For specific details, refer to Figure 4A b in
[0149] Figure 4A In b, it shows the panel 412 displayed by the electronic device. Specifically, in response to the long-press operation on the text 411, the electronic device will display the panel 412 on the upper layer of the interface 40. The panel 412 contains the text 411, and the process of displaying the panel 412 brings a floating visual experience to the user, that is, the panel 412 is equivalent to a floating interface element. In some embodiments, the panel 412 can also be implemented as a text control containing the text 411, or an image control such as a preview or thumbnail containing the text 411. In some embodiments, after the panel 412 is displayed, if it is detected that the user ends the long-press operation (i.e., the user's hand leaves), the panel 412 can disappear after continuously displaying for a preset duration (e.g., 3s); if it is detected that the user does not leave and drags the panel 412, or it is detected that the panel 412 is dragged within the preset duration (e.g., 3s) after leaving, the panel 412 will move its display area along with the user's dragging trajectory.
[0150] Figure 4AIn c, an operation interface for triggering free selection of target text is shown. Specifically, when a long-press operation on the drag panel 412 is detected, the electronic device displays the cursor 413A and the cursor 413B. The text between the cursor 413A and the cursor 413B is the selected text, and the text between the cursor 413A and the cursor 413B can be defaulted to the text corresponding to the position where the user inputs the long-press operation. The user can adjust the selected target text by sliding the cursor 413A and the cursor 413B. In some embodiments, the electronic device can also detect other editing operations input by the user in the panel 412, such as deletion, writing, etc., and the embodiments of the present application do not limit this.
[0151] Figure 4A In d, an operation interface for the electronic device to display free selection of text through the panel 412 is shown. Specifically, the electronic device can adjust the selection state of the text from the text 411 of the panel 412 according to the detected operation of sliding the cursor 413A and / or 413B in the panel 412. The text in the selected state is the target text described in the present application.
[0152] Reference Figure 4B , Figure 4B is a schematic diagram of another group of operation interfaces for transmitting free selection of text provided by the embodiments of the present application.
[0153] Figure 4B In e, an operation interface for the electronic device to display triggering the dragging of the target text is shown. Specifically, when a long-press operation on the target text is detected, the electronic device can display the floating panel 414 corresponding to the target text. During the process of displaying the panel 414, the panel 412 stops displaying, but the original text 411 in the interface 40 does not stop displaying, thus bringing the user a visual effect that the text other than the target text in the panel 412 sinks from the panel 412. The panel 414 can be located at the touch point position on the display screen when the user inputs the long-press operation. The panel 414 includes the target text. Optionally, when the content of the target text is relatively large, part of the target text can be displayed in the panel 414, such as the first sentence of the target text, or the abstract of the target text, etc. In some embodiments, the panel 414 can also be implemented as a text control of the target text, or an image control such as a preview image or a thumbnail of the target text.
[0154] Figure 4BIn f and g, the operation interface for dragging the target text to the arbitrary door hot zone displayed on the electronic device is shown. Specifically, after the electronic device displays the floating panel 414, as the user drags the panel 414, the electronic device can display a light band 415, which is used to guide the user to drag the panel 414 to the arbitrary door hot zone to trigger the opening of the arbitrary door (i.e., start the intelligent transfer service). The light band 415 can be an interface element with attributes such as color, shadow, gradient, graphic fill (such as grid fill, diagonal fill), etc. In some embodiments, the light band 415 can also present dynamic effects, such as changing the display area, color, etc. For example, the light band can change the display area according to the dragging area of the panel 414, bringing the user an operation experience of attracting the floating panel 414. In some embodiments, during the process of dragging the panel 414, the display form of the panel 414 will switch, including switching the display size and / or display content, etc. For example, when dragging the panel 414 from the initial position towards the light band 415, the size of the panel 414 will shrink from Figure 4B shown in f in Figure 4B to the size shown in g in Figure 4B shown in f in Figure 4B to the content shown in g in
[0155] Figure 4B In h, the operation interface for opening the arbitrary door for transmission displayed on the electronic device is shown. Specifically, when the electronic device detects that the panel 414 is dragged to the light band 415, it triggers the electronic device to open the 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 can 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, etc. 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 (such as the note application icon, i.e., 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 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.
[0156] Continue to refer to Figure 4BFor the "h" in [description], the favorite application corresponding to the favorite icon in the menu bar 416 can be a system application, providing a global system favorite function. The note application corresponding to the note icon can be a system application or a third-party application, which can provide functions such as in-application recording and favoriting. The candidate applications are application programs filtered by the electronic device from all installed application programs that support receiving data to be transmitted. The electronic device can determine the candidate applications according to the information type, semantic information, etc. of the data to be transmitted. The candidate applications can include global applications that support receiving any type of data (such as favorite applications, search applications, sharing applications, email applications, etc.), and can also include applications that only support receiving some types of data (such as a picture editing application that only supports receiving pictures, a navigation application that only supports receiving text, etc.). Different data to be transmitted can correspond to different menu bars.
[0157] Continue to refer to Figure 4B For the "h" in [description], while the electronic device displays the menu bar 416 containing the icons of the candidate applications, the electronic device can adjust the original foreground user interface to a right perspective style, vividly forming an "opening door" animation effect with the above-mentioned menu bar 416. The foreground user interface can refer to the interface composed of other contents displayed on the display screen excluding the status bar, or can also refer to all the contents including the status bar displayed on the display screen. The embodiments of the present application do not limit this.
[0158] Refer to Figure 4C , Figure 4C This is another schematic diagram of the operation interface for selecting all text provided by the embodiments of the present application.
[0159] Figure 4C In [description], "a" and "b" show that by performing a long-press operation on the text 411, the display panel 412 of the electronic device is triggered, and the panel 412 includes all the content in the text 411. Figure 4C "a" and "b" in [description] are the same as "a" and "b" in the previous Figure 4A "a" and "b" in [description], and specifically, reference can be made to the introduction of "a" and "b" in the previous Figure 4A "a" and "b" in [description], and details are not repeated here.
[0160] Refer to Figure 4D , Figure 4D This is another schematic diagram of the operation interface for transmitting all selected text provided by the embodiments of the present application.
[0161] Figure 4D In [description], "c" and "d" show that the panel 412 is dragged to the target area in any door and released to transmit all the text. Figure 4D "c" and "d" in [description] are the same as "c" and "d" in the previous Figure 4Bg and h in [reference] are similar, and the difference lies in the content dragged and shared. Here, it is all the text in the drag-and-share panel 412, while the content dragged and shared mentioned above is only part of the content in the panel 412. For other similarities, reference can be made to the previous introduction of g and h in [reference], which will not be elaborated here. Figure 4B in [reference].
[0162] In an implementable manner, after the panel 412 shown in b in [reference] is displayed on the electronic device, and before the operation of dragging the panel 412 shown in c in [reference] is detected, the user can directly start dragging the panel 412 without releasing their hand after triggering the display of the panel 412 by long-pressing the text 411, or the user can release their hand after triggering the display of the panel 412 by long-pressing the text 411 and start dragging the panel 412 within 3 seconds after releasing their hand. The embodiments of the present application do not limit this. Optionally, the duration for which the panel 412 remains displayed can be other durations in addition to 3 seconds, and the embodiments of the present application do not limit this. Figure 4C in [reference], Figure 4D and before the operation of dragging the panel 412 shown in c in [reference] is detected. The embodiments of the present application do not limit this. Optionally, the duration for which the panel 412 remains displayed can be other durations in addition to 3 seconds, and the embodiments of the present application do not limit this.
[0163] Refer to Figure 4E , Figure 4E which is another schematic diagram of the operation interface for selecting all text provided by the embodiments of the present application.
[0164] Figure 4E a and b in [reference] show that when freely selecting text, a long-press operation on the blank area of the panel 412 is used to trigger the electronic device to display the panel 418, which includes all the content in the text 411. That is to say, the panel 418 is equivalent to switching the panel 412 that can be in a state of freely selecting text to a state where text cannot be freely selected. In some implementation manners, Figure 4E the panel 418 shown in b in [reference] and Figure 4E the panel 412 shown in a in [reference] can be the same panel. The difference is that the text in the panel 418 has no selected state, while the text in the panel 412 has a selected state. In other implementation manners, Figure 4E the panel 418 shown in b in [reference] and Figure 4E the panel 412 shown in a in [reference] are not the same panel. When the panel 418 is displayed, the panel 412 disappears. Figure 4C a and b in [reference] are similar to a and b in the previous Figure 4A [reference]. For their similarities, reference can be made to the previous introduction of a and b in Figure 4A [reference], which will not be elaborated here.
[0165] Refer to Figure 4F , Figure 4F which is another schematic diagram of the operation interface for transmitting all selected text provided by the embodiments of the present application.
[0166] Figure 4FFigures c and d show that the panel 418 is dragged to a target area in any door and released to transfer all the text. Figure 4F c and d in the previous Figure 4B The g and h in the figure are similar, the difference is that the content of dragging and sharing is different. Here, it is the entire text in the dragging and sharing panel 418, and the content of the aforementioned dragging and sharing is only part of the content in the panel 418. For other similarities, please refer to the previous description of Figure 4B The introduction of g and h in will not be repeated here.
[0167] In one practicable manner, the electronic device displays Figure 4E After panel 418 shown in b, and after detecting Figure 4F Before the operation of dragging panel 418 shown in c, the user can long press the blank space of panel 412 to trigger the display of panel 418 and then start dragging panel 418 without releasing the hand, or the user can long press the blank space of panel 412 to trigger the display of panel 418 and then release the hand, and start dragging panel 418 within 3 seconds after releasing the hand, which is not limited in the embodiment of the present application. Optionally, the duration of display of panel 418 can be other than 3 seconds, which is not limited in the embodiment of the present application.
[0168] Other ways to share content
[0169] The foregoing Figure 4B , Figure 4D and Figure 4F We will only use the "smart transfer service" as an example to introduce the operation method of transferring selected text. In addition, electronic devices can also transfer selected text through "cross-device transfer service" or "split-screen transfer service". The operation methods corresponding to the latter two methods are the same as those described above. Figure 4B The operation method shown is similar, the difference is that the panel 414 corresponding to the selected content needs to be dragged to a target area different from the aforementioned light band 415 to be released, and the target object of sharing is also different. Taking the "cross-device transmission service" as an example, the target area can also be the edge area of the local electronic device (the edge area is specifically the area where the neighboring device is close to the local device), and the target object is the neighboring device for collaborative processing. Taking the "split-screen transmission 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.
[0170] In the embodiment of the present application, the custom name involved in the aforementioned text content processing method 2 may also be called other names, as follows:
[0171] The application providing the interface 40 may also be referred to as a first application.
[0172] The text 411 may also be referred to as the first text, and the long - press operation on the text 411 may also be referred to as the first operation. In the embodiments of the present application, in addition to the long - press operation, the first operation may also be other types of operations, and the embodiments of the present application do not limit this.
[0173] The panel 412 is also called the first panel, and the long - press operation on the panel 412 may also be referred to as the eleventh operation. In the embodiments of the present application, in addition to the long - press operation, the eleventh operation may also be other types of operations such as click operations, and the embodiments of the present application do not limit this.
[0174] 3. Figures 5A - 5D It is the operation interface involved in adopting the third content processing method.
[0175] (1) In the text - type content processing method 3, for the floating panel containing the selected - all text, the user can perform an editing operation on the panel to further freely select text through the panel, and then drag the freely selected text to the target area to share it with the target object. For specific details, see the following description of Figures 5A - 5B .
[0176] (2) In the text - type content processing method 3, for the floating panel containing the selected - all text, the user can also long - press on the blank area of the panel to drag the panel to the target area to share it with the target object. For specific details, see the following description of Figures 5C - 5D .
[0177] Refer to Figure 5A , Figure 5A which is a schematic diagram of another operation interface for freely selecting text provided by the embodiments of the present application.
[0178] Figure 5A In a of , the interface 50 of the application displayed on the electronic device is shown. Specifically, the interface 50 includes the text 511, and the text 511 can be displayed through the text - type control provided by the application. The interface 50 of the application can specifically be the interface provided by the system - level application or the third - party application, and the embodiments of the present application do not limit this. If the electronic device detects a long - press operation on the text 511, in response to this long - press operation, the electronic device will display a panel, as specifically shown in b of Figure 5A .
[0179] Figure 5AIn b, the panel 512 displayed by the electronic device is shown. Specifically, in response to a long - press operation on the text 511, the electronic device displays the panel 512 on the upper layer of the interface 50. The panel 512 includes the text 511, the cursor 513A, and the cursor 513B. The text between the cursor 513A and the cursor 513B is the selected text. The text selected between the cursor 513A and the cursor 513B can be defaulted to all the text 511. And the process of displaying the panel 512 brings a floating visual experience to the user, that is, the panel 512 is equivalent to a floating - state interface element. In some embodiments, the panel 512 can also be implemented as a text - type control including the text 511, or an image - type control such as a preview image or a thumbnail including the text 511. In some embodiments, after the panel 512 is displayed, if it is detected that the user ends the long - press operation (i.e., the user's hand leaves), the panel 512 can disappear after continuously displaying for a preset duration (e.g., 3 s); if it is detected that the user does not leave and drags the panel 512, or it is detected that the panel 512 is dragged within the preset duration (e.g., 3 s) after leaving the hand, the panel 512 will move the display area along with the user's dragging trajectory.
[0180] Figure 5A In c, the operation interface when the electronic device freely selects text is shown. Specifically, the electronic device can adjust the selection state of the text from the text 511 in the panel 512 according to the detected operation of sliding the cursor 513A and / or 513B in the panel 512. The text in the selected state is the target text described in this application. In some embodiments, in addition to adjusting the selected target text by sliding the cursor 513A and the cursor 513B, the user can also input other editing operations, such as deletion, writing, etc. The embodiments of this application do not limit this.
[0181] Reference Figure 5B , Figure 5B is a schematic diagram of another set of operation interfaces for transmitting freely - selected text provided by the embodiments of this application.
[0182] Figure 5BIn e, an operation interface for triggering the drag target text displayed on the electronic device is shown. Specifically, when a long - press operation on the target text is detected, the electronic device can display a floating panel 514 corresponding to the target text. During the process of displaying the panel 514, the panel 512 stops being displayed, but the original text 511 in the interface 50 does not stop being displayed, thus bringing a visual effect to the user that the text other than the target text in the panel 512 sinks down from the panel 512. The panel 514 can be located at the position of the touch point on the display screen when the user inputs the long - press operation. The panel 514 includes the target text. Optionally, when the content of the target text is relatively long, only a part of the target text can be displayed in the panel 514, such as the first sentence of the target text, or the abstract of the target text, etc. In some embodiments, the panel 514 can also be implemented as a text - type control of the target text, or an image - type control such as a preview image or thumbnail of the target text.
[0183] Figure 5B In f and g, operation interfaces for dragging the target text to the arbitrary - door hot zone displayed on the electronic device are shown. Specifically, after the electronic device displays the floating panel 514, as the user drags the panel 514, the electronic device can display a light band 515. The light band 515 is used to guide the user to drag the panel 514 to the arbitrary - door hot zone to trigger the opening of the arbitrary door (i.e., start the intelligent transfer service). The light band 515 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 515 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 514, bringing an operation experience of attracting the floating panel 514 to the user. In some embodiments, during the process of dragging the panel 514, the display form of the panel 514 will switch, including switching the display size and / or display content, etc. For example, when dragging the panel 514 from the initial position towards the direction of the light band 515, the size of the panel 514 will Figure 5B shrink from the size shown in f in Figure 5B to the size shown in g in Figure 5B and the text it contains will also reduce from the content shown in f in Figure 5B to the content shown in g in
[0184] Figure 5BThe "h" in [description] shows the operation interface of the electronic device for opening an arbitrary door for transmission. 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, i.e., 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.
[0185] Continue to refer to Figure 5B In "h" of [description], the favorite application corresponding to the favorite icon in the menu bar 516 can be a system application, providing a global system favorite function. The note application corresponding to the note icon can be a system application or a third-party application, which can provide functions such as in-application recording and favoriting. The candidate applications are application programs screened by the electronic device from all installed application programs that support receiving data to be transmitted. The electronic device can determine the candidate applications according to the information type, semantic information, etc. of the data to be transmitted. The candidate applications may include global applications that support receiving any type of data (such as favorite applications, search applications, share applications, email applications, etc.), and may also include applications that only support receiving partial types of data (such as a picture editing application that only supports receiving pictures, a navigation application that only supports receiving text, etc.). Different data to be transmitted can correspond to different menu bars.
[0186] Continue to refer to Figure 5B In "h" of [description], while the electronic device displays the menu bar 516 including icons of candidate applications, the electronic device can adjust the original foreground user interface to a right perspective style, vividly forming an "opening the door" animation effect with the above menu bar 516. The foreground user interface can refer to the interface composed of other contents displayed on the display screen excluding the status bar, or can also refer to all the contents including the status bar displayed on the display screen. The embodiments of the present application do not limit this.
[0187] Continue to refer to Figure 5BWhile the electronic device displays the menu bar 516 including the candidate application icons, the electronic device can adjust the original foreground user interface to a right perspective style, which vividly forms an "opening door" animation effect with the above-mentioned menu bar 516. The foreground user interface may refer to the interface composed of other contents displayed on the display screen excluding the status bar, or may refer to all the contents including the status bar displayed on the display screen. The embodiments of the present application do not limit this.
[0188] Reference Figure 5C , Figure 5C FIG. is a schematic diagram of another operation interface for selecting all text provided by an embodiment of the present application.
[0189] Figure 5C In a and b of FIG., a long press operation on the blank area of the panel 512 is shown to trigger the electronic device to display the panel 518, which includes all the contents in the text 511. In some embodiments, Figure 5C In b of FIG., the panel 518 shown is the same as Figure 5C the panel 512 shown in a of FIG., the difference being that the text in the panel 518 has no selected state, while the text in the panel 512 has a selected state. In other embodiments, Figure 5C In b of FIG., the panel 518 shown is the same as Figure 5C the panel 512 shown in a of FIG., and when the panel 518 is displayed, the panel 512 disappears. In addition. Figure 5C a in FIG. is the same as Figure 5A b in the previous text, and for specific reference, please refer to the introduction of Figure 5A a in the previous text, which will not be elaborated here.
[0190] Reference Figure 5D , Figure 5D FIG. is a schematic diagram of another operation interface for transmitting all selected text provided by an embodiment of the present application.
[0191] Figure 5D In c and d of FIG., it is shown that the panel 518 is dragged to the target area in any door and released to transmit all the text. Figure 5D c and d in FIG. are similar to Figure 5B g and h in the previous text, the difference being that the content dragged and shared is different. Here, it is to drag and share all the text in the panel 518, and the content dragged and shared previously is equivalent to a part of the content in the panel 518. For other similar aspects, for specific reference, please refer to the introduction of Figure 5B g and h in the previous text, which will not be elaborated here.
[0192] In an implementable manner, after the electronic device displays Figure 5C the panel 518 shown in b of FIG., and after detecting Figure 5DBefore the operation of dragging panel 518 shown in c, the user can long press the blank space of panel 512 to trigger the display of panel 518 and then start dragging panel 518 without releasing the hand, or the user can long press the blank space of panel 512 to trigger the display of panel 518 and then release the hand, and start dragging panel 518 within 3 seconds after releasing the hand, which is not limited in the embodiment of the present application. Optionally, the duration of display of panel 518 can be other than 3 seconds, which is not limited in the embodiment of the present application.
[0193] Other ways to share content
[0194] The foregoing Figure 5B and Figure 5D We will only use the "smart transfer service" as an example to introduce the operation method of transferring selected text. In addition, electronic devices can also transfer selected text through "cross-device transfer service" or "split-screen transfer service". The operation methods corresponding to the latter two methods are the same as those described above. Figure 5B The operation method shown is similar, the difference is that the panel 514 corresponding to the selected content needs to be dragged to a target area different from the aforementioned light band 515 to be released, and the target object of sharing is also different. Taking the "cross-device transmission service" as an example, the target area can also be the edge area of the local electronic device (the edge area is specifically the area where the neighboring device is close to the local device), and the target object is the neighboring device for collaborative processing. Taking the "split-screen transmission 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.
[0195] In an embodiment of the present application, the custom name involved in the aforementioned text content processing method 3 can also be called other names, as follows: the application providing the interface 50 can also be called the first application, and the text 511 can also be called the first text.
[0196] 4. Figures 6A - 6D This is the operation interface involved in adopting the fourth content processing method.
[0197] (1) In the text content processing method 4, for the floating panel containing the selected text, the user can edit the panel to further freely select text through the panel, and then drag the freely selected text to the target area to share it with the target object. For details, see the following Figures 6A - 6B Description.
[0198] (2) In the text content processing method 4, for the floating panel containing all selected text, the user can also long press the blank area of the panel to drag the panel to the target area to share it with the target object. For details, see the following Figures 6C - 6D Description.
[0199] Reference Figure 6A , Figure 6A is a schematic diagram of another operation interface for freely selectable text provided by an embodiment of the present application.
[0200] Figure 6A In a, an interface 60 of an application displayed by an electronic device is shown. Specifically, the interface 60 includes a text 611, and the text 611 can be displayed through a text control provided by the application. The interface 60 of the application can specifically be an interface provided by a system-level application or a third-party application, and the embodiments of the present application do not limit this. If the electronic device detects a long-press operation on the text 611, in response to this long-press operation, the electronic device displays a panel, specifically as shown in Figure 6A b in.
[0201] Figure 6A In b in, a panel 612 displayed by the electronic device is shown. Specifically, in response to a long-press operation on the text 611, the electronic device displays the panel 612 on the upper layer of the interface 50. The panel 612 includes the text 611, a cursor 613A, and a cursor 613B. The text between the cursor 613A and the cursor 613B is the selected text. The selected text between the cursor 613A and the cursor 613B can be defaulted to the text corresponding to the position where the user inputs the long-press operation, and the process of displaying the panel 612 brings a floating visual experience to the user, that is, the panel 612 is equivalent to a floating interface element. In some embodiments, the panel 612 can also be implemented as a text control including the text 611, or an image control such as a preview image or a thumbnail including the text 611. In some embodiments, after the panel 612 is displayed, if it is detected that the user ends the long-press operation (i.e., the user's hand leaves), the panel 612 can disappear after continuously displaying for a preset duration (for example, 3 s); if it is detected that the user does not leave the hand and drags the panel 612, or it is detected that the panel 612 is dragged within a preset duration (for example, 3 s) after leaving the hand, the panel 612 will move the display area along with the dragging trajectory of the user.
[0202] Figure 6A In c in, an operation interface when the electronic device freely selects text is shown. Specifically, the electronic device can adjust the selection state of the text from the text 611 in the panel 612 according to the detected operation of the cursor 613A and / or 613B in the sliding panel 612. The text in the selected state is the target text described in the present application. In some embodiments, in addition to adjusting the selected target text by sliding the cursor 613A and the cursor 613B, the user can also input other editing operations, such as deletion, writing, etc. The embodiments of the present application do not limit this.
[0203] Reference Figure 6B ,Figure 6B Another set of schematic diagrams of operating interfaces for transmitting freely selectable text provided in an embodiment of the present application.
[0204] Figure 6B 6 shows the operation interface of triggering the dragging of the target text displayed by the electronic device. Specifically, when a long press operation acting on the target text is detected, the electronic device can display a suspended panel 614 corresponding to the target text. During the display of the panel 614, the panel 612 stops displaying, but the original text 611 in the interface 60 does not stop displaying, thereby giving the user a visual effect that the text other than the target text in the panel 612 sinks from the panel 612. The panel 614 can be located at the position of the touch point acting on the display screen when the user inputs a long press operation. The panel 614 includes the target text. Optionally, when the content of the target text is large, part of the target text can be displayed in the panel 614, such as the first sentence of the target text, or a summary of the target text. In some embodiments, the panel 614 can also be implemented as a text control of the target text, or an image control such as a preview or thumbnail of the target text.
[0205] Figure 6B f and g in the figure show the operation interface displayed by the electronic device for dragging the target text to the hot zone of any door. Specifically, after the electronic device displays the panel 614 in a suspended state, as the user drags the panel 614, the electronic device can display a light strip 615, which is used to guide the user to drag the panel 614 to the hot zone of any door to trigger the opening of any door (i.e., to start the smart circulation service). The light strip 615 can be an interface element with attributes such as color, shadow, gradient, graphic fill (such as grid fill, oblique line fill), etc. In some embodiments, the light strip 615 can also present dynamic effects, such as changing the display area, color, etc. For example, the light strip can change the display area as the panel 614 is dragged, giving the user an operation experience of adsorbing the suspended panel 614. In some embodiments, during the process of dragging the panel 614, the display form of the panel 614 will switch, including switching the display size and / or display content, etc. For example, when the panel 614 is dragged from the initial position to the direction of the light strip 615, the size of the panel 614 will change from. Figure 6B The f in the Figure 6B The size of g in the image will also be changed from Figure 6B The content shown in f is reduced to Figure 6B The content shown in g in the figure. The embodiment of the present application does not specifically limit the change of the display form of the panel 614 during the dragging process. In other embodiments, the light band 615 can also be a transparent area, so that the interface elements displayed in the lower layer of the light band 615 are not blocked.
[0206] Figure 6BThe "h" 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 strip 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 the note application as 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.
[0207] Continue to refer to Figure 6B In "h" in [description], the favorite application corresponding to the favorite icon in the menu bar 616 can be a system application, providing a global system favorite function. The note application corresponding to the note icon can be a system application or a third-party application, which can provide functions such as in-application recording and favoriting. The candidate applications are application programs screened by the electronic device from all installed application programs that support receiving the data to be transmitted. The electronic device can determine the candidate applications according to the information type, semantic information, etc. of the data to be transmitted. The candidate applications may include global applications that support receiving any type of data (such as favorite applications, search applications, share applications, email applications, etc.), and may also include applications that only support receiving some types of data (such as a picture editing application that only supports receiving pictures, a navigation application that only supports receiving text, etc.). Different data to be transmitted can correspond to different menu bars.
[0208] Continue to refer to Figure 6B In "h" in [description], while the electronic device displays the menu bar 616 including the icons of candidate applications, the electronic device can adjust the original foreground user interface to a right perspective style, vividly forming an "opening the door" animation effect with the above-mentioned menu bar 616. The foreground user interface can refer to the interface composed of other contents displayed on the display screen excluding the status bar, or can also refer to all the contents including the status bar displayed on the display screen. The embodiments of the present application do not limit this.
[0209] Continue to refer to Figure 6BWhile the electronic device displays the menu bar 416 including the candidate application icons, the electronic device can adjust the original foreground user interface to a right perspective style, which vividly forms an "opening door" animation effect with the above-mentioned menu bar 416. The foreground user interface may refer to the interface composed of other contents displayed on the display screen excluding the status bar, or may refer to all the contents including the status bar displayed on the display screen. The embodiments of the present application do not limit this.
[0210] Reference Figure 6C , Figure 6C FIG. [X] is another schematic diagram of an operation interface for selecting all texts provided by an embodiment of the present application.
[0211] Figure 6C In [Figure X], a and b show that by performing a long-press operation on the blank area in the panel 612, the electronic device is triggered to display the panel 618, which includes all the contents in the text 611. In some embodiments, Figure 6C The panel 618 shown by b in [Figure X] and Figure 6C The panel 612 shown by a in [Figure X] may be the same panel. The difference is that the texts in the panel 618 are not in a selected state, while the texts in the panel 612 are in a selected state. In other embodiments, Figure 6C The panel 618 shown by b in [Figure X] and Figure 6C The panel 612 shown by a in [Figure X] are not the same panel. When the panel 618 is displayed, the panel 612 disappears. In addition. Figure 6C a in [Figure X] is the same as Figure 6A b in the previous [Figure X]. Specifically, reference can be made to the introduction of a in the previous [Figure X], which will not be elaborated here. Figure 6A Figure 6A
[0212] Reference Figure 6D , Figure 6D FIG. [X] is another schematic diagram of an operation interface for transmitting all selected texts provided by an embodiment of the present application.
[0213] Figure 6D In [Figure X], c and d show dragging the panel 618 to the target area in any door and releasing it to transmit all the texts. Figure 6D c and d in [Figure X] are similar to Figure 6B g and h in the previous [Figure X]. The difference is that the content dragged and shared is different. Here, it is to drag and share all the texts in the panel 618, and the content dragged and shared previously is equivalent to a part of the content in the panel 618. For other similar points, specifically, reference can be made to the introduction of g and h in the previous [Figure X], which will not be elaborated here. Figure 6B Figure 6B
[0214] In an implementable manner, after the electronic device displays Figure 6C the panel 618 shown by b in [Figure X], and after detecting Figure 6DBefore the operation of dragging the panel 618 shown in c, the user can long press the blank space of the panel 612 to trigger the display of the panel 618 and then start dragging the panel 618 without releasing the hand, or the user can long press the blank space of the panel 612 to trigger the display of the panel 618 and then release the hand, and start dragging the panel 618 within 3 seconds after releasing the hand, and the embodiment of the present application does not limit this. Optionally, the duration of the panel 612 remaining displayed can be other than 3 seconds, and the embodiment of the present application does not limit this.
[0215] Other ways to share content
[0216] The foregoing Figure 6B and Figure 6D We will only use the "smart transfer service" as an example to introduce the operation method of transferring selected text. In addition, electronic devices can also transfer selected text through "cross-device transfer service" or "split-screen transfer service". The operation methods corresponding to the latter two methods are the same as those described above. Figure 6B The operation method shown is similar, the difference is that the panel 614 corresponding to the selected content needs to be dragged to a target area different from the aforementioned light band 615 to be released, and the target object of sharing is also different. Taking the "cross-device transmission service" as an example, the target area can also be the edge area of the local electronic device (the edge area is specifically the area where the neighboring device is close to the local device), and the target object is the neighboring device for collaborative processing. Taking the "split-screen transmission 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.
[0217] In an embodiment of the present application, the custom name involved in the aforementioned text content processing method 4 can also be called other names, as follows: the application providing the interface 60 can also be called the first application, and the text 611 can also be called the first text.
[0218] The previous article only uses text content as an example to introduce the content processing method provided by this application. Next, the processing method for image content is described in detail. Similar to the method used to process text content, for image content, the user can also long press the image to trigger the display of a floating panel containing the image, and then drag the panel to the target area to share it with the target object. For details, refer to the following Figures 7A - 7D Detailed description.
[0219] refer to Figure 7A , Figure 7A A schematic diagram of a set of operation interfaces for freely editing images provided in an embodiment of the present application.
[0220] Figure 7Aa in the figure shows an interface 70 of an electronic device displaying an application. Specifically, the interface 70 includes an image 711, which can be displayed by an image-type control provided by the application. The application interface 70 can be an interface provided by a system-level application or a third-party application, which is not limited in the present embodiment of the application. If the electronic device detects a long press operation on the image 711, in response to the long press operation, the electronic device displays a panel, as shown in FIG. Figure 7A b in.
[0221] Figure 7A b in FIG. 7 shows a panel 712 displayed by an electronic device. Specifically, in response to a long press operation on the image 711, the electronic device displays a panel 712 and an icon 713 on the upper layer of the interface 30. The panel 712 includes the image 711, and the process of displaying the panel 712 gives the user a floating visual experience, that is, the panel 712 is equivalent to a suspended interface element. In some embodiments, the panel 712 can also be implemented as an image-type control including the image 711. In some embodiments, after the panel 712 is displayed, if it is detected that the user ends the long press operation (that is, the user leaves the hand), the panel 712 can continue to display for a preset time (for example, 3s) and then disappear; if it is detected that the user does not leave the hand and drags the panel 712, or if it is detected that the panel 712 is dragged within a preset time (for example, 3s) after leaving the hand, the panel 712 will move the display area along the user's dragging trajectory.
[0222] Figure 7A C in FIG. 7 shows an operation interface when the electronic device displays the drag panel 712. Specifically, when the operation of dragging the panel 712 is detected, the electronic device further displays an icon 713, which is used to instruct the user to continue dragging the panel 712 into the hot zone of the icon 713 to edit the image 711.
[0223] Figure 7A d in FIG. 7 shows an editing interface 71 displayed by the electronic device. Specifically, when the operation of dragging the panel 712 to the hot zone of the icon 713 is detected, the electronic device displays the editing interface 71, which includes: an editing panel 714 and multiple editing controls, such as a shape capture control in the toolbar 715A, a pen control, a color control, a thickness control, etc. in the toolbar 715B. The user can freely edit the image by using various tools in the toolbars 715A and 715B. Before editing the image in the editing panel 714, the image is the same as the aforementioned image 711. After editing the image in the editing panel 714, the image is the target image obtained after editing the image 711. Figure 7AIn this case, only the editing operation of showing a scribbled arrow for d is illustrated, and the present application does not limit the editing operations on images.
[0224] Reference Figure 7B , Figure 7B FIG. is a schematic diagram of an operation interface for transmitting a freely editable image provided by an embodiment of the present application.
[0225] Figure 7B In this case, e shows an operation interface for triggering and dragging a target image displayed on an electronic device. Specifically, when a long-press operation on the target image (i.e., the freely editable image in panel 714) is detected, the electronic device can display a floating panel 716 corresponding to the target image. This panel 716 can be located at the position of the touch point on the display screen when the user inputs the long-press operation. This panel 716 includes the target image. Optionally, when the target image is relatively large, a partial target image, such as the central area of the target image, can be displayed in panel 716. In some embodiments, panel 716 can also be implemented as an image control of the target image.
[0226] Figure 7B In this case, f and g show the operation interfaces when the electronic device drags panel 716. Specifically, after the electronic device displays the floating panel 716, as the user drags this panel 716, the electronic device can display a light band 717, and the light band 717 is used to guide the user to drag panel 716 to any door hot zone to trigger the opening of any door (i.e., to start the intelligent transfer service). The light band 717 can be an interface element with attributes such as color, shadow, gradient, graphic filling (such as grid filling, slash filling), etc. In some embodiments, the light band 717 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 panel 716, bringing the user an operation experience of attracting this floating panel 716. In other embodiments, the light band 717 can also be an area with transparency, so that the interface elements displayed below the light band 717 can be not blocked.
[0227] Figure 7BThe "h" in [the figure] 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 716 is dragged to the light band 717, the electronic device is triggered to open an arbitrary door, and a menu bar 718 including icons of one or more candidate applications is displayed in the opened arbitrary door. The menu bar 718 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 716 to the icon of any candidate application in the menu bar 718 (for example, the note application icon, i.e., 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 target image corresponding to the panel 716 to the note application and can also output a corresponding prompt message 719. Not limited to outputting the prompt message 719, 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.
[0228] Continuing to refer to Figure 7B the "e", "f", "g", and "h" in [the figure], during the process of dragging the panel 716, the display form of the panel 716 will switch, including switching the display size and / or display content, etc. For example, when the panel 716 is dragged from the initial position towards the light band 717, the size of the panel 716 will shrink from the size shown in Figure 7B the "e" in [the figure] to the size shown in Figure 7B the "f" in [the figure]; again, for example, when the panel 716 is dragged to a position close to the light band area, the size of the panel 716 will further shrink from the size shown in Figure 7B the "f" in [the figure] to the size shown in Figure 7B the "g" in [the figure]. The embodiments of the present application do not make specific limitations on the changes in the display form of the panel 716 during the dragging process.
[0229] Continuing to refer to Figure 7B the "h" in [the figure], while the electronic device is displaying the menu bar 718 including icons of candidate applications, the electronic device can adjust the original foreground user interface to a right perspective style, which vividly constitutes an "opening the door" animation effect with the above-mentioned menu bar 718. The foreground user interface may refer to the interface composed of other contents displayed on the display screen excluding the status bar, or may refer to all the contents including the status bar displayed on the display screen. The embodiments of the present application do not limit this.
[0230] Referring to Figure 7C , Figure 7C is a schematic diagram of an operation interface for a group of selected images provided by the embodiments of the present application.
[0231] Figure 7C The "a" and "b" in [the figure] show that by performing a long-press operation on the image 711, the electronic device is triggered to display the panel 712, and the panel 712 includes the image 711.Figure 7C The a and b in Figure 7A are the same as the a and b in the previous text. For specific details, reference can be made to the introduction of a and b in the previous text about Figure 7A , which will not be elaborated here.
[0232] Reference Figure 7D , Figure 7D is a schematic diagram of an operation interface for directly transmitting selected images provided by an embodiment of the present application.
[0233] Figure 7D The c and d in Figure 7D show that the panel 712 is dragged to and released at the target area in any door to transmit the image 711. Figure 7B The c and d in Figure 7B are similar to the g and h in the previous text. The difference is that the content dragged and shared is different. Here, it is the image 711 in the dragged sharing panel 712, while the content dragged and shared in the previous case is the target image in the panel 716. For other similar aspects, reference can be made to the introduction of g and h in the previous text about
[0234] In an implementable manner, after the panel 712 shown in b in the electronic device is displayed, and before the operation of dragging the panel 712 shown in c in Figure 7C is detected, the user can directly start dragging the panel 712 without releasing the hand after triggering the display of the panel 712 by long - pressing the image 711, or the user can release the hand after triggering the display of the panel 712 by long - pressing the image 711 and start dragging the panel 712 within 3 s after releasing the hand. The embodiments of the present application do not limit this. Optionally, the duration for which the panel 712 remains displayed can be other durations in addition to 3 s, and the embodiments of the present application do not limit this. Figure 7D
[0235] In summary of the above description, it can be seen that after implementing the method provided by the present application, a more convenient and free content selection method can be provided for users, as well as a more convenient and rich content sharing method.
[0236] Based on the previous introduction of the UI embodiments related to the content processing method provided by the present application, the form of the involved electronic device and its software and hardware architecture will be introduced next.
[0237] The electronic device can be equipped with Portable terminal devices of other operating systems, such as mobile phones, tablet computers, desktop computers, laptop computers, handheld computers, notebooks, 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.
[0238] Figure 8 The structural schematic diagram of the electronic device 100 is shown.
[0239] 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.
[0240] 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 have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0241] 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.
[0242] Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
[0243] A memory can also be set in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can 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 directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0244] 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.
[0245] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include a universal serial bus (USB) interface, etc. The USB interface 130 is an interface that conforms to the USB standard specification, and specifically 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.
[0246] It can be understood that the interface connection relationships shown in the embodiments of the present application are only illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0247] The electronic device 100 realizes 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 perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
[0248] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can adopt a liquid crystal display (LCD). The display screen panel can also be manufactured using an organic light-emitting diode (OLED), 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. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0249] In the embodiments of the present application, the electronic device can control the display screen 194 to output corresponding feedback information according to the detected operation, and specifically can output including but not limited to Figures 1A - 7D the interface shown in
[0250] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0251] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity 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.
[0252] The pressure sensor 180A is used to sense pressure signals and can convert 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.
[0253] 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 - 7D above.
[0254] The touch sensor 180K, also known as the "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch 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 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.
[0255] 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 - 7D above.
[0256] 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.
[0257] Figure 9 is the software structure block diagram of the electronic device 100 in the embodiments of the present application.
[0258] The layered architecture divides software into several layers, and each layer has clear roles and divisions 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.
[0259] The application layer may include a series of application packages.
[0260] Such as Figure 9 shown, the application packages may include, but are not limited to, applications such as the first application, settings, maps, notes, etc.
[0261] 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 can display the user interface introduced in the previous UI implementation.
[0262] 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.
[0263] 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.
[0264] The view system includes visible 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.
[0265] 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 panels described Figures 1A - 7D in, and these panels are provided by second applications installed on the electronic device other than the first application.
[0266] "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.
[0267] The "split-screen transfer service" can also be called the "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.
[0268] The "cross-device transfer service" can also be called the "multi-device collaboration service", which can specifically provide the function of sharing the content of the local device to other devices for collaborative processing.
[0269] Optionally, the content selection described above can also be specifically provided by the "intelligent transfer service", the "split-screen transfer service" or the "cross-device transfer service", or provided by a separate function module, which can work in collaboration with the above three services to provide a complete content processing method for users. For the specific content processing method, reference can be made to the description of the UI embodiment above, which will not be elaborated here.
[0270] The system library can include multiple function modules. For example: surface manager, Media Libraries, 3D graphics processing library (such as: OpenGL ES), 2D (two-dimensional) graphics engine (such as: SGL), etc.
[0271] 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.
[0272] 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.
[0273] This application also provides a chip system, which includes at least one processor for implementing the functions involved in the method executed by the electronic device in any one of the above embodiments.
[0274] The present application also provides a computer program product, which includes a computer program (which can also be referred to as code or instructions). When the computer program is run, it causes the computer to execute the method performed by the electronic device in any of the above embodiments.
[0275] The present application also provides a computer-readable storage medium, which stores a computer program (which can also be referred to as code or instructions). When the computer program is run, it causes the computer to execute the method performed by the electronic device in any of the above embodiments.
[0276] The various embodiments of the present application can be combined arbitrarily to achieve different technical effects.
[0277] 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 the present 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 can be accessed by a computer, 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).
[0278] Those of ordinary skill in the art can understand all or part of the processes in the methods of the above embodiments. These processes can be completed by relevant hardware instructed by 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 aforementioned storage medium includes various media that can store program codes, such as ROM, random access memory (RAM), magnetic disks, or optical discs.
[0279] In summary, the above are only embodiments of the technical solution of the present invention and are not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made according to the disclosure of the present invention shall 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, wherein the first interface includes first content of a first application; receiving a pressing operation on the first content; in response to the pressing operation, displaying a first panel, wherein 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; during the dragging process of the first panel, displaying a light band in a first area, wherein the light band is used to indicate that the first panel can be dragged to a hot zone; after displaying the light band in the first area, in response to the first panel being dragged to a second area, displaying a second interface and a menu bar, wherein the second area is the hot zone, when displaying the second interface and the menu bar, the first interface is not displayed, the second interface includes second content of the first application, the second content is the first content after being reduced, the menu bar includes icons of multiple applications, and the icons of the multiple applications include an icon of a second application, and the second application is different from the first application; after displaying the menu bar, continuing to receive the dragging operation on the first panel, and floatingly displaying the first panel above the icon of the second application, wherein the light band stops being displayed after displaying the menu bar, and the operation between the pressing operation and the dragging operation is not interrupted; in response to the operation of releasing the first panel above the icon of the second application, the first content is shared to the second application.
2. The method according to claim 1, characterized in that, the light band is an interface element that at least includes color, shadow or gradient attributes.
3. The method according to claim 1 or 2, characterized in that, during the dragging process of the first panel, displaying the light band with its color changed and / or its position changed in the first area.
4. The method according to any one of claims 1 to 3, characterized in that, the display effect of the second interface is a perspective style.
5. The method according to any one of claims 1 to 4, characterized in that, the first area is an edge area of the screen of the electronic device, wherein the edge area at least includes a left edge, a right edge, an upper edge or a lower edge.
6. The method according to claim 5, characterized in that, the first area partially or fully coincides with the second area.
7. The method according to any one of claims 1 to 6, characterized in that, the area for displaying the first interface is larger than the area for displaying the second interface.
8. The method according to any one of claims 1 to 7, characterized in that, the second interface does not include the content of the status bar.
9. The method according to any one of claims 1 to 7, characterized in that, the second interface includes the content of the status bar.
10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: in response to an operation of releasing the first panel, displaying a window or interface provided by the second application, and displaying the first content in the window or interface provided by the second application.
11. The method according to any one of claims 1 to 10, wherein, the first content includes an image and / or text.
12. The method according to any one of claims 1 to 11, wherein, the first application is a third-party application, and the second application is a system application or service of the electronic device.
13. The method according to any one of claims 1 to 12, wherein, the pressing operation is a long-press operation.
14. An electronic device, wherein, comprises 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, and when the one or more processors execute the computer instructions, the method according to any one of claims 1-13 is performed.
15. A computer-readable storage medium, comprising instructions, wherein, when the instructions run on an electronic device, the method according to any one of claims 1-13 is performed.
Citation Information
Patent Citations
Data processing method and device, and mobile terminal
CN109032465A
Information processing method, apparatus, electronic device, and readable storage medium
CN109471742A
Content sharing method and electronic equipment
CN110333814A
Text content processing method and device and electronic equipment
CN114721575A
Cross-device dragging method, electronic device and storage medium
CN115993924A