CN115421846A - Cross-device control method, control device, electronic device and readable storage medium - Google Patents
Cross-device control method, control device, electronic device and readable storage medium Download PDFInfo
- Publication number
- CN115421846A CN115421846A CN202211206004.6A CN202211206004A CN115421846A CN 115421846 A CN115421846 A CN 115421846A CN 202211206004 A CN202211206004 A CN 202211206004A CN 115421846 A CN115421846 A CN 115421846A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- window
- cross
- electronic
- input
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04817—Interaction 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 using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a cross-device control method, a control device, electronic equipment and a readable storage medium, and belongs to the technical field of electronic equipment. The cross-device control method is applied to the first electronic device and comprises the following steps: receiving a first attaching operation of a second electronic device under the condition that a first window corresponding to a third electronic device is displayed by a first electronic device; displaying a second window corresponding to the second electronic device according to the bonding area corresponding to the first bonding operation; in response to a first input dragging the first object identification from the first window to the second window, sending a first transmission instruction to the third electronic device; the first transmission instruction is used for instructing the third electronic equipment to send the first target object corresponding to the first object identifier to the second electronic equipment.
Description
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a cross-equipment control method, a control device, electronic equipment and a readable storage medium.
Background
In the related art, the electronic devices held by users are various, such as mobile phones, tablet computers, and Personal Computers (PCs), and the usage scenarios of the electronic devices are different, so that necessary file transmission needs to be performed between different devices.
The interaction process of the current mainstream file transmission mode is complicated, if the file of the mobile phone needs to be transmitted to the tablet personal computer, the mobile phone needs to be connected to the PC, the file is copied to the PC, the tablet personal computer is connected to the PC and the file is copied to the tablet personal computer, or the tablet personal computer starts a hot network, the mobile phone is operated to be connected with the hot network, so that the data connection between the mobile phone and the tablet personal computer is controlled, the file is sent through the data connection, and the interaction steps of the process are complicated.
Disclosure of Invention
An object of the embodiments of the present application is to provide a cross-device control method, a control apparatus, an electronic device, and a readable storage medium, which can reduce interaction steps during cross-device file transmission.
In a first aspect, an embodiment of the present application provides a cross-device control method, which is applied to a first electronic device, and the method includes:
receiving a first attaching operation of a second electronic device under the condition that a first window corresponding to a third electronic device is displayed by a first electronic device;
displaying a second window corresponding to the second electronic device according to the bonding area corresponding to the first bonding operation;
in response to a first input dragging the first object identification from the first window to the second window, sending a first transmission instruction to the third electronic device; the first transmission instruction is used for instructing the third electronic equipment to send the first target object corresponding to the first object identification to the second electronic equipment.
In a second aspect, an embodiment of the present application provides a cross-device control apparatus, which is applied to a first electronic device, and includes:
the receiving module is used for receiving a first attaching operation of a third electronic device under the condition that the first electronic device displays a first window corresponding to the second electronic device;
the display module is used for displaying a second window corresponding to the third electronic equipment according to the laminating area corresponding to the first laminating operation;
the sending module is used for responding to a first input of dragging the first object identifier from the first window to the second window and sending a first transmission instruction to the second electronic equipment; the first transmission instruction is used for instructing the second electronic equipment to send the first target object corresponding to the first object identifier to the third electronic equipment.
In a third aspect, embodiments of the present application provide an electronic device, including a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth 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 the processor is configured to execute a program or instructions to implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement a method as in the first aspect.
In this embodiment of the application, a window of a third electronic device is displayed on a display screen of a first electronic device, and a user can attach a second electronic device to the display screen of the first electronic device, so that the first electronic device displays a second window of the second electronic device according to the attached position.
After the second window is displayed, a user can drag the first object identifier displayed in the first window, such as a file icon, into the second window, at the moment, the third electronic device can automatically send file data corresponding to the file icon to the second electronic device, the process does not need the user to manually connect the first electronic device, the second electronic device or the third electronic device, and interaction steps of device file transmission are simplified.
Drawings
FIG. 1 shows a flow chart of a cross device control method according to an embodiment of the application;
FIG. 2 shows one of the schematic diagrams of a user operation interface of a first electronic device according to an embodiment of the application;
fig. 3 shows a second schematic diagram of a user operation interface of the first electronic device according to an embodiment of the application;
fig. 4 shows a third schematic diagram of a user operation interface of the first electronic device according to an embodiment of the application;
FIG. 5 shows a fourth schematic view of a user interface of a first electronic device according to an embodiment of the application;
FIG. 6 shows a fifth schematic view of a user interface of a first electronic device according to an embodiment of the application;
FIG. 7 is a schematic diagram illustrating a structure of a display screen of a first electronic device according to an embodiment of the present application;
FIG. 8 shows a sixth schematic view of a user interface of a first electronic device according to an embodiment of the application;
FIG. 9 is a block diagram illustrating a cross-device control apparatus according to an embodiment of the present application;
FIG. 10 shows a block diagram of an electronic device according to an embodiment of the application;
fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The cross-device control method, the control device, the electronic device and the readable storage medium provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
In some embodiments of the present application, a cross-device control method is provided, which is applied to a first electronic device, and fig. 1 shows a flowchart of the cross-device control method according to an embodiment of the present application, where the method includes:
102, receiving a first attaching operation of a second electronic device under the condition that a first window corresponding to a third electronic device is displayed by a first electronic device;
104, displaying a second window corresponding to the second electronic device according to the bonding area corresponding to the first bonding operation;
step 106, responding to a first input of dragging the first object identifier from the first window to the second window, and sending a first transmission instruction to the third electronic equipment;
the first transmission instruction is used for instructing the third electronic equipment to send the first target object corresponding to the first object identifier to the second electronic equipment.
In this embodiment, the first electronic device may be a large-screen device such as a PC and a notebook computer, and the second electronic device and the third electronic device may be electronic devices such as a mobile phone and a tablet computer, which are exemplified below according to the first electronic device being a PC, the second electronic device being a mobile phone, and the third electronic device being a tablet computer.
The first electronic device displays a first window corresponding to a third electronic device, where the first window may be a multi-screen cooperative window of the third electronic device on the first electronic device, or may be a window displayed on the first electronic device after the third electronic device is attached to a screen of the first electronic device. In the first window, the displayed content is associated with a program or a file of the third electronic device.
For example, the first window may display a user operation interface of the third electronic device, that is, a desktop of the third electronic device is projected onto the display screen of the first electronic device, and the first window is displayed on the user operation interface of the first electronic device, that is, the desktop of the first electronic device. It can be understood that the first window may also display a file management interface, a program management interface, or a preset image interface of the third electronic device, which is not limited in this application.
In the first window, object identifiers corresponding to a plurality of objects are displayed, and the object identifiers may be file identifiers of documents, compressed packages, system files, and the like, identifiers of media files, such as picture identifiers, video identifiers, music identifiers, and the like, and identifiers of icons of application programs.
Fig. 2 shows one of schematic diagrams of a user operation interface of a first electronic device according to an embodiment of the application, and as shown in fig. 2, a first window 204 corresponding to a third electronic device is displayed in the user operation interface 202 of the first electronic device 200.
Under the condition that the first window is displayed, a user can perform attaching operation by attaching the second electronic device to the display screen of the first electronic device, and at the moment, the first electronic device displays a second window corresponding to the second electronic device according to the attaching area of the second electronic device.
The second window may display a desktop, a file management interface, a program management interface, or a preset graphical interface of the first electronic device. Fig. 3 shows a second schematic view of the user operation interface of the first electronic device according to the embodiment of the present application, and as shown in fig. 3, when the first window 204 corresponding to the third electronic device is displayed on the user operation interface 202 of the first electronic device 200, the attaching operation of the second electronic device 300 is received, and the second window 206 corresponding to the second electronic device is displayed according to the attaching area corresponding to the attaching operation.
Fig. 4 shows a third schematic diagram of the user operation interface of the first electronic device according to the embodiment of the present application, and as shown in fig. 4, the first window 204 that is displayed includes the first object identifier 208, and at this time, a drag input of the first object identifier 208 by the user, that is, a first input is received, where the first input may be a touch input to the display screen of the first electronic device 200 or an input performed through a peripheral device such as a touch pad or a mouse, which is not limited in this application.
When a user drags the first object identifier 208 from the first window 204 to the second window 206 through a first input, the first electronic device sends a first transmission instruction to a third electronic device corresponding to the first window 204, and after receiving the first transmission instruction, the third electronic device sends a first target object corresponding to the first object identifier 208 to the second electronic device according to the first transmission instruction.
Taking the first object identifier as the identifier of a certain picture a as an example, the third electronic device sends the picture a to the second electronic device.
It can be understood that when the first electronic device displays the first window, the first electronic device establishes a Communication connection with the third electronic device, and when the first electronic device displays the second window, the first electronic device establishes a Communication connection with the second electronic device, and the first electronic device sends connection information of the third electronic device, such as Bluetooth (Bluetooth) connection information, wi-Fi connection information, or Near Field Communication (NFC) connection information, to the second electronic device, and sends connection information of the second electronic device to the third electronic device, so that a Communication connection is established between the second electronic device and the third electronic device.
And the third electronic equipment transmits the first target object to the second electronic equipment through communication connection with the second electronic equipment.
When the first target object is an application, the third electronic device may transmit an installation package of the application to the second electronic device, and the second electronic device installs the application according to the received installation package. In other embodiments, the third electronic device may also send a download connection of the application to the second electronic device, and the second electronic device accesses the application store or the browser by itself according to the download connection to obtain the application.
When the first window of the third electronic device and the second window of the second electronic device are displayed simultaneously, a user can instruct the third electronic device to send the target object file corresponding to the object identifier to the second electronic device in a mode of dragging the object identifier in the first window to the second window, and therefore the interaction step of file transmission between devices is simplified.
In some embodiments of the present application, the cross-device control method further comprises:
in response to a second input dragging the second object identification from the second window to the first window, sending a second transmission instruction to the second electronic device; and the second transmission instruction is used for instructing the second electronic equipment to send the second target object corresponding to the second object identifier to the third electronic equipment.
In this embodiment of the application, a user may drag the first object identifier in the first window to the second window, so that the third electronic device sends the first target object corresponding to the first object identifier to the second electronic device, or may drag the second object identifier in the second window to the first window, so that the second electronic device sends the second target object corresponding to the second object identifier to the third electronic device.
Specifically, fig. 5 shows a fourth schematic diagram of the user operation interface of the first electronic device according to the embodiment of the application, as shown in fig. 5, in the displayed second window 206, the second object identifier 210 is included. When the user drags the second object identifier 210 from the second window 206 to the first window 204 through the second input, the first electronic device sends a second transmission instruction to the second electronic device, and after receiving the second transmission instruction, the second electronic device sends the second target object corresponding to the second object identifier 210 to the third electronic device according to the second transmission instruction.
In the embodiment of the application, the second electronic device and the third electronic device can mutually send the target object corresponding to the object identifier dragged by the user under the input of the user, so that the cross-device file mutual transmission is realized, and the cross-device file mutual transmission interaction process is simplified.
In some embodiments of the present application, the first window is a multi-screen cooperative window corresponding to the third electronic device;
under the condition that the first electronic device displays the first window corresponding to the third electronic device, before the step of receiving the first attaching operation of the second electronic device, the method further includes:
establishing equipment cooperative connection with third electronic equipment;
and displaying a multi-screen cooperative window corresponding to the third electronic device on the first electronic device.
In this embodiment of the application, the first window is specifically a multi-screen cooperative window corresponding to the third electronic device, and the multi-screen cooperative window is specifically formed by projecting the current display content of the third electronic device onto the display screen of the first electronic device.
Specifically, a device coordination connection is established between the first electronic device and the third electronic device, and the device coordination connection may be initiated by the first electronic device or initiated by the third electronic device. For example, a user logs in the same multi-screen collaboration account on the first electronic device and the third electronic device, and connects the first electronic device and the third electronic device to the same local area network, at this time, the first electronic device and the third electronic device may establish device collaboration connection through the local area network.
After the cooperative connection between the first electronic device and the third electronic device is established, a multi-screen cooperative window corresponding to the third electronic device, that is, the first window, starts to be displayed in a user operation interface currently displayed by the first electronic device. The display content in the multi-screen cooperative window is the same as that of the display screen of the third electronic device, and at this time, the user can operate the multi-screen cooperative window through the first electronic device, so as to correspondingly control the third electronic device.
According to the method and the device, the first electronic device is connected with the second electronic device and the third electronic device in a device cooperation mode, so that a user can browse and operate programs, functions or files on the second electronic device or the third electronic device through the first electronic device, and an interaction process of cross-device data interaction is simplified.
In some embodiments of the application, in a case where the first electronic device displays the first window corresponding to the third electronic device, before the step of receiving the first attaching operation of the second electronic device, the method further includes:
receiving a second attaching operation of a third electronic device;
and displaying the first window according to the bonding area corresponding to the second bonding operation.
In the embodiment of the application, a user attaches second electronic equipment to a display screen of the first electronic equipment through second attaching operation, the first electronic equipment displays a first window in a displayed user operation interface according to an attaching area, and the display position of the second window corresponds to the area position of the attaching area.
According to the method and the device for transmitting the file, the window corresponding to the attached electronic equipment is displayed in the user operation interface of the first electronic equipment according to the attaching operation of the second electronic equipment and/or the third electronic equipment, the file transmission between the devices is achieved by dragging the object identification to the corresponding window, and the interaction efficiency of the file transmission between the devices is improved.
In some embodiments of the application, in a case where the first electronic device displays the first window corresponding to the third electronic device, before the step of receiving the first attaching operation of the second electronic device, the method further includes:
displaying a user operation interface of the first electronic equipment, wherein the user operation interface comprises a first window;
and responding to a third input of dragging the third object identification to the first window by the user operation interface, and sending a third target object corresponding to the third object identification to the third electronic equipment.
In this embodiment of the application, before receiving the first attaching operation of the second electronic device, a user operation interface is displayed on a display screen of the first electronic device, where the user operation interface may be a desktop of the first electronic device, a file management interface or a program management interface, or a preset operation interface, and this is not limited in this embodiment of the application.
The user operation interface includes a first window, where the first window is a window corresponding to the third electronic device, and specifically, the first window may be a multi-screen cooperative window corresponding to the third electronic device, or may be a window displayed after the third electronic device is attached to the display screen of the first electronic device.
The user operation interface further comprises one or more third object identifiers, and the third object identifiers can be identifiers of files or icons of programs. And when receiving a third input that the user drags the third object identifier to the first window, the first electronic device sends a third target object corresponding to the third object identifier to the third electronic device corresponding to the first window, so that file transmission is completed.
According to the method and the device for transmitting the files, the windows corresponding to the second electronic device and the third electronic device are displayed on the display screen of the first electronic device, and the files in the first electronic device are transmitted to the second electronic device or the third electronic device corresponding to the window dragged by the user based on the dragging operation of the user, so that the interactive process of cross-device file transmission is optimized.
In some embodiments of the present application, the first object identifiers are at least two in number;
in response to a first input dragging the first object identification from the first window to the second window, sending a first transmission instruction to a third electronic device, comprising:
in response to a first input of dragging at least two first object identifications from a first window to a second window, determining a target object identification matched with a target file type corresponding to the second window from the at least two first object identifications;
and sending a first transmission instruction corresponding to the target object identification to the third electronic equipment.
In the embodiment of the application, a first window is further displayed on the display screen of the first electronic device, and the first window corresponds to the third electronic device. When the user attaches the second electronic device to the display screen of the first electronic device through the first attaching operation, the first electronic device displays a second window on the corresponding attaching area, wherein the second window is associated with the target file type.
The target file type specifically includes, for example, a document, a picture, a video, an audio, an application program, and the like. The target file type may be set by the second electronic device of the user, for example, if the target file type is set as a picture on the second electronic device by the user, after the second electronic device is attached to the first electronic device, the target file type associated with the displayed second window is also the picture.
The target file type may also be set by the user at the first electronic device, for example, after the user displays the second window at the first electronic device, the target file type associated with the second window is set as a picture through a setting input.
At least two first object identifiers, such as a video identifier and a picture identifier, are displayed in the first window. When first input that a user drags the file identifications to a second window is received, whether the file type of each object identification in the identifications is matched with the target file type associated with the second window is judged.
Fig. 6 shows a fifth schematic view of a user operation interface of the first electronic device according to an embodiment of the present application, as shown in fig. 6, a target file type associated with the second window 206 is a picture, a user selects an object identifier a and an object identifier B in the first window 204, and drags the object identifier a and the object identifier B into the second window 206, where the file type of the object identifier a is the picture, the file type of the object identifier B is a video, and the object identifier a is determined as the target object identifier because the file type of the object identifier a matches the target file type associated with the second window 206, at this time, the first electronic device sends a first transmission instruction to the third electronic device, and the third electronic device sends the target object identifier, that is, an image file corresponding to the identifier a, to the second electronic device after receiving the first transmission instruction.
According to the method and the device for transmitting the files, the target file type is set for the file transmission window corresponding to the electronic device, so that the user can only send the files matched with the target file type to the corresponding electronic device, the user can be prevented from sending the files of wrong types, misoperation is avoided, and the interaction efficiency of cross-device file transmission is improved.
In some embodiments of the present application, the cross-device control method further comprises:
receiving a fourth input;
in response to a fourth input, the second window is determined to be the target file type corresponding to the fourth input.
In this embodiment, the user may set the type of the target file associated with the second window through a fourth input. For example, after the user attaches the second electronic device to the first electronic device, the second window is displayed in the user operation interface of the first electronic device according to the attached position of the second electronic device.
Further, the user selects a second window, and selects a target file type of "picture" in the pop-up file type setting menu, at this time, the first electronic device sets the target file type associated with the second window as the picture, at this time, if the user drags the object identifier of the image type to the second window, the first electronic device sends a first transmission instruction to the third electronic device, and the third electronic device sends the corresponding picture file to the second electronic device.
If the user drags the object identifier of the non-image type, such as the object identifier of the video type, to the second window, the first electronic device does not respond to the dragging input, that is, the file other than the picture type is not sent to the second electronic device.
In the embodiment of the application, a user can freely set the file type of the window corresponding to the electronic equipment, so that one window is only used for receiving one type of object file, misoperation of sending wrong file types to the electronic equipment is avoided, and interaction efficiency of cross-equipment file transmission is improved.
In some embodiments of the present application, the first electronic device includes a display screen and N first near field communication coils, where the N first near field communication coils are distributed on an inner side of the display screen, and N is a positive integer; the second electronic device comprises a second near field communication coil;
receiving a first attach operation of a second electronic device, comprising:
receiving a near field communication connection signal of a second electronic device;
establishing near field communication connection with second electronic equipment according to the near field communication connection signal, wherein under the condition that the first electronic equipment and the second electronic equipment establish the near field communication connection, a target near field communication coil in the N first near field communication coils is coupled with the second near field communication coil; the attaching area corresponds to a setting area of the target near field communication coil.
In this embodiment of the present application, fig. 7 illustrates a schematic structural diagram of a display screen of a first electronic device according to an embodiment of the present application, and as shown in fig. 7, the first electronic device 700 includes the display screen 702, and N first near-field communication coils 7022 are distributed on an inner side of the display screen 702. A second near field communication coil 7042 is provided in the second electronic device 704.
When a user brings the second electronic device 704 close to the display screen 702, the first electronic device 700 receives the near field communication connection signal of the second electronic device 704, at this time, one of the N first near field communication coils 7022, which has the strongest communication connection signal for wiping sweat, is induced, that is, the near field communication connection is established between the target near field communication coil and the second electronic device 704, at this time, the target near field communication coil is coupled with the second near field communication coil 7042, and the first electronic device 700 can determine the attachment area of the second electronic device 704 according to the setting position of the target near field communication coil.
It can be understood that, after the second electronic device establishes the NFC near-field communication connection with the first electronic device, the first electronic device may attempt to perform other types of wireless connections with the second electronic device, such as Wi-Fi connection or bluetooth interception, and perform corresponding wireless connections if the first electronic device and the second electronic device meet the conditions of the other wireless connections, so as to increase the file transfer speed, and if the conditions of the other wireless connections are not met, continue to maintain the NFC connection for data interaction.
According to the embodiment of the application, the attaching area of the second electronic equipment on the first electronic equipment is determined through the NFC coil, so that the file transmission window of the second electronic equipment is displayed according to the attaching area of the second electronic equipment, and the interaction process of cross-equipment file transmission is optimized.
In some embodiments of the application, in a case that a fit region corresponding to the first fit operation includes at least one fourth object identifier, the first electronic device sends a fourth target object corresponding to the fourth object identifier to the second electronic device.
In this embodiment of the application, fig. 8 shows a sixth schematic view of a user operation interface of a first electronic device according to this embodiment of the application, and as shown in fig. 8, a fourth object identifier 212 is displayed in a user operation interface 202 currently displayed by a first electronic device 200. At this time, the user attaches the second electronic device to the fourth object identifier 212, the first electronic device determines the attachment area 214 according to the attachment operation, and when it is determined that the fourth object identifier 212 exists in the attachment area 214, the fourth object corresponding to the fourth object identifier 212 is sent to the second electronic device.
It can be understood that, after the second electronic device is attached to the first electronic device, the user may also move the second electronic device along the surface of the display screen of the first electronic device, so that the second electronic device "scans" the display screen of the first electronic device to form a larger attachment area, and all the fourth target objects corresponding to the fourth object identifiers in the larger attachment area are transmitted to the second electronic device by the first electronic device.
According to the application, the device file transmission is quickly and conveniently crossed through the laminating operation, and the using process of the device file transmission is optimized.
According to the cross-device control method provided by the embodiment of the application, the execution main body can be a cross-device control device. In the embodiment of the present application, a method for executing cross-device control by a cross-device control apparatus is taken as an example, and the apparatus for cross-device control provided in the embodiment of the present application is described.
In some embodiments of the present application, a cross-device control apparatus is provided, which is applied to a first electronic device, and fig. 9 shows a block diagram of a structure of the cross-device control apparatus according to an embodiment of the present application, and as shown in fig. 9, the cross-device control apparatus 900 includes:
a receiving module 902, configured to receive a first attaching operation of a third electronic device when the first electronic device displays a first window corresponding to the second electronic device;
a display module 904, configured to display a second window corresponding to the third electronic device according to the bonding region corresponding to the first bonding operation;
a sending module 906, configured to send a first transmission instruction to the second electronic device in response to a first input dragging the first object identifier from the first window to the second window; the first transmission instruction is used for instructing the second electronic equipment to send the first target object corresponding to the first object identifier to the third electronic equipment.
When the first window of the third electronic device and the second window of the second electronic device are displayed simultaneously, a user can instruct the third electronic device to send the target object file corresponding to the object identifier to the second electronic device in a mode of dragging the object identifier in the first window to the second window, and therefore the interaction step of file transmission between devices is simplified.
In some embodiments of the present application, the sending module is further configured to: in response to a second input dragging the second object identification from the second window to the first window, sending a second transmission instruction to the second electronic device; and the second transmission instruction is used for instructing the second electronic equipment to send the second target object corresponding to the second object identifier to the third electronic equipment.
In the embodiment of the application, the second electronic device and the third electronic device can mutually send the target object corresponding to the object identifier dragged by the user under the input of the user, so that the cross-device file transmission is realized, and the cross-device file transmission interaction process is simplified.
In some embodiments of the present application, the first window is a multi-screen cooperative window corresponding to the third electronic device;
the cross-device control apparatus further includes:
the connection module is used for establishing equipment cooperative connection with third electronic equipment;
the display module is further configured to display, on the first electronic device, a multi-screen collaboration window corresponding to the third electronic device.
According to the method and the device, the first electronic device is connected with the second electronic device and the third electronic device in a device cooperation mode, so that a user can browse and operate programs, functions or files on the second electronic device or the third electronic device through the first electronic device, and the use efficiency of multi-device interaction control is improved.
In some embodiments of the present application, the receiving module is further configured to receive a second attaching operation of a third electronic device;
and the display module is also used for displaying the first window according to the bonding area corresponding to the second bonding operation.
According to the method and the device for transmitting the files between the first electronic device and the second electronic device, the window corresponding to the attached electronic device is displayed in the user operation interface of the first electronic device according to the attaching operation of the second electronic device and/or the third electronic device, the file transmission between the devices is achieved by dragging the object identification to the corresponding window, and the interaction efficiency of the file transmission between the devices is improved.
In some embodiments of the present application, the display module is further configured to display a user operation interface of the first electronic device, where the user operation interface includes a first window;
the sending module is further used for responding to a third input that the third object identification is dragged to the first window by the user operation interface, and sending a third target object corresponding to the third object identification to a third electronic device.
According to the method and the device for transmitting the files, the windows corresponding to the second electronic device and the third electronic device are displayed on the display screen of the first electronic device, and the files in the first electronic device are transmitted to the second electronic device or the third electronic device corresponding to the window dragged by the receiving user based on the dragging operation of the receiving user, so that the interactive process of cross-device file transmission is optimized.
In some embodiments of the present application, the first object identifiers are at least two in number;
the cross-device control apparatus further includes:
the determining module is used for responding to a first input of dragging at least two first object identifications from a first window to a second window, and determining a target object identification matched with a target file type corresponding to the second window from the at least two first object identifications;
and the sending module is further used for sending a first transmission instruction corresponding to the target object identifier to the third electronic device.
According to the method and the device for transmitting the files, the target file type is set for the file transmission window corresponding to the electronic device, so that the user can only send the files matched with the target file type to the corresponding electronic device, the user can be prevented from sending the files of wrong types, misoperation is avoided, and the interaction efficiency of cross-device file transmission is improved.
In some embodiments of the present application, the receiving module is further configured to receive a fourth input;
and the determining module is further used for responding to the fourth input and determining the second window as the target file type corresponding to the fourth input.
In the embodiment of the application, a user can freely set the file type of the window corresponding to the electronic equipment, so that one window is only used for receiving one type of object file, misoperation of sending wrong file types to the electronic equipment is avoided, and an interaction process of cross-equipment file transmission is optimized.
The cross-device control apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The cross-device control apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The cross-device control apparatus provided in the embodiment of the present application can implement each process implemented by the foregoing method embodiment, and is not described here again to avoid repetition.
Optionally, an embodiment of the present application further provides an electronic device, fig. 10 shows a block diagram of a structure of the electronic device according to the embodiment of the present application, and as shown in fig. 10, an electronic device 1000 includes a processor 1002, a memory 1004, and a program or an instruction stored in the memory 1004 and capable of running on the processor 1002, where when the program or the instruction is executed by the processor 1002, the program or the instruction implements each process of the method embodiment, and can achieve the same technical effect, and in order to avoid repetition, it is not described herein again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, processor 1110, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions 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 those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 1107 is configured to receive a first attaching operation of a third electronic device when the first electronic device displays a first window corresponding to the second electronic device;
a display unit 1106, configured to display a second window corresponding to a third electronic device according to a bonding area corresponding to the first bonding operation;
When the first window of the third electronic device and the second window of the second electronic device are displayed simultaneously, a user can instruct the third electronic device to send the target object file corresponding to the object identifier to the second electronic device in a mode of dragging the object identifier in the first window to the second window, and therefore the interaction step of file transmission between devices is simplified.
Optionally, the processor 1110 is further configured to send a second transmission instruction to the second electronic device in response to a second input dragging the second object identifier from the second window to the first window; and the second transmission instruction is used for instructing the second electronic equipment to send the second target object corresponding to the second object identifier to the third electronic equipment.
In the embodiment of the application, the second electronic device and the third electronic device can mutually send the target object corresponding to the object identifier dragged by the user under the input of the user, so that the cross-device file transmission is realized, and the cross-device data transmission interaction process is simplified.
Optionally, the first window is a multi-screen cooperative window corresponding to the third electronic device;
the processor 1110 is further configured to establish a device coordination connection with a third electronic device;
the display unit 1106 is further configured to display, on the first electronic device, a multi-screen collaboration window corresponding to the third electronic device.
According to the method and the device, the first electronic device is connected with the second electronic device and the third electronic device in a device cooperation mode, so that a user can browse and operate programs, functions or files on the second electronic device or the third electronic device through the first electronic device, and the use efficiency of multi-device interaction control is improved.
Optionally, the user input unit 1107 is further configured to receive a second fitting operation of a third electronic device;
the display unit 1106 is further configured to display the first window according to the bonding area corresponding to the second bonding operation.
According to the method and the device for transmitting the files between the first electronic device and the second electronic device, the windows corresponding to the second electronic device and the third electronic device are displayed in the user operation interface of the first electronic device through the attaching operation of the second electronic device and the third electronic device, the file transmission between the devices is achieved through dragging the object identification to the corresponding windows, and the interactive process of the file transmission between the devices is optimized.
Optionally, the display unit 1106 is further configured to display a user operation interface of the first electronic device, where the user operation interface includes a first window;
the processor 1110 is further configured to send, in response to a third input that the third object identifier is dragged to the first window by the user operation interface, a third target object corresponding to the third object identifier to the third electronic device.
According to the method and the device for transmitting the files, the windows corresponding to the second electronic device and the third electronic device are displayed on the display screen of the first electronic device, and the files in the first electronic device are transmitted to the second electronic device or the third electronic device corresponding to the window dragged by the user based on the dragging operation of the user, so that the interactive process of cross-device file transmission is optimized.
Optionally, the number of first object identifications is at least two;
a processor 1110, further configured to determine, from the at least two first object identifiers, a target object identifier matching a target file type corresponding to the second window in response to a first input dragging the at least two first object identifiers from the first window to the second window; and sending a first transmission instruction corresponding to the target object identification to the third electronic equipment.
According to the method and the device, the target file type is set for the file transmission window corresponding to the electronic device, so that the user can only send the file matched with the target file type to the corresponding electronic device, the user can be prevented from sending the file with the wrong type, misoperation is avoided, and the interaction efficiency of cross-device file transmission is improved.
Optionally, a user input unit 1107, further configured to receive a fourth input; in response to the fourth input, the second window is determined to be the target file type corresponding to the fourth input.
In the embodiment of the application, a user can freely set the file type of the window corresponding to the electronic equipment, so that one window is only used for receiving one type of object file, misoperation of sending wrong file types to the electronic equipment is avoided, and interaction efficiency of cross-equipment file transmission is ensured.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes at least one of a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, an application program or instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 1109 may include volatile memory or nonvolatile memory, or the memory 1109 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1109 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as computer Read-Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, etc.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method of the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.
Claims (10)
1. A cross-device control method is applied to a first electronic device, and is characterized by comprising the following steps:
receiving a first attaching operation of a second electronic device under the condition that the first electronic device displays a first window corresponding to a third electronic device;
displaying a second window corresponding to the second electronic device according to the bonding area corresponding to the first bonding operation;
in response to a first input dragging a first object identification from the first window to the second window, sending a first transmission instruction to the third electronic device; the first transmission instruction is used for instructing the third electronic equipment to send the first target object corresponding to the first object identifier to the second electronic equipment.
2. The cross-device control method according to claim 1, further comprising:
in response to a second input dragging a second object identification from the second window to the first window, sending a second transmission instruction to the second electronic device; the second transmission instruction is used for instructing the second electronic device to send a second target object corresponding to the second object identifier to the third electronic device.
3. The inter-device control method according to claim 1, wherein the first window is a multi-screen cooperative window corresponding to the third electronic device;
before the step of receiving the first attaching operation of the second electronic device when the first electronic device displays the first window corresponding to the third electronic device, the method further includes:
establishing a device cooperative connection with the third electronic device;
and displaying a multi-screen cooperative window corresponding to the third electronic equipment on the first electronic equipment.
4. The cross-device control method according to claim 1, wherein before the step of receiving the first pasting operation of the second electronic device when the first electronic device displays the first window corresponding to the third electronic device, the method further comprises:
receiving a second attaching operation of the third electronic device;
and displaying the first window according to the bonding area corresponding to the second bonding operation.
5. The cross-device control method according to claim 1, wherein before the step of receiving the first pasting operation of the second electronic device when the first electronic device displays the first window corresponding to the third electronic device, the method further comprises:
displaying a user operation interface of the first electronic device, wherein the user operation interface comprises the first window;
responding to a third input of dragging a third object identification to the first window by the user operation interface, and sending a third target object corresponding to the third object identification to the third electronic equipment.
6. The cross-device control method according to claim 1, wherein the number of the first object identifiers is at least two;
the sending a first transmission instruction to the third electronic device in response to a first input dragging a first object identification from the first window to the second window comprises:
in response to a first input of dragging at least two first object identifications to the second window by the first window, determining a target object identification which is matched with a target file type corresponding to the second window from the at least two first object identifications;
and sending a first transmission instruction corresponding to the target object identification to the third electronic equipment.
7. The cross-device control method according to claim 6, further comprising:
receiving a fourth input;
in response to the fourth input, determining the second window as a target file type corresponding to the fourth input.
8. A cross-device control device applied to a first electronic device is characterized by comprising:
the receiving module is used for receiving a first attaching operation of a third electronic device under the condition that the first electronic device displays a first window corresponding to the second electronic device;
the display module is used for displaying a second window corresponding to the third electronic device according to the bonding area corresponding to the first bonding operation;
a sending module, configured to send a first transmission instruction to the second electronic device in response to a first input that drags a first object identifier from the first window to the second window; the first transmission instruction is used for instructing the second electronic device to send the first target object corresponding to the first object identifier to the third electronic device.
9. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the cross device control method of any of claims 1 to 7.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the cross device control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211206004.6A CN115421846A (en) | 2022-09-30 | 2022-09-30 | Cross-device control method, control device, electronic device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211206004.6A CN115421846A (en) | 2022-09-30 | 2022-09-30 | Cross-device control method, control device, electronic device and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115421846A true CN115421846A (en) | 2022-12-02 |
Family
ID=84206202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211206004.6A Pending CN115421846A (en) | 2022-09-30 | 2022-09-30 | Cross-device control method, control device, electronic device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115421846A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286167A (en) * | 2021-12-03 | 2022-04-05 | 杭州逗酷软件科技有限公司 | Cross-device interaction method and device, electronic device and storage medium |
-
2022
- 2022-09-30 CN CN202211206004.6A patent/CN115421846A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286167A (en) * | 2021-12-03 | 2022-04-05 | 杭州逗酷软件科技有限公司 | Cross-device interaction method and device, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111880870B (en) | Method and device for controlling electronic equipment and electronic equipment | |
US11861161B2 (en) | Display method and apparatus | |
AU2018421189B2 (en) | Method for quickly opening application or application function, and terminal | |
CN111913628B (en) | Sharing method and device and electronic equipment | |
US20220300302A1 (en) | Application sharing method and electronic device | |
CN110069179B (en) | Icon control method and terminal equipment | |
CN110502163B (en) | Terminal device control method and terminal device | |
US11934648B2 (en) | Permission setting method and apparatus and electronic device | |
TWI688866B (en) | Information sharing system and method | |
CN109451141B (en) | Operation control method and related terminal | |
CN104320753A (en) | Pairing method and system for terminal | |
US9293108B2 (en) | Transmission apparatus and system of using the same | |
CN109739402B (en) | Fast application processing method and terminal equipment | |
CN110908554B (en) | Long screenshot method and terminal device | |
WO2020215969A1 (en) | Content input method and terminal device | |
CN113504859A (en) | Transmission method and device | |
CN115421846A (en) | Cross-device control method, control device, electronic device and readable storage medium | |
WO2024114571A1 (en) | Information display method and apparatus, electronic device, and storage medium | |
CN111447598B (en) | Interaction method and display device | |
CN110703962B (en) | Method and terminal for creating shortcut | |
CN108811177B (en) | Communication method and terminal | |
CN115202685A (en) | Application updating method and device, electronic equipment and medium | |
EP4130983A1 (en) | Method and apparatus for installing application program, and terminal device and storage medium | |
CN113867592A (en) | Information display method, device, equipment and storage medium | |
CN117377133A (en) | Bluetooth connection establishment 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 |