CN112162716A - File transmission method, device, terminal and storage medium - Google Patents

File transmission method, device, terminal and storage medium Download PDF

Info

Publication number
CN112162716A
CN112162716A CN202011043001.6A CN202011043001A CN112162716A CN 112162716 A CN112162716 A CN 112162716A CN 202011043001 A CN202011043001 A CN 202011043001A CN 112162716 A CN112162716 A CN 112162716A
Authority
CN
China
Prior art keywords
terminal
application
target
file
projection picture
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
CN202011043001.6A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011043001.6A priority Critical patent/CN112162716A/en
Publication of CN112162716A publication Critical patent/CN112162716A/en
Pending legal-status Critical Current

Links

Images

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • 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
    • G06F3/0486Drag-and-drop
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a file transmission method, a file transmission device, a terminal and a storage medium. The file transmission method comprises the following steps: establishing connection with a second terminal; receiving a screen projection picture of the second terminal; displaying a screen projection picture of the second terminal in a screen projection picture display area; receiving a position movement control instruction aiming at a target file in a non-screen-projection picture display area; the position moving control instruction is used for moving the target file from the non-screen-projection picture display area to the screen-projection picture display area; and sending the target file to the second terminal according to the position movement control instruction. According to the file transmission method, when the file is transmitted, the target application for processing the target file on the second terminal is determined through the cooperation of the first terminal, the target file is correspondingly processed according to the target application, the file does not need to be stored repeatedly, the operation steps of a user are reduced, and the use experience is improved.

Description

File transmission method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of mobile terminals, and in particular, to a file transmission method, apparatus, terminal, and storage medium.
Background
With the development of cross-device connection, the transmission between the mobile phone and the computer is widely regarded by the industry, the airdrop, the Handoff and other functions developed by related companies and the near sharing and other products developed by related companies establish technical bases for the connection between the mobile phone and the computer of the user. On the basis of the technologies, the mobile phone and the computer have more interaction possibilities.
In a related file transmission technology of the cross-device, Bluetooth BLE scans surrounding devices, then uses Soft AP or WiFi Direct to transmit, and files are transmitted to a specified directory of a mobile phone. For example, airdrop and huawei share developed by related companies can all realize the function of transmitting files in a notebook computer to a mobile phone. However, the above scheme can only transmit the file in the computer to the fixed folder of the mobile phone, and the user needs to find the received file in the mobile phone, and then share and/or upload the file to a specific application. The use steps are added to influence the operation experience, and unnecessary files are added to the system to influence the performance of the system.
Specifically, referring to fig. 1, the file transfer method includes: and opening a computer mutual transmission client, scanning a mobile phone capable of carrying out data mutual transmission on the computer, dragging the file to the scanned mobile phone, receiving a determination popup window for receiving the file by the mobile phone, and automatically storing the file to a specified folder of the mobile phone after the determination.
In the scheme, a user can only transmit files to the specified folder of the mobile phone, and the following defects exist: 1) a user is inconvenient to find a designated folder, and the situation that the transmitted file cannot be found can occur; 2) after the user finds the file, the user needs to share the file in the corresponding application, for example, the video and the photo are sent to the multimedia social application, and the like, so that the operation process is complex, the path of the operation behavior is long, and the operation is inconvenient.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a file transfer method, apparatus, terminal, and storage medium.
According to a first aspect of the embodiments of the present disclosure, a file transfer method is provided, which is applied to a first terminal, and the method includes:
establishing connection with a second terminal;
receiving a screen projection picture of the second terminal;
displaying a screen projection picture of the second terminal in a screen projection picture display area;
receiving a position movement control instruction aiming at a target file in a non-screen-projection picture display area; the position moving control instruction is used for moving the target file from the non-screen-projection picture display area to the screen-projection picture display area;
and sending the target file to the second terminal according to the position movement control instruction.
Alternatively,
the receiving of the screen projection picture of the second terminal includes: and receiving a screen projection picture of the second terminal in an application opening interface state.
Alternatively,
the position movement control instruction is a drag control instruction;
the sending the target file to the second terminal according to the position movement control instruction comprises: and after the dragging control instruction is finished, sending the target file to the second terminal.
Alternatively,
the receiving of the screen projection picture of the second terminal includes: and receiving a screen projection picture of the second terminal in a desktop display state.
Alternatively,
the position movement control instruction includes: dragging control instructions and setting control instructions;
the sending the target file to the second terminal according to the position movement control instruction comprises:
after a setting control instruction is detected, determining position information corresponding to the setting control instruction, wherein the position information refers to the information of the relative position of the control position of the setting control instruction on the display interface of the first terminal relative to the display area of the screen projection picture;
sending an opening instruction to the second terminal; the open instruction includes the location information;
and after the set control instruction is finished, sending the target file to the second terminal.
Alternatively,
after sending the opening instruction to the second terminal, the method further includes:
receiving a screen projection picture of the second terminal in an application opening interface state;
and displaying a screen projection picture of the second terminal in an application opening interface state and an image obtained after the icon of the target file is superposed in a screen projection picture display area.
Alternatively,
the setting control instruction is a hovering control instruction;
alternatively, the setting control command is a control command for moving along a setting trajectory.
According to a second aspect of the embodiments of the present disclosure, there is provided a file transmission method applied to a second terminal, where the method includes:
establishing connection with a first terminal;
sending the screen projection picture of the second terminal to the first terminal;
receiving a target file from the first terminal;
determining a target application corresponding to the target file;
and processing the target file according to the target application.
Alternatively,
the determining the target application corresponding to the target file includes:
when the current display interface is determined to be the application opening interface, determining that the application to which the application opening interface belongs is the target application.
Alternatively,
the determining the target application corresponding to the target file includes:
when the current display interface is determined to be the desktop interface, receiving an opening instruction from the first terminal, wherein the opening instruction comprises position information; and determining an icon corresponding to the position information according to the position information in the opening instruction, determining that the application corresponding to the icon is a target application, and opening the target application.
Alternatively,
the processing the target file according to the target application comprises:
judging whether the target application is a set adaptation application or not;
when the target application is a setting adaptation application, executing setting adaptation processing corresponding to the target application aiming at the target file;
and when the target application is not the setting adaptive application, calling a setting operation interface corresponding to the target application to process the target file.
Alternatively,
and when the setting adaptation application is a multimedia storage application, the setting adaptation processing is to store the target file into a setting folder.
Alternatively,
when the target application is not a set-up adaptation application,
when the target application is a multimedia social application, the set operation interface is a resource publishing function interface; and when the target application is an online shopping application, the setting operation interface is a same-style goods searching function interface.
According to a third aspect of the embodiments of the present disclosure, there is provided a file transfer apparatus applied to a first terminal, the apparatus including:
the first connection module is used for establishing connection with a second terminal;
the first receiving module is used for receiving a screen projection picture of the second terminal;
the first display module is used for displaying the screen projection picture of the second terminal in a screen projection picture display area;
the first receiving module is also used for receiving a position movement control instruction aiming at a target file positioned in a non-screen-projection picture display area; the position moving control instruction is used for moving the target file from the non-screen-projection picture display area to the screen-projection picture display area;
and the first sending module is used for sending the target file to the second terminal according to the position movement control instruction.
Alternatively,
the first receiving module is further configured to receive a screen projection picture of the second terminal in an application opening interface state.
Alternatively,
the position movement control instruction is a drag control instruction;
the first sending module is further configured to send the target file to the second terminal after the dragging control instruction is ended.
Alternatively,
the first receiving module is further configured to receive a screen projection picture of the second terminal in a desktop display state.
Alternatively,
the position movement control instruction includes: dragging control instructions and setting control instructions;
the first sending module is further configured to:
after a setting control instruction is detected, determining position information corresponding to the setting control instruction, wherein the position information refers to the information of the relative position of the control position of the setting control instruction on the display interface of the first terminal relative to the display area of the screen projection picture;
sending an opening instruction to the second terminal; the open instruction includes the location information;
and after the set control instruction is finished, sending the target file to the second terminal.
Alternatively,
the first receiving module is further used for receiving a screen projection picture of the second terminal in an application opening interface state;
the first display module is further used for displaying a screen projection picture of the second terminal in an application opening interface state and an image obtained after icon superposition of the target file in a screen projection picture display area.
Alternatively,
the setting control instruction is a hovering control instruction;
alternatively, the setting control command is a control command for moving along a setting trajectory.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a file transfer apparatus applied to a second terminal, the apparatus including:
the second connection module is used for establishing connection with the first terminal;
the second sending module is used for sending the screen projection picture of the second terminal to the first terminal;
a second receiving module, configured to receive a target file from the first terminal;
the second determining module is used for determining the target application corresponding to the target file;
and the second processing module is used for processing the target file according to the target application.
Alternatively,
the second determining module is further configured to determine that the application to which the application opening interface belongs is the target application when the current display interface is determined to be the application opening interface.
Alternatively,
the second receiving module is further configured to receive an opening instruction from the first terminal when it is determined that the current display interface is a desktop interface, where the opening instruction includes location information;
the second determining module is further configured to determine an icon corresponding to the position information according to the position information in the opening instruction, determine that an application corresponding to the icon is a target application, and open the target application.
Alternatively,
the second processing module is further configured to:
judging whether the target application is a set adaptation application or not;
when the target application is a setting adaptation application, executing setting adaptation processing corresponding to the target application aiming at the target file;
and when the target application is not the setting adaptive application, calling a setting operation interface corresponding to the target application to process the target file.
Alternatively,
and when the setting adaptation application is a multimedia storage application, the setting adaptation processing is to store the target file into a setting folder.
Alternatively,
when the target application is not a set adaptive application and is a multimedia social application, the set operation interface is a resource publishing function interface; and when the target application is an online shopping application, the setting operation interface is a same-style goods searching function interface.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a mobile terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein,
the processor is configured to perform the file transfer method of the first aspect; and/or the presence of a gas in the gas,
the processor is configured to perform the file transfer method according to the second aspect.
According to a sixth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the file transfer method according to the first aspect and/or the file transfer method according to the second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the file transmission method can realize cross-device file transmission, and when the file is transmitted, the target application for processing the target file on the second terminal is determined through the cooperation of the first terminal, and the target file is correspondingly processed according to the target application, so that the file does not need to be stored repeatedly, the operation steps of a user are reduced, and the use experience is improved. For example, the method can directly upload a certain file of the first terminal to a social account of a certain application of the second terminal, so that the operation paths for a user to edit and upload the file are reduced, and the use is more convenient.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to a related art.
FIG. 2 is a flow diagram illustrating a file transfer method according to an example embodiment.
Fig. 3 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
Fig. 4 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
Fig. 5 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
Fig. 6 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
Fig. 7 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
Fig. 8 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
Fig. 9 is a flow diagram illustrating a ask you transmission method according to an example embodiment.
Fig. 10 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
Fig. 11 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
Fig. 12 is a schematic diagram of display interfaces of a first terminal and a second terminal of a file transfer method according to an exemplary embodiment.
FIG. 13 is a flowchart illustrating a file transfer method according to an example embodiment.
Fig. 14 is a block diagram illustrating a file transfer apparatus according to an example embodiment.
Fig. 15 is a block diagram illustrating a file transfer apparatus according to an example embodiment.
Fig. 16 is a block diagram of a mobile terminal shown in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
An embodiment of the present disclosure provides a file transmission method, which is applied to a first terminal, for example, a computer, and is shown with reference to fig. 2, where the method includes:
s21, establishing connection with a second terminal;
s22, receiving a screen projection picture of the second terminal;
s23, displaying the screen projection picture of the second terminal in a screen projection picture display area;
s24, receiving a position movement control instruction aiming at the target file in the non-screen-projection picture display area; the position moving control instruction is used for moving the target file from the non-screen-projection picture display area to the screen-projection picture display area;
and S25, sending the target file to the second terminal according to the position movement control instruction.
In step S21, the connection between the first terminal and the second terminal is, for example, a wifi connection, a bluetooth connection, a POP connection, etc., and the connection between the first terminal and the second terminal is established to enable the first terminal and the second terminal to perform operations such as data synchronization and image screen projection.
In one embodiment, referring to fig. 3-5, the first terminal is a computer and the second terminal is a mobile phone. The computer sends a request for establishing connection to the mobile phone, a display screen of the computer displays a two-dimensional code for realizing the connection with the mobile phone, a user scans the two-dimensional code through a function of scanning the two-dimensional code in a camera application, a browser application and the like of the mobile phone, after the two-dimensional code is successfully scanned by the mobile phone, an interface for successfully scanning the two-dimensional code is displayed on the mobile phone, information (such as an option of 'confirmation connection') for confirming whether the connection is established is displayed, meanwhile, information waiting for confirmation of the mobile phone is displayed on the computer, and after the connection with the computer is confirmed on the mobile phone, the connection between the mobile phone and the computer is realized.
In an embodiment, a first terminal sets a screen projection picture display area on a display interface, the screen projection picture display area is a rectangular area, and generally, the width of the rectangular area is smaller than the height of the rectangular area, and the rectangular area corresponds to a vertical screen state of a second terminal during normal use, so that a user can conveniently check the interface change condition of the second terminal in the process of operating the first terminal.
The file transmission method can realize cross-device file transmission, and when the file is transmitted, the target application for processing the target file on the second terminal is determined through the cooperation of the first terminal, and the target file is correspondingly processed according to the target application, so that the file does not need to be stored repeatedly, the operation steps of a user are reduced, and the use experience is improved. For example, the method can directly upload a certain file of the first terminal to a social account of a certain application of the second terminal, so that the operation paths for a user to edit and upload the file are reduced, and the use is more convenient.
The embodiment of the present disclosure provides a file transmission method, which includes the method shown in fig. 2, and includes:
receiving a screen shot of the second terminal in step S22, including: and receiving a screen projection picture of the second terminal in an application opening interface state. And when the first terminal receives the screen projection screen of the second terminal in the state of the application opening interface, the position movement control instruction is a dragging control instruction.
In step S25, sending the target file to the second terminal according to the position movement control instruction, includes: and after the dragging control instruction is finished, sending the target file to the second terminal. Therefore, after the second terminal receives the target file, the target picture is stored in the setting folder under the application of the application opening interface of the second terminal.
In one example, referring to fig. 6 to 8, a first terminal establishes a connection with a second terminal, an album application of the second terminal is in an open state, the second terminal displays an interface of the open state of the album application, the first terminal receives a screen-casting picture of the second terminal in the state of the open interface of the album application, and displays the screen-casting picture in a screen-casting picture display area of the first terminal. The method comprises the steps that a first terminal receives a dragging control instruction for a target photo located in a non-screen-projection picture display area, the dragging control instruction enables the target photo to move from the non-screen-projection picture display area to a screen-projection picture display area, the first terminal sends the target photo to a second terminal, and the second terminal stores the target photo in a set folder of an album application after receiving the target photo.
The embodiment of the present disclosure provides a file transmission method, which includes the method shown in fig. 2, and includes:
in step S22, the method for receiving a screen projection screen of the second terminal further includes: and receiving a screen projection picture of the second terminal in a desktop display state. When the first terminal receives a screen projection screen of the second terminal in a desktop state, the position movement control instruction comprises: dragging control instructions and setting control instructions.
In step S25, the sending the object file to the second terminal according to the position movement control instruction includes:
s251, after a setting control instruction is detected, determining position information corresponding to the setting control instruction, wherein the position information refers to the relative position of the control position of the setting control instruction on the display interface of the first terminal relative to the display area of the screen projection picture;
s252, sending an opening instruction to the second terminal; the open instruction includes the location information;
and S253, after the set control command is finished, the target file is sent to the second terminal.
The setting control instruction is a hovering control instruction or a control instruction moving according to a setting track, and the setting track is, for example, a closed circular track, a closed square track, or an open arc track.
The file transmission method can realize cross-device file transmission, selects the application for processing the target file on the second terminal when the file is transmitted, and correspondingly processes the target file according to the application, does not need to store the file repeatedly, reduces the operation steps of a user, and improves the use experience.
This is illustrated below by 2 examples.
Example 1: the setting control instruction is a hover control instruction, i.e. the position control movement control instruction comprises a drag control instruction and a hover control instruction.
In this example, a first terminal establishes a connection with a second terminal, the second terminal is in a desktop display state, the first terminal receives a screen projection screen of the second terminal in the desktop display state, and the screen projection screen is displayed in a screen projection screen display area of the first terminal. The first terminal receives a dragging control instruction aiming at a target photo in a non-screen-projection picture display area, so that the target photo moves from the non-screen-projection picture display area to the screen-projection picture display area, the first terminal receives the hovering control instruction, determines a position corresponding to the hovering control instruction, and displays an icon of the target photo at the position corresponding to the hovering control instruction. The method comprises the steps that a first terminal determines information of a control position of a hovering control instruction on a display interface of the first terminal relative to a relative position of a screen projection picture display area, an opening instruction comprising the position information is sent to a second terminal, the second terminal opens an application at a corresponding position according to the opening instruction, and after the hovering control instruction is finished, a target photo is sent to the second terminal, and the second terminal processes a target file by using a set operation interface corresponding to the corresponding application.
After the first terminal sends the opening instruction to the second terminal, the method further comprises: receiving a screen projection picture of the second terminal in an application opening interface state; and displaying a screen projection picture of the second terminal in an application opening interface state and an image obtained after the icon of the target file is superposed in a screen projection picture display area. So that the user knows that the second terminal has responded to the open instruction.
Example 2: the portion of the execution method in example 2 different from that in example 1 includes: the first terminal receives the hovering control instruction, determines a position corresponding to the hovering control instruction, and displays the icon of the target photo at the position corresponding to the hovering control instruction. The first terminal determines information of a relative position of a control position of the hovering control instruction on a display interface of the first terminal relative to the screen projection screen display area, and simultaneously sends an opening instruction including the position information and the target photo to the second terminal. After the second terminal receives the opening instruction and the target photo at the same time, the application at the corresponding position is opened according to the opening instruction, and then the set operation interface corresponding to the application is called to process the target file.
An embodiment of the present disclosure provides a file transmission method, which is applied to a second terminal, where the second terminal is, for example, a mobile phone, and as shown in fig. 9, the method includes:
s91, establishing connection with the first terminal;
s92, sending the screen projection picture of the second terminal to the first terminal;
s93, receiving a target file from the first terminal;
s94, determining a target application corresponding to the target file;
and S95, processing the target file according to the target application.
The target file may be a picture file, a video file, an audio file, a document file, an application installation package file, or the like.
The file transmission method can realize cross-device file transmission, and when the file is transmitted, the target application for processing the target file on the second terminal is determined through the cooperation of the first terminal, and the target file is correspondingly processed according to the target application, so that the file does not need to be stored repeatedly, the operation steps of a user are reduced, and the use experience is improved. For example, the method can directly upload a certain file of the first terminal to a social account of a certain application of the second terminal, so that the operation paths for a user to edit and upload the file are reduced, and the use is more convenient.
The embodiment of the present disclosure provides a file transmission method, which includes the method shown in fig. 9, and includes:
in step S94, determining a target application corresponding to the target file includes: when the current display interface is determined to be the application opening interface, determining that the application to which the application opening interface belongs is the target application. And the current display interface corresponds to the screen projection picture.
In an example, referring to fig. 6 to 8, the current display interface of the second terminal is an opening interface of an album application, and after the first terminal establishes a connection with the second terminal, the first terminal receives a screen-casting picture of the second terminal in an album application opening interface state. The first terminal receives a dragging control instruction aiming at a target photo in a non-screen-projection picture display area under the screen-projection picture, the dragging control instruction moves the target photo from the non-screen-projection picture display area to the screen-projection picture display area, the first terminal sends the target photo to the second terminal, and the second terminal receives the target photo from the first terminal. In addition, the second terminal determines the album application as the target application and then processes the target photo according to the album application.
The embodiment of the present disclosure provides a file transmission method, which includes the method shown in fig. 9, and includes:
in step S94, determining the target application corresponding to the target file further includes: when the current display interface is determined to be the desktop interface, receiving an opening instruction from the first terminal, wherein the opening instruction comprises the control position; and determining an icon corresponding to the control position according to the control position in the opening instruction, determining that the application corresponding to the icon is a target application, and opening the target application.
In an example (not shown in the figure), the current display interface of the second terminal is a desktop interface, and after the first terminal establishes a connection with the second terminal, the first terminal receives a screen projection screen of the second terminal in a desktop display state. And the first terminal receives a dragging control instruction and a hovering control instruction aiming at the target photo in the non-screen-projection-picture display area under the screen projection picture, so that the target photo moves to the screen projection picture display area from the non-screen-projection-picture display area and hovers at the position of the icon of the album application in the screen projection picture display area. And the first terminal determines the information of the relative position of the control position of the hovering control instruction on the display interface of the first terminal relative to the display area of the screen projection picture. Then, the first terminal sends an opening instruction including the position information to the second terminal, and after the hovering control instruction is finished, the target photo is sent to the second terminal.
The second terminal receives an opening instruction comprising the position information from the first terminal, determines an icon of the album application corresponding to the position information according to the position information, determines the album application as a target application according to the icon, and opens the album application.
The first terminal receives a screen throwing picture of the second terminal in an album application opening interface state; and displaying the image of the second terminal after the screen-casting picture and the icon of the target photo are overlapped in the screen-casting picture display area under the state that the album application is opened.
And after receiving the target photo, the first terminal processes the target photo according to the album application.
In the related art, there is a scheme of data inter-application data transmission, such as an android native resource publishing function interface, which can complete a behavior of publishing a file to a certain application, but such a technical scheme does not involve data transmission across devices and platforms. Based on this, the disclosed embodiment provides a file transfer method, which includes the method shown in fig. 9, and:
in step S95, the processing the target file according to the target application includes:
s951, judging whether the target application is a set adaptation application or not;
s952, when the target application is a setting adaptation application, executing a setting adaptation process corresponding to the target application for the target file;
and S953, when the target application is not the setting adaptive application, calling a setting operation interface corresponding to the target application to process the target file.
In one embodiment, the setting adaptation application is a multimedia storage class application, and the setting adaptation process is to save the target file to a setting folder. The multimedia storage class applications include an album application for storing image files and video files, an image storage application for storing image files, a video data storage application for storing video files, an audio data storage application for storing audio files, a document data storage application for storing document files, and the like.
In one example, the target application is determined to be an album application, and the second terminal stores the target photo in a folder corresponding to the album application after receiving the target photo from the first terminal.
In an embodiment, the target application is not a setting adaptation application, and when the target application is a multimedia social application, the setting operation interface is a resource publishing function interface; and when the target application is an online shopping application, the setting operation interface is a same-style goods searching function interface. The multimedia social application is, for example, a tremble application, a WeChat application, a microblog application, and the like. The online shopping application is, for example, Taobao application, Jingdong application, Midoku application, and the like.
In one example, referring to fig. 10 to 12, after determining that the target application is a jittering application, the second terminal receives the target video from the first terminal, and then calls the resource distribution function interface to distribute the target video through the account number to which the jittering application has logged in.
In an example (not shown in the figure), the target application is determined to be a panning application, and after the second terminal receives the target goods photo from the first terminal, the same-type goods search function interface is called to search for the same-type goods by taking the target goods photo as a search target.
In the embodiment, cross-device file transmission can be realized, and when file transmission is performed, an application for processing the target file on the second terminal is selected, and the target file is correspondingly processed according to the application, so that the file does not need to be stored repeatedly, operation steps of a user are reduced, and use experience is improved. For example, the method can directly upload a certain file of the first terminal to a social account of a certain application of the second terminal, so that the operation paths for a user to edit and upload the file are reduced, and the use is more convenient.
The embodiment of the present disclosure provides a file transmission method, which is applied to a file transmission system, where the file transmission system includes a first terminal and a second terminal, and as shown in fig. 13, the method includes:
s131, the first terminal and the second terminal are connected;
s132, the second terminal sends the screen projection picture of the second terminal to the first terminal, and the first terminal receives the screen projection picture;
s133, displaying a screen projection picture of a second terminal in a screen projection picture display area of the first terminal;
s134, the first terminal receives a position movement control instruction for a target file located in a non-screen-projection picture display area;
s135, the first terminal sends the target file to the second terminal according to the position movement control instruction;
s136, the second terminal receives the target file from the first terminal;
s137, the second terminal determines a target application corresponding to the target file;
and S138, the second terminal processes the target file according to the target application.
The following is a detailed description by 3 specific examples.
Example 1: in this example (the example is not shown in the figure), the first terminal is a computer and the second terminal is a mobile phone. The two-dimension code used for establishing connection with the mobile phone is displayed on a display screen of the computer, and a user scans the two-dimension code through the mobile phone and determines to establish connection on the mobile phone, so that the computer and the mobile phone are successfully established.
After the computer is connected with the mobile phone, the mobile phone generates a screen projection picture according to the current display interface and sends the screen projection picture to the computer, and the computer receives the screen projection picture and displays the received screen projection picture in a screen projection picture display area.
The screen projection picture displayed on the computer changes along with the change of the current display interface on the mobile phone.
When the current display interface of the mobile phone is the opening interface of the tremble application, a user inputs a dragging control instruction to the computer through a mouse, the icon of the target video is moved from the non-screen-projection picture display area to the screen-projection picture display area, and then the dragging control instruction is ended.
The computer sends the target video to the mobile phone, and the mobile phone receives the target video sent from the computer.
In addition, when the dragging control instruction is finished, the current display interface of the mobile phone is an open interface of the tremble application, so that the target application corresponding to the target video is determined to be the tremble application, a resource release function interface is arranged in the tremble application, and after the mobile phone receives the target video, the target video is released to the account of the currently logged tremble application through the resource release function interface of the tremble application.
Example 2: in this example (the example is not shown in the figure), the first terminal is a computer and the second terminal is a mobile phone. The two-dimension code used for establishing connection with the mobile phone is displayed on a display screen of the computer, and a user scans the two-dimension code through the mobile phone and determines to establish connection on the mobile phone, so that the computer and the mobile phone are successfully established.
After the computer is connected with the mobile phone, the mobile phone generates a screen projection picture according to the current display interface and sends the screen projection picture to the computer, and the computer receives the screen projection picture and displays the received screen projection picture in a screen projection picture display area.
The screen projection picture displayed on the computer changes along with the change of the current display interface on the mobile phone.
When the current display interface of the mobile phone is a desktop interface, a user clicks or double clicks an icon of a tremble application in a screen-casting picture on a computer through a mouse, the mobile phone opens the tremble application in response to the click or double click, the current display interface of the mobile phone is changed into a tremble application opening interface, in the state, the user inputs a dragging control instruction to the computer through the mouse, the icon of a target video is moved from a non-screen-casting picture display area to a screen-casting picture display area, and then the dragging control instruction is ended.
The computer sends the target video to the mobile phone, and the mobile phone receives the target video sent from the computer.
In addition, when the dragging control instruction is finished, the current display interface of the mobile phone is an open interface of the tremble application, so that the target application corresponding to the target video is determined to be the tremble application, a resource release function interface is arranged in the tremble application, and after the mobile phone receives the target video, the target video is released to the account of the currently logged tremble application through the resource release function interface of the tremble application.
Example 3: in this example, referring to fig. 10-12, the first terminal is a computer and the second terminal is a cell phone. The two-dimension code used for establishing connection with the mobile phone is displayed on a display screen of the computer, and a user scans the two-dimension code through the mobile phone and determines to establish connection on the mobile phone, so that the computer and the mobile phone are successfully established.
After the computer is connected with the mobile phone, the mobile phone generates a screen projection picture according to the current display interface and sends the screen projection picture to the computer, and the computer receives the screen projection picture and displays the received screen projection picture in a screen projection picture display area.
The screen projection picture displayed on the computer changes along with the change of the current display interface on the mobile phone.
When the current display interface of the mobile phone is a desktop interface, a user inputs a position movement control instruction to the computer through a mouse, the position movement control instruction comprises a dragging control instruction and a hovering control instruction, an icon of a target video is moved from a non-screen-projection picture display area to a screen-projection picture display area through the dragging control instruction, and then the icon of a tremble application of the screen-projection picture is hovered through the hovering control instruction, so that the target image is hovered.
The computer determines the position information of the control position of the hovering control instruction on the display interface of the computer relative to the relative position of the screen-projecting picture display area, then sends an opening instruction comprising the position information to the mobile phone, after the mobile phone receives the opening instruction, the corresponding icon is determined to be a dither application icon according to the position information, the target application is determined to be a dither application according to the icon, and then the dither application is opened. And the current display interface of the mobile phone is changed into a jittering application opening interface, and correspondingly, a screen-projecting picture of the mobile phone in a state that the jittering application opening interface is opened and an image of the superposed icons of the target video are displayed in a screen-projecting picture display area of the computer.
The user sees the superposed image displayed on the computer, can determine that the mobile phone has responded to the hovering control instruction and the opening instruction, releases the mouse and finishes the hovering control instruction.
And after the hovering control instruction is finished, the computer sends the target video to the mobile phone, and the mobile phone receives the target video sent from the computer.
And after receiving the target video, the mobile phone publishes the target video to the currently logged account of the dither application through the resource publishing function interface of the dither application.
It should be noted that the computer and the mobile phone can be interchanged, that is, the file transmission method can also be applied to transmitting the file on the mobile phone to the computer. The specific file transmission method is similar to the above method, and is not described herein.
The file transmission method can realize cross-device file transmission, and when the file is transmitted, the target application for processing the target file on the second terminal is determined through the cooperation of the first terminal, and the target file is correspondingly processed according to the application, so that the file does not need to be stored repeatedly, the operation steps of a user are reduced, and the use experience is improved. For example, the method can directly upload a certain file of the first terminal to a social account of a certain application of the second terminal, so that the operation paths for a user to edit and upload the file are reduced, and the use is more convenient.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the first terminal. Referring to fig. 14, the apparatus includes a first connection module, a first receiving module, a first display module, and a first sending module, and in the implementation process, specifically:
the first connection module is used for establishing connection with a second terminal;
the first receiving module is used for receiving a screen projection picture of the second terminal;
the first display module is used for displaying the screen projection picture of the second terminal in a screen projection picture display area;
the first receiving module is also used for receiving a position movement control instruction aiming at a target file positioned in a non-screen-projection picture display area; the position moving control instruction is used for moving the target file from the non-screen-projection picture display area to the screen-projection picture display area;
and the first sending module is used for sending the target file to the second terminal according to the position movement control instruction.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the first terminal. Referring to fig. 14, the apparatus is a further improvement of the above apparatus, specifically:
the first receiving module is further used for receiving a screen projection picture of the second terminal in an application opening interface state;
the position movement control instruction is a drag control instruction;
the first sending module is further configured to send the target file to the second terminal after the dragging control instruction is ended.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the first terminal. Referring to fig. 14, the apparatus is a further improvement of the above apparatus, specifically:
the first receiving module is further configured to receive a screen projection picture of the second terminal in a desktop display state;
the position movement control instruction includes: dragging control instructions and setting control instructions;
the first sending module is further configured to:
after a setting control instruction is detected, determining position information corresponding to the setting control instruction, wherein the position information refers to the information of the relative position of the control position of the setting control instruction on the display interface of the first terminal relative to the display area of the screen projection picture;
sending an opening instruction to the second terminal; the open instruction includes the location information;
and after the set control instruction is finished, sending the target file to the second terminal.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the first terminal. Referring to fig. 14, the apparatus is a further improvement of the above apparatus, specifically:
the first receiving module is further used for receiving a screen projection picture of the second terminal in an application opening interface state;
the first display module is further used for displaying a screen projection picture of the second terminal in an application opening interface state and an image obtained after icon superposition of the target file in a screen projection picture display area.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the first terminal. Referring to fig. 14, the apparatus is a further improvement of the above apparatus, specifically:
the setting control instruction is a hovering control instruction;
alternatively, the setting control command is a control command for moving along a setting trajectory.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the second terminal. Referring to fig. 15, the apparatus includes a second connection module, a second transmission module, a second reception module, a second determination module, and a second processing module. In the implementation process, specifically:
the second connection module is used for establishing connection with the first terminal;
the second sending module is used for sending the screen projection picture of the second terminal to the first terminal;
a second receiving module, configured to receive a target file from the first terminal;
the second determining module is used for determining the target application corresponding to the target file;
and the second processing module is used for processing the target file according to the target application.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the second terminal. Referring to fig. 15, the apparatus is a further modification of the apparatus described above, specifically:
the second determining module is further configured to determine that the application to which the application opening interface belongs is the target application when the current display interface is determined to be the application opening interface.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the second terminal. Referring to fig. 15, the apparatus is a further modification of the apparatus described above, specifically:
the second receiving module is further configured to receive an opening instruction from the first terminal when it is determined that the current display interface is a desktop interface, where the opening instruction includes location information;
the second determining module is further configured to determine an icon corresponding to the position information according to the position information in the opening instruction, determine that an application corresponding to the icon is a target application, and open the target application.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the second terminal. Referring to fig. 15, the apparatus is a further modification of the apparatus described above, specifically:
the second processing module is further configured to:
judging whether the target application is a set adaptation application or not;
when the target application is a setting adaptation application, executing setting adaptation processing corresponding to the target application aiming at the target file;
and when the target application is not the setting adaptive application, calling a setting operation interface corresponding to the target application to process the target file.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the second terminal. Referring to fig. 15, the apparatus is a further modification of the apparatus described above, specifically:
and when the setting adaptation application is a multimedia storage application, the setting adaptation processing is to store the target file into a setting folder.
The embodiment of the disclosure provides a file transmission device, which is used for implementing the file transmission method applied to the second terminal. Referring to fig. 15, the apparatus is a further modification of the apparatus described above, specifically:
when the target application is not a set-up adaptation application,
when the target application is a multimedia social application, the set operation interface is a resource publishing function interface; and when the target application is an online shopping application, the setting operation interface is a same-style goods searching function interface.
In an embodiment of the present disclosure, referring to fig. 16, a mobile terminal 400 is provided, for example, the mobile terminal 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
The mobile terminal 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the device 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 406 provide power to the various components of device 400. Power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input instruction from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the mobile terminal 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio instructions. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio instructions when the device 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio instructions may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio instructions.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of state assessment for the mobile terminal 400. For example, the sensor component 414 may detect an open/closed state of the mobile terminal 400, the relative positioning of components, such as a display and keypad of the mobile terminal 400, the sensor component 414 may also detect a change in the position of the device 400 or a component of the mobile terminal 400, the presence or absence of user contact with the device 400, orientation or acceleration/deceleration of the device 400, and a change in the temperature of the device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the device 400 and other devices. The device 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast instructions or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital instruction processors (DSPs), digital instruction processing devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the device 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the methods in the embodiments described above.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (28)

1. A file transmission method is applied to a first terminal, and is characterized by comprising the following steps:
establishing connection with a second terminal;
receiving a screen projection picture of the second terminal;
displaying a screen projection picture of the second terminal in a screen projection picture display area;
receiving a position movement control instruction aiming at a target file in a non-screen-projection picture display area; the position moving control instruction is used for moving the target file from the non-screen-projection picture display area to the screen-projection picture display area;
and sending the target file to the second terminal according to the position movement control instruction.
2. The file transfer method according to claim 1,
the receiving of the screen projection picture of the second terminal includes: and receiving a screen projection picture of the second terminal in an application opening interface state.
3. The file transfer method according to claim 1, wherein the position movement control instruction is a drag control instruction;
the sending the target file to the second terminal according to the position movement control instruction comprises: and after the dragging control instruction is finished, sending the target file to the second terminal.
4. The file transfer method according to claim 1,
the receiving of the screen projection picture of the second terminal includes: and receiving a screen projection picture of the second terminal in a desktop display state.
5. The file transfer method according to claim 1, wherein the position movement control instruction includes: dragging control instructions and setting control instructions;
the sending the target file to the second terminal according to the position movement control instruction comprises:
after a setting control instruction is detected, determining position information corresponding to the setting control instruction, wherein the position information refers to the information of the relative position of the control position of the setting control instruction on the display interface of the first terminal relative to the display area of the screen projection picture;
sending an opening instruction to the second terminal; the open instruction includes the location information;
and after the set control instruction is finished, sending the target file to the second terminal.
6. The file transfer method according to claim 5,
after sending the opening instruction to the second terminal, the method further includes:
receiving a screen projection picture of the second terminal in an application opening interface state;
and displaying a screen projection picture of the second terminal in an application opening interface state and an image obtained after the icon of the target file is superposed in a screen projection picture display area.
7. The file transfer method according to claim 5,
the setting control instruction is a hovering control instruction;
alternatively, the setting control command is a control command for moving along a setting trajectory.
8. A file transmission method is applied to a second terminal, and is characterized by comprising the following steps:
establishing connection with a first terminal;
sending the screen projection picture of the second terminal to the first terminal;
receiving a target file from the first terminal;
determining a target application corresponding to the target file;
and processing the target file according to the target application.
9. The file transfer method according to claim 8,
the determining the target application corresponding to the target file includes:
when the current display interface is determined to be the application opening interface, determining that the application to which the application opening interface belongs is the target application.
10. The file transfer method according to claim 8,
the determining the target application corresponding to the target file includes:
when the current display interface is determined to be the desktop interface, receiving an opening instruction from the first terminal, wherein the opening instruction comprises position information; and determining an icon corresponding to the position information according to the position information in the opening instruction, determining that the application corresponding to the icon is a target application, and opening the target application.
11. The file transfer method according to claim 8,
the processing the target file according to the target application comprises:
judging whether the target application is a set adaptation application or not;
when the target application is a setting adaptation application, executing setting adaptation processing corresponding to the target application aiming at the target file;
and when the target application is not the setting adaptive application, calling a setting operation interface corresponding to the target application to process the target file.
12. The file transfer method according to claim 11,
and when the setting adaptation application is a multimedia storage application, the setting adaptation processing is to store the target file into a setting folder.
13. The file transfer method according to claim 11,
when the target application is not a set-up adaptation application,
when the target application is a multimedia social application, the set operation interface is a resource publishing function interface; and when the target application is an online shopping application, the setting operation interface is a same-style goods searching function interface.
14. A file transmission device is applied to a first terminal, and is characterized by comprising:
the first connection module is used for establishing connection with a second terminal;
the first receiving module is used for receiving a screen projection picture of the second terminal;
the first display module is used for displaying the screen projection picture of the second terminal in a screen projection picture display area;
the first receiving module is also used for receiving a position movement control instruction aiming at a target file positioned in a non-screen-projection picture display area; the position moving control instruction is used for moving the target file from the non-screen-projection picture display area to the screen-projection picture display area;
and the first sending module is used for sending the target file to the second terminal according to the position movement control instruction.
15. The document transfer apparatus according to claim 14,
the first receiving module is further configured to receive a screen projection picture of the second terminal in an application opening interface state.
16. The file transfer apparatus according to claim 14, wherein the position movement control instruction is a drag control instruction;
the first sending module is further configured to send the target file to the second terminal after the dragging control instruction is ended.
17. The document transfer apparatus according to claim 14,
the first receiving module is further configured to receive a screen projection picture of the second terminal in a desktop display state.
18. The file transfer apparatus according to claim 14, wherein the position movement control instruction comprises: dragging control instructions and setting control instructions;
the first sending module is further configured to:
after a setting control instruction is detected, determining position information corresponding to the setting control instruction, wherein the position information refers to the information of the relative position of the control position of the setting control instruction on the display interface of the first terminal relative to the display area of the screen projection picture;
sending an opening instruction to the second terminal; the open instruction includes the location information;
and after the set control instruction is finished, sending the target file to the second terminal.
19. The document transport apparatus according to claim 18,
the first receiving module is further used for receiving a screen projection picture of the second terminal in an application opening interface state;
the first display module is further used for displaying a screen projection picture of the second terminal in an application opening interface state and an image obtained after icon superposition of the target file in a screen projection picture display area.
20. The document transport apparatus according to claim 18,
the setting control instruction is a hovering control instruction;
alternatively, the setting control command is a control command for moving along a setting trajectory.
21. A file transmission device applied to a second terminal is characterized by comprising:
the second connection module is used for establishing connection with the first terminal;
the second sending module is used for sending the screen projection picture of the second terminal to the first terminal;
a second receiving module, configured to receive a target file from the first terminal;
the second determining module is used for determining the target application corresponding to the target file;
and the second processing module is used for processing the target file according to the target application.
22. The document transfer apparatus according to claim 21,
the second determining module is further configured to determine that the application to which the application opening interface belongs is the target application when the current display interface is determined to be the application opening interface.
23. The document transfer apparatus according to claim 21,
the second receiving module is further configured to receive an opening instruction from the first terminal when it is determined that the current display interface is a desktop interface, where the opening instruction includes location information;
the second determining module is further configured to determine an icon corresponding to the position information according to the position information in the opening instruction, determine that an application corresponding to the icon is a target application, and open the target application.
24. The document transfer apparatus according to claim 21,
the second processing module is further configured to:
judging whether the target application is a set adaptation application or not;
when the target application is a setting adaptation application, executing setting adaptation processing corresponding to the target application aiming at the target file;
and when the target application is not the setting adaptive application, calling a setting operation interface corresponding to the target application to process the target file.
25. The document transfer apparatus according to claim 24,
and when the setting adaptation application is a multimedia storage application, the setting adaptation processing is to store the target file into a setting folder.
26. The document transfer apparatus according to claim 24,
when the target application is not a set-up adaptation application,
when the target application is a multimedia social application, the set operation interface is a resource publishing function interface; and when the target application is an online shopping application, the setting operation interface is a same-style goods searching function interface.
27. A mobile terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein,
the processor is configured to perform the file transfer method of any one of claims 1 to 7; and/or the presence of a gas in the gas,
the processor is configured to perform the file transfer method of any of claims 8 to 13.
28. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform:
the file transfer method according to any one of claims 1 to 7; and/or the presence of a gas in the gas,
a file transfer method according to any one of claims 8 to 13.
CN202011043001.6A 2020-09-28 2020-09-28 File transmission method, device, terminal and storage medium Pending CN112162716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011043001.6A CN112162716A (en) 2020-09-28 2020-09-28 File transmission method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011043001.6A CN112162716A (en) 2020-09-28 2020-09-28 File transmission method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112162716A true CN112162716A (en) 2021-01-01

Family

ID=73861988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011043001.6A Pending CN112162716A (en) 2020-09-28 2020-09-28 File transmission method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112162716A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804325A (en) * 2021-01-12 2021-05-14 深圳市闪联信息技术有限公司 Cross-system file transmission method based on wireless screen projector
WO2021129186A1 (en) * 2019-12-24 2021-07-01 华为技术有限公司 File processing method, electronic apparatus, system, and storage medium
CN114637436A (en) * 2022-03-21 2022-06-17 Oppo广东移动通信有限公司 Information sharing method and device, computer readable storage medium and terminal
WO2024082803A1 (en) * 2022-10-21 2024-04-25 广州视臻信息科技有限公司 Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354451A (en) * 2015-07-14 2017-01-25 三星电子株式会社 Method for operating electronic device, and electronic device
CN109582477A (en) * 2018-11-30 2019-04-05 北京小米移动软件有限公司 Document transmission method, terminal and storage medium
WO2019071872A1 (en) * 2017-10-09 2019-04-18 华为技术有限公司 File sharing method and terminal
CN109782976A (en) * 2019-01-15 2019-05-21 Oppo广东移动通信有限公司 Document handling method, device, terminal and storage medium
CN110263077A (en) * 2019-06-25 2019-09-20 努比亚技术有限公司 Method, mobile terminal and the storage medium of file in a kind of acquisition mobile terminal
CN110597474A (en) * 2019-09-12 2019-12-20 联想(北京)有限公司 Information processing method and electronic equipment
CN110618971A (en) * 2019-09-12 2019-12-27 联想(北京)有限公司 Information interaction method and electronic equipment
CN110618970A (en) * 2019-09-12 2019-12-27 联想(北京)有限公司 File transmission method and electronic equipment
CN110865783A (en) * 2019-11-11 2020-03-06 深圳创维数字技术有限公司 Screen projection method, device, system and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354451A (en) * 2015-07-14 2017-01-25 三星电子株式会社 Method for operating electronic device, and electronic device
WO2019071872A1 (en) * 2017-10-09 2019-04-18 华为技术有限公司 File sharing method and terminal
CN110622487A (en) * 2017-10-09 2019-12-27 华为技术有限公司 File sharing method and terminal
CN109582477A (en) * 2018-11-30 2019-04-05 北京小米移动软件有限公司 Document transmission method, terminal and storage medium
CN109782976A (en) * 2019-01-15 2019-05-21 Oppo广东移动通信有限公司 Document handling method, device, terminal and storage medium
CN110263077A (en) * 2019-06-25 2019-09-20 努比亚技术有限公司 Method, mobile terminal and the storage medium of file in a kind of acquisition mobile terminal
CN110597474A (en) * 2019-09-12 2019-12-20 联想(北京)有限公司 Information processing method and electronic equipment
CN110618971A (en) * 2019-09-12 2019-12-27 联想(北京)有限公司 Information interaction method and electronic equipment
CN110618970A (en) * 2019-09-12 2019-12-27 联想(北京)有限公司 File transmission method and electronic equipment
CN110865783A (en) * 2019-11-11 2020-03-06 深圳创维数字技术有限公司 Screen projection method, device, system and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021129186A1 (en) * 2019-12-24 2021-07-01 华为技术有限公司 File processing method, electronic apparatus, system, and storage medium
CN112804325A (en) * 2021-01-12 2021-05-14 深圳市闪联信息技术有限公司 Cross-system file transmission method based on wireless screen projector
CN112804325B (en) * 2021-01-12 2023-10-03 深圳市闪联信息技术有限公司 Cross-system file transmission method based on wireless screen projector
CN114637436A (en) * 2022-03-21 2022-06-17 Oppo广东移动通信有限公司 Information sharing method and device, computer readable storage medium and terminal
WO2024082803A1 (en) * 2022-10-21 2024-04-25 广州视臻信息科技有限公司 Screen-mirroring control method and apparatus, electronic device, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN111327769B (en) Multi-screen interaction method and device and storage medium
EP3675460B1 (en) File sharing method and terminal
CN112162716A (en) File transmission method, device, terminal and storage medium
EP3110188A1 (en) Method and device for accessing operator network
US20180088784A1 (en) Method and Device for Sharing Content
EP3062196A1 (en) Method and apparatus for operating and controlling smart devices with hand gestures
EP3674868A1 (en) Multimedia resource management method and apparatus, and storage medium
EP3226432B1 (en) Method and devices for sharing media data between terminals
US11435975B2 (en) Preview display method based on multi-angle and communication system
CN109600303B (en) Content sharing method and device and storage medium
CN107992257B (en) Screen splitting method and device
CN109451877B (en) Unmanned aerial vehicle control method and device, unmanned aerial vehicle and remote control equipment
CN106537344A (en) A method and apparatus for managing application calls
US20180239511A1 (en) Mobile terminal and control method therefor
CN112463418A (en) Cross-device information sharing method, device, medium and electronic device
CN111381737A (en) Dock display method and device and storage medium
CN111427449A (en) Interface display method, device and storage medium
WO2017045301A1 (en) Application installation method and apparatus, and intelligent device
CN104780256A (en) Address book management method and device and intelligent terminal
CN109787890B (en) Instant messaging method, device and storage medium
US20170316039A1 (en) Information acquisition method, device and system
CN114595007A (en) Operation method, intelligent terminal and storage medium
CN104683475B (en) Shared Folders configuration method and device
CN113726905A (en) Data acquisition method, device and equipment based on home terminal equipment
CN113238887A (en) Data processing method, device and 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