Cross-application data transmission method and related device
By setting hot zones on electronic devices and triggering smart flow services, the problem of cumbersome data transmission in the existing technology is solved, and fast and convenient data transmission is achieved, improving user experience.
Patent Information
- Application Number
- PCT/CN2024/078706
- 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 select data in one application and exit the application, open another application, and then paste the data, resulting in a poor user experience.
By setting a hot zone on an electronic device, users can drag the operation control into the hot zone to trigger the smart flow service, display the application icon that can receive data, and directly send the data to the target application, providing fast cross-application data transmission services .
It realizes fast and convenient cross-application data transmission, simplifies user operation processes, and improves user experience.
Smart Images

Figure CN2024078706_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 202310792999.7 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 trigger a smart flow service after detecting that a user drags a preset control into a preset hot zone, and display one or more application icons that can receive the data to be transmitted corresponding to the above control. After detecting that the user continues to drag the above control to the area where any application icon is located and releases it, the data corresponding to the above control can be sent to the target application corresponding to the above application icon, providing the user with a fast cross-application data transmission service; if it is detected that the user drags the preset control into another preset hot zone corresponding to a specific application, the electronic device can directly send the data to be transmitted corresponding to the above control to the specific application corresponding to the hot zone, providing the user with another fast cross-application data transmission service for the above specific application.
[0007] In a first aspect, the present application provides a data sharing method, which is applied to an electronic device, the screen of the electronic device includes a first area and a second area, and the first area and the second area partially overlap. The method includes: when a first operation of dragging a first control into a third area is detected, in response to the first operation, an icon of a first application and an icon of a second application are displayed, the third area is an area in the first area that does not overlap with the second area, and the first application and the second application are different; when a second operation of continuing to drag the first control into the area where the icon of the first application is located and releasing it is detected; in response to the second operation, the first data corresponding to the first control is shared to the first application; when a third operation of dragging the first control into the second area and releasing it is detected, in response to the third operation, the first data is shared to the third application corresponding to the second area.
[0008] In implementing the method provided in the first aspect, the electronic device may set two hot zones, such as a first hot zone and a second zone, one hot zone corresponding to a specific data sharing method, and there are overlapping areas between the hot zones. The first data is also referred to as data to be transmitted. In one scenario, the user may drag the operation control corresponding to the data to be transmitted, i.e., the first control, to an area in the first area that does not overlap with the second area. At this time, the electronic device may trigger a smart flow service and display multiple application icons. After detecting that the user continues to drag the above-mentioned first control to the area where any application icon is located and releases it, the electronic device may send the data to be transmitted corresponding to the first control to the application corresponding to any of the above-mentioned application icons, thereby providing users with a fast, convenient and smooth cross-application data transmission service.
[0009] In another scenario, the user can drag the first control to the second area. At this time, the electronic device can send the data to be transmitted to the third application corresponding to the above-mentioned second area, providing the user with another fast, convenient and smooth cross-application data transmission service.
[0010] In combination with the method provided in the first aspect, in some embodiments, the method also includes: displaying a first interface, the first interface including text; detecting a fourth operation of selecting the first text from the text, detecting a fifth operation on the first text; in response to the fifth operation, displaying a first control, the first data including the first text.
[0011] By implementing the method provided in the above embodiment, when an electronic device displays a certain interface, and the interface includes data that the user wants to share, the electronic device can support the user to select the data that the user wants to share, that is, the first text. After detecting the fifth operation on the first text, such as a long press operation, the electronic device can display a first control for dragging. At this time, after triggering the smart flow and determining the target application, the electronic device can send the first text corresponding to the above-mentioned first control to the above-mentioned target application. After detecting that the first control is dragged to the second area, the electronic device can send the first text corresponding to the above-mentioned first control to the third application corresponding to the second area.
[0012] In some embodiments, all or part of the first text may be displayed on the first control, so that the user can intuitively determine the specific content of the text to be transmitted at any time.
[0013] In combination with the method provided in the first aspect, in some embodiments, the method also includes: displaying a first interface, the first interface including a first image; detecting a sixth operation on the first image; and displaying a first control in response to the sixth operation, the first data including the first image.
[0014] By implementing the method provided in the above embodiment, the user can also select an image in a certain interface and share the image to other applications through any data sharing method corresponding to the first area or the second area.
[0015] In some embodiments, a thumbnail of the first image may be displayed on the first control, so that the user can intuitively determine the specific content of the image to be transmitted at any time.
[0016] In combination with the method provided in the above embodiments, in some embodiments, the second area is the display area of the first floating ball, the first floating ball is the floating ball of the third application, and the icon and / or name of the third application is displayed in the first floating ball.
[0017] By implementing the method provided in the above embodiment, the user can quickly and conveniently send the to-be-transmitted data corresponding to the first control to an application by dragging the first control to the floating ball of the application.
[0018] In combination with the method provided in the above embodiment, in some embodiments, after sharing the first data to the third application corresponding to the second area, the method further includes: displaying a first identifier on the first floating ball, where the first identifier is used to indicate that the first data has been shared.
[0019] By implementing the method provided in the above embodiment, the user can determine through the above first identifier that the selected data to be transmitted has been successfully written into the application corresponding to the floating ball, and then determine whether to view the newly written data.
[0020] In combination with the method provided in the above embodiments, in some embodiments, the first floating ball includes a first style and a second style. After the first logo is displayed on the first floating ball, the method also includes: changing the first floating ball of the first style to the second style, and the display area occupied by the first floating ball of the first style on the screen is larger than the display area occupied by the first floating ball of the second style on the screen.
[0021] By implementing the method provided in the above embodiment, when the user does not need to use the floating ball, the electronic device can reduce the display area of the floating ball and reduce the screen obstruction of the floating ball by switching the floating ball to the second style, also known as the incomplete style or the thumbnail state. Correspondingly, when the user needs to use the floating ball, for example, when dragging data to be transmitted into the floating ball, the electronic device can switch the second style of the floating ball to the first style, also known as the complete style or the expanded state, to increase the receiving hot zone, reduce the precision requirements of the user's dragging operation, and provide the user with a smoother operating experience.
[0022] In combination with the method provided in the above embodiments, in some embodiments, the first application is different from the third application. After sharing the first data corresponding to the first control to the first application, the method also includes: displaying a second floating ball corresponding to the first application, and the second floating ball displays the icon and / or name of the first application.
[0023] By implementing the method provided in the above embodiment, after completing a quick and convenient data sharing session through Smart Flow, the electronic device can display a floating ball for the target application of this Smart Flow. This way, if the user subsequently needs to send data to the application, they can drag the data onto the floating ball of the application, sending data to the application more quickly and conveniently, without having to select the target application from the multiple applications recommended by Smart Flow.
[0024] In conjunction with the methods provided in the above embodiments, in some embodiments, the first region includes a right edge hot zone and / or a left edge hot zone. The right edge hot zone is a rectangular touch area determined based on the right edge of the screen, and the left edge hot zone is a rectangular touch area determined based on the left edge of the screen. The second region may overlap with either the right edge hot zone or the left edge hot zone, or both of them.
[0025] In combination with the method provided in the above embodiments, in some embodiments, the first application and the second application are application programs that can receive the first data and are determined based on the type and / or semantic information of the first data.
[0026] 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.
[0027] In combination with the method provided in the above embodiments, 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.
[0028] In combination with the method provided in the above embodiment, in some embodiments, after sharing the first data corresponding to the first control to the first application, the method further includes: stopping displaying the icon of the first application and the icon of the second application.
[0029] In this way, after the smart flow is completed, 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 the smart flow is triggered at any time, and then switch the interface currently displayed by the electronic device back to before the smart flow is triggered, so that the user can continue browsing, editing and other operations before the smart flow.
[0030] In second aspect, the present application provides a data sharing method, which is applied to an electronic device, the screen of the electronic device includes a first area and a second area, and the first area and the second area partially overlap. The method includes: when a first operation of dragging a first control into the first area is detected, in response to the first operation, the icon of the first application and the icon of the second application are displayed; when a second operation of continuing to drag the first control into the area where the icon of the first application is located and releasing it is detected; in response to the second operation, the first data corresponding to the first control is shared with the first application; when a third operation of dragging the first control into the fourth area and releasing it is detected, in response to the third operation, the first data is shared with the third application corresponding to the fourth area, and the fourth area is an area in the second area that does not overlap with the first area.
[0031] In implementing the method provided in the second aspect, the electronic device may set two hot zones, such as a first hot zone and a second zone, where one hot zone corresponds to a specific data sharing method, and there are overlapping areas between the hot zones. The first data is also referred to as data to be transmitted. In one scenario, the user may drag the operation control corresponding to the data to be transmitted, i.e., the first control, to the first area. At this time, the electronic device may trigger the smart flow service and display multiple application icons. After detecting that the user continues to drag the above-mentioned first control to the area where any application icon is located and releases the operation, the electronic device may send the data to be transmitted corresponding to the first control to the application corresponding to any of the above-mentioned application icons, thereby providing users with fast, convenient and smooth cross-application data transmission services.
[0032] In another scenario, the user can drag the first control to an area in the second area that does not overlap with the first area. In this case, the electronic device can send the data to be transmitted to the third application corresponding to the second area, providing the user with another fast, convenient and smooth cross-application data transmission service.
[0033] In combination with the method provided in the second aspect above, in some embodiments, the screen includes a first window and a second window, the first window is used to display the user interface of the fourth application, the second window is used to display the user interface of the third application, and the second area is the display area of the second window. The method also includes: selecting first data from the first window; detecting a fourth operation on the first data, and displaying a first control in response to the fourth operation.
[0034] By implementing the method provided in the above embodiment, when the electronic device displays multiple windows at the same time and different windows correspond to different applications, the electronic device can support the user to select data to be shared, that is, data to be transmitted, from one window, and then support the user to drag the data to be shared to another window to send the above data to be shared to the application corresponding to the other window.
[0035] In combination with the method provided in the above embodiments, in some embodiments, the first window and the second window are displayed tiled, and the area of the first window and the second window is equal to the area of the screen; or, the second window is displayed as a floating window above the first window; or, the first window is displayed as a floating window above the second window.
[0036] In combination with the method provided in the above embodiment, in some embodiments, part or all of the content of the first data is displayed on the first control, so that the user can intuitively determine the specific content of the image to be transmitted at any time.
[0037] In combination with the method provided in the above embodiment, in some embodiments, selecting first data from the first window specifically includes: obtaining text in the first window; selecting first text from the text in the first window, and the first data includes the first text.
[0038] In combination with the method provided in the above embodiment, in some embodiments, selecting first data from the first window specifically includes: selecting a first image from one or more images displayed in the first window, and the first data includes the first image.
[0039] By implementing the method provided in the above embodiment, the electronic device can support users to select data such as text and images for cross-application sharing.
[0040] In combination with the method provided in the above embodiment, in some embodiments, after sharing the first data to the third application corresponding to the fourth area, the method further includes: displaying the first data in the second area.
[0041] By implementing the method provided in the above embodiment, the user can immediately edit the first data in the third application corresponding to the second area. Alternatively, if the transfer fails, the first data will not be present in the second area. This allows the user to quickly determine whether the transfer was successful. If unsuccessful, the user can immediately repeat the sharing operation and write the data to the third application again.
[0042] In conjunction with the methods provided in the above embodiments, in some embodiments, the first region includes a right edge hot zone and / or a left edge hot zone. The right edge hot zone is a rectangular touch area determined based on the right edge of the screen, and the left edge hot zone is a rectangular touch area determined based on the left edge of the screen. The second region may overlap with either the right edge hot zone or the left edge hot zone, or both of them.
[0043] In combination with the method provided in the above embodiments, in some embodiments, the first application and the second application are application programs that can receive the first data and are determined based on the type and / or semantic information of the first data.
[0044] 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.
[0045] In combination with the method provided in the above embodiments, 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.
[0046] In combination with the method provided in the above embodiment, in some embodiments, after sharing the first data corresponding to the first control to the first application, the method further includes: stopping displaying the icon of the first application and the icon of the second application.
[0047] In this way, after the smart flow is completed, 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 the smart flow is triggered at any time, and then switch the interface currently displayed by the electronic device back to before the smart flow is triggered, so that the user can continue browsing, editing and other operations before the smart flow.
[0048] In a third 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, or executes the method described in the second aspect and any possible implementation of the second aspect.
[0049] In a fourth 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 of the first aspect, or execute the method described in the second aspect and any possible implementation of the second aspect.
[0050] In a fifth aspect, the present application provides a computer-readable storage medium comprising instructions. When the instructions are executed on an electronic device, the electronic device executes the method described in the first aspect and any possible implementation of the first aspect, or executes the method described in the second aspect and any possible implementation of the second aspect.
[0051] In a sixth aspect, the present application provides a computer program product comprising instructions, which, when the above-mentioned computer program product is run on an electronic device, enables the above-mentioned electronic device to execute the method described in the first aspect and any possible implementation of the first aspect, or execute the method described in the second aspect and any possible implementation of the second aspect.
[0052] It is understandable that the electronic device provided in the third aspect, the chip system provided in the fourth aspect, the computer storage medium provided in the fifth aspect, and the computer program product provided in the sixth 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
[0053] FIG1A-FIG1H are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0054] Figures 2A-2F are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0055] 3A-3E are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0056] 4A-4C are schematic diagrams of hot zones of an electronic device 100 provided in an embodiment of the present application;
[0057] 5A-5J are another set of user interfaces for implementing cross-application data transmission in a split-screen application scenario provided by an embodiment of the present application;
[0058] 6A-6C are schematic diagrams of hot zones of the electronic device 100 in a split-screen application scenario according to an embodiment of the present application;
[0059] 7A-7G are another set of user interfaces for implementing cross-application data transmission in a horizontal split-screen scenario provided by an embodiment of the present application;
[0060] 8A-8B are schematic diagrams of hot zones of the electronic device 100 in a horizontal split-screen scenario provided by an embodiment of the present application;
[0061] 9A-9G are another set of user interfaces for implementing cross-application data transmission in a floating window split-screen scenario provided by an embodiment of the present application;
[0062] FIG10A-FIG10B are schematic diagrams of hot spots of the electronic device 100 in a floating window split-screen scenario provided by an embodiment of the present application;
[0063] 11A-11B are flowcharts of cross-application data transmission provided by an embodiment of the present application;
[0064] FIG12 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0065] 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.
[0066] 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.
[0067] 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).
[0068] 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.
[0069] 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.
[0070] In the scenario of a split-screen application, the end point of the drag operation can also be a hot area of the user interface corresponding to an application on the screen. After detecting that the user drags the above-mentioned operation control to a split-screen application hot area, the electronic device 100 can also send the to-be-transmitted data corresponding to the above-mentioned operation control to the application corresponding to the split-screen application hot area.
[0071] 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.
[0072] FIG1A-FIG1H are a set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application.
[0073] FIG1A is a user interface provided in an embodiment of the present application.
[0074] 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.
[0075] In some embodiments, the above-mentioned user interface can also be the main interface (homepage), negative one screen, lock screen interface, etc. of the electronic device 100, and the embodiments of the present application are not limited to this.
[0076] While displaying the user interface shown in FIG1A , the electronic device 100 may detect a long press operation on the screen. In response to this operation, the electronic device 100 may retrieve the text in the user interface shown in FIG1A for the user to copy. This is not limited to a long press operation; user operations such as a double-click operation or a sliding operation along a predetermined specific trajectory may also be used. This embodiment of the present application does not impose any restrictions on this.
[0077] Then, the electronic device 100 can detect the specific user operation of selecting text. The electronic device 100 can determine the target text that the user wants to copy based on the user operation of selecting text. Referring to FIG. 1B , for example, the electronic device 100 can determine the target text 111 based on the user operation.
[0078] 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.
[0079] In some embodiments, the point of contact between the user's finger and the screen during a long press operation corresponds to the midpoint of the upper edge of 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 control 112. This embodiment of the present application is not limited to this.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] 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.
[0084] 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.
[0085] 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 where the drag control 112 shown in Figures 1D-1E is slid to the right to enter 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.
[0086] After triggering the smart transfer, the electronic device 100 may display a menu bar on the right side of the screen containing one or more candidate application icons. These candidate applications are selected by the electronic device 100 from all installed applications and are capable of receiving 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 elaborated on here.
[0087] Referring to FIG1F , electronic device 100 may, for example, display menu bar 114. 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 menu bar 114 is triggered to display, control 112 may obstruct application icons displayed in menu bar 114. In this case, referring to FIG1F , the user may drag control 112 to the left a certain distance to remove the obstruction of the application icons displayed in menu bar 114 by control 112.
[0088] After the menu bar 114 is displayed, the user can select 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 candidate applications. For example, the user can select the note application as the target application to receive the data to be transmitted.
[0089] At the same time, the electronic device 100 can adjust the original user interface to a right perspective style, which together with the above-mentioned menu bar creates an "opening door" animation effect, thereby enhancing the user experience.
[0090] 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. 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.
[0091] 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.
[0092] 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.
[0093] Referring to Figure 1H, after determining the target application, the electronic device 100 can close the menu bar (snackbar) 114 of the smart flow service and redisplay the original user interface. Optionally, the electronic device 100 can also display a prompt window 115. The prompt window 115 can prompt the user that the flow is successful, that is, the data to be transferred selected by the user has been successfully written to the target application. Among them, the prompt window 115 can also include a control 116. The control 116 can be used to open the target application that receives the aforementioned data to be transferred, such as a note application, so that the user can continue to edit the data written by the smart flow in the target application.
[0094] After triggering the smart flow, upon detecting the release of control 112 in an area outside of menu bar 114, electronic device 100 may release control 112, i.e., no longer display control 112, as shown in FIG1C . Subsequently, upon detecting the long press operation shown in FIG1C , electronic device 100 may regenerate and display control 112 corresponding to target text 111. Upon detecting the user's operation of dragging control 112 to the right hot zone and releasing it, electronic device 100 may trigger the smart flow again, which will not be further described here.
[0095] 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. Subsequently, the user can use floating ball 117 to complete smart transfer faster and more conveniently, sending the data to be transmitted to the note-taking application.
[0096] 2A-2B , the electronic device 100 may again detect a user operation of selecting target text 211, and then display a floating control 212 corresponding to the target text 211. Referring to FIG. 2B-2D , the electronic device 100 may detect a user operation of dragging the control 212 to the area where the floating ball 117 is located. After detecting the user operation of dragging the control 212 to the area where the floating ball 117 is located and releasing it, the electronic device 100 may send the target text 211 corresponding to the control 212 to the note application, thereby achieving more convenient cross-application data transfer.
[0097] Optionally, the user may select an image in the currently displayed interface. The electronic device 100 may display a floating control corresponding to the image. Then, upon detecting a user operation of dragging the control to the area where the floating ball 117 is located and releasing it, the electronic device 100 may send the image corresponding to the control to the note application.
[0098] In some embodiments, the electronic device 100 may continue to write the received data and the previously received data in one note. In other embodiments, the electronic device 100 may also recreate another note and write the data received through the above operation into the newly created note.
[0099] In some embodiments, when the target application is a favorite application, the favorite application may further classify the received data based on the type of data received (text, image, document, etc.). Optionally, the favorite application may further classify the received data based on which application the data comes from.
[0100] The floating ball 117 shown in Figure 2A can be called an incomplete style floating ball 117, or a thumbnail floating ball 117. Referring to Figure 2B, while displaying the control 212, the electronic device 100 can switch the thumbnail floating ball 117 to an expanded state to prompt the user that the note application corresponding to the floating ball 117 can receive the target text 211 corresponding to the control 212. The expanded state floating ball is also called a complete style floating ball. At the same time, the complete style floating ball 117 can correspond to a larger receiving hot zone, which is conducive to reducing the accuracy requirements of the user's dragging operation and providing the user with a smoother operating experience. The above-mentioned complete style (i.e., the expanded state) is also called the first style, and the incomplete style (i.e., the thumbnail state) is also called the second style.
[0101] In some embodiments, the electronic device 100 can 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 can extend the floating ball 117, that is, gradually display the floating ball 117 in its entirety.
[0102] 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.
[0103] After writing data to the note application again, the electronic device 100 may display the complete style floating ball 117 for a period of time. The above period of time is preset, for example, 5 seconds. Referring to Figures 2E-2F, during the above period of time, if no user operation acting on the floating ball 117 for opening the note application is detected, such as clicking the floating ball 117, the electronic device 100 may hide the floating ball 117, that is, transform the complete style floating ball 117 into an incomplete style floating ball 117, so as to reduce the display area of the floating ball 117 and reduce the occlusion of the screen by the floating ball 117.
[0104] After the floating ball 117 is displayed, the user can continue to trigger the smart flow to send the newly determined data to be transmitted to the note application or to other target applications through the smart flow.
[0105] 3A-3C , after re-determining the target text 211 and displaying the corresponding floating control 212, the electronic device 100 may detect the user dragging the control 212 to the right and triggering the smart flow. In response to the above operation, the electronic device 100 may display the menu bar 114 again. After triggering the smart flow, the electronic device 100 may pause the display of the floating ball 117 to avoid blocking the menu bar 114. The electronic device 100 may detect the user continuing to drag the control 212 to the note application icon. After detecting the user's operation of continuing to drag the control 212 to the note application icon and releasing it, the electronic device 100 may send the target text 211 corresponding to the control 212 to the note application.
[0106] Referring to Figure 3D , after writing target text 111 to the note-taking app, electronic device 100 can close menu bar 114 for the smart transfer service and redisplay the original user interface. At this point, electronic device 100 can redisplay floating ball 117. Furthermore, electronic device 100 can also display control 118 on floating ball 117 to indicate that new data has been written to the note-taking app, prompting the user to view the newly written data.
[0107] In some embodiments, the electronic device 100 may continue to write the received data together with the previously received data into a single note. In other embodiments, the electronic device 100 may also create another note based on the new smart flow operation. In the scenario of recreating a note, the note application may optionally classify and label each note based on the type of received data (text, image, document, etc.).
[0108] Similarly, as shown in Figures 3D-3E, if no user operation for opening the note application on the floating ball 117 is detected within a period of time, the electronic device 100 can hide the floating ball 117 to reduce the display area of the floating ball 117 and reduce the obstruction of the screen by the floating ball 117.
[0109] It is understood that in the user interface shown in FIG3C , the user can also select other candidate application icons in the menu bar 114. In this case, the electronic device 100 can send the target text 211 to the application corresponding to the other candidate application icons. For example, the electronic device 100 can detect that the user continues to drag the control 212 to the information application icon and releases it, and then send the target text 211 corresponding to the control 212 to the information application. Alternatively, the electronic device 100 can detect that the user continues to drag the control 212 to the translation application icon and releases it, and then send the target text 211 corresponding to the control 212 to the translation application.
[0110] In some embodiments, when the target application of the second smart flow is different from the target application of the previous smart flow, the electronic device 100 may display a floating ball control corresponding to the current target application below the floating ball control of the previous target application. For example, after sending the target text 211 corresponding to the control 212 to the messaging application, the electronic device 100 may display a floating ball corresponding to the messaging application below the floating ball 117.
[0111] In other embodiments, when the target application for a new smart flow is different from the target application for the previous smart flow, electronic device 100 may also display the floating ball control of the current target application in the place of the floating ball control of the previous target application, replacing the floating ball control of the previous target application. For example, after sending the target text 211 corresponding to control 212 to the messaging application, electronic device 100 may replace floating ball 117 with the floating ball displayed for the messaging application. In this way, electronic device 100 can avoid excessive floating balls blocking the screen.
[0112] In some embodiments, the data to be transmitted determined by the electronic device 100 based on the user operation is different from the data type of the data to be transmitted determined last time. At this time, when the smart flow is triggered again, the candidate application will adaptively change according to the type of the current data to be transmitted. Accordingly, the candidate application icons displayed in the menu bar will also change. For example, when the user again determines that the data to be transmitted is a picture, the candidate application determined by the electronic device 100 after triggering the smart flow may also include an image editing application. Correspondingly, the menu bar displayed by the electronic device 100 may also include an application icon corresponding to the image editing application.
[0113] In some embodiments, the electronic device 100 may also set a left-side hot zone. The user can also drag the operation control (such as control 112, control 212) to the left to slide into the left-side hot zone to trigger the smart flow and obtain cross-application data transmission services. At this time, the menu bar 114 including one or more candidate application icons shown in Figures 1F and 3C can be displayed on the left side of the screen accordingly. Not limited to the right-side hot zone and the left-side hot zone, the electronic device 100 may also set other hot zones, and this embodiment of the present application is not limited to this. The hot zones that are set to trigger smart flow, such as the right-side hot zone and the left-side hot zone, are also called smart flow hot zones.
[0114] 4A-4B are schematic diagrams of hot zones of the electronic device 100 provided in an embodiment of the present application.
[0115] A specific touch area preset in the screen is called a hot zone. Referring to Figure 4A, first, the hot zone of the electronic device 100 includes a right side hot zone and / or a left side hot zone. The right side hot zone is a rectangular touch area extending from the right side of the screen to the other side. Correspondingly, the left side hot zone is a rectangular touch area extending from the left side of the screen to the other side. Exemplarily, the width of the screen is x, and the extension length can be 1 / 10 of the screen width, that is, 1 / 10x.
[0116] In the scenario where the floating ball control is displayed, referring to Figure 4B, the hot zone of the electronic device 100 also includes a floating ball hot zone. The floating ball hot zone is usually set in the upper right corner of the screen. In one embodiment, the right side of the floating ball hot zone overlaps with the right side of the screen. Exemplarily, 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 length of the screen, that is, 1 / 5y; the distance between the center point C and the upper edge of the floating ball hot zone is 1 / 10y; the distance between the center point C and the right side of the screen is 1 / 4 of the width of the screen, that is, 1 / 4x. Of course, it is not limited to the upper right corner. The floating ball hot zone can also be set at other positions on the screen, and the embodiments of the present application are not limited to this.
[0117] In some embodiments, when the smart flow hot zone overlaps with the suspended ball hot zone, the suspended ball hot zone in the overlapping area is valid and the smart flow hot zone is invalid.
[0118] Referring to Figure 4C, the large circle area represents the smart flow hot zone (corresponding to the left side hot zone and the right side hot zone in Figure 4B), and the small circle area represents the floating ball hot zone. When the smart flow hot zone overlaps with the floating ball hot zone, when the user's finger and the touch point of the screen reside in the overlapping hot zone, the smart flow is not triggered, and then the electronic device 100 will not display the menu bar including one or more application icons. When a user operation released in the overlapping hot zone is detected, the electronic device 100 can send the corresponding data to the application corresponding to the floating ball.
[0119] In the above embodiment, the smart flow hot zone composed of the left and right side hot zones shown in FIG4A can be referred to as the first zone, and the floating ball hot zone represented by the gray rectangle shown in FIG4B can be referred to as the second zone. The smart flow hot zone overlaps with the floating ball hot zone, that is, the first zone overlaps with the second zone. In this case, the area within the first zone excluding the overlapping area can be referred to as the third zone.
[0120] In the methods shown in Figures 2A-2F and 3A-3E, the user interface shown in Figure 2A may be referred to as the first interface, the target text 211 selected by the user may be referred to as the first text, i.e., the first data, and the control 212 may be referred to as the first control. The first interface shown in Figure 2A may also include one or more images, from which the user may select at least one image. The at least one image may be referred to as the first image, i.e., the first data. In this case, the draggable control generated based on the first image may be referred to as the first control.
[0121] The icons of any two different applications displayed in the menu bar can be called the icon of the first application and the icon of the second application, and the application corresponding to the floating ball hot zone is the third application. The first application and the third application can be the same or different. For example, the first application and the third application both refer to note applications, and the second application is a favorite application. At this time, the floating ball 117 of the note application can be called the first floating ball. For another example, the first application is an information application, the second application is a favorite application, and the third application is a note application. At this time, after sending the data to be shared to the information application, the floating ball of the information application generated by the electronic device can be called the second floating ball.
[0122] Control 118 may be referred to as a first indicator.
[0123] In some embodiments, in the scenario of application split-screen, the electronic device 100 may also support smart flow. In this case, the hot zone of the electronic device 100 also includes the split-screen application hot zone. After obtaining the operation control, if the operation of dragging the operation control to the smart flow hot zone and releasing it is detected, the electronic device 100 triggers the smart flow; if the operation of dragging the operation control to the split-screen application hot zone and releasing it is detected, the electronic device 100 directly sends the data to be transmitted corresponding to the operation control to the application corresponding to the split-screen application hot zone.
[0124] Figures 5A-5J are another set of user interfaces for implementing cross-application data transmission in a split-screen application scenario, provided by an embodiment of the present application.
[0125] Figure 5A is a user interface in a split-screen scenario provided by an embodiment of the present application. In the application split-screen scenario, the electronic device 100 can simultaneously display interfaces of two or more application programs.
[0126] Referring to Figure 5A , the screen of electronic device 100 can be divided into area 511 and area 512. For example, area 511 may correspond to a note-taking application, displaying its interface. Area 512 may correspond to a gallery application, displaying its interface. Users can edit notes in the note-taking application interface shown in area 511 and browse images in the gallery application interface shown in area 512.
[0127] The gallery application interface shown in area 512 may display one or more icons, such as icon 513a, icon 514a, etc. Each icon corresponds to one image. Referring to FIG5B , the electronic device 100 may detect a user operation acting on one or more icons, such as a user operation of clicking icon 513a and icon 514a. In response to the above operation, the electronic device 100 may select the image corresponding to icon 513a and icon 514a. Optionally, the electronic device 100 may display a control indicating the selected icon, such as control 515 and control 516, in each selected icon.
[0128] 5C-5D , after selecting one or more icons, electronic device 100 may detect a long press operation on the screen. In response to this operation, electronic device 100 may display a floating control 517. Control 517 may include a top-right corner marker, such as "2," indicating the number of selected icons, i.e., the number of selected images.
[0129] As shown in Figure 5D , after displaying control 517, electronic device 100 may detect a user action of dragging control 517 to area 511. After detecting the user action of dragging and releasing control 517 to area 511, electronic device 100 may send the image corresponding to control 517 to the note application corresponding to area 511. Electronic device 100 may then display the images corresponding to icons 513a and 514a in the note application interface. Referring to Figure 5E , due to the size limitations of area 511, only image 514b corresponding to the subsequent icon 514a is currently displayed in area 511 on the screen.
[0130] 5F-5G , after displaying control 517, electronic device 100 may also detect an operation of dragging control 517 toward the right edge of the screen. Upon detecting that control 517 has entered the hot zone on the right edge of the screen, electronic device 100 may trigger smart flow and display menu bar 114 including one or more candidate application icons. Then, upon detecting that the user continues to drag control 517 to any candidate application icon (e.g., an information icon) and releases it, electronic device 100 may send the image corresponding to control 517 to the application (information application) corresponding to the candidate application icon.
[0131] The trajectory of the movement of the user dragging the control 517 is complex. The electronic device 100 can determine to send the picture corresponding to the control 517 to the note application corresponding to the area 511, or determine to trigger the smart flow based on the user's final residence position. For example, referring to Figures 5H-5I, the electronic device 100 can detect the user operation of the user dragging the control 517 to enter the area 511 first, and then move to the right side of the screen. The electronic device 100 can detect the user operation of the user staying on the right side of the screen for a preset time. At this time, the electronic device 100 can determine to trigger the smart flow and display the menu bar 114. Then, referring to Figure 5J, the electronic device 100 can detect the user operation of the user continuing to drag the control 517 to the information icon and releasing it, and the electronic device 100 can send the picture corresponding to the control 517 to the application corresponding to the information icon.
[0132] It is understandable that the electronic device 100 can also detect the operation of selecting text or other data from area 511, dragging and releasing it to area 512. At this time, if the application corresponding to area 512 supports receiving the above data, the electronic device 100 can send the above data to the application corresponding to area 512.
[0133] Similarly, in the scenario of application split screen, the electronic device 100 can also set a left side hot zone. The user can also trigger the smart flow and obtain cross-application data transmission service by dragging the operation control to the left to enter the left side hot zone.
[0134] In the method shown in Figures 5A-5J, the window shown in area 512 can be referred to as the first window, and the display window shown in area 511 can be referred to as the second window. The gallery application corresponding to area 512 can be referred to as the fourth application, and the note application corresponding to area 511 can be referred to as the third application. The images corresponding to icon 513a and icon 514a selected by the user in the first window can be referred to as the first image, or in other words, the first data. Control 517 can be referred to as the first control. The icons of any two applications in menu bar 114 can be referred to as the first application icon and the second application icon.
[0135] When a user selects data to be transferred, such as text, from area 511 and drags it into area 512, the window shown in area 511 can be referred to as the first window, and the display window shown in area 512 can be referred to as the second window. The note application corresponding to area 511 can be referred to as the fourth application, and the gallery application corresponding to area 512 can be referred to as the third application. The text mentioned above is the first text, or the first data.
[0136] 6A-6B are schematic diagrams of hot zones of the electronic device 100 in an application split-screen scenario provided by an embodiment of the present application.
[0137] Referring to FIG6A , the electronic device 100 can divide the screen into an upper half and a lower half using the horizontal centerline of the screen as the dividing line. The touch area corresponding to the upper half of the screen can be referred to as split-screen hot zone 1. The touch area corresponding to the lower half of the screen can be referred to as split-screen hot zone 2. It is understood that the horizontal dividing line may not be the horizontal centerline of the screen, i.e., the sizes of split-screen hot zone 1 and split-screen hot zone 2 may also be different, and this is not limited in this embodiment of the present application.
[0138] For example, split-screen hot zone 1 may correspond to area 511 shown in FIG5A , and split-screen hot zone 2 may correspond to area 512 shown in FIG5A . Upon detecting a user operation within split-screen hot zone 1, the note application corresponding to split-screen hot zone 1 may process the operation; upon detecting a user operation within split-screen hot zone 2, the gallery application corresponding to split-screen hot zone 2 may process the operation.
[0139] Combined with the smart flow hot zone shown in Figure 4A, the overall hot zone diagram of the electronic device 100 in the split-screen scenario can be shown in Figure 6B. Among them, when the smart flow hot zone overlaps with the split-screen hot zone, the smart flow hot zone in the overlapping area is valid and the split-screen hot zone is invalid.
[0140] Referring to Figure 6C, the large circle area represents the smart flow hot zone (corresponding to the left side hot zone and the right side hot zone in Figure 6B), and the small circle area represents the split-screen hot zone, which can specifically represent split-screen hot zone 1 or split-screen hot zone 2. In the case where the smart flow hot zone overlaps with the split-screen hot zone, when the user's finger and the touch point of the screen reside in the overlapping hot zone, the smart flow is triggered. Then, the electronic device 100 will display a menu bar including one or more application icons. When a user operation released on any application icon is detected, the electronic device 100 can send the corresponding data to the application corresponding to the application icon.
[0141] At this time, the smart flow hot zone composed of the left side hot zone and the right side hot zone shown in Figure 6B is also the first area, and any split-screen hot zone shown in Figure 6A (split-screen hot zone 1 or 2) can be called the second area. Among them, when data is dragged from split-screen hot zone 1 to split-screen hot zone 2, split-screen hot zone 2 can be called the second area; when data is dragged from split-screen hot zone 2 to split-screen hot zone 1, split-screen hot zone 1 can be called the second area. The smart flow hot zone overlaps with any split-screen hot zone, that is, the first area overlaps with the second area. At this time, the area in the second area except the overlapping area can be called the fourth area.
[0142] The application split-screen scenario shown in Figures 5A-5F can be called vertical split-screen (the note application and the gallery application are arranged vertically). In some embodiments, the electronic device 100 is a foldable screen mobile phone. In this case, the electronic device 100 generally adopts horizontal split-screen.
[0143] 7A-7G are another set of user interfaces for implementing cross-application data transmission in a horizontal split-screen scenario, provided by an embodiment of the present application.
[0144] Figure 7A is a user interface in a horizontal split-screen scenario provided by an embodiment of the present application. Referring to Figure 7A, the screen of the electronic device 100 can be divided into area 711 and area 712. For example, area 711 can correspond to a note application and be used to display the interface of the note application. Area 712 can correspond to a gallery application and be used to display the interface of the gallery application. Users can edit notes in the note application interface shown in area 711 and browse pictures in the gallery application interface shown in area 712.
[0145] As shown in Figures 7B to 7D, the electronic device 100 may generate and display corresponding floating operation controls, such as control 715, after determining one or more icons (e.g., icon 713a, icon 714a). Then, the electronic device 100 may detect the user operation of dragging the control 715 to area 711. After detecting the operation of dragging the control 715 to area 711 and releasing it, the electronic device 100 may send the picture corresponding to the control 715 (i.e., the picture corresponding to the icon 713a, icon 714a) to the note application corresponding to area 711. Referring to Figure 7E, the electronic device 100 may display the pictures corresponding to the above-mentioned icons 713a and 714a, such as pictures 713b and 714b, in the note application interface for the user to edit and use.
[0146] 7F-7G , after displaying control 715, electronic device 100 may also detect a dragging operation of control 715 toward the right edge of the screen. Upon detecting that control 715 enters the hot zone on the right edge of the screen, electronic device 100 may trigger a smart flow, which sends the image corresponding to control 715 to the target application selected by the user.
[0147] Similarly, in the scenario of horizontal application split screen, the electronic device 100 can also set a left side hot zone. The user can also trigger the smart flow and obtain cross-application data transmission service by dragging the operation control to the left to enter the left side hot zone.
[0148] In the method shown in Figures 7A-7G, the window shown in area 712 can be referred to as the first window, and the display window shown in area 711 can be referred to as the second window. The gallery application corresponding to area 712 can be referred to as the fourth application, and the note application corresponding to area 711 can be referred to as the third application. The images corresponding to icons 713a and 714a selected by the user in the first window can be referred to as the first data. Control 715 can be referred to as the first control.
[0149] When a user selects data to be transferred, such as text, from area 711 and drags it into area 712, the window shown in area 711 can be referred to as the first window, and the display window shown in area 712 can be referred to as the second window. The note application corresponding to area 711 can be referred to as the fourth application, and the gallery application corresponding to area 712 can be referred to as the third application. The text mentioned above is the first text, or the first data.
[0150] 8A-8B are schematic diagrams of hot zones of the electronic device 100 in a horizontal split-screen scenario provided by an embodiment of the present application.
[0151] Referring to FIG8A , electronic device 100 can divide the screen into a left half and a right half using the vertical centerline of the screen as the dividing line. The touch area corresponding to the left half of the screen can be referred to as split-screen hot zone 1. The touch area corresponding to the right half of the screen can be referred to as split-screen hot zone 2. It is understood that the vertical dividing line need not be the vertical centerline of the screen, i.e., the sizes of split-screen hot zone 1 and split-screen hot zone 2 can also be different, and this is not limited in this embodiment of the present application.
[0152] For example, split-screen hot zone 1 may correspond to area 711 shown in FIG7A , and split-screen hot zone 2 may correspond to area 712 shown in FIG7A . Upon detecting a user operation within split-screen hot zone 1, the note application corresponding to split-screen hot zone 1 may process the operation; upon detecting a user operation within split-screen hot zone 2, the gallery application corresponding to split-screen hot zone 2 may process the operation.
[0153] Combined with the smart flow hotspot shown in FIG4A , the overall hotspot diagram of the electronic device 100 in the horizontal split-screen scenario can be shown in FIG8B . Specifically, when the smart flow hotspot overlaps with the split-screen hotspot, the smart flow hotspot in the overlapping area is valid, and the split-screen hotspot is invalid. That is, when the smart flow hotspot overlaps with the split-screen hotspot, when the user's finger and the touch point on the screen reside in the overlapping hotspot, the smart flow is triggered, and then the electronic device 100 displays a menu bar including one or more application icons.
[0154] In some implementations, application split screen can also be implemented in the form of floating windows. Figures 9A-9G are another set of user interfaces for implementing cross-application data transmission in the floating window split screen scenario provided by an embodiment of the present application.
[0155] Referring to Figure 9A , electronic device 100 may display the interface of a gallery application. Above the gallery application interface, electronic device 100 may display a floating window 911. Floating window 911 may display the interface of a note application. Electronic device 100 may allow the user to adjust the position of floating ball 911 on the screen at any time as needed.
[0156] 9B-9D , after determining the one or more icons selected by the user, the electronic device 100 may generate and display the corresponding floating operation control. The electronic device 100 may then detect the operation of dragging the operation control to the floating window 911 and releasing it. In response to the above operation, the electronic device 100 may send the image corresponding to the operation control to the note application corresponding to the floating window 911. Referring to FIG9E , the electronic device 100 may display images 912 and 913 corresponding to the operation control in the note application interface.
[0157] Referring to Figures 9F-9G , in a floating window split-screen scenario, after displaying the control, electronic device 100 can also detect that the control is dragged to the right edge of the screen to trigger Smart Flow. Then, electronic device 100 uses Smart Flow to send the image corresponding to the control to the target application selected by the user.
[0158] It is understood that in a split-screen scenario with a floating window, the electronic device 100 can also determine the data to be transmitted from the application corresponding to the floating window and display the corresponding operation control. After detecting that the user drags the above operation control to another application hot zone and releases it, the electronic device 100 can also determine the data to be transmitted from the application corresponding to the floating window and send it to the other application outside the floating window.
[0159] In the method shown in Figures 9A-9G, the display window shown in floating window 911 can be referred to as the second window. The note application corresponding to floating window 911 can be referred to as the third application. Similarly, when the user selects data to be transmitted, such as text, from floating window 911, the window shown in floating window 911 can be referred to as the first window, and the note application corresponding to floating window 911 can be referred to as the fourth application.
[0160] 10A-10B are schematic diagrams of hot zones of the electronic device 100 in a floating window split-screen scenario provided in an embodiment of the present application.
[0161] 10A , the electronic device 100 may include a split-screen hot zone 2. Other touch areas outside the split-screen hot zone 2 may be referred to as the split-screen hot zone 1. Exemplarily, the split-screen hot zone 2 may correspond to the floating window 911. The split-screen hot zone 2 may also change with changes in the position and / or size of the floating window 911 on the screen. After detecting a user operation occurring within the split-screen hot zone 1, the gallery application corresponding to the split-screen hot zone 1 may process the above operation; after detecting a user operation occurring within the split-screen hot zone 2, the note application corresponding to the split-screen hot zone 2 may process the above operation.
[0162] In combination with the smart flow hot zone shown in Figure 4A, the overall hot zone diagram of the electronic device 100 in the horizontal split-screen scenario can be shown as shown in Figure 10B. Similarly, when the smart flow hot zone overlaps with the split-screen hot zone, the smart flow hot zone in the overlapping area is valid, and the split-screen hot zone is invalid. That is, when the smart flow hot zone overlaps with the split-screen hot zone, when the user's finger and the touch point of the screen reside in the overlapping hot zone (including: dragging from the split-screen hot zone 1 into the overlapping hot zone of the split-screen hot zone 2 and the smart flow hot zone, dragging from the split-screen hot zone 2 into the overlapping hot zone of the split-screen hot zone 1 and the smart flow hot zone), the smart flow is triggered, and then the electronic device 100 will display a menu bar including one or more application icons.
[0163] In some embodiments, in the scenario shown in FIG10A , when the smart flow hotspot overlaps with the split-screen hotspot, the smart flow hotspot in the overlapping area is invalid, while the split-screen hotspot is invalid and valid. That is, when the smart flow hotspot overlaps with the split-screen hotspot, the smart flow is not triggered when the user's finger touches the screen in the overlapping hotspot. When the finger touches the screen in the overlapping hotspot for the second time, the electronic device 100 triggers the smart flow again.
[0164] FIG11A is a flowchart of cross-application data transmission provided by an embodiment of the present application.
[0165] S101. The electronic device 100 displays a first interface.
[0166] S102: The electronic device 100 determines data to be transmitted according to a detected preset user operation.
[0167] S103: The electronic device 100 displays an operation control corresponding to the data to be transmitted.
[0168] S104: The electronic device 100 detects a user operation of dragging the operation control into the second area on the screen and releasing it.
[0169] S105. The electronic device 100 sends the data to be transmitted corresponding to the operation control to the application corresponding to the second area.
[0170] S106. The electronic device 100 detects a user operation of dragging the operation control into the third area on the screen.
[0171] S107. Triggering the smart flow, the electronic device 100 displays one or more application icons.
[0172] S108. The electronic device 100 detects a user operation of continuing to drag the operation control into the area where any application icon is located and releasing it.
[0173] S109. The electronic device 100 sends the data to be transmitted corresponding to the operation control to the application corresponding to the application icon.
[0174] The first interface is any user interface of any application provided by the first application. The application can be a system application or a third-party application. For example, any browsing page provided by the browser application shown in Figure 2A can be called the first interface. In some embodiments, the first interface can also be a user interface such as the homepage, negative one screen, or lock screen interface of the electronic device 100.
[0175] During the display of the first interface, the electronic device 100 may detect a preset specific user operation. Then, the electronic device 100 may determine the data to be transmitted that may be used for smart transfer based on the preset user operation. 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.
[0176] For example, in the embodiments shown in Figures 2A-2F and 3A-3E, the user selecting target text 211 and performing a long press operation on target text 211 can also be referred to as a predetermined specific user operation. In this case, target text 211 is the data to be transmitted, and control 212 can be referred to as an operation control corresponding to target text 211.
[0177] The floating ball hot zone represented by the gray rectangle shown in Figure 4B can be called the second zone. In the user interfaces shown in Figures 2A-2F and 3A-3E, the area where the floating ball 117 is located can be called the second zone. The smart flow hot zone consisting of the left edge hot zone and the right edge hot zone can be called the first zone. The area within the first zone that does not overlap with the second zone can be called the third zone.
[0178] After detecting the operation of dragging the operation control into the second area and releasing it, the electronic device 100 may send the data to be transmitted corresponding to the operation control to the application corresponding to the second area; after detecting the operation of dragging the operation control into the third area, the electronic device 100 may display one or more application icons. After detecting the operation of continuing to drag the operation control into the area where any application icon is located and releasing it, the electronic device 100 may send the data to be transmitted corresponding to the operation control to the application corresponding to the application icon.
[0179] For example, after detecting that the control 212 is dragged into the area where the floating ball 117 is located (i.e., the second area) and released, the electronic device 100 may send the target text 211 corresponding to the control 212 to the note application corresponding to the floating ball 117; after detecting that the control 212 is dragged into an area (i.e., the third area) in the smart flow hot zone (including the right side hot zone and the left side hot zone) that does not overlap with the area where the floating ball 117 is located, the electronic device 100 may display a menu bar 114 including one or more application icons. After detecting that the user has dragged the control 212 into the note icon and released it, the electronic device 100 may send the target text 211 corresponding to the control 212 to the note application corresponding to the note icon.
[0180] FIG11B is a flowchart of another cross-application data transmission provided by an embodiment of the present application.
[0181] S201: The electronic device 100 displays a first interface.
[0182] S202: The electronic device 100 determines data to be transmitted according to a detected preset user operation.
[0183] S203: The electronic device 100 displays an operation control corresponding to the data to be transmitted.
[0184] S204: The electronic device 100 detects a user operation of dragging the operation control into the fourth area on the screen and releasing it.
[0185] S205. The electronic device 100 sends the data to be transmitted corresponding to the operation control to the application corresponding to the fourth area.
[0186] S206: The electronic device 100 detects a user operation of dragging the operation control into the first area on the screen.
[0187] S207: triggering the smart flow, and the electronic device 100 displays one or more application icons.
[0188] S208: The electronic device 100 detects a user operation of continuing to drag the operation control into the area where any application icon is located and releasing it.
[0189] S209. The electronic device 100 sends the data to be transmitted corresponding to the operation control to the application corresponding to the application icon.
[0190] In some embodiments, the electronic device 100 also supports the application split-screen function. In the application split-screen scenario, the electronic device 100 can display two or more application windows at the same time. The user can select the data to be transmitted from the data displayed in any window and drag it to another window. At this time, the display area corresponding to the dragged-in window can be referred to as the second area. Alternatively, after selecting the data to be transmitted from the data displayed in any window, the user can drag it to the left side hot zone or the right side hot zone to trigger the smart flow. The smart flow hot zone composed of the left side hot zone and the right side hot zone can be referred to as the first area.
[0191] For example, in the embodiment shown in Figures 5A-5G, the interface shown in Figure 5A can be referred to as the first interface. In this case, the operation of selecting icon 513a or icon 514a, and the long-press operation on one or more of the above icons can be referred to as a preset specific user operation. In this case, the image corresponding to the one or more icons is the data to be transmitted, and control 517 can be referred to as the operation control corresponding to the data to be transmitted.
[0192] Area 511, i.e., split-screen hot zone 1, may be referred to as the second area. The area in split-screen hot zone 1 that does not overlap with the smart flow hot zone may be referred to as the fourth area. Thus, upon detecting the operation of dragging the control 517 into an area in area 511 that does not overlap with the smart flow hot zone (i.e., the fourth area) and releasing it, the electronic device 100 may send the picture corresponding to the control 517 to the note application corresponding to area 511; upon detecting the operation of dragging the control 517 into the smart flow hot zone (i.e., the first area), the electronic device 100 may display a menu bar 114 including one or more application icons. Upon detecting the user operation of dragging the control 517 into the information icon and releasing it, the electronic device 100 may send the picture corresponding to the control 517 to the information application corresponding to the information icon.
[0193] In the embodiment shown in Figures 7A-7G, the interface shown in Figure 7A can be referred to as the first interface. In this case, the images corresponding to icons 713a and 714a are data to be transmitted, and control 715 can be referred to as an operation control corresponding to the data to be transmitted. Similarly, in the embodiment shown in Figures 9A-9G, the images corresponding to one or more icons selected by the user are data to be transmitted, and the floating control generated by the electronic device 100 based on the one or more icons can be referred to as the operation control corresponding to the one or more icons. After detecting the operation of dragging control 715 into an area of area 711 that does not overlap with the smart flow hot zone (i.e., the fourth area) and releasing it, the electronic device 100 can send the image corresponding to control 715 to the note application corresponding to area 711; after detecting the operation of dragging control 715 into the smart flow hot zone (i.e., the first area), the electronic device 100 can display a menu bar including one or more application icons. After detecting the user operation of dragging control 715 into the information icon and releasing it, the electronic device 100 can send the image corresponding to control 715 to the information application corresponding to the information icon.
[0194] The embodiment shown in FIG. 9A to FIG. 9G may refer to the embodiment shown in FIG. 5A to FIG. 5G and FIG. 7A to FIG. 7G , and will not be described in detail here.
[0195] The data to be transmitted is not limited to the target text 211 in the embodiment shown in Figures 2A to 2E, the pictures in the embodiments shown in Figures 5A to 5G, 7A to 7G, and 9A to 9G, and may also include documents, videos, hyperlinks, and other data.
[0196] For example, after selecting one or more documents from a file directory or receiving one or more documents from a contact, the electronic device 100 may determine that the one or more documents are data to be transmitted and generate corresponding operation controls. After selecting one or more videos or obtaining a video through a screen recording from a gallery application, the electronic device 100 may determine that the one or more selected videos or obtained video through a screen recording are data to be transmitted and generate corresponding operation controls. This embodiment of the present application is not limited to this.
[0197] In some embodiments, the first area and the second area may not overlap. In this case, after detecting the operation of dragging the operation control into the first area and releasing it, the electronic device 100 may send the data to be transmitted corresponding to the operation control to the application corresponding to the first area; after detecting the operation of dragging the operation control into the second area, the electronic device 100 may display one or more application icons. After detecting the operation of continuing to drag the operation control into the area where any application icon is located and releasing it, the electronic device 100 may send the data to be transmitted corresponding to the operation control to the third application corresponding to the application icon.
[0198] 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.
[0199] 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.
[0200] Table 1
[0201] 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.
[0202] 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.
[0203] 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.
[0204] 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.
[0205] 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.
[0206] 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.
[0207] 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.
[0208] To sum up, through the cross-application data transmission method provided by this application, users can trigger different types of cross-application transmissions by dragging operation controls to designated hot zones, and conveniently and quickly send the data to be transmitted corresponding to the operation controls to other applications.
[0209] FIG12 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application.
[0210] As shown in Figure 12, 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.
[0211] 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.
[0212] 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.
[0213] 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.
[0214] 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.
[0215] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor. In an embodiment of the present application, the electronic device 100 can implement display of the user interfaces shown in Figures 1A-1H, 2A-2F, 3A-3E, 5A-5G, 7A-7G, and 9A-9G through a GPU, a display screen 194, and an application processor.
[0216] 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.
[0217] The NPU is a neural-network (NN) computing processor that quickly processes input information by drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, and can also continuously self-learn. The NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, speech recognition, text understanding, etc. In an 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 above semantic information.
[0218] Internal memory 121 may include one or more random access memories (RAMs) and one or more non-volatile memories (NVMs). RAM can be directly read and written by processor 110 and can be used to store executable programs (e.g., machine instructions) for the operating system or other running programs, as well as user and application data. NVM can also store executable programs and user and application data, and can be pre-loaded into RAM for direct reading and writing by processor 110.
[0219] The program code corresponding to the cross-application data transmission method provided in the embodiment of the present application can be stored in NVM. When executing the above method, the electronic device 100 can load the program code stored in the non-volatile storage into the random access memory, and then read and execute it through the processor.
[0220] The external memory interface 120 can be used to connect to an external NVM to expand the storage capacity of the electronic device 100. The external NVM communicates with the processor 110 through the external memory interface 120 to implement a data storage function.
[0221] 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.
[0222] 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.
[0223] The touch sensor 180K is also called a "touch device". The touch sensor 180K can be set on the display screen 194, and 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 other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194. In an embodiment of the present application, the electronic device 100 can detect touch operations such as user clicking on the screen, long pressing, double-clicking, and dragging on the screen through the touch sensor 180K.
[0224] The bone conduction sensor 180M can obtain vibration signals. The buttons 190 include a power button, a volume button, etc. The electronic device 100 can receive key inputs and generate key signal inputs related to user settings and function controls of the electronic device 100.
[0225] 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.
[0226] 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.
[0227] 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.
[0228] 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.
[0229] 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).
[0230] 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 an electronic device, the screen of the electronic device includes a first area and a second area, the first area and the second area partially overlap, and the method includes: When a first operation of dragging the first control into the third area is detected, In response to the first operation, displaying an icon of a first application and an icon of a second application, wherein the third area is an area in the first area that does not overlap with the second area, and the first application and the second application are different; 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; When a third operation of dragging the first control into the second area and releasing it is detected, In response to the third operation, the first data is shared to a third application corresponding to the second area.
2. The method according to claim 1, characterized in that The method further comprises: Displaying a first interface, wherein the first interface includes text; detecting a fourth operation of selecting a first text from the text, detecting a fifth operation on the first text; In response to the fifth operation, the first control is displayed, and the first data includes the first text.
3. The method according to claim 2, characterized in that The first control displays all or part of the first text.
4. The method according to claim 1, characterized in that: The method further comprises: 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, and the first data includes the first image.
5. The method according to claim 4, characterized in that A thumbnail of the first image is displayed on the first control.
6. The method according to any one of claims 1 to 5, characterized in that: The second area is a display area of a first floating ball, the first floating ball is a floating ball of the third application, and an icon and / or name of the third application is displayed in the first floating ball.
7. The method according to claim 6, characterized in that After sharing the first data to the third application corresponding to the second area, the method further includes: A first mark is displayed on the first floating ball, where the first mark is used to indicate that the first data has been shared.
8. The method according to claim 7, characterized in that The first suspension ball includes a first style and a second style. After displaying the first mark on the first suspension ball, the method further includes: The first floating ball of the first style is replaced with the second style, and the display area occupied by the first floating ball of the first style on the screen is larger than the display area occupied by the first floating ball of the second style on the screen.
9. The method according to any one of claims 1 to 8, characterized in that: The first application is different from the third application. After sharing the first data corresponding to the first control to the first application, the method further includes: A second floating ball corresponding to the first application is displayed, and the icon and / or name of the first application is displayed in the second floating ball.
10. A data sharing method, characterized in that: Applied to an electronic device, the screen of the electronic device includes a first area and a second area, the first area and the second area partially overlap, and the method includes: When a first operation of dragging a first control into a first area is detected, 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; When a third operation of dragging the first control into a fourth area and releasing the control is detected, In response to the third operation, the first data is shared to a third application corresponding to the fourth area, where the fourth area is an area in the second area that does not overlap with the first area.
11. The method according to claim 10, characterized in that The screen includes a first window and a second window, the first window is used to display a user interface of a fourth application, the second window is used to display a user interface of the third application, the second area is a display area of the second window, and the method further includes: Selecting the first data from the first window; A fourth operation of the first data is detected, and in response to the fourth operation, the first control is displayed.
12. The method according to claim 11, characterized in that The first window and the second window are displayed tiled, and the area of the first window and the second window is equal to the area of the screen; or, the second window is displayed on the first window as a floating window; or, the first window is displayed on the second window as a floating window.
13. The method according to claim 11 or 12, characterized in that: Part or all of the first data is displayed on the first control.
14. The method according to any one of claims 11 to 13, characterized in that: The selecting the first data from the first window specifically includes: Get the text in the first window; A first text is selected from the texts in the first window, and the first data includes the first text.
15. The method according to any one of claims 11 to 13, characterized in that: The selecting the first data from the first window specifically includes: A first image is selected from one or more images displayed in the first window, and the first data includes the first image.
16. The method according to any one of claims 11 to 15, characterized in that: After sharing the first data to the third application corresponding to the fourth area, the method further includes: displaying the first data in the second area.
17. The method according to any one of claims 1 to 16, characterized in that: The first area includes a right side hot zone and / or a left side hot zone, the right side hot zone is a rectangular touch area determined based on the right side of the screen, and the left side hot zone is a rectangular touch area determined based on the left side of the screen.
18. The method according to any one of claims 1 to 17, characterized in that: The first application and the second application are application programs that can receive the first data and are determined according to the type and / or semantic information of the first data.
19. The method according to any one of claims 1 to 18, 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.
20. The method according to any one of claims 1 to 19, characterized in that: After sharing the first data corresponding to the first control to the first application, the method further includes: Stop displaying the icon of the first application and the icon of the second application.
21. 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 20 is executed.
22. 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 20 is executed.
Citation Information
Patent Citations
Cross-application data transmission method and related equipment
CN119225580A
Drag and drop for touchscreen devices
CN110651243A
Interaction method among multiple application programs
CN114201097A
Data sharing method, data sharing device and computer readable storage medium
CN114385373A
Application interaction method and electronic equipment
CN115033142A