CN117435104A - Data transmission method, device, electronic equipment and storage medium - Google Patents

Data transmission method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117435104A
CN117435104A CN202311356957.5A CN202311356957A CN117435104A CN 117435104 A CN117435104 A CN 117435104A CN 202311356957 A CN202311356957 A CN 202311356957A CN 117435104 A CN117435104 A CN 117435104A
Authority
CN
China
Prior art keywords
target object
electronic device
displaying
interface
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311356957.5A
Other languages
Chinese (zh)
Inventor
席孝倩
蒋建伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311356957.5A priority Critical patent/CN117435104A/en
Publication of CN117435104A publication Critical patent/CN117435104A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a data transmission method, a data transmission device, electronic equipment and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: displaying a first interface, wherein the first interface comprises a target object and at least one electronic equipment identifier; the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition; receiving a first input of a second electronic device identification of the target object and the at least one electronic device identification; responding to the first input, and sending the target object to a second electronic device corresponding to the second electronic device identifier; wherein the second electronic device performs at least one of: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.

Description

Data transmission method, device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a data transmission method, a data transmission device, electronic equipment and a storage medium.
Background
Currently, data transmission between a plurality of electronic devices can be performed by a wired connection or a wireless connection. In the related art, the first electronic device may transmit data in the first electronic device, such as an application installation package, text, and pictures, to the second electronic device through the communication-type application program.
However, in the above method, the user needs to perform data transmission with the second electronic device through the communication application program, which results in complicated operation of performing data transmission between the electronic devices.
Disclosure of Invention
An embodiment of the application aims to provide a data transmission method, a data transmission device, electronic equipment and a storage medium, which can avoid complicated operation of data transmission between the electronic equipment.
In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a first electronic device; the data transmission method comprises the following steps: displaying a first interface, wherein the first interface comprises a target object and at least one electronic equipment identifier; the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition; receiving a first input of a second electronic device identification of the target object and the at least one electronic device identification; responding to the first input, and sending the target object to a second electronic device corresponding to the second electronic device identifier; wherein the second electronic device performs at least one of: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
In a second aspect, an embodiment of the present application provides a data transmission device, which is applied to a first electronic device; the data transmission device includes: the device comprises a display module, a receiving module and a sending module. The display module is used for displaying a first interface, and the first interface comprises a target object and at least one electronic equipment identifier; and the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition. And the receiving module is used for receiving a first input of a second electronic equipment identifier in the target object and the at least one electronic equipment identifier displayed by the display module. And the sending module is used for responding to the first input received by the receiving module and sending the target object to the second electronic equipment corresponding to the second electronic equipment identifier. Wherein the second electronic device performs at least one of: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
In a third aspect, an embodiment of the present application provides a data transmission method, which is applied to a second electronic device; the data transmission method comprises the following steps: and under the condition that the target object sent by the first electronic equipment is received, executing at least one of the following steps: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
In a fourth aspect, an embodiment of the present application provides a data transmission device, which is applied to a second electronic device; the data transmission device includes: and a processing module. The processing module is used for executing at least one of the following under the condition that the target object sent by the first electronic equipment is received: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
In a fifth aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method according to the first or third aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method according to the first or third aspect.
In a seventh aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect or the third aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first or third aspect.
In an embodiment of the present application, a first interface is displayed, where the first interface includes a target object and at least one electronic device identifier, a first input to a second electronic device identifier of the target object and the at least one electronic device identifier is received, and in response to the first input, the target object is sent to a second electronic device corresponding to the second electronic device identifier, where the second electronic device performs at least one of: the method comprises the steps of displaying a target object at a cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object, wherein the electronic equipment corresponding to at least one electronic equipment identifier and the first electronic equipment meet a shortcut connection condition, so that the first electronic equipment can send the target object to the second electronic equipment without a communication application program after determining the target object in the first interface, and complicated operation of data transmission between the electronic equipment is avoided.
Drawings
Fig. 1 is one of flowcharts of a data transmission method provided in an embodiment of the present application;
FIG. 2 is one example schematic diagram of a data transmission interface provided in an embodiment of the present application;
FIG. 3 is a second exemplary diagram of a data transmission interface according to an embodiment of the present disclosure;
FIG. 4 is a third exemplary diagram of a data transmission interface according to an embodiment of the present disclosure;
FIG. 5 is one example schematic diagram of a data display interface provided in an embodiment of the present application;
FIG. 6 is a second exemplary diagram of a data display interface according to an embodiment of the present disclosure;
FIG. 7 is a third exemplary diagram of a data display interface according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
fig. 9 is a second schematic structural diagram of a data transmission device according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 11 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The terms "at least one," "at least one," and the like in the description and in the claims of the present application mean that they encompass any one, any two, or a combination of two or more of the objects. For example, at least one of a, b, c (item) may represent: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", wherein a, b, c may be single or plural. Similarly, the term "at least two" means two or more, and the meaning of the expression is similar to the term "at least one".
The data transmission method, the device, the electronic equipment and the storage medium provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The execution body of the data transmission method provided in the embodiment of the application may be a data transmission device, and the data transmission device may be an electronic device or a functional module in the electronic device. The technical solution provided in the embodiments of the present application will be described below by taking an electronic device as an example.
An embodiment of the application provides a data transmission method, and fig. 1 shows a flowchart of the data transmission method provided in the embodiment of the application, which is applied to a first electronic device. As shown in fig. 1, the data transmission method provided in the embodiment of the present application may include the following steps 201 to 203.
Step 201, a first electronic device displays a first interface, wherein the first interface comprises a target object and at least one electronic device identifier; the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition.
Optionally, in an embodiment of the present application, the target object may include at least one of the following: text content, audio content, video content, application identification, compression packs, pictures, and documents.
It will be appreciated that the target objects described above may be text content, audio content, video content and application identification in the first interface.
For example, in the case where the first interface is a document interface, the target object may be text content; in the case that the first interface is an audio interface, the target object may be audio content; in the case that the first interface is a video interface, the target object is video content; and under the condition that the first interface is a background application management interface, the target object is an application identifier.
Illustratively, the application identification may be at least one of: text labels, image labels, such as icon labels and symbol labels.
In one example, the target object may be a complete content, e.g., a document, that has been stored by the first interface.
In another example, the target object may be a portion of content extracted from the complete content in the first interface.
The electronic device may determine the target object from the first content by inputting the first content in the first interface by the user, and then extract the target object from the first content by a text processing algorithm.
Illustratively, assume that the first interface is a text editing interface in which "about the sunset, the current in the boat" is displayed. It is also called the boat with the current. The Mongolian is better and less than calumniate, the pubic area is not required. Restlessness and no absolute feeling of heart, knowing the flow of qi. The mountain wood; wood has branches, and the heart is pleasant and the monarch is unknown. The target object can be the heart, but not be very restful, and the current is known. The mountain has wood; wood has branches, and the heart is pleasant and the monarch is unknown.
The text processing algorithm may be a neural network algorithm or an artificial intelligence algorithm, for example.
In this embodiment of the present application, the at least one device identifier is used to characterize that the first electronic device has established a communication connection with the electronic device indicated by the at least one device identifier.
Optionally, in an embodiment of the present application, each device identifier of the at least one device identifier may be at least one of the following: text labels, image labels, such as icon labels and symbol labels.
Optionally, in an embodiment of the present application, the communication connection includes at least one of: wired connection and wireless connection.
Illustratively, the wireless connection may include any of the following: bluetooth connection, wireless fidelity (Wireless Fidelity, wiFi) connection, or code scanning connection.
It should be noted that the code scanning connection is that the first electronic device and the second electronic device have a common application program, which is hereinafter referred to as a first application program for short, so that the first electronic device can scan the two-dimensional code in the first application program in the second electronic device through the scanning application function in the first application program, so that the first electronic device can establish communication connection with the second electronic device.
Optionally, in the embodiment of the present application, before the first electronic device displays the first interface, the first electronic device may run an application program corresponding to the first application icon based on the input of the user to the first application icon, so as to display the first interface, and then, the electronic device may display at least one electronic device identifier in the first interface based on the input of the user.
For example, the electronic device may display a first component in any blank area of the first interface, the first component including at least one electronic device identification therein.
The electronic device may display the first component in the first interface through a pop-up window.
For example, the first electronic device may initiate display of the first component function in the setup application interface; as such, after the first electronic device determines the target object, the first electronic device may display the first component in the first interface.
Optionally, in the embodiment of the present application, before the first electronic device displays the first component in the first area in the first interface, the first electronic device may display a prompt message to a user to prompt the user whether to display the first component, so as to perform data transmission.
Optionally, in the embodiment of the present application, when the first electronic device displays the prompt information for M times and the user does not agree, if the user inputs the target object at one time, the first electronic device does not display the prompt information, so that the first component is not displayed either, and M is an integer less than or equal to 3.
Optionally, in the embodiment of the present application, when the user performs data transmission through the first component for the first time, the first electronic device may guide a prompt function to the user, so as to instruct the user how to use the first component to perform data transmission.
For example, taking text as an example, after the first electronic device displays the first component, the first electronic device may play a first animation in the first interface, where the first animation includes a function guide, for example, prompt a user to drag the text until dragging to a target identifier in at least one device identifier in the first component, so that the data transmission process can be completed.
Optionally, in the embodiment of the present application, the first electronic device may further display a device name of the electronic device corresponding to the at least one device identifier in the first component.
In the embodiment of the application, the electronic device can display the N device identifiers in a component mode, so that the readability of the electronic device for displaying the N device identifiers is improved.
Optionally, in an embodiment of the present application, the electronic device may display at least one device identifier in the first component according to a display priority of the at least one device identifier.
In this embodiment of the present application, the display priority of any one of the at least one device identifier is set by: and determining the priority corresponding to the communication connection mode between the electronic equipment corresponding to any equipment identifier and the first electronic equipment.
It will be appreciated that the display priority of the at least one device identifier is used to determine the order in which the at least one device identifier is displayed in the first component.
Illustratively, the display priority is that the wired connection is larger than the WiFi connection and the bluetooth connection is larger than the scan code connection.
Optionally, in the embodiment of the present application, the display priority may be preset for an electronic device; or custom for the user.
In the embodiment of the application, the first electronic device can determine the display sequence of the at least one device identifier in the first component through the display priority, so that the flexibility of the first electronic device in displaying the at least one device identifier is improved.
Step 202, a first electronic device receives a first input of a second electronic device identification of a target object and at least one electronic device identification.
In this embodiment of the present application, the second electronic device identifier may be at least one device identifier in at least one electronic device identifier.
In this embodiment of the present application, the first input is used to determine the second device identifier from at least one device identifier.
Optionally, in the embodiment of the present application, the first input may be a click input, a slide input, a preset track input, or a long press input that is identified by a user for the target object and the target device. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
In addition, in the case that the plurality of second device identifiers is provided, the user may sequentially perform the first input on the plurality of second device identifiers.
Step 203, the first electronic device responds to the first input, and sends the target object to a second electronic device corresponding to the second electronic device identifier, wherein the second electronic device executes at least one of the following: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
For example, taking a target object as a first text as an example, the first electronic device may receive an input from a user of the first text and an input from the first electronic device to a second electronic device identifier, and then transmit the first text to the second electronic device corresponding to the second electronic device identifier.
Illustratively, as shown in FIG. 2, assume that the first interface is a memo interface 10, and that the memo interface 10 displays "what is the current in the boat. It is also called the boat with the current. The Mongolian is better and less than calumniate, the pubic area is not required. Restlessness and no absolute feeling of heart, knowing the flow of qi. The mountain wood; wood has branches, and the heart is pleasant and the monarch is unknown. At this time, the user can learn the stream with the sense of restlessness. The mountain has wood; wood has branches, and the heart is not known to be the most popular, so that the first electronic equipment can display the heart in a floating way without the most restlessness, and the flow is known. The mountain has wood; wood with branches, is not known by the heart; and a first component 11 is displayed in the upper right corner of the memo interface 10, wherein the first component 11 contains 3 device identifiers, which are respectively indicated by 1,2 and 3 in fig. 3.
In one example, taking a target object as a first video as an example, a first electronic device may receive user input of the first video and an identification of a second electronic device, and then transmit the first video to the second electronic device corresponding to the identification of the second electronic device.
Alternatively, in the embodiment of the present application, the first electronic device may extract a portion of the video content in the first video, and transmit the extracted portion of the video content to the target electronic device.
For example, assuming that the first electronic device is playing the first video, when the user performs click input on the first video, the first electronic device extracts a current video frame corresponding to the input of the user through a video frame processing algorithm, and displays the first component in a video playing interface, where the first component includes 3 device identifiers; at this time, the user may drag the current video frame onto any one of the 3 device identifiers, so that the electronic device may transmit the current video frame to the electronic device corresponding to the any one device identifier.
In another example, taking a target object as a first audio, the first electronic device may receive user input of the first audio and the second electronic device identifier, and then transmit the first video to the second electronic device corresponding to the second electronic device identifier.
In yet another example, taking a target object as an application identifier, the first electronic device may receive user input of the application identifier and input of the second electronic device identifier, so as to display an application program corresponding to the application identifier in the second electronic device.
Illustratively, as shown in fig. 3, the first electronic device may display a task management interface 12, and a first component 11 is displayed in the upper right corner of the task management interface 12, where the first component 11 includes 3 device identifiers, denoted by 1,2, and 3 in fig. 3, respectively. The interface 12 of the task manager includes: an application identification 121 of the first application program and an application identification 122 of the second application program. The user may drag and input the application identifier 121 of the first application program until pushing the application identifier 121 to the device identifier 1 in the first component 11, so that the first electronic device may send the application identifier 121 of the first application program to the electronic device corresponding to the device identifier 1.
For example, if the second electronic device does not include the application program corresponding to the application identifier, the second electronic device may display a mirrored simulation window of the application identifier.
For example, if the second electronic device includes an application program corresponding to the application identifier, the second electronic device may run the application program corresponding to the application identifier, and display the target object on an application interface of the application program.
Illustratively, taking a target object as an interface as an example, a first electronic device may receive user input of an interface and an identification of a second electronic device to display the interface in the second electronic device.
For example, as shown in fig. 4, the first electronic device may display a shooting interface 13, and display a first component 11 in the upper right corner of the screen of the first electronic device, where the first component 11 includes 3 device identifiers, which are respectively denoted by 1,2, and 3 in fig. 3. The user may drag and input the shooting interface 13 until pushing the shooting interface to the device identifier 1 in the first component 11, so that the first electronic device may send the first interface to the electronic device corresponding to the device identifier 1.
For example, if the second electronic device does not include the application program corresponding to the interface, the second electronic device may display a mirror image simulation window of the interface.
For example, if the second electronic device includes an application corresponding to the interface, the second electronic device may run the application corresponding to the interface, and display the interface through the application.
Optionally, in the embodiment of the present application, in a process that the first electronic device transmits the target object to the second electronic device, the first electronic device may display a transmission progress and a transmission status in the first component.
The transmission progress may be displayed by a percentage, and the transmission status includes: in transmission, transmission success, and transmission failure.
For example, the first electronic device may display the above transmission progress and transmission status superimposed on the first component.
For example, the first electronic device may display the transmission progress in a superimposed manner on the left half of the first component, and display the transmission status in a superimposed manner on the half of the first component; alternatively, the first electronic device may display the transmission progress in an overlapping manner in the upper half of the first component, and display the transmission status in an overlapping manner in the lower half of the first component. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
Alternatively, in the embodiment of the present application, after the first electronic device transmits the completion target object to the second electronic device, the first electronic device may automatically cancel displaying the first component.
Optionally, in the embodiment of the present application, after the first electronic device transmits the completion target object to the second electronic device, the first electronic device may display a completion control in the first component, and the user may input the completion control, so that the electronic device may cancel displaying the first component.
Optionally, in the embodiment of the present application, the first electronic device may display a completion control in the first component in a process of transmitting the target object to the second electronic device, and the user may input the completion control, so that the first electronic device may cancel displaying the first component.
Optionally, in the embodiment of the present application, when the first electronic device does not detect that a user inputs any device identifier in the first component, the first electronic device automatically cancels displaying the first component after a preset duration.
Optionally, in the embodiment of the present application, when the first electronic device establishes wired connection and wireless connection with the second electronic device corresponding to the second electronic device identifier, the first electronic device responds to the first input, and when the wired connection is disconnected, the first electronic device transmits the first content to the target electronic device through the wireless connection.
Optionally, in the embodiment of the present application, when the first electronic device establishes wireless connection with the second electronic device corresponding to the second electronic device identifier and disconnects the wireless connection, the first electronic device responds to the first input, and transmits the first content to the target electronic device through wired connection.
Optionally, in the embodiment of the present application, under a condition that the first electronic device establishes wired connection and wireless connection with the second electronic device corresponding to the second electronic device identifier, if the size of the occupied memory of the first content is greater than a preset memory, the first electronic device transmits the first content to the target electronic device through the wired connection.
In this embodiment of the present application, the first electronic device may have both wired connection and wireless connection with the second electronic device, so, under the condition that any one of the transmission channels is disconnected, the first electronic device may perform data transmission through another transmission channel, thereby ensuring stability of data transmission.
Optionally, in an embodiment of the present application, in a case where the second electronic device displays the target object at the cursor position, the target object includes at least one of the following: text, images, audio, video, documents.
Optionally, in the embodiment of the present application, in a case where the second electronic device displays a mirror image simulation window of the target object, the target object is an application interface, a task window of the task manager, or a control window of the third electronic device.
Optionally, in the embodiment of the present application, when the second electronic device displays, on an application interface of an application program corresponding to the target object, the target object is in an editing state on the first interface, where the target object includes at least one of the following: image, audio, video, document.
In the data transmission method provided by the embodiment of the application, a first interface is displayed, wherein the first interface comprises a target object and at least one electronic equipment identifier; the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition; receiving a first input of a second electronic device identification of the target object and the at least one electronic device identification; responding to the first input, and sending the target object to a second electronic device corresponding to the second electronic device identifier; wherein the second electronic device performs at least one of: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object. In the scheme, the first electronic equipment can directly display at least one equipment identifier and the target object in the first interface and can directly transmit data to the second electronic equipment corresponding to the second equipment identifier in the at least one equipment identifier through the at least one equipment identifier, so that the first electronic equipment can directly transmit data in the first interface without a fast transmission application program after determining the target object in the first interface, and complicated operation of data transmission between the electronic equipment is avoided.
Alternatively, in the embodiment of the present application, the above step 203 is specifically implemented through steps 203a to 203c described below.
Step 203a, the first electronic device displays at least two processing options in response to the first input.
In this embodiment of the present application, each of the at least two processing options is used to indicate a processing manner of the second electronic device on the target object.
Illustratively, each of the at least two processing options corresponds to a processing option control.
Optionally, in an embodiment of the present application, the electronic device may display at least two processing option controls in the first component; alternatively, the electronic device can display at least two processing option controls in any blank area in the first interface.
Step 203b, the first electronic device receives a second input of a target processing option of the at least two processing options.
In this embodiment of the present application, the second input is used to determine a target processing option from at least two processing options.
Optionally, in the embodiment of the present application, the second input may be a click input, a slide input, a preset track input, or a long press input of a user on a target processing option of the at least two processing options. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
In step 203c, the first electronic device responds to the second input, and sends the processing information and the target object corresponding to the target processing option to the second electronic device.
In this embodiment of the present application, the processing information is used to indicate a processing manner of the second electronic device on the target object.
In this embodiment of the present invention, after the first electronic device determines the target object, the first electronic device may display at least two processing options in the first component, so that after the first electronic device determines the target processing option, the first electronic device may send the processing information and the target object to the second electronic device at the same time, so that the electronic device may process the target object in a processing manner corresponding to the processing information.
Illustratively, the above processing means includes: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
In the embodiment of the invention, the first electronic device can control the processing mode of the target object in the second electronic device based on the selection of the user, so that the flexibility of displaying the target object is improved.
Optionally, in the embodiment of the present application, the data transmission method provided in the embodiment of the present application further includes the following step 301.
Step 301, under the condition that a user account of an electronic device corresponding to at least one electronic device identifier is matched with a user account of a first electronic device, the first electronic device determines that the electronic device corresponding to the at least one electronic device identifier and the first electronic device meet a shortcut connection condition.
In this embodiment of the present application, the user account is an electronic device login account, an application login account, or an application suite login account.
It should be noted that, the shortcut connection condition is that the first electronic device and the electronic device corresponding to the at least one electronic device identifier do not need to be connected through WIFI, bluetooth or wired connection.
In the embodiment of the invention, the first electronic device may send an account matching request to the server, and after the server determines that the user account in the first electronic device matches the user account in the second electronic device, the server may issue an account matching message to the first electronic device, so that the electronic device may determine, through the account matching message, that the second electronic device and the first electronic device meet a shortcut connection condition.
Optionally, in the embodiment of the present application, the matching between the user account of the electronic device corresponding to the at least one electronic device identifier and the user account of the first electronic device may be: registered users of the user account numbers are consistent; or, the family number of the user account; or the user account is consistent with the user password.
In the embodiment of the application, the first electronic device can transmit the target object to the electronic device corresponding to the at least one electronic device identifier through the quick connection between the electronic devices corresponding to the at least one electronic device identifier, so that the flexibility of communication between the first electronic device and the electronic device corresponding to the at least one electronic device identifier is improved.
The embodiment of the application provides a data transmission method, and the flowchart of the data transmission method provided by the embodiment of the application is applied to second electronic equipment. The data transmission method provided in the embodiment of the present application may include the following step 401.
Step 401, in the case of receiving the target object sent by the first electronic device, the second electronic device performs at least one of the following: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
Optionally, in an embodiment of the present application, the second electronic device may perform at least one of the following according to a type of the target object: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
Optionally, in the embodiment of the present application, the second electronic device may execute a corresponding processing manner according to the processing manner sent by the first electronic device.
The target object may include text, and in the event the second electronic device receives the text, the second electronic device may display the text at the cursor position.
In one example, the target object includes a first video, and when an application corresponding to the first video is included in the second electronic device, the second electronic device may run the application corresponding to the first video and play the first video.
In an exemplary embodiment, the target object includes a first video, and when the second electronic device does not include an application corresponding to the first video, the second electronic device may display a mirrored analog window of the application corresponding to the first video, and the second electronic device may play the first video through the mirrored analog window.
In another example, the target object includes a first audio, and when an application corresponding to the first audio is included in the second electronic device, the second electronic device may run the application corresponding to the first audio and play the first audio.
The target object may include a first video, and when the second electronic device does not include an application corresponding to the first audio, the second electronic device may display a mirrored analog window of the application corresponding to the first audio, and the second electronic device may play the first audio through the mirrored analog window.
In yet another example, when the second electronic device includes an application program corresponding to the application identifier, the second electronic device may run the application program corresponding to the application identifier, and continue to display a running interface of the application program corresponding to the application identifier in the first electronic device.
For example, assuming that the first electronic device is displaying the first interface of the first application, the second electronic device may continue to display the first interface if the first application is included in the second electronic device after the second electronic device receives the application identification of the first application.
For example, when the target object includes an application identifier and the second electronic device does not include an application program corresponding to the application identifier, the second electronic device may display a mirror image simulation window of the application program corresponding to the application identifier.
In the data transmission method provided by the application, the second electronic equipment can receive the target object sent by the first electronic equipment and display the target object in the processing mode corresponding to the target object, so that the flexibility of the second electronic equipment in displaying the target object is improved.
Optionally, in the embodiment of the present application, the data transmission method provided in the embodiment of the present application further includes the following step 501 or step 502.
In step 501, when a target object sent by the first electronic device is received and a cursor is not detected, the second electronic device does not display the target object.
In this embodiment of the present invention, the second electronic device may display the target object according to the position of the cursor, so when the cursor does not exist in the screen of the second electronic device, the second electronic device may not display the target object.
Optionally, in the embodiment of the present application, when the cursor does not exist in the screen of the second electronic device, the second electronic device may display a prompt message to prompt the user that the cursor does not exist in the screen of the second electronic device, and the target object is not displayed.
Step 502, in the case of detecting the cursor, the second electronic device displays the target object at the cursor position.
In this embodiment of the present invention, after receiving the target object sent by the first electronic device, the second electronic device may determine the current focus, that is, the position of the cursor in the screen of the second electronic device, as the display position of the target object.
Alternatively, in the embodiment of the present application, the cursor may be located in any interface or in a desktop of any application program in the second electronic device.
Alternatively, in the embodiment of the present application, the second electronic device may be one or more.
In one example, the one second electronic device may receive the first content transmitted by the one first electronic device.
In another example, the one second electronic device may receive first content transmitted by a plurality of first electronic devices.
For example, the first content transmitted by the plurality of first electronic devices may be the same or different.
In yet another example, the plurality of second electronic devices may receive the first content transmitted by one first electronic device at the same time.
Optionally, in the embodiment of the present application, in a case where the second electronic device displays the desktop, the second electronic device converts the first content into the text document, and displays the text document at a display position of the cursor in the desktop.
It can be understood that, because the application icons or the document files are displayed in the desktop, in the case that the cursor is located on the desktop, after receiving the first content, the second electronic device may copy the first content into the blank text document to obtain the first document, and display the first document on the display position corresponding to the cursor.
Optionally, in the embodiment of the present application, after the second electronic device obtains the first document, the second electronic device may display the first document on any empty icon in the desktop.
Optionally, in the embodiment of the present application, after the second electronic device obtains the first document, the second electronic device may automatically rename the first document based on the first content, and display the renamed first document in the desktop.
In the embodiment of the application, the second electronic device can determine the display position of the target object based on the position of the cursor, so that the flexibility of the second electronic device in displaying the target object is improved.
Optionally, in the embodiment of the present application, the data transmission method provided in the embodiment of the present application further includes the following steps 601 and 602.
Step 601, the second electronic device receives a first message sent by the first electronic device.
In this embodiment of the present application, the second electronic device may receive, by using a wired connection manner or a wireless connection manner, the first message sent by the first electronic device.
Optionally, in the embodiment of the present application, the first message may be that the first electronic device sends the first message to the second electronic device while sending the target object, so that the second electronic device may receive the first message and the target object at the same time; alternatively, the first electronic device may send the first message first based on the user's input and then send the target object, so that the second electronic device may receive the first message first and then receive the target object.
In this embodiment of the present application, the first message includes at least one display mode of the target object.
Step 602, the second electronic device determines a display mode of the target object based on the first message.
In this embodiment of the present application, the display manner includes window display or application display corresponding to the running target object.
In this embodiment of the present application, after the second electronic device receives the first message, the second electronic device may parse the display manner of the target object from the first message, so as to determine the display manner of the target object, and display the target object in the display manner.
The electronic device may parse the display manner of the target object from the first message through the decoder.
In the embodiment of the application, the second electronic device can determine the display mode of the target object from the first message, so that the flexibility of displaying the target object by the second electronic device is improved.
Illustratively, before the step 401, the data transmission method provided in the embodiment of the present application further includes the following step 701; and "in step 401, in the case of receiving the target object sent by the first electronic device, displaying the target object at the cursor position" may be specifically implemented by step 401a described below.
Step 701, the second electronic device displays a multimedia file editing interface.
Optionally, in the embodiment of the present application, the multimedia file editing interface in the second electronic device includes a multimedia file, where the multimedia file includes the cursor.
In the embodiment of the application, the second electronic device may run the multimedia file editing application based on the input of the user, so as to display the multimedia file editing interface.
In step 401a, when receiving the text sent by the first electronic device, the second electronic device displays the text at the cursor position of the multimedia file editing interface.
For example, the second electronic device may insert the first content at the display position of the cursor in the multimedia file, and display the multimedia file after the first text is inserted.
Alternatively, in the embodiment of the present application, the first content may include a document file, a video file, and a picture file.
For example, the second electronic device may display the document file in the document interface; alternatively, the second electronic device may display the video file in the video interface; alternatively, the second electronic device may display the picture file in a gallery interface.
Illustratively, as shown in fig. 5 in conjunction with fig. 2, the above multimedia file is assumed to be a document file that is "current in the boat about the moment. It is also called the boat with the current. The Mongolian is better and less than calumniate, the pubic area is not required. Restlessness but no absolute pain, knowing the flow of qi. At this time, the position of the first cursor is restless and is not very much, the back of the stream is known, and the first content is 'mountain with wood with branches, heart happy monarch is not known'; thus, the second electronic equipment can directly insert the ' mountain with wood with branches, the mind is happy and the mind is not known ', and the ' heart is restful and not overwhelming, the flow is known; that is, the content displayed in the second electronic device is "current in the boat. It is also called the boat with the current. The Mongolian is better and less than calumniate, the pubic area is not required. Restlessness and no absolute feeling of heart, knowing the flow of qi. The mountain has wood; wood has branches, and the heart is not known, so that a user can know the flow on the condition that the heart is restless but not very much. The mountain wood; wood has branches, and the heart is pleasant and the monarch is unknown. "
In the embodiment of the application, the second electronic device can display the text, such as the insertion text, at the cursor position of the multimedia file editing interface, so that the second electronic device can obtain the multimedia file with the text inserted, and the diversity of the multimedia file obtained by the electronic device is improved.
Illustratively, before the step 401, the data transmission method provided in the embodiment of the present application further includes the following step 801; and "in step 401, in the case of receiving the target object sent by the first electronic device, displaying the target object at the cursor position" may be specifically implemented by step 401b and step 401c described below.
Step 801, the second electronic device displays a desktop interface.
Illustratively, the second electronic device may revert from the multimedia file editing interface to the desktop interface based on user input.
Step 401b, in the case of receiving the text sent by the first electronic device, the second electronic device converts the text into a text document.
Step 401c, the second electronic device displays the text document at the cursor position of the desktop interface.
It should be noted that, the specific implementation process may be detailed in the above embodiments, and in order to avoid repetition, the description is omitted here.
In the embodiment of the application, under the condition that the second electronic device displays the desktop, the second electronic device can convert the text into the text document and store the text document in the desktop, so that the flexibility of receiving the text by the second electronic device is improved.
Alternatively, in the embodiment of the present application, the above step 401 may be specifically implemented by the following step 901.
Step 901, if the second electronic device does not install the application program corresponding to the target object under the condition that the target object sent by the first electronic device is received, the second electronic device displays a mirror image simulation window of the target object.
In this embodiment of the present application, if the second electronic device does not install the application corresponding to the target object, the second electronic device may send a screen throwing request to the first electronic device, so that the second electronic device may simulate the window with the mirror image of the target object.
It should be noted that, the mirror image simulation window is a window displayed in the second electronic device and does not have an operation right.
Alternatively, in the embodiment of the present application, the above step 401 may be specifically implemented by the following step 1001.
In step 1001, if the second electronic device installs an application corresponding to the target object when receiving the target object sent by the first electronic device, the second electronic device displays the target object on an application interface of the application corresponding to the target object.
In this embodiment of the present application, when an application corresponding to a target object is installed in a second electronic device, it may be understood that the second electronic device may continue to execute an operation of the application corresponding to the target object in the first electronic device by displaying the target object on an application interface of the application corresponding to the target object.
For example, as shown in fig. 6, in a case where the second electronic device receives the photographing application identifier and an application corresponding to the photographing application identifier is installed in the second electronic device, the second electronic device may run the photographing application and display the photographing preview interface 14.
Illustratively, as shown in fig. 7, in the case that the second electronic device receives the gallery interface and the gallery application is installed in the second electronic device, the second electronic device may run the gallery application and display the gallery interface 15.
For example, assuming that a first electronic device is editing notes through a note application, after the first electronic device shares the note application to a second electronic device, the second electronic device may continue editing at the same editing location as the first electronic device.
In the embodiment of the application, the second electronic device can determine the display mode of the target object based on whether the application program corresponding to the target object is installed in the second electronic device, so that the flexibility of the electronic device in processing the target object is improved.
The data transmission method provided in the present application is specifically explained below through interaction between the first electronic device and the second electronic device, and may be specifically implemented through steps 20 to 24 described below.
Step 20, the first electronic device displays a first interface.
Step 21, the first electronic device receives a first input of a target object and a second device identification.
In step 22, in the case that the first electronic device is communicatively connected to the second electronic device corresponding to the second device identifier, the first electronic device transmits the first content to the second electronic device in response to the first input.
Step 23, the second electronic device receives the first content sent by the first electronic device, and displays the target object at a position corresponding to the first cursor in the second electronic device.
Optionally, in the embodiment of the present application, before the step 20, the data transmission provided in the embodiment of the present application further includes a step 30 described below.
Step 30, the first electronic device establishes a communication connection with the second electronic device.
Optionally, in the embodiment of the present application, the first electronic device may also establish a communication connection with the second electronic device after the step 20. The specific execution timing may be determined according to the actual use situation, which is not limited in the embodiments of the present application.
It should be noted that, in the data transmission method provided in the embodiment of the present application, the execution body may be a data transmission device, or an electronic device, or may also be a functional module or entity in the electronic device. In the embodiment of the present application, a data transmission device executes a data transmission method as an example, and the data transmission device provided in the embodiment of the present application is described.
Fig. 8 shows a schematic diagram of a possible configuration of a data transmission device according to an embodiment of the present application. As shown in fig. 8, the data transmission device 70 may include: a display module 71, a receiving module 72 and a transmitting module 73.
The display module is used for displaying a first interface, and the first interface comprises a target object and at least one electronic equipment identifier; and the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition. And the receiving module is used for receiving a first input of a second electronic equipment identifier in the target object and the at least one electronic equipment identifier displayed by the display module. The sending module is used for responding to the first input received by the receiving module and sending the target object to the second electronic equipment corresponding to the second electronic equipment identifier; wherein the second electronic device performs at least one of: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
In one possible implementation manner, under the condition that a user account of the electronic device corresponding to the at least one electronic device identifier is matched with a user account of the first electronic device, determining that the electronic device corresponding to the at least one electronic device identifier and the first electronic device meet a quick connection condition; the user account is an electronic device login account, an application login account or an application suite login account.
In one possible implementation manner, in a case where the second electronic device displays the target object at the cursor position, the target object includes at least one of the following: text, images, audio, video, documents.
In one possible implementation manner, in the case that the second electronic device displays a mirror image simulation window of the target object, the target object is an application interface, a task window of the task manager, or a control window of the third electronic device.
In a possible implementation manner, when the second electronic device displays the target object on the application interface of the application program corresponding to the target object, the target object is in an editing state on the first interface, and the target object includes at least one of the following: image, audio, video, document.
In a possible implementation, the display module 71 is specifically configured to display at least two processing options in response to the first input. The receiving module 72 is specifically configured to receive a second input of the target processing option of the at least two processing options. The sending module 73 is specifically configured to send, in response to the second input, the processing information and the target object corresponding to the target processing option to the second electronic device; the processing information is used for indicating a processing mode of the second electronic equipment on the target object.
The embodiment of the application provides a data transmission device, because the data transmission device can directly display at least one device identifier and a target object in a first interface and can directly transmit data to a second electronic device corresponding to a second device identifier in at least one device identifier through the at least one device identifier, the data transmission device can directly transmit data in the first interface without a fast transmission application program after determining the target object in the first interface, and complicated operation of data transmission between the data transmission devices is avoided.
Fig. 9 shows another possible structural schematic diagram of the data transmission device involved in the embodiment of the present application. As shown in fig. 9, the data transmission device 80 may include: a processing module 81.
The processing module 81 is configured to perform at least one of the following when receiving the target object sent by the first electronic device: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
In one possible implementation manner, the data transmission device 80 provided in the embodiment of the present application further includes: a display module; the display module is used for not displaying the target object when the target object sent by the first electronic equipment is received and the cursor is not detected; in the case where the cursor is detected, the target object is displayed at the cursor position.
In one possible implementation manner, the data transmission device 80 provided in the embodiment of the present application further includes: a receiving module and a determining module. The receiving module is configured to receive a first message sent by a first electronic device. The determining module is used for determining the display mode of the target object based on the first message; the display mode comprises window display or application program display corresponding to the running target object.
In one possible implementation manner, the target object is text; and the display module is further used for displaying a multimedia file editing interface before the target object is displayed at the cursor position under the condition that the target object sent by the first electronic equipment is received. The display module is specifically configured to display, when receiving a text sent by the first electronic device, the text at a cursor position of the multimedia file editing interface.
In one possible implementation manner, the target object is text; and the display module is further used for displaying a desktop interface before the target object is displayed at the cursor position under the condition that the target object sent by the first electronic equipment is received. The display module is specifically configured to convert a text sent by the first electronic device into a text document when the text is received; and displaying the text document at the cursor position of the desktop interface.
The embodiment of the application provides a data transmission device, which can receive a target object sent by first electronic equipment and display the target object in a processing mode corresponding to the target object, so that the flexibility of the data transmission device in displaying the target object is improved.
The data transmission device in the embodiment of the application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the mobile electronic device may be a mobile phone, tablet, notebook, palmtop, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The data transmission device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The data transmission device provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 10, the embodiment of the present application further provides an electronic device 90, including a processor 91 and a memory 92, where a program or an instruction capable of running on the processor 91 is stored in the memory 92, and the program or the instruction when executed by the processor 91 implements each step of the embodiment of the data transmission method, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic hardware structure of an electronic device implementing an embodiment of the present application; the electronic device may be a first electronic device or a second electronic device.
The first electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine some components, or may be arranged in different components, which are not described in detail herein.
The display unit 106 is configured to display a first interface, where the first interface includes a target object and at least one electronic device identifier; and the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition. A user input unit 107 for receiving a first input of a second electronic device identification of the target object and the at least one electronic device identification. The processor 110 is configured to send, in response to the first input, the target object to a second electronic device corresponding to the second electronic device identifier; wherein the second electronic device performs at least one of: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
The embodiment of the application provides first electronic equipment, because the first electronic equipment can directly display at least one equipment identifier and a target object in a first interface and can directly transmit data to second electronic equipment corresponding to second equipment identifier in at least one equipment identifier through the at least one equipment identifier, the first electronic equipment can directly transmit data in the first interface without a fast transmission application program after determining the target object in the first interface, and complicated operation of data transmission between the electronic equipment is avoided.
Optionally, in the embodiment of the present application, the display unit 106 is specifically configured to display at least two processing options in response to the first input. The user input unit 107 is specifically configured to receive a second input of a target processing option of the at least two processing options. The processor 110 is specifically configured to send, in response to the second input, processing information and a target object corresponding to the target processing option to the second electronic device; the processing information is used for indicating a processing mode of the second electronic equipment on the target object.
The second electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine some components, or may be arranged in different components, which are not described in detail herein.
Wherein, the processor 110 is configured to perform at least one of the following when receiving the target object sent by the first electronic device: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object at an application interface of an application program corresponding to the target object.
The embodiment of the application provides the second electronic equipment, which can receive the target object sent by the first electronic equipment and display the target object in a processing mode corresponding to the target object, so that the flexibility of the second electronic equipment in displaying the target object is improved.
Optionally, in the embodiment of the present application, the display unit 106 is configured to, when receiving a target object sent by a first electronic device and a cursor is not detected, not display the target object; in the case where the cursor is detected, the target object is displayed at the cursor position.
Optionally, in the embodiment of the present application, the processor 110 is further configured to receive a first message sent by the first electronic device; determining a display mode of the target object based on the first message; the display mode comprises window display or application program display corresponding to the running target object.
Optionally, in this embodiment of the present application, the target object is text; the display unit 106 is further configured to display a multimedia file editing interface before the target object is displayed at the cursor position when the target object sent by the first electronic device is received; and displaying the text at the cursor position of the multimedia file editing interface under the condition that the text sent by the first electronic equipment is received.
Optionally, in this embodiment of the present application, the target object is text; the display unit 106 is further configured to display a desktop interface before the target object is displayed at the cursor position when the target object sent by the first electronic device is received; the processor 110 is specifically configured to, when receiving the text sent by the first electronic device, convert the text into a text document. The display unit 106 is specifically configured to display a text document at a cursor position of a desktop interface.
The electronic device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 109 may include volatile memory or nonvolatile memory, or the memory 109 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implement each process of the embodiment of the method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, implementing each process of the above method embodiment, and achieving the same technical effect, so as to avoid repetition, and not repeated here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the embodiments of the data transmission method described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (15)

1. A data transmission method, applied to a first electronic device, the method comprising:
displaying a first interface, wherein the first interface comprises a target object and at least one electronic equipment identifier; the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition;
receiving a first input of a second electronic device identification of the target object and the at least one electronic device identification;
responding to the first input, and sending the target object to a second electronic device corresponding to the second electronic device identifier;
wherein the second electronic device performs at least one of: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object on an application interface of an application program corresponding to the target object.
2. The method according to claim 1, wherein in the case that the user account of the electronic device corresponding to the at least one electronic device identifier matches the user account of the first electronic device, determining that the electronic device corresponding to the at least one electronic device identifier and the first electronic device meet the shortcut connection condition; the user account is an electronic equipment login account, an application program login account or an application program suite login account.
3. The method of claim 1, wherein the second electronic device, in the case where the target object is displayed at the cursor position, the target object comprises at least one of: text, images, audio, video, documents.
4. The method of claim 1, wherein the target object is an application interface, a task window of a task manager, or a control window of a third electronic device, in a case where the second electronic device displays a mirrored simulation window of the target object.
5. The method according to claim 1, wherein, in a case where the second electronic device displays the target object on the application interface of the application program corresponding to the target object, the target object is in an editing state on the first interface, and the target object includes at least one of: image, audio, video, document.
6. The method of claim 1, wherein the transmitting the target object to the second electronic device corresponding to the second electronic device identification in response to the first input comprises:
displaying at least two processing options in response to the first input;
Receiving a second input to a target processing option of the at least two processing options;
transmitting processing information corresponding to the target processing option and the target object to the second electronic equipment in response to the second input; the processing information is used for indicating a processing mode of the second electronic equipment on the target object.
7. A data transmission method, applied to a second electronic device, the method comprising:
and under the condition that the target object sent by the first electronic equipment is received, executing at least one of the following steps:
and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object on an application interface of an application program corresponding to the target object.
8. The method of claim 7, wherein the method further comprises:
under the condition that a target object sent by the first electronic equipment is received and a cursor is not detected, the target object is not displayed;
and displaying the target object at the cursor position when the cursor is detected.
9. The method of claim 7, wherein the method further comprises:
Receiving a first message sent by the first electronic equipment;
determining a display mode of the target object based on the first message;
the display mode comprises window display or application program display corresponding to the running target object.
10. The method of claim 7, wherein the target object is text; in the case of receiving the target object sent by the first electronic device, before the target object is displayed at the cursor position, the method further includes:
displaying a multimedia file editing interface;
displaying the target object at the cursor position under the condition of receiving the target object sent by the first electronic equipment, wherein the target object comprises
And displaying the text at the cursor position of the multimedia file editing interface under the condition that the text sent by the first electronic equipment is received.
11. The method of claim 7, wherein the target object is text; in the case of receiving the target object sent by the first electronic device, before the target object is displayed at the cursor position, the method further includes:
displaying a desktop interface;
and displaying the target object at the cursor position under the condition that the target object sent by the first electronic equipment is received, wherein the method comprises the following steps:
Converting the text into a text document under the condition that the text sent by the first electronic equipment is received;
and displaying the text document at the cursor position of the desktop interface.
12. A data transmission apparatus, characterized by being applied to a first electronic device for execution, comprising: the device comprises a display module, a receiving module and a sending module;
the display module is used for displaying a first interface, and the first interface comprises a target object and at least one electronic equipment identifier; the electronic equipment corresponding to the at least one electronic equipment identifier and the first electronic equipment meet the shortcut connection condition;
the receiving module is used for receiving a first input of a target object displayed by the display module and a second electronic equipment identifier in the at least one electronic equipment identifier;
the sending module is used for responding to the first input received by the receiving module and sending the target object to the second electronic equipment corresponding to the second electronic equipment identifier;
wherein the second electronic device performs at least one of: and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object on an application interface of an application program corresponding to the target object.
13. A data transmission apparatus, characterized by being applied to a second electronic device, comprising: a processing module;
the processing module is configured to execute at least one of the following when receiving a target object sent by the first electronic device:
and displaying the target object at the cursor position, displaying a mirror image simulation window of the target object, and displaying the target object on an application interface of an application program corresponding to the target object.
14. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the data transmission method of any one of claims 1 to 11.
15. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the data transmission method according to any of claims 1 to 11.
CN202311356957.5A 2023-10-18 2023-10-18 Data transmission method, device, electronic equipment and storage medium Pending CN117435104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311356957.5A CN117435104A (en) 2023-10-18 2023-10-18 Data transmission method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311356957.5A CN117435104A (en) 2023-10-18 2023-10-18 Data transmission method, device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117435104A true CN117435104A (en) 2024-01-23

Family

ID=89556236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311356957.5A Pending CN117435104A (en) 2023-10-18 2023-10-18 Data transmission method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117435104A (en)

Similar Documents

Publication Publication Date Title
CN115097982B (en) Method for processing content and electronic device thereof
CN112422817B (en) Image processing method and device
CN111193960A (en) Video processing method and device, electronic equipment and computer readable storage medium
WO2022068768A1 (en) Permission setting method and apparatus, file playback method and apparatus, and electronic device
CN113805703A (en) Behavior wallpaper unlocking method and device and electronic equipment
CN113596574A (en) Video processing method, video processing apparatus, electronic device, and readable storage medium
CN112734661A (en) Image processing method and device
WO2023030116A1 (en) Display method and apparatus
CN106502496B (en) Window switching method and device
CN117435104A (en) Data transmission method, device, electronic equipment and storage medium
CN112287131A (en) Information interaction method and information interaction device
CN115134317B (en) Message display method, device, storage medium and electronic device
CN112416230B (en) Object processing method and device
CN117608459A (en) Screenshot method, screenshot device, screenshot equipment and screenshot medium
CN113835810A (en) Information display method and electronic equipment
CN117010326A (en) Text processing method and device, and training method and device for text processing model
CN117082056A (en) File sharing method and electronic equipment
CN116954419A (en) Content transmission method and content transmission device
CN117376299A (en) Group management method and device and electronic equipment
CN116756099A (en) Display method and device
CN117406856A (en) Information display method, device, equipment and storage medium
CN115129219A (en) Function execution method and device
CN117729415A (en) Image processing method, device, electronic equipment and medium
CN114356164A (en) Sharing method and sharing device
CN117009020A (en) Wallpaper setting method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination