Data transmission method and device, equipment, storage medium and program product

By displaying the candidate object information of the second device in the application of the first device and responding to the user's trigger operation, the target object is added to the application of the first device, and the problem of low data transmission efficiency in traditional technology is solved, and a more efficient data transmission process is achieved.

CN120050274APending Publication Date: 2025-05-27GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510195145.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-20
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In traditional technology, data transmission efficiency between devices is low, and files need to be saved locally in the target device and then added to the application, which takes a lot of time.

Method used

By displaying the candidate object information located at the second device in the first application of the first device and in response to the user's trigger operation, the target object is added to the second application of the first device, and direct data transmission across devices is realized.

Benefits of technology

This method saves operation time and improves the efficiency of data transmission between devices. Users only need to simply trigger operations to complete data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120050274A_ABST
    Figure CN120050274A_ABST
Patent Text Reader

Abstract

The invention relates to a data transmission method and device, computer equipment, a computer readable storage medium and a computer program product. The method is applied to a first device and comprises the steps of displaying candidate object information located in a second device in a first application of the first device under the condition that the first device establishes communication with the second device; and in response to a triggering operation on target object information, adding a target object corresponding to the target object information into a second application of the first equipment. The target object located in the second device can be added to the second application of the first device by triggering the operation, the operation is convenient, the operation time is saved, and the data transmission efficiency of transmitting the target object of the second device to the second application of the first device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data transmission method, device, electronic device, computer-readable storage medium, and computer program product. Background Art

[0002] With the popularization of electronic devices, more and more users are using electronic devices. When using electronic devices, users sometimes need to transfer data between different electronic devices or between applications of different devices. The transferred data may be files, images, etc.

[0003] In traditional technology, to add a file from a first device to an application on a second device, it is necessary to first save the file from the first device locally on the second device, and then add the file from the second device locally to the application on the second device. This operation takes a lot of time, resulting in low efficiency in data transmission across devices. Summary of the invention

[0004] The embodiments of the present application provide a data transmission method, apparatus, computer equipment, computer-readable storage medium, and computer program product, which can save operation time and improve the efficiency of data transmission across devices.

[0005] In a first aspect, the present application provides a data transmission method, which is applied to a first device, and the method includes:

[0006] When the first device establishes communication with the second device, displaying candidate object information located on the second device in a first application of the first device;

[0007] In response to a triggering operation on the target object information, adding a target object corresponding to the target object information to a second application of the first device;

[0008] The target object information is the selected candidate object information; and the second application is an application different from the first application.

[0009] In a second aspect, the present application further provides another data transmission method, which is applied to a first device, and the method includes:

[0010] When the first device establishes communication with the second device, determining a target sharing object located on the first device;

[0011] In response to a moving operation on the target sharing object, when the target sharing object moves to a sensing area where a first application on the first device is located, a task of transmitting the target sharing object to a second device is triggered in the first application.

[0012] In a third aspect, the present application further provides a data transmission device, applied to a first device, the device comprising:

[0013] A display module, configured to display candidate object information located on the second device in a first application of the first device when the first device establishes communication with the second device;

[0014] an adding module, configured to add a target object corresponding to the target object information to a second application of the first device in response to a triggering operation on the target object information;

[0015] The target object information is the selected candidate object information; and the second application is an application different from the first application.

[0016] In a fourth aspect, the present application further provides a data transmission device, applied to a first device, the device comprising:

[0017] A determination module, configured to determine a target sharing object located on the first device when the first device establishes communication with the second device;

[0018] The trigger module is used to respond to the moving operation of the target sharing object and trigger a task of transmitting the target sharing object to the second device in the first application when the target sharing object moves to the sensing area where the first application is located on the first device.

[0019] In a fifth aspect, the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method steps in the first aspect when executing the computer program.

[0020] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method steps in the first aspect or the second aspect.

[0021] In a seventh aspect, the present application further provides a computer program product, comprising a computer program, which implements the method steps in the first aspect or the second aspect when executed by a processor.

[0022] The above-mentioned data transmission method, apparatus, electronic device, computer-readable storage medium and computer program product, when the first device establishes communication with the second device, displays candidate object information located on the second device in the first application of the first device, selects target object information from the candidate object information, and adds the target object corresponding to the target object information to the second application of the first device in response to a trigger operation on the target object information, thereby realizing that the target object located on the second device can be added to the second application of the first device by a trigger operation. The operation is convenient and saves operation time compared to the need to first save the object of the second device on the first device and then add the object from the first device to the second application, thereby improving the data transmission efficiency of transmitting the target object of the second device to the second application of the first device. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 A schematic diagram of an application environment of a data transmission method in some embodiments;

[0025] Figure 2 A schematic diagram of a flow chart of a data transmission method in some embodiments;

[0026] Figure 3 A schematic diagram of interface changes when a file on a mobile phone is transferred to an application on a computer device in some embodiments;

[0027] Figure 4 A schematic diagram of interface changes when multiple files on a mobile phone are transferred to an application on a computer device in some embodiments;

[0028] Figure 5 A schematic diagram of interface changes for transferring files from a computer device to a mobile phone in some embodiments;

[0029] Figure 6 is a schematic diagram of a data transmission method in some embodiments;

[0030] Figure 7 is a structural block diagram of a data transmission device in some embodiments;

[0031] Figure 8 is a structural block diagram of a data transmission device in some other embodiments;

[0032] Fig. 91 is a diagram of the internal structure of an electronic device in some embodiments. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0034] The method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. The first device 102 communicates with the second device 104 via a near field communication network. The first device 102 can select the target object information from the candidate object information displayed in the first application of the first device, and in response to the triggering operation on the target object information, add the target object corresponding to the target object information to the second application of the first device 104. The first device 102 and the second device 104 can be, but are not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc.

[0035] In an exemplary embodiment, Figure 2 As shown, a data transmission method is provided, which is applied to Figure 1 Taking the first device 102 in the example as an example, the data transmission method includes the following steps 202 to 204. Among them:

[0036] Step 202: When the first device establishes communication with the second device, information about candidate objects located on the second device is displayed in a first application of the first device.

[0037] The first device establishes communication with the second device, and the communication may be near field communication or remote communication. The near field communication may be WiFi connection communication, Bluetooth connection communication, or personal hotspot communication, etc. The first application is installed on the first device. The first application may be an application for cross-device interaction, such as a "0+interconnection" application, etc.

[0038] The object may include one or more of a file, a folder, a document, an image, a video, an audio, etc. The format of the object may be an object of any format. The file may be a file of any format, such as word, excel, pdf, etc. The object information may be used to uniquely characterize the object. The object information may include one or more of an object identifier, an object thumbnail, and object summary information. The object identifier may be used to uniquely identify the object. The object identifier may include a file name, a file ID, a folder name, etc. The object thumbnail may include a file thumbnail, an image thumbnail, etc. The object summary information may include a relevant overview of the file content, etc.

[0039] The candidate object information may include object information of all objects located on the second device, and may also include object information of some objects located on the second device. Some objects are determined as needed. Some objects may include objects viewed within a target time period on the second device, and may also include a target number of objects selected from high to low viewing times within a target time period on the second device, etc. Exemplarily, the candidate object information may include object information in an application on the second device. The object information in an application may include one or more of file information, document information, image information, video information, audio information, etc.

[0040] Exemplarily, when the first device establishes near field communication with the second device, candidate object information located on the second device is displayed in an application interface of a first application on the first device, and the candidate object information may include one or more.

[0041] Step 204 , in response to a triggering operation on the target object information, adding a target object corresponding to the target object information to the second application of the first device, wherein the target object information is selected candidate object information.

[0042] The trigger operation may be a click operation, a drag operation, a gesture operation, etc. The second application is an application installed on the first device. The second application is an application different from the first application. The second application may be a system application or a third-party application. System applications may be memo applications, notepads, etc. Third-party applications may be office applications, instant messaging applications, player applications, etc. The application interface of the first application and the application interface of the second application may be located anywhere on the screen of the first device. The application interface of the first application may be displayed on the screen of the first device with the application interface of the second application, and there may be a partial overlapping area, or they may be displayed separately without overlapping areas.

[0043] Exemplarily, the application interface of the first application on the first device displays the candidate object information of the second device, the first device obtains the target object information selected by the user from the candidate object information, and in response to a trigger operation on the target object information, directly adds the target object corresponding to the target object information to the application interface of the second application on the first device.

[0044] In the above-mentioned data transmission method, when the first device establishes communication with the second device, candidate object information located on the second device is displayed in the first application of the first device, and target object information is selected from the candidate object information. In response to a trigger operation on the target object information, the target object corresponding to the target object information is added to the second application of the first device. The trigger operation can add the target object located on the second device to the second application of the first device. The operation is convenient and saves operation time compared to the need to first save the object of the second device on the first device and then add the object from the first device to the second application. The data transmission efficiency of transmitting the target object of the second device to the second application of the first device is improved.

[0045] In some exemplary embodiments, in response to a trigger operation on target object information, a target object corresponding to the target object information is added to a second application of a first device, including: in response to a drag operation on the target object information, when the target object information is dragged to the second application, the target object corresponding to the target object information is added to the second application of the first device.

[0046] Exemplarily, the target object information may be one or more.

[0047] When there is only one target object information, the first device obtains the user's finger pressing the target object information and detects the dragging of the target object information. In response to the dragging operation on the target object information, when it is detected that the target object information is dragged to the application interface of the second application, the target object corresponding to the target object information is added to the blank position of the second application of the first device.

[0048] In the case where there are multiple target object information, the first device can obtain the multiple target object information selected by the user at one time, and in response to the drag operation on the multiple target object information, when it is detected that the multiple target object information are dragged to the application interface of the second application, the target objects corresponding to the multiple target object information are added to the blank positions of the second application.

[0049] It can be understood that when the user wants to add candidate objects corresponding to multiple candidate object information to the second application, he can select one candidate object information at a time and add the selected candidate object information to the second application through a drag operation, or select multiple candidate object information at a time and add the selected multiple candidate object information to the second application together through a drag operation.

[0050] In this embodiment, the target object corresponding to the target object information located on the second device is directly added to the first application of the first device through a drag operation, realizing one-click operation of cross-device data transmission, simplifying the operation steps, saving operation time, and improving the efficiency of cross-device data transmission.

[0051] In some exemplary embodiments, the second application may be one or more. The target object information in the first application may be dragged to one or more second applications. Exemplarily, in response to a drag operation on the target object information, when the target object information is dragged to a second application, the target object corresponding to the target object information is added to the second application. Then, when the target object information is dragged to another second application, the target object corresponding to the target object information is added to another second application.

[0052] like Figure 3 As shown, the first device is a computer device, and the second device is a mobile phone. Multiple candidate object information located on the mobile phone is displayed on the application interface of the first application 310 of the computer device, and the candidate object information may include files, folders, images, etc., and is displayed on the application interface of the second application 320 of the computer device; the computer device obtains the target object information selected by the user from the candidate object information, that is, the image thumbnail 311, and in response to the user dragging the image thumbnail 311 to the second application 320, the image 312 corresponding to the image thumbnail 311 is inserted into the second application 320.

[0053] like Figure 4 As shown, the first device is a computer device, and the second device is a mobile phone. Multiple candidate object information located on the mobile phone is displayed on the application interface of the first application 410 of the computer device, and the candidate object information may include files, folders, images, etc., and is displayed on the application interface of the second application 420 of the computer device; the computer device obtains multiple target object information selected by the user from the candidate object information, namely, including the first image thumbnail 411 and the second image thumbnail 412, and in response to the user dragging the first image thumbnail 411 and the second image thumbnail 412 to the second application 420, the image 413 corresponding to the first image thumbnail 411 and the image 414 corresponding to the second image thumbnail 412 are inserted into the second application.

[0054] In some exemplary embodiments, there are multiple target object information; in response to a drag operation on the target object information, the target object corresponding to the target object information is added to the second application of the first device, including: obtaining the selection order of the multiple target object information; in response to the drag operation on the target object information, the target objects corresponding to the multiple target object information are added to the second application of the first device in the selection order.

[0055] The selection order may be the order in which the user selects the target object information. The first device records the selection order in which the user selects the multiple target object information, and in response to a drag operation on the multiple target object information, when it is detected that the multiple target object information is dragged to the application interface of the second application, the target objects corresponding to the multiple target object information are added to the blank positions of the second application in the selection order.

[0056] In this embodiment, the target objects corresponding to the multiple target object information are added to the blank positions of the second application in the order of selection, which can facilitate the user to add multiple target objects as needed and meet the user's adding order, thereby improving data transmission efficiency.

[0057] In some exemplary embodiments, there are multiple target object information; in response to a drag operation on the target object information, the target object corresponding to the target object information is added to the second application of the first device, including: obtaining the arrangement order of the multiple target object information in the first application; in response to the drag operation on the target object information, the target objects corresponding to the multiple target object information are added to the second application of the first device in the arrangement order.

[0058] The target object information has an existing arrangement order in the first application. The first device records the arrangement order of the multiple target object information selected by the user in the first application, and in response to a drag operation on the multiple target object information, when it is detected that the multiple target object information is dragged to the application interface of the second application, the target objects corresponding to the multiple target object information are added to the blank positions of the second application according to the arrangement order.

[0059] In this embodiment, the target objects corresponding to the multiple target object information are added to the blank positions of the second application according to the arrangement order of the first application. The multiple target objects can be added to the second application with one click, thereby improving data transmission efficiency.

[0060] In some exemplary embodiments, in response to a triggering operation on the target object information, adding the target object corresponding to the target object information to the second application of the first device includes: in response to the triggering operation on the target object information, obtaining the target object corresponding to the target object information from the target cache space of the first device, and adding the target object to the second application of the first device.

[0061] The trigger operation may be a click operation, a drag operation, a gesture operation, etc. The target cache space may be a cache space in the first device for caching candidate objects corresponding to the candidate object information.

[0062] In some exemplary embodiments, the above method also includes: caching the candidate object corresponding to the candidate object information in the target cache space. The candidate object corresponding to the candidate object information is downloaded and cached in the target cache space. The download process is invisible to the user, and the interface of the first device behaves as if it is directly added to the second application without being downloaded to the first device. The candidate object corresponding to the candidate object information is cached in the target cache space, and a virtual placeholder link corresponding to the candidate object is created, and a link relationship between the virtual placeholder link and the candidate object information is established. Storing all candidate objects corresponding to the candidate object information in the target cache space can facilitate the subsequent addition of target objects more efficiently.

[0063] In some exemplary embodiments, the above method further includes: in response to a viewing operation or a calling operation on the candidate object information, caching the candidate object corresponding to the candidate object information indicated by the viewing operation or the calling operation in the target cache space.

[0064] The candidate object information may be an image thumbnail, a file icon, a folder icon, a document icon, etc. In response to a viewing operation or a call operation on the candidate object information, the first device caches the candidate object corresponding to the candidate object information acted upon by the viewing operation or the call operation in a target cache space. Caching the candidate object corresponding to the viewing operation or the call operation in the target cache space can save cache space.

[0065] In some exemplary embodiments, the method further comprises: periodically clearing the target cache space. The periodicity can be set as needed, such as one week, 10 days, one month, etc. By periodically clearing the target cache space, cache space can be saved.

[0066] In some exemplary embodiments, the method further includes: clearing the target cache space when it is detected that the first application is closed. When it is detected that the first application is closed, the target cache space is directly cleared to save cache space.

[0067] In some exemplary embodiments, it is necessary to share a local object stored on a first device with a second device, and the method further includes: determining a target sharing object located on the first device; in response to a move operation on the target sharing object, when the target sharing object moves to a sensing area where the first application is located, triggering a task in the first application to transmit the target sharing object to the second device.

[0068] The sensing area may be an area where the first application can acquire the target sharing object.

[0069] When the first device establishes communication with the second device, one or more candidate sharing objects are displayed on the first device, and the first device obtains the target sharing object selected by the user from the candidate sharing objects, that is, determines the target sharing object located on the first device, and then in response to the user's moving operation on the target sharing object, when the target sharing object moves to the sensing area of ​​the first application, triggers a task in the first application to transfer the target sharing object to the second device. The sharing objects may include files, folders, documents, images, videos, audio, etc. stored on the first device. The candidate sharing objects may include one or more of files, pictures, videos, audio, etc. stored in a folder on the first device.

[0070] The target sharing object on the first device can be transferred to the second device through a moving operation, which saves operation steps and improves the data transmission efficiency across devices.

[0071] The size of the sensing area where the first application is located may be greater than or equal to the size of the mini window or floating window of the first application. The sensing area where the first application is located covers the area where the mini window or floating window of the first application is located. The sensing area may be a hot area of ​​the mini window or floating window of the first application.

[0072] By setting the size of the sensing area to be greater than or equal to the size of the mini window or floating window of the first application, the sensing range of the first application can be increased, thereby facilitating the transmission of trigger data.

[0073] In some exemplary embodiments, when the target sharing object moves to the sensing area where the first application is located, a task of transferring the target sharing object to the second device is triggered in the first application, including: when the target sharing object moves to the sensing area where the first application is located, displaying the sensing area; acquiring the target sharing object in the sensing area, and triggering a task of transferring the target sharing object to the second device in the first application.

[0074] Exemplarily, the size of the sensing area is greater than or equal to the size of the mini window or floating window of the first application. The mini window may refer to a mini mode provided by the first application to allow the user to quickly access certain functions without fully opening the application.

[0075] In the case where the moving operation is a drag operation, the sensing area acquiring the target sharing object may include the sensing area detecting the release of the target sharing object.

[0076] The mini window or floating window of the first application can be located anywhere on the screen of the first device, which is convenient for the user to adjust. The mini window or floating window of the first application can be set on the status bar of the first device, which is convenient for the user to quickly access and improve access efficiency.

[0077] In some exemplary embodiments, the method further includes: displaying a window of the first application in response to a triggering operation on the target sharing object.

[0078] Accordingly, when the target sharing object moves to the sensing area where the first application is located, triggering a task of transmitting the target sharing object to the second device in the first application includes: when the target sharing object moves to the sensing area where the first application is located, triggering a task of transmitting the target sharing object to the second device in the window of the first application. The sensing area is the area where the window of the first application can obtain the target sharing object.

[0079] The trigger operation may be a drag operation, a click operation, a gesture operation, etc. The window of the first application may be hidden, and in response to the trigger operation on the target sharing object, the window of the first application is automatically displayed.

[0080] The sensing area may be an area where the window of the first application can acquire the target sharing object. When the target sharing object is moved to the range of the sensing area, the window of the first application can acquire the target sharing object.

[0081] In some exemplary embodiments, in response to a trigger operation on the target sharing object, displaying the window of the first application includes: in response to a drag operation on the target sharing object, obtaining a moving distance of the drag operation; and displaying the window of the first application when the moving distance exceeds a distance threshold.

[0082] The distance threshold can be set as needed. The moving direction of the drag operation can be any direction. In response to the drag operation on the target shared object, the first device obtains the moving distance of the drag operation, and displays the window of the first application when the moving distance exceeds the distance threshold. When the moving distance does not exceed the distance threshold, no operation may be performed.

[0083] The window of the first application is displayed only when the moving distance exceeds a distance threshold, thereby reducing erroneous operations.

[0084] In some embodiments, Figure 5As shown, the first device is a computer device, and the second device is a mobile phone. The files and status bar in the folder are displayed on the computer device, and the mini window of the first application is displayed in the status bar. When the user drags the file 501 on the computer device, the floating mini window 502 of the first application is triggered to appear automatically. When the file 501 is dragged to the sensing area (hot zone position) of the mini window, the hot zone activation mask of the floating mini window 502 is triggered; when the file is released in the sensing area, the task of transferring the file to the mobile phone is triggered. Near-field traffic-free file transfer across devices is realized, so that different applications can share files in the computer device to the mobile phone in one step in the foreground.

[0085] Figure 6 In another embodiment, a data transmission method is applied to a first device, and the method includes steps 602 to 604.

[0086] Step 602 , when the first device establishes near field communication with the second device, determining a target sharing object located at the first device.

[0087] The sharing object may include files, folders, documents, images, videos, audios, etc. stored on the first device. The candidate sharing objects may include one or more of files, pictures, videos, audios, etc. stored in a folder on the first device.

[0088] When the first device establishes communication with the second device, one or more candidate sharing objects are displayed on the first device, and the first device obtains the target sharing object selected by the user from the candidate sharing objects, that is, determines the target sharing object located on the first device.

[0089] Step 604 , in response to the moving operation of the target sharing object, when the target sharing object moves to the sensing area where the first application on the first device is located, triggering a task in the first application to transmit the target sharing object to the second device.

[0090] In this embodiment, when the first device communicates with the second device, a target sharing object located on the first device is determined, and in response to a move operation on the target sharing object, when the target sharing object moves to the sensing area where the first application on the first device is located, a task of transmitting the target sharing object to the second device is triggered in the first application. The target sharing object on the first device can be transmitted to the second device through the move operation. Compared with the need to first enter the client's specified page and then move the file, this saves operating steps and improves the efficiency of data transmission across devices.

[0091] The size of the sensing area where the first application is located may be greater than or equal to the size of the mini window or floating window of the first application. The sensing area where the first application is located covers the area where the mini window or floating window of the first application is located. The sensing area may be a hot area of ​​the mini window or floating window of the first application.

[0092] In some exemplary embodiments, when the target sharing object moves to the sensing area where the first application is located, a task of transferring the target sharing object to the second device is triggered in the first application, including: when the target sharing object moves to the sensing area where the first application is located, displaying the sensing area; and detecting the release of the target sharing object in the sensing area, triggering the task of transferring the target sharing object to the second device in the first application.

[0093] In some exemplary embodiments, the method further includes: displaying a window of the first application in response to a triggering operation on the target sharing object.

[0094] Correspondingly, when the target sharing object moves to the sensing area where the first application is located, the task of transmitting the target sharing object to the second device is triggered in the first application, including: when the target sharing object moves to the sensing area where the first application is located, the task of transmitting the target sharing object to the second device is triggered in the window of the first application.

[0095] In some exemplary embodiments, in response to a trigger operation on the target sharing object, displaying the window of the first application includes: in response to a drag operation on the target sharing object, obtaining a moving distance of the drag operation; and displaying the window of the first application when the moving distance exceeds a distance threshold.

[0096] In some exemplary embodiments, the window of the first application is a mini window or a floating window; and the size of the sensing area is greater than or equal to the size of the mini window or the floating window of the first application.

[0097] It should be understood that, although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the above embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.

[0098] Based on the same inventive concept, the embodiment of the present application also provides a data transmission device for implementing the data transmission method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data transmission device embodiments provided below can refer to the limitations on the data transmission method above, and will not be repeated here.

[0099] In some exemplary embodiments, Figure 7 As shown, a data transmission device is applied to a first device, and the device includes a display module 702 and an adding module 704. Among them:

[0100] The display module 702 is configured to display candidate object information located on the second device in a first application of the first device when the first device establishes communication with the second device.

[0101] The adding module 704 is used to add the target object corresponding to the target object information to the second application of the first device in response to the triggering operation on the target object information.

[0102] The target object information is the selected candidate object information; and the second application is an application different from the first application.

[0103] In some exemplary embodiments, the adding module 704 is further configured to, in response to a drag operation on the target object information, add a target object corresponding to the target object information to the second application of the first device when the target object information is dragged to the second application.

[0104] In some exemplary embodiments, the target object information is multiple; the above-mentioned device also includes a recording module.

[0105] The recording module is used to obtain the selection order of multiple target object information.

[0106] The adding module 704 is further configured to respond to a drag operation on the target object information and, when the target object information is dragged to the second application, add multiple target objects corresponding to the target object information to the second application of the first device in the selected order.

[0107] In some exemplary embodiments, the adding module 704 is further used to obtain the target object corresponding to the target object information from the target cache space of the first device in response to a triggering operation on the target object information, and add the target object to the second application of the first device.

[0108] In some exemplary embodiments, the apparatus further includes a cache module. The cache module is used to cache the candidate object corresponding to the candidate object information in a target cache space; or, in response to a viewing operation or a call operation on the candidate object information, the cache module is used to cache the candidate object corresponding to the candidate object information indicated by the viewing operation or the call operation in the target cache space.

[0109] In some exemplary embodiments, the apparatus further includes a determination module and a trigger module.

[0110] The determination module is used to determine a target sharing object located on the first device.

[0111] The trigger module is used for responding to the moving operation of the target sharing object, and triggering a task of transmitting the target sharing object to the second device in the first application when the target sharing object moves to the sensing area where the first application is located.

[0112] In some exemplary embodiments, the display module 702 is further configured to display the sensing area when the target sharing object moves to the sensing area where the first application is located.

[0113] The trigger module is also used to trigger a task of transmitting the target sharing object to the second device in the first application when the target sharing object is acquired in the sensing area; the sensing area is an area where the first application can acquire the target sharing object.

[0114] In some exemplary embodiments, the display module 702 is further configured to display the window of the first application in response to a trigger operation on the target sharing object. The trigger module is further configured to trigger, in the window of the first application, a task of transmitting the target sharing object to the second device when the target sharing object moves to the sensing area where the first application is located.

[0115] In some exemplary embodiments, the apparatus further comprises a distance acquisition module. The distance acquisition module is further configured to acquire the moving distance of the dragging operation in response to the dragging operation on the target sharing object; and the display module is further configured to display the window of the first application when the moving distance exceeds a distance threshold.

[0116] In some exemplary embodiments, the window of the first application is a mini window or a floating window; and the size of the sensing area is greater than or equal to the size of the mini window or the floating window of the first application.

[0117] In some exemplary embodiments, Figure 8 As shown, a data transmission device is applied to a first device, and the device includes a determination module 802 and a trigger module 804. Among them:

[0118] The determination module 802 is used to determine a target sharing object located in the first device when the first device establishes communication with the second device.

[0119] The trigger module 804 is used to respond to the moving operation of the target sharing object, and when the target sharing object moves to the sensing area where the first application on the first device is located, trigger a task of transmitting the target sharing object to the second device in the first application.

[0120] In some exemplary embodiments, the device further comprises a display module, which is used to display the sensing area when the target sharing object moves to the sensing area where the first application is located.

[0121] The trigger module is further configured to detect, in the sensing area, a release of the target sharing object, and trigger a task in the first application to transmit the target sharing object to the second device.

[0122] In some exemplary embodiments, the display module is further configured to display the window of the first application in response to a trigger operation on the target sharing object. The trigger module is further configured to trigger, in the window of the first application, a task of transmitting the target sharing object to the second device when the target sharing object moves to a sensing area where the first application is located; the sensing area is an area where the window of the first application can acquire the target sharing object.

[0123] In some exemplary embodiments, the apparatus further comprises a distance acquisition module. The distance acquisition module is further configured to, in response to a drag operation on the target sharing object, acquire a moving distance of the drag operation. The display module is further configured to display a window of the first application when the moving distance exceeds a distance threshold.

[0124] In some exemplary embodiments, the window of the first application is a mini window or a floating window; and the size of the sensing area is greater than or equal to the size of the mini window or the floating window of the first application.

[0125] Each module in the above-mentioned data transmission device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be freely combined as needed. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory in the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0126] In an exemplary embodiment, an electronic device is provided. The electronic device may be a first device, and its internal structure diagram may be as shown in FIG. Fig. 9As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a data transmission method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.

[0127] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0128] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method when executing the computer program.

[0129] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method are implemented.

[0130] In one embodiment, a computer program product is provided, comprising a computer program, which implements the steps in the above method when executed by a processor.

[0131] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0132] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0133] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0134] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data transmission method, characterized in that: Applied to a first device, the method includes: When the first device establishes communication with the second device, displaying candidate object information located on the second device in a first application of the first device; In response to a triggering operation on the target object information, adding a target object corresponding to the target object information to a second application of the first device; The target object information is the selected candidate object information; and the second application is an application different from the first application.

2. The method according to claim 1, characterized in that: In response to the triggering operation on the target object information, adding the target object corresponding to the target object information to the second application of the first device includes: In response to a drag operation on the target object information, when the target object information is dragged to a second application, a target object corresponding to the target object information is added to the second application in the first device.

3. The method according to claim 2, characterized in that The target object information is multiple; and in response to the drag operation on the target object information, when the target object information is dragged to the second application, adding the target object corresponding to the target object information to the second application of the first device includes: Obtaining a selection order of the plurality of target object information; In response to a drag operation on the target object information, when the target object information is dragged to the second application, a plurality of target objects corresponding to the target object information are added to the second application of the first device in the selected order.

4. The method according to claim 1, characterized in that: In response to the triggering operation on the target object information, adding the target object corresponding to the target object information to the second application of the first device includes: In response to a triggering operation on the target object information, a target object corresponding to the target object information is obtained from a target cache space of the first device, and the target object is added to a second application of the first device.

5. The method according to claim 4, characterized in that The method further comprises: Cache the candidate object corresponding to the candidate object information in the target cache space; or, In response to a viewing operation or a calling operation on the candidate object information, the candidate object corresponding to the candidate object information indicated by the viewing operation or the calling operation is cached in a target cache space.

6. The method according to claim 1, characterized in that The method further comprises: Determine a target sharing object located on the first device; In response to a moving operation on the target sharing object, when the target sharing object moves to a sensing area where the first application is located, a task of transmitting the target sharing object to the second device is triggered in the first application.

7. The method according to claim 6, characterized in that When the target sharing object moves to the sensing area where the first application is located, triggering a task of transmitting the target sharing object to the second device in the first application includes: When the target sharing object moves to the sensing area where the first application is located, displaying the sensing area; When the target sharing object is acquired in the sensing area, a task of transmitting the target sharing object to the second device is triggered in the first application.

8. The method according to claim 6, characterized in that The method further comprises: In response to a triggering operation on the target sharing object, displaying a window of the first application; When the target sharing object moves to the sensing area where the first application is located, triggering a task of transmitting the target sharing object to the second device in the first application includes: When the target sharing object moves to the sensing area where the first application is located, a task of transmitting the target sharing object to the second device is triggered in the window of the first application; the sensing area is the area where the window of the first application can obtain the target sharing object.

9. The method according to claim 8, characterized in that The displaying the window of the first application in response to the triggering operation on the target sharing object includes: In response to a drag operation on the target sharing object, acquiring a moving distance of the drag operation; When the moving distance exceeds a distance threshold, a window of the first application is displayed.

10. The method according to claim 8, characterized in that The window of the first application is a mini window or a floating window; the size of the sensing area is greater than or equal to the size of the mini window or the floating window of the first application.

11. A data transmission method, characterized in that: Applied to a first device, the method includes: When the first device establishes communication with the second device, determining a target sharing object located on the first device; In response to a moving operation on the target sharing object, when the target sharing object moves to a sensing area where a first application on the first device is located, a task of transmitting the target sharing object to a second device is triggered in the first application.

12. The method according to claim 11, characterized in that The method further comprises: In response to a triggering operation on the target sharing object, displaying a window of the first application; When the target sharing object moves to the sensing area where the first application is located, triggering a task of transmitting the target sharing object to the second device in the first application includes: When the target sharing object moves to the sensing area where the first application is located, a task of transmitting the target sharing object to the second device is triggered in the window of the first application; the sensing area is the area where the window of the first application can obtain the target sharing object.

13. The method according to claim 11, characterized in that The displaying the window of the first application in response to the triggering operation on the target sharing object includes: In response to a drag operation on the target sharing object, acquiring a moving distance of the drag operation; When the moving distance exceeds a distance threshold, a window of the first application is displayed.

14. A data transmission device, characterized in that: Applied to a first device, the apparatus comprises: A display module, configured to display candidate object information located on the second device in a first application of the first device when the first device establishes communication with the second device; an adding module, configured to add a target object corresponding to the target object information to a second application of the first device in response to a triggering operation on the target object information; The target object information is the selected candidate object information; and the second application is an application different from the first application.

15. A data transmission device, characterized in that: Applied to a first device, the apparatus comprises: A determination module, configured to determine a target sharing object located on the first device when the first device establishes communication with the second device; The trigger module is used to respond to the moving operation of the target sharing object and trigger a task of transmitting the target sharing object to the second device in the first application when the target sharing object moves to the sensing area where the first application is located on the first device.

16. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 13 are implemented.

17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.

18. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 13 are implemented.