Cross-application data transmission method and related equipment
By triggering smart flow services on electronic devices and dragging the operation controls to the target application icon area, the cumbersome data transmission in the existing technology is solved, and fast and convenient cross-application data transmission is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202310788797.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2024-12-31
AI Technical Summary
In the prior art, users need to cumbersomely select data in one application and exit the application, open another application, and paste the data in the past, resulting in a poor user experience.
By generating operation controls on electronic devices, detecting that the user drags the control into the preset hot zone and triggers the smart flow service, determines the application that can receive data, and sends the data to the target application after being dragged to the target application icon area and releases it. middle.
It realizes fast and convenient cross-application data transmission, improves user experience, and simplifies data sharing and transmission processes.
Smart Images

Figure CN119225579A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminals, and in particular to a cross-application data transmission method and related equipment. Background Art
[0002] Currently, if a user wants to send some data from one application to another application, the user needs to exit the application after selecting the data, open another application, and then paste the data to be transferred into the other application. Such cumbersome operations bring poor user experience. Summary of the invention
[0003] The present application provides a cross-application data transmission method and related equipment. In this method, an electronic device implementing the method, such as a mobile phone, a tablet computer, etc., can use corresponding operation controls after obtaining screenshots, screen recordings, videos, texts, documents, and data waiting to be transmitted. After detecting that the user drags the above-mentioned operation controls into a preset hot zone, the electronic device can trigger a smart flow service, determine one or more applications that can receive the corresponding data to be transmitted, and display the icons of the above-mentioned applications. Furthermore, after detecting that the user continues to drag the above-mentioned operation controls to the area where any application icon is located and releases the operation, the electronic device can send the data to be transmitted corresponding to the above-mentioned operation controls to the application corresponding to the above-mentioned application icon, providing users with fast, convenient and smooth cross-application data transmission services.
[0004] In a first aspect, the present application provides a data sharing method, applied to an electronic device, the method comprising:
[0005] A first operation of dragging a first control into a first area of the screen is detected; in response to the first operation, an icon of a first application and an icon of a second application are displayed; a second operation of continuing to drag the first control into a second area where the icon of the first application is located and releasing it is detected; in response to the second operation, first data corresponding to the first control is shared to the first application.
[0006] By implementing the method provided in the first aspect, after detecting that the user drags a preset control into a preset hot zone, the electronic device can trigger a smart flow service and display multiple application icons. After detecting that the user continues to drag the above-mentioned preset control to the area where any application icon among the above-mentioned multiple application icons is located and releases it, the data to be transmitted corresponding to the above-mentioned preset control is sent 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.
[0007] In combination with the method provided in the first aspect, in some embodiments, the method also includes: displaying a first interface; detecting a screenshot operation when displaying the first interface; in response to the screenshot operation, displaying a first control on the first interface, and the first data includes a screenshot image of the first interface.
[0008] By implementing the method provided in the above embodiment, the electronic device can generate a screenshot image after detecting a screenshot operation, and display a control corresponding to the screenshot image. The control is the first control, that is, the preset control. At this time, after detecting that the user drags the first control into the preset hot zone, the electronic device can trigger the smart flow service, display multiple application icons, and after detecting that the user continues to drag the first control to the area where any application icon among the multiple application icons is located and releases the operation, the screenshot image corresponding to the first control is sent to the application corresponding to any of the above application icons.
[0009] In some embodiments, a preview of the screenshot image of the first interface is displayed on the first control, so that the user can intuitively determine the specific content of the data to be transmitted.
[0010] In combination with the method provided in the above embodiments, in some embodiments, before detecting the first operation of dragging the first control into the first area of the screen, the method also includes: detecting a third operation acting on the first control; starting vibration feedback, and setting the first control to a draggable floating state.
[0011] When the method provided in the above embodiment is implemented, the first control generated by the electronic device based on the screenshot operation is first not draggable. After detecting the third operation (such as a long press operation) acting on the first control, the electronic device can set the first control to a suspended state that can be dragged to avoid accidental touch and drag. At the same time, the electronic device can also start the motor to start vibration feedback to remind the user that the drag has been started.
[0012] In combination with the method provided in the first aspect, in some embodiments, the method also includes: displaying a first interface; detecting a screenshot operation when displaying the first interface; displaying a first screenshot image in response to the screenshot operation; detecting an editing operation on the first screenshot image to obtain a second screenshot image; detecting a fourth operation on the second screenshot image; and displaying a first control on the image editing interface in response to the fourth operation, wherein the first data includes the second screenshot image.
[0013] By implementing the method provided in the above embodiment, the electronic device can generate and display a screenshot image, i.e., a first screenshot image, after detecting a screenshot operation. Then, the electronic device can detect an operation to edit the screenshot image, such as adding handwriting, highlight marks, stickers, text, and other editing operations, and obtain an edited screenshot image based on the above editing operation, i.e., a second screenshot image. After detecting a fourth operation (such as a long press operation) on the second screenshot image, the electronic device can display a first control corresponding to the second screenshot image. At this time, after triggering the smart flow service and displaying multiple application icons, after detecting that the user continues to drag the first control to the area where any application icon is located and releases it, the electronic device can send the edited screenshot image corresponding to the first control to the application corresponding to any of the above application icons.
[0014] In some embodiments, a preview of the second screenshot image is displayed on the first control, so that the user can intuitively determine that the specific content of the data to be transmitted is the edited screenshot image.
[0015] In combination with the method provided in the above embodiment, in some embodiments, in response to a screenshot operation, displaying a first screenshot image specifically includes: in response to the screenshot operation, displaying a second control, where a preview image of the first screenshot image is displayed on the second control; detecting a fifth operation acting on the second control; in response to the fifth operation, displaying an image editing interface, where the image editing interface includes the first screenshot image;
[0016] The image editing interface also includes multiple editing controls, wherein detecting an editing operation on a first screenshot image to obtain a second screenshot image specifically includes: detecting an operation acting on one or more editing controls; performing image editing processing corresponding to one or more editing controls on the first screenshot image to obtain a second screenshot image.
[0017] In the above embodiments, the screenshot operation is any one of the following: a global screenshot operation, a local screenshot operation, and a scrolling screenshot operation; when the screenshot operation is a global screenshot operation, the size of the first screenshot image is the same as the size of the screen; when the screenshot operation is a local screenshot operation, the first screenshot image is an irregular shape, and the size of the first screenshot image is smaller than the size of the screen; when the screenshot operation is a scrolling screenshot operation, the size of the first screenshot image is larger than the size of the screen.
[0018] This means that for any screenshot operation, the electronic device can generate corresponding operation controls and associate the above operation controls with the screenshot images captured by the screenshot operation. After triggering the smart flow and determining the target application, the above screenshot images are shared to the target application, providing users with a convenient cross-application screenshot image sharing service.
[0019] 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 target text; detecting an operation on the target text; in response to the operation, displaying a first control on the first interface, the first data including the target text.
[0020] By implementing the method provided in the above embodiment, after detecting an operation (such as a long press operation) on the target text in the displayed text, the electronic device can generate a first control corresponding to the target text. At this time, after triggering the smart flow and determining the target application, the electronic device can send the target text corresponding to the first control to the target application.
[0021] In some embodiments, all or part of the target text is displayed on the first control, so that the user can intuitively determine the specific content of the text to be transmitted at any time.
[0022] 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 the target text; when displaying the first interface, detecting a screenshot operation and displaying a first screenshot image; obtaining the text in the first screenshot image; selecting the target text from the text in the first screenshot image; detecting a sixth operation on the target text, and in response to the sixth operation, displaying a first control, wherein the first data includes the target text.
[0023] By implementing the method provided in the above embodiment, the electronic device can obtain a screenshot image including the current display interface through a screenshot operation, then recognize the text in the image, obtain the text in the current display interface, and then provide the user with a function of selecting the target text. In this way, when some applications restrict users from directly copying text in the interface, the electronic device can support users to edit the screenshot in the screenshot scenario, extract the target text, and then perform intelligent circulation to achieve cross-application transmission of text content.
[0024] In combination with the method provided in the above embodiment, in some embodiments, displaying the first screenshot image specifically includes: in response to a screenshot operation, displaying a second control, wherein a preview image of the first screenshot image is displayed on the second control; detecting a user operation acting on the second control, displaying an image editing interface, wherein the image editing interface includes the first screenshot image;
[0025] The image editing interface also includes a third control, and obtaining the text in the first screenshot image specifically includes: detecting a user operation acting on the third control, and obtaining the text in the first screenshot image.
[0026] In combination with the method provided in the first aspect, in some embodiments, the method also includes: detecting a screen recording operation, recording the interface currently displayed on the electronic device to obtain a first video; after the screen recording is completed, displaying a first control, and the first data includes the first video.
[0027] Implementing the method provided in the above embodiment, after detecting the screen recording operation and obtaining the screen recording video, the electronic device can generate a first control corresponding to the screen recording video. At this time, after triggering the smart flow and determining the target application, the electronic device can send the screen recording video corresponding to the above first control to the above target application.
[0028] In some embodiments, a frame of the first video is displayed on the first control.
[0029] 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.
[0030] For example, when the first data is a screenshot image or other image, the first application and the second application can be applications that can receive the above image determined based on the image and image content, such as note application, instant messaging application, photo editing application, shopping application, etc.; when the first data is text, the first application and the second application can be applications that can receive text determined based on the image and image content, such as note application, instant messaging application, calendar 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.
[0031] In combination with the method provided in the above embodiments, in some embodiments, the first application is an instant messaging application, and after sharing the first data corresponding to the first control to the first application, the method also includes: displaying a first window, the first window displaying multiple contacts; detecting a seventh operation of determining a target contact from multiple contacts; and sending the first data to the target contact in response to the seventh operation.
[0032] When implementing the method provided in the above embodiment, when the target application (i.e., the first application) is an instant messaging application, after sending the data to be transmitted to the first application, the electronic device can also immediately display multiple contacts for the user to select the target contact, and then directly send the data received by the target application to the above target contact without the user having to enter the target application to perform settings and other operations.
[0033] 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 in the right side area or the left side area of the screen, and the icon of the first application and the icon of the second application are arranged vertically.
[0034] In combination with the method provided in the above embodiments, 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.
[0035] 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.
[0036] In a second aspect, the present application provides an electronic device, comprising one or more processors and one or more memories; wherein the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions, and 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 method of the first aspect.
[0037] In a third aspect, an embodiment of the present application provides a chip system, which is applied to an electronic device, and the chip system includes one or more processors, which are used to call computer instructions so that the electronic device executes the method described in the first aspect and any possible implementation method of the first aspect.
[0038] In a fourth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on an electronic device, causes the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0039] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the method described in the first aspect and any possible implementation of the first aspect.
[0040] It can be understood that the electronic device provided in the second aspect, the chip system provided in the third aspect, the computer storage medium provided in the fourth aspect, and the computer program product provided in the fifth aspect are all used to execute the method provided in the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1A-1M A set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0042] Figure 2A-2FIt is another set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0043] Figure 3A-3G A set of user interfaces for implementing cross-application data transmission based on image editing provided by an embodiment of the present application;
[0044] Figure 4A-4F It is another set of user interfaces for implementing cross-application data transmission based on image editing provided by an embodiment of the present application;
[0045] Figure 5A-Figure 5I A set of user interfaces for transmitting partial screenshot images across applications provided in an embodiment of the present application;
[0046] Figure 6A-6D It is another set of user interfaces for transmitting partial screenshot images across applications provided by an embodiment of the present application;
[0047] Figure 7A-7C It is another set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0048] Figure 8A-8F It is another set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0049] Fig. 9A It is a schematic diagram of hot zones for triggering intelligent flow of the electronic device 100 provided in an embodiment of the present application;
[0050] Fig. 9B It is a schematic diagram of hot zones for shutting down the intelligent flow of the electronic device 100 provided in an embodiment of the present application;
[0051] Figure 10A-10C A user interface for displaying usage instructions provided in an embodiment of the present application;
[0052] Figures 11A-11D It is another set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application;
[0053] Fig.12 is a flow chart of cross-application data transmission provided by an embodiment of the present application;
[0054] Fig.13 A schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0055] 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.
[0056] In the current cross-application data transmission scenario, after a user determines the data to be transmitted in one application, he needs to exit the application, open another application, and then paste the data to be transmitted into the other application. Such cumbersome operations bring poor user experience.
[0057] 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 100 such as mobile phones and tablet computers.
[0058] In this method, the electronic device 100 can generate corresponding operation controls after obtaining screenshots, screen recordings, texts, documents and data to be transmitted. After detecting that the user drags the above operation controls into a preset hot zone, the electronic device 100 can trigger the smart flow service, determine one or more applications that can receive the corresponding data to be transmitted, and display the icons of the above applications. Furthermore, after detecting that the user continues to drag the above operation controls to the area where any application icon is located and releases the operation, the electronic device 100 can send the data to be transmitted corresponding to the above operation controls to the application corresponding to the above application icon, providing users with fast, convenient and smooth cross-application data transmission services.
[0059] Not limited to mobile phones and tablet computers, the electronic device 100 may 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, a vehicle-mounted 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.
[0060] Figure 1A-1M A set of user interfaces for implementing cross-application data transmission provided in an embodiment of the present application.
[0061] Figure 1A It is a user interface provided by an embodiment of the present application.
[0062] The application that provides the user interface may 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.
[0063] In some embodiments, the user interface may also be the homepage, negative one screen, lock screen interface, etc. of the electronic device 100, which is not limited in the present embodiment. The negative one screen refers to the first interface on the left side of the homepage opened by swiping right on the homepage.
[0064] In display Figure 1A During the process of displaying the user interface shown in the figure, the electronic device 100 can detect the screenshot operation. The above screenshot operation can be implemented by acting on a physical button of the electronic device 100, such as a power button, a volume button, or by a touch operation on the screen of the electronic device 100, such as Figure 1A The three-finger sliding operation shown, etc., is not limited to this embodiment of the present application.
[0065] In response to the above screenshot operation, the electronic device 100 can save a frame of the user interface on the current screen, i.e., a screenshot image (screenshot). The electronic device 100 can write the screenshot into the memory of the electronic device 100 for storage, so that the user can browse the screenshot at any time through the access operation.
[0066] In an embodiment of the present application, the electronic device 100 may also display a preview of the above screenshot on the screen to prompt the user to obtain a frame of the screenshot. Figure 1B It is a user interface for displaying a screenshot preview image on a screen provided in an embodiment of the present application.
[0067] like Figure 1B As shown, the electronic device 100 can display the control 111 in the lower left corner area of the screen. The lower left corner area of the screen can be called the default screenshot display area. Not limited to the lower left corner, the default screenshot display area can also be the upper right corner, lower right corner, upper left corner, etc. of the screen, and the embodiment of the present application does not limit this.
[0068] Control 111 shows Figure 1A The user can preview the screenshot obtained by the above-mentioned screenshot operation through the above-mentioned control 111. The electronic device 100 can keep displaying the control 111 for a period of time according to a preset timer for the user to browse. The above-mentioned period of time is, for example, 3 seconds. After the timer ends, the electronic device 100 may no longer display the control 111.
[0069] In the embodiment of the present application, during the process of displaying the control 111, the electronic device 100 may detect whether there is a user operation acting on the control 111. Figure 1C , the electronic device 100 can detect the long press operation on the control 111. In response to the above user operation, the electronic device 100 can switch the control 111 to a suspended state, that is, float the control 111. The control 111 in the suspended state can adjust the display position in real time following the motion trajectory of the user's touch operation, that is, adjust the display position of the screenshot preview image.
[0070] refer to Figure 1C-1E In the suspended state, the electronic device 100 can detect the operation of the user dragging the control 111 to slide toward the right side of the screen. After detecting that the control 111 is close to the right side of the screen, the electronic device 100 can display a light strip 112. The light strip 112 can be used to prompt the user that the control 111 is close to the right side of the screen. At this time, the user can determine to continue sliding right to trigger the service corresponding to the right side of the screen, or stop sliding right to avoid triggering the service corresponding to the right side of the screen.
[0071] 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 in the screen. The right side hot zone is a rectangular touch area extending from the right side edge of the screen to the other side. The electronic device 100 can determine whether the control 111 is close to the right side of the screen by the distance between the position of the touch point of the current finger and the screen and the right side hot zone. Furthermore, when it is recognized that the current touch point is in the right side hot zone, the electronic device 100 can determine to trigger the service corresponding to the right side of the screen.
[0072] refer to Figure 1C-1E As shown in the control 111, during the process of dragging the control 111, the electronic device 100 can reduce the size of the control 111 to reduce the obstruction of other contents on the screen.
[0073] In an embodiment of the present application, the service corresponding to the hot zone on the right side 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 may determine the data to be transmitted based on the operating controls when the smart flow is triggered. For example, in the above scenario, control 111 may be referred to as an operating control, and the screenshot corresponding to control 111 may be referred to as data to be transmitted.
[0074] After triggering the smart flow, the electronic device 100 may display a menu bar including one or more candidate application icons on the right side of the screen. Candidate applications are applications that can receive data to be transmitted and are selected by the electronic device 100 from all installed applications. 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 specifically introduced later, which will not be expanded here.
[0075] The electronic device 100 may detect the user operation of continuing to slide right. In response to the above operation, the electronic device 100 may trigger the smart flow service corresponding to the right side hot zone and display a menu bar including one or more candidate application icons.
[0076] refer to Figure 1F , the electronic device 100 may display a menu bar 113 on the right side of the screen. The menu bar 113 includes a plurality of application icons. When the menu bar 113 is triggered to be displayed, the control 111 may block the application icons displayed in the menu bar 113. At this time, refer to Figure 1G , the user can drag the control 111 to the left for a distance to remove the obstruction. Figure 1G As shown, the menu bar 113 may display: a favorite icon, a search icon, a share icon, a note icon, a text message icon, a shopping icon, a print icon, etc. One icon corresponds to one application. The applications corresponding to the above icons are all applications (candidate applications) that can receive the screenshot corresponding to the control 111.
[0077] After the menu bar 113 is displayed, the user can determine all candidate applications that can receive the data to be transmitted through the icons displayed in the menu bar 113, and then determine the target application that receives the data to be transmitted from the candidate applications. It can be understood that when the data to be transmitted is other types of data such as text, video, hyperlink, or data of the same type but with different semantic information, the candidate applications displayed in the menu bar 113 can change accordingly.
[0078] At the same time, the original user interface can be adjusted to a right perspective image, which forms an "opening the door" animation effect with the above-mentioned menu bar 113 to enhance the user experience. In one implementation, after "opening the door", the image displayed on the left is the user interface at the triggering moment captured by the electronic device 100. That is to say, after "opening the door", the image on the left is fixed during the process of the user selecting the target application and will not change over time. In other embodiments, the electronic device 100 may also display the user interface of the original application in real time after "opening the door". At this time, after "opening the door", the image on the left will change over time during the process of the user selecting the target application.
[0079] After obtaining the menu bar 113, the user can determine the target application to receive the screenshot corresponding to the control 111 from the candidate applications displayed in the menu bar 113. The user can select the target application by dragging the control 111 to the area where the target application icon is located. For example, the user can select the note application as the target application for receiving the screenshot corresponding to the control 111. At this time, refer to Figure 1H , the user can continue to drag the control 111 to the note icon and release it. After detecting the user operation of dragging the control 111 to the note icon and releasing it, the electronic device 100 can confirm that the note application is the target application and write the screenshot corresponding to the control 111 into the note application.
[0080] In some embodiments, dragging a control (such as the control 111) to an icon (such as the note icon) requires that the touch point of the dragging operation is within the icon. In other embodiments, the electronic device 100 may set a receiving area that completely includes 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 dragging operation is within the receiving area.
[0081] It is understandable that when there are too many candidate applications to be displayed in the menu bar 113 at the same time, the electronic device 100 may also update the candidate application icons currently displayed in the menu bar 113 according to the user's dragging operation. For example, the electronic device 100 may detect that the user drags the control 111 to a position below the last candidate application icon currently displayed (e.g., a mail icon). In response to the above operation, the electronic device 100 may scroll up the application icons in the menu bar 113: hide the application icons above the menu bar (e.g., favorites icons, search icons, etc.), and display more candidate application icons that are not currently displayed after the last candidate application icon. Similarly, the electronic device 100 may detect that the user drags the control 111 to a position above the first candidate application icon currently displayed. In response to the above operation, the electronic device 100 may scroll down the application icons in the menu bar 113: hide the application icons below the menu bar, and display more candidate application icons before the first candidate application icon currently displayed.
[0082] After detecting that the control 111 is dragged to the note icon, the electronic device 100 may highlight the note icon, for example, by increasing its size, changing its color, etc., to prompt the user that the note application is currently selected as the target application to avoid erroneous transmission.
[0083] The process of sending the data to be transmitted from one application to another different application can be called smart transfer. After the transfer is completed, for example, after writing to the note application, the electronic device 100 can close the menu bar 113 of the smart transfer service, refer to Fig. 1I .
[0084] Optionally, the electronic device 100 may further display a prompt window 114. The prompt window 114 may prompt the user that the transfer is successful, that is, the data to be transferred selected by the user has been successfully written into the target application. Fig. 1I As shown, the prompt window 114 may also include a control 116: "Go to note to view". When a user operation acting on the control 116 is detected, such as a click operation, the electronic device 100 may open the note application and display the user interface of the note application. At this time, the note application may include the screenshot corresponding to the control 111 written by the above-mentioned smart flow.
[0085] exist Figure 1A-Figure 1I In the method shown, Figure 1A The reading interface shown can be called the first interface, the control 111 can be called the first control, and the screenshot image corresponding to the control 111 can be called the screenshot image of the first interface, that is, the first data. Among them, the right side hot zone and the left side hot zone to be introduced later (collectively referred to as the smart flow hot zone) can be called the first area. Figure 1H The note application selected by the user shown can be referred to as the first application, that is, the target application. The display area corresponding to the icon of the first application or the preset receiving area larger than the display area can be referred to as the second area. Any application among the other multiple applications remaining in the menu bar can be the second application.
[0086] In some embodiments, after writing the data to be transmitted into the target application, the electronic device 100 may also immediately display a floating window of the target application so that the user can use the received data in the target application.
[0087] refer to Figure 1J-1K After detecting the user operation of dragging the control 111 to the information icon and releasing it, the electronic device 100 can confirm that the information application is the target application, and then the electronic device 100 can display the floating window 115. One or more contact options can be displayed in the floating window 115. The user can select any one of the one or more contact options as the target contact. After confirming the target contact, for example, after confirming the target contact "Henry", the electronic device 100 can send the screenshot corresponding to the control 111 to the selected target contact through the information application.
[0088] For example, when the target application is a shopping application, one or more product options may be displayed in the floating window 115. When the target application is a printing application, one or more printing options may be displayed in the floating window 115 to set printing parameters.
[0089] exist Figure 1A-1G , Figure 1J-1K In the method shown, Figure 1J The information application selected by the user shown may be referred to as a first application, ie, a target application. Figure 1K The illustrated floating window 115 may be referred to as a first window.
[0090] After triggering the smart flow and displaying the menu bar including one or more candidate application icons, the electronic device 100 may also detect the user's operation of canceling the smart flow. In one embodiment, the operation of canceling the smart flow can be set as an operation of dragging the operation control to the other side opposite to the menu bar. Figure 1G and Figure 1L After triggering the smart flow and displaying the menu bar 113, the electronic device 100 can detect the user operation of dragging the control 111 to the left side of the screen. Figure 1M , the electronic device 100 can turn off the intelligent flow.
[0091] At any time before determining the target application, after detecting that the user stops dragging and releases the control 111, the electronic device 100 can re-display the control 111 in the default screenshot display area. Figure 1D After the position shown in FIG. 1 is reached (the smart flow has not been triggered) and the dragging and releasing of the control 111 are stopped, the electronic device 100 can display the control 111 in the lower left corner of the screen again. Figure 1B For another example, when it is detected that the user can drag the control 111 to Figure 1G After the position shown (triggering the smart flow) is reached and the dragging and releasing of the control 111 are stopped, the electronic device 100 can close the smart flow and re-display the control 111 in the lower left corner of the screen, referring to Figure 1B .
[0092] After returning to the default screenshot display area, the electronic device 100 may restart the timer of the default screenshot display area. Before the timer ends, the electronic device 100 may display the control 111 in the default screenshot display area. After the timer ends, the electronic device 100 may stop displaying the control 111.
[0093] Figure 2A-2F This is another set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application.
[0094] refer to Figure 2A , the electronic device 100 can detect the long press operation. In response to the above operation, the electronic device 100 can extract Figure 2A All texts in the interface shown. Users can select the target text for cross-application data transfer from all the above texts according to their needs. Figure 2B For example, the user may select the text "Modernist design is ……, or "machine art"". The text selected by the user may be referred to as the target text 211. Figure 2C , the electronic device 100 can detect the long press operation on the target text 211. Figure 2D In response to the above operation, the electronic device 100 may display a suspended control 212. The target text 211 is displayed in the control 212. In some embodiments, the contact point between the user's finger and the screen corresponds to the midpoint of the upper edge of the control 212. In other embodiments, the contact point between the user's finger and the screen corresponds to the midpoint of the control 212, the midpoint of the lower edge, the lower right corner, etc. The present application embodiment does not limit this.
[0095] After the control 212 is generated, the user can drag the control 212 to any position on the screen. Figure 2E-2F , the electronic device 100 may detect the operation of the user dragging the control 212 into the right side hot zone. In response to the above dragging operation, the electronic device 100 may trigger the smart flow and display the menu bar 113 including one or more application icons. The electronic device 100 may detect the user operation of the user continuing to drag the control 212 to the information icon and releasing it. In response to the above operation, the electronic device 100 may send the target text 211 corresponding to the control 212 to the information application.
[0096] For further reference, Figure 1K , the electronic device 100 can detect the target contact selected by the user, and then send the target text 211 corresponding to the above control 212 to the target contact.
[0097] In this way, based on the smart circulation service, users can more conveniently extract text from one application and send it to another application, and further perform operations such as forwarding, sharing, and editing.
[0098] exist Figure 2A-2F In the method described, Figure 2A The interface shown may be referred to as a first interface, the control 212 may be referred to as a first control, and the target text 211 may be referred to as first data. Figure 2F The user-selected information application shown may be referred to as a first application.
[0099] When displaying user interfaces provided by some applications, the electronic device 100 does not support Figure 2A-2D The text in the direct extraction interface is shown for intelligent circulation. At this time, the electronic device 100 can support the user to edit the screenshot in the screenshot scene, extract the target text, and then perform intelligent circulation to achieve cross-application transmission of text content.
[0100] Figure 3A-3G A set of user interfaces for implementing cross-application data transmission based on image editing is provided in an embodiment of the present application.
[0101] When the electronic device 100 does not support directly extracting text from the interface, the user can perform a screenshot operation. In response to the above screenshot operation, the electronic device 100 obtains a screenshot. Figure 3A , the electronic device 100 may display the control 111. The control 111 corresponds to the above screenshot. Subsequently, the electronic device 100 may detect a user operation acting on the control 111, such as a click operation. In response to the above operation, the electronic device 100 may display Figure 3B The editing interface shown.
[0102] The editing interface may display an image 310 to be edited, i.e., a screenshot obtained by the above screenshot operation, in the center. The editing interface may also include multiple editing controls, such as a shape capture control in a toolbar 312, a pen shape control, a color control, a thickness control, etc. in a toolbar 313. The editing interface also includes a control 311. The control 311 may be used to recognize and extract text in the image to be edited.
[0103] The electronic device 100 may detect a user operation, such as a click operation, acting on the control 311. In response to the above operation, the electronic device 100 may recognize the text in the image 310 to be edited, and then provide the user with a function of selecting the target text. Figure 3C In the user interface shown, the user can select target text 314 from the text recognized by the electronic device 100 .
[0104] refer to Figure 3D-Figure 3E , the electronic device 100 may detect a long press operation on the target text 314. In response to the above operation, the electronic device 100 may display a suspended control 315. The control 315 corresponds to the target text 314 selected by the user. The user may drag the control 315 to any position on the screen.
[0105] refer to Figure 3F-3G , the electronic device 100 can detect the user operation of dragging the control 315 into the right side hot zone. In response to the above operation, the electronic device 100 can trigger the smart flow and display the menu bar 113 including one or more application icons. Taking the messaging application as an example, the electronic device 100 can detect the user's operation of continuing to drag the control 315 into the messaging icon and releasing it. In response to the above operation, the electronic device 100 can send the target text 314 corresponding to the control 315 to the messaging application selected by the user. Further, refer to Figure 1K The electronic device 100 may display a floating window of the target application and provide the user with a more convenient method for editing and using the target text 314 in the target application through the floating window, which will not be described in detail here.
[0106] In this way, in the scenario where the direct extraction of text in the interface is restricted for intelligent circulation, the electronic device 100 can provide users with fast text recognition and extraction functions through the above method, and then provide users with convenient services for transmitting target text across applications through intelligent circulation.
[0107] exist Figure 1A-1B , Figure 3A-3G In the method described, based on the screenshot operation Figure 1A The screenshot image obtained by taking a screenshot of the interface shown in the figure can be referred to as a first screenshot image, and the control 111 corresponding to the first screenshot image can be referred to as a second control. Figure 3B The interface shown may be referred to as an image editing interface, control 311 may be referred to as a third control, control 315 may be referred to as a first control, and target text 314 corresponding to control 315 may be referred to as first data.
[0108] In some embodiments, after obtaining the screenshot, the electronic device 100 can also edit the screenshot and determine the edited image as data to be transmitted. The above editing operations include but are not limited to handwriting marking, mosaic, adding text / stickers, cropping, etc. Then, through smart flow, the electronic device 100 can send the edited image to other applications.
[0109] Figure 4A-4F This is another set of user interfaces for implementing cross-application data transmission based on image editing, provided in an embodiment of the present application.
[0110] exist Figure 1B Based on the user interface shown in FIG. 1 , after detecting a user operation acting on the control 111, the electronic device 100 may display Figure 4A The editing interface shown is used to edit the screenshot corresponding to the control 111. The electronic device 100 can detect the user operation acting on one or more editing controls in the toolbar 312 and / or the toolbar 313. In response to the above operation, the electronic device 100 can modify the image to be edited 410 (i.e., the screenshot) according to the image processing method corresponding to the editing control, and then obtain the edited image. For example, refer to Figure 4B , the electronic device 100 may detect the user operation of marking the text "machine art" with handwriting. Then, after performing the above editing operation, the electronic device 100 may display the edited image 411. The electronic device 100 may also detect multiple editing operations, and the edited image may change according to the one or more editing operations performed, which will not be described in detail here.
[0111] After one or more editing operations are completed, refer to Figure 4C, the electronic device 100 may detect a long press operation on the edited image 411. In response to the above operation, the electronic device 100 may display a suspended control 412. The control 412 corresponds to the edited image 411. After recognizing that the user's contact time on the screen reaches a preset duration, the electronic device 100 may determine that a long press operation is detected, and at the same time, the electronic device 100 will limit the recognition of the long press operation as a picture editing operation. Optionally, in order to highlight the suspended control 412, the electronic device 100 may perform grayscale blur processing on the original editing interface.
[0112] refer to Figure 4D-4F , the electronic device 100 can detect the user operation of dragging the control 412 into the right side hot zone. In response to the above operation, the electronic device 100 can trigger the smart flow and display the menu bar 113 including one or more application icons. Taking the note application as an example, the electronic device 100 can detect the user's operation of continuing to drag the control 412 into the note icon and releasing it. In response to the above operation, the electronic device 100 can send the edited image 411 corresponding to the control 412 to the note application selected by the user.
[0113] exist Figure 1A-1B , Figure 4A-4F In the method shown, based on the screenshot operation Figure 1A The screenshot image obtained by taking a screenshot of the interface shown in the figure can be referred to as a first screenshot image, and the control 111 corresponding to the first screenshot image can be referred to as a second control. Figure 4A The interface shown may be referred to as an image editing interface, the edited image 411 may be referred to as a second screenshot image, and the control 412 may be referred to as a first control.
[0114] In the editing interface, the electronic device 100 can also detect a partial screenshot operation. After detecting the partial screenshot operation, the electronic device 100 can use the partial screenshot obtained by the partial screenshot operation, or the text extracted based on the partial screenshot, or the image edited based on the partial screenshot as data to be transmitted for intelligent circulation.
[0115] Figure 5A-Figure 5I A set of user interfaces for transmitting local screenshot images across applications provided in an embodiment of the present application.
[0116] The electronic device 100 may detect a partial screenshot operation, such as a screenshot operation in which a finger joint is used to circle a partial area. The electronic device 100 may determine a target screenshot area according to the partial screenshot operation. Figure 5A The area 511 may be a target screenshot area that the electronic device 100 can determine according to the partial screenshot operation. The content displayed in the target screenshot area is the partial screenshot.
[0117] refer to Figure 5B-Figure 5CAfter determining the partial screenshot, the electronic device 100 may detect a long press operation on the target screenshot area. In response to the above operation, the electronic device 100 may display a control 512. The control 512 corresponds to the above partial screenshot. The user may drag the control 512 to any position on the screen. Figure 5C-5D , the electronic device 100 can detect the operation of the user dragging the control 512 into the right side hot zone. In response to the above operation, the electronic device 100 can trigger the smart flow service and display the menu bar 113 of the smart flow. Then, taking the note application as an example, the electronic device 100 can detect the user operation of the user continuing to drag the control 512 to the note icon and releasing it. In response to the above operation, the electronic device 100 can send the partial screenshot corresponding to the control 512 to the note application selected by the user.
[0118] Understandably, outside the editing interface, Figure 1A In the user interface shown or other user interfaces, the electronic device 100 may also detect a partial screenshot operation and determine a partial screenshot based on the partial screenshot operation.
[0119] refer to Figure 5E , the electronic device 100 may display Figure 1A The electronic device 100 may then display the following information: Fig. 5F The editing interface shown in FIG. 515 may indicate that the electronic device 100 may determine the target screenshot area according to the partial screenshot operation. Figure 5G-Figure 5H After determining the area 515, the electronic device 100 may detect a long press operation on the area 515, and in response to the operation, the electronic device may display a control 516. Then, referring to Fig.5I , the electronic device 100 can detect the operation of the user dragging the control 516 into the right side hot zone and dragging it to the note icon and releasing it. In response to the above operation, the electronic device 100 can send the partial screenshot corresponding to the control 516 to the note application selected by the user.
[0120] exist Figure 5A-Figure 5I In the partial screenshot method shown, the control 512 may be referred to as the first control, and the irregular screenshot generated by the partial screenshot operation corresponding to the control 512 may be referred to as the first data. Figure 5E-Figure 5I In the partial screenshot method shown, control 516 may be referred to as a first control, and the irregular screenshot generated by the partial screenshot operation corresponding to control 516 may be referred to as first data.
[0121] In some embodiments, the user may also obtain a partial screenshot through a partial screenshot operation, and then perform text extraction on the partial screenshot to obtain the target text, and then perform intelligent circulation on the target text.
[0122] refer to Figure 6A-6B After determining the target screenshot area 511 and obtaining the partial screenshot corresponding to the area 511, the electronic device 100 can detect the user operation acting on the control 311. In response to the above operation, the electronic device 100 can recognize and extract the text in the area 511. At this time, the text obtained by recognizing the image content in the area 511 can be called the target text. Then, the electronic device 100 can detect the long press operation acting on the area 511. Figure 6C In response to the above operation, the electronic device 100 may display a suspended control 513. The control 513 may display the target text obtained based on the partial screenshot.
[0123] Then, refer to Fig.6D , the electronic device 100 can detect the operation of the user dragging the control 513 into the right side hot zone. In response to the above operation, the electronic device 100 can trigger the smart flow and send the target text corresponding to the control 513 to the target application selected by the user, which will not be repeated here.
[0124] Figure 7A-7C This is another set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application.
[0125] like Fig. 7A As shown, after obtaining the global screenshot and displaying the control 111, the electronic device 100 may detect a swipe-up operation on the control 111. In response to the swipe-up operation, the electronic device 100 displays Figure 7B The user interface shown in Figure 1 is as follows. Figure 7B As shown, the electronic device 100 may display a control 711 above the control 111 to instruct the user to trigger sharing. The screen area corresponding to the control 711 may be referred to as a sliding up sharing hotspot.
[0126] The electronic device 100 can detect that the user stops the swipe up operation in the swipe up hotspot and releases the hand. In response to the above operation, the electronic device 100 can display Figure 7C The user interface shown in Figure 1 is as follows. Figure 7C As shown, the electronic device 100 may display a window 712 at the bottom of the screen. The window 712 may include one or more application icons. After detecting that the user has selected a target application, the electronic device 100 may send the global screenshot corresponding to the control 111 to the target application selected by the user.
[0127] In some embodiments, the electronic device 100 also supports scrolling screenshots to obtain long screenshots. At this time, the electronic device 100 can also support the use of smart flow to provide users with the function of transmitting long screenshots across applications.
[0128] refer to Fig. 8AAfter obtaining the global screenshot and displaying the control 111, the electronic device 100 may detect a sliding operation on the control 111. In response to the sliding operation, the electronic device 100 displays Figure 8B The user interface shown in Figure 1 is as follows. Figure 8B As shown, the electronic device 100 may display a control 811 above the control 111 to instruct the user to trigger the scrolling screenshot. The screen area corresponding to the control 811 may be referred to as a scrolling screenshot hotspot.
[0129] The electronic device 100 can detect that the user stops sliding down in the scrolling screenshot hotspot and lifts the hand to release the operation. In response to the above operation, the electronic device 100 generates a long screenshot of the current interface. Figure 8C , the electronic device 100 may display a control 812. The control 812 is used to indicate that a long screenshot has been generated and to provide a long screenshot preview function. Figure 1C-1K In the method shown, the electronic device 100 can detect the operation of the user dragging the control 812 into the right side hot zone, and then, in response to the above operation, trigger the smart flow function to display the icons of the candidate applications that can receive the long screenshots corresponding to the control 812. After detecting that the user continues to drag the control 812 to the area where any candidate application icon is located and releases it, the electronic device 100 can send the long screenshot corresponding to the control 812 to the application corresponding to the candidate application icon, thereby realizing cross-application data transmission.
[0130] In some embodiments, the electronic device 100 may set a maximum size. When the size of the long screenshot does not exceed the above maximum size, the electronic device 100 may perform intelligent circulation on the long screenshot. Conversely, when the size of the long screenshot exceeds the above maximum size, the electronic device 100 may prompt the user to crop it, and then perform intelligent circulation on the cropped long screenshot that meets the size limit.
[0131] refer to Figure 8C , the electronic device 100 may detect the click operation on the control 812. In response to the above operation, the electronic device 100 may display Fig.8D At this time, the image to be edited 818 is a long screenshot corresponding to the control 812, that is, a long screenshot obtained by scrolling the screenshot.
[0132] In the scenario where the size of the long screenshot corresponding to the control 812 does not exceed the maximum size, refer to Figure 3A-3G , Figure 4A-4F , Figure 5A-Figure 5I , Figure 6A-6D According to the method shown, the electronic device 100 can also extract target text from the long screenshot, or obtain a partial screenshot, or perform editing operations such as note marking on the long screenshot to obtain an edited image, and then use it as data to be transmitted, and after triggering the smart flow, send the above data to be transmitted to the target application selected by the user.
[0133] In a specific implementation, the screen size is a*b, and the maximum size is a*3b. Where a is the width of the screen, and b is the length of the screen. When the size of the long screenshot exceeds the maximum size, the electronic device 100 may display window 813. Window 813 may prompt the user that the size of the long screenshot exceeds the maximum size and cannot be transferred intelligently. At this time, the electronic device 100 may support pressing Figure 3A-3G or Figure 6A-6D The method shown in the figure extracts the target text from the long screenshot for intelligent flow, or presses Figure 5A-Figure 5I The method shown obtains partial screenshots that do not exceed the maximum size for intelligent circulation, but does not support the intelligent circulation of long screenshots that exceed the maximum size.
[0134] In another specific implementation, refer to Fig. 8E , the electronic device 100 may display a window 814. The window 814 may not only prompt the user that the size of the long screenshot exceeds the maximum size and cannot be transferred intelligently, but may also prompt the user to crop the long screenshot so that the cropped long screenshot meets the conditions for intelligent transfer.
[0135] The electronic device 100 marks the image to be edited 818 according to the maximum size. Fig. 8E As shown, the size corresponding to area 815 is the maximum size supported by smart flow, and the gray area 816 is the image area that exceeds the maximum size in the image to be edited 818. It can be understood that the electronic device 100 can support the user to adjust the position of area 815 in the entire image to be edited 818 to obtain a long screenshot that better meets the user's needs.
[0136] The electronic device 100 may detect a user operation of double-clicking the screen. In response to the above operation, the electronic device 100 may crop the image to be edited 818 according to the area 815 and then display the cropped image. Fig.8F The user interface shown in FIG. 8 shows a cropped image 817 that meets the maximum size restriction condition.
[0137] Then, the electronic device 100 can support pressing Figure 3A-3G or Figure 6A-6D The method shown in FIG. 81 extracts the target text from the cropped image 817 for intelligent circulation, or according to Figure 5A-Figure 5I The method shown in the figure obtains partial screenshots for intelligent flow, and also supports pressing Figure 4A-4F The method shown performs intelligent circulation on the cropped image 817 that meets the maximum size restriction condition.
[0138] exist Figure 8A-8F In the long screenshot method shown, control 812 may be referred to as a second control, and image 817 may be referred to as a second screenshot image.
[0139] In some embodiments, the electronic device 100 may also set a left side hot zone. After detecting that the operation controls such as control 111 and control 212 enter the left side hot zone, the electronic device 100 may also trigger the smart flow, display one or more candidate application icons that can receive the corresponding data to be transmitted, and send the above data to be transmitted to the target application selected by the user. Figure 1G The menu bar 113 shown can be displayed on the left side of the screen accordingly, and the electronic device 100 can adjust the original user interface to a left perspective style. Not limited to the right edge hot zone and the left edge hot zone, the electronic device 100 can also set other hot zones for detecting and determining whether to trigger the wisdom flow, which is not limited in the embodiment of the present application. The hot zones set to trigger the wisdom flow, such as the right edge hot zone and the left edge hot zone, are also called the wisdom flow hot zones.
[0140] Fig. 9A It is a schematic diagram of hot zones for triggering intelligent flow of the electronic device 100 provided in an embodiment of the present application.
[0141] A specific touch area preset in the screen is called a hot zone. Referring to the above introduction, the electronic device 100 can set one or more hot zones for triggering the flow of intelligence, such as the right side hot zone and the left side hot zone. Fig. 9A As shown in the figure, the right edge hot zone is a rectangular touch area extending from the right side of the screen to the left. Correspondingly, the left edge hot zone is a rectangular touch area extending from the left side of the screen to the right. Exemplarily, the width of the screen is x, and the extension length can be 1 / 6 of the screen width, that is, 1 / 6x.
[0142] During the dragging operation, when the user's finger and the touch point of the screen enter the right side hot zone or the left side hot zone (smart flow hot zone), the electronic device 100 can trigger the smart flow.
[0143] Fig. 9B It is a schematic diagram of hot zones for shutting down intelligent flow of the electronic device 100 provided in an embodiment of the present application.
[0144] Fig. 9B The left side closing hot zone shown in Figure (a) may indicate that the electronic device 100 closes the hot zone of the smart flow in the scenario where the smart flow is triggered by the right side hot zone. For example, the width of the left side closing hot zone may be 1 / 2 of the screen width. Figure 1L-1M The user interface shown, after triggering the smart flow, when it is detected that the user drags the operation control into the closing hot zone on the other side, the electronic device 100 can close the menu bar corresponding to the smart flow, close the smart flow, and restore the display of the original application interface.
[0145] Fig. 9BThe right side closing hot zone shown in the middle (b) figure can represent the hot zone of the electronic device 100 closing the smart flow in the scenario where the smart flow is triggered by the left side hot zone. Similarly, the width of the right side closing hot zone can be 1 / 2 of the screen width, which will not be repeated here.
[0146] It is understandable that when using smart flow for the first time, the electronic device 100 may display usage instructions to instruct the user how to control the electronic device 100 to perform smart flow.
[0147] Figure 10A-10C It is a set of user interfaces for displaying usage instructions provided in an embodiment of the present application.
[0148] like Fig. 10A As shown, after obtaining the screenshot for the first time and displaying the corresponding operation control, the electronic device 100 may display an upward sliding arrow and a prompt "Swipe up to share", indicating that the user can trigger sharing by controlling the operation control to perform an upward sliding operation. Then, the electronic device 100 may display Fig. 10B The electronic device 100 may display a downward arrow and a prompt “Slide down to scroll the screenshot” to indicate that the user can control the operation control to perform a downward operation to trigger the scrolling screenshot, thereby obtaining a long screenshot. Then, the electronic device 100 may display Fig. 10C The electronic device 100 may display left and / or right swipe arrows, and a prompt “Press and hold the thumbnail and drag to the left / right edge of the screen to start smart flow”, indicating that the user can trigger smart flow by controlling the operation control to perform left or right swipe operations.
[0149] Figures 11A-11D This is another set of user interfaces for implementing cross-application data transmission provided by an embodiment of the present application.
[0150] Fig.11A It is another user interface provided by the embodiment of the present application, such as an interface for playing a video. The user can turn on the screen recording function during the video playing process. The electronic device 100 can generate a corresponding video file based on the above screen recording operation.
[0151] refer to Fig. 11B , the electronic device 100 may display a control 911 in the lower left corner of the screen. The control 911 corresponds to the video file obtained by the above-mentioned screen recording operation, and can be used to prompt the user that a screen recording video has been generated.
[0152] After detecting a long press operation on the control 911, the electronic device 100 may float the control 911, that is, set the control 911 to a draggable suspended state. The electronic device 100 may change the display position of the control 911 on the screen according to the user's drag operation. Figure 11B-Figure 11DAfter detecting that the user drags the control 911 into the right side hot zone, the electronic device 100 can trigger the smart flow and display icons of candidate applications that can receive the video file corresponding to the control 911. Fig.11D As shown, after detecting that the user continues to drag the control 911 to the favorites icon and releases it, the electronic device 100 can send the video file corresponding to the control 911 to the favorites application selected by the user, thereby realizing cross-application video data transmission.
[0153] In this way, after recording the screen, the user can use the above method to quickly and conveniently send the recorded video to other applications for subsequent sharing, editing, and other operations, thereby improving the user experience. Similarly, in the screen recording scenario, the electronic device 100 can trigger the screen recording after detecting the upward sliding operation on the control 911. Figure 7A-7C The sharing shown will not be repeated here.
[0154] exist Figures 11A-11D In the method shown, control 911 may be referred to as a first control, and the screen recording video corresponding to control 911 may be referred to as a first video, also referred to as first data.
[0155] Fig.12 This is a flow chart of cross-application data transmission provided by an embodiment of the present application.
[0156] S101. The electronic device 100 displays a first interface.
[0157] S102: The electronic device 100 determines data to be transmitted according to a detected preset user operation.
[0158] S103: The electronic device 100 displays an operation control corresponding to the data to be transmitted.
[0159] S104: The electronic device 100 detects a user operation of dragging an operation control into a preset hot zone.
[0160] S105, triggering the intelligent flow, the electronic device 100 displays one or more application icons.
[0161] S106: The electronic device 100 detects a user operation of continuing to drag the operation control into any application icon area and releasing it.
[0162] S107. The electronic device 100 sends the data to be transmitted corresponding to the operation control to the application corresponding to the application icon.
[0163] The first interface is any user interface provided by the electronic device 100. For example, Figure 1A The one reading interface shown can be called a first interface. Fig.11AThe video playback interface shown may be referred to as the first interface. In some embodiments, the first interface may also be a user interface such as a homepage, a negative first screen, or a lock screen interface of the electronic device 100.
[0164] When the electronic device 100 displays the first interface, it can detect a preset specific user operation, and then the electronic device 100 can determine the data to be transmitted that may be used for smart flow according to the user operation. At the same time, the electronic device 100 can display the operation control corresponding to the data to be transmitted on the screen, so that the electronic device 100 can detect whether the user intends to perform smart flow through the operation control.
[0165] The electronic device 100 can set a specific touch area of the screen as a hot zone to trigger the smart flow, such as the right edge hot zone and the left edge hot zone described above. The electronic device 100 can detect the current location of the drag operation in real time, and determine whether the operation control dragged by the user enters the above hot zone in combination with the preset hot zone, and then determine whether the user intends to perform smart flow.
[0166] When it is detected that the user drags the above-mentioned operation control into the preset hot zone, the electronic device 100 can determine whether the user intends to perform smart flow, and then the electronic device 100 can trigger the smart flow. The electronic device 100 can determine that the text, picture, video, document, hyperlink and other data corresponding to the operation control are the data to be transmitted. Then, the electronic device 100 can determine the application that can receive the above-mentioned data to be transmitted, that is, the candidate application. Then, the electronic device 100 can display the application icon of the above-mentioned candidate application for the user to select the target application to receive the above-mentioned data to be transmitted.
[0167] After displaying the icons of the candidate applications, the user can determine the target application to receive the data to be transmitted by continuing to drag the operation control to a certain application icon and releasing it. After detecting the above operation, the electronic device 100 can send the above transmission data to the above target application, thereby realizing cross-application data transmission.
[0168] exist Figure 1A-Figure 1K In the embodiment shown, Figure 1A After the user interface shown in the figure is displayed, the electronic device 100 may detect a screenshot operation. The above screenshot operation may be referred to as a preset specific user operation. In response to the above screenshot operation, the electronic device 100 may Figure 1A The first interface shown in the figure obtains a screenshot. The screenshot may be referred to as data to be transmitted. After determining the data to be transmitted, the electronic device 100 may generate and display an operation control corresponding to the data to be transmitted, such as control 111. The user may drag control 111 to any position on the screen. Figure 1B-1G, the electronic device 100 may detect the user's operation of dragging the control 111 into the right side hot zone, and then the electronic device 100 may display a menu bar 113 including multiple candidate application icons. The user may continue to drag the control 111 to any application icon area in the menu bar 113 and release it. Figure 1H , the electronic device 100 may detect that the user continues to drag the control 111 into the note application icon and releases it. In response to the above operation, the electronic device 100 may send the screenshot corresponding to the control 111 to the note application.
[0169] In the above embodiment, the screenshot operation detected by the electronic device 100 may be referred to as a global screenshot operation. The size of the screenshot generated by the global screenshot operation is the same as the size of the screen of the electronic device 100. In some embodiments, the preset specific user operation may also be a partial screenshot operation or a scrolling screenshot operation, and correspondingly, the data to be transmitted may be a screenshot obtained by the partial screenshot operation or the scrolling screenshot operation.
[0170] For example, in Figure 5A-Figure 5I In the illustrated embodiment, the electronic device 100 may detect a partial screenshot operation, such as a screenshot operation of circling a local area with a finger joint. The electronic device 100 may obtain a partial screenshot based on the partial screenshot operation. At this time, the partial screenshot is the data to be transmitted. After determining the data to be transmitted, the electronic device 100 may generate and display an operation control corresponding to the data to be transmitted, such as control 512. The user may drag control 512 to any position on the screen. Figure 5B-5D , the electronic device 100 can detect the operation of the user dragging the control 512 into the right side hot zone, and then the electronic device 100 can trigger the smart flow service and display the menu bar 113 including multiple candidate application icons. The user can continue to drag the control 512 to any application icon area in the menu bar 113 and release it. Figure 5D , the electronic device 100 may detect the user operation of the user continuing to drag the control 512 to the note application icon and releasing it. In response to the above operation, the electronic device 100 may send the partial screenshot corresponding to the control 512 to the note application selected by the user.
[0171] exist Figure 8A-8FIn the illustrated embodiment, the electronic device 100 can detect a scrolling screenshot operation. The electronic device 100 can obtain a long screenshot based on the above-mentioned scrolling screenshot operation. At this time, the above-mentioned long screenshot is the data to be transmitted. After determining the data to be transmitted, the electronic device 100 can generate and display an operation control corresponding to the above-mentioned data to be transmitted, such as control 812. After detecting the operation of the user dragging control 812 into the right side hot zone, the electronic device 100 can trigger the smart flow service and display multiple candidate application icons. Further, after detecting the user operation of continuing to drag control 812 to any application icon and releasing it, the electronic device 100 can send the long screenshot corresponding to control 812 to the target application selected by the user.
[0172] In some embodiments, after obtaining a screenshot (including a full-screen screenshot, a partial screenshot, and a long screenshot), the electronic device 100 may also detect operations for editing the screenshot, such as highlighting, cropping, etc., and an operation for lifting the screenshot after editing is completed (i.e., an operation for displaying a draggable operation control). At this time, the preset specific user operation also includes the above-mentioned editing operation and lifting operation, and the data to be transmitted is the edited screenshot. Then, the electronic device 100 may trigger and execute the smart transfer according to the aforementioned method of dragging to the preset hot zone, and send the edited screenshot to the target application.
[0173] For example, in Figure 4A-4F In the embodiment shown, Figure 4C The operation of long pressing the image 411 can be referred to as an operation of taking a screenshot after editing, and the edited screenshot shown in the image 411 is data to be transmitted.
[0174] The preset specific user operation is not limited to the screenshot operation, and may also be other operations, such as extracting text or hyperlinks, selecting documents, recording screens, etc. Correspondingly, the data to be transmitted is not limited to images, and may also be text, video, document, hyperlink, and other types of data.
[0175] For example, in Figure 2A-2FIn the illustrated embodiment, the electronic device 100 may detect a long press operation and acquire text in the interface based on the long press operation. Then, the electronic device 100 may determine the target text, such as target text 211, according to the user's selection operation. The operation of acquiring the text in the interface and determining the target text may be referred to as a preset specific user operation (an operation of extracting text). The selected target text may be referred to as data to be transmitted. After determining the data to be transmitted, the electronic device 100 may generate and display an operation control corresponding to the data to be transmitted, such as control 212. After detecting the operation of the user dragging the control 212 into the right side hot zone, the electronic device 100 may trigger the smart flow service and display multiple candidate application icons. Further, after detecting the user operation of continuing to drag the control 212 to any application icon and releasing it, the electronic device 100 may send the target text 211 corresponding to the control 212 to the target application selected by the user.
[0176] exist Figure 3A-3G In the illustrated embodiment, when the electronic device 100 cannot directly extract text from the currently displayed interface, the electronic device 100 may first obtain a screenshot including the currently displayed interface through a screenshot operation, and then extract the text in the screenshot through text recognition. Then, the electronic device 100 may determine the target text, such as the target text 314, from the extracted text according to the user's selection operation. The target text determined by the above method may also be referred to as data to be transmitted. Then, the electronic device 100 may also display the corresponding operation control and detect the user's dragging action. When the smart flow is triggered, the electronic device 100 sends the corresponding target text to the target application selected by the user.
[0177] Similarly, in the above method for acquiring text data to be transmitted based on screenshots, the screenshot for text recognition may also be a partial screenshot obtained by a partial screenshot operation, or a long screenshot obtained by a scrolling screenshot operation.
[0178] When the target text is a hyperlink information such as a Uniform Resource Locator (URL), the operation of copying the hyperlink from the interface can be called an operation of extracting the hyperlink. Correspondingly, the electronic device 100 can display an operation control corresponding to the hyperlink information for the user to perform a drag-and-drop operation, thereby transferring data across applications. For the specific transfer process of the data to be transferred of the hyperlink type, please refer to Figure 2A-2F , Figure 3A-3G The flow process of the text type data to be transmitted is not described here in detail.
[0179] exist Figures 11A-11DIn the illustrated embodiment, the electronic device 100 may also detect a screen recording operation. In this case, the screen recording operation is a preset specific user operation, and the video file obtained based on the screen recording operation may be referred to as data to be transmitted. The electronic device 100 may generate and display an operation control corresponding to the above-mentioned video file, such as control 911. Similarly, after detecting that the user drags control 911 into the right side hot zone, the electronic device 100 may trigger the smart flow service and display multiple candidate application icons. Further, after detecting that the user continues to drag control 911 to any application icon and releases the user operation, the electronic device 100 may send the target text 211 corresponding to control 911 to the target application selected by the user.
[0180] In summary, through the cross-application data transmission method provided by the present application, the user can mark the corresponding pictures, texts, videos, documents and other data as data to be transmitted after performing a preset specific user operation such as a screenshot operation, an operation of extracting text or hyperlinks, an operation of selecting a document, a screen recording operation, etc. After detecting a preset drag operation, the electronic device 100 can send the above-mentioned data to be transmitted to the target application corresponding to the drag operation, providing the user with a smoother and more convenient cross-application data transmission experience.
[0181] Referring to the above introduction, after triggering the smart flow, before displaying one or more candidate application icons, the electronic device 100 can determine the candidate application that can receive the data to be transmitted according to the data type and semantic information of the data to be transmitted. The following specifically describes the strategy by which the electronic device 100 can determine the candidate application according to the data type and semantic information of the data to be transmitted.
[0182] Table 1 is a table of matching relationships between data types to be transmitted and candidate applications provided by an embodiment of the present application. After triggering the smart flow, the electronic device 100 can first determine the candidate applications that can receive the current data to be transmitted according to the matching relationships described in Table 1.
[0183] Table 1
[0184]
[0185]
[0186] First, candidate applications may include 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 to be transmitted. In other words, after 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 of data to be transmitted and the semantic information.
[0187] As shown in Table 1, when the data to be transmitted, i.e., the operation control (e.g. Figure 1A-Figure 1K The control 111 shown, Figure 2A-2F When the data corresponding to the control 212 shown is text and the text includes address information, the candidate applications displayed in the menu bar 113 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.
[0188] 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 113 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.
[0189] When the data to be transmitted is a picture, the personalized application includes a picture editing application by default. Furthermore, through image recognition, when it is recognized that the picture to be transmitted includes address information, the personalized application may also include: navigation application, taxi application; when it is recognized that the picture to be transmitted includes movie / performance information, the personalized application may also include ticket purchase application; when it is recognized that the picture to be transmitted includes product name / shopping password information, the personalized application may also include shopping application; when it is recognized that the picture to be transmitted includes food name, the personalized application may also include: catering application, take-out application.
[0190] In particular, the screenshot image may also carry an application identity identifier, namely, an application ID. 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 image. For example, after receiving a screenshot image carrying an application ID sent by 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 image.
[0191] When the data to be transmitted is a video, the personalized application may include a video editing application and a short video social application. When the data to be transmitted is a document, the personalized application may include a note application, a printer application, and a calendar application. When the data to be transmitted is a hyperlink, the personalized application may include a browser application.
[0192] 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.
[0193] Fig.13 A schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application.
[0194] like Fig.13 As shown, 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.
[0195] It is to be understood that the structure illustrated in the embodiment 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 in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0196] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.
[0197] The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions. The processor 110 can also be provided with a memory for storing instructions and data.
[0198] 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.
[0199] The electronic device 100 implements the display function through the GPU, the display screen 194, and the application processor. In the embodiment of the present application, the electronic device 100 can implement the display function through the GPU, the display screen 194, and the application processor. Figure 1A-1M , Figure 2A-2F , Figure 3A-3G , Figure 4A-4F , Figure 5A-Figure 5I , Figure 6A-6D , Figure 7A-7C , Figure 8A-8F , Figure 10A-10C , Figures 11A-11D The method shown.
[0200] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0201] NPU is a neural network (NN) computing processor. In the embodiment of the present application, the electronic device 100 can recognize and extract text in the screenshot through NPU, thereby providing the user with a convenient function of obtaining text when the third-party application does not support copying text.
[0202] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The program code corresponding to the cross-application data transmission method provided in the embodiment of the present application may be stored in the NVM. When executing the above method, the electronic device 100 may load the program code stored in the non-volatile storage into the random access memory, and then read and execute it through the processor.
[0203] The external memory interface 120 may be used to connect to an external NVM to expand the storage capacity of the electronic device 100 .
[0204] The electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0205] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. 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 the air pressure. The magnetic sensor 180D can be used to detect the magnetic state, such as the opening and closing of the flip cover and the flip cover leather case. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). The distance sensor 180F is used to measure the distance. The proximity light sensor 180G can detect that there is no object near the electronic device 100. The ambient light sensor 180L is used to sense the ambient light brightness. 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.
[0206] 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 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.
[0207] The bone conduction sensor 180M can obtain a vibration signal. The buttons 190 include a power button, a volume button, etc. The electronic device 100 can receive a button input and generate a key signal input related to the user settings and function control of the electronic device 100.
[0208] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for 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, prompting the user that the user's long press operation has been detected. Indicator 192 can be an indicator light. SIM card interface 195 is used to connect a SIM card.
[0209] The term "user interface (UI)" in the specification, claims and drawings of this application refers to the medium 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 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> 、
[0210] <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. After being parsed and rendered, the node is presented as user-visible content. 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 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. For example, HTML is defined by <body>. 、 、 <video> 、 <canvas>To define the elements and attributes of a web page.
[0211] The most common form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operation that is displayed in a graphical manner. It can be an icon, window, control or other interface element displayed on the display screen of an electronic device, where a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.
[0212] 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 also include plural expressions, 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..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrase "when determining..." or "if (stated condition or event) is detected" may 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.
[0213] 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 devices. 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 a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. 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 contains one or more available media integration. 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), etc.
[0214] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.< / canvas> < / video> < / videoview> < / imgview> < / textview>
Claims
1. A data sharing method, characterized in that: Applied to electronic equipment, the method comprises: Detecting a first operation of dragging a first control into a first area on the screen; In response to the first operation, displaying an icon of the first application and an icon of the second application; detecting a second operation of continuing to drag the first control into a second area where the icon of the first application is located and releasing the control; In response to the second operation, the first data corresponding to the first control is shared to the first application.
2. The method according to claim 1, characterized in that The method further comprises: Display the first interface; When the first interface is displayed, a screenshot operation is detected; In response to the screenshot operation, the first control is displayed on the first interface, and the first data includes a screenshot image of the first interface.
3. The method according to claim 2, characterized in that A preview image of the screenshot image of the first interface is displayed on the first control.
4. The method according to claim 2 or 3, characterized in that: Before detecting a first operation of dragging the first control into the first area of the screen, the method further includes: A third operation acting on the first control is detected; vibration feedback is initiated, and the first control is set to a draggable suspended state.
5. The method according to claim 1, characterized in that The method further comprises: Display the first interface; When the first interface is displayed, a screenshot operation is detected; In response to the screenshot operation, displaying a first screenshot image; detecting an editing operation on the first screenshot image, and obtaining a second screenshot image; detecting a fourth operation on the second screenshot image; In response to the fourth operation, the first control is displayed on the image editing interface, and the first data includes the second screenshot image.
6. The method according to claim 5, characterized in that In response to the screenshot operation, displaying a first screenshot image specifically includes: In response to the screenshot operation, displaying a second control, wherein a preview image of the first screenshot image is displayed on the second control; detecting a fifth operation acting on the second control; In response to the fifth operation, displaying an image editing interface, wherein the image editing interface includes the first screenshot image; The image editing interface further includes a plurality of editing controls, and detecting an editing operation on the first screenshot image to obtain a second screenshot image specifically includes: An operation on one or more edit controls is detected; The image editing process corresponding to the one or more editing controls is performed on the first screenshot image to obtain the second screenshot image.
7. The method according to any one of claims 2 to 6, characterized in that: The screenshot operation is any one of the following: a global screenshot operation, a local screenshot operation, or a scrolling screenshot operation; When the screenshot operation is a global screenshot operation, the size of the first screenshot image is the same as the size of the screen; When the screenshot operation is a partial screenshot operation, the first screenshot image is in an irregular shape, and the size of the first screenshot image is smaller than the size of the screen; When the screenshot operation is a scrolling screenshot operation, the size of the first screenshot image is larger than the size of the screen.
8. The method according to claim 1, characterized in that The method further comprises: Displaying a first interface, wherein the first interface includes a target text; detecting an operation on the target text; In response to the operation, the first control is displayed on the first interface, and the first data includes the target text.
9. The method according to claim 8, characterized in that The first control displays all or part of the target text.
10. The method according to claim 1, characterized in that The method further comprises: Displaying a first interface, wherein the first interface includes a target text; When the first interface is displayed, a screenshot operation is detected, and a first screenshot image is displayed; Obtaining text in the first screenshot image; Selecting the target text from the text; detecting a sixth operation on the target text, In response to the sixth operation, the first control is displayed, and the first data includes the target text.
11. The method according to claim 10, characterized in that The displaying of the first screenshot image specifically includes: In response to the screenshot operation, a second control is displayed, on which a preview image of the first screenshot image is displayed; a user operation acting on the second control is detected, and an image editing interface is displayed, the image editing interface including the first screenshot image; The image editing interface further includes a third control, wherein obtaining the text in the first screenshot image specifically includes: A user operation acting on the third control is detected, and text in the first screenshot image is obtained.
12. The method according to claim 1, characterized in that The method further comprises: A screen recording operation is detected, and a screen recording is performed on the interface currently displayed by the electronic device to obtain a first video; After the screen recording is completed, the first control is displayed, and the first data includes the first video.
13. The method according to claim 12, characterized in that A frame of image of the first video is displayed on the first control.
14. The method according to any one of claims 1 to 13, 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.
15. The method according to any one of claims 1 to 14, characterized in that: The first application is an instant messaging application, and after sharing the first data corresponding to the first control to the first application, the method further includes: Displaying a first window, wherein the first window displays a plurality of contacts; detecting a seventh operation of determining a target contact from the plurality of contacts; In response to the seventh operation, the first data is sent to the target contact.
16. The method according to any one of claims 1 to 15, 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 in the right side area or the left side area of the screen, and the icon of the first application and the icon of the second application are arranged vertically.
17. The method according to claim 16, 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.
18. An electronic device, characterized in that: It 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, and 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-17 is executed.
19. 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 17 is executed.
Citation Information
Cited By
Data transmission method, and device and storage medium
WO2026208687A1
