File mutual transmission method and system, electronic equipment and storage medium
By establishing a position conversion relationship between the vehicle and the mobile device, the file data transmission between the vehicle and the mobile terminal is realized, and the problem of cumbersome file transfer operation process in the prior art is solved, which improves the user experience.
Patent Information
- Application Number
- CN202411983039.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-30
AI Technical Summary
In the prior art, the file intertransmission operation process between the vehicle and the mobile device is cumbersome and it is difficult to improve the user experience.
By obtaining the first window information of the mirror window of the target application on the mobile terminal on the vehicle display screen, the position conversion relationship between the mirror window and the application window of the target application on the mobile terminal is determined, the position information of the target file is obtained, and the position information of the vehicle is converted into position information recognizable by the vehicle end, thereby realizing the accurate transmission of file data.
It realizes data transmission and content sharing between the vehicle terminal and the mobile terminal, improves the user experience, and makes file transfer more convenient and efficient.
Smart Images

Figure CN120066331A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technologies, and in particular, to a file inter - transfer method, system, electronic device, and storage medium. Background Art
[0002] In the context of the rapid development of intelligent connected vehicles, the inter - connection between in - vehicle infotainment (IVI) systems and mobile devices has become one of the key technologies to enhance the user experience. In existing technologies, although it is possible to select specific files from a mobile device and upload them to the vehicle end through an upload button, the operation process is relatively cumbersome, and these files need to be viewed or processed on the mobile phone side.
[0003] How to improve the inter - connection experience between the IVI system and mobile devices, enhance the convenience of cross - device file inter - transfer, and improve the user experience are problems that need to be solved urgently in the present application. Summary of the Invention
[0004] In view of this, the embodiments of the present application provide a file inter - transfer method, system, electronic device, and storage medium to at least partially solve the above problems.
[0005] According to the first aspect of the embodiments of the present application, a file inter - transfer method applied to a mobile terminal is provided, including: obtaining first window information of a mirror window of a target application on the mobile terminal on a vehicle - end display screen; determining a position conversion relationship between the mirror window and an application window of the target application on the mobile terminal according to the first window information; obtaining first position information, where the first position information is used to indicate the position of a selected target file in the mirror window; converting the first position information into second position information according to the position conversion relationship, where the second position information is used to indicate the position of the target file in the application window; and sending file data corresponding to the target file to the vehicle end according to the second position information.
[0006] According to the second aspect of the embodiments of the present application, a file inter - transfer method applied to the vehicle end is provided, including: sending first window information of a mirror window of a target application on the vehicle - end display screen to the mobile terminal; obtaining first position information of a selected target file in the mirror window and sending the first position to the mobile terminal; and obtaining target data corresponding to the target file, where the target data is determined by the mobile terminal converting the first position information into second position information of the target file in an application window on the mobile terminal according to the position conversion relationship and according to the second position information.
[0007] According to a third aspect of the embodiments of the present application, a file transfer system is provided, including a mobile terminal and a vehicle terminal. The mobile terminal is used to execute any of the above file transfer methods applied to the mobile terminal, and the vehicle terminal is used to execute any of the above file transfer methods applied to the vehicle terminal.
[0008] According to a fourth aspect of the embodiments of the present application, an electronic device is provided, including: a processor, a memory, a communication interface, and a communication bus. The processor, the memory, and the communication interface complete communication with each other through the communication bus; the memory is used to store at least one executable instruction, and the executable instruction causes the processor to execute the operations corresponding to any of the above file transfer methods.
[0009] According to a fifth aspect of the embodiments of the present application, a computer storage medium is provided, on which a computer program is stored. When the program is executed by a processor, it implements any of the above file transfer methods.
[0010] According to the file transfer methods provided by the embodiments of the present application, by obtaining the first window information of the mirror window of the target application on the mobile terminal on the vehicle terminal display screen, and according to the first window information, determining the position conversion relationship between the mirror window and the application window of the target application on the mobile terminal; obtaining the first position information; according to the position conversion relationship, converting the first position information into the second position information; and according to the second position information, sending the file data corresponding to the target file to the vehicle terminal. The method provided by the present application can display the mirror data corresponding to the desktop of the mobile terminal on the vehicle terminal, and determine the file data of the target file selected by the vehicle terminal through drag and other interaction operations by determining the position conversion relationship between the vehicle terminal and the mobile terminal, realizing data transmission and sharing between the vehicle terminal and the mobile terminal, and improving the user experience. Description of the Drawings
[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in the embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings.
[0012] Figure 1 is a flowchart of a file transfer method according to an embodiment of the present application;
[0013] Figure 2 is a flowchart of another file transfer method according to an embodiment of the present application;
[0014] Figure 3 is a schematic diagram of a file transfer system according to an embodiment of the present application;
[0015] Figure 4 It is a schematic diagram of a file transfer device according to an embodiment of the present application;
[0016] Figure 5 It is a schematic diagram of another file transfer device according to an embodiment of the present application;
[0017] Figure 6 It is a schematic diagram of an electronic device according to an embodiment of the present application. Detailed implementation manners
[0018] File transfer method
[0019] The embodiment of the present application provides a file transfer method. Through this method, cross-terminal operation of applications between the mobile terminal and the vehicle terminal can be achieved, improving the user experience.
[0020] Figure 1 It is a flowchart of the file transfer method according to an embodiment of the present application. The file transfer method of this embodiment is applied to a mobile terminal. Among them, the mobile device corresponding to the mobile terminal can be a device such as a mobile phone or a tablet.
[0021] As Figure 1 shown, the file transfer method in this embodiment includes the following steps:
[0022] Step 101: Obtain the first window information of the mirror window of the target application on the mobile terminal on the vehicle terminal display screen.
[0023] In an implementable manner, stable communication links can be established between the mobile terminal and the vehicle terminal by using wireless communication technologies such as Wi-Fi and Bluetooth. The mirror data of the mobile terminal can be sent to the vehicle terminal through the near-field communication protocol between the mobile terminal and the vehicle terminal, such as the carlink protocol, so that the vehicle terminal can display the mirror window on the display screen according to the mirror data. Among them, the mirror data includes the mirror data of all contents of the mobile desktop, such as the mirror data of application programs in the desktop and the mirror data of application files included in the application program. As an example, all mirror data corresponding to the desktop of the mobile terminal can be sent to the vehicle terminal, and the same interface as the desktop of the mobile terminal can be displayed on the display screen of the vehicle terminal, such as displaying the photo album application, music application, etc., and all photos in the photo album application, all music in the music application, etc. data.
[0024] In an implementable embodiment, first window information of a mirror window of a target application on a mobile terminal on a vehicle-mounted display screen can be obtained. Among them, after all the contents of the desktop of the mobile terminal are displayed on the vehicle-mounted display screen, the application currently selected and opened on the vehicle-mounted display screen can be determined as the target application, the mirror window of the target application on the vehicle-mounted display screen can be determined, and the first window information of the mirror window can be determined. The first window information may include the size information of the window after the target application is opened on the vehicle-mounted display screen. By using the near-field communication protocol and only transmitting the mirror data of the mobile terminal to the vehicle end, the transmission delay can be reduced, the data transmission rate and stability can be improved, and at the same time, the vehicle end can display all the contents of the desktop of the mobile terminal, meeting the requirement of the vehicle end to view the application files of the mobile terminal and enhancing the user experience.
[0025] Step 102: Determine the position conversion relationship between the mirror window and the application window of the target application on the mobile terminal according to the first window information.
[0026] In an implementable embodiment, second window information corresponding to the application window of the target application on the mobile terminal can be obtained. The second window information may be the size information of the window after the target application is opened on the mobile terminal display screen.
[0027] In an implementable embodiment, the ratio of the size information of the first window in the first direction to the size information of the second window information in the first direction can be obtained, and the first scaling ratio of the target application in the first direction on the vehicle-mounted screen can be determined according to the ratio; the ratio of the size information of the first window in the second direction to the size information of the second window information in the second direction can be obtained, and the first scaling ratio of the target application in the second direction on the vehicle-mounted screen can be determined according to the ratio. The position conversion relationship can be determined according to the first ratio and the second ratio. Among them, the first direction may be the x-axis direction, and the second direction may be the y-axis direction. By obtaining the first window information, the scaling ratio of the target application between the vehicle-mounted display screen and the mobile terminal display screen can be accurately determined, so as to accurately determine the position conversion relationship between the vehicle-mounted display screen and the mobile terminal display screen, which is beneficial to realizing the accuracy of gesture operations and file dragging operations on the vehicle end and enhancing the user experience.
[0028] Step 103: Obtain the first position information.
[0029] In an implementable embodiment, the position of the selected target position on the vehicle-mounted display screen in the mirror window can be obtained, and the coordinates corresponding to the position can be determined as the first position information. By accurately obtaining the coordinate position of the target file on the vehicle-mounted display screen, the operation position of the user on the vehicle-mounted display screen can be accurately located.
[0030] Step 104: Convert the first location information into second location information according to the location conversion relationship.
[0031] In an implementable manner, second window information corresponding to an application window of a target application on a mobile terminal can be obtained. The second window information may be size information of the window after the target application is opened on the display screen of the mobile terminal.
[0032] In an implementable manner, a ratio of the size information of the first window in a first direction to the size information of the second window information in the first direction can be obtained, and a first scaling ratio of the target application in the first direction on the vehicle terminal screen can be determined according to the ratio; a ratio of the size information of the first window in a second direction to the size information of the second window information in the second direction can be obtained, and a first scaling ratio of the target application in the second direction on the vehicle terminal screen can be determined according to the ratio. The location conversion relationship can be determined according to the first ratio and the second ratio. Wherein, the first direction may be the x-axis direction, and the second direction may be the y-axis direction.
[0033] In an implementable manner, a value of the first location information in a first direction and a first scaling ratio of the location conversion relationship in the first direction can be obtained, and a value of the second location information in the first direction can be determined according to the value in the first direction and the first ratio. A value of the first location information in a second direction and a second scaling ratio of the location conversion relationship in the second direction can be obtained, and a value of the second location information in the second direction can be determined according to the value in the second direction and the second ratio. As an example, a value of the second location information in the first direction can be determined according to a ratio between the value in the first direction and the first ratio; a value of the second location information in the second direction can be determined according to a ratio between the value in the second direction and the second ratio.
[0034] In an implementable manner, the second location information can be determined according to the value in the first direction and the value in the second direction. Wherein, the first direction may be the x-axis direction, and the second direction may be the y-axis direction.
[0035] Through the first window information and the second window information, the location conversion relationship between the mobile terminal display screen and the vehicle terminal display screen can be accurately determined, so that the position of the target file selected in the vehicle terminal can be accurately corresponded to the position of the target file on the mobile terminal, and it can be applicable to different mobile terminals and vehicle terminals, with strong compatibility and versatility.
[0036] Step 105: Send the file data corresponding to the target file to the vehicle terminal according to the second location information.
[0037] In an implementable embodiment, after obtaining the second location information, the file information of the target file may be determined according to the second location information, and the file data corresponding to the target file may be obtained according to the file information. The file data is sent to the vehicle terminal through the near field communication protocol, and the vehicle terminal stores the file data or performs the next operation on the target file based on the file data. As an example, if the target file is an album application, the vehicle terminal sends the first location information of the target photo selected in the album application in the mirror window of the vehicle terminal display screen to the mobile terminal. The mobile terminal determines the second location information of the target photo in the mobile terminal according to the first location information and the location conversion relationship, determines the file information of the target photo according to the second location information, such as file encoding or file name, determines the storage location of the target photo according to the file information, and obtains the target data of the target photo from the storage location, and sends the target data to the vehicle terminal. After receiving the target data, the vehicle terminal stores the target data. By determining the target data corresponding to the target file according to the second location information, data transmission and content sharing between the mobile terminal and the vehicle terminal can be realized, the requirement of the user to view the application files on the mobile phone on the vehicle terminal can be met, and the user experience is improved.
[0038] Through the near field communication protocol, this application can make the content on the display screen of the vehicle terminal completely display the content on the display screen of the mobile terminal, realizing data sharing between the vehicle terminal and the mobile terminal; by determining the location conversion relationship between different positions on the display screen of the vehicle terminal and the display screen of the mobile terminal, when dragging or selecting a target file on the vehicle terminal display screen, the file data corresponding to the target file in the mobile terminal can be accurately located, so as to accurately and efficiently realize the requirement of viewing or configuring files on the vehicle terminal on the vehicle terminal, improving the user experience.
[0039] File transfer method
[0040] The embodiment of this application provides a file mutual transmission method. The file mutual transmission method of this embodiment is applied to the vehicle terminal, and the vehicle terminal may be the vehicle-mounted system in an intelligent connected vehicle.
[0041] Step 201: Send the first window information of the mirror window of the target application on the vehicle terminal display screen to the mobile terminal.
[0042] In an implementable embodiment, wireless communication technologies such as Wi-Fi and Bluetooth can be used to establish a stable communication link between the mobile terminal and the vehicle terminal. The mirror data of the mobile terminal can be sent to the vehicle terminal through a near-field communication protocol between the mobile terminal and the vehicle terminal, such as the carlink protocol. The vehicle terminal can display the mirror data of the mobile terminal, and the mirror data includes the desktop content of the mobile terminal, such as the mirror data of the application programs on the desktop and the mirror data of the application files within the application program. That is, the information of the desktop of the mobile terminal can be displayed on the vehicle terminal display screen. The vehicle terminal can also perform operations such as dragging on the application programs or application files included in the displayed desktop, such as the photos in the album. After the vehicle terminal selects a target application in the application program and opens it, the vehicle terminal can display the mirror window of the target application.
[0043] In an implementable embodiment, the first window information of the mirror window of the target application on the vehicle terminal can be obtained. Among them, the first window information can include the size information of the window after the target application is opened on the vehicle terminal display screen. Through the near-field communication protocol, the vehicle terminal can display the mirror data of the mobile terminal, which meets the requirement of the vehicle terminal to view the application files of the mobile terminal and improves the user experience.
[0044] Step 202: Obtain the first position information of the selected target file in the mirror window and send the first position information to the mobile terminal.
[0045] In an implementable embodiment, when the vehicle terminal operates on the target application and selects a target file in the target application, the first position information corresponding to the target file in the mirror window of the vehicle terminal can be obtained. The first position information can be the position information of the target file in the mirror window after it is opened on the mobile terminal display screen. The first position includes a value in the first direction and a value in the second direction. The first position information can be sent to the mobile terminal. Among them, the first direction can be the x-axis direction, and the second direction can be the y-axis direction.
[0046] By sending the first window information and the first position information to the mobile terminal, the scaling ratio of the target application between the vehicle terminal display screen and the mobile terminal display screen can be accurately determined, so as to accurately determine the position conversion relationship between the vehicle terminal display screen and the mobile terminal display screen, which is beneficial to the vehicle terminal accurately obtaining the file data corresponding to the target file and improving the user experience.
[0047] Step 203: Obtain the target data corresponding to the target file.
[0048] In one implementable manner, the mobile terminal converts the first location information into the second location information of the target file in the application window on the mobile terminal according to the location conversion relationship, and determines the target data based on the second location information. After obtaining the target data, the vehicle terminal can perform configuration operations based on the target data. As an example, if the obtained target file is a photo in the album, the vehicle terminal can set the wallpaper on the display screen of the vehicle terminal based on the photo after obtaining the target data. By determining the target data corresponding to the target file according to the second location information, data transmission and content sharing between the mobile terminal and the vehicle terminal can be realized, the requirement of the user to view the application files on the mobile phone on the vehicle terminal can be met, and the requirement of configuring the vehicle terminal based on the obtained application files can be met, improving the user experience.
[0049] File transfer system
[0050] Figure 3 FIG. 7 is a schematic structural diagram of a file inter - transfer system according to an embodiment of the present application. The system includes a vehicle terminal and a mobile terminal. The vehicle terminal and the mobile terminal can interact information through a private communication protocol. The vehicle terminal obtains the mirror data of the mobile terminal through the private communication protocol and displays the desktop content corresponding to the mirror data on the display screen of the vehicle terminal.
[0051] In the vehicle terminal, operations of interface interaction on the display screen can be monitored, such as click, drag, etc. If the target application is selected, the first window information of the mirror window corresponding to the target application can be obtained and sent to the mobile terminal. Through the first window information and the second window information of the interface window of the target application on the mobile terminal of the mobile terminal, the location conversion relationship between different positions on the vehicle terminal display screen and the mobile terminal display screen is determined.
[0052] In the vehicle terminal, when the target file in the target application is clicked or dragged, the first coordinate information of the target file in the mirror window is obtained, and the first coordinate information is transmitted to the mobile terminal through the private communication protocol. And the file information corresponding to the target file in the interface window obtained by the mobile terminal for the first coordinate information and the location conversion relationship, such as file encoding or file name, can be used to determine the storage location of the file according to the file information of the target file, and the file data corresponding to the target file is obtained from the storage location and transmitted to the vehicle terminal through the private communication protocol. The vehicle terminal can perform corresponding settings based on the file data of the target file. For example, if the target file is a target photo, the desktop wallpaper of the vehicle terminal display screen or others can be set based on the photo.
[0053] For the file inter - transfer system proposed in the present application, after the vehicle terminal and the mobile terminal establish a near - field connection, the vehicle terminal can display the mirror data of the desktop of the mobile terminal, and can also realize operations such as file dragging and configuration, improving the user experience of the vehicle terminal.
[0054] It should be noted that the file interaction system in this embodiment is used to implement the corresponding file mutual transmission method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be elaborated here.
[0055] File interaction device
[0056] Corresponding to the above file mutual transmission method embodiment, Figure 4 The schematic diagram of a file mutual transmission device according to an embodiment of the present application is shown. This file mutual transmission device can be used on the vehicle side, such as Figure 4 As shown, the file mutual transmission device 400 includes:
[0057] A first acquisition module 401, configured to acquire first window information of a mirror window of a target application on a mobile terminal on a vehicle-side display screen;
[0058] A determination module 402, configured to determine a position conversion relationship between the mirror window and an application window of the target application on the mobile terminal according to the first window information;
[0059] A second acquisition module 403, configured to acquire first position information;
[0060] A conversion module 404, configured to convert the first position information into second position information according to the position conversion relationship, where the second position information is used to indicate the position of a target file in the application window.
[0061] A second sending module 405, configured to send file data corresponding to the target file to the vehicle side according to the second position information
[0062] It should be noted that the file mutual transmission device in this embodiment is used to implement the corresponding file mutual transmission method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be elaborated here.
[0063] File interaction device
[0064] Corresponding to the above file mutual transmission method embodiment, Figure 5 The schematic diagram of a file mutual transmission device according to another embodiment of the present application is shown. This file mutual transmission device can be used on the control side, such as Figure 5 As shown, the file mutual transmission device 500 includes:
[0065] A first sending module 501, configured to send first window information of a mirror window of a target application on a vehicle-side display screen to the mobile terminal;
[0066] A third acquisition module 502, configured to acquire first position information of a selected target file in the mirror window and send the first position information to the mobile terminal.
[0067] The fourth acquisition module 503 is configured to acquire target data corresponding to a target file.
[0068] It should be noted that the file transfer device in this embodiment is used to implement the corresponding file transfer method in the foregoing method embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be elaborated here.
[0069] Electronic device
[0070] Figure 6 FIG. shows a schematic structural diagram of an electronic device according to an embodiment of the present application. The specific implementation of the electronic device in the specific embodiment of the present application is not limited.
[0071] As Figure 6 shown, the electronic device may include: a processor 602, a communication interface 604, a memory 606, and a communication bus 608.
[0072] Wherein:
[0073] The processor 602, the communication interface 604, and the memory 606 communicate with each other through the communication bus 608.
[0074] The communication interface 604 is configured to communicate with other electronic devices or servers.
[0075] The processor 602 is configured to execute the program 610, and specifically may execute the relevant steps in the foregoing file transfer method embodiment.
[0076] Specifically, the program 610 may include program code, and the program code includes computer operation instructions.
[0077] The processor 602 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application. One or more processors included in the intelligent device may be of the same type of processor, such as one or more CPUs; or may be of different types of processors, such as one or more CPUs and one or more ASICs.
[0078] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
[0079] The program 610 can specifically be used to cause the processor 602 to perform the following operations:
[0080] In an alternative embodiment, the program 610 is further used to cause the processor 602. For the specific implementation of each step in the program 610, reference can be made to the corresponding steps and the descriptions in the corresponding apparatuses in the above-mentioned embodiment of the file transfer method, which will not be elaborated here. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding process descriptions in the foregoing method embodiments, which will not be elaborated here again.
[0081] Computer program product
[0082] The embodiment of the present application further provides a computer program product, including computer instructions, and the computer instructions direct a computing device to perform the operations corresponding to any one of the above-mentioned file transfer methods in multiple method embodiments.
[0083] It should be noted that according to the needs of implementation, each component / step described in the embodiment of the present application can be split into more components / steps, or two or more components / steps or partial operations of components / steps can be combined into new components / steps to achieve the purpose of the embodiment of the present application.
[0084] Computer-readable storage medium
[0085] The embodiment of the present application further provides a computer-readable storage medium. The method according to the embodiment of the present application can be implemented in hardware, firmware, or be implemented as software or computer code that can be stored in a recording medium (such as a CD ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or be implemented as computer code that is originally stored in a remote recording medium or a non-transitory machine-readable medium and downloaded through a network and will be stored in a local recording medium, so that the method described herein can be processed by such software stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an ASIC or FPGA). It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component (such as a RAM, a ROM, a flash memory, etc.) that can store or receive software or computer code. When the software or computer code is accessed and executed by the computer, the processor, or the hardware, the file transfer method described herein is implemented. In addition, when a general-purpose computer accesses the code for implementing the file transfer method shown herein, the execution of the code converts the general-purpose computer into a dedicated computer for executing the file transfer method shown herein.
[0086] Those of ordinary skill in the art will appreciate that the units and method steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
[0087] The above embodiments are only used to illustrate the embodiments of the present application, rather than to limit the embodiments of the present application. Those of ordinary skill in the relevant technical field can also make various changes and modifications without departing from the spirit and scope of the embodiments of the present application. Therefore, all equivalent technical solutions also belong to the scope of the embodiments of the present application. The patent protection scope of the embodiments of the present application shall be defined by the claims.
Claims
1. A method for transferring files to each other, characterized in that: Applied to a mobile terminal, the method comprises: Obtaining first window information of a mirrored window of a target application on the mobile terminal on a vehicle-side display screen; Determining, according to the first window information, a position conversion relationship between the mirroring window and an application window of the target application on the mobile terminal; Acquire first position information, wherein the first position information is used to indicate a position of the selected target file in the mirror window; According to the position conversion relationship, converting the first position information into second position information, wherein the second position information is used to indicate the position of the target file in the application window; According to the second location information, the file data corresponding to the target file is sent to the vehicle end.
2. The method according to claim 1, characterized in that: Before obtaining the first window information of the mirror window of the target application on the mobile terminal on the vehicle-side display screen, the method further includes: The mirror data is sent to the vehicle end through a near field communication protocol between the mobile terminal and the vehicle end, so that the vehicle end displays the mirror window on a display screen according to the mirror data.
3. The method according to claim 1, characterized in that The determining, according to the first window information, a position conversion relationship between the mirroring window and an application window of the target application on the mobile terminal includes: Obtaining second window information of the application window; Determine a first scaling ratio of the target application in the first direction on the vehicle-side screen according to a ratio between size information of the first window information in the first direction and size information of the second window information in the first direction; Determine a second scaling ratio of the target application in the second direction on the vehicle-side screen according to a ratio between the size information of the first window information in the second direction and the size information of the second window information in the second direction; The position conversion relationship is determined according to the first ratio and the second ratio.
4. The method according to claim 1, characterized in that: The sending the file data corresponding to the target file to the vehicle end according to the second location information includes: determining a file encoding of the target file from the application window of the terminal according to the second location information; The file data is obtained from a storage file of the terminal according to the file code.
5. The method according to claim 1, characterized in that The converting the first position information into second position information according to the position conversion relationship includes: Determine a value of the second position information in the first direction according to a value of the first position information in the first direction and a first ratio of scaling the position conversion relationship in the first direction; The value of the second position information in the second direction is determined according to the value of the first position information in the second direction and a second ratio at which the position conversion relationship is scaled in the second direction.
6. A method for transferring files to each other, characterized in that: Applied to the vehicle side, the method includes: Sending the first window information of the mirror window of the target application on the vehicle-side display screen to the mobile terminal; Acquire first position information of the selected target file in the mirror window, and send the first position information to the mobile terminal; The target data corresponding to the target file is obtained. The target data is determined by the mobile terminal by converting the first position information into the second position information of the target file in the application window on the mobile terminal according to the position conversion relationship.
7. The method according to claim 6, characterized in that Before sending the first window information of the mirror window of the target application on the vehicle-side display screen to the mobile terminal, the method further includes: The mirror data sent by the mobile terminal is received through the near field communication protocol between the vehicle end and the mobile terminal, and a mirror window corresponding to the mirror data is displayed on the vehicle end display screen.
8. A file transfer system, characterized in that: The system comprises: A mobile terminal, configured to execute the method according to claims 1 to 5; The vehicle end is used to execute the method as described in claims 6-7.
9. An electronic device, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the file transfer method as described in any one of claims 1-5 or 6-7.
10. A computer storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the file transfer method as described in any one of claims 1-5 or 6-7.