CN113672563A - File application method and device - Google Patents

File application method and device Download PDF

Info

Publication number
CN113672563A
CN113672563A CN202110217233.7A CN202110217233A CN113672563A CN 113672563 A CN113672563 A CN 113672563A CN 202110217233 A CN202110217233 A CN 202110217233A CN 113672563 A CN113672563 A CN 113672563A
Authority
CN
China
Prior art keywords
file
terminal device
app
processor
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110217233.7A
Other languages
Chinese (zh)
Inventor
邵明明
钟小飞
王金波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2021/089669 priority Critical patent/WO2021227847A1/en
Priority to EP21803343.9A priority patent/EP4137973A4/en
Priority to US17/925,257 priority patent/US20230350848A1/en
Publication of CN113672563A publication Critical patent/CN113672563A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a file application method and device. In the method, a first terminal device receives a first operation aiming at a first file, wherein the first operation is used for processing the first file; the first terminal equipment displays a first floating icon of the first file; after receiving a second operation aiming at the first floating icon, the first terminal equipment applies the first file according to the second operation. According to the method and the device, if the first file needs to be applied, the first floating icon of the first file can be operated, and a user does not need to search the first file. Therefore, by applying the file according to the scheme provided by the embodiment of the application, the influence of low file searching efficiency in the prior art can be avoided, and the file application efficiency can be improved.

Description

File application method and device
The present application claims priority of chinese patent application entitled "a method for facilitating sharing of files between terminal devices" filed by the chinese patent office on 15/5/2020, application No. 202010414264.7, which is incorporated herein by reference in its entirety.
Technical Field
The application relates to the technical field of file display, in particular to a file application method and device.
Background
With the development of application technologies, various types of Applications (APPs) have been developed. In order to meet diversified use requirements of users, a plurality of APPs are usually installed in terminal equipment, wherein part of the APPs can acquire corresponding files. For example, an APP of a communication class such as a mailbox installed in a certain terminal device may obtain files such as documents or pictures sent by other terminal devices.
After acquiring a file, a user often needs to apply the file, for example, to view the content of the file, or to transmit the file. In order to meet the requirements of the user application files, the following methods are generally adopted at present: in the first mode, a file manager in the terminal device divides files into different file groups according to the characteristics of the files of each APP, for example, divides files of a picture class into the same file group, and displays each file group in the file manager; then, after receiving the selection operation aiming at a certain file group, the file manager displays each file in the file group for the user to inquire and apply; in a second mode, a user can enter the storage path of the APP, search for a file to be applied in the storage path, and apply the file after the file is searched.
However, in the first method, one file group often includes a plurality of files, and in the second method, a plurality of files of the APP are often included in the storage path of the APP. If the two modes are adopted, when a user needs to use one of the files, the user often needs to search the files in sequence from the multiple files to search the files needed by the user, the efficiency of searching the files is low, and the files can be used after the files are searched, so that the application efficiency of the files is reduced due to the low searching efficiency, and therefore, the problem of low efficiency exists when the files are used in the prior art.
Disclosure of Invention
In order to solve the problem of low file application efficiency in the prior art, embodiments of the present application provide a file application method and apparatus.
In a first aspect, an embodiment of the present application discloses a file application method, including:
the method comprises the steps that first terminal equipment receives first operation aiming at a first file, wherein the first operation is used for processing the first file;
the first terminal equipment displays a first floating icon of the first file;
after receiving a second operation aiming at the first floating icon, the first terminal equipment applies the first file according to the second operation.
By the scheme provided by the embodiment of the application, if the first file needs to be applied, the first floating icon of the first file can be operated, and a user does not need to search the first file. Therefore, by applying the file according to the scheme provided by the embodiment of the application, the influence of low file searching efficiency in the prior art can be avoided, and the file application efficiency can be improved.
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, including:
and the first terminal equipment opens and displays the first file.
Through the steps, the first terminal equipment can open and display the first file according to the operation performed on the first suspension icon, and therefore the first file can be quickly displayed.
In an optional design, the second operation is configured to instruct to share the first file to a second application APP, where 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, and the application comprises the following steps:
and the first terminal equipment shares the first file to a second APP.
Through the steps, the first file can be shared to the second APP of the terminal device without searching the first file, so that the file sharing efficiency of different APPs in the same terminal device can be improved.
In an optional design, a third APP of a second terminal device is displayed in a shared window of the first terminal device, and the second operation is used to instruct to share the first file with the third APP;
the first terminal device applies the first file according to the second operation, and the application comprises the following steps:
the first terminal device transmits a first instruction and the first file to the second terminal device, wherein the first instruction is used for indicating to share the first file with the third APP.
Through the steps, the first file can be shared to the second terminal device, and the first file does not need to be searched, so that the file sharing efficiency to other terminal devices can be improved.
In an alternative design, the method further comprises:
the first terminal device receives a third operation aiming at a second floating icon in a shared window, wherein the second floating icon is an icon of a second file of a third terminal device, and the third operation is used for indicating that the second file is shared 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, wherein the second instruction is used for indicating to share the second file with the first terminal device;
after receiving the second file, the first terminal device shares the second file in the fourth APP.
Through the steps, the first terminal device can acquire and share the second file transmitted by the third terminal device without searching the second file, and therefore the scheme provided by the embodiment of the application can improve the efficiency of acquiring the file shared by other terminal devices by the first terminal device.
In an optional design, before the first terminal device displays the first floating icon of the first file, the method further includes:
the first terminal device determines that a 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;
and after the first terminal equipment determines that the first APP is the target APP, the first terminal equipment determines to finish the processing of the first file by monitoring the processing condition of the first file.
Through the steps, only the processing condition of the target APP is monitored, so that the files of all APPs are not required to be monitored by the first terminal equipment, the operation burden of the first terminal equipment is effectively reduced, and the operation stability of the first terminal equipment is improved.
In an optional design, the determining, by the first terminal device, that the first APP is a target APP includes:
the first terminal equipment 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 that the first APP is a target APP, and the target application list includes at least one target APP.
In an alternative design, the method further comprises:
after the processing of the first file is completed, storing the first file after the processing into a database;
the first terminal device applies the first file according to the second operation, and the application comprises the following steps:
the first terminal device applies the first file in the database.
In an alternative design, the method further comprises:
after receiving the fourth operation for the first floating icon, and/or if the second operation for the first floating icon is not received all the time within the first time period, the first terminal equipment terminates the display of the first floating icon.
In a second aspect, an embodiment of the present application discloses a file application method, including:
the method comprises the steps that a 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, and the first instruction is used for indicating that the first file is shared to the third APP;
and the second terminal equipment shares the first file to the third APP according to the first instruction.
In a third aspect, an embodiment of the present application discloses a file application method, including:
the third terminal equipment displays a second floating icon of the 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 second instruction is used for indicating the first terminal device to share the second file;
and the third terminal equipment transmits the second file to the first terminal equipment according to the second instruction.
In a fourth aspect, an embodiment of the present application discloses a file application apparatus, including:
a processor and a transceiver interface;
the transceiving interface is used for receiving a first operation aiming at a first file, and the first operation is used for processing the first file;
the processor is configured to display a first floating icon of the first file, and after receiving a second operation for the first floating icon, apply the first file according to the second operation.
In an alternative design, the second operation is configured to instruct display of the first file, and the processor is specifically configured to open and display the first file.
In an optional design, the second operation is configured to instruct to share the first file to a second application APP, where 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 a second APP.
In an optional design, a third APP of a second terminal device is displayed in a shared window of the first terminal device, and the second operation is used to instruct to share the first file with the third APP;
the processor is specifically configured to transmit a first instruction and the first file to the second terminal device, where the first instruction is used to instruct sharing of the first file with the third APP.
In an optional design, the transceiving interface is further configured to receive a third operation for a second floating icon in the shared 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;
the transceiving 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 the first terminal device to share the second file;
the processor is further configured to, after receiving the second file, share the second file in the fourth APP.
In an optional design, the processor is further configured to determine, before the first terminal device displays the first floating icon of the first file, that the first APP is a target APP, where the first file is a file of the first APP, and the file of the target APP includes an editable file;
the processor is further configured to determine that processing of the first file is completed by monitoring a processing condition of the first file after determining that the first APP is the target APP.
In an optional design, the processor is specifically configured to determine, through an installation package of the first APP, information of the first APP, where the information of the first APP indicates that a 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, determine that the first APP is a target APP, and the target application list includes at least one target APP.
In an alternative design, the processor is further configured to, after completing the processing of the first file, store the first file after processing in a database;
the processor is specifically configured to apply the first file in the database.
In an optional design, the processor is further configured to terminate the display of the first floating icon after receiving the fourth operation on the first floating icon and/or if the second operation on the first floating icon is not received all the way through the first time period.
In a fifth aspect, an embodiment of the present application discloses a file application apparatus, including:
a processor and a transceiver interface;
the receiving and sending interface is used for receiving a first instruction and a first file transmitted by first terminal equipment, a third APP of the second terminal equipment is displayed in a sharing window of the first terminal equipment, and the first instruction is used for indicating to share the first file to the third APP;
the processor is used for sharing the first file to the third APP by the equipment according to the first instruction.
In a sixth aspect, an embodiment of the present application discloses a file application apparatus, including:
a processor and a transceiver interface;
the processor is configured to display a second floating icon of a second file;
the receiving and sending interface is used for receiving 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 for indicating the sharing of the second file to the first terminal device;
and the transceiving interface is further configured to transmit the second file to the first terminal device according to the second instruction.
In a seventh aspect, an embodiment of the present application discloses a terminal apparatus, including:
at least one processor and a memory, wherein the memory,
the memory to store program instructions;
the processor is configured to call and execute the program instructions stored in the memory, so as to enable the terminal device to execute the file application method according to the first aspect.
In an eighth aspect, an embodiment of the present application discloses a terminal apparatus, including:
at least one processor and a memory, wherein the memory,
the memory to store program instructions;
the processor is configured to call and execute the program instructions stored in the memory, so as to enable the terminal device to execute the file application method according to the second aspect.
In a ninth aspect, an embodiment of the present application discloses a terminal apparatus, including:
at least one processor and a memory, wherein the memory,
the memory to store program instructions;
the processor is configured to call and execute the program instructions stored in the memory, so as to enable the terminal device to execute the file application method according to the third aspect.
In a tenth aspect, an embodiment of the present application discloses a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the file application method according to the first aspect.
In an eleventh aspect, embodiments of the present application disclose a computer-readable storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the file application method according to the second aspect.
In a twelfth aspect, embodiments of the present application disclose a computer-readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the file application method according to the third aspect.
In a thirteenth aspect, an embodiment of the present application discloses a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the file application method of the first aspect.
In a fourteenth aspect, an embodiment of the present application discloses a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the file application method of the second aspect.
In a fifteenth aspect, an embodiment of the present application discloses a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the file application method of the third aspect.
According to the scheme provided by the embodiment of the application, the first floating icon of the first file can be displayed on the display interface of the first terminal device after the first file is processed. And after receiving a second operation for the first floating icon, the first terminal device implements application to the first file according to the second operation.
In this case, if the first file needs to be applied, the first floating icon of the first file may be operated without the need for the user to search for the first file. Therefore, by applying the file according to the scheme provided by the embodiment of the application, the influence of low file searching efficiency in the prior art can be avoided, and the file application efficiency can be improved.
Drawings
FIG. 1 is a schematic interface diagram of a terminal device;
fig. 2 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present application;
fig. 4 is an exemplary diagram of a software structure block diagram of a terminal device disclosed in an embodiment of the present application;
fig. 5 is an exemplary diagram of a software structure block diagram of another terminal device disclosed in the embodiment of the present application;
fig. 6 is a schematic workflow diagram of a file application method disclosed in an embodiment of the present application;
FIG. 7(a) is a schematic view of a first floating icon according to an embodiment of the present disclosure;
FIG. 7(b) is a schematic view of a first floating icon according to an embodiment of the present disclosure;
fig. 8(a) is an interface schematic diagram of a terminal device disclosed in an embodiment of the present application;
fig. 8(b) is a schematic view of a communication interface disclosed in the embodiment of the present application;
fig. 8(c) is a schematic view of an interface for sharing a first file according to an embodiment of the present disclosure;
fig. 9(a) is an interface schematic diagram of a terminal device disclosed in an embodiment of the present application;
fig. 9(b) is a schematic view of an interface for sharing a first file according to an embodiment of the present disclosure;
FIG. 10 is a schematic workflow diagram of another file application method disclosed in the embodiments of the present application;
fig. 11(a) is an interface schematic diagram of a terminal device disclosed in an embodiment of the present application;
fig. 11(b) is a schematic view of an interface for sharing a second file according to an embodiment of the present disclosure;
FIG. 12 is a schematic workflow diagram of another file application method disclosed in the embodiments of the present application;
FIG. 13 is a schematic workflow diagram of another file application method disclosed in the embodiments of the present application;
FIG. 14 is a schematic workflow diagram of another file application method disclosed in the embodiments of the present application;
FIG. 15 is a schematic workflow diagram of another file application method disclosed in an embodiment of the present application;
fig. 16 is a schematic structural diagram of a file application apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present application.
Detailed Description
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.
In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
Hereinafter, the terms "first" and "second" are used for descriptive purposes only. In the description of the embodiments of the present application, "a plurality" means two or more unless otherwise specified.
For clarity and conciseness of the following descriptions of the various embodiments, a brief introduction to the related art is first given:
in order to meet the diversified use requirements of users, a plurality of APPs are usually installed in the terminal equipment, and different APPs are used for realizing different functions. Wherein, part of the APP can obtain the corresponding file. For example, the communication APP such as a mailbox installed in a certain terminal device may obtain files such as documents or pictures sent by other terminal devices, and the office APP may generate files such as text files or tables according to the received operation.
After acquiring a 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 another terminal device through the communication APP. In order to meet the requirements of the user application files, the following methods are generally adopted at present: in the first mode, a file manager is arranged in the terminal device, and the file manager divides files of the APPs into corresponding file groups according to the characteristics of the files of the APPs and displays the file groups. After receiving the selection operation for one of the file groups, the file manager displays each file in the file group, so that the user can search the file which needs to be applied, and after searching the file which needs to be applied, the user can perform corresponding operation on the file to realize the application of the file.
For example, referring to the interface diagram shown in fig. 1, the file characteristics may be a file type, and the file manager may divide the files of the APPs into a plurality of file groups according to the file types (e.g., pictures, videos, audios, documents, etc.), where the types of the files included in one file group are the same. If the inquirer needs to apply a certain file, the file group where the file is located is opened, then the file needing to be applied is searched, and then corresponding operation is carried out on the file.
Illustratively, in fig. 1, the plurality of file groups divided by the file manager include: pictures, video, audio, documents, etc., wherein, in the file group of pictures, picture files of the respective APPs are included, in the file group of video, video files of the respective APPs are included, and in the file group of audio, audio files of the respective APPs are included. And, in this example, if the picture file needs to be applied, the group of picture files is opened and the picture file that needs to be applied is searched therefrom.
However, in this method, a plurality of files are often included in one file group, and as the terminal device is used, the number of files of each APP in the terminal device increases, and the number of files included in each file group also expands. Therefore, if one of the files needs to be checked, the files needed by the file group can be determined by sequentially searching from the plurality of files, which results in low efficiency of file searching.
For example, in the above manner, the files in each file group are usually arranged according to a certain rule, and the rule may be the modification time of the file or the size of the file. If the rule is the modification time of the files, the files with later modification time are often ranked more forward in each file group, and in this case, if the files to be searched by the inquirer are not modified within a period of time, the files with later ranking are ranked more backward, the inquirer can firstly check the files with earlier ranking in the file group and then can search the files required by the inquirer in the file group, so that more search time is required, and the efficiency of searching the files is low. In addition, if the rule is that the files are arranged in the descending order and the inquirer inquires a smaller file, the inquirer needs to look up the file with the earlier order in the file group and then inquire the file required by the inquirer after the file is ranked later, and a lot of search time is consumed.
In a second manner, the user may also check the storage path of the APP, and search for the file of the APP in the storage path. However, the storage path of the APP often includes multiple files of the APP, and when the method is adopted, if a certain file needs to be checked, an inquirer needs to sequentially search the multiple files in the storage path to find the file required by the inquirer.
Therefore, when the file is applied through the prior art, a large amount of time is often consumed for searching the file, namely the prior art has the problem of low file searching efficiency. In the prior art, the file can only be applied after being searched, and the lower file searching efficiency can reduce the application efficiency of the file, so that the problem of lower file application efficiency exists in the prior art.
In order to solve the problem of low file application efficiency in the prior art, embodiments of the present application provide a file application method and apparatus. Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The file application method provided by the embodiment of the application can be applied to various terminal devices. In some embodiments, the terminal device may be a terminal device that can be installed with an APP, such as a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, and a netbook, and the specific form of the terminal device is not particularly limited in this application.
Taking a terminal device as a smart phone as an example, a schematic structural diagram of the terminal device may be as shown in fig. 2. Referring to fig. 2, the terminal device may 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 speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a screen 301, a Subscriber Identity Module (SIM) card interface 195, and the like.
It is to be understood that the illustrated structure of the embodiments of the present application does not constitute a specific limitation to the mobile phone. In other embodiments of the present application, the handset may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may 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. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can be a nerve center and a command center of the mobile phone. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (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.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may 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 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface, thereby implementing the touch function of the mobile phone.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the communication module 160. For example: the processor 110 communicates with a bluetooth module in the communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the communication module 160 through the UART interface, so as to realize the function of playing music through the bluetooth headset.
The MIPI interface may be used to connect the processor 110 with peripheral devices such as the screen 301, the camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement 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.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the screen 301, the communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge a mobile phone, or may be used to transmit data between the mobile phone and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other terminal devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is only an exemplary illustration, and does not constitute a limitation on the structure of the mobile phone. In other embodiments of the present application, the mobile phone may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the cell phone. The charging management module 140 may also supply power to the terminal device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the screen 301, the camera 193, the communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the rf module 150, the communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The radio frequency module 150 may provide a solution including wireless communication of 2G/3G/4G/5G and the like applied to the mobile phone. The rf module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The rf module 150 may receive the electromagnetic wave from the antenna 1, and filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation. The rf module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the rf module 150 may be disposed in the processor 110. In some embodiments, at least some functional modules of the rf module 150 may be disposed in the same device as at least some modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the screen 301. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 110 and may be disposed in the same device as the rf module 150 or other functional modules.
The communication module 160 may provide solutions for wireless communication applied to a mobile phone, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The communication module 160 may be one or more devices integrating at least one communication processing module. The communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The communication module 160 may also receive a signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and convert it into electromagnetic waves via the antenna 2 to radiate it.
In some embodiments, the handset antenna 1 is coupled to the rf module 150 and the handset antenna 2 is coupled to the communication module 160 so that the handset can communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The mobile phone realizes the display function through the GPU, the screen 301, the application processor and the like. The GPU is a microprocessor for image processing, connecting the screen 301 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information. In the embodiment of the present application, the screen 301 may include a display and a touch device therein. The display is used for outputting display contents to a user, and the touch device is used for receiving a touch event input by the user on the screen 301.
In the mobile phone, the sensor module 180 may include one or more of a gyroscope, an acceleration sensor, a pressure sensor, an air pressure sensor, a magnetic sensor (e.g., 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, which is not limited in this embodiment.
The mobile phone can realize shooting function through the ISP, the camera 193, the video codec, the GPU, the flexible screen 301, the application processor and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the handset may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used for performing fourier transform and the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The handset may support one or more video codecs. Thus, the mobile phone can play or record videos in various encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize the applications of intelligent cognition and the like of the mobile phone, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability 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, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the cellular phone and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, a phone book and the like) created in the use process of the mobile phone. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The mobile phone can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as network system determination, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The handset can listen to music through the speaker 170A or listen to a hands-free conversation.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the mobile phone receives a call or voice information, the receiver 170B can be close to the ear to receive voice.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The handset may be provided with at least one microphone 170C. In other embodiments, the mobile phone may be provided with two microphones 170C to achieve the noise reduction function in addition to collecting the sound signal. In other embodiments, the mobile phone may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be an open mobile electronic device platform (OMTP) standard interface of 3.5mm, or a Cellular Telecommunications Industry Association (CTIA) standard interface.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The mobile phone may receive a key input, and generate a key signal input related to user setting and function control of the mobile phone.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the flexible screen 301. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the mobile phone by being inserted into the SIM card interface 195 or being pulled out from the SIM card interface 195. The mobile phone can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The mobile phone realizes functions of communication, data communication and the like through interaction of the SIM card and a network. In some embodiments, the handset employs eSIM, namely: an embedded SIM card. The eSIM card can be embedded in the mobile phone and cannot be separated from the mobile phone.
In addition, an operating system runs on the above components. For example, the iOS operating system developed by apple, the Android open source operating system developed by google, the Windows operating system developed by microsoft, and the like. A running application may be installed on the operating system.
In another possible implementation manner, taking the terminal device as a smart phone as an example, a schematic structural diagram of the terminal device may also be as shown in fig. 3. Referring to fig. 3, the terminal device includes: a Central Processing Unit (CPU) 100, a memory 200, a memory 300, a touch panel 400, a display 500, and a wireless communication module 600.
The central processing unit 100 is generally an operation and control core of the terminal device, and a Micro Control Unit (MCU) may be built in the central processing unit 100. In this application, the terminal device may implement the file application method provided in this application embodiment through the control of the central controller 100.
The memory 200 and the memory 300 are respectively connected to the cpu 100. The memory 200 may be various forms of memory, and in one possible implementation, the memory 200 may be a non-volatile memory.
In addition, in the solution provided in the embodiment of the present application, the memory 200 may be used to store files of various APPs in the terminal device.
The touch panel 400 is used for realizing interaction between a user and a terminal device, if the user needs to control the terminal device, the terminal device can touch the corresponding position of the touch panel 400, determine the touched position on the touch panel 400, and complete the corresponding function according to the touched position, thereby realizing human-computer interaction.
The display screen 500 may display corresponding content according to the user's manipulation of the terminal device. In the solution provided in the embodiment of the present application, the display screen 500 may display each APP installed in the terminal device, and may also display files of the APPs according to an operation.
In addition, the terminal device realizes wireless communication with other terminal devices through the wireless communication module 600. The wireless communication module 600 may be a bluetooth communication module, a wireless broadband communication module, and/or a Near Field Communication (NFC) module, which is not limited in this embodiment.
Of course, the terminal device may also adopt other forms of structures, and this is not limited in this application embodiment.
In order to clarify the functional operations executed by each software architecture in the terminal device when the terminal device executes the scheme disclosed in the present application, the embodiment of the present application also discloses a software structure of the terminal device.
The operating system of the terminal device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, a cloud architecture, or the like. The embodiment of the application takes an Android system with a layered architecture as an example, and exemplarily illustrates a software structure of a terminal device.
Fig. 4 is an exemplary diagram of a software structure block diagram of a terminal device according to an embodiment of the present application.
The layered architecture divides the software of the terminal device into a plurality of layers, and each layer has clear roles and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, namely an application layer, an application framework layer, a system library and a kernel layer from top to bottom.
The application layer may include an android Application Package (APK) of a series of Applications (APPs). Illustratively, the application layer may include APKs of APPs such as conversation, navigation, music, video, and instant messaging. The APP can comprise an APP installed in terminal equipment by default when leaving a factory, and can also comprise an APP installed by a user when the terminal equipment is in use.
In addition, the application layer further includes: system user interface (i.e., system UI) module. The system UI is used for managing a user interface of the terminal device and can provide status bar information (such as display identification of battery residual capacity, wifi signal 3G/4G and the like), notification panel display, screenshot service, wallpaper service and the like. In addition, in the application, the system UI may display the file of the APP on the display interface of the terminal device according to the received operation.
Further, in this embodiment of the present application, the application layer further includes: a file sharing manager (i.e., file sharing manager). The file sharing manager can monitor operation events aiming at the files, wherein the operation events can comprise events such as file creation, file opening and file modification, and the file sharing manager can determine the change of the files according to the analysis of the operation events and refresh the database for storing the files according to the change of the files so as to enable the database to store the changed files.
And after the operation on the file is completed, the file sharing manager can also generate and display a floating icon of the file. In addition, the file sharing manager can respond to various operations such as dragging and clicking aiming at the floating icon, and perform corresponding application processing on the file according to the operation aiming at the floating icon.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. As shown in FIG. 4, the application framework layer may include a window manager, a task manager, a file manager, a database, and the like.
The window manager is used for managing window programs, and the task manager is used for determining relevant information of each program and process running in the terminal equipment. In addition, the database stores files of various APPs installed in the terminal equipment. The file manager can be used for monitoring the operations of accessing, creating, modifying, deleting, moving and the like of files or folders, and interacting with the file sharing manager according to the monitored events so as to enable the file sharing manager to execute corresponding operations.
In addition, the file manager can also monitor files or folders based on an INotify mechanism. The INotify is a kernel characteristic of Linux, and can monitor a file system and timely send out a relevant event warning to a special application program.
The system library comprises a state monitoring service, and the state monitoring service can carry out state detection according to data reported by a sensor driver of the kernel layer.
The kernel layer is a layer between hardware and software. The core layer includes a driver, which may include a Touch Panel (TP) driver, and the like. And if the file manager monitors files or folders based on an INotify mechanism, an INotify module can be further arranged in the kernel layer.
Further, referring to the schematic diagram shown in fig. 5, in the solution provided in the embodiment of the present application, the file sharing manager may 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.
The user interaction module can be used for responding to the operation received by the terminal equipment. For example, after the terminal device receives an operation for a file and completes processing of the file according to the operation, the user interaction module may display a floating icon of the file on a screen of the terminal device, and after the operation for the file is not received all the time within a period of time, the user interaction module may eliminate the floating icon, so that the floating icon is not displayed on the screen any more.
The application monitoring module is used for monitoring the event of the APP installed in the terminal equipment. The APP monitored by the application monitoring module generally includes an APP whose file can be edited, and the monitored event generally includes an event such as opening, saving as well as closing of the file of the APP.
The file change monitoring and database updating module can interact with a database for storing files. When the application monitoring module monitors that a file of an APP is opened, stored, saved as an alternative and/or closed, and the like, the file change monitoring and database updating module can monitor the change of the file of the APP.
The file management module is respectively connected with the user interaction module, the application monitoring module and the file change monitoring and database updating module. The file management module may provide a corresponding response policy for the user interaction module, for example, after the file change monitoring and database updating module determines that a certain file has changed, the file management module may generate a floating icon of the file, and cause the user interaction module to display the floating icon. And after the file change monitoring and database updating module determines that a certain file of the APP changes according to the monitored result, the file management module refreshes the database for storing the file according to the change of the file, so that the file stored in the database is the changed file.
Although the Android system is taken as an example for description in the embodiments of the present application, the basic principle is also applicable to terminal devices based on an os, Windows, or other operating systems.
If the software architecture of the terminal device to which the file application method provided in the embodiment of the present application is applied is shown in fig. 5, in an example, a file manager in the terminal device may monitor a file or a folder based on an INotify mechanism, and transmit the monitored event to a file sharing manager. In addition, the application monitoring module in the file sharing manager can also monitor files of the APP, and transmits monitored events 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 between the file management module and the file manager, and refresh the database according to the change of the file, so that the changed file is stored in the database.
In addition, after the file management module in the file sharing manager determines that processing for a certain file is completed, a floating icon of the file can be generated, and the floating icon is displayed on a screen of a terminal device by a user interaction module in the file sharing manager. If the user interaction module does not sense the operation of the user for the file all the time within a period of time, or the terminal equipment receives the 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.
In the process of displaying the floating icon, if the user interaction module determines that the terminal equipment receives the operation aiming at the floating icon, the user interaction module interacts with the file management module. The file management module determines a file corresponding to the floating icon from a database according to the interaction with the user interaction module, and performs corresponding application processing on the determined file according to the received operation aiming at the floating icon, for example, opening and displaying the content of the file, or transmitting the file to other APPs and the like.
Of course, each module in the terminal device may also execute other functions, and implement the file application method provided by the present application through interaction between each module, which is not limited in the present application.
In order to solve the problem of low file application efficiency in the prior art, embodiments of the present application provide a file application method and apparatus.
In order to clarify the aspects provided by the present application, the following description is made of various embodiments with reference to the accompanying drawings.
Referring to a workflow diagram shown in fig. 6, an embodiment of the present application discloses a file application method, including the following steps:
step S11, the first terminal device receives a first operation for the first file.
Wherein the first operation is used for processing the first file, and the processing can comprise a plurality of forms. For example, processing for the first file may include creating the first file, opening the first file, compressing the first file, and/or modifying the first file, among others. Accordingly, the first operation may also be in various forms.
In addition, the first operation may include an operation performed by a user on the first terminal device, for example, the first operation may include a touch operation performed by the user on a touch panel of the first terminal device, and may also include an operation performed on the first file through a mouse, a physical keyboard, and/or a virtual keyboard of the first terminal device, which is not limited in this embodiment of the present application.
And step S12, the first terminal device displays a first floating icon of the first file.
After receiving the first operation, the first terminal device may perform corresponding processing on the first file in response to the first operation, for example, create the first file, open the first file, or modify the first file.
In addition, the first terminal device may generate a first floating icon of the first file, and the first terminal device may display the first floating icon of the first file in a display interface.
The first floating icon is used for indicating information of the first file, and the information of the first file may include a name of the first file. In this case, the first floating icon may include a name of the first file therein. In addition, if the name of the first file contains more characters, part of characters in the name of the first file may be included in the first floating icon, or part of characters contained in the name of the first file may be folded.
Further, the first floating icons may be different for different types of first files, and in this case, the type of the first file may be determined by the displayed first floating icon.
Illustratively, fig. 7(a) is a schematic diagram of a first floating icon, and in the example shown in fig. 7(a), the first file is a Microsoft Office Word (Microsoft Office Word) document, the name of which is set as "patent application", the first floating icon includes this name, and the first floating icon may include a "W" character, so that by the character, the type of the first file can be determined as a Word document.
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, the name of the document is set as "authorized file", the first floating icon includes this name, and the first floating icon may include a "P" character, so that the type of the first file can be determined as a PDF document by the character.
Of course, the first floating icon may also be in other forms, which is not limited in this application.
In addition, the terminal device can also adjust the transparency of the first floating icon according to the received operation, so that the viewing experience of a user for viewing the display interface of the terminal device is improved.
Step S13, after receiving a second operation for the first floating icon, the first terminal device applies the first file according to the second operation.
In this embodiment of the application, the second operation on the first floating icon may be a single click, a double click, or a dragging operation on the first floating icon, and the application on the first file may include displaying the content of the first file, modifying the first file, or sharing the first file with other APPs or other terminal devices, which is not limited in this embodiment of the application.
According to the scheme provided by the embodiment of the application, the first floating icon of the first file can be displayed on the display interface of the first terminal device after the first operation aiming at the first file is received. And after receiving a second operation for the first floating icon, the first terminal device implements application to the first file according to the second operation.
In this case, if the first file needs to be applied, the first floating icon of the first file may be operated without the need for the user to search for the first file. Therefore, by applying the file according to the scheme provided by the embodiment of the application, the influence of low file searching efficiency in the prior art can be avoided, and the file application efficiency can be improved.
In the embodiment of the application, after receiving a first operation for a first file, a first terminal device processes the first file. Wherein the first operation may be various forms of operations.
In one possible implementation, the first operation may include any one of operations with respect to the first file. For example, the first file is opened, modified, closed, or the first file transmitted by the terminal device of the opposite terminal is received. In this scheme, as long as the operation for the first file is received, the first terminal device may display the first floating icon of the first file, thereby avoiding a user from searching for the first file and meeting the requirements of applying various first files.
Alternatively, in another possible implementation, the first operation is an operation that changes the first file. The operation of changing the first file may include an operation of modifying the first file or an operation of acquiring the first file, and the like, which is not limited in the embodiment of the present application.
Typically, the probability of applying the first file increases after the first file has changed. Therefore, in this implementation manner, only when the first file is changed, the first terminal device displays the first floating icon, so that more floating icons can be prevented from being displayed in the display interface of the terminal device, and further, the user is prevented from being influenced to watch other contents in the display interface.
Or, a specific type of operation may be further set, and if the received operation for the first file is the specific type of operation, the operation is a first operation, and correspondingly, after the specific operation for the first file is received, the first terminal device displays a first floating icon. In this case, the specific operation type may be set according to a requirement of the user application file, and only when the received operation is the specific operation type, the first terminal device displays the first floating icon, so that more floating icons are prevented from being displayed in the display interface of the terminal device, and further, the user is prevented from being influenced to view other contents in the display interface.
For example, 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 is compressed before transmission, so as to transmit the compressed file. Thus, it may be arranged that the first operation comprises a compression operation on a file. In this case, if a compression operation for the first file is received, it may be determined that the operation is the first operation, and the first floating icon of the first file is displayed, so that the transfer operation for the first file is quickly completed according to the first floating icon.
In addition, in this embodiment of the application, the first operation may 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 that the display effect of the display interface is prevented from being affected by the simultaneous occurrence of multiple first floating icons for the same first file on the display interface of the terminal device.
In the above embodiment, after receiving the second operation for the first floating icon, the first terminal device performs an application operation on the first file according to the first operation. In order to meet diversified application requirements, the application to the first file may also be of multiple types according to the difference of the second operation.
In a possible implementation manner, the second operation is used for indicating to display the first file. For example, the second operation may be a single-click operation, a double-click operation, a long-press operation, or the like for the first floating icon, and of course, the second operation may also be another form of operation, which is not limited in this embodiment of the present application.
In this case, the applying, by the first terminal device, the first file according to the second operation includes: and the first terminal equipment 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 that the requirement of the user for viewing the first file can be met.
In the prior art, if a user needs to view a first file, the user is often required to perform the following operations:
(1) a user opens a file manager of the first terminal device to enable the file manager to display a plurality of file groups, wherein each file group comprises files of the same type;
(2) according to the type of the first file, a user determines a file group where the first file is located, and operates the file group to enable first terminal equipment receiving the operation to open the file group, and under the condition, the file manager displays each file in the file group;
(3) and searching the first file from the files displayed by the file group by the user, and operating the searched first file so as to open the first file by the first terminal equipment receiving the operation, so that the first file is displayed by the first terminal equipment.
Or, if the first file is a file of a first APP, the user may also enter a storage path of the first APP, then search the first file from a plurality of files under the storage path, and then open the first file by the user, so that the first terminal device displays the first file.
As can be seen from the above description of the prior art, although the two manners in the prior art enable the first terminal device to display the first file, the operation is complicated, and a large amount of time for the user to search for the first file needs to be consumed, so that the efficiency of viewing the file is low.
In the scheme provided by the embodiment of the application, the first suspension icon of the first file can be displayed on the display interface of the first terminal device, if a user wants to view the first file, the user only needs to perform corresponding operation on the first suspension icon, and the first terminal device can open and display the first file according to the operation performed on the first suspension icon, so that the first file can be quickly displayed.
The scheme provided by the embodiment of the application can enable the first terminal device to display the first file, meets the requirement of a user for checking the first file, is simpler and more convenient compared with the prior art, does not need the user to consume a large amount of files for searching the first file, and effectively improves the efficiency of displaying the first file.
In another possible implementation manner, the second operation is used to instruct to share the first file with 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.
Correspondingly, the first terminal device applies the first file according to the second operation, and the method includes the following operations:
and the first terminal equipment shares the first file to a second APP.
In this implementation, the second operation is used to instruct to share the first file into the second APP of the first terminal device, and in this embodiment, the second operation may be in various forms.
For example, the second operation may be a dragging operation for the first floating icon, in which case, when the interface of the second APP is displayed in 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.
Or when the interface of the second APP is displayed in the display interface of the first terminal device, the second operation is a click operation respectively for the first floating icon and the corresponding position of the second APP, and the time interval between two click operations is within a first time range.
Of course, the second operation may also be other forms of operations, which are not limited in this application.
In addition, in this embodiment of the application, the first APP and the second APP are APPs installed in the first terminal device. In an example, the first APP may 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 the first file is downloaded through the first APP, it is sometimes desirable to share the first file to other users of the second APP. In this case, after receiving a second operation for instructing to share the first file to the second APP, the first terminal device may share the first file to the second APP.
In the prior art, if a file of a certain APP in the terminal device needs to be shared to other APPs, the file needs to be searched first, and then the searched file is operated, so that the file is shared to other APPs in the terminal device.
According to the scheme provided by the embodiment of the application, the first suspended icon of the first file can be displayed on the first terminal device, and the first suspended icon is only required to be subjected to corresponding second operation, for example, the first suspended icon is dragged to the icon position of the second APP, so that the first file can be shared to the second APP of the terminal device, the first file does not need to be searched, and therefore the file sharing efficiency of different APPs in the same terminal device can be improved.
To clarify the way the first file is shared to the second APP, the present application discloses the following examples:
in this example, the first APP is an APP of a download class, the first file is a text file downloaded by the first APP, and the name of the text file is "description". Referring to the schematic diagram shown in fig. 8(a), after the downloading is completed, a first floating icon of the first file is displayed in a display interface of the first terminal device, where the first floating icon includes a name of the text file.
In addition, the second APP is an instant messaging APP, in this example, the first file needs to be shared to the user "small a", in this case, a communication interface between the user of the first terminal device and the user "small a" in the second APP can be opened, and fig. 8(b) is the communication interface. And the first floating icon is displayed in the communication interface. The first terminal device may receive a second operation for the first floating icon, where the second operation may be dragging the first floating icon to the communication interface.
After receiving the second operation, referring to a schematic diagram shown in fig. 8(c), the first terminal device shares the first file to the second APP, so that the user "small a" obtains the first file through the second APP.
Through the examples of fig. 8(a) to 8(c), the first terminal device can share the first file to the second APP, and in the sharing process, the first APP does not need to be searched, and only the second operation is performed on the first floating icon, so that the efficiency of sharing the first file is effectively improved.
With the development of information interaction technology, the requirement of file sharing among different terminal devices is increasingly frequent. In the solution provided in the embodiment of the present application, the first terminal device may establish a network connection with the second terminal device, so as to implement file sharing.
In this case, the first terminal device may display a shared window, and display an interface of the second terminal device in the shared window, and if the first file needs to be shared with a third APP of the second terminal device, a user on the second terminal device side may operate the second terminal device, so that the third APP is opened by the second terminal device. Or, the user on the first terminal device side may open the third APP by the second terminal device through the operation on the shared window, so that the interface of the third APP is displayed in the shared window of the first terminal device.
In a feasible implementation manner, a third APP of a second terminal device is displayed in a shared window of the first terminal device, and the second operation is used to instruct to share the first file with the third APP.
In this case, the applying, by the first terminal device, the first file according to the second operation includes:
the first terminal device transmits a first instruction and the first file to the second terminal device, wherein the first instruction is used for indicating to share the first file with the third APP.
In this implementation manner, 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 with the second terminal device.
In addition, after receiving the first file and the first instruction, the second terminal device may transmit the received first file to the third APP according to an instruction of the first instruction, so as to share the first file with the third APP.
Wherein the second operation may be various forms of operations. For example, when a third APP of a second terminal device is displayed in a shared window of the first terminal device, the second operation may be dragging the first floating icon to a corresponding position of the third APP in the shared window.
Or, when a third APP of a second terminal device is displayed in a shared window of the terminal device, the second operation may be a click operation for the first floating icon and the second APP, respectively, and a time interval between two click operations is within a second time range. The first time range and the second time range may be the same or different.
Of course, the second operation may also be other forms of operations, which is not limited in this application.
In the prior art, if a first file of a first terminal device needs to be shared with a third APP of a second terminal device, the first file needs to be searched first, and then the first file is transmitted to the second terminal device through network connection, so that the second terminal device can share the received first file with the third APP.
In the process, the first file needs to be searched firstly, the existing scheme for searching the file is complicated, a large amount of time is consumed in the searching process of the first file, and therefore when the first file is shared to the APP of the third terminal device through the prior art, a large amount of time is consumed, and the efficiency is low.
In the scheme provided by the embodiment of the application, the first floating icon of the first file is displayed on the first terminal device, and the first file can be transmitted to the second terminal device by performing corresponding operation on the first floating icon, so that the second terminal device shares the received first file with the third APP. In the process, the first file does not need to be searched, so that the file sharing efficiency of the APP of other terminal equipment can be improved.
Further, in the scheme of this application embodiment, when transmitting the first file to the second terminal device, the first file may be encrypted in an encryption manner negotiated with the second terminal device in advance, and then the encrypted first file is transmitted to the second terminal device, and after receiving the encrypted first file, the second terminal device may decrypt the encrypted first file, and share the decrypted first file to the third APP, so as to reduce the possibility that the first file is revealed, and improve the security of the first file.
In order to clarify a way of sharing the first file with the third APP of the second terminal device, the present application discloses the following example:
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 a display interface of the first terminal device includes a shared window, where the shared window includes a third APP of the second terminal device, 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 book". Besides the sharing window, a first floating icon of the first file is displayed on a display interface of the first terminal device, wherein the first floating icon comprises the name of the text file.
In this example, the first file needs to be shared to a user "client a" of the third APP. In this case, the second terminal device may open the third APP and enter a communication interface for communicating with "client a". Correspondingly, the sharing window can display the communication interface.
Or, after receiving an opening operation for a third APP in the shared window of the first terminal device, the third APP may also be opened, so that the shared window displays a communication interface for communicating with the "client a".
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 may be dragging the first floating icon to a communication interface included in the shared window, and 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.
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 instruction of the first instruction, so that the third APP obtains the first file, and the first file is sent to "client a".
By the example of fig. 9(a) and 9(b), the first terminal device can share the first file to the third APP of the second terminal device, so that the first file is shared by the first terminal device and the second terminal device. In addition, the first file does not need to be searched in the process, and only corresponding operation is needed to be carried out on the first suspension icon, so that the efficiency of sharing the first file with the APPs of other terminal devices is effectively improved.
The first terminal device may also establish a network connection with a third terminal device, and in this case, the first terminal device sometimes needs to acquire a file in the third terminal device. In order to meet the requirement, referring to the workflow diagram shown in fig. 10, in the solution provided in the embodiment of the present application, the method further includes the following steps:
and step S14, the first terminal device receives a third operation aiming at the second floating icon in the shared window.
The second floating icon is an icon of a second file of a third terminal device, and the third operation is used for indicating that the second file is shared in a fourth APP of the first terminal device.
In this embodiment of the application, the third terminal device may receive an operation on the second file, process the second file according to the operation, and a display interface of the third terminal device may display a second floating icon of the second file. And the display interface of the first terminal device may include a shared window, and an interface of a third terminal device is displayed in the shared window, so that a second floating icon of the second file is displayed in the shared window. In this case, if the second file needs to be shared in the fourth APP of the first terminal device, a third operation may be performed on the second floating icon in the shared window.
Wherein the third operation may be various forms of operations. For example, when a second floating icon is displayed in the shared window of the first terminal device, the third operation may be to drag the second floating icon to a corresponding position of a fourth APP in the display interface of the first terminal device.
Or, the third operation may be a click operation on a second floating icon in the shared window and a click operation on a corresponding position of a fourth APP in the display interface of the first terminal device, respectively, and a time interval between the two click operations is within a third time range. The third time range may be the same as the first time range or the second time range, or may be different from both the first time range and the second time range.
Of course, the third operation may also be other forms of operations, which is not limited in this application.
And step S15, the first terminal device transmits a second instruction to the third terminal device according to the third operation.
The second instruction is used for indicating 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.
Step S16, after receiving the second file, the first terminal device shares the second file in the fourth APP.
And after receiving the second instruction, the third terminal device transmits the second file to the first terminal device. And after receiving the second file transmitted by the third terminal device, the first terminal device shares the second file in the fourth APP.
In the solutions 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 for the second floating icon in the shared window, the first terminal device transmits the second instruction to the third terminal device; after the third terminal device acquires the second instruction, transmitting the second file to the first terminal device; after receiving the second file, the first terminal device shares the second file with the fourth APP, so that the second file of the third terminal device is shared with the fourth APP of the first terminal device.
In the prior art, if a fourth APP of a first terminal device needs a second file of a third terminal device, the first terminal device is often required to operate an interface of the third terminal device displayed on the shared window, and after receiving an operation for the shared window, the first terminal device transmits a corresponding instruction to the third terminal device to search for the second file in the third terminal device; and the third terminal equipment determines the second file according to the received instruction, transmits the second file to the first terminal equipment through network connection, and shares the received second file with the fourth APP by the first terminal equipment.
For example, when the second file is searched through the prior art, if the second file is searched through a file manager, the first terminal device may receive a plurality of operations for the shared window, where the plurality of operations are respectively used to enable the third terminal device to open the file manager, open a certain file group displayed by the file manager, and determine that a certain file in the file group is the second file, and correspondingly, after receiving the above operations, the first terminal device transmits a corresponding instruction to the third terminal device, so that the third terminal device executes an operation corresponding to the instruction, thereby searching the second file.
In the process, the second file needs to be searched in the third terminal device, and the existing scheme for searching the file is complicated, and the searching process of the second file consumes a lot of time, so that the problem of low efficiency exists when the third file of the third terminal device is shared to the first terminal device through the prior art.
In the scheme provided by the embodiment of the application, the second floating icon of the second file is displayed in the sharing window of the first terminal device, and through corresponding operation aiming at the second floating icon, the first terminal device can acquire the second file transmitted by the third terminal device and share the second file without searching the second file.
In order to clarify a way in which the first terminal device acquires the shared file of the third terminal device, the present application discloses the following example:
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 a display interface of the first terminal device includes a shared window, where the shared window includes a second floating icon of a second file, where the second file is one of the third terminal devices, the second file is a table file, and a name of the file is "shift list".
In addition, the fourth APP is an APP used for instant messaging in the first terminal device, and in this example, the second file needs to be shared with the fourth APP. Specifically, in this example, the second file needs to be shared to "colleague a" of the fourth APP. In this case, the first terminal device may open the fourth APP and enter an interface for communicating with "colleague a".
If the second file needs to be shared to the fourth APP, a third operation may be performed on the second floating icon. Referring to the schematic diagram shown in fig. 11(a), the third operation may be an interface that drags the second floating icon from the shared window to the fourth APP.
After receiving the third operation, the first terminal device transmits a second instruction to the third terminal device through network connection.
And 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 obtains the first file.
By the example of fig. 11(a) and fig. 11(b), the fourth APP of the first terminal device can obtain the second file of the third terminal device, and the first terminal device and the third terminal device share the second file. In addition, in the process, the first APP does not need to be searched, and only the second suspension icon needs to be correspondingly operated, so that the efficiency of acquiring files of other terminal equipment by the first terminal equipment is effectively improved.
In the above embodiment, different operations for the first floating icon are provided, and the first terminal device adopts different application schemes for the first file. The first floating icon is an icon of the first file, and after a first operation for the first file is received, the first terminal device displays the first floating icon.
In a possible implementation manner, the first terminal device displays the first floating icon after receiving the first operation for the first file. Or, in another possible implementation manner, the first terminal device may perform corresponding processing on the first file after receiving the first operation, and display the first floating icon after the processing is completed. In this scheme, the first terminal device monitors a processing condition of the first file, so as to determine whether to complete processing of the first file.
In addition, in the scheme provided by the embodiment of the application, the first terminal device may display floating icons of files of each APP. Or, the first terminal device may only display a floating icon of a target APP, where a file of the target APP includes an editable file.
In this case, referring to the workflow diagram shown in fig. 12, in the solution provided in this embodiment of the application, before the first terminal device displays the first floating icon of the first file, the following steps may be further included:
step S17, the first terminal device determines whether the first APP is a target APP. If so, the operation of step S18 is performed.
The first file is a file of the first APP, and the file of the target APP comprises an editable file.
In the embodiment of the present application, a file of an APP generally includes a file generated by the APP itself and a file that the APP can receive. For example, if a certain APP can generate a text file (e.g., create word text), the file of the APP includes the text file generated by the APP; in another example, a certain APP may download a file over a network connection, and the file of the APP includes a text file downloaded by the APP.
In addition, in the scheme provided in the present application example, if a file of an APP includes an editable file, the APP is a target APP. Where an editable file generally refers to a file in which a storage location may be created, modified, deleted and/or moved.
Step S18, after determining that the first APP is the target APP, the first terminal device determines to complete processing of the first file by monitoring a processing condition of the first file.
In the solution provided in the embodiment of the present application, the first terminal device may monitor a relevant event of the first file, and determine whether to complete processing of the first file according to a monitoring result.
Typically, the first terminal device may determine that processing of the first file has been completed if the first terminal device listens for events such as closing or saving of the first file.
In a possible example, if the software architecture of the first terminal device is as shown in fig. 4 or fig. 5, the first terminal device may listen to the processing condition of the first file through an INotify module provided in the kernel layer.
In this case, after determining that the processing of the first file is completed, the first terminal device redisplays the first floating icon of the first file.
Further, in this embodiment of the present application, if the first terminal device determines that the first APP is not the target APP through the operation in step S17, the operation in step S19 may be further performed, in this case, the embodiment of the present application further includes the following steps:
and step S19, the first terminal equipment terminates the monitoring of the processing condition of the first file.
In the solution provided in the embodiment of the present application, if the first terminal device receives a first operation for a first file of a first APP, and the first APP is a target APP, the first terminal device monitors a processing condition of the first file, so as to determine whether to complete processing for the first file. That is to say, with the solution of this embodiment, the first terminal device may only monitor the processing condition of the file of the target APP, and only generate the floating icon of the file of the target APP.
In a terminal device, the terminal device generally includes a plurality of APPs, where the APPs are divided into two types, namely, a target APP and a non-target APP, where a file of the target APP includes an editable file, and a file of the non-target APP is not editable, and in this case, a user often only can view the file of the non-target APP, but cannot edit the file of the non-target APP. And for the file of the target APP, various forms of editing can be performed, such as modification or deletion. There is less opportunity to apply the non-target APP file than the target APP file.
Therefore, in the solution provided in the embodiment 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 it is not necessary for the first terminal device to monitor all the files of the APPs, the operation burden of the first terminal device is effectively reduced, and the operation stability of the first terminal device is improved.
In the foregoing embodiment, an operation of the first terminal device determining whether the first APP is the target APP is provided, where the operation may include the following steps:
the first terminal equipment 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 that the first APP is a target APP, and the target application list includes at least one target APP.
In the installation process of the first APP, the first terminal device may obtain an installation package of the first APP. Through the analysis of the installation package of the first APP, the information of the first APP can be determined. Wherein the information of the first APP generally comprises a name of the first APP and a component comprised by the first APP.
In the above steps, two ways of determining whether the first APP is the target APP are provided. In a first manner, whether the first APP is a target APP is determined according to whether the file of the first APP includes an editable file. In this case, it may be determined, by a component included in the first APP, whether the file of the first APP includes an editable file.
An APP often includes multiple components, for example, an APP of the Android system typically includes the following components: an activity component, a service component, a content component, an intent component, a broadcast receiver component, and a notification component.
After the plurality of components of the first APP are obtained through analysis of the installation package of the first APP, whether the files of the first APP comprise editable files or not can be determined according to the components. If the file of the first APP comprises the editable file, the first APP can be determined to be a target APP.
In another way, a target application list may be set, in which at least one target APP is included. In this case, the information of the first APP may be matched with the target application list, and if the information of the first APP is matched with the target application list, it indicates that the first APP is the target APP.
Illustratively, the target application list includes names of the target APPs, and if the name of the first APP is determined to be located in the target application list through an installation package of the first APP, it may be determined that the first APP is the target APP.
Of course, whether the first APP is the target APP may also be determined in other ways, which is not limited in this embodiment of the application.
Further, in the solution provided in the embodiment of the present application, the method further includes the following steps:
after the processing of the first file is completed, the first file after processing is stored in a database.
In the embodiment of the application, the first terminal device is provided with a database of a first APP. In this case, after the processing for the first file is completed, the first terminal device may store the first file after the processing into the database, thereby enabling the first file in the database to be the file after the processing. Illustratively, if the software architecture of the first terminal device is as shown in fig. 5, the database of the first APP is included in the application framework layer of the first terminal device.
Further, in this embodiment of the present application, after the processing of the first file is completed, it may be determined whether the first file is changed, and if the first file is changed, the processed first file is stored in the database, so as to update the database.
After the first file is determined to be changed, the database is updated according to the changed first file, so that the first file can be stored in the database, and meanwhile, the file in the database can be guaranteed to be the updated file all the time.
In addition, in the embodiment of the present application, whether the first file is changed may be determined based on the type of the first operation. Illustratively, if the first operation is to modify the first file, it will cause the first file to change; if the first operation is to open or move the storage location of the first file, etc., then the first file will not normally be changed.
Of course, whether the first file is changed or not may also be determined based on other ways, which is not limited in this application.
In this case, in the solution provided in this embodiment of the present application, the applying, by the first terminal device, the first file according to the second operation includes: the first terminal device applies the first file in the database.
For example, if the first device needs to share a first file to a second APP, the first terminal device extracts the first file from the database, and then shares the extracted first file to the second APP; and if the first terminal equipment needs to transmit the first file to the second terminal equipment, the first terminal equipment extracts the first file from the database and then transmits the extracted first file to the second terminal equipment.
By the embodiment, the first file applied by the first terminal device can be guaranteed to be the processed first file.
In addition, in the prior art, when a user needs to apply a certain file of the first APP, the file is usually searched by opening a file manager. However, the file manager often only includes a part of files of the first APP, and if the file manager does not include a file to be applied, the file manager cannot find the file to be applied, and further the user cannot apply the file.
In the solution provided in the embodiment of the present application, each time after the processing of the first file is completed, the processed first file is stored in the database of the first APP, so that each file that has been processed is included in the database. The files contained in the database tend to be more abundant than the file manager. Therefore, compared with the prior art, the scheme provided by the embodiment of the application can improve the probability of finding the required file and meet the application requirement of the file.
Further, in the solution provided in the embodiment of the present application, the method may further include the following steps:
after receiving the fourth operation for the first floating icon, and/or if the second operation for the first floating icon is not received all the time within the first time period, the first terminal equipment terminates the display of the first floating icon.
Wherein the fourth operation is to hide the first floating icon. If the user thinks that the first file is not applied for a long time, the user can execute the fourth operation on the first terminal device in order to keep the display interface of the first terminal device concise and beautiful. And the first terminal equipment terminates the display of the first floating icon after receiving the fourth operation.
In addition, a first time period may be set, and if a second operation for the first floating icon is not received all the time in the first time period, the possibility that the first file needs to be applied is low, and in this case, the first terminal device may also terminate the display of the first floating icon, so as to keep the display interface concise and beautiful.
In order to clarify the file application method provided by the embodiment of the present application, the present application further provides an example, where the example includes a terminal device a and a terminal device B that can execute the file application method provided by the foregoing embodiments, where a network connection is established between the terminal device a and the terminal device B, and a display interface of the terminal device B can be displayed in a shared window of the terminal device a.
Referring to the workflow diagram shown in fig. 13, the following steps may be included in this example:
in step S21, the terminal device a receives a first operation for the first file.
The first operation is used for processing the first file, and the first file is a file of a certain APP in the terminal device a. In this case, the terminal device a processes the first file according to the first operation.
Step S22, the terminal device a displays the first floating icon of the first file.
In this example, the first file is set as a file of a first APP of the terminal device a. In this embodiment of the present application, if the terminal device a displays the first floating icon again after the first file is processed, the terminal device a may monitor a related event of the first file, and determine that the first file is processed according to a monitoring result, and then display the first floating icon of the first file again.
Step S23, the terminal device a stores the processed first file in a database, so that the database stores the processed first file, and updates the database.
In the solution provided in the embodiment of the present application, the terminal device a may store the processed first file in the database after completing the processing of the first file.
Or, the terminal device a may store the processed first file in the database after determining that the first file has undergone the current processing and changed. In this case, after the processing of the first file is completed, whether the first file is changed may be determined according to the type of processing performed on the first file, and after it is determined that the first file is changed, the processed first file is stored in the database, so as to update the database.
For example, if the processing of the first file only includes opening the first file, it may be determined that the first file has not changed. And determining that the first file has changed if the processing of the first file includes modifying the content of the first file.
In the above steps and in the description of fig. 13, after the first floating icon is displayed, the processed first file is stored in the database. In practical applications, there is no strict limitation on the execution order of the two steps, for example, the first floating icon may be displayed after the processed first file is stored in the database, or the first file and the first floating icon may be stored at the same time, which is not limited in the embodiment of the present application.
In step S24, the terminal device a receives a second operation for the first floating icon.
In this example, a network connection is established between a terminal device a and a terminal device B, and a display interface of the terminal device B is displayed in a shared window of the terminal device a, and a third APP of the terminal device B is displayed in the display interface. In addition, the second operation is used for indicating to share the first file with the third APP.
Step S25, the terminal device a transmits the first instruction and the first file to the terminal device B according to the second operation.
The first instruction is used for indicating to share the first file to the third APP.
In addition, in this step, the first file transmitted by the terminal device a may be the first file extracted from the database, that is, after receiving the second operation, the terminal device a extracts the first file from the database, and transmits the extracted first file to the terminal device.
Step S26, the terminal device B receives the first instruction and the first file.
In this example, a network connection is established between the terminal device a and the terminal device B, and the terminal device B can acquire the first instruction and the first file through the network connection.
Step S27, the terminal device B shares the received first file with the third APP according to the instruction of the first instruction, so that the third APP acquires the first file.
Through the operations in 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, the first file does not need to be searched in the terminal device a, so that the efficiency of sharing the first file with the terminal device B is effectively improved.
In addition, after the terminal device a establishes a network connection with the terminal device B, the terminal device a may need to apply the second file in the terminal device B. To meet this need, in this example, the following steps are also included:
in step S31, the terminal device B receives the first operation for the second file.
The first operation on the second file is used for processing the second file, and the second file is a file of a certain APP in the terminal device B.
And step S32, the terminal device B displays a second floating icon of the second file.
That is to say, the terminal device B may also display the second floating icon of the second file included in the terminal device B according to the above embodiment, and details of the display manner of the second floating icon are omitted here.
In addition, the terminal device B may display the second floating icon after receiving the first operation for the second file. Or, the terminal device B may display the second floating icon after completing the processing of the second file, in which case, the terminal device B may monitor a related event of the second file, and determine whether to complete the processing of the second file according to a monitored result.
Step S33, the terminal device B stores the processed second file in a database, so that the database stores the processed second file, and updates the database.
In the solution provided in the embodiment of the present application, the terminal device B may store the processed second file in the database after completing the processing of the second file.
Or, the terminal device B may store the processed second file in the database after determining that the second file has undergone the current processing and changed.
In the above steps and the description of fig. 13, after the second floating icon is displayed, the processed second file is stored in the database. In practice, these two steps are not performed in a strict order. For example, the second floating icon may be displayed after the processed second file is stored in the database, or the storage of the second file and the display of the second floating icon may be performed simultaneously, which is not limited in the embodiment of the present application.
Through the above operation, the second floating icon of the second file can be displayed in the display interface of the terminal device B.
In step S34, the terminal device a receives a third operation for the second floating icon in the shared window.
In this example, the display interface of the terminal device a includes a shared window, and the shared window includes the display interface of the terminal device B. Since the display interface of the terminal device B includes the second floating icon, the second floating icon is displayed in the shared window, and the terminal device a may receive a third operation for the second floating icon.
Wherein the third operation is to instruct to share the second file in a fourth APP of the terminal device A.
Step S35, after receiving the third operation, the terminal device a transmits a second instruction to the terminal device B.
The second instruction is used for indicating to share the second file to the terminal device A.
Step S36, the terminal device B receives the second instruction, and transmits the second file to the terminal device a according to the instruction of the second instruction.
Step S37, the terminal device a receives the second file, and shares the second file in the fourth APP.
Through the operations in steps S31 to S37, the terminal device a may share the second file in the terminal device B in its fourth APP through a third operation on the second floating icon in the shared window, so as to meet the requirement that the terminal device a acquires the second file of the terminal device B. In addition, in the process, the second file does not need to be searched in the terminal device B, so that the efficiency of acquiring the second file by the terminal device A is effectively improved.
Corresponding to the method provided by the above embodiment, the embodiment of the present application further provides a file application method, and the method is applied to the second terminal device. The second terminal device and the first terminal device are connected through a network, the first terminal device displays a sharing window, and an interface of the second terminal device is displayed in the sharing window.
Referring to the workflow diagram shown in fig. 14, the file application method includes the following steps:
step S41, a 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, and the first instruction is used for indicating to share the first file with the third APP.
The first terminal device includes a 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 with a third APP of the second terminal device, the first terminal device may receive a second operation for the first floating icon, and the second operation is used for indicating to share the first file with the third APP.
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.
And step S42, the second terminal device shares the first file to the third APP according to the first instruction.
After receiving the first instruction and the first file, the second terminal device may implement sharing of the first file according to the instruction of the first instruction.
In addition, if the first terminal device encrypts the first file through an encryption mode negotiated with a second terminal device, and transmits the encrypted first file to the second terminal device, the second terminal device may decrypt the received first file according to the negotiated encryption mode 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 improving the possibility of reducing the leakage of the first file, and improve the security of the first file.
Through the operations in steps S41 to S42, the second terminal device may obtain the first file shared by the first terminal device, and in this process, the first terminal device may 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, so that the efficiency of obtaining the first file by the second terminal device may be improved.
Corresponding to the method provided by the above embodiment, the embodiment of the present application further provides a file application method, and the method is applied to a third terminal device. The third terminal device and the first terminal device are connected through a network, the first terminal device displays a sharing window, and an interface of the third terminal device is displayed in the sharing window.
Referring to the workflow diagram shown in fig. 15, the file application method includes the following steps:
and step S51, the third terminal device displays a second floating icon of the second file.
The second file is a file in the third terminal device, and the third terminal device can receive a first operation for the second file and display a second floating icon of the second file through a display interface of the third terminal device.
The manner in which the third terminal device displays the second floating icon may be the same as the manner in which the first terminal device displays the first floating icon, and details are not repeated here.
And step S52, the third terminal device receives the second instruction transmitted by the first terminal device.
The second floating icon is displayed in a sharing window of the first terminal device, and the second instruction is used for indicating that the second file is shared to the first terminal device.
If the fourth APP of the first terminal device needs to acquire the second file of the third terminal device, the first terminal device may receive a third operation for a second floating icon in the shared window, generate a second instruction according to the third operation, and transmit the second instruction to the third terminal device.
And step S53, the third terminal device transmits the second file to the first terminal device according to the second instruction.
And 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 may apply the second file.
Through the solutions provided in steps S51 to S53, the second file of the third terminal device can be shared to the first terminal device, and in this process, the first terminal device can transmit the corresponding second instruction by performing corresponding operation on the second floating icon of the second file in the shared window, so that the third terminal device that receives the second instruction transmits the second file to the first terminal device, and does not need to search for the second file, thereby improving the efficiency of the first terminal device acquiring the second file.
The following are embodiments of an apparatus of the present application that may be used to perform embodiments of the methods of the present application. For details which are not disclosed in the device embodiments of the present application, reference is made to the method embodiments of the present application.
As an implementation of the foregoing embodiments, an embodiment of the present application discloses a file application apparatus. Referring to the schematic structural diagram shown in fig. 16, the file application apparatus disclosed in the embodiment of the present application includes: a processor 2110 and a transceiver interface 2120.
The transceiving interface 2120 is configured to receive a first operation for a first file, where the first operation is used to process the first file;
the processor 2110 is configured to display a first floating icon of the first file, and after receiving a second operation on the first floating icon, apply the first file according to the second operation.
According to the scheme provided by the embodiment of the application, the first floating icon of the first file can be displayed on the display interface of the first terminal device after the first operation aiming at the first file is received. And after receiving a second operation for the first floating icon, the first terminal device implements application to the first file according to the second operation.
In this case, if the first file needs to be applied, the first floating icon of the first file may be operated without the need for the user to search for the first file. Therefore, by applying the file according to the scheme provided by the embodiment of the application, the influence of low file searching efficiency in the prior art can be avoided, and the file application efficiency can be improved.
In the solution provided in the embodiment of the present application, in order to meet diversified application requirements, the application to the first file may also be of multiple types according to the difference of the second operation.
In a possible implementation, the second operation is configured to instruct display of the first file, in which case the processor is specifically configured to open and display the first file.
In the scheme provided by the embodiment of the application, if a user wants to view the first file, only corresponding operation needs to be performed 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 that the first file can be quickly displayed.
In another possible implementation manner, the second operation is used to instruct sharing of the first file to a second application APP, where 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.
In this case, the processor is specifically configured to share the first file with the second APP.
Through the scheme that this application embodiment provided, can show the first suspension icon of first file on first terminal equipment, only need carry out corresponding second operation to first suspension icon, for example, drag first suspension icon to the icon position department of second APP, can with first file shares the second APP to terminal equipment, need not to seek first file, consequently can improve the efficiency of sharing the file to the different APPs in same terminal equipment.
In another possible implementation manner, a third APP of a second terminal device is displayed in a shared window of the first terminal device, and the second operation is used to instruct to share the first file with the third APP.
In this case, the processor is specifically configured to transmit 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 with the third APP.
In the scheme provided by the embodiment of the application, a first suspension icon of a first file is displayed on a first terminal device, and the first suspension icon is correspondingly operated, namely the first file can be transmitted to a second terminal device, so that the second terminal device shares the received first file with a third APP. In the process, the first file does not need to be searched, so that the file sharing efficiency of the APP of other terminal equipment can be improved.
Further, in the solution provided in this embodiment of the application, the transceiver interface is further configured to receive a third operation for a second floating icon in the shared 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 indicate that the second file is shared in a fourth APP of the first terminal device;
the transceiving 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 the first terminal device to share the second file;
the processor is further configured to, after receiving the second file, share the second file in the fourth APP.
In the scheme provided by the embodiment of the application, the second suspension icon of the second file is displayed in the sharing window of the first terminal device, and through corresponding operation aiming at the second suspension icon, the first terminal device can acquire the second file transmitted by the third terminal device and share the second file without searching the second file.
Further, in the solution provided in this embodiment of the application, the processor is further configured to determine, before the first terminal device displays the first floating icon of the first file, that the first APP is a target APP, where the first file is a file of the first APP, and the file of the target APP includes an editable file;
the processor is further configured to determine that processing of the first file is completed by monitoring a processing condition of the first file after determining that the first APP is the target APP.
In the scheme provided by the embodiment of the application, after determining that a first APP is a target APP, monitoring is performed on the processing condition of a first file of the first APP, 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 files of all APPs are not monitored by a first terminal device, the operation burden of the first terminal device is effectively reduced, and the operation stability of the first terminal device is improved.
In the solution provided in this embodiment of the application, the processor is specifically configured to determine, through the installation package of the first APP, information of the first APP, where the information of the first APP indicates that a 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, determine that the first APP is a target APP, and the target application list includes at least one target APP.
Further, the processor is further configured to, after completing the processing of the first file, store the processed first file in a database;
the processor is specifically configured to apply the first file in the database.
Further, the processor is further configured to terminate the display of the first floating icon after receiving the fourth operation on the first floating icon and/or if the second operation on the first floating icon is not received all the time within the first time period.
In another embodiment of the present application, a file application apparatus is provided. The file application means is generally applied to the second terminal device. The second terminal device and the first terminal device are connected through a network, the first terminal device displays a sharing window, and an interface of the second terminal device is displayed in the sharing window.
In the solution provided in the embodiment of the present application, the file application apparatus includes: a processor and a transceiver interface;
the receiving and sending interface is used for receiving a first instruction and a first file transmitted by first terminal equipment, a third APP of the second terminal equipment is displayed in a sharing window of the first terminal equipment, and the first instruction is used for indicating to share the first file to the third APP;
the processor is used for sharing the first file to the third APP by the equipment according to the first instruction.
According to the scheme provided by the embodiment of the application, the second terminal equipment can acquire the first file shared by the first terminal equipment, and in the process, the first terminal equipment can transmit the first file to the second terminal equipment through corresponding operation on the first suspension icon of the first file without searching the first file, so that the efficiency of acquiring the first file by the second terminal equipment can be improved.
Corresponding to the method provided by the foregoing embodiment, an embodiment of the present application further provides a file application apparatus, which is generally applied to a third terminal device. The third terminal device and the first terminal device are connected through a network, the first terminal device displays a sharing window, and an interface of the third terminal device is displayed in the sharing window.
In the solution provided in the embodiment of the present application, the file application apparatus includes: a processor and a transceiver interface;
the processor is configured to display a second floating icon of a second file;
the receiving and sending interface is used for receiving 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 for indicating the sharing of the second file to the first terminal device;
and the transceiving interface is further configured to transmit the second file to the first terminal device according to the second instruction.
In the scheme provided by the embodiment of the application, the second suspension icon of the second file is displayed in the sharing window of the first terminal device, and through corresponding operation aiming at the second suspension icon, the first terminal device can acquire the second file transmitted by the third terminal device and share the second file without searching the second file.
Correspondingly, corresponding to the method, the embodiment of the application also discloses a terminal device. Referring to the schematic structural diagram shown in fig. 17, the terminal apparatus includes:
at least one processor 1101 and a memory,
wherein the memory is to store program instructions;
the processor is configured to call and execute the program instructions stored in the memory, so as to cause the terminal device to perform all or part of the steps in the embodiments corresponding to fig. 6, fig. 10, and fig. 12.
Further, the terminal device may further include: a transceiver 1102 and a bus 1103 that includes a random access memory 1104 and a read only memory 1105.
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 operated, the terminal device is guided to enter a normal operation state by starting a basic input and output system solidified in a read only memory or a bootloader guiding system in an embedded system. After the terminal device enters a normal operation state, an application program and an operating system are operated in the random access memory, so that the terminal device executes all or part of the steps in the embodiments corresponding to fig. 6, 10 and 12.
The apparatus according to the embodiment of the present invention may correspond to the file application apparatus in the embodiments corresponding to fig. 6, fig. 10, and fig. 12, and a processor and the like in the apparatus may implement the functions of the file application apparatus in the embodiments corresponding to fig. 6, fig. 10, and fig. 12 or various steps and methods implemented by the file application apparatus, which are not described herein again for brevity.
Correspondingly, corresponding to the method, the embodiment of the application also discloses a terminal device. The terminal device comprises:
at least one processor and a memory, wherein the memory,
wherein the memory is to store program instructions;
the processor is configured to call and execute the program instructions stored in the memory, so as to cause the terminal device to perform all or part of the steps in the embodiment corresponding to fig. 14.
Further, the terminal device may further include: a transceiver and a bus, the memory including random access memory and read only memory.
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 operated, the terminal device is guided to enter a normal operation state by starting a basic input and output system solidified in a read only memory or a bootloader guiding system in an embedded system. After the terminal device enters the normal operation state, the application program and the operating system are executed in the random access memory, so that the terminal device executes all or part of the steps in the embodiment corresponding to fig. 14.
The apparatus in the embodiment of the present invention may correspond to the file application apparatus in the embodiment corresponding to fig. 14, and a processor in the apparatus may implement the functions of the file application apparatus in the embodiment corresponding to fig. 14 or various steps and methods implemented in the file application apparatus, which are not described herein again for brevity.
Correspondingly, corresponding to the method, the embodiment of the application also discloses a terminal device. The terminal device comprises:
at least one processor and a memory, wherein the memory,
wherein the memory is to store program instructions;
the processor is configured to call and execute the program instructions stored in the memory, so as to cause the terminal device to perform all or part of the steps in the embodiment corresponding to fig. 15.
Further, the terminal device may further include: a transceiver and a bus, the memory including random access memory and read only memory.
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 operated, the terminal device is guided to enter a normal operation state by starting a basic input and output system solidified in a read only memory or a bootloader guiding system in an embedded system. After the terminal device enters a normal operation state, an application program and an operating system are operated in the random access memory, so that the terminal device executes all or part of the steps in the embodiment corresponding to fig. 15.
The apparatus in the embodiment of the present invention may correspond to the file application apparatus in the embodiment corresponding to fig. 15, and a processor in the apparatus may implement the functions of the file application apparatus in the embodiment corresponding to fig. 15 or various steps and methods implemented, which are not described herein again for brevity.
Correspondingly, the embodiment of the application provides a file application system. The system comprises a first terminal device and a second terminal device. And network connection is established between the second terminal equipment and the first terminal equipment, the first terminal equipment displays a sharing window, and an interface of the second terminal equipment is displayed in the sharing window.
The first terminal device in the file application system may correspond to the file application apparatus in the embodiments corresponding to fig. 6, fig. 10, and fig. 12, and the processor and the like in the first terminal device may implement the functions of the file application apparatus in the embodiments corresponding to fig. 6, fig. 10, and fig. 12 or various steps and methods implemented by the file application apparatus, which are not described herein again for brevity.
In addition, the second terminal device in the file application system may correspond to the file application apparatus in the embodiment corresponding to fig. 14, and a processor and the like in the second terminal device may implement the functions of the file application apparatus in the embodiment corresponding to fig. 14 or various steps and methods implemented by the file application apparatus, which are not described herein again for brevity.
In the system provided in the embodiment of the present application, a third APP of a second terminal device may be displayed in a shared window of the first terminal device, and the first terminal device may receive a second operation for a first floating icon after displaying the first floating icon of a first file, and if the second operation is used to instruct to share the first file with the third APP, the first terminal device may transmit 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 with the third APP. After receiving the instruction and the first file, the second terminal device shares the first file with a third APP of the second terminal device according to the instruction of the first instruction.
Through the system provided by the embodiment of the application, the second terminal equipment can acquire the first file shared by the first terminal equipment, and in the process, the first terminal equipment can transmit the first file to the second terminal equipment through carrying out corresponding operation on the first suspension icon of the first file without searching the first file, so that the efficiency of acquiring the first file by the second terminal equipment can be improved.
Further, in the system provided in the embodiment of the present application, the system further includes: and a third terminal device. The third terminal device and the first terminal device are connected through a network, the first terminal device displays a sharing window, and an interface of the third terminal device is displayed in the sharing window.
The second terminal device in the file application system may correspond to the file application apparatus in the embodiment corresponding to fig. 15, and a processor and the like in the second terminal device may implement the functions of the file application apparatus in the embodiment corresponding to fig. 15 or various steps and methods implemented, which are not described herein again for brevity.
Under the circumstance, in the system provided by the embodiment of the application, the second floating icon of the second file can be displayed in the sharing window of the first terminal device, and through corresponding operation on the second floating icon, the first terminal device can acquire and share the second file transmitted by the third terminal device, and does not need to search the second file.
In particular implementations, embodiments of the present application also provide a computer-readable storage medium, which includes instructions. Wherein a computer readable medium disposed in any apparatus, which when executed on a computer, may perform all or a portion of the steps of the embodiments corresponding to fig. 6, 10, and 12. The storage medium of the computer readable medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
In particular implementations, embodiments of the present application also provide a computer-readable storage medium, which includes instructions. Wherein a computer readable medium disposed in any apparatus, which when executed on a computer, may perform all or a portion of the steps of the embodiment corresponding to fig. 14. The storage medium of the computer readable medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
In particular implementations, embodiments of the present application also provide a computer-readable storage medium, which includes instructions. Wherein a computer readable medium disposed in any apparatus, which when executed on a computer, may perform all or a portion of the steps of the embodiment corresponding to fig. 15. The storage medium of the computer readable medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
In addition, another embodiment of the present application also discloses a computer program product containing instructions, which when run on an electronic device, enables the electronic device to implement all or part of the steps in the embodiments corresponding to fig. 6, fig. 10 and fig. 12.
In addition, another embodiment of the present application also discloses a computer program product containing instructions, which when run on an electronic device, enables the electronic device to implement all or part of the steps in the embodiment corresponding to fig. 14.
In addition, another embodiment of the present application also discloses a computer program product containing instructions, which when run on an electronic device, enables the electronic device to implement all or part of the steps in the embodiment corresponding to fig. 15.
The various illustrative logical units and circuits described in this application may be implemented or operated upon by design of a general purpose processor, a digital information processor, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital information processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital information processor core, or any other similar configuration.
The steps of a method or algorithm described in the embodiments herein may be embodied directly in hardware, in a software element executed by a processor, or in a combination of the two. The software cells may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may be located in a UE. In the alternative, the processor and the storage medium may reside in different components in the UE.
It should be understood that, in the various embodiments of the present application, the size of the serial number of each process does not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part 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, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). 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, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The same and similar parts among the various embodiments of the present specification may be referred to, and each embodiment is described with emphasis on differences from the other embodiments. In particular, as to the apparatus and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple and reference may be made to the description of the method embodiments in relevant places.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. In particular, for the embodiments of the road constraint determining apparatus disclosed in the present application, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the description in the method embodiments.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (28)

1. A file application method, comprising:
the method comprises the steps that first terminal equipment receives first operation aiming at a first file, wherein the first operation is used for processing the first file;
the first terminal equipment displays a first floating icon of the first file;
after receiving a second operation aiming at the first floating icon, the first terminal equipment applies the first file according to the second operation.
2. The method of claim 1,
the second operation is used for indicating to display the first file, and the first terminal device applies the first file according to the second operation, and the second operation comprises the following steps:
and the first terminal equipment opens and displays the first file.
3. The method of claim 1,
the second operation is used for indicating to share the first file to a second application program 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 first terminal device applies the first file according to the second operation, and the application comprises the following steps:
and the first terminal equipment shares the first file to a second APP.
4. The method of claim 1,
displaying a third APP of a second terminal device in a sharing window of the first terminal device, wherein the second operation is used for indicating to share the first file with the third APP;
the first terminal device applies the first file according to the second operation, and the application comprises the following steps:
the first terminal device transmits a first instruction and the first file to the second terminal device, wherein the first instruction is used for indicating to share the first file with the third APP.
5. The method of any of claims 1 to 4, further comprising:
the first terminal device receives a third operation aiming at a second floating icon in a shared window, wherein the second floating icon is an icon of a second file of a third terminal device, and the third operation is used for indicating that the second file is shared 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, wherein the second instruction is used for indicating to share the second file with the first terminal device;
after receiving the second file, the first terminal device shares the second file in the fourth APP.
6. The method according to any one of claims 1 to 4, wherein before the first terminal device displays the first floating icon of the first file, further comprising:
the first terminal device determines that a 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;
and after the first terminal equipment determines that the first APP is the target APP, the first terminal equipment determines to finish the processing of the first file by monitoring the processing condition of the first file.
7. The method of claim 6, wherein the determining, by the first terminal device, that the first APP is a target APP comprises:
the first terminal equipment 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 that the first APP is a target APP, and the target application list includes at least one target APP.
8. The method of claim 1, further comprising:
after the processing of the first file is completed, storing the first file after the processing into a database;
the first terminal device applies the first file according to the second operation, and the application comprises the following steps:
the first terminal device applies the first file in the database.
9. The method of any of claims 1 to 4, further comprising:
after receiving the fourth operation for the first floating icon, and/or if the second operation for the first floating icon is not received all the time within the first time period, the first terminal equipment terminates the display of the first floating icon.
10. A file application method, comprising:
the method comprises the steps that a 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, and the first instruction is used for indicating that the first file is shared to the third APP;
and the second terminal equipment shares the first file to the third APP according to the first instruction.
11. A file application method, comprising:
the third terminal equipment displays a second floating icon of the 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 second instruction is used for indicating the first terminal device to share the second file;
and the third terminal equipment transmits the second file to the first terminal equipment according to the second instruction.
12. A file application apparatus, comprising:
a processor and a transceiver interface;
the transceiving interface is used for receiving a first operation aiming at a first file, and the first operation is used for processing the first file;
the processor is configured to display a first floating icon of the first file, and after receiving a second operation for the first floating icon, apply the first file according to the second operation.
13. The apparatus of claim 12,
the second operation is used for indicating and displaying the first file, and the processor is specifically used for opening and displaying the first file.
14. The apparatus of claim 13,
the second operation is used for indicating to share the first file to a second application program 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 a second APP.
15. The apparatus of claim 13,
displaying a third APP of a second terminal device in a sharing window of the first terminal device, wherein the second operation is used for indicating to share the first file with the third APP;
the processor is specifically configured to transmit a first instruction and the first file to the second terminal device, where the first instruction is used to instruct sharing of the first file with the third APP.
16. The apparatus of any one of claims 13 to 15,
the transceiving interface is further configured to receive a third operation for a second floating icon in the shared 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 indicate that the second file is shared in a fourth APP of the first terminal device;
the transceiving 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 the first terminal device to share the second file;
the processor is further configured to, after receiving the second file, share the second file in the fourth APP.
17. The apparatus according to any one of claims 13 to 16,
the processor is further configured to determine that a first APP is a target APP before the first terminal device displays a 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;
the processor is further configured to determine that processing of the first file is completed by monitoring a processing condition of the first file after determining that the first APP is the target APP.
18. The apparatus of claim 17,
the processor is specifically configured to determine, through the installation package of the first APP, information of the first APP, where 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, determine that the first APP is a target APP, and the target application list includes at least one target APP.
19. The apparatus of claim 13,
the processor is further used for storing the first file after processing into a database after the first file is processed;
the processor is specifically configured to apply the first file in the database.
20. The apparatus according to any one of claims 13 to 16,
the processor is further configured to terminate the display of the first floating icon after receiving the fourth operation on the first floating icon and/or if the second operation on the first floating icon is not received all the time within the first time period.
21. A file application apparatus, comprising:
a processor and a transceiver interface;
the receiving and sending interface is used for receiving a first instruction and a first file transmitted by first terminal equipment, a third APP of the second terminal equipment is displayed in a sharing window of the first terminal equipment, and the first instruction is used for indicating to share the first file to the third APP;
the processor is used for sharing the first file to the third APP by the equipment according to the first instruction.
22. A file application apparatus, comprising:
a processor and a transceiver interface;
the processor is configured to display a second floating icon of a second file;
the receiving and sending interface is used for receiving 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 for indicating the sharing of the second file to the first terminal device;
and the transceiving interface is further configured to transmit the second file to the first terminal device according to the second instruction.
23. A terminal device, comprising:
at least one processor and a memory, wherein the memory,
the memory to store program instructions;
the processor, configured to invoke and execute program instructions stored in the memory to cause the terminal device to perform the file application method of any one of claims 1-9.
24. A terminal device, comprising:
at least one processor and a memory, wherein the memory,
the memory to store program instructions;
the processor is configured to call and execute the program instructions stored in the memory to cause the terminal device to execute the file application method according to claim 10.
25. A terminal device, comprising:
at least one processor and a memory, wherein the memory,
the memory to store program instructions;
the processor is configured to call and execute the program instructions stored in the memory to cause the terminal device to execute the file application method according to claim 11.
26. A computer-readable storage medium, characterized in that,
the computer-readable storage medium has stored therein instructions that, when executed on a computer, cause the computer to execute the file application method according to any one of claims 1 to 9.
27. A computer-readable storage medium, characterized in that,
the computer-readable storage medium has stored therein instructions that, when run on a computer, cause the computer to execute the file application method of claim 10.
28. A computer-readable storage medium, characterized in that,
the computer-readable storage medium has stored therein instructions that, when run on a computer, cause the computer to execute the file application method of claim 11.
CN202110217233.7A 2020-05-15 2021-02-26 File application method and device Pending CN113672563A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/CN2021/089669 WO2021227847A1 (en) 2020-05-15 2021-04-25 Method and apparatus for applying file
EP21803343.9A EP4137973A4 (en) 2020-05-15 2021-04-25 Method and apparatus for applying file
US17/925,257 US20230350848A1 (en) 2020-05-15 2021-04-25 File Application Method and Apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010414264 2020-05-15
CN2020104142647 2020-05-15

Publications (1)

Publication Number Publication Date
CN113672563A true CN113672563A (en) 2021-11-19

Family

ID=78538011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110217233.7A Pending CN113672563A (en) 2020-05-15 2021-02-26 File application method and device

Country Status (1)

Country Link
CN (1) CN113672563A (en)

Similar Documents

Publication Publication Date Title
JP7142783B2 (en) Voice control method and electronic device
WO2020238774A1 (en) Notification message preview method and electronic device
WO2021078284A1 (en) Content continuation method and electronic device
WO2021121052A1 (en) Multi-screen cooperation method and system, and electronic device
CN111694475B (en) Terminal control method and device and terminal equipment
WO2021159746A1 (en) File sharing method and system, and related device
CN111382418B (en) Application program authority management method and device, storage medium and electronic equipment
WO2021218429A1 (en) Method for managing application window, and terminal device and computer-readable storage medium
WO2023241209A9 (en) Desktop wallpaper configuration method and apparatus, electronic device and readable storage medium
WO2021104259A1 (en) Method and terminal for data sharing between fast application and native application
WO2024001810A1 (en) Device interaction method, electronic device and computer-readable storage medium
WO2023273543A1 (en) Folder management method and apparatus
CN113805797A (en) Network resource processing method, electronic device and computer readable storage medium
WO2021121036A1 (en) Key customization method and device for folding device, and storage medium
CN112437341B (en) Video stream processing method and electronic equipment
CN115022982B (en) Multi-screen cooperative non-inductive access method, electronic equipment and storage medium
CN116828100A (en) Bluetooth audio playing method, electronic equipment and storage medium
CN113672563A (en) File application method and device
CN115878500A (en) Memory recovery method and device, electronic equipment and readable storage medium
CN115730091A (en) Comment display method and device, terminal device and readable storage medium
WO2021227847A1 (en) Method and apparatus for applying file
WO2022068654A1 (en) Interaction method and apparatus for terminal device
WO2023207799A1 (en) Message processing method and electronic device
WO2022143165A1 (en) Method and apparatus for determining network standard
WO2024012346A1 (en) Task migration method, electronic device, and system

Legal Events

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