Cross-application data transmission method and related device
By generating draggable controls on electronic devices and triggering smart flow services, the problem of cumbersome data transmission in the existing technology is solved, and fast and convenient cross-application data transmission is achieved, improving user experience is improved, and it supports updates through floating balls Convenient data transmission.
Patent Information
- Application Number
- PCT/CN2024/078681
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-29
- Filing Date
- 2024-02-27
- Publication Date
- 2025-01-02
AI Technical Summary
In the prior art, users need to cumbersomely exit one application and enter another application for data transmission, resulting in a poor user experience.
By generating draggable controls on electronic devices, detecting that the user dragging operation enters the preset hot zone and triggers the smart flow service, displays the application icon that can receive data, and sends the data to the target after being dragged to the target application icon to be released Application, realize cross-application data transmission.
It provides fast and convenient cross-application data transmission services, reduces operational steps, improves user experience, and supports more convenient data transmission through floating balls in subsequent operations.
Smart Images

Figure CN2024078681_02012025_PF_FP_ABST
Abstract
Description
Cross-application data transmission method and related equipment
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on June 29, 2023, with application number 202310786811.8 and application name “Cross-application data transmission method and related equipment”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminals, and in particular to a cross-application data transmission method and related equipment. Background Art
[0003] Currently, if a user wants to send some data from one app to another, they need to select the data, exit the app, open the other app, and then paste the data to be transferred into the other app. This cumbersome operation brings a poor user experience.
[0004] Summary of the Invention
[0005] The present application provides a cross-application data transmission method and related equipment.
[0006] Electronic devices that implement this method, such as mobile phones and tablets, can generate corresponding draggable controls after the user selects data such as pictures and texts. After detecting that the user drags the above-mentioned control into a preset hot zone, the electronic device can trigger the smart flow service, determine one or more applications that can receive the above-mentioned data, and display the icons of the above-mentioned applications. After detecting that the user continues to drag the above-mentioned control to the area where any application icon is located and releases it, the electronic device can send the data corresponding to the above-mentioned control to the target application corresponding to the above-mentioned application icon, providing the user with a fast and convenient cross-application data transmission service. After completing a smart flow, the electronic device can display the floating ball of the target application. Therefore, when the user needs to share data with the above-mentioned target application again, the electronic device can support the user to drag the data to be shared into the floating ball of the above-mentioned target application, thereby realizing a more convenient cross-application data transmission service.
[0007] In a first aspect, the present application provides a data sharing method, applied to an electronic device, the method comprising: detecting a first operation of dragging a first control into a first area on a screen; in response to the first operation, displaying an icon of a first application and an icon of a second application; detecting a second operation of continuing to drag the first control into an area where the icon of the first application is located and releasing it; in response to the second operation, sharing first data corresponding to the first control to the first application and displaying a third control corresponding to the first application; detecting a third operation of dragging a second control into an area where a third control is located and releasing it; in response to the third operation, sharing second data corresponding to the second control to the first application.
[0008] Implementing the method provided in the first aspect, after detecting that the user drags a preset control (i.e., the first control) into a preset hot zone (i.e., the first area on the screen), the electronic device can trigger the smart flow service and display multiple application icons. After detecting that the user continues to drag the first control to the area where any application icon among the above-mentioned multiple application icons is located and releases it, the electronic device sends the data to be transmitted corresponding to the first control to the target application corresponding to any of the above-mentioned application icons, providing the user with a fast, convenient and smooth cross-application data transmission service. After completing a smart flow, the electronic device can display a control corresponding to the above-mentioned target application (i.e., the third control). When the user needs to share data with the above-mentioned target application again, the electronic device can support the user to drag the data to be shared into the third control to achieve a more convenient cross-application data transmission service without having to trigger the smart flow again and select the target application again from the multiple applications recommended by the smart flow.
[0009] In conjunction with the method provided in the first aspect, in some embodiments, before detecting a first operation of dragging a first control into a first area on the screen, the method further includes: displaying a first interface, wherein text is displayed in the first interface; detecting a fourth operation of selecting first text in the text; detecting a fifth operation acting on the first text, and in response to the fifth operation, displaying the first control, wherein the first data includes the first text, and all or part of the first text is displayed on the first control;
[0010] In combination with the method provided in the first aspect, in some embodiments, before detecting the first operation of dragging the first control into the first area of the screen, the method also includes: displaying a first interface, the first interface including a first image; detecting a sixth operation on the first image, and in response to the sixth operation, displaying the first control, the first data including the first image, and a thumbnail of the first image being displayed on the first control.
[0011] By implementing the method provided in the above embodiment, a user can select text, images, or other data they want to share from an interface displayed on an electronic device for intelligent transfer. When the selected data to be transferred is text, the corresponding first control can display all or part of the text; when the selected data to be transferred is an image, the corresponding first control can display a thumbnail of the image. In this way, during the dragging process, the user can intuitively and clearly determine the specific content of the data to be transferred at any time.
[0012] In combination with the method provided in the first aspect, in some embodiments, displaying the icon of the first application and the icon of the second application specifically includes: displaying the icon of the first application and the icon of the second application on the right side or the left side of the screen, and the icon of the first application and the icon of the second application are arranged vertically.
[0013] In combination with the method provided in the first aspect, in some embodiments, the method further includes: in response to a second operation, stopping displaying the icon of the first application and the icon of the second application.
[0014] By implementing the method provided in the above embodiment, after completing the smart flow, that is, after the data to be transmitted is successfully transmitted to the selected target application, the electronic device can close the multiple application icons displayed after triggering the smart flow at any time, and then switch the currently displayed interface of the electronic device back to before triggering the smart flow, so that the user can continue browsing, editing and other operations before the smart flow.
[0015] In combination with the method provided in the first aspect, in some embodiments, after sharing the second data corresponding to the second control to the first application, the method further includes: displaying a first identifier on the third control, where the first identifier is used to indicate that the second data has been shared.
[0016] By implementing the method provided in the above embodiment, the user can use the first indicator to determine that the selected second data has been successfully shared. If the first indicator is not displayed, the user can determine that the sharing has not been successfully initiated. Furthermore, the user can repeat the sharing operation to share the data they want to share with the target application.
[0017] In combination with the method provided in the first aspect, in some embodiments, the first application is an instant messaging application. Before displaying the third control corresponding to the first application, the method also includes: displaying a first window, displaying multiple contact options in the first window; detecting a seventh operation acting on a first contact option among the multiple contact options; determining the first contact corresponding to the first contact option in response to the seventh operation; after sharing the first data corresponding to the first control to the first application, the method also includes: sending the first data to the first contact.
[0018] When implementing the method provided in the above embodiment, when the first application is an instant messaging application, after sending the data to be transmitted to the first application, the electronic device can also immediately display multiple contacts for the user to select a target contact, such as the first contact. Then, the electronic device can directly send the received data to the target contact selected by the user without the user having to enter the target application to perform settings and other operations.
[0019] In combination with the method provided in the first aspect, in some embodiments, after sharing the second data corresponding to the second control to the first application, the method further includes: sending the second data to the first contact.
[0020] By implementing the method provided in the above embodiment, in an instant messaging scenario, the electronic device can record the target contact selected by the user once. The next time it detects a drag-and-drop operation on the third control corresponding to the instant messaging application, the electronic device can use the first application to directly send the newly dragged data to the previously recorded target contact, eliminating the need for the user to repeatedly select the target contact, further enhancing the convenience of cross-application sharing.
[0021] In combination with the method provided in the first aspect, in some embodiments, after detecting the third operation of dragging the second control into the area where the third control is located and releasing it, the method also includes: displaying a second window, displaying multiple contact options in the second window; detecting an eighth operation acting on a second contact option among the multiple contact options, the second contact option being different from the first contact option; determining the second contact corresponding to the second contact option in response to the eighth operation; after sharing the second data corresponding to the second control to the first application, the method also includes: sending the second data to the second contact.
[0022] When implementing the method provided in the above embodiment, the electronic device may not record the target contact. In this way, the user can determine different contacts according to different sharing needs each time.
[0023] In combination with the method provided in the first aspect, in some embodiments, before displaying the third control corresponding to the first application, the method also includes: displaying a first window, displaying multiple parameter setting options in the first window; detecting an operation of setting multiple parameter setting options, and determining a first print style based on the set parameters; after sharing the first data corresponding to the first control to the first application, the method also includes: sending the first data to the printer, instructing the printer to print the first data according to the first print style.
[0024] When implementing the method provided in the above embodiment, if the first application is a printing application, after sending the data to be transmitted to the first application, the electronic device can also immediately display multiple printing parameter setting options for the user to set a print style. Furthermore, the electronic device can directly send the received data and the user-set print style to the printer and instruct the printer to print the data according to the print style, without the user having to enter the printing application to set the settings.
[0025] In combination with the method provided in the first aspect, in some embodiments, after sharing the second data corresponding to the second control to the first application, the method further includes: sending the second data to the printer, instructing the printer to continue printing the second data according to the first printing style.
[0026] By implementing the method provided in the above embodiment, in a file printing scenario, the electronic device can record the print style previously set by the user. The next time it detects an operation of dragging data into the third control corresponding to the printing application, the electronic device can send the newly dragged data and the currently recorded print style to the printer, instructing the printer to continue printing the newly dragged data according to the previously recorded print style. This eliminates the need for the user to reset printing parameters.
[0027] In combination with the method provided in the first aspect, in some embodiments, after detecting a third operation of dragging the second control into the area where the third control is located and releasing it, the method further includes: displaying a second window, wherein multiple parameter setting options are displayed in the second window; detecting an operation of setting multiple parameter setting options, and determining a second print style based on the set parameters; after sharing the second data corresponding to the second control to the first application, the method further includes: sending the second data to the printer, and instructing the printer to print the second data according to the second print style.
[0028] When implementing the method provided in the above embodiment, the electronic device may not record the printing style. In this way, the user can determine different printing styles according to the different requirements of the document to be printed each time.
[0029] In combination with the method provided in the first aspect, in some embodiments, after sharing the first data corresponding to the first control to the first application, the method also includes: detecting a ninth operation acting on the third control, and displaying a third window in response to the ninth operation, wherein the first data is displayed in the third window; after sharing the second data corresponding to the second control to the first application, the method also includes: detecting a tenth operation acting on the third control, and displaying a fourth window in response to the tenth operation, wherein the second data is displayed in the fourth window.
[0030] By implementing the method provided in the above embodiment, after each time data is written to the first application, the user can operate the third control corresponding to the first application at any time, such as clicking, to view the data written each time at any time.
[0031] In combination with the method provided in the first aspect, in some embodiments, the first application and the second application are application programs that support receiving the first data and are determined based on the type and / or semantic information of the first data.
[0032] For example, when the first data (i.e., the data to be transmitted) is text, the first application and the second application can be applications that can receive text based on the image and image content, such as a note application, an instant messaging application, a calendar application, etc.; when the first data is an image, the first application and the second application can be applications that can receive the image based on the image and image content, such as a note application, an instant messaging application, a photo editing application, a shopping application, etc. In this way, for any data to be transmitted selected by the user, the electronic device can automatically determine the application that matches it and can be used as the target application, and then display the corresponding icon for the user to select.
[0033] In combination with the method provided in the first aspect, in some embodiments, the third control includes a first style and a second style. After displaying the first identifier on the third control, the method also includes: changing the third control of the first style to the second style, and the display area occupied by the first style on the screen is larger than the display area occupied by the second style on the screen.
[0034] By implementing the method provided in the above embodiment, when the user does not need to use the above third control, the electronic device can reduce the display area of the third control and reduce the screen obstruction caused by the third control by switching the third control to the second style, also known as the incomplete style or the thumbnail state. Correspondingly, when the user needs to use the above third control, for example, when the user needs to drag data to be transmitted into the third control, the electronic device can switch the second style of the third control to the first style, also known as the complete style or the expanded state, to increase the receiving hot zone, reduce the accuracy requirements of the user's dragging operation, and provide the user with a smoother operating experience.
[0035] In combination with the method provided in the first aspect, in some embodiments, the icon and / or name of the third application is displayed in the third control.
[0036] In this way, the user can determine which application the third control corresponds to by the icon and / or name displayed in the third control, and then determine whether to drag the data to be shared into the third control during the drag-and-drop sharing process. In a specific embodiment, the third control can be a floating ball.
[0037] In a second aspect, the present application provides an electronic device comprising one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code comprises computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the method described in the first aspect and any possible implementation of the first aspect.
[0038] In a third aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device, and the chip system includes one or more processors, which are used to call computer instructions to enable the electronic device to execute the method described in the first aspect and any possible implementation method of the first aspect.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0040] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0041] It is understandable that the electronic device provided in the second aspect, the chip system provided in the third aspect, the computer storage medium provided in the fourth aspect, and the computer program product provided in the fifth aspect are all used to perform the methods provided in this application. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figures 1A-1N are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0043] Figures 2A-2I are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0044] 3A-3H are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0045] 4A-4I are another set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0046] 5A-5D are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0047] 6A-6I are user interfaces for implementing cross-application data transmission in a set of printing scenarios provided by an embodiment of the present application;
[0048] 7A-7B are a set of user interfaces for setting print styles provided in an embodiment of the present application;
[0049] 8A-8C are schematic diagrams of hot zones for enabling smart flow in an electronic device 100 according to an embodiment of the present application;
[0050] FIG8D is a schematic diagram of hot zones for shutting down smart flow of the electronic device 100 provided in an embodiment of the present application;
[0051] FIG9 is a flowchart of cross-application data transmission provided by an embodiment of the present application;
[0052] FIG10 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0054] In current cross-application data transfer scenarios, after a user selects data to be transferred in one application, they must exit that application, open another application, and then paste the data into the other application. This cumbersome operation provides a poor user experience.
[0055] In view of this, an embodiment of the present application provides a method for transmitting data across applications, which can be applied to electronic devices such as mobile phones and tablet computers (denoted as electronic device 100).
[0056] In this method, the electronic device 100 can generate corresponding operation controls after obtaining text, pictures, videos, and documents waiting to be transmitted. After detecting that the user drags a preset operation control into a preset hot zone, the electronic device 100 can trigger a smart flow service and display one or more application icons that match the data to be transmitted corresponding to the above operation control and can receive the above data to be transmitted. Furthermore, after detecting that the user continues to drag the above operation control into the area where any application icon is located and releases it, the electronic device 100 can send the data to be transmitted corresponding to the above operation control to the application (target application) corresponding to the above selected application icon, providing users with fast, convenient and smooth cross-application data transmission services.
[0057] After executing Smart Transfer, the electronic device 100 may display a floating ball corresponding to the target application. While the floating ball is still displayed on the screen, the electronic device 100 can, based on the user's operation of dragging the operating control to the hot zone of the floating ball, send the data to be transferred corresponding to the operating control to the application corresponding to the floating ball, achieving faster and more convenient cross-application data transmission.
[0058] The electronic device 100 is not limited to mobile phones and tablet computers. It can also be a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device and / or a smart city device. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.
[0059] FIG1A-FIG1N are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application.
[0060] FIG1A is a user interface provided in an embodiment of the present application.
[0061] The application that provides the user interface can be a system application or a third-party application. In the embodiment of the present application, a system application refers to an application directly provided by the operating system of the electronic device 100 for implementing a specific function. A third-party application refers to an application provided by other developers and obtained by the electronic device 100 through the Internet for implementing a specific function.
[0062] As shown in FIG1A , the user interface may include data such as text, images, etc. The user may obtain the above data through one or more touch operations on the screen, and filter out target data that the user wants to forward to other applications from the above data.
[0063] For example, referring to Figure 1A, the electronic device 100 can detect a long press operation on the text on the screen. In response to the above operation, the electronic device 100 can obtain the text in the user interface shown in Figure 1A for the user to copy. It is not limited to a long press operation, but can also be a double-click operation, a sliding operation with a preset specific trajectory, and other user operations. The embodiment of the present application is not limited to this. Then, the electronic device 100 can detect a specific user operation of selecting text, that is, a filtering operation. The electronic device 100 can determine the target text that the user wants to forward to other applications based on the above filtering operation. Referring to Figure 1B, for example, the electronic device 100 can determine the target text 111 that the user wants to forward to other applications based on all the extracted text.
[0064] 1C-1D , after determining target text 111, electronic device 100 may detect a long press operation on target text 111. In response to this operation, electronic device 100 may display a suspended control 112, i.e., a draggable control 112. The suspended control may adjust its display position in real time as the user drags the screen.
[0065] In some embodiments, the point of contact between the user's finger and the screen during the long press operation corresponds to the midpoint of the upper edge of the control 112. In other embodiments, the point of contact between the user's finger and the screen corresponds to the midpoint, the midpoint of the lower edge, the lower right corner, etc. of the control 112. This embodiment of the present application is not limited to this.
[0066] Optionally, the target text 111 may be displayed in the control 112. In some embodiments, when the target text 111 is long, the control 112 may display part of the target text 111, such as the first sentence of the target text 111 or a summary of the target text 111.
[0067] Referring to Figures 1D-1E , electronic device 100 may detect a user operation in which a control 112 is dragged and slid toward the right edge of the screen. Upon detecting that control 112 is approaching the right edge of the screen, electronic device 100 may display a light bar 113. Light bar 113 may be used to alert the user that control 112 has approached the right edge of the screen. At this point, the user may decide to continue swiping right to trigger the service corresponding to the right edge of the screen, or to stop swiping right to avoid triggering the service corresponding to the right edge of the screen.
[0068] Specifically, the electronic device 100 can set a right-side hot zone. A hot zone refers to a touch area of a fixed shape and size on the screen. The right-side hot zone is a rectangular touch area extending from the right edge of the screen to the other side. The electronic device 100 can determine whether the control 112 is close to the right side of the screen by the distance between the position of the current finger touch point on the screen and the right-side hot zone. Furthermore, when it is recognized that the current touch point is within the right-side hot zone, the electronic device 100 can determine to trigger the service corresponding to the right side of the screen.
[0069] In some embodiments, the electronic device 100 also detects the length of time the touch point remains in the right hot zone to prevent accidental touches. In this case, the trigger condition becomes: when the touch point is identified as being in the right hot zone and the dwell time reaches a preset time (e.g., 600ms), the electronic device 100 may determine to trigger the service corresponding to the right side of the screen.
[0070] Referring to the control 112 shown in FIG. 1D to FIG. 1E , while the control 112 is being dragged and slid, the electronic device 100 may reduce the size of the control 112 to reduce obstruction of other content on the screen.
[0071] In an embodiment of the present application, the service corresponding to the right side hot zone may be a smart flow service. Smart flow service refers to matching applications that can receive data to be transmitted, and providing users with a service to quickly send data to be transmitted to other target applications. The data to be transmitted includes but is not limited to text, pictures, videos, documents, hyperlinks, etc. The electronic device 100 can determine the data to be transmitted based on the operating control when the smart flow is triggered. For example, in the scenario shown in Figures 1D-1E where the drag control 112 is slid right into the right side hot zone to trigger the smart flow, the control 112 can be called an operating control, and the target text 111 corresponding to the control 112 can be called data to be transmitted.
[0072] After triggering the smart transfer, the electronic device 100 may display a snackbar on the right side of the screen that includes one or more candidate application icons. Candidate applications are applications that the electronic device 100 has selected from all installed applications and that can receive the data to be transmitted. The electronic device 100 may determine candidate applications based on the information type and semantic information of the data to be transmitted. The matching strategy for determining candidate applications based on information type and semantic information will be described in detail later and will not be expanded here.
[0073] Referring to FIG1F , illustratively, the electronic device 100 may display a menu bar 114. The menu bar 114 may include a favorites icon, a search icon, a share icon, a note icon, a text message icon, a shopping icon, a print icon, an email icon, and the like. When the menu bar 114 is triggered to display, the control 112 may block the application icon displayed in the menu bar 112. At this time, referring to FIG1F , the user may drag the control 112 to the left for a distance to release the blockage of the application icon displayed in the menu bar 114 by the control 112. After displaying the menu bar 114, the user may determine all candidate applications that can receive the data to be transmitted through the icons displayed in the menu bar 114, and then determine the target application to receive the data to be transmitted from the above candidate applications. For example, the user may select the note application as the target application to receive the data to be transmitted.
[0074] At the same time, the electronic device 100 can adjust the original user interface to a right perspective style, which together with the menu bar 114 creates an "opening door" animation effect, thereby enhancing the user experience.
[0075] The electronic device 100 can determine that the application corresponding to any candidate application icon is the target application by detecting that the user drags the control 112 to any candidate application icon. Specifically, after detecting that the user drags the control 112 to the right hot zone, triggering the smart flow and displaying the menu bar 114, the user can continue to drag the control 112 to any candidate application icon and release it. Referring to Figures 1F-1G, the electronic device 100 can detect the user operation of continuing to drag the control 112 to the note application icon and releasing it. Therefore, the electronic device 100 can confirm that the note application is the target application.
[0076] In some embodiments, dragging a control (such as the control 112) to an icon (such as the note icon) requires that the touch point of the drag operation be within the icon. In other embodiments, the electronic device 100 may set a receiving area that completely contains the icon, and the area of the receiving area is larger than the area of the icon. In this case, dragging a control to an icon may only require that the touch point of the drag operation be within the receiving area.
[0077] Subsequently, the electronic device 100 may write the data to be transmitted (i.e., the target text 111) corresponding to the control 112 into the note application. After detecting that the control 112 has been dragged to the note application icon, the electronic device 100 may highlight the note application icon, for example, by increasing its size or changing its color, to prompt the user that the note application is currently selected as the target application to avoid accidental transmission.
[0078] 1H , after writing the target text 111 into the note application, the electronic device 100 may close the menu bar 114 of the smart transfer service and redisplay the original user interface.
[0079] In this embodiment of the present application, electronic device 100 may also display control 117. Control 117 is also referred to as floating ball 117. In the scenario where the target application is a note-taking application, floating ball 117 corresponds to the note-taking application. Floating ball 117 is also referred to as the note-taking application's floating ball. Subsequently, the user can use floating ball 117 to achieve faster and more convenient smart transfers, sending subsequent user-determined data to be transmitted to the note-taking application.
[0080] As shown in FIG1H , the floating ball 117 may also include prompt information, such as “Written”, to prompt the user that the transfer is successful, that is, the target text 111 corresponding to the above-mentioned operation control 112 has been successfully sent to the selected note application.
[0081] In the user interface shown in FIG1H , electronic device 100 can also detect user operations on floating ball 117, such as clicks. In response to these operations, electronic device 100 can enter the note-taking application and display the user interface of the note-taking application. This allows the user to quickly enter the target application and further edit and use the data written through Smart Flow in the target application.
[0082] The floating ball control includes two display forms: an expanded state (also called a complete style) and a thumbnail state (also called an incomplete style). The display area corresponding to the expanded state is larger, and more information can be displayed, while also blocking the screen more. The floating ball 117 shown in Figure 1H is in an expanded state. When the expanded floating ball starts to be displayed, the electronic device 100 can set a timer corresponding to the expanded floating ball. The timing duration of the timer is preset, for example, 5 seconds. After the above timing duration ends and no user operation acting on the expanded floating ball is detected, the electronic device 100 can change the expanded floating ball to a thumbnail floating ball to reduce the blocking of the screen, refer to Figure 1I. The above-mentioned expanded state (ie, complete style) is also called the first style, and the thumbnail state (ie, incomplete style) is also called the second style.
[0083] Referring to Figures 1J-1L , after being adjusted to the thumbnail state, electronic device 100 can detect a user operation on floating ball 117, such as a click. In response to this operation, electronic device 100 can adjust floating ball 117 from the thumbnail state to the expanded state again and further display window 119 showing the data written by the aforementioned smart flow operation (e.g., target text 111). The user can preview part or all of the written data through window 119.
[0084] After displaying window 119 for a period of time, or upon detecting a user operation to close window 119, electronic device 100 may close window 119, restore display of floating ball 117 shown in FIG1K , and adjust the display to a thumbnail state after the timer expires to reduce screen obstruction. For example, the user operation to close window 119 may be a click operation outside window 119.
[0085] In some embodiments, after triggering the smart flow and displaying the menu bar, the electronic device 100 may also close the menu bar and the smart flow according to user operations.
[0086] In one embodiment, the operation to close Smart Flow can be set as the operation of dragging the operating control to the other side opposite the menu bar. For example, after triggering Smart Flow and displaying menu bar 114 as shown in Figure 1F, referring to Figures 1M-1N, electronic device 100 may detect the user operation of dragging control 112 to the left side of the screen. Then, electronic device 100 may close menu bar 114, close Smart Flow, and display the user interface that was displayed on electronic device 100 before triggering Smart Flow.
[0087] In some embodiments, the electronic device 100 may also be configured with a left-side hotspot. The user may also drag the control left to enter the left-side hotspot, triggering smart transfer and obtaining cross-application data transfer services. At this point, the menu bar 114 shown in FIG. 1F , including one or more candidate application icons, may be displayed on the left side of the screen, and the electronic device 100 may adjust the original user interface to a left-perspective style.
[0088] The electronic device 100 is not limited to the right side hot zone and the left side hot zone. Other hot zones may be set, and this embodiment of the present application does not limit this. The hot zones set to trigger the smart flow, such as the right side hot zone and the left side hot zone, are also called smart flow hot zones.
[0089] After executing a smart flow shown in Figures 1A to 1I, the electronic device 100 can provide users with a more convenient service of transmitting data to the same target application (note application) through the floating ball 117.
[0090] Referring to Figures 2A-2B , electronic device 100 may again detect the user selecting target text 211. In response to this, electronic device 100 may display a floating control 212 corresponding to target text 211. Referring to Figures 2B-2D , electronic device 100 may detect the user dragging control 212 to the area where floating ball 117 is located and releasing it. Electronic device 100 may then send target text 211 corresponding to control 212 to the note-taking application, thereby enabling more convenient cross-application data transfer.
[0091] While displaying the control 212, the electronic device 100 may change the thumbnail floating ball 117 to an expanded state to prompt the user that the note application corresponding to the floating ball 117 is available to receive the target text 211 corresponding to the control 212. The expanded floating ball 117 can correspond to a larger receiving hotspot, which helps reduce the precision requirements of the user's dragging operation and provide the user with a smoother operating experience.
[0092] In some embodiments, the electronic device 100 may also detect the distance between the control 212 and the floating ball 117. When it is detected that the distance between the control 212 and the floating ball 117 continues to decrease, that is, when the control 212 approaches the floating ball 117, the electronic device 100 may extend the floating ball 117, that is, change the floating ball 117 from a contracted state to an extended state.
[0093] Referring to Figure 2E , after writing data to the note-taking application again, electronic device 100 may display control 118 on floating ball 117. Control 118 is not limited to a circular ball and may also be a graphic of other styles. Control 118 may be used to indicate that new data has been written to the note-taking application, prompting the user to review the newly written data. Alternatively, electronic device 100 may indicate that new data has been written to the note-taking application by changing the color of floating ball 117, for example, although this embodiment of the present application is not limited thereto.
[0094] After detecting that the user drags control 212 to the area where floating ball 117 is located and releases it, i.e., when writing data to the note application again, electronic device 100 may start a timer for expanded floating ball 117. After the timer expires and no user operation is detected on expanded floating ball 117, electronic device 100 may change expanded floating ball 117 to a thumbnail floating ball 117, as shown in FIG2F.
[0095] 2G-2H , the electronic device 100 may detect a user operation on the thumbnail floating ball 117, such as a click operation. In response to the above operation, the electronic device 100 may first switch the thumbnail floating ball 117 to the expanded state, and then the electronic device 100 may display a window 213. The data written to the note application through the cross-application transmission may be displayed in the window 213. The user can preview part or all of the written data through the window 213, such as the target text 111 (AAAA...AAA) written for the first time, and the target text 211 (CCCC...CCC) written for the second time.
[0096] In some embodiments, the electronic device 100 may continue to write the received data and previously received data into a single note. In other embodiments, the electronic device 100 may also recreate another note and write the newly received data into the newly created note. Furthermore, the electronic device 100 may also determine whether to create a new note based on which application the data comes from. For example, when the currently transmitted data comes from a different application than the previously transmitted data, the electronic device 100 may create a new note. In this case, window 213 may only display the data written in the new note.
[0097] In some embodiments, after detecting a user operation outside of window 213, electronic device 100 may close window 213 and redisplay the thumbnail floating ball 117, as shown in FIG2G . Alternatively, electronic device 100 may first display the expanded floating ball 117, as shown in FIG2I . Then, after the timer expires and no user operation is detected on the expanded floating ball 117, electronic device 100 may switch the expanded floating ball 117 to the thumbnail state.
[0098] Not limited to text, users can also obtain other types of data such as pictures, videos, documents, hyperlinks, etc. in the currently displayed user interface, and send the above data to other applications through intelligent flow.
[0099] Taking an image as an example, referring to Figures 3A-3B , the electronic device 100 may detect a long press operation on an image 311 displayed on the screen. In response to this operation, the electronic device 100 may determine that image 311 is data to be transmitted and, at the same time, display a draggable control 312 corresponding to image 311. Referring to Figures 3B-3D , the electronic device 100 may detect that the user has dragged control 312 to the area where the floating ball 117 is located and released it. The electronic device 100 may then send the image 311 corresponding to control 312 to the note-taking application.
[0100] 3E-3F , after writing, the electronic device 100 may detect a click operation on the hover ball 117. Subsequently, the electronic device 100 may display a window 213 for displaying the written data. As shown in FIG3F , the data written in the window 213 also includes an image 311.
[0101] 3G , in some embodiments, after detecting a click operation on the floating ball 117 , the electronic device 100 may further display a window 214 . Window 214 may display various types of data written across application transfers, such as target text 111 , target text 211 , and image 311 . At the same time, window 214 may further include controls 215 , 216 , 217 , and 218 . Control 215 may be used to expand and display the data in window 214 . After detecting a user operation on control 215 , the electronic device 100 may display the data in window 214 in full screen, as shown in FIG 3H . Control 216 may be used to close window 214 and redisplay the floating ball. Control 217 may be used to close window 214 and turn off the floating ball. Control 218 may be used to drag and change the display position of window 214 .
[0102] In the above embodiment, the user interface shown in Figure 1A can be referred to as the first interface, the operation of selecting the target text 111 shown in Figure 1B can be referred to as the operation of selecting the first text, the target text can be referred to as the first data, and the control 112 can be referred to as the first control. The area corresponding to the smart flow hot zone can be referred to as the first area. The icons of any two different applications in the menu bar 114 can be referred to as the icon of the first application and the icon of the second application. For example, the note application can be referred to as the first application, and its icon can be referred to as the icon of the first application. At this time, the floating ball 117 of the note application can be referred to as the third control. The target text 211 shown in Figure 2A can be referred to as the second data, and the control 212 can be referred to as the second control.
[0103] 3A , the user may also choose to share an image, such as picture 311. In this case, the first data and the second data may also be image-type data.
[0104] The control 118 shown in FIG. 2E may be referred to as a first indicator.
[0105] The window 119 shown in FIG. 1L may be referred to as a third window, and the window 213 shown in FIG. 2H may be referred to as a fourth window.
[0106] In some embodiments, after determining the target application to receive the data to be transmitted from the menu bar, the electronic device 100 may further display a window provided by the target application. The window may display one or more options. The user may set the usage of the target data (i.e., the data to be transmitted) in the target application based on the one or more options. The target application may then process the target data in accordance with the usage set by the one or more options.
[0107] 4A-4B , after triggering the smart flow, the electronic device 100 may detect a user operation of dragging the control 112 to the message icon and releasing it. The message icon corresponds to a message application. The message application can be used for instant messaging.
[0108] 4C , in response to the above operation, the electronic device 100 may display a window 411 (also referred to as a settings window, and the page displayed in the window is also referred to as a settings page). One or more contact options may be displayed in the window 411. The user may select any one of the one or more contact options as the target contact. For example, the electronic device 100 may detect a user operation of clicking on the contact option "Henry". Based on the above operation, the electronic device 100 may determine that the contact "Henry" is the target contact. Then, the electronic device 100 may send the target text 111 corresponding to the above control 112 to "Henry" based on the instant messaging function provided by the information application.
[0109] 4D , the electronic device 100 may then display a floating ball 412 of the messaging application. The floating ball 412 may display an application icon for the messaging application. After the target text 111 is successfully sent to the target contact, a prompt message indicating successful sending, such as "Sent," may be displayed in the floating ball 412.
[0110] After Figure 4D, in some embodiments, if an operation of dragging the data to be transmitted into the floating ball 412 is detected, the electronic device 100 may display the settings page shown in window 411 again for the user to set a new target contact, thereby instructing the information application to send the newly received data to the new target contact.
[0111] 4E-4G , the electronic device 100 may perform a long press operation on the picture 311 displayed on the screen. In response to the above operation, the electronic device 100 may determine that the picture 311 is data to be transmitted, and at the same time, the electronic device 100 may display a draggable control 312 corresponding to the picture 311. The electronic device 100 may extend a floating ball 412. Then, the electronic device 100 may detect the user's operation of dragging the control 312 to the area where the floating ball 412 is located and releasing it. At this time, referring to FIG4H , the electronic device 100 may display a window 413. Window 413 also includes one or more contact options. The one or more contact options displayed in window 413 may be different from the one or more contact options displayed in window 411. At this time, the user can choose through window 413 to continue sending the new data to be transmitted (picture 311) to the previously determined target contact (e.g., "Henry"), or can choose to send the new data to be transmitted to other contacts (e.g., "Lucy", "David"), etc.
[0112] 4H-4I , after determining the new target contact "David," electronic device 100 can send image 311 corresponding to operation control 312 to "David" using the instant messaging function provided by the messaging application. Similarly, after successfully sending image 311 to the target contact, a prompt message "Sent" can be displayed in floating ball 412 indicating successful sending.
[0113] In the above embodiment, window 411 may be referred to as the first window, and the contact "Henry" selected by the user may be referred to as the first contact. Window 413 may be referred to as the second window, and the contact "David" selected by the user may be referred to as the second contact.
[0114] In some embodiments, after determining the target application (messaging app) and the target contact ("Henry") through intelligent transfer, electronic device 100 may mark the target contact as the default contact. Upon detecting that the user has dragged an action control onto the messaging app's floating ball and released it, electronic device 100 may, by default, send the data to be transmitted corresponding to the action control to the default contact. At this point, electronic device 100 no longer needs to display the settings window shown in window 413. The user also does not need to repeatedly select the target contact.
[0115] As shown in Figures 4A to 4C, after determining the target application (information application) through smart flow and determining the target contact ("Henry"), the electronic device 100 may mark the target contact "Henry" as the default contact. At this time, the electronic device 100 may display the user interface shown in Figure 5A. Referring to Figure 5A, the electronic device 100 may display a floating ball 510 corresponding to the information application. The floating ball 510 may include an icon 511 indicating the default contact ("Henry") and an icon 512 indicating the target application (information application). Among them, icon 511 may be an application icon for the information application, and icon 512 may be an avatar of the default contact. Icon 512 may be displayed overlappingly in the lower right corner of icon 511. The display area of icon 511 is larger than that of icon 512.
[0116] At this time, if the user operation of dragging new data to be transmitted into the information application floating ball as shown in Figures 4E and 4G is detected, the electronic device 100 can directly determine to continue sending the new data to be transmitted to the previously determined default contact "Henry".
[0117] It can be understood that, in this embodiment, the electronic device 100 also supports the user to modify the default contact to meet the user's need to change the target contact at any time.
[0118] First, referring to Figure 5B, after a transmission is completed, that is, after the prompt message "Sent" is displayed, the electronic device 100 can change the prompt message in the floating ball 510 to the default contact "Henry" to prompt the user to quickly and conveniently send information to the default contact "Henry" through the floating ball 510.
[0119] Referring to Figure 5C, electronic device 100 may detect a click operation on floating ball 510. In response to this operation, electronic device 100 may display window 513 including other contacts. At this time, after detecting a user operation on another contact option, electronic device 100 may update the default contact to the new target contact selected by the operation. For example, electronic device 100 may detect a user operation of clicking the contact option "David." In response to this operation, electronic device 100 may update the default contact to "David."
[0120] Then, electronic device 100 may display the user interface shown in FIG5D . At this point, the icon indicating the default contact in floating ball 510 may change from original icon 511 to icon 514 . Icon 514 may be the avatar of the new default contact. Thus, upon subsequent detection of a user operation of dragging new data to be transmitted into the messaging app floating ball as shown in FIG4E-4G , electronic device 100 may directly determine to send the new data to be transmitted to the updated default contact "David."
[0121] The cross-application data transmission method described in the above embodiment can also be applied in printing scenarios. In this case, users can repeatedly drag the data to be transferred to the print floating ball to quickly and conveniently send the data such as documents and images to be printed to the application that provides the printing function, and then send it to the printing device for printing.
[0122] 6A-6I are user interfaces for implementing cross-application data transmission in a set of printing scenarios provided by an embodiment of the present application.
[0123] Figure 6A may represent a chat interface. The application providing this chat interface may be, for example, the messaging application described above. Electronic device 100 may receive one or more documents through the messaging application. As shown in Figure 6A , the interface may include controls 611 and 612. Control 611 may indicate a document received by electronic device 100, such as "Abc.pdf." Control 612 may indicate another document received by electronic device 100, such as "De.pdf."
[0124] 6A-6B , the electronic device 100 may detect a user operation acting on the control 611. In response to the above operation, the electronic device 100 may display the control 613. Then, the electronic device 100 may detect the user's operation of dragging the control 613 into the right side hot zone. Referring to FIG6C , in response to the above operation, the electronic device 100 may trigger the smart flow and display the menu bar 614. After identifying the document type of data to be transmitted, the electronic device 100 may match an application that provides printing services, such as a printing application. As shown in FIG6C , at this time, the application icon of the printing application (referred to as the print icon) may be displayed in the menu bar 614.
[0125] Referring to Figure 6D , electronic device 100 may detect that the user continues to drag control 613 to the print icon and releases it. In response to this operation, electronic device 100 may determine that the print application is the target application. Electronic device 100 may send the document "Abc.pdf" corresponding to control 613 to the print application. Simultaneously, referring to Figure 6E , electronic device 100 may display window 615. Window 615 is also known as the settings window. Window 615 may display one or more parameter setting options, such as printer, color, range, page, etc. The user can use these options to set a specific print style.
[0126] Window 615 also includes controls 616, 617, and 618. Control 616 can be used to indicate that the print style corresponding to one or more of the aforementioned parameter setting options is set as the default print style. After detecting a user operation on control 618, the printing application controls the printer to print the document "Abc.pdf" using the default print style. Conversely, after detecting a user operation on control 617, the printing application cancels printing of the received document "Abc.pdf."
[0127] 6F , after detecting a user operation on control 618, electronic device 100 may display a floating ball 619 corresponding to a printing application. The floating ball 619 may display a print icon and a prompt message “Printing” to allow the user to understand the printing progress.
[0128] After completing one transmission, the electronic device 100 can again detect the user's operation of determining the data to be transmitted and dragging it to transfer. Referring to Figure 6G, the electronic device 100 can detect the user's operation of dragging another operation control 621 to the floating ball 619 and releasing it. The control 621 corresponds to another data to be transmitted selected by the user: the document "De.pdf". At this time, the electronic device 100 can directly send the document "De.pdf" corresponding to the control 621 to the printing application. After receiving the above document, the printing application can continue to control the printer to print the document "De.pdf" according to the above default printing style.
[0129] At this time, the electronic device 100 does not need to display the setting window shown in the window 615. The user also does not need to repeatedly set the printing parameters.
[0130] It is understandable that, in this embodiment, the electronic device 100 may also support the user to modify the default print style to meet the user's need to change the print style at any time according to the characteristics of the file to be printed.
[0131] 6H-6I , electronic device 100 may detect a click operation on hover ball 619. In response to this operation, electronic device 100 may display settings window 615. Then, electronic device 100 may detect user operations on one or more parameter setting options in settings window 615 and modify the default print style based on these operations. For example, electronic device 100 may detect a user operation to change color parameters from black and white to color, or a user operation to change page parameters from simplex printing to binocular printing, etc.
[0132] After detecting a user action on control 618, electronic device 100 may select and generate a new default print style based on the updated parameter settings. The color and page settings in the new default print style are updated from the original black and white, single-sided printing to color, double-sided printing. When a subsequent user action is detected, such as dragging the floating ball onto the print application as shown in FIG6G , to insert new data to be printed, electronic device 100 may directly print the new data to be printed based on the new default print style.
[0133] In some embodiments, the electronic device 100 may display a setting window after sending data to be transmitted to the printing application each time, thereby supporting the user to set a printing style for the data to be printed.
[0134] 7A-7B , electronic device 100 may detect a user operation on control 616. In response to this operation, electronic device 100 may display control 622. Control 622 may indicate that a default print style is not set. Each time a user operation is detected in which the hovering ball (shown in FIG. 6G ) is dragged into the print application to add new data to be printed, electronic device 100 may display settings window 615 for the user to set the printing method in real time.
[0135] In the printing scenario, in some embodiments, the electronic device 100 may further set another timer. The timing duration of the above timer is preset, for example, 30 seconds. After detecting the operation of dragging the data to be printed into the printing application floating ball as shown in Figure 6G, the electronic device 100 may start the above timer. Before the above timer expires, if another operation of dragging the data to be printed into the printing application floating ball is detected, the electronic device 100 may print the newly received data to be printed according to the last printing style. If the electronic device 100 detects another operation of dragging the data to be printed into the printing application floating ball after the above timer expires, the electronic device 100 may redisplay the settings window to provide the user with an opportunity to modify the printing style.
[0136] In the above embodiment, the window 615 shown in FIG6E may be referred to as the first window, and the print style determined based on the print parameters currently set in the window may be referred to as the first print style. The window 615 displayed again as shown in FIG6I may be referred to as the second window, and the print style determined based on the re-set print parameters displayed in the current window may be referred to as the second print style.
[0137] Not limited to the note-taking, instant messaging, and printing scenarios shown in the above embodiments, the cross-application data transmission method provided in this application can also be applied to shopping, travel, and other scenarios.
[0138] For example, in a shopping scenario, electronic device 100 can determine product information, including but not limited to the product name, based on user operations. Then, through intelligent flow, it can quickly retrieve a shopping application that can receive the product information and send the product information to the target shopping application. The shopping application can then search for matching products based on the product information and display the searched products to the user for selection.
[0139] FIG8A is a schematic diagram of hot zones for enabling smart flow in the electronic device 100 provided in an embodiment of the present application.
[0140] A specific touch area preset in the screen is called a hot zone. Referring to the above introduction, the electronic device 100 can set one or more hot zones for triggering the intelligent flow, such as the right side hot zone and the left side hot zone. As shown in Figure 8A, the right side hot zone is a rectangular touch area extending from the right side of the screen to the left. Correspondingly, the left side hot zone is a rectangular touch area extending from the left side of the screen to the right. Exemplarily, the width of the screen is x, and the extended length can be 1 / 10 of the width of the screen, that is, 1 / 10x.
[0141] During the drag operation, when the user's finger and the touch point of the screen enter the right side hot zone or the left side hot zone (smart flow hot zone), the electronic device 100 can trigger the smart flow.
[0142] After the hover ball control is generated, the hot zone of the electronic device 100 also includes a hover ball hot zone. The hover ball hot zone corresponds to the display position of the hover ball on the screen. In some embodiments, the area of the hover ball hot zone can be larger than the display area of the hover ball on the screen to reduce the accuracy of the user's touch operation.
[0143] Taking the floating ball displayed in the upper right corner of the screen as shown in the aforementioned user interface as an example, the floating ball hot zone can be set in the upper right corner of the screen accordingly. Referring to Figure 8B, illustratively, the right side of the floating ball hot zone overlaps with the right side of the screen. The distance between the center point C of the floating ball hot zone and the upper edge of the screen is 1 / 5 of the screen length, that is, 1 / 5y; the distance between the center point C and the upper edge of the floating ball hot zone is 1 / 10y; and the distance between the center point C and the right side of the screen is 1 / 4 of the screen width, that is, 1 / 4x.
[0144] Of course, the floating ball can also be set at other positions on the screen, usually near the left / right edge. Correspondingly, the floating ball hot zone can also be set at other positions on the screen, and this embodiment of the application does not limit this.
[0145] In some embodiments, the hover ball hot zone is close to the left / right side but does not overlap with the left / right side hot zone.
[0146] In other embodiments, the hover ball hot zone is close to the left / right side and overlaps with the left / right side hot zone, as shown in Figure 8B. In this case, when the smart flow hot zone overlaps with the hover ball hot zone, the hover ball hot zone is valid within the overlapping area, while the smart flow hot zone is invalid. That is, when the user's finger touches the screen within the overlapping area, the smart flow hot zone is not triggered.
[0147] Referring to Figure 8C , the large circle represents the Smart Flow hotspot (corresponding to the left and right edge hotspots in Figure 8B ), and the small circle represents the hover ball hotspot. If the Smart Flow hotspot overlaps with the hover ball hotspot, and the user's finger touches the screen within the overlapping hotspot, Smart Flow is not triggered, and the electronic device 100 does not display the menu bar containing one or more application icons.
[0148] FIG8D is a schematic diagram of hot zones for shutting down smart flow of the electronic device 100 provided in an embodiment of the present application.
[0149] The left-side closing hot zone shown in FIG8D (a) may represent the hot zone for closing the smart flow of the electronic device 100 in the scenario where the smart flow is triggered by the right-side hot zone. For example, the width of the left-side closing hot zone may be 1 / 2 of the screen width. In conjunction with the user interfaces shown in FIG1M-FIG1N, after triggering the smart flow, when it is detected that the user drags the operation control into the other side closing hot zone, the electronic device 100 may close the menu bar corresponding to the smart flow, close the smart flow, and restore the display of the original application interface.
[0150] The right-side hot zone shown in FIG8D (b) may indicate that the electronic device 100 turns off the hot zone for smart flow when the smart flow is triggered by the left-side hot zone. Similarly, the width of the right-side hot zone can be 1 / 2 of the screen width, which will not be repeated here.
[0151] FIG9 is a flowchart of cross-application data transmission provided by an embodiment of the present application.
[0152] S101. The electronic device 100 displays a first interface.
[0153] S102: The electronic device 100 determines first data to be transmitted according to a detected preset user operation, and displays a first control corresponding to the first data to be transmitted.
[0154] S103. The electronic device 100 detects a user operation of dragging the first control into the smart flow hot zone.
[0155] S104: triggering the smart flow, and the electronic device 100 displays one or more application icons.
[0156] S105 . The electronic device 100 detects a user operation of continuing to drag the first control into the first icon and releasing the control, where the first icon is any one of one or more application icons displayed on the electronic device 100 .
[0157] S106. The electronic device 100 sends the first data to be transmitted corresponding to the first control to the first application corresponding to the first icon.
[0158] S107 : The electronic device 100 displays a first floating ball of a first application.
[0159] S108. The electronic device 100 determines the second data to be transmitted according to the detected preset user operation, and displays a second control corresponding to the second data to be transmitted.
[0160] S109: The electronic device 100 detects a user operation of dragging the second control into the first floating ball and releasing it.
[0161] S110. The electronic device 100 sends the second data to be transmitted corresponding to the second control to the first application.
[0162] The first interface can be any user page of any application provided by the electronic device 100. The aforementioned any application includes system applications and third-party applications. For example, referring to FIG1A , the first interface can be any browsing interface of a browser application installed on the electronic device 100; referring to FIG6A , the first interface can also be any chat interface of an information application that provides instant messaging services.
[0163] During the display of the first interface, the electronic device 100 may detect a preset specific user operation. Based on the preset user operation, the electronic device 100 may determine the data to be transmitted that may be used for smart transfer. At the same time, the electronic device 100 may display operation controls corresponding to the data to be transmitted on the screen, so that the electronic device 100 can detect whether the user intends to perform cross-application transfer through the operation controls.
[0164] 1A-1D , electronic device 100 may detect a long press operation on text on the screen, obtain the text in the user interface shown in FIG1A , and after detecting a specific user operation to select text, determine target text 111. Electronic device 100 may then display a draggable control 112 corresponding to target text 111. The target text 111 may be referred to as first data to be transmitted (i.e., first data), and the control 112 may be referred to as a first control.
[0165] 6A-6B , electronic device 100 may detect a click operation on control 611 and obtain the target document "Abc.pdf" corresponding to control 611. Then, electronic device 100 may display a draggable control 613 corresponding to the target document "Abc.pdf." The target document "Abc.pdf" may be referred to as the first data to be transmitted (i.e., the first data), and control 613 may be referred to as the first control.
[0166] The data to be transmitted is not limited to the text data shown in FIG. 1A to FIG. 1D and the document data shown in FIG. 6A to FIG. 6B , and may also be pictures, videos, hyperlinks, and the like.
[0167] The electronic device 100 can pre-define a specific touch area on the screen as a hotspot for triggering Smart Flow, such as the right and left hotspots described above. The electronic device 100 can detect the current location of the drag operation in real time and, based on the pre-determined hotspots, determine whether the user has dragged the control into the pre-determined hotspot, thereby determining whether the user intends to initiate Smart Flow.
[0168] When the electronic device 100 detects that the user has dragged the above-mentioned operation control into a preset hot zone, it can determine whether the user intends to perform smart transfer, and then the electronic device 100 can trigger the smart transfer. The electronic device 100 can determine that the text, picture, video, document, hyperlink, and other data corresponding to the operation control is the data to be transmitted. Furthermore, the electronic device 100 can determine the application that can receive the above-mentioned data to be transmitted, that is, the candidate application. The electronic device 100 can display the application icons of the above-mentioned candidate applications for the user to select, and then determine the target application to receive the data to be transmitted based on the user's selection operation.
[0169] 1E-1F , the electronic device 100 may detect the operation of dragging the control 112 rightward into the right side hot zone, and then the electronic device 100 may display a menu bar 114 . The menu bar 114 displays icons of multiple candidate applications that can receive the target text 111 .
[0170] 6C , the electronic device 100 may detect the operation of dragging the control 613 rightward into the right hot zone, and then the electronic device 100 may display a menu bar 614. The menu bar 614 displays icons of multiple candidate applications that can receive the target document "Abc.pdf".
[0171] After the candidate application icons are displayed, the user can continue to drag the operation control to an application icon and release it, and determine the target application to receive the data to be transferred based on the above operation. In response to the above operation, the electronic device 100 can send the data to be transferred to the above target application, thereby realizing cross-application data transmission.
[0172] Referring to Figure 1G , electronic device 100 may detect an operation of continuing to drag control 112 to a note icon and then releasing it. Based on this operation, electronic device 100 may determine that the target application is the note application corresponding to the note icon. Then, electronic device 100 may send target text 111 corresponding to control 112 to the note application. The note icon may be referred to as a first icon, and the note application may be referred to as a first application.
[0173] Referring to Figure 6D , electronic device 100 may detect an operation of continuing to drag control 613 to the print icon and releasing it. Based on this operation, electronic device 100 may determine that the target application is the print application corresponding to the print icon. Then, electronic device 100 may send the target document "Abc.pdf" corresponding to control 613 to the print application. The print icon may be referred to as the first icon, and the print application may be referred to as the first application.
[0174] In this embodiment of the present application, after completing one smart transfer, the electronic device 100 may display a floating ball control corresponding to the target application, also known as a third control. Subsequently, when multiple transfers to the same target application are required, the user may drag the operating control onto the floating ball control and release it, thereby more quickly and conveniently sending the data to be transmitted corresponding to the operating control to the target application.
[0175] Referring to Figures 1H to 1I, the electronic device 100 can display a floating ball control corresponding to the note application: floating ball 117. The floating ball 117 can be referred to as a first floating ball. Referring to Figures 2A to 2E, the electronic device 100 can detect a user operation of selecting a target text 211 and display a control 212 corresponding to the target text 211. The above-mentioned control 212 can be referred to as a second control, and the target text 211 corresponding to the control 212 can be referred to as the second data to be transmitted. Subsequently, the electronic device 100 can detect an operation in which the user drags the control 212 to the floating ball 117 and releases it. Thus, the electronic device 100 can send the new data to be transmitted (i.e., the target text 211) corresponding to the control 212 to the note application, thereby achieving faster and more convenient cross-application data transmission.
[0176] Referring to Figure 6F, the electronic device 100 may display a floating ball control corresponding to the printing application: floating ball 619. The floating ball 619 may be referred to as the first floating ball. Referring to Figure 6G, the electronic device 100 may display a control 621 corresponding to the target document "De.pdf". The above-mentioned control 621 may be referred to as the second control, and the target text "De.pdf" corresponding to the control 621 may be referred to as the second data to be transmitted. Subsequently, the electronic device 100 may detect that the user can drag the control 621 to the floating ball 619 and release it. Thus, the electronic device 100 may send the new data to be transmitted (i.e., the target document "De.pdf") corresponding to the control 621 to the printing application for printing, thereby achieving faster and more convenient cross-application data transmission.
[0177] Optionally, after determining the target application, the electronic device 100 may further display a settings interface. The settings interface may display one or more setting options. The user may use the one or more setting options to set how the target application uses the received data, that is, how the data to be transmitted is used in the target application.
[0178] 4A-4C , electronic device 100 may detect a user action in which a user drags control 112 onto a message icon and releases the control. Electronic device 100 may determine that the message application corresponding to the message icon is the target application. Electronic device 100 may then display window 411. The user interface corresponding to window 411 may be referred to as a settings interface. The one or more contact options within this interface may be referred to as settings options. The user may use the one or more contacts to specify the contact to receive target text 111.
[0179] Referring to Figure 6E , after determining that the printing application is the target application, electronic device 100 may display window 615. The user interface corresponding to window 615 may also be referred to as a settings interface. The options such as printer, color, range, and page in this interface may be referred to as settings options. The user may use the values of these settings options to set how the printing application prints the received target document "Abc.pdf."
[0180] Furthermore, when using the floating ball control for faster and more convenient smart transfer, the electronic device 100 can set the method for the printing application to print the received target document according to the value of the setting option obtained for the first time, without the user having to repeat the setting.
[0181] Referring to Figure 5A, after setting the default contact through window 411, after detecting the user operation of dragging the operation control to the floating ball 510, the electronic device 100 can send the data to be transmitted corresponding to the operation control to the information application by default, and further send the above data to the default contact through the information application without selecting the target contact.
[0182] In the method shown in Figures 6F and 6G, after detecting that the user has dragged control 621 to floating ball 619 and released it, electronic device 100 can send the target document "De.pdf" corresponding to control 621 to the printing application. The printing application can print the target document "De.pdf" according to the settings in window 615 without the user having to reconfigure parameters such as printer, color, range, page, etc.
[0183] In some embodiments, the electronic device 100 may also support the user to display a setting interface at any time and adjust the value of one or more setting options, thereby updating the method by which the target application uses the received data.
[0184] 5B-5D , electronic device 100 may detect a click operation on floating ball 510. In response to this operation, electronic device 100 may display window 513. At this point, the user can re-set the target contact using the contact options in window 513 and mark the newly selected target contact as the default contact. For example, the user may click "David." Based on this user operation, electronic device 100 may change the target contact from "Henry" to "David" and mark "David" as the default contact.
[0185] Referring to Figures 6H-6I , electronic device 100 may detect a click operation on hover ball 619. In response to this operation, electronic device 100 may display window 615. The user may then reconfigure the values of one or more setting options. For example, the user may change the color from black and white to color, or change the page printing from simplex to dual-sided printing. The printing application may then print the received target document according to the configured values.
[0186] As previously described, after triggering smart transfer and before displaying one or more candidate application icons, electronic device 100 may first determine candidate applications that can receive the data to be transmitted based on the information type and semantic information of the data to be transmitted. The following describes in detail the strategy by which electronic device 100 may determine candidate applications based on the information type and semantic information of the data to be transmitted.
[0187] Table 1 is a table of matching relationships between information types to be transmitted and candidate applications provided by an embodiment of the present application. After triggering smart transfer, the electronic device 100 can first determine the candidate applications that can receive the current data to be transmitted based on the matching relationships described in Table 1.
[0188] Table 1
[0189] First, candidate applications include both global applications and personalized applications. Global applications can receive any type of data to be transmitted, while personalized applications are only used to receive data of a specific type and with specific semantic information. In other words, when any type of data to be transmitted triggers intelligent flow, the corresponding candidate applications include all global applications and personalized applications that match the type and semantic information of the data to be transmitted.
[0190] As shown in Table 1, when the data to be transmitted, that is, the data corresponding to the operation control, is text, and the text includes address information, the candidate applications displayed in the menu bar 114 of the smart flow include all global applications: favorite applications, search applications, sharing applications, note applications, instant messaging applications, email applications, and matching personalized applications: navigation applications, taxi applications.
[0191] When the data to be transmitted is text, and the text includes film / performance information (such as "***concert", "***concert", "movie***"), the candidate applications displayed in the menu bar 114 of the smart flow include all global applications and matching personalized applications: ticket purchase applications. When the text includes product name / shopping password information (such as "**speaker", "**skirt"), the matching personalized applications include shopping applications. When the text includes food names (such as "barbecue", "hot pot"), the matching personalized applications include: catering applications, takeaway applications. When the text includes schedule information (such as "2023.01.01 9:30 morning meeting"), the matching personalized applications include: calendar applications.
[0192] When the data to be transmitted is an image, the personalized applications default to image editing applications. Furthermore, through image recognition, if the image to be transmitted contains address information, the personalized applications may also include navigation applications and taxi-hailing applications. If the image to be transmitted contains movie / performance information, the personalized applications may also include ticket purchasing applications. If the image to be transmitted contains product names / purchase passwords, the personalized applications may also include shopping applications. If the image to be transmitted contains food names, the personalized applications may also include restaurant applications and food delivery applications.
[0193] In particular, when the image is a screenshot, the screenshot may also carry an application identity identifier, namely an application ID (indicating the application in which the screenshot was taken). When matching personalized applications, the electronic device 100 may also determine the corresponding application based on the above application ID, and determine the above application as a candidate application, so that the user can quickly enter the application corresponding to the screenshot. For example, after receiving a screenshot with an application ID from a contact, the electronic device 100 may determine that the candidate applications include the application corresponding to the above application ID, such as a short video application. In this way, the user can quickly enter the above application, thereby quickly browsing the video corresponding to the above screenshot.
[0194] When the data to be transmitted is a video, personalized applications may include video editing applications and short video social networking applications. When the data to be transmitted is a document, personalized applications may include note-taking applications, printer applications, and calendar applications. When the data to be transmitted is a hyperlink, personalized applications may include browser applications.
[0195] Not limited to the matching strategies listed in Table 1, the electronic device 100 can also obtain more information from the content to be transmitted to determine candidate applications that can receive the content to be transmitted and have implementation scenarios, which will not be repeated here.
[0196] In summary, with the cross-application data transfer method provided by this application, users can trigger smart transfer by dragging an operating control to a designated hot zone. After triggering smart transfer, the electronic device 100 retrieves all applications that can receive the data to be transferred and displays corresponding icons for the user to select, thereby providing users with convenient and fast cross-application data transfer services.
[0197] After executing a smart transfer, the electronic device 100 can display a floating ball corresponding to the last target application. While the floating ball is still displayed on the screen, the electronic device 100 can send the data to be transmitted corresponding to the operation control to the application corresponding to the floating ball in response to the user's operation of dragging the operation control to the hot zone of the floating ball, realizing faster and more convenient cross-application data transmission.
[0198] FIG10 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application.
[0199] As shown in Figure 10, 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 charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0200] It should be understood that the structure illustrated in the embodiments of the present invention 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, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0201] 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 video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0202] The controller can generate an operation control signal based on the instruction operation code and the timing signal to complete the control of instruction fetching and execution. The processor 110 can also be provided with a memory for storing instructions and data.
[0203] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0204] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0205] In an embodiment of the present application, the electronic device 100 can display the user interfaces shown in Figures 1A-1N, 2A-2I, 3A-3H, 4A-4I, 5A-5D, 6A-6I, and 7A-7B through a GPU, a display screen 194, and an application processor.
[0206] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0207] The NPU is a neural network (NN) computing processor. In the embodiment of the present application, the electronic device 100 can use the NPU to identify and extract text in the image, obtain semantic information of the image, and then determine candidate applications based on the semantic information.
[0208] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The program code corresponding to the cross-application data transmission method provided in the embodiment of the present application may be stored in the NVM. When executing the above method, the electronic device 100 may load the program code stored in the non-volatile storage into the random access memory, and then read and execute it through the processor.
[0209] The external memory interface 120 can be used to connect to an external NVM to expand the storage capacity of the electronic device 100 .
[0210] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0211] The pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, the pressure sensor 180A can be set on the display screen 194. The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D can be used to detect the magnetic state, such as the opening and closing of a flip cover or a flip leather case. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The distance sensor 180F is used to measure the distance. The proximity light sensor 180G can detect that there are no objects near the electronic device 100. The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect the temperature.
[0212] The touch sensor 180K is also called a "touch device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass 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 an embodiment of the present application, the electronic device 100 can detect touch operations such as user clicking the screen, long pressing, double-clicking, and dragging on the screen through the touch sensor 180K.
[0213] The bone conduction sensor 180M can acquire vibration signals. The buttons 190 include a power button, a volume button, etc. The buttons 190 can be mechanical buttons. They generate key signal inputs related to user settings and function control of the electronic device 100.
[0214] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts or touch vibration feedback. For example, in an embodiment of the present application, when a floating operation control is displayed in response to a long press operation, the electronic device 100 can generate vibrations through motor 191 to provide stronger feedback to the user that the long press operation has been detected. Indicator 192 can be an indicator light. SIM card interface 195 is used to connect a SIM card.
[0215] The term "user interface (UI)" in the specification, claims and drawings of this application refers to the media interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of an application is a source code written in a specific computer language such as Java and Extensible Markup Language (XML). The interface source code is parsed and rendered on the terminal device, and finally presented as content that the user can recognize, such as pictures, text, buttons and other controls. Controls, also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, scroll bars, pictures and text. The properties and contents of controls in the interface are defined by tags or nodes, such as XML through <textview> 、 <imgview> 、 <videoview>The controls contained in the interface are specified by nodes such as <head> and <body>. A node corresponds to a control or attribute in the interface, and the node is presented as user-visible content after parsing and rendering. In addition, many applications, such as hybrid applications, usually also contain web pages in their interfaces. A web page, also known as a page, can be understood as a special control embedded in the application interface. A web page is a source code written in a specific computer language, such as hypertext markup language (HTML), cascading style sheets (CSS), JavaScript (JS), etc. The web page source code can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions to a browser. The specific content contained in a web page is also defined by tags or nodes in the web page source code, such as HTML through <body>. 、 、 <video> 、 <canvas>To define the elements and attributes of a web page.
[0216] A common form of user interface is the graphical user interface (GUI), which refers to a user interface related to computer operations that uses graphics. It can be an icon, window, control, or other interface element displayed on the display of an electronic device. Controls can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and other visual interface elements.
[0217] As used in the specification and appended claims of the present application, the singular expressions "a", "an", "said", "above", "the" and "this" are intended to include plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items. As used in the above embodiments, the term "when..." can be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...". Similarly, the phrase "when determining..." or "if (stated condition or event) is detected" can be interpreted to mean "if determining..." or "in response to determining..." or "when (stated condition or event) is detected" or "in response to detecting (stated condition or event)", depending on the context.
[0218] 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 process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk).
[0219] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.< / canvas> < / video> < / videoview> < / imgview> < / textview>
Claims
1. A data sharing method, characterized in that: Applied to electronic equipment, the method comprises: Detecting a first operation of dragging a first control into a first area on the screen; In response to the first operation, displaying an icon of the first application and an icon of the second application; detecting a second operation of continuing to drag the first control into the area where the icon of the first application is located and releasing the control; In response to the second operation, sharing the first data corresponding to the first control to the first application, and displaying a third control corresponding to the first application; Detecting a third operation of dragging the second control into the area where the third control is located and releasing it; In response to the third operation, the second data corresponding to the second control is shared to the first application.
2. The method according to claim 1, characterized in that Before detecting the first operation of dragging the first control into the first area on the screen, the method further includes: Displaying a first interface, wherein text is displayed in the first interface; A fourth operation of detecting a selection of a first text in the text; detecting a fifth operation acting on the first text; In response to the fifth operation, the first control is displayed, the first data includes the first text, and all or part of the first text is displayed on the first control.
3. The method according to claim 1, characterized in that Before detecting the first operation of dragging the first control into the first area on the screen, the method further includes: Displaying a first interface, wherein the first interface includes a first image; detecting a sixth operation on the first image; In response to the sixth operation, the first control is displayed, the first data includes the first image, and a thumbnail of the first image is displayed on the first control.
4. The method according to any one of claims 1 to 3, characterized in that: The displaying of the icon of the first application and the icon of the second application specifically includes: The icon of the first application and the icon of the second application are displayed on the right side or the left side of the screen, and the icon of the first application and the icon of the second application are arranged vertically.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to the second operation, the icon of the first application and the icon of the second application are stopped from being displayed.
6. The method according to any one of claims 1 to 5, characterized in that: After sharing the second data corresponding to the second control to the first application, the method further includes: A first identifier is displayed on the third control, where the first identifier is used to indicate that the second data has been shared.
7. The method according to any one of claims 1 to 6, characterized in that: The first application is an instant messaging application, and before displaying the third control corresponding to the first application, the method further includes: Displaying a first window, wherein a plurality of contact options are displayed in the first window; detecting a seventh operation acting on a first contact option among the plurality of contact options; In response to the seventh operation, determining a first contact corresponding to the first contact option; After sharing the first data corresponding to the first control to the first application, the method further includes: The first data is sent to the first contact.
8. The method according to claim 7, characterized in that After sharing the second data corresponding to the second control to the first application, the method further includes: The second data is sent to the first contact.
9. The method according to claim 7, characterized in that: After detecting the third operation of dragging the second control into the area where the third control is located and releasing it, the method further includes: Displaying a second window, wherein a plurality of contact options are displayed in the second window; detecting an eighth operation acting on a second contact option among the plurality of contact options, the second contact option being different from the first contact option; In response to the eighth operation, determining a second contact corresponding to the second contact option; After sharing the second data corresponding to the second control to the first application, the method further includes: The second data is sent to the second contact.
10. The method according to any one of claims 1 to 6, characterized in that: Before displaying the third control corresponding to the first application, the method further includes: Displaying a first window, wherein a plurality of parameter setting options are displayed in the first window; detecting an operation of setting the plurality of parameter setting options, and determining a first print style according to the set parameters; After sharing the first data corresponding to the first control to the first application, the method further includes: The first data is sent to a printer, and the printer is instructed to print the first data according to the first printing style.
11. The method according to claim 10, characterized in that After sharing the second data corresponding to the second control to the first application, the method further includes: The second data is sent to the printer, and the printer is instructed to continue printing the second data according to the first printing style.
12. The method according to claim 10, characterized in that After detecting the third operation of dragging the second control into the area where the third control is located and releasing it, the method further includes: Displaying a second window, wherein the second window displays a plurality of parameter setting options; detecting an operation of setting the plurality of parameter setting options, and determining a second print style according to the set parameters; After sharing the second data corresponding to the second control to the first application, the method further includes: The second data is sent to the printer, and the printer is instructed to print the second data according to the second print style.
13. The method according to any one of claims 1 to 12, characterized in that: After sharing the first data corresponding to the first control to the first application, the method further includes: detecting a ninth operation acting on the third control; In response to the ninth operation, displaying a third window, wherein the first data is displayed in the third window; After sharing the second data corresponding to the second control to the first application, the method further includes: detecting a tenth operation acting on the third control; In response to the tenth operation, a fourth window is displayed, in which the second data is displayed.
14. The method according to claim 1, characterized in that The first application and the second application are application programs that support receiving the first data and are determined according to the type and / or semantic information of the first data.
15. The method according to claim 6, characterized in that The third control includes a first style and a second style. After the first mark is displayed on the third control, the method further includes: The third control of the first style is replaced with the second style, and the display area occupied by the first style on the screen is larger than the display area occupied by the second style on the screen.
16. The method according to claim 1, characterized in that The third control displays an icon and / or name of the third application.
17. An electronic device, characterized in that: The method 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 codes, wherein the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the method as described in any one of claims 1 to 16 is executed.
18. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the method according to any one of claims 1 to 16 is executed.
Citation Information
Patent Citations
Screenshot picture sharing method and device, terminal and storage medium
CN111290675A
Display method, electronic equipment and readable storage medium
CN112416223A
Content sharing method and device, terminal and storage medium
CN115407909A
Techniques for sharing content on a web page
US20100070899A1
