A file application method and device

By displaying a floating icon for a file on the terminal device and applying it directly, the problem of low efficiency in file searching and application is solved, enabling fast file access and sharing.

CN113672563BActive Publication Date: 2025-11-25HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110217233.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-05-15
Filing Date
2021-02-26
Publication Date
2025-11-25
Estimated Expiration
2041-02-26

AI Technical Summary

Technical Problem

In existing technologies, file search and application are inefficient, requiring users to search through multiple file groups or storage paths one by one, resulting in low file application efficiency.

Method used

By displaying a floating icon of a file on the terminal device's display interface and directly applying the file upon receiving an operation, the user is spared the need to search for the file.

Benefits of technology

It improves the efficiency of file applications, reduces the time spent searching for files, and enhances the efficiency of sharing files between different apps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113672563B_ABST
    Figure CN113672563B_ABST
Patent Text Reader

Abstract

The application discloses a file application method and device. In the method, a first terminal device receives a first operation for a first file, the first operation being used for processing the first file; the first terminal device displays a first floating icon of the first file; after receiving a second operation for the first floating icon, the first terminal device applies the first file according to the second operation. According to the application, if the first file needs to be applied, the first floating icon of the first file is operated, and the user does not need to find the first file. Therefore, the application can avoid the influence of low file searching efficiency in the prior art, and can improve the efficiency of file application.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to the Chinese Patent Application No. 202010414264.7, filed on May 15, 2020, and entitled "Method for Conveniently Sharing Files between Terminal Devices", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0002] The present application relates to the technical field of file display, in particular to a file application method and device. BACKGROUND

[0003] With the development of application technology, various types of application programs (APPs) have emerged. In order to meet the diversified use needs of users, multiple APPs are usually installed in a terminal device, and some of the APPs can obtain corresponding files. For example, a mailbox or other communication type APP installed in a terminal device can obtain files such as documents or pictures sent by other terminal devices.

[0004] After obtaining the files, the user often needs to apply the files, such as viewing the content of the files, or needs to transmit the files. In order to meet the needs of users to apply the files, the following methods are usually used at present: in the first method, a file manager in the terminal device divides the files into different file groups according to the characteristics of the files of each APP, for example, divides the files of the picture type into the same file group, and displays each file group in the file manager; then, after receiving a selection operation for a certain file group, the file manager displays each file in the file group for the user to query and apply; the storage path of an APP usually includes each file of the APP, and in the second method, the user can enter the storage path of the APP, find the file to be applied in the storage path, and apply the file after finding the file.

[0005] However, in the above-mentioned first method, a file group usually includes multiple files, and in the second method, the storage path of an APP usually includes multiple files of the APP. If the above two methods are used, when the user needs to apply one of the files, the user often needs to find the file from the multiple files one by one to find the file needed by the user, and the efficiency of file finding is low, and the user can apply the file only after finding the file, so the low efficiency of finding will reduce the efficiency of applying the file. Therefore, the prior art has the problem of low efficiency in applying the file. SUMMARY

[0006] In order to solve the problem of low efficiency in applying the file in the prior art, the embodiments of the present application provide a file application method and device.

[0007] In a first aspect, the embodiments of the present application disclose a file application method, comprising:

[0008] The first terminal device receives a first operation for a first file, the first operation being used for processing the first file;

[0009] The first terminal device displays a first floating icon of the first file;

[0010] After receiving a second operation for the first floating icon, the first terminal device applies the first file according to the second operation.

[0011] According to the scheme provided by the embodiments of the present application, if the first file needs to be applied, the first floating icon of the first file is operated, and the user does not need to find the first file. Therefore, by applying the file according to the scheme provided by the embodiments of the present application, the influence of the low file searching efficiency in the prior art can be avoided, and the efficiency of file application can be improved.

[0012] In an optional design, the second operation is used to instruct to display the first file, and the first terminal device applies the first file according to the second operation, comprising:

[0013] The first terminal device opens and displays the first file.

[0014] Through the above steps, the first terminal device can open and display the first file according to the operation for the first floating icon, and realize the quick display of the first file.

[0015] In an optional design, the second operation is used to instruct to share the first file to a second application APP, the first file being a file of a first APP, and the first APP and the second APP being APPs installed in the first terminal device;

[0016] The first terminal device applies the first file according to the second operation, comprising:

[0017] The first terminal device shares the first file to the second APP.

[0018] Through the above steps, the first file can be shared to the second APP of the terminal device, and the first file does not need to be found, so that the efficiency of sharing the file to different APPs in the same terminal device can be improved.

[0019] In an optional design, a third APP of a second terminal device is displayed in a sharing window of the first terminal device, and the second operation is used to instruct to share the first file to the third APP;

[0020] The first terminal device applies the first file according to the second operation, including:

[0021] The first terminal device transmits a first instruction and the first file to the second terminal device, where the first instruction is used to instruct to share the first file to the third APP.

[0022] Through the above steps, the first file can be shared to the second terminal device, and thus the efficiency of sharing the file to other terminal devices can be improved.

[0023] In an optional design, the method further includes:

[0024] The first terminal device receives a third operation on a second floating icon in the sharing window, where the second floating icon is an icon of a second file of a third terminal device, and the third operation is used to instruct to share the second file in a fourth APP of the first terminal device;

[0025] The first terminal device transmits a second instruction to the third terminal device according to the third operation, where the second instruction is used to instruct to share the second file to the first terminal device;

[0026] After receiving the second file, the first terminal device shares the second file in the fourth APP.

[0027] Through the above steps, the first terminal device can acquire and share the second file transmitted by the third terminal device, and thus the efficiency of acquiring the file shared by other terminal devices by the first terminal device can be improved.

[0028] In an optional design, before the first terminal device displays the first floating icon of the first file, the method further includes:

[0029] The first terminal device determines that a first APP is a target APP, and that the first file is a file of the first APP, where the file of the target APP includes an editable file;

[0030] The first terminal device determines, by monitoring a processing condition of the first file, that the processing of the first file is completed after determining that the first APP is the target APP.

[0031] Through the above steps, only the processing condition of the target APP is monitored, and thus the first terminal device does not need to monitor the files of all APPs, the running burden of the first terminal device is effectively reduced, and the stability of the first terminal device is improved.

[0032] In an alternative design, the first terminal device determines the first APP as the target APP, including:

[0033] The first terminal device determines the information of the first APP through the installation package of the first APP.

[0034] When the information of the first APP indicates that the file of the first APP includes an editable file, or when the information of the first APP indicates that the first APP is included in a target application list, the first terminal device determines the first APP as the target APP, and the target application list includes at least one target APP.

[0035] In an alternative design, the method further includes:

[0036] After the processing of the first file is completed, the first terminal device stores the first file after processing in a database.

[0037] The first terminal device applies the first file according to the second operation, including:

[0038] The first terminal device applies the first file in the database.

[0039] In an alternative design, the method further includes:

[0040] After receiving a fourth operation for the first floating icon, and / or if no second operation for the first floating icon is received all the time within a first time period, the first terminal device terminates the display of the first floating icon.

[0041] In a second aspect, the embodiments of the present application disclose a file application method, including:

[0042] The second terminal device receives a first instruction and a first file transmitted by a first terminal device, and a third APP of the second terminal device is displayed in a sharing window of the first terminal device, where the first instruction is used to indicate sharing the first file to the third APP.

[0043] The second terminal device shares the first file to the third APP according to the first instruction.

[0044] In a third aspect, the embodiments of the present application disclose a file application method, including:

[0045] The third terminal device displays a second floating icon of a second file.

[0046] The third terminal device receives a second instruction transmitted by the first terminal device, the second instruction being used to instruct to share the second file to the first terminal device, and the second floating icon of the second file being displayed in a sharing window of the first terminal device;

[0047] The third terminal device transmits the second file to the first terminal device according to the second instruction.

[0048] In a fourth aspect, the embodiments of the present application disclose a file application device, comprising:

[0049] a processor and a transceiver interface;

[0050] The transceiver interface is configured to receive a first operation for a first file, the first operation being used to process the first file;

[0051] The processor is configured to display a first floating icon of the first file, and to apply the first file according to a second operation after receiving the second operation for the first floating icon.

[0052] In an optional design, the second operation is used to instruct to display the first file, and the processor is specifically configured to open and display the first file.

[0053] In an optional design, the second operation is used to instruct to share the first file to a second application APP, the first file being a file of a first APP, and the first APP and the second APP being APPs installed in the first terminal device.

[0054] The processor is specifically configured to share the first file to the second APP.

[0055] In an optional design, a third APP of a second terminal device is displayed in a sharing window of the first terminal device, and the second operation is used to instruct to share the first file to the third APP.

[0056] The processor is specifically configured to transmit a first instruction and the first file to the second terminal device, the first instruction being used to instruct to share the first file to the third APP.

[0057] In an optional design, the transceiver interface is further configured to receive a third operation for a second floating icon in a sharing window, the second floating icon being an icon of a second file of a third terminal device, and the third operation being used to instruct to share the second file in a fourth APP of the first terminal device.

[0058] The transceiving interface is further configured to transmit, according to the third operation, a second instruction to the third terminal device, the second instruction being used to instruct to share the second file to the first terminal device.

[0059] The processor is further configured to share the second file in the fourth APP after receiving the second file.

[0060] In an optional design, the processor is further configured to determine that the first APP is a target APP before the first terminal device displays the first floating icon of the first file, the first file being a file of the first APP, and the file of the target APP including an editable file.

[0061] The processor is further configured to determine that the processing of the first file is completed by monitoring the processing of the first file after determining that the first APP is the target APP.

[0062] In an optional design, the processor is specifically configured to determine the information of the first APP through an installation package of the first APP, and determine that the first APP is the target APP when the information of the first APP indicates that the file of the first APP includes an editable file, or when the information of the first APP indicates that the first APP is included in a target application list, the target application list including at least one target APP.

[0063] In an optional design, the processor is further configured to store the first file after the processing into a database after the processing of the first file is completed.

[0064] The processor is specifically configured to apply the first file in the database.

[0065] In an optional design, the processor is further configured to terminate the display of the first floating icon after receiving a fourth operation for the first floating icon, and / or if a second operation for the first floating icon is not received at all within a first time period.

[0066] In a fifth aspect, an embodiment of the present application discloses a file application device, including:

[0067] a processor and a transceiving interface;

[0068] The transceiving interface is configured to receive a first instruction and a first file transmitted by a first terminal device, a third APP of a second terminal device being displayed in a sharing window of the first terminal device, the first instruction being used to instruct to share the first file to the third APP;

[0069] The processor is configured to share the first file to the third APP according to the first instruction.

[0070] In a sixth aspect, the embodiments of the present application disclose a file application apparatus, comprising:

[0071] a processor and a transceiver interface;

[0072] The processor is configured to display a second floating icon of a second file.

[0073] The transceiver interface is configured to receive a second instruction transmitted by a first terminal device, the second floating icon is displayed in a sharing window of the first terminal device, and the second instruction is used to instruct to share the second file to the first terminal device.

[0074] The transceiver interface is further configured to transmit the second file to the first terminal device according to the second instruction.

[0075] In a seventh aspect, the embodiments of the present application disclose a terminal apparatus, comprising:

[0076] at least one processor and a memory,

[0077] The memory is configured to store program instructions.

[0078] The processor is configured to call and execute the program instructions stored in the memory, so that the terminal apparatus executes the file application method in the first aspect.

[0079] In an eighth aspect, the embodiments of the present application disclose a terminal apparatus, comprising:

[0080] at least one processor and a memory,

[0081] The memory is configured to store program instructions.

[0082] The processor is configured to call and execute the program instructions stored in the memory, so that the terminal apparatus executes the file application method in the second aspect.

[0083] In a ninth aspect, the embodiments of the present application disclose a terminal apparatus, comprising:

[0084] at least one processor and a memory,

[0085] The memory is configured to store program instructions.

[0086] The processor is configured to call and execute the program instructions stored in the memory, so that the terminal apparatus executes the file application method in the third aspect.

[0087] In a tenth aspect, the embodiments of the present application disclose a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the instructions run on a computer, cause the computer to execute the file application method in the first aspect.

[0088] In an eleventh aspect, the embodiments of the present application disclose a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the instructions run on a computer, cause the computer to execute the file application method in the second aspect.

[0089] In a twelfth aspect, the embodiments of the present application disclose a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the instructions run on a computer, cause the computer to execute the file application method in the third aspect.

[0090] In a thirteenth aspect, the embodiments of the present application disclose a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the instructions run on a computer, cause the computer to execute the file application method in the first aspect.

[0091] In a fourteenth aspect, the embodiments of the present application disclose a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the instructions run on a computer, cause the computer to execute the file application method in the second aspect.

[0092] In a fifteenth aspect, the embodiments of the present application disclose a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the instructions run on a computer, cause the computer to execute the file application method in the third aspect.

[0093] Through the scheme provided by the embodiments of the present application, after the processing of the first file is completed, the first floating icon of the first file can be displayed on the display interface of the first terminal device. And after receiving the second operation on the first floating icon, the first terminal device implements the application of the first file according to the second operation.

[0094] In this case, if the first file needs to be applied, the first floating icon of the first file is operated, and the user does not need to find the first file. Therefore, through the scheme provided by the embodiments of the present application, the application of the file can avoid the influence of the low file searching efficiency in the prior art, so that the efficiency of the file application can be improved. BRIEF DESCRIPTION OF DRAWINGS

[0095] Figure 1 FIG. 1 is a schematic diagram of an interface of a terminal device;

[0096] Figure 2A structural schematic diagram of a terminal device disclosed by an embodiment of the present application;

[0097] Figure 3 A structural schematic diagram of a terminal device disclosed by an embodiment of the present application;

[0098] Figure 4 An example diagram of a software structural block diagram of a terminal device disclosed by an embodiment of the present application;

[0099] Figure 5 An example diagram of a software structural block diagram of a terminal device disclosed by an embodiment of the present application;

[0100] Figure 6 A workflow schematic diagram of a file application method disclosed by an embodiment of the present application;

[0101] Fig. 7(a) is a schematic diagram of a first floating icon disclosed by an embodiment of the present application;

[0102] Fig. 7(b) is a schematic diagram of another first floating icon disclosed by an embodiment of the present application;

[0103] Fig. 8(a) is a schematic diagram of an interface of a terminal device disclosed by an embodiment of the present application;

[0104] Fig. 8(b) is a schematic diagram of a communication interface disclosed by an embodiment of the present application;

[0105] Fig. 8(c) is a schematic diagram of an interface for sharing a first file disclosed by an embodiment of the present application;

[0106] Fig. 9(a) is a schematic diagram of an interface of a terminal device disclosed by an embodiment of the present application;

[0107] Fig. 9(b) is a schematic diagram of an interface for sharing a first file disclosed by an embodiment of the present application;

[0108] Figure 10 A workflow schematic diagram of another file application method disclosed by an embodiment of the present application;

[0109] Fig. 11(a) is a schematic diagram of an interface of a terminal device disclosed by an embodiment of the present application;

[0110] Fig. 11(b) is a schematic diagram of an interface for sharing a second file disclosed by an embodiment of the present application;

[0111] Figure 12 A workflow schematic diagram of another file application method disclosed by an embodiment of the present application;

[0112] Figure 13 A workflow schematic diagram of another file application method disclosed by an embodiment of the present application;

[0113] Figure 14 A workflow schematic diagram of still another file application method disclosed by embodiments of the present application;

[0114] Figure 15 A workflow schematic diagram of still another file application method disclosed by embodiments of the present application;

[0115] Figure 16 A structure schematic diagram of a file application device disclosed by embodiments of the present application;

[0116] Figure 17 A structure schematic diagram of a terminal device disclosed by embodiments of the present application. DETAILED DESCRIPTION

[0117] The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.

[0118] In the description of the embodiments of the present application, unless otherwise specified, " / " represents the meaning of or, for example, A / B can represent A or B; "and / or" in the present text is only a description of the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent: A exists alone, A and B exist together, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0119] Hereinafter, the terms "first" and "second" are only for descriptive purposes. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "multiple" is two or more than two.

[0120] In order to make the description of each of the following embodiments clear and simple, first, a brief introduction of related technologies is given:

[0121] In order to meet the diversified use needs of users, multiple APPs are usually installed in a terminal device, and different APPs are used to realize different functions. Among them, part of the APPs can obtain corresponding files. For example, the APPs such as mailbox and other communication types installed in a terminal device can obtain files such as documents or pictures sent by other terminal devices, and the APPs of office type can generate files such as text files or tables according to the received operations.

[0122] After obtaining the file, the user sometimes needs to apply the file. For example, the user sometimes needs to view the content of the file, or the user sometimes needs to transmit the file to other terminal devices through a communication APP, etc. In order to meet the needs of the user to apply the file, the following ways are currently usually adopted: in a first way, a file manager is arranged in the terminal device, the file manager divides the files of each APP into corresponding file groups according to the characteristics of the files of each APP, and displays each file group. After receiving a selection operation for one of the file groups, the file manager displays each file in the file group, so that the user can find the file that needs to be applied from them, and after finding the file that needs to be applied, the user can perform corresponding operations on the file to realize the application of the file.

[0123] For example, referring to the interface schematic diagram shown in Figure 1 , the characteristic of the file can be the type of the file, the file manager can divide the files of each APP into multiple file groups according to the type of the file (such as pictures, videos, audios and documents, etc.), and each file in one of the file groups has the same type. If the user needs to apply a certain file, the file group in which the file is located is opened, and then the file that needs to be applied is found from it, and corresponding operations are performed on the file.

[0124] For example, in the Figure 1 , the multiple file groups divided by the file manager include pictures, videos, audios and documents, etc., wherein the picture file of each APP is included in the picture file group, the video file of each APP is included in the video file group, and the audio file of each APP is included in the audio file group. In this example, if the picture file needs to be applied, the picture file group is opened, and the picture file that needs to be applied is found from it.

[0125] However, in this way, multiple files are often included in one file group, and with the use of the terminal device, the files of each APP in the terminal device are increasing, and the number of files contained in each file group is also expanding. Therefore, if one of the files needs to be viewed, it is often necessary to sequentially find the file from multiple files in the file group to determine the file that the user needs, which leads to low efficiency of file searching.

[0126] For example, in the above manner, the files in each file group are usually arranged according to a certain rule, which can be the modification time of the file or the size of the file, etc. If the rule is the modification time of the file, in each file group, the file with the later modification time is usually arranged in the front. In this case, if the file to be searched by the searcher is not modified in a period of time, the file is arranged in the rear, and the searcher can first view the files arranged in the front in the file group, and then find the file in the file group. Therefore, a lot of search time is consumed, and the file search efficiency is low. In addition, if the rule is to arrange the files in descending order, and the searcher searches for a smaller file, the file is arranged in the rear, and the searcher also needs to first view the files arranged in the front in the file group, and then find the file, which also consumes a lot of search time.

[0127] In the second manner, the user can also view the storage path of the APP, and search for the file of the APP under the storage path. However, the storage path of the APP usually includes a plurality of files of the APP. When this manner is used, if a file needs to be viewed, the searcher needs to search for the file from the plurality of files under the storage path.

[0128] Therefore, when the file is applied by the prior art, a lot of time is usually consumed to search for the file, that is, the prior art has the problem of low file search efficiency. In the prior art, the file can be applied only after the file is found, and the low file search efficiency reduces the file application efficiency, so that the prior art has the problem of low file application efficiency.

[0129] In order to solve the problem of low file application efficiency in the prior art, the embodiments of the present application provide a file application method and device. The embodiments of the present application will be described in detail below with reference to the drawings.

[0130] The file application method provided by the embodiments of the present application can be applied to a plurality of terminal devices. In some embodiments, the terminal device can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, and the like, which can install an APP. The specific form of the terminal device is not specially limited in the present application.

[0131] Taking a smart phone as an example, a structural schematic diagram of the terminal device can be as shown in Figure 2 Figure 2 ​The terminal device can include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a radio frequency module 150, a communication module 160, an audio module 170, a loudspeaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a screen 301, and a subscriber identification module (SIM) card interface 195, etc.

[0132] It can be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the mobile phone. In other embodiments of the present application, the mobile phone can include more or fewer components than the illustration, or combine certain components, or split certain components, or different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0133] The processor 110 can include one or more processing units, for example: the processor 110 can include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices, or can be integrated in one or more processors.

[0134] Among them, the controller can be the nerve center and command center of the mobile phone. The controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of fetching instructions and executing instructions.

[0135] The memory in the processor 110 can also be provided for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can save instructions or data that the processor 110 has just used or repeatedly uses. If the processor 110 needs to use the instructions or data again, it can be directly called from the memory. Avoiding repeated access, reducing the waiting time of the processor 110, thus improving the efficiency of the system.

[0136] In some embodiments, the processor 110 can include one or more interfaces. The interfaces can include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0137] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 can include multiple sets of I2C buses. The processor 110 can be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example, the processor 110 can be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface, realizing the touch function of the mobile phone.

[0138] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple sets of I2S buses. The processor 110 can be coupled to the audio module 170 through the I2S bus, realizing the communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the communication module 160 through the I2S interface, realizing the function of answering the phone through the Bluetooth earphone.

[0139] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the communication module 160 can be coupled through the PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the communication module 160 through the PCM interface, realizing the function of answering the phone through the Bluetooth earphone. The I2S interface and the PCM interface can both be used for audio communication.

[0140] The UART interface is a universal serial bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is usually used to connect the processor 110 and the communication module 160. For example, the processor 110 communicates with the Bluetooth module in the communication module 160 through the UART interface to realize the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the communication module 160 through the UART interface to realize the function of playing music through the Bluetooth headset.

[0141] The MIPI interface can be used to connect the processor 110 and the screen 301, the camera 193 and other peripheral devices. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to realize the shooting function of the mobile phone. The processor 110 and the screen 301 communicate through the DSI interface to realize the display function of the mobile phone.

[0142] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 and the camera 193, the screen 301, the communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0143] The USB interface 130 is an interface that meets the USB standard specification, which can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the mobile phone, and can also be used to transmit data between the mobile phone and peripheral devices. It can also be used to connect a headset to play audio through the headset. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0144] It can be understood that the interface connection relationship between the modules shown in the embodiments of the present application is only illustrative and does not constitute a structural limitation of the mobile phone. In some other embodiments of the present application, the mobile phone can also use different interface connection methods or combinations of multiple interface connection methods in the above embodiments.

[0145] The charging management module 140 is configured to receive charging input from a charger. The charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive wireless charging input through a wireless charging coil of the mobile phone. The charging management module 140 can charge the battery 142 and supply power to the terminal device through the power management module 141.

[0146] The power management module 141 is configured to connect the battery 142 and the charging management module 140 to the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the external memory, the screen 301, the camera 193, and the communication module 160, etc. The power management module 141 can also be configured to monitor parameters such as battery capacity, battery cycle count, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be arranged in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be arranged in the same device.

[0147] The wireless communication function of the mobile phone can be implemented through the antenna 1, the antenna 2, the radio frequency module 150, the communication module 160, the modem processor, and the baseband processor, etc.

[0148] The antenna 1 and the antenna 2 are configured to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be configured to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in combination with a tuning switch.

[0149] The radio frequency module 150 can provide a solution for wireless communication including 2G / 3G / 4G / 5G, etc. applied to the mobile phone. The radio frequency module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The radio frequency module 150 can receive electromagnetic waves from the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit the electromagnetic waves to the modem processor for demodulation. The radio frequency module 150 can also amplify signals modulated by the modem processor and convert the signals into electromagnetic waves to be radiated through the antenna 1. In some embodiments, at least part of the functional modules of the radio frequency module 150 can be arranged in the processor 110. In some embodiments, at least part of the functional modules of the radio frequency module 150 and at least part of the modules of the processor 110 can be arranged in the same device.

[0150] The modem processor can include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is configured to demodulate a received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal processed by the baseband processor is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a microphone 170B, etc.), or displays an image or a video through the screen 301. In some embodiments, the modem processor can be a separate device. In other embodiments, the modem processor can be independent of the processor 110 and disposed in the same device as the radio frequency module 150 or other functional modules.

[0151] The communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) technology, and the like. The communication module 160 can be one or more devices that integrate at least one communication processing module. The communication module 160 receives electromagnetic waves via the antenna 2, modulates and filters the electromagnetic wave signal, and transmits the processed signal to the processor 110. The communication module 160 can also receive a signal to be transmitted from the processor 110, modulate it, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.

[0152] In some embodiments, the antennas 1 and the radio frequency module 150 are coupled, and the antennas 2 and the communication module 160 are coupled, so that the mobile phone can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0153] The mobile phone implements a display function through the GPU, the screen 301, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the screen 301 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs that execute program instructions to generate or change display information. In the embodiments of the present application, the screen 301 can include a display and a touch device. The display is used to output display content to the user, and the touch device is used to receive a touch event input by the user on the screen 301.

[0154] In the mobile phone, the sensor module 180 can include one or more of a gyroscope, an acceleration sensor, a pressure sensor, a barometric pressure sensor, a magnetic sensor (such as a Hall sensor), a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, a pyroelectric infrared sensor, an ambient light sensor, or a bone conduction sensor, etc., and the embodiments of the present application do not make any limitation thereto.

[0155] The mobile phone can implement the photographing function through the ISP, the camera 193, the video codec, the GPU, the flexible screen 301, and the application processor, etc.

[0156] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing to convert it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize the exposure, color temperature, and other parameters of the shooting scene. In some embodiments, the ISP can be arranged in the camera 193.

[0157] The camera 193 is used to capture a still image or a video. An object generates an optical image through a lens and projects it onto a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electric signal, and then transmits the electric signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, the mobile phone can include one or N cameras 193, where N is a positive integer greater than 1.

[0158] The digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the mobile phone selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0159] The video codec is used to compress or decompress digital videos. The mobile phone can support one or more video codecs. In this way, the mobile phone can play or record videos in multiple encoding formats, such as moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.

[0160] The NPU is a neural-network (NN) calculation processor, which processes input information quickly by drawing on the structure of a biological neural network, such as the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the mobile phone can implement intelligent cognitive applications, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0161] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to extend the storage capacity of the mobile phone. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, music, video, and other files can be saved in the external memory card.

[0162] The internal memory 121 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), and the like. The data storage area can store data created during use of the mobile phone (such as audio data, a phonebook, etc.), and the like. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.

[0163] The mobile phone can implement an audio function through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, the application processor, and the like. For example, network mode determination, recording, and the like.

[0164] The audio module 170 is used to convert digital audio information into an analog audio signal output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode an audio signal. In some embodiments, the audio module 170 can be disposed in the processor 110, or part of the function modules of the audio module 170 can be disposed in the processor 110.

[0165] The speaker 170A, also known as a “loudspeaker”, is used to convert an audio electrical signal into a sound signal. The mobile phone can listen to music or listen to a hands-free call through the speaker 170A.

[0166] The receiver 170B, also known as a “earpiece”, is used to convert an audio electrical signal into a sound signal. When the mobile phone answers a call or a voice message, the receiver 170B can be held close to the ear to listen to the voice.

[0167] Microphone 170C, also called "microphone", "sound pickup", is used to convert sound signal into electric signal. When making a call or sending voice message, user can speak into microphone 170C by putting his mouth close to it, and input sound signal into microphone 170C. Mobile phone can be provided with at least one microphone 170C. In some other embodiments, mobile phone can be provided with two microphones 170C, in addition to collecting sound signal, noise reduction function can also be realized. In some other embodiments, mobile phone can be provided with three, four or more microphones 170C, in addition to collecting sound signal, noise reduction, identifying sound source, realizing directional recording function, etc.

[0168] Earphone interface 170D is used to connect wired earphone. Earphone interface 170D can be USB interface 130, or 3.5mm open mobile terminal platform (OMTP) standard interface, cellular telecommunications industry association of the USA (CTIA) standard interface.

[0169] Keys 190 include power on key, volume key, etc. Keys 190 can be mechanical keys. They can also be touch keys. Mobile phone can receive key input, and generate key signal input related to user settings and function control of mobile phone.

[0170] Motor 191 can generate vibration prompt. Motor 191 can be used for incoming call vibration prompt, and also can be used for touch vibration feedback. For example, touch operation acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. Touch operation acting on different areas of flexible screen 301, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (such as time reminder, receiving message, alarm, game, etc.) can also correspond to different vibration feedback effects. Touch vibration feedback effect can also support customization.

[0171] Indicator 192 can be indicator light, which can be used to indicate charging state, power change, and also can be used to indicate message, missed call, notification, etc.

[0172] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or pulled out of the SIM card interface 195 to realize contact and separation with the mobile phone. The mobile phone can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external storage cards. The mobile phone interacts with the network through the SIM card to realize functions such as calling and data communication. In some embodiments, the mobile phone uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the mobile phone and cannot be separated from the mobile phone.

[0173] In addition, an operating system runs on the above-mentioned components. For example, the iOS operating system developed by Apple Inc., the Android open source operating system developed by Google Inc., the Windows operating system developed by Microsoft Corporation, and the like. Application programs can be installed and run on the operating system.

[0174] In another possible implementation, taking a smartphone as an example of the terminal device, a structural schematic diagram of the terminal device can also be as shown in Figure 3 Figure 3 The terminal device includes a central processing unit (CPU) 100, a storage 200, a memory 300, a touchpad 400, a display screen 500, and a wireless communication module 600.

[0175] The central processor 100 is usually the operation and control core of the terminal device, and a microcontroller unit (MCU) can be built in the central processor 100. In this application, the terminal device can realize the file application method provided in the embodiments of this application through the control of the central controller 100.

[0176] The storage 200 and the memory 300 are respectively connected with the central processor 100. The storage 200 can be a variety of forms of storage, and in one possible implementation, the storage 200 can be a non-volatile memory.

[0177] In addition, in the scheme provided in the embodiments of this application, the storage 200 can be used to store files and the like of each APP in the terminal device.

[0178] ​The touchpad 400 is used to realize the interaction between the user and the terminal device. If the user needs to manipulate the terminal device, the corresponding position of the touchpad 400 can be touched, the terminal device determines the touched position on the touchpad 400, and completes the corresponding function according to the touched position, thereby realizing the human-computer interaction.

[0179] The display screen 500 can display the corresponding content according to the manipulation of the user on the terminal device. In the scheme provided in the embodiment of the application, the display screen 500 can display each APP installed in the terminal device, and can also display the file of the APP according to the operation.

[0180] In addition, the terminal device realizes the wireless communication with other terminal devices through the wireless communication module 600. The wireless communication module 600 can be a Bluetooth communication module, a wireless broadband communication module, and / or a near field communication (NFC) module, etc., which is not limited in the embodiment of the application.

[0181] Of course, the terminal device can also adopt other forms of structures, which are not limited in the embodiment of the application.

[0182] In order to clearly define the function operation of each software architecture in the terminal device when the terminal device executes the scheme disclosed in the application, the software structure of the terminal device is also disclosed in the embodiment of the application.

[0183] The operating system of the terminal device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, etc. The embodiment of the application takes the Android system with a layered architecture as an example to exemplarily illustrate the software structure of the terminal device.

[0184] Among them, Figure 4 That is, an example diagram of the software structure block diagram of the terminal device in the embodiment of the application.

[0185] The layered architecture divides the software of the terminal device into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, which are the application program layer, the application program framework layer, the system library, and the kernel layer.

[0186] The application layer can include a series of application (APP) android application package (APK). For example, the application layer can include APKs of calling, navigation, music, video, instant messaging and the like. The APPs can include APPs installed by default in the terminal device at the time of factory shipment, and APPs installed by the user during use of the terminal device.

[0187] In addition, the application layer further includes a system user interface (system UI) module. The system UI is used to manage the user interface of the terminal device, and can provide status bar information (such as display of remaining battery power, wifi signal 3G / 4G and the like), display of a notification panel, screenshot service, wallpaper service and the like. In the present application, the system UI can display the file of the APP on the display interface of the terminal device according to the received operation.

[0188] Further, in the embodiments of the present application, the application layer further includes a file sharing manager. The file sharing manager can listen to an operation event for a file, which can include events of creating a file, opening a file and modifying a file, and the file sharing manager can determine a change of the file according to analysis of the operation event, and refresh a database storing the file according to the change of the file, so as to store the changed file in the database.

[0189] In addition, the file sharing manager can generate and display a floating icon of the file after completing the operation on the file. In addition, the file sharing manager can respond to various operations such as dragging and clicking of the floating icon, and perform corresponding application processing on the file according to the operation of the floating icon.

[0190] The application framework layer provides application programming interface (API) and programming framework for the application of the application layer. The application framework layer includes some pre-defined functions. For example, the application framework layer can include window manager, task manager, file manager and database and the like. Figure 4 As shown, the application framework layer can include window manager, task manager, file manager and database and the like.

[0191] The window manager is configured to manage window programs, and the task manager is configured to determine relevant information of each program and process running in the terminal device. In addition, the database stores files of each APP installed in the terminal device. The file manager is configured to monitor operations such as access, creation, modification, deletion, and movement of files or folders, and interact with the file sharing manager according to the monitored events, so that the file sharing manager performs corresponding operations.

[0192] In addition, the file manager can also monitor files or folders based on an INotify mechanism. The INotify is a Linux kernel feature that can monitor a file system and timely send relevant event warnings to a dedicated application.

[0193] The system library includes a state monitoring service that can perform state detection according to data reported by a sensor driver in the kernel layer.

[0194] The kernel layer is a layer between hardware and software. The kernel layer includes a driver, which can include a touch panel (TP) driver. In addition, if the file manager monitors files or folders based on the INotify mechanism, the kernel layer can also include an INotify module.

[0195] Further, referring to the schematic diagram shown in Figure 5 In the scheme provided in the embodiments of the present application, the file sharing manager can be further divided into a user interaction module, an application monitoring module, a file management module, and a file change monitoring and database updating module.

[0196] The user interaction module is configured to respond to operations received by the terminal device. For example, after the terminal device receives an operation on a file and completes processing of the file according to the operation, the user interaction module can display a floating icon of the file on a screen of the terminal device. After a period of time elapses without receiving an operation on the file, the user interaction module can eliminate the floating icon so that the floating icon is no longer displayed on the screen.

[0197] The application monitoring module is configured to monitor events of APPs installed in the terminal device. The APPs monitored by the application monitoring module usually include APPs in which files can be edited, and the events monitored usually include events such as opening, saving, saving as, and / or closing of files of the APPs.

[0198] The file change monitoring and database updating module can interact with the database storing files. When the application monitoring module monitors that a file of an APP has an event of opening, saving, saving as, closing, and / or the like, the file change monitoring and database updating module can monitor the change of the file of the APP.

[0199] The file management module is connected with the user interaction module, the application monitoring module, and the file change monitoring and database updating module. The file management module can provide a corresponding response strategy for the user interaction module. For example, after the file change monitoring and database updating module determines that a file has changed, the file management module can generate a floating icon of the file and make the user interaction module display the floating icon. Moreover, after the file change monitoring and database updating module determines that a file of an APP has changed according to the monitored result, the file management module can refresh the database storing files according to the change of the file, so that the file stored in the database is the file after the change.

[0200] It should be noted that although the embodiments of the present application are described by taking the Android system as an example, the basic principles are also applicable to terminal devices based on iOS or Windows operating systems.

[0201] If the software architecture of the terminal device applying the file application method provided by the embodiments of the present application is as shown in FIG. 1, in one example, the file manager in the terminal device can monitor files or folders based on the INotify mechanism, and transmit the monitored event to the file sharing manager. In addition, the application monitoring module in the file sharing manager can also monitor the files of the APP, and transmit the monitored event to the file change monitoring and database updating module through the file management module in the file sharing manager. The file change monitoring and database updating module in the file sharing manager can determine the change of the file according to the interaction with the file management module and the file manager, and refresh the database according to the change of the file, so that the database stores the file after the change. Figure 5

[0202] In addition, after the file management module in the file sharing manager determines that the processing for a file is completed, the file management module can generate a floating icon of the file, and the user interaction module in the file sharing manager can display the floating icon on the screen of the terminal device. If the user interaction module does not always sense the operation of the user for the file within a period of time, or the terminal device receives an operation of no longer displaying the floating icon, the user interaction module can control the screen to no longer display the floating icon of the file.

[0203] ​During the displaying of the floating icon, if the user interaction module determines that the terminal device receives an operation for the floating icon, the user interaction module interacts with the file management module. The file management module determines the file corresponding to the floating icon from the database according to the interaction between the user interaction module, and performs corresponding application processing on the determined file according to the received operation for the floating icon, for example, opening and displaying the content of the file, or transmitting the file to other APPs, etc.

[0204] Of course, each module in the terminal device can also perform other functions, and the file application method provided in the present application can be implemented through the interaction between the modules, which is not limited in the present application.

[0205] In order to solve the problem of low file application efficiency in the prior art, the embodiments of the present application provide a file application method and device.

[0206] In order to clarify the scheme provided in the present application, the scheme provided in the present application will be introduced and described through various embodiments in combination with the drawings.

[0207] Referring to the working flow diagram shown in Figure 6 The embodiments of the present application disclose a file application method, which comprises the following steps:

[0208] Step S11, the first terminal device receives a first operation for a first file.

[0209] The first operation is used to process the first file, and the processing can include various forms. For example, the processing for the first file can include creating the first file, opening the first file, compressing the first file and / or modifying the first file, etc. Correspondingly, the first operation can also be in various forms.

[0210] In addition, the first operation can include the operation of the user on the first terminal device. For example, the first operation can include the touch operation of the user on the touchpad of the first terminal device, and can also include the operation of the user on the first file through the mouse, physical keyboard and / or virtual keyboard of the first terminal device, which is not limited in the embodiments of the present application.

[0211] Step S12, the first terminal device displays a first floating icon of the first file.

[0212] After receiving the first operation, the first terminal device will respond to the first operation and process the first file accordingly, for example, creating the first file, opening the first file or modifying the first file.

[0213] In addition, the first terminal device can generate a first floating icon of the first file, and the first terminal device can display the first floating icon of the first file in the display interface.

[0214] The first floating icon is used to indicate information of the first file, and the information of the first file can include a name of the first file. In this case, the name of the first file can be included in the first floating icon. In addition, if the name of the first file contains a large number of characters, part of the characters in the name of the first file can be included in the first floating icon, or part of the characters included in the name of the first file can be folded.

[0215] Further, the first floating icon can also be different for different types of first files. In this case, the type of the first file can be determined through the displayed first floating icon.

[0216] For example, FIG. 7(a) is a schematic diagram of a first floating icon. In the example shown in FIG. 7(a), the first file is a Microsoft Office Word document, and the name of the document is set as “patent application”. The first floating icon includes the name, and the first floating icon can include a “W” character, so that the type of the first file can be determined as a word document through the character.

[0217] FIG. 7(b) is a schematic diagram of a first floating icon. In the example shown in FIG. 7(b), the type of the first file is a portable document format (PDF) document, and the name of the document is set as “authorization file”. The first floating icon includes the name, and the first floating icon can include a “P” character, so that the type of the first file can be determined as a PDF document through the character.

[0218] Of course, the first floating icon can also have other forms, which are not limited in the embodiments of the present application.

[0219] In addition, the terminal device can also adjust the transparency of the first floating icon according to the received operation, so as to improve the viewing experience of the user watching the display interface of the terminal device.

[0220] Step S13, after receiving the second operation on the first floating icon, the first terminal device applies the first file according to the second operation.

[0221] In the embodiments of the present application, the second operation on the first floating icon can be a single click, double click or drag operation on the first floating icon, and the application of the first file can include displaying the content of the first file, modifying the first file or sharing the first file with other APPs or other terminal devices, etc., which are not limited in the embodiments of the present application.

[0222] According to the scheme provided by the embodiments of the present application, after receiving the first operation on the first file, the first floating icon of the first file is displayed on the display interface of the first terminal device. And after receiving the second operation on the first floating icon, the first terminal device implements the application of the first file according to the second operation.

[0223] In this case, if the first file needs to be applied, the first floating icon of the first file can be operated, without the need for the user to find the first file. Therefore, by applying the scheme provided by the embodiments of the present application, the influence of low file searching efficiency in the prior art can be avoided, so that the efficiency of file application can be improved.

[0224] In the embodiments of the present application, after receiving the first operation on the first file, the first terminal device processes the first file. Wherein, the first operation can be a plurality of forms of operations.

[0225] In a feasible implementation manner, the first operation can include any one of operations on the first file. For example, opening the first file, modifying the first file, closing the first file or receiving the first file transmitted by the terminal device of the opposite end, etc. In this scheme, as long as the operation on the first file is received, the first terminal device can display the first floating icon of the first file, so as to avoid the user to find the first file, and meet the demand of applying various first files.

[0226] Alternatively, in another feasible implementation manner, the first operation is an operation of changing the first file. Wherein, the operation of changing the first file can include an operation of modifying the first file or an operation of obtaining the first file, etc., which are not limited in the embodiments of the present application.

[0227] Generally, after the first file is changed, the probability of applying the first file increases. Therefore, in this implementation manner, only in the case that the first file is changed, the first terminal device displays the first floating icon, so as to avoid displaying more floating icons in the display interface of the terminal device, and further avoid affecting the user to watch other content in the display interface.

[0228] Alternatively, a specific type of operation can also be set, and if the received operation for the first file is the specific type of operation, the operation is the first operation, and accordingly, after receiving the specific operation for the first file, the first terminal device displays the first floating icon. In this case, the specific operation type can be set according to the user's application file requirements, and only when the received operation is the specific operation type, the first terminal device displays the first floating icon, thereby avoiding displaying too many floating icons in the display interface of the terminal device, and further avoiding affecting the user's viewing of other content in the display interface.

[0229] For example, generally when a file needs to be transmitted, in order to reduce the occupation of network resources and improve the efficiency of file transmission, the file will be compressed before transmission, so that the compressed file is transmitted. Therefore, the first operation can include a compression operation on the file. In this case, if a compression operation is received for the first file, it can be determined that the operation is the first operation, and the first floating icon of the first file is displayed, so that the transmission operation for the first file can be quickly completed according to the first floating icon.

[0230] In addition, in the embodiments of the present application, the first operation can include multiple types of operations, and if multiple first operations for the same first file are continuously received within a period of time, only one first floating icon of the first file needs to be displayed, so as to avoid multiple first floating icons for the same first file appearing in the display interface of the terminal device at the same time, affecting the display effect of the display interface.

[0231] In the above embodiments, the first terminal device performs an operation of applying the first file according to the first operation after receiving a second operation for the first floating icon. In order to meet diversified application requirements, the application of the first file according to different second operations can also be of multiple types.

[0232] In a feasible implementation manner, the second operation is used to instruct to display the first file. For example, the second operation can be a single-click operation, a double-click operation, or a long-press operation, etc. for the first floating icon. Of course, the second operation can also be other forms of operations, and the embodiments of the present application do not limit this.

[0233] In this case, the first terminal device applies the first file according to the second operation, including that the first terminal device opens and displays the first file. That is, after receiving the second operation, the first terminal device opens and displays the first file in response to the second operation, so as to meet the user's demand for viewing the first file.

[0234] In the prior art, if a user needs to view a first file, the user often needs to perform the following operations:

[0235] (1) The user opens a file manager of the first terminal device, so that the file manager displays a plurality of file groups, wherein each file group contains files of the same type;

[0236] (2) According to the type of the first file, the user determines a file group in which the first file is located, and performs an operation on the file group, so that the first terminal device receiving the operation opens the file group, in which case the file manager displays each file included in the file group;

[0237] (3) The user searches for the first file from each file displayed by the file group, and performs an operation on the found first file, so that the first terminal device receiving the operation opens the first file, so that the first terminal device displays the first file.

[0238] Alternatively, if the first file is a file of a first APP, the user can also enter a storage path of the first APP, then search for the first file from a plurality of files under the storage path, and open the first file by the user, so that the first terminal device displays the first file.

[0239] According to the above introduction of the prior art, it can be seen that although the two methods in the prior art can make the first terminal device display the first file, the operation is relatively cumbersome, and a lot of time is consumed by the user to search for the first file, thereby resulting in low efficiency of viewing the file.

[0240] In the scheme provided in the embodiments of the present application, a first floating icon of the first file is displayed on a display interface of the first terminal device, if the user wants to view the first file, only needs to perform a corresponding operation on the first floating icon, and the first terminal device can open and display the first file according to the operation performed on the first floating icon, so as to realize quick display of the first file.

[0241] The scheme provided in the embodiments of the present application not only can make the first terminal device display the first file, meet the demand of the user to view the first file, and compared with the prior art, the scheme provided in the embodiments of the present application is relatively simple, does not need the user to consume a lot of time to search for the first file, and effectively improves the efficiency of displaying the first file.

[0242] In another possible implementation manner, the second operation is used to instruct to share the first file to a second application APP.

[0243] The first file is a file of a first APP, and the first APP and the second APP are APPs installed in the first terminal device.

[0244] Correspondingly, the first terminal device applies the first file according to the second operation, including the following operations:

[0245] The first terminal device shares the first file to a second APP.

[0246] In this implementation, the second operation is used to indicate sharing the first file to a second APP of the first terminal device. In the embodiment of the present application, the second operation can be in multiple forms.

[0247] For example, the second operation can be a drag operation on the first floating icon. In this case, when the interface of the second APP is displayed on the display interface of the first terminal device, the second operation is to drag the first floating icon to a corresponding position of the interface of the second APP.

[0248] Alternatively, when the interface of the second APP is displayed on the display interface of the first terminal device, the second operation is a click operation on the first floating icon and a corresponding position of the second APP, respectively, and the time interval between the two click operations is within a first time range.

[0249] Of course, the second operation can also be other forms of operations, which are not limited in the embodiment of the present application.

[0250] In addition, in the embodiment of the present application, the first APP and the second APP are APPs installed in the first terminal device. In one example, the first APP can be an APP installed in the first terminal device for downloading, and the second APP is an APP installed in the first terminal device for communication. After downloading the first file through the first APP, sometimes it is desired to share the first file to other users of the second APP. In this case, after receiving the second operation for indicating sharing the first file to the second APP, the first terminal device can share the first file to the second APP.

[0251] In the prior art, if it is necessary to share a file of an APP in a terminal device to another APP, it is necessary to first find the file, and then operate the found file to share the file to another APP in the terminal device. The existing file finding scheme is relatively cumbersome and requires a lot of time of the user, so there is a problem of low efficiency in sharing the file to another APP in the terminal device through the prior art.

[0252] According to the scheme provided in the embodiments of the present application, a first floating icon of a first file is displayed on the first terminal device. The first file can be shared to a second APP of the terminal device by performing a second operation on the first floating icon, for example, dragging the first floating icon to a position of an icon of the second APP. Therefore, the first file does not need to be searched, and the efficiency of sharing the file to different APPs in the same terminal device can be improved.

[0253] To make the first file shared to the second APP, the following examples are disclosed in the present application.

[0254] In this example, the first APP is a download type APP, and the first file is a text file downloaded by the first APP. The name of the text file is "specification". As shown in FIG. 8(a), after the download is completed, a first floating icon of the first file is displayed on a display interface of the first terminal device. The first floating icon contains the name of the text file.

[0255] In addition, the second APP is an instant messaging APP. In this example, the first file needs to be shared to a user "A". In this case, a communication interface of the second APP between a user of the first terminal device and the user "A" can be opened, as shown in FIG. 8(b). The first floating icon is displayed in the communication interface. The first terminal device can receive a second operation on the first floating icon. The second operation can be dragging the first floating icon to the communication interface.

[0256] After receiving the second operation, as shown in FIG. 8(c), the first terminal device shares the first file to the second APP, so that the user "A" can obtain the first file through the second APP.

[0257] According to the examples, the first terminal device can share the first file to the second APP. During the sharing process, the first APP does not need to be searched, and the second operation on the first floating icon can be performed, so that the efficiency of sharing the first file can be effectively improved. Figure 8(a) to Figure 8(c) With the development of information interaction technology, the demand for file sharing between different terminal devices is increasing. In the scheme provided in the embodiments of the present application, the first terminal device can establish a network connection with the second terminal device to realize file sharing.

[0258]

[0259] ​In this case, the first terminal device can display a sharing window in which the interface of the second terminal device is displayed, and if the first file needs to be shared to a third APP of the second terminal device, a user on the second terminal device side can operate the second terminal device to make the second terminal device open the third APP. Alternatively, the user on the first terminal device side can operate the sharing window to make the second terminal device open the third APP, so that the interface of the third APP is displayed in the sharing window of the first terminal device.

[0260] In an implementation, the third APP of the second terminal device is displayed in the sharing window of the first terminal device, and the second operation is used to instruct to share the first file to the third APP.

[0261] In this case, the first terminal device applies the first file according to the second operation, including:

[0262] The first terminal device transmits a first instruction and the first file to the second terminal device, where the first instruction is used to instruct to share the first file to the third APP.

[0263] In this implementation, the first terminal device generates a corresponding first instruction according to the received second operation, and transmits the first instruction and the first file to the second terminal device through a network connection between the first terminal device and the second terminal device.

[0264] In addition, after receiving the first file and the first instruction, the second terminal device can transmit the received first file to the third APP according to the instruction of the first instruction, so as to realize sharing the first file to the third APP.

[0265] The second operation can be in various forms. For example, when the third APP of the second terminal device is displayed in the sharing window of the first terminal device, the second operation can be to drag the first floating icon to a corresponding position of the third APP in the sharing window.

[0266] Alternatively, when the third APP of the second terminal device is displayed in the sharing window of the terminal device, the second operation can be a click operation on the first floating icon and the second APP respectively, and the time interval between the two click operations is within a second time range. The first time range and the second time range can be the same or different.

[0267] Of course, the second operation can also be other forms of operation, which are not limited by the embodiments of the present application.

[0268] In the prior art, if a first file of a first terminal device needs to be shared to a third APP of a second terminal device, the first file needs to be found first, and then the first file is transmitted to the second terminal device through a network connection, so that the second terminal device shares the received first file to the third APP.

[0269] In this process, the first file needs to be found first, and the existing file finding scheme is relatively cumbersome. The finding process of the first file will consume a lot of time, so when the first file is shared to the APP of the third terminal device through the prior art, a lot of time needs to be consumed, and the efficiency is low.

[0270] In the scheme provided in the embodiments of the present application, a first floating icon of the first file is displayed on the first terminal device. The first file can be transmitted to the second terminal device by performing a corresponding operation on the first floating icon, so that the second terminal device shares the received first file to the third APP. In this process, the first file does not need to be found, so the efficiency of sharing the file to the APP of the other terminal device can be improved.

[0271] Further, in the scheme of the embodiments of the present application, when the first terminal device transmits the first file to the second terminal device, the first file can be encrypted by an encryption method negotiated with the second terminal device in advance, and then the encrypted first file is transmitted to the second terminal device. After receiving the encrypted first file, the second terminal device can decrypt it, and then share the decrypted first file to the third APP, so as to reduce the possibility of leakage of the first file and improve the security of the first file.

[0272] In order to clearly show the way of sharing the first file to the third APP of the second terminal device, the following examples are disclosed in the present application:

[0273] In this example, referring to the schematic diagram shown in FIG. 9(a), the first terminal device is a computer, the second terminal device is a mobile phone, and the display interface of the first terminal device includes a sharing window. The third APP of the second terminal device is included in the sharing window, and the third APP is an APP for instant messaging. The first file is a portable document format (PDF) file, and the name of the file is "business plan". In addition to the sharing window, the first floating icon of the first file is also displayed on the display interface of the first terminal device, and the first floating icon includes the name of the text file.

[0274] In this example, the first file needs to be shared to the user "Customer A" of the third APP. In this case, the second terminal device can open the third APP and enter the communication interface for communicating with "Customer A". Correspondingly, the sharing window displays the communication interface.

[0275] Alternatively, upon receiving the opening operation of the third APP in the sharing window of the first terminal device, the third APP can also be opened, so that the sharing window displays the communication interface for communicating with "Customer A".

[0276] If the first file needs to be shared to the third APP, a second operation can be performed on the first floating icon. The second operation can be dragging the first floating icon to the communication interface included in the sharing window. In this case, after receiving the second operation, the first terminal device transmits the first file and the first instruction to the second terminal device through network connection.

[0277] As shown in FIG. 9(b), after receiving the first file, the second terminal device shares the first file to the third APP according to the indication of the first instruction, so that the third APP acquires the first file and realizes sending the first file to "Customer A".

[0278] Through the examples of FIG. 9(a) and FIG. 9(b), the first terminal device can share the first file to the third APP of the second terminal device, realizing the sharing of the first file by the first terminal device and the second terminal device. Moreover, this process does not need to find the first file, but only needs to perform corresponding operations on the first floating icon, thereby effectively improving the efficiency of sharing the first file to the APP of other terminal devices.

[0279] The first terminal device can also establish a network connection with the third terminal device. In this case, the first terminal device sometimes also needs to acquire the file in the third terminal device. In order to meet this demand, referring to the workflow diagram shown in FIG. 10, the scheme provided in the embodiments of the present application also includes the following steps: Figure 10

[0280] Step S14, the first terminal device receives a third operation on the second floating icon in the sharing window.

[0281] The second floating icon is the icon of the second file of the third terminal device, and the third operation is used to indicate sharing the second file in the fourth APP of the first terminal device.

[0282] ​In the embodiment of the present application, the third terminal device can receive an operation on the second file, and perform processing on the second file according to the operation, and the display interface of the third terminal device can display the second floating icon of the second file. The display interface of the first terminal device can include a sharing window, and the interface of the third terminal device is displayed in the sharing window, so that the second floating icon of the second file is displayed in the sharing window. In this case, if the second file needs to be shared in the fourth APP of the first terminal device, a third operation can be performed on the second floating icon in the sharing window.

[0283] The third operation can be in various forms. For example, when the second floating icon is displayed in the sharing window of the first terminal device, the third operation can be dragging the second floating icon to a corresponding position of the fourth APP in the display interface of the first terminal device.

[0284] Alternatively, the third operation can be a click operation on the second floating icon in the sharing window, and a click operation on the corresponding position of the fourth APP in the display interface of the first terminal device, and the time interval between the two click operations is within a third time range. The third time range can be the same as the first time range or the second time range, or can be different from the first time range and the second time range.

[0285] Of course, the third operation can also be other forms of operation, which are not limited in the embodiments of the present application.

[0286] In step S15, the first terminal device transmits a second instruction to the third terminal device according to the third operation.

[0287] The second instruction is used to instruct to share the second file to the first terminal device, so that the third terminal device transmits the second file to the first terminal device after receiving the second instruction.

[0288] In step S16, after receiving the second file, the first terminal device shares the second file in the fourth APP.

[0289] The third terminal device transmits the second file to the first terminal device after receiving the second instruction. The first terminal device shares the second file in the fourth APP after receiving the second file transmitted by the third terminal device.

[0290] In the scheme disclosed in steps S14 to S16, if the fourth APP of the first terminal device needs to share the second file of the third terminal device, after the first terminal device receives the third operation on the second floating icon in the sharing window, the first terminal device transmits a second instruction to the third terminal device; after the third terminal device obtains the second instruction, the third terminal device transmits the second file to the first terminal device; after the first terminal device receives the second file, the first terminal device shares the second file to the fourth APP, thereby realizing sharing the second file of the third terminal device to the fourth APP of the first terminal device.

[0291] In the prior art, if the fourth APP of the first terminal device needs the second file of the third terminal device, the first terminal device often needs to operate the interface of the third terminal device displayed in the sharing window, and after receiving the operation on the sharing window, the first terminal device transmits a corresponding instruction to the third terminal device to find the second file in the third terminal device; the third terminal device determines the second file according to the received instruction, and transmits the second file to the first terminal device through a network connection, and the first terminal device shares the received second file to the fourth APP.

[0292] For example, when finding the second file by using the prior art, if the second file is found by using a file manager, the first terminal device can receive multiple operations on the sharing window, and the multiple operations are respectively used to make the third terminal device open the file manager, open a certain file group displayed by the file manager, and determine a certain file in the file group as the second file, and correspondingly, after receiving the above operations, the first terminal device transmits corresponding instructions to the third terminal device to make the third terminal device perform the operations corresponding to the instructions, thereby finding the second file.

[0293] In this process, the second file needs to be found in the third terminal device, and the existing file finding scheme is relatively cumbersome, and the finding process of the second file will consume a lot of time, so there is a problem of low efficiency when sharing the third file of the third terminal device to the first terminal device by using the prior art.

[0294] However, in the scheme provided by the embodiment of the present application, the second floating icon of the second file is displayed in the sharing window of the first terminal device, and through a corresponding operation on the second floating icon, the first terminal device can obtain the second file transmitted by the third terminal device and share it without finding the second file, so that the scheme provided by the embodiment of the present application can improve the efficiency of the first terminal device in obtaining the file shared by other terminal devices.

[0295] To make clear the way that the first terminal device acquires the file shared by the third terminal device, the application discloses the following examples:

[0296] In this example, referring to the schematic diagram shown in FIG. 11(a), the first terminal device is a computer, the third terminal device is a mobile phone, and the display interface of the first terminal device contains a sharing window, which includes a second floating icon of a second file. The second file is a certain file in the third terminal device, and the second file is a table file, whose name is “scheduling table”.

[0297] In addition, the fourth APP is an APP for instant messaging in the first terminal device. In this example, the second file needs to be shared to the fourth APP. Specifically, in this example, the second file needs to be shared to “colleague A” in the fourth APP. In this case, the first terminal device can open the fourth APP and enter the interface for communicating with “colleague A”.

[0298] If the second file needs to be shared to the fourth APP, a third operation can be performed on the second floating icon. Referring to the schematic diagram shown in FIG. 11(a), the third operation can be dragging the second floating icon from the sharing window to the interface of the fourth APP.

[0299] After receiving the third operation, the first terminal device transmits a second instruction to the third terminal device through network connection.

[0300] After receiving the second instruction, the third terminal device transmits the second file to the first terminal device. As shown in FIG. 11(b), after receiving the second file, the first terminal device shares the second file to the fourth APP, so that the fourth APP acquires the first file.

[0301] Through the examples of FIG. 11(a) and FIG. 11(b), the fourth APP of the first terminal device can acquire the second file of the third terminal device, realizing the sharing of the second file by the first terminal device and the third terminal device. Moreover, in this process, there is no need to find the first APP, and only the corresponding operation on the second floating icon is needed, thereby effectively improving the efficiency of the first terminal device in acquiring the file of other terminal devices.

[0302] In the above examples, different operations are provided for the first floating icon, and the first terminal device adopts different application schemes for the first file. The first floating icon is the icon of the first file, and after receiving the first operation for the first file, the first terminal device displays the first floating icon.

[0303] In one feasible implementation, the first terminal device displays the first floating icon after receiving the first operation on the first file. Alternatively, in another feasible implementation, the first terminal device may process the first file accordingly after receiving the first operation, and then display the first floating icon after completing the processing. In this scheme, the first terminal device monitors the processing status of the first file to determine whether the processing of the first file is complete.

[0304] Furthermore, in the solution provided in this application embodiment, the first terminal device can display floating icons of files from each APP. Alternatively, the first terminal device can only display the floating icon of the target APP, wherein the files of the target APP include editable files.

[0305] In this case, see Figure 12 The workflow diagram shown, in the solution provided by this application embodiment, may further include the following steps before the first floating icon of the first file is displayed on the first terminal device:

[0306] Step S17: The first terminal device determines whether the first APP is the target APP. If so, proceed with step S18.

[0307] Wherein, the first file is the file of the first APP, and the file of the target APP includes editable files.

[0308] In the embodiments of this application, the files of an APP typically include files generated by the APP itself and files that the APP can receive. For example, if an APP can generate text files (e.g., create Word documents), then the APP's files include the text files generated by the APP; in another example, if an APP can download files via a network connection, then the APP's files include the text files downloaded by the APP.

[0309] Furthermore, in the scheme provided in this application example, if an app's files include editable files, then that app is the target app. Editable files typically refer to files that can be created, modified, deleted, and / or moved to different storage locations.

[0310] Step S18: After determining that the first APP is the target APP, the first terminal device determines that the processing of the first file is completed by monitoring the processing status of the first file.

[0311] In the scheme provided in the embodiments of the present application, the first terminal device can listen to the related events of the first file, and determine whether the processing of the first file is completed according to the listening result.

[0312] Generally, if the first terminal device listens to the events such as closing or saving as of the first file, the first terminal device can determine that the processing of the first file is completed.

[0313] In a feasible example, if the software architecture of the first terminal device is as shown in Figure 4 or Figure 5 , the first terminal device can listen to the processing of the first file through the INotify module set in the kernel layer.

[0314] In this case, after determining that the processing of the first file is completed, the first terminal device displays the first floating icon of the first file again.

[0315] Further, in the embodiments of the present application, if the first terminal device determines that the first APP is not the target APP through the operation of step S17, the first terminal device can also perform the operation of step S19, in which case, the embodiments of the present application further include the following steps:

[0316] Step S19: The first terminal device terminates the monitoring of the processing of the first file.

[0317] In the scheme provided in the embodiments of the present application, if the first terminal device receives the first operation on the first file of the first APP, and the first APP is the target APP, the first terminal device monitors the processing of the first file to determine whether the processing of the first file is completed. That is, through the scheme of the embodiments, the first terminal device can only monitor the processing of the file of the target APP, and only generate the floating icon of the file of the target APP.

[0318] In a terminal device, generally, a plurality of APPs are included, which can be divided into two types, i.e., target APPs and non-target APPs, wherein the files of the target APPs include editable files, and the files of the non-target APPs are all uneditable, in which case, the user can only view the files of the non-target APPs, but cannot edit the files of the non-target APPs. The files of the target APPs can be edited in various forms, such as modification or deletion. Compared with the files of the target APPs, the files of the non-target APPs are less likely to be used.

[0319] Therefore, in the scheme provided in the embodiments of the present application, after determining that the first APP is the target APP, the processing situation of the first file of the first APP is monitored, and if the APP to which the first file belongs is a non-target APP, the processing situation of the first file is not monitored, so that the first terminal device does not need to monitor the files of all APPs, effectively reducing the running burden of the first terminal device and improving the stability of the running of the first terminal device.

[0320] In the above embodiments, the operation of determining whether the first APP is the target APP by the first terminal device can include the following steps:

[0321] The first terminal device determines the information of the first APP through the installation package of the first APP.

[0322] When the information of the first APP indicates that the files of the first APP include editable files, or when the information of the first APP indicates that the first APP is included in the target application list, the first terminal device determines that the first APP is the target APP, and the target application list includes at least one target APP.

[0323] During the installation of the first APP, the first terminal device can obtain the installation package of the first APP. By analyzing the installation package of the first APP, the information of the first APP can be determined. The information of the first APP usually includes the name of the first APP and the components included in the first APP.

[0324] In the above steps, two ways of determining whether the first APP is the target APP are provided. In the first way, whether the first APP is the target APP is determined according to whether the files of the first APP include editable files. In this case, whether the files of the first APP include editable files can be determined through the components included in the first APP.

[0325] An APP usually includes multiple components. For example, an APP of an Android system usually includes the following components: activity component, service component, content component, intent component, broadcast receiver component, and notification component.

[0326] After the components of the first APP are obtained by analyzing the installation package of the first APP, it is determined whether the files of the first APP include editable files according to the components. If the files of the first APP include the editable files, the first APP is determined as the target APP.

[0327] In another way, a target application list including at least one target APP can be set. In this case, the information of the first APP is matched with the target application list. If the two are matched, it is indicated that the first APP is the target APP.

[0328] For example, the target application list includes the names of the target APPs. If the name of the first APP is determined from the installation package of the first APP and the name is in the target application list, the first APP is determined as the target APP.

[0329] Of course, the first APP can be determined as the target APP in other ways, which are not limited in the embodiments of the present application.

[0330] Further, the scheme provided in the embodiments of the present application further includes the following steps:

[0331] After the processing of the first file is completed, the first file after processing is stored in the database.

[0332] In the embodiments of the present application, the first terminal device is provided with a database of the first APP. In this case, after the processing of the first file is completed, the first terminal device can store the first file after processing in the database, so that the first file in the database is the file after processing. For example, if the software architecture of the first terminal device is as shown in Figure 5 The application framework layer of the first terminal device includes the database of the first APP.

[0333] Further, in the embodiments of the present application, after the processing of the first file is completed, it is determined whether the first file is changed. If the first file is changed, the first file after processing is stored in the database again to update the database.

[0334] After it is determined that the first file is changed, the database is updated according to the first file after the change, so that the database can store the first file and the file in the database is always the updated file.

[0335] In addition, in the embodiment of the present application, whether the first file is changed can be determined based on the type of the first operation. For example, if the first operation is modifying the first file, the first file is changed; if the first operation is opening or moving the storage location of the first file, etc., the first file is generally not changed.

[0336] Of course, whether the first file is changed can also be determined based on other manners, which are not limited in the embodiment of the present application.

[0337] In this case, in the scheme provided by the embodiment of the present application, the first terminal device applies the first file according to the second operation, comprising: the first terminal device applies the first file in the database.

[0338] For example, if the first terminal device needs to share the first file to the second APP, the first terminal device extracts the first file from the database and shares the extracted first file to the second APP; if the first terminal device needs to transmit the first file to the second terminal device, the first terminal device extracts the first file from the database and transmits the extracted first file to the second terminal device.

[0339] Through this embodiment, the first file applied by the first terminal device can be guaranteed to be the first file after processing.

[0340] In addition, in the prior art, when a user needs to apply a certain file of the first APP, the file manager is usually opened to find the file. However, the file manager often only contains part of the files of the first APP, and if the file manager does not contain the file to be applied, the required file cannot be found, further causing the user to be unable to apply the file.

[0341] In the scheme provided by the embodiment of the present application, the first file after processing is stored in the database of the first APP each time after the processing of the first file is completed, so that each file after processing is contained in the database. Compared with the file manager, the files contained in the database are often more sufficient. Therefore, compared with the prior art, the scheme provided by the embodiment of the present application can improve the probability of finding the required file and meet the application requirements of the file.

[0342] Further, the scheme provided by the embodiment of the present application can further comprise the following steps:

[0343] After receiving the fourth operation for the first floating icon, and / or if no second operation for the first floating icon is received within a first time period, the first terminal device terminates display of the first floating icon.

[0344] The fourth operation is used to hide the first floating icon. If a user considers that the first file will not be applied for a long time, in order to maintain the simplicity and beauty of the display interface of the first terminal device, the user can perform the fourth operation on the first terminal device. After receiving the fourth operation, the first terminal device terminates display of the first floating icon.

[0345] In addition, a first time period can also be set. If no second operation for the first floating icon is received within the first time period, it is less likely that the first file will be applied. In this case, the first terminal device can also terminate display of the first floating icon to maintain the simplicity and beauty of the display interface.

[0346] In order to clearly describe the file application method provided in the embodiments of the present application, an example is provided in which terminal device A and terminal device B that can perform the file application method provided in the various embodiments described above are included. A network connection is established between terminal device A and terminal device B, and the display interface of terminal device B can be displayed in the sharing window of terminal device A.

[0347] Referring to Figure 13 the working flow diagram shown, the example can include the following steps:

[0348] Step S21: Terminal device A receives a first operation for a first file.

[0349] The first operation is used to process the first file, and the first file is a file of an APP in terminal device A. In this case, terminal device A processes the first file according to the first operation.

[0350] Step S22: Terminal device A displays a first floating icon of the first file.

[0351] In this example, the first file is set to be a file of a first APP of terminal device A. If, in the embodiments of the present application, terminal device A displays the first floating icon again after processing of the first file is completed, terminal device A can listen to relevant events of the first file and, according to the listening result, determine that terminal device A displays the first floating icon of the first file again after processing of the first file is completed.

[0352] Step S23, the terminal device A stores the first file after processing into the database, so that the database stores the first file after processing, and the database is updated.

[0353] In the scheme provided in the embodiments of the present application, the terminal device A can store the first file after processing into the database after completing processing of the first file.

[0354] Alternatively, the terminal device A can store the first file after processing into the database after determining that the first file is changed after this processing. In this case, after completing processing of the first file, whether the first file is changed can be determined according to the type of processing performed on the first file, and the first file after processing is stored into the database after determining that the first file is changed, so that the database is updated.

[0355] For example, if the processing performed on the first file only includes opening the first file, it can be determined that the first file is not changed. If the processing performed on the first file includes modifying the content of the first file, it can be determined that the first file is changed.

[0356] In the above steps and in the description of Figure 13 In actual application, the two steps do not have strict order restrictions, for example, the first file after processing can be stored into the database, and then the first floating icon is displayed, or the storage of the first file and the display of the first floating icon are performed simultaneously, and the embodiments of the present application do not limit this.

[0357] Step S24, the terminal device A receives a second operation on the first floating icon.

[0358] In the present example, the terminal device A and the terminal device B have a network connection, and the display interface of the terminal device B is displayed in the sharing window of the terminal device A, and the third APP of the terminal device B is displayed in the display interface. In addition, the second operation is used to instruct to share the first file to the third APP.

[0359] Step S25, the terminal device A transmits a first instruction and the first file to the terminal device B according to the second operation.

[0360] The first instruction is used to instruct to share the first file to the third APP.

[0361] In addition, in this step, the first file transmitted by the terminal device A can be a first file extracted from the database, that is, the terminal device A extracts the first file from the database after receiving the second operation, and then transmits the extracted first file to the terminal device.

[0362] Step S26: The terminal device B receives the first instruction and the first file.

[0363] In this example, a network connection is established between the terminal device A and the terminal device B, and through the network connection, the terminal device B can obtain the first instruction and the first file.

[0364] Step S27: The terminal device B shares the received first file with the third APP according to the indication of the first instruction, so that the third APP obtains the first file.

[0365] Through the operations of steps S21 to S27, the terminal device A can share the first file with the third APP of the terminal device B through the second operation on the first floating icon of the first file, and in this process, it is not necessary to search for the first file in the terminal device A, thereby effectively improving the efficiency of sharing the first file with the terminal device B.

[0366] In addition, after the terminal device A and the terminal device B establish a network connection, the terminal device A also needs to apply a second file in the terminal device B sometimes. In order to meet this demand, in this example, the following steps are further included:

[0367] Step S31: The terminal device B receives a first operation on a second file.

[0368] The first operation on the second file is used to process the second file, and the second file is a file of an APP in the terminal device B.

[0369] Step S32: The terminal device B displays a second floating icon of the second file.

[0370] That is, the terminal device B can also display a second floating icon of the second file included by itself according to the second floating icon of the second file, and the display mode of the second floating icon can refer to the above embodiments, which will not be described here.

[0371] In addition, the terminal device B can display the second floating icon after receiving the first operation for the second file. Alternatively, the terminal device B can display the second floating icon after completing processing of the second file, in which case the terminal device B can monitor events related to the second file and determine whether processing of the second file is completed according to the monitoring result.

[0372] In step S33, the terminal device B stores the second file after processing into a database, so that the database stores the second file after processing and the database is updated.

[0373] In the scheme provided in the embodiments of the present application, the terminal device B can store the second file after processing into a database after completing processing of the second file.

[0374] Alternatively, the terminal device B can store the second file after processing into a database after determining that the second file is changed after this processing.

[0375] In the above description of steps and Figure 13 In actual processes, the two steps do not have a strict execution order. For example, the second file after processing can be stored into a database and then the second floating icon can be displayed, or the storage of the second file and the display of the second floating icon can be performed simultaneously, which is not limited in the embodiments of the present application.

[0376] Through the above operations, the second floating icon of the second file can be displayed in the display interface of the terminal device B.

[0377] In step S34, the terminal device A receives a third operation for the second floating icon in the shared window.

[0378] In this example, the display interface of the terminal device A includes a shared window, and the display interface of the terminal device B is included in the shared window. Since the second floating icon is included in the display interface of the terminal device B, the second floating icon is displayed in the shared window, and the terminal device A can receive the third operation for the second floating icon.

[0379] The third operation is used to instruct sharing of the second file in a fourth APP of the terminal device A.

[0380] In step S35, after receiving the third operation, the terminal device A transmits a second instruction to the terminal device B.

[0381] The second instruction is used to instruct to share the second file to the terminal device A.

[0382] In step S36, the terminal device B receives the second instruction, and transmits the second file to the terminal device A according to the indication of the second instruction.

[0383] In step S37, the terminal device A receives the second file, and shares the second file in the fourth APP.

[0384] Through the operations in steps S31 to S37, the terminal device A can share the second file in the terminal device B in the fourth APP of itself through a third operation on the second floating icon in the sharing window, so as to meet the requirement of the terminal device A to obtain the second file of the terminal device B. In this process, the terminal device A does not need to search for the second file in the terminal device B, so that the efficiency of the terminal device A to obtain the second file is effectively improved.

[0385] Corresponding to the method provided in the above embodiment, an embodiment of the present application further provides a file application method, which is applied to a second terminal device. The second terminal device and a first terminal device have established a network connection, and the first terminal device displays a sharing window in which an interface of the second terminal device is displayed.

[0386] Referring to the working flow diagram shown in Figure 14 The file application method comprises the following steps:

[0387] In step S41, the second terminal device receives a first instruction and a first file transmitted by the first terminal device. The third APP of the second terminal device is displayed in the sharing window of the first terminal device. The first instruction is used to instruct to share the first file to the third APP.

[0388] The first terminal device comprises the first file, and a first floating icon of the first file is displayed in the first terminal device. If the first terminal device needs to share the first file to the third APP of the second terminal device, the first terminal device can receive a second operation on the first floating icon. The second operation is used to instruct to share the first file to the third APP.

[0389] After receiving the second operation, the first terminal device generates a corresponding first instruction according to the second operation, and transmits the first instruction and the first file to the second terminal device.

[0390] Step S42, the second terminal device shares the first file to the third APP according to the first instruction.

[0391] After receiving the first instruction and the first file, the second terminal device can share the first file according to the indication of the first instruction.

[0392] In addition, if the first terminal device encrypts the first file by the encryption method negotiated with the second terminal device and transmits the encrypted first file to the second terminal device, the second terminal device can decrypt the received first file according to the negotiated encryption method before sharing the first file, and then share the decrypted first file to the third APP, so that the third APP can obtain the first file while reducing the possibility of leakage of the first file and improving the security of the first file.

[0393] Through the operations of steps S41 to S42, the second terminal device can obtain the first file shared by the first terminal device, and in this process, the first terminal device can transmit the first file to the second terminal device by performing corresponding operations on the first floating icon of the first file, without searching for the first file, thereby improving the efficiency of the second terminal device in obtaining the first file.

[0394] Corresponding to the method provided in the above embodiment, the present embodiment further provides a file application method, which is applied to a third terminal device. Wherein, the third terminal device and a first terminal device have established a network connection, and the first terminal device displays a sharing window in which an interface of the third terminal device is displayed.

[0395] Referring to Figure 15 the working flow diagram, the file application method comprises the following steps:

[0396] Step S51, the third terminal device displays a second floating icon of a second file.

[0397] Wherein, the second file is a file in the third terminal device, and the third terminal device can receive a first operation on the second file and display a second floating icon of the second file through its own display interface.

[0398] The third terminal device can display the second floating icon in the same way as the first terminal device displays the first floating icon, which will not be described here.

[0399] Step S52, the third terminal device receives a second instruction transmitted by the first terminal device.

[0400] The second icon is displayed in a sharing window of the first terminal device, and the second instruction is used to instruct to share the second file to the first terminal device.

[0401] If the fourth APP of the first terminal device needs to acquire the second file of the third terminal device, the first terminal device can receive a third operation on the second icon in the sharing window, generate a second instruction according to the third operation, and transmit the second instruction to the third terminal device.

[0402] In step S53, the third terminal device transmits the second file to the first terminal device according to the second instruction.

[0403] After receiving the second instruction, the third terminal device transmits the first file to the first terminal device according to the instruction of the second instruction. After receiving the second file transmitted by the third terminal device, the first terminal device can apply the second file.

[0404] The scheme provided by steps S51 to S53 can share the second file of the third terminal device to the first terminal device, and in this process, the first terminal device can transmit a corresponding second instruction by performing a corresponding operation on the second icon of the second file in the sharing window, so that the third terminal device receiving the second instruction transmits the second file to the first terminal device, without the need to find the second file, thereby improving the efficiency of the first terminal device acquiring the second file.

[0405] The following is an apparatus embodiment of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the method embodiment of the present application.

[0406] As an implementation of the above embodiments, an embodiment of the present application discloses a file application apparatus. Referring to the structural schematic diagram shown in Figure 16 The file application apparatus disclosed by the embodiment of the present application comprises a processor 2110 and a transceiver interface 2120.

[0407] The transceiver interface 2120 is configured to receive a first operation on a first file, and the first operation is used to process the first file.

[0408] The processor 2110 is configured to display a first icon of the first file, and after receiving a second operation on the first icon, apply the first file according to the second operation.

[0409] By means provided in the embodiments of the present application, after receiving a first operation on a first file, a first terminal device displays a first floating icon of the first file on a display interface of the first terminal device. After receiving a second operation on the first floating icon, the first terminal device implements application of the first file according to the second operation.

[0410] In this case, if the first file needs to be applied, the first floating icon of the first file is operated, and the user does not need to search for the first file. Therefore, by means provided in the embodiments of the present application, application of the file can avoid the influence of low file searching efficiency in the prior art, and thus the efficiency of file application can be improved.

[0411] In the means provided in the embodiments of the present application, in order to meet diversified application requirements, the application of the first file according to different second operations can also be of multiple types.

[0412] In a feasible implementation manner, the second operation is used to instruct to display the first file, and in this case, the processor is specifically configured to open and display the first file.

[0413] In the means provided in the embodiments of the present application, if the user wants to view the first file, the user only needs to perform a corresponding operation on the first floating icon, and the first terminal device can open and display the first file according to the operation on the first floating icon, to realize quick display of the first file.

[0414] In another feasible implementation manner, the second operation is used to instruct to share the first file to a second application APP, the first file is a file of a first APP, and the first APP and the second APP are APPs installed in the first terminal device.

[0415] In this case, the processor is specifically configured to share the first file to the second APP.

[0416] By means provided in the embodiments of the present application, a first floating icon of a first file is displayed on a first terminal device, and only a corresponding second operation on the first floating icon, for example, dragging the first floating icon to an icon position of a second APP, is needed to share the first file to the second APP of the terminal device, without searching for the first file, and thus the efficiency of sharing the file to different APPs in the same terminal device can be improved.

[0417] In another feasible implementation manner, a third APP of a second terminal device is displayed in a sharing window of the first terminal device, and the second operation is used to instruct to share the first file to the third APP.

[0418] In this case, the processor is specifically configured to transmit the first instruction and the first file to the second terminal device, where the first instruction is used to instruct to share the first file to the third APP.

[0419] In the scheme provided in the embodiments of the present application, the first floating icon of the first file is displayed on the first terminal device, and through the corresponding operation on the first floating icon, the first file can be transmitted to the second terminal device, so that the second terminal device shares the received first file to the third APP. In this process, the first file does not need to be searched, and therefore the efficiency of sharing the file to the APP of the other terminal device can be improved.

[0420] Further, in the scheme provided in the embodiments of the present application, the transceiver interface is further configured to receive a third operation on a second floating icon in the sharing window, where the second floating icon is an icon of a second file of a third terminal device, and the third operation is used to instruct to share the second file in a fourth APP of the first terminal device.

[0421] The transceiver interface is further configured to transmit a second instruction to the third terminal device according to the third operation, where the second instruction is used to instruct to share the second file to the first terminal device.

[0422] The processor is further configured to share the second file in the fourth APP after receiving the second file.

[0423] In the scheme provided in the embodiments of the present application, the second floating icon of the second file is displayed in the sharing window of the first terminal device, and through the corresponding operation on the second floating icon, the first terminal device can obtain the second file transmitted by the third terminal device and share it, without searching for the second file. Therefore, the scheme provided in the embodiments of the present application can improve the efficiency of obtaining the file shared by the other terminal device by the first terminal device.

[0424] Further, in the scheme provided in the embodiments of the present application, the processor is further configured to determine that the first APP is a target APP before the first terminal device displays the first floating icon of the first file, where the first file is a file of the first APP, and the file of the target APP includes an editable file.

[0425] The processor is further configured to determine that the processing of the first file is completed by monitoring the processing of the first file after determining that the first APP is the target APP.

[0426] In the scheme provided in the embodiments of the present application, after determining that the first APP is the target APP, the processing condition of the first file of the first APP is monitored, and if the APP to which the first file belongs is a non-target APP, the processing condition of the first file is not monitored, so that the first terminal device does not need to monitor the files of all APPs, effectively reducing the running burden of the first terminal device and improving the stability of the running of the first terminal device.

[0427] In the scheme provided in the embodiments of the present application, the processor is specifically configured to determine the information of the first APP through the installation package of the first APP, and when the information of the first APP indicates that the file of the first APP includes an editable file, or when the information of the first APP indicates that the first APP is an APP included in a target application list, it is determined that the first APP is a target APP, and the target application list includes at least one target APP.

[0428] Further, the processor is further configured to store the first file after processing into a database after completing the processing of the first file.

[0429] The processor is specifically configured to apply the first file in the database.

[0430] Further, the processor is further configured to terminate the display of the first floating icon after receiving a fourth operation for the first floating icon, and / or if no second operation for the first floating icon is received all the time within a first time period.

[0431] In another embodiment of the present application, a file application device is provided. The file application device is generally applied to a second terminal device. Wherein, the second terminal device and the first terminal device have established a network connection, and the first terminal device displays a sharing window, and the interface of the second terminal device is displayed in the sharing window.

[0432] In the scheme provided in the embodiments of the present application, the file application device includes a processor and a transceiver interface.

[0433] The transceiver interface is configured to receive a first instruction and a first file transmitted by a first terminal device, and a third APP of the second terminal device is displayed in the sharing window of the first terminal device, and the first instruction is used to indicate that the first file is shared to the third APP;

[0434] The processor is configured to share the first file to the third APP according to the first instruction.

[0435] Through the scheme provided in the embodiments of the present application, the second terminal device can acquire the first file shared by the first terminal device, and in this process, the first terminal device can transmit the first file to the second terminal device by performing a corresponding operation on the first floating icon of the first file, without searching for the first file, thereby improving the efficiency of the second terminal device in acquiring the first file.

[0436] Corresponding to the method provided in the above embodiments, the embodiments of the present application further provide a file application device, which is usually applied to a third terminal device. Wherein, the third terminal device and a first terminal device have established a network connection, and the first terminal device displays a sharing window in which an interface of the third terminal device is displayed.

[0437] In the scheme provided in the embodiments of the present application, the file application device comprises a processor and a transceiver interface.

[0438] The processor is configured to display a second floating icon of a second file.

[0439] The transceiver interface is configured to receive a second instruction transmitted by a first terminal device, the second floating icon of the second file is displayed in a sharing window of the first terminal device, and the second instruction is used to instruct to share the second file to the first terminal device.

[0440] The transceiver interface is further configured to transmit the second file to the first terminal device according to the second instruction.

[0441] In the scheme provided in the embodiments of the present application, a second floating icon of a second file is displayed in a sharing window of a first terminal device, and through a corresponding operation on the second floating icon, the first terminal device can acquire a second file transmitted by a third terminal device and share it, without searching for the second file. Therefore, the scheme provided in the embodiments of the present application can improve the efficiency of the first terminal device in acquiring files shared by other terminal devices.

[0442] Correspondingly, the embodiments of the present application also disclose a terminal device corresponding to the above method. Referring to Figure 17 The terminal device comprises:

[0443] at least one processor 1101 and a memory,

[0444] The memory is configured to store program instructions.

[0445] The processor is configured to call and execute the program instructions stored in the memory, so that the terminal device performs Figure 6 、 Figure 10 and Figure 12all or part of the steps in the corresponding embodiments.

[0446] Further, the terminal device can further include a transceiver 1102 and a bus 1103, and the memory includes a random access memory 1104 and a read-only memory 1105.

[0447] The processor is coupled to the transceiver, the random access memory and the read-only memory through the bus respectively. When the terminal device needs to be run, the terminal device is started by a basic input and output system or a bootloader in an embedded system solidified in the read-only memory, and is guided to a normal running state. After the terminal device enters the normal running state, an application program and an operating system are run in the random access memory, so that the terminal device executes Figure 6 、 Figure 10 and Figure 12 all or part of the steps in the corresponding embodiments.

[0448] The device of the embodiment of the application can correspond to the file application device in the above Figure 6 、 Figure 10 and Figure 12 corresponding embodiments, and the processor and the like in the device can implement the functions or various steps and methods implemented by the file application device in the Figure 6 、 Figure 10 and Figure 12 corresponding embodiments, which will not be described here for the sake of brevity.

[0449] Correspondingly, the application also discloses a terminal device corresponding to the above method. The terminal device includes:

[0450] at least one processor and a memory,

[0451] The memory is used for storing program instructions.

[0452] The processor is used for calling and executing the program instructions stored in the memory, so that the terminal device executes Figure 14 all or part of the steps in the corresponding embodiments.

[0453] Further, the terminal device can further include a transceiver and a bus, and the memory includes a random access memory and a read-only memory.

[0454] The processor is coupled to the transceiver, the random access memory and the read-only memory through a bus. Figure 14 all or part of the steps in the corresponding embodiments.

[0455] The device of the embodiment of the application can correspond to the above Figure 14 The file application device in the corresponding embodiments, and the processor and the like in the device can implement Figure 14 The functions of the file application device in the corresponding embodiments or various steps and methods implemented by the file application device will not be repeated here for brevity.

[0456] Correspondingly, the application also discloses a terminal device corresponding to the above method. The terminal device comprises:

[0457] at least one processor and a memory,

[0458] The memory is configured to store program instructions.

[0459] The processor is configured to invoke and execute the program instructions stored in the memory, so that the terminal device executes Figure 15 all or part of the steps in the corresponding embodiments.

[0460] Further, the terminal device can further comprise a transceiver and a bus, and the memory comprises a random access memory and a read-only memory.

[0461] The processor is coupled to the transceiver, the random access memory and the read-only memory through a bus. When the terminal device needs to be run, the terminal device is started by a basic input and output system or a bootloader boot system embedded in an embedded system solidified in the read-only memory, and is guided to enter a normal running state. After the terminal device enters the normal running state, an application program and an operating system are run in the random access memory, so that the terminal device executes Figure 15 all or part of the steps in the corresponding embodiments.

[0462] The device of the embodiment of the application can correspond to the above Figure 15 The file application device in the corresponding embodiments, and the processor and the like in the device can implement Figure 15The functions of the file application device in the corresponding embodiment or the various steps and methods implemented by the file application device will not be repeated here for brevity.

[0463] Correspondingly, the application provides a file application system. The system includes a first terminal device and a second terminal device. A network connection is established between the second terminal device and the first terminal device, and the first terminal device displays a shared window in which an interface of the second terminal device is displayed.

[0464] The first terminal device in the file application system can correspond to the file application device in the above Figure 6 , Figure 10 and Figure 12 corresponding embodiments, and the processor and the like in the first terminal device can implement the functions of the file application device in the above Figure 6 , Figure 10 and Figure 12 corresponding embodiments or the various steps and methods implemented by the file application device. The functions of the file application device in the corresponding embodiment or the various steps and methods implemented by the file application device will not be repeated here for brevity.

[0465] In addition, the second terminal device in the file application system can correspond to the file application device in the above Figure 14 corresponding embodiments, and the processor and the like in the second terminal device can implement the functions of the file application device in the above Figure 14 corresponding embodiments or the various steps and methods implemented by the file application device. The functions of the file application device in the corresponding embodiment or the various steps and methods implemented by the file application device will not be repeated here for brevity.

[0466] In the system provided by the application, the third APP of the second terminal device can be displayed in the shared window of the first terminal device, and after the first terminal device displays the first floating icon of the first file, the first terminal device can receive a second operation on the first floating icon. If the second operation is used to indicate sharing the first file to the third APP, the first terminal device can transmit a first instruction and the first file to the second terminal device, and the first instruction is used to indicate sharing the first file to the third APP. After receiving the instruction and the first file, the second terminal device shares the first file to the third APP according to the indication of the first instruction.

[0467] Through the system provided by the application, the second terminal device can obtain the first file shared by the first terminal device, and in this process, the first terminal device can transmit the first file to the second terminal device by performing a corresponding operation on the first floating icon of the first file, without the need to find the first file, thereby improving the efficiency of the second terminal device in obtaining the first file.

[0468] Further, in the system provided by the embodiments of the present application, the system further comprises a third terminal device. A network connection is established between the third terminal device and the first terminal device, and the first terminal device displays a sharing window in which an interface of the third terminal device is displayed.

[0469] The second terminal device in the file application system can correspond to the file application device in the above Figure 15 The processor in the second terminal device and the like can implement the functions of the file application device in the corresponding embodiments or various steps and methods implemented by the file application device in the corresponding embodiments. For brevity, details are not described herein. Figure 15 The processor in the second terminal device and the like can implement the functions of the file application device in the corresponding embodiments or various steps and methods implemented by the file application device in the corresponding embodiments. For brevity, details are not described herein.

[0470] In this case, in the system provided by the embodiments of the present application, a second floating icon of a second file can be displayed in the sharing window of the first terminal device, and through a corresponding operation on the second floating icon, the first terminal device can obtain the second file transmitted by the third terminal device and share the second file without searching for the second file. Therefore, the scheme provided by the embodiments of the present application can improve the efficiency of the first terminal device in obtaining files shared by other terminal devices.

[0471] In specific implementation, the embodiments of the present application further provide a computer readable storage medium including instructions. When the computer readable medium arranged in any device is run on a computer, all or part of the steps in the corresponding embodiments can be implemented. The storage medium of the computer readable medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM) and the like. Figure 6 Figure 10 Figure 12 In specific implementation, the embodiments of the present application further provide a computer readable storage medium including instructions. When the computer readable medium arranged in any device is run on a computer, all or part of the steps in the corresponding embodiments can be implemented. The storage medium of the computer readable medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM) and the like.

[0472] In specific implementation, the embodiments of the present application further provide a computer readable storage medium including instructions. When the computer readable medium arranged in any device is run on a computer, all or part of the steps in the corresponding embodiments can be implemented. The storage medium of the computer readable medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM) and the like. Figure 14

[0473] ​​​In a particular implementation, the embodiments of the present application further provide a computer readable storage medium including instructions. Wherein, the computer readable medium is arranged in any device, and when running on a computer, can implement all or part of the steps in the corresponding embodiments. The storage medium of the computer readable medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM), etc. Figure 15 In a particular implementation, the embodiments of the present application further provide a computer readable storage medium including instructions. Wherein, the computer readable medium is arranged in any device, and when running on a computer, can implement all or part of the steps in the corresponding embodiments. The storage medium of the computer readable medium can be a magnetic disc, an optical disc, a read-only memory (ROM) or a random access memory (RAM), etc.

[0474] In addition, another embodiment of the present application further discloses a computer program product including instructions, when the computer program product runs on an electronic device, so that the electronic device can implement all or part of the steps in the corresponding embodiments. Figure 6 、 Figure 10 and Figure 12 corresponding embodiments.

[0475] In addition, another embodiment of the present application further discloses a computer program product including instructions, when the computer program product runs on an electronic device, so that the electronic device can implement all or part of the steps in the corresponding embodiments. Figure 14 corresponding embodiments.

[0476] In addition, another embodiment of the present application further discloses a computer program product including instructions, when the computer program product runs on an electronic device, so that the electronic device can implement all or part of the steps in the corresponding embodiments. Figure 15 corresponding embodiments.

[0477] The various illustrative logical blocks, modules, circuits, and algorithm operations described in the embodiments of the present application can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or a combination of the above. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller, or state machine. The processor can also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors in combination with a digital signal processor core, or any other similar configuration.

[0478] The steps of methods or algorithms described in the embodiments of the present application can be directly embedded in hardware, a software unit executed by a processor, or a combination of both. The software unit can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium in the art. The storage medium can be connected to the processor, so that the processor can read information from the storage medium and write information to the storage medium. Alternatively, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, which can be arranged in the UE. Alternatively, the processor and the storage medium can also be arranged in different components in the UE.

[0479] It should be understood that, in various embodiments of the present application, the size of the sequence of each process does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0480] In the above embodiments, all or part of them can be realized by software, hardware, firmware or any combination thereof. When realized by software, all or part of them can be realized in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, all or part of the computer program instructions produce processes or functions described in the embodiments of the present application. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be magnetic media (such as floppy disk, hard disk, magnetic tape), optical media (such as DVD), or semiconductor media (such as solid state disk (SSD)) and the like.

[0481] The same or similar parts among various embodiments of the present specification can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, for device and system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant part can refer to the description in the method embodiment part. The same or similar parts among various embodiments of the present specification can be referred to each other, and each embodiment focuses on the difference from other embodiments. In particular, for device and system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant part can refer to the description in the method embodiment part.

[0482] Those skilled in the art can clearly understand that the technical solution in the embodiments of the present application can be realized by means of software plus a necessary general hardware platform. Based on such understanding, the technical solution in the embodiments of the present application can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, and the like, and includes a plurality of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments of the present application.

[0483] The same or similar parts among the various embodiments in the specification can be referred to each other. Especially, for the embodiments of the road constraint determination device disclosed in the present application, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.

[0484] The above-mentioned embodiments of the present application do not constitute a limitation on the protection scope of the present application.

Claims

1. A file application method characterized by, Comprise: The first terminal device receives a first operation for a first file, the first operation is used for processing the first file, the first operation for the first file comprises: creating the first file, opening the first file, compressing the first file and / or modifying the first file; The first terminal device displays a first floating icon of the first file through the display interface of itself; After receiving a second operation for the first floating icon, the first terminal device applies the first file according to the second operation; Wherein, the sharing window of the first terminal device displays the interface of the second terminal device, the interface of the second terminal device comprises a third APP of the second terminal device, and the second operation is used to indicate sharing the first file to the third APP; The first terminal device applies the first file according to the second operation, comprising: The first terminal device transmits a first instruction and the first file to the second terminal device according to the received second operation, the first instruction is used to indicate sharing the first file to the third APP, so that the second terminal device transmits the received first file to the third APP according to the indication of the first instruction.

2. The method of claim 1, wherein The second operation is used to indicate displaying the first file, and the first terminal device applies the first file according to the second operation, comprising: The first terminal device opens and displays the first file.

3. The method of claim 1, wherein The second operation is used to indicate sharing the first file to a second application (APP), and the first file is a file of a first APP, and the first APP and the second APP are APPs installed in the first terminal device; The first terminal device applies the first file according to the second operation, comprising: The first terminal device shares the first file to the second APP.

4. The method according to any one of claims 1 to 3, characterized in that, Also comprise: The first terminal device receives a third operation for a second floating icon in the sharing window, the second floating icon is an icon of a second file of a third terminal device, and the third operation is used to indicate sharing the second file in a fourth APP of the first terminal device; The first terminal device transmits a second instruction to the third terminal device according to the third operation, the second instruction is used to indicate sharing the second file to the first terminal device; After receiving the second file, the first terminal device shares the second file in the fourth APP.

5. The method according to any one of claims 1 to 3, characterized in that, Before the first terminal device displays the first floating icon of the first file, further comprising: The first terminal device determines that the first APP is a target APP, the first file is a file of the first APP, and the file of the target APP comprises an editable file; The first terminal device determines to complete the processing of the first file by monitoring the processing of the first file after determining that the first APP is the target APP.

6. The method of claim 5, wherein, The first terminal device determines the first APP as a target APP, including: The first terminal device determines the information of the first APP through the installation package of the first APP; When the information of the first APP indicates that the file of the first APP includes an editable file, or when the information of the first APP indicates that the first APP is an APP included in a target application list, the first terminal device determines the first APP as a target APP, and the target application list includes at least one target APP.

7. The method of claim 1, wherein, Further comprising: After completing the processing of the first file, the first terminal device stores the first file after processing into a database; The first terminal device applies the first file according to the second operation, including: The first terminal device applies the first file in the database.

8. The method according to any one of claims 1 to 3, characterized in that, Further comprising: After receiving a fourth operation for the first floating icon, and / or if no second operation for the first floating icon is received at all within a first time period, the first terminal device terminates the display of the first floating icon.

9. A file application method characterized by, Comprising: The second terminal device receives a first instruction and a first file transmitted by a first terminal device, a third APP of the second terminal device is displayed in a sharing window of the first terminal device, the first instruction is used to instruct to share the first file to the third APP, and the first terminal device transmits the first instruction and the first file to the second terminal device after receiving a second operation for a first floating icon, the first floating icon being an icon of the first file displayed on a display interface of the first terminal device; The second terminal device shares the first file to the third APP according to the first instruction.

10. A file application method characterized by, Comprising: The third terminal device displays a second floating icon of a second file; The third terminal device receives a second instruction transmitted by a first terminal device, the second floating icon is displayed in a sharing window of the first terminal device, and the first terminal device transmits the second instruction to the third terminal device after receiving a third operation for the second floating icon in the sharing window, the second instruction being used to instruct to share the second file to the first terminal device; The third terminal device transmits the second file to the first terminal device according to the second instruction.

11. A file application apparatus characterized by comprising: Comprising: A processor and a transceiver interface; The transceiver interface is used to receive a first operation for a first file, the first operation being used to process the first file, and the first operation for the first file including creating the first file, opening the first file, compressing the first file, and / or modifying the first file; The processor is used to display a first floating icon of the first file through a display interface of the file application device, and apply the first file according to a second operation after receiving the second operation for the first floating icon. The sharing window of the first terminal device displays an interface of the second terminal device, the interface of the second terminal device includes a third APP of the second terminal device, and the second operation is used to instruct to share the first file to the third APP. The processor is specifically configured to transmit, according to the received second operation, a first instruction and the first file to the second terminal device, the first instruction is used to instruct to share the first file to the third APP, and the second terminal device transmits the received first file to the third APP according to the instruction of the first instruction.

12. The apparatus of claim 11, wherein, the second operation is used to instruct to display the first file, and the processor is specifically configured to open and display the first file.

13. The apparatus of claim 11, wherein, the second operation is used to instruct to share the first file to a second application (APP), the first file is a file of a first APP, and the first APP and the second APP are APPs installed in the first terminal device; the processor is specifically configured to share the first file to the second APP.

14. The apparatus of any one of claims 11 to 13, wherein, the transceiver is further configured to receive a third operation for a second floating icon in the sharing window, the second floating icon is an icon of a second file of a third terminal device, and the third operation is used to instruct to share the second file in a fourth APP of the first terminal device; the transceiver is further configured to transmit, according to the third operation, a second instruction to the third terminal device, the second instruction is used to instruct to share the second file to the first terminal device; the processor is further configured to share the second file in the fourth APP after receiving the second file.

15. The apparatus of any one of claims 11 to 13, wherein, the processor is further configured to determine, before the first terminal device displays a first floating icon of the first file, that a first APP is a target APP, the first file is a file of the first APP, and a file of the target APP includes an editable file; the processor is further configured to determine, after determining that the first APP is the target APP, that processing of the first file is completed by monitoring the processing of the first file.

16. The apparatus of claim 15, wherein, the processor is specifically configured to determine, by an installation package of the first APP, that the first APP is the target APP when information of the first APP indicates that the file of the first APP includes an editable file, or when the information of the first APP indicates that the first APP is included in a target application list, the target application list including at least one target APP.

17. The apparatus of claim 11, wherein, The processor is further configured to store the first file after processing into a database. The processor is specifically configured to apply the first file in the database.

18. The apparatus of any of claims 11-13, wherein, The processor is further configured to terminate display of the first floating icon after receiving a fourth operation for the first floating icon, and / or if a second operation for the first floating icon has not been received at all within a first time period.

19. A file application apparatus characterized by comprising: Comprising: a processor and a transceiver interface; The transceiver interface is configured to receive a first instruction and a first file transmitted by a first terminal device, a third APP of a second terminal device is displayed in a sharing window of the first terminal device, the first instruction is used to instruct to share the first file to the third APP, the first terminal device transmits the first instruction and the first file to the second terminal device after receiving a second operation for a first floating icon, the first floating icon is an icon of the first file displayed on a display interface of the first terminal device; The processor is configured to share the first file to the third APP according to the first instruction.

20. A file application apparatus characterized by comprising: Comprising: a processor and a transceiver interface; The processor is configured to display a second floating icon of a second file; The transceiver interface is configured to receive a second instruction transmitted by a first terminal device, the second floating icon is displayed in a sharing window of the first terminal device, the first terminal device transmits the second instruction to a third terminal device after receiving a third operation for the second floating icon in the sharing window, the second instruction is used to instruct to share the second file to the first terminal device; The transceiver interface is further configured to transmit the second file to the first terminal device according to the second instruction.

21. A terminal device, comprising: Comprising: at least one processor and a memory, The memory is configured to store program instructions; The processor is configured to invoke and execute the program instructions stored in the memory, so that the terminal device executes the file application method of any of claims 1-8.

22. A terminal device, comprising: Comprising: at least one processor and a memory, The memory is configured to store program instructions; The processor is configured to invoke and execute the program instructions stored in the memory, so that the terminal device executes the file application method of claim 9.

23. A terminal device, comprising: Comprising: at least one processor and a memory, The memory is configured to store program instructions; The processor is configured to invoke and execute the program instructions stored in the memory, so that the terminal device executes the file application method of claim 10.

24. A computer readable storage medium, characterized in that, The computer readable storage medium stores instructions, when running on a computer, causes the computer to execute the file application method of any of claims 1-8.

25. A computer readable storage medium, characterized in that, The computer readable storage medium stores instructions which, when executed on a computer, cause the computer to perform the file application method according to claim 9.

26. A computer readable storage medium, comprising instructions stored therein, which when executed on a computer, cause the computer to perform the file application method according to claim 10. The computer readable storage medium stores instructions which, when executed on a computer, cause the computer to perform the file application method according to claim 9.

Citation Information

Patent Citations

  • Application program control method and terminal

    CN110502287A

  • File management method and device

    WO2019061040A1