CN113849463A - File processing method and device and electronic equipment - Google Patents

File processing method and device and electronic equipment Download PDF

Info

Publication number
CN113849463A
CN113849463A CN202111134968.XA CN202111134968A CN113849463A CN 113849463 A CN113849463 A CN 113849463A CN 202111134968 A CN202111134968 A CN 202111134968A CN 113849463 A CN113849463 A CN 113849463A
Authority
CN
China
Prior art keywords
file
application
remote system
driving
response
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
CN202111134968.XA
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202111134968.XA priority Critical patent/CN113849463A/en
Publication of CN113849463A publication Critical patent/CN113849463A/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/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Library & Information Science (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a file processing method and device and electronic equipment, wherein the file processing method comprises the following steps: responding to a first operation aiming at a file, and acquiring information of at least one remote system configured by a first system where the file is located and information of applications supported by the at least one remote system; associating the at least one remote system and at least one first application supported thereby with a response menu for the file; the response menu comprises information of at least one second application supported by the first system; in response to a second operation on the file, selecting an application adapted to the file from the at least one first application in the response menu, and driving the file under a corresponding remote system with the selected application. According to the embodiment of the application, the starting efficiency of the local file is improved, the file application types supported by the local system are more, and the user experience is improved.

Description

File processing method and device and electronic equipment
Technical Field
The embodiment of the application relates to a file processing technology, in particular to a file processing method and device based on a remote system and an electronic device.
Background
At present, with the continuous development of cloud technology, the application of the cloud technology is more and more common. In daily work, as the performance of a cloud computer is often higher, and in consideration of the copyright problem of applications, many users often use the cloud computer to process local files.
At present, a method for starting a local file through a cloud computer mainly comprises the steps of copying the local file into the cloud computer, opening the file by using the application of the cloud computer, copying the file after the file is processed, and deleting the file on the cloud computer. The method has more operation steps and is inconvenient to use.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present application provide a file processing method and apparatus based on a remote system, and an electronic device.
The technical scheme of the embodiment of the application is realized as follows:
according to a first aspect of embodiments of the present application, there is provided a file processing method, including:
responding to a first operation aiming at a file, and acquiring information of at least one remote system configured by a first system where the file is located and information of applications supported by the at least one remote system;
associating the at least one remote system and at least one first application supported thereby with a response menu for the file; the response menu comprises information of at least one second application supported by the first system;
in response to a second operation on the file, selecting an application adapted to the file from the at least one first application in the response menu, and driving the file under a corresponding remote system with the selected application.
As an implementation, the method further comprises:
in response to a second operation on the file, selecting an application adapted to the file from the at least one second application in the response menu, and driving the file at the first system with the selected application.
As an implementation, the driving the file with the selected application under the corresponding remote system includes:
in response to a transmission request for the file by the corresponding remote system, sending the file to the corresponding remote system to cause the selected application to drive the file under the corresponding remote system;
and receiving the driving result of the file sent by the corresponding remote system, and presenting the driving result under the first system.
As an implementation, the driving the file with the selected application under the corresponding remote system includes:
in response to a third operation on the presented file, generating an editing instruction on the file, and sending the editing instruction to the selected application of the corresponding remote system to enable the selected application to edit the file;
and receiving the editing result of the file sent by the corresponding remote system, and presenting the editing result under the first system.
As one implementation, the associating the at least one remote system and at least one first application supported thereby with a response menu for the file includes:
determining applications capable of driving the file in the applications supported by the at least one remote system based on the attribute information of the file, and acquiring related information of at least the applications capable of driving the file and associating the related information with a response menu for the file.
As one implementation, the display order of the applications in the response menu is determined based on the attribute information and the operation information of the applications.
As one implementation, the method includes:
in response to a fourth operation on the file, searching for an application capable of driving the file in a second application of the first system based on the attribute information of the file;
driving the file under the first system through the searched application;
if the application capable of driving the file is not searched in the first system, the application capable of driving the file is searched in the first application of the at least one remote system, the file is sent to the remote system where the searched application is located, and the result that the file is started by the searched application sent by the remote system is received.
As an implementation, the method further comprises:
when more than two first applications capable of driving the file are found in the at least one remote system, acquiring configuration information of the more than two first applications, and taking the application matched with the attribute information of the file as the application for driving the file;
and if the configuration information is determined not to be matched with the attribute information of the file, searching the historical information of more than two first applications for driving the file, and selecting the application with the largest number of times of driving the file as the application for driving the file.
According to a second aspect of embodiments of the present application, there is provided a document processing apparatus including:
the file processing device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for responding to a first operation on a file, and acquiring information of at least one remote system configured by a first system where the file is located and information of applications supported by the at least one remote system;
an associating unit for associating the at least one remote system and at least one first application supported thereby with a response menu for the file; the response menu comprises information of at least one second application supported by the first system;
a selection unit configured to select an application adapted to the file among the at least one first application in the response menu in response to a second operation for the file;
a driving unit for driving the file under the corresponding remote system with the selected application.
As an implementation manner, the selecting unit is further configured to:
in response to a second operation on the file, selecting an application adapted to the file from the at least one second application in the response menu, and driving the file at the first system with the selected application.
As an implementation, the driving unit is further configured to:
in response to a transmission request for the file by the corresponding remote system, sending the file to the corresponding remote system to cause the selected application to drive the file under the corresponding remote system;
and receiving the driving result of the file sent by the corresponding remote system, and presenting the driving result under the first system.
As an implementation, the driving unit is further configured to:
in response to a third operation on the presented file, generating an editing instruction on the file, and sending the editing instruction to the selected application of the corresponding remote system to enable the selected application to edit the file;
and receiving the editing result of the file sent by the corresponding remote system, and presenting the editing result under the first system.
According to a third aspect of embodiments of the present application, there is provided an electronic device comprising at least one processor and a memory for storing a computer program capable of running on the processor, the computer program being capable of performing the file processing method when executed by the processor.
According to a fourth aspect of embodiments of the present application, there is provided a storage medium having stored thereon an executable program, the executable program being executed by a processor to perform the steps of the file processing method.
According to the file processing method and device and the electronic equipment, the response menu containing the applications supported by the remote system is set for the local file, and the user can present the applications supported by the local system in the response menu and present all the applications supported by the remote system associated with the local system in the response menu through a shortcut key of the response menu so that the user can select and start the corresponding applications. In addition, when a user directly starts a local file and the application of the local system does not support the local file, the starting application of the file can be automatically searched in the remote system, and the application of the remote system is called to start the local file, so that the starting efficiency of the local file is improved, the file application supported by the local system is more in variety, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart illustrating a document processing method according to an embodiment of the present application;
FIG. 2 is a schematic flowchart of a document processing method according to an embodiment of the present application;
FIG. 3 is a schematic flowchart of a document processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a document processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The present application will be described in further detail with reference to the following drawings and specific embodiments.
Fig. 1 is a schematic flow chart of a document processing method according to an embodiment of the present application, and as shown in fig. 1, the document processing method according to the embodiment of the present application includes the following processing steps:
step 101, in response to a first operation on a file, acquiring information of at least one remote system configured by a first system where the file is located and information of an application supported by the at least one remote system.
In the embodiment of the application, the file may be any file in the local system, such as a word, a CAD file, a PDF file, a JPG file, and the like, and the file may be a file generated by an application in the local system, or a file received by the local system from another system, such as a file sent by a remote system, or a file downloaded through a network.
In this embodiment of the application, the first operation may be a click operation for a local file, such as a left mouse button or a right mouse button click for the file, or a touch operation for the local file, such as a gesture operation of double click, sliding, or the like, or a setting gesture operation, such as a drag operation; or a set operation, etc. When the first operation aiming at the file is detected, the information of at least one remote system configured by the first system and the information of the applications supported by the at least one remote system are obtained. Here, the first system refers to a local operating system, and the operating system may be a Windows operating system, an Android system, a Linux system, or the like. The local system is the operating system installed in the consumer electronic device.
The first system supports the calling of the remote system, namely more than one remote system, namely a remote cloud computer operating system, is configured for the first system so as to meet the cloud service requirement of a user. The cloud system of the local system is utilized to provide convenient local file operations such as opening, editing and modifying for the user, even if the local system does not support file editing, the cloud system can quickly inquire the relevant application of the file supported by the cloud system, and provide the response of the user to the file operation, so that the file is ensured to be normally called and operated by the user, and the like.
Step 102, associating said at least one remote system and at least one first application supported thereby with a response menu for said file.
In this embodiment, the response menu includes information of at least one second application supported by the first system. In the embodiment of the application, after the first operation is detected, or when the user calls the response menu again after the first operation, the corresponding response menu needs to be output to the user, so that the user can select the corresponding application for the current file. For example, for different file types such as word, CAD file, PDF file, JPG file, etc., a suitable application program is selected from the response menu to start the relevant file. The response menu includes not only the applications installed by the first system, but also related application information supported by all cloud systems accessible by the first system, so that a user can select a suitable application in the response menu to start the local file.
The application scenario of the embodiment of the application is generally a situation that when a file cannot be started in a local system through double-click or a start instruction, the file can be manually started by selecting a proper application for the file to be started through operations such as clicking a mouse and the like. At this time, the first operation may be a mouse click, such as a left or right mouse button click, to invoke the response menu. Embodiments of the present application support applications supported by remote systems, such as cloud systems, to be also presented to the user in a response menu.
And presenting information of related applications to the user in the form of application icons or instructions in the response menu. The response menu may also include menu items indicating file attribute information, such as information items of the size, format, author, edit time, and the like of the file.
Step 103, responding to the second operation for the file, selecting an application adapted to the file from the at least one first application in the response menu, and driving the file under a corresponding remote system by the selected application.
Here, the second operation may be a selection operation for all applications presented in the response menu, for example, the user may select an appropriate application to start a file according to the file type. Here, when the user selects an application supported by the remote system, the file is driven by the remote system under the remote system, and the driving result is sent to the first system and presented to the user, so that the user experiences that the file is locally started, and the experience effect is better.
In the embodiment of the present application, the process of starting a file under a remote system includes: in response to a transmission request for the file by the corresponding remote system, sending the file to the corresponding remote system to cause the selected application to drive the file under the corresponding remote system; and receiving the driving result of the file sent by the corresponding remote system, and presenting the driving result under the first system. And after the second operation is detected, sending the file to be started to the remote system, starting the file by the selected application in the remote system, and displaying the driving result of the file to the user, namely, displaying the starting result of the file by the remote system under the first system, so that the user cannot feel that the file is operated under the remote system.
In another possible implementation manner of the embodiment of the present application, the method further includes operations such as editing a file in the first system, specifically, in response to a third operation on the presented file, generating an editing instruction for the file, and sending the editing instruction to the selected application of the corresponding remote system, so that the selected application edits the file; and receiving the editing result of the file sent by the corresponding remote system, and presenting the editing result under the first system. Here, the third operation mainly refers to an editing operation for a file, such as modification of the file.
After the remote system starts the file, the first system also receives third operations such as editing, modification and the like of the file by the user, at the moment, the first system needs to send an editing instruction aiming at the third operations to a corresponding application of the remote system, the remote system edits the file based on the editing instruction, sends an editing result to the first system, and displays the editing result under the first system for display.
Fig. 2 is a schematic flow chart of a document processing method according to an embodiment of the present application, and as shown in fig. 2, the document processing method according to the embodiment of the present application includes the following processing steps:
step 201, in response to a first operation on a file, acquiring information of at least one remote system configured by a first system where the file is located and information of an application supported by the at least one remote system.
In the embodiment of the application, the file may be any file in the local system, such as a word, a CAD file, a PDF file, a JPG file, and the like, and the file may be a file generated by an application in the local system, or a file received by the local system from another system, such as a file sent by a remote system, or a file downloaded through a network.
When the first operation aiming at the file is detected, the information of at least one remote system configured by the first system and the information of the applications supported by the at least one remote system are obtained. Here, the first system refers to a local operating system, and the operating system may be a Windows operating system, an Android system, a Linux system, or the like. The local system is the operating system installed in the consumer electronic device.
The first system supports the calling of the remote system, namely more than one remote system, namely a remote cloud computer operating system, is configured for the first system so as to meet the cloud service requirement of a user. The cloud system of the local system is utilized to provide convenient local file operations such as opening, editing and modifying for the user, even if the local system does not support file editing, the cloud system can quickly inquire the relevant application of the file supported by the cloud system, and provide the response of the user to the file operation, so that the file is ensured to be normally called and operated by the user, and the like.
Step 202, associating said at least one remote system and at least one first application supported thereby with a response menu for said file.
In this embodiment, the response menu includes information of at least one second application supported by the first system. In the embodiment of the application, after the first operation is detected, or when the user calls the response menu again after the first operation, the corresponding response menu needs to be output to the user, so that the user can select the corresponding application for the current file. For example, for different file types such as word, CAD file, PDF file, JPG file, etc., a suitable application program is selected from the response menu to start the relevant file. The response menu includes not only the applications installed by the first system, but also related application information supported by all cloud systems accessible by the first system, so that a user can select a suitable application in the response menu to start the local file.
The application scenario of the embodiment of the application is generally a situation that when a file cannot be started in a local system through double-click or a start instruction, the file can be manually started by selecting a proper application for the file to be started through operations such as clicking a mouse and the like. At this time, the first operation may be a mouse click, such as a left or right mouse button click, to invoke the response menu. Embodiments of the present application support applications supported by remote systems, such as cloud systems, to be also presented to the user in a response menu.
And presenting information of related applications to the user in the form of application icons or instructions in the response menu. The response menu may also include menu items indicating file attribute information, such as information items of the size, format, author, edit time, and the like of the file.
Step 203, responding to the second operation for the file, selecting an application adapted to the file from the at least one second application in the response menu, and driving the file under the first system by using the selected application.
Here, the second operation may be a selection operation for all applications presented in the response menu, for example, the user may select an appropriate application to start a file according to the file type. Here, the first system has an application capable of starting a file, that is, the file may be started by an application in the local system, and may not be started by a related application in the remote system, at this time, the user may directly select the application in the local system, that is, the first system, to start the file, at this time, the file does not have to be transmitted to the remote system, and the local system may directly respond to a corresponding operation for the file.
Fig. 3 is a schematic flowchart of a file processing method according to an embodiment of the present application, and as shown in fig. 3, the file processing method according to the embodiment of the present application includes the following processing steps:
step 301, in response to a first operation on a file, acquiring information of at least one remote system configured by a first system where the file is located and information of an application supported by the at least one remote system.
In the embodiment of the application, the file may be any file in the local system, such as a word, a CAD file, a PDF file, a JPG file, and the like, and the file may be a file generated by an application in the local system, or a file received by the local system from another system, such as a file sent by a remote system, or a file downloaded through a network.
When the first operation aiming at the file is detected, the information of at least one remote system configured by the first system and the information of the applications supported by the at least one remote system are obtained. Here, the first system refers to a local operating system, and the operating system may be a Windows operating system, an Android system, a Linux system, or the like. The local system is the operating system installed in the consumer electronic device.
The first system supports the calling of the remote system, namely more than one remote system, namely a remote cloud computer operating system, is configured for the first system so as to meet the cloud service requirement of a user. The cloud system of the local system is utilized to provide convenient local file operations such as opening, editing and modifying for the user, even if the local system does not support file editing, the cloud system can quickly inquire the relevant application of the file supported by the cloud system, and provide the response of the user to the file operation, so that the file is ensured to be normally called and operated by the user, and the like.
Step 302, associating the at least one remote system and at least one first application supported thereby with a response menu for the file.
In this embodiment, the response menu includes information of at least one second application supported by the first system. In the embodiment of the application, after the first operation is detected, or when the user calls the response menu again after the first operation, the corresponding response menu needs to be output to the user, so that the user can select the corresponding application for the current file. For example, for different file types such as word, CAD file, PDF file, JPG file, etc., a suitable application program is selected from the response menu to start the relevant file. The response menu includes not only the applications installed by the first system, but also related application information supported by all cloud systems accessible by the first system, so that a user can select a suitable application in the response menu to start the local file.
The application scenario of the embodiment of the application is generally a situation that when a file cannot be started in a local system through double-click or a start instruction, the file can be manually started by selecting a proper application for the file to be started through operations such as clicking a mouse and the like. At this time, the first operation may be a mouse click, such as a left or right mouse button click, to invoke the response menu. Embodiments of the present application support applications supported by remote systems, such as cloud systems, to be also presented to the user in a response menu.
And presenting information of related applications to the user in the form of application icons or instructions in the response menu. The response menu may also include menu items indicating file attribute information, such as information items of the size, format, author, edit time, and the like of the file.
In this embodiment of the present application, associating the at least one remote system and the at least one first application supported by the at least one remote system with the response menu for the file specifically includes: determining applications capable of driving the file in the applications supported by the at least one remote system based on the attribute information of the file, and acquiring related information of at least the applications capable of driving the file and associating the related information with a response menu for the file. Here, the attribute information of the file includes the type of the file, the format of the file, the application name of the startup file, the version number of the startup file application, and the like.
In the embodiment of the present application, the display order of the applications in the response menu is determined based on the attribute information and the operation information of the applications. That is, when the start-up applications for the file are determined in the local system and the remote system, the relevant applications that can start up the file are automatically arranged in the front of the response menu. For example, taking Word files as an example, when it is determined that Office applications exist in both the remote system and the local system, the Office applications are arranged at the front of the response menu for the convenience of user selection. When it is determined that the number of applications of the start-up file is two or more, sorting may be performed based on version information of the applications of the start-up file, i.e., applications of the start-up file of a high version number are arranged at the top of the response menu.
Step 303, in response to the second operation on the file, selecting an application adapted to the file from the at least one first application in the response menu, and driving the file under a corresponding remote system with the selected application.
Here, the second operation may be a selection operation for all applications presented in the response menu, for example, the user may select an appropriate application to start a file according to the file type. Here, when the user selects an application supported by the remote system, the file is driven by the remote system under the remote system, and the driving result is sent to the first system and presented to the user, so that the user experiences that the file is locally started, and the experience effect is better.
In the embodiment of the present application, the process of starting a file under a remote system includes: in response to a transmission request for the file by the corresponding remote system, sending the file to the corresponding remote system to cause the selected application to drive the file under the corresponding remote system; and receiving the driving result of the file sent by the corresponding remote system, and presenting the driving result under the first system. And after the second operation is detected, sending the file to be started to the remote system, starting the file by the selected application in the remote system, and displaying the driving result of the file to the user, namely, displaying the starting result of the file by the remote system under the first system, so that the user cannot feel that the file is operated under the remote system.
In the embodiment of the present application, operations such as editing for a file under a first system are further included, specifically, in response to a third operation for the presented file, an editing instruction for the file is generated, and the editing instruction is sent to a selected application of the corresponding remote system, so that the selected application edits the file; and receiving the editing result of the file sent by the corresponding remote system, and presenting the editing result under the first system. Here, the third operation mainly refers to an editing operation for a file, such as modification of the file.
After the remote system starts the file, the first system also receives third operations such as editing, modification and the like of the file by the user, at the moment, the first system needs to send an editing instruction aiming at the third operations to a corresponding application of the remote system, the remote system edits the file based on the editing instruction, sends an editing result to the first system, and displays the editing result under the first system for display.
In the embodiment of the present application, a direct start operation for a file is also supported, which specifically includes: in response to a fourth operation on the file, searching for an application capable of driving the file in a second application of the first system based on the attribute information of the file; driving the file under the first system through the searched application; if the application capable of driving the file is not searched in the first system, the application capable of driving the file is searched in the first application of the at least one remote system, the file is sent to the remote system where the searched application is located, and the result that the file is started by the searched application sent by the remote system is received. The fourth operation is an opening instruction of the file, and can be an instruction of directly opening the file by double-clicking a left key of the mouse, or an operation of directly double-clicking the file by a touch screen, or an operation of opening or starting the file by a set gesture such as sliding. At this time, the first system searches for a starting application of the file in the local or remote system, automatically determines an application capable of starting the file for the file based on information such as the version number of the file, and when the searched application is located in the remote system, the file needs to be sent to the remote system, an opening operation of the remote system for the file is received, and the started file is presented under the first system.
In the embodiment of the application, when more than two first applications capable of driving the file are found in the at least one remote system, acquiring configuration information of the more than two first applications, and taking an application matched with the attribute information of the file as an application for driving the file; and if the configuration information is determined not to be matched with the attribute information of the file, searching the historical information of more than two first applications for driving the file, and selecting the application with the largest number of times of driving the file as the application for driving the file. Namely, when a plurality of starting applications are automatically determined for the file, the application more suitable for starting the file is automatically selected for the file to start the file, so that the starting and editing operations of the file are better met, and the user experience is improved.
Fig. 4 is a schematic structural diagram of a document processing apparatus according to an embodiment of the present application, and as shown in fig. 4, the document processing apparatus according to the embodiment of the present application includes:
an obtaining unit 40, configured to, in response to a first operation on a file, obtain information of at least one remote system configured by a first system in which the file is located and information of an application supported by the at least one remote system;
an associating unit 41 for associating the at least one remote system and at least one first application supported thereby with a response menu for the file; the response menu comprises information of at least one second application supported by the first system;
a selecting unit 42, configured to select, in response to a second operation on the file, an application adapted to the file from the at least one first application in the response menu;
a driving unit 43 for driving the file under the corresponding remote system with the selected application.
As an implementation manner, the selecting unit 42 is further configured to:
in response to a second operation on the file, selecting an application adapted to the file from the at least one second application in the response menu, and driving the file at the first system with the selected application.
As an implementation manner, the driving unit 43 is further configured to:
in response to a transmission request for the file by the corresponding remote system, sending the file to the corresponding remote system to cause the selected application to drive the file under the corresponding remote system;
and receiving the driving result of the file sent by the corresponding remote system, and presenting the driving result under the first system.
Alternatively, as an implementation manner, the driving unit 43 is further configured to:
in response to a third operation on the presented file, generating an editing instruction on the file, and sending the editing instruction to the selected application of the corresponding remote system to enable the selected application to edit the file;
and receiving the editing result of the file sent by the corresponding remote system, and presenting the editing result under the first system.
In this embodiment of the application, as an implementation manner, the associating unit 41 is further configured to determine, based on the attribute information of the file, an application that can drive the file among the applications supported by the at least one remote system, obtain relevant information of the application that at least will drive the file, and associate the relevant information with a response menu for the file.
As one implementation, the display order of the applications in the response menu is determined based on the attribute information and the operation information of the applications.
As an implementation manner, the driving unit 43 is further configured to: in response to a fourth operation on the file, searching for an application capable of driving the file in a second application of the first system based on the attribute information of the file;
driving the file under the first system through the searched application;
if the application capable of driving the file is not searched in the first system, the application capable of driving the file is searched in the first application of the at least one remote system, the file is sent to the remote system where the searched application is located, and the result that the file is started by the searched application sent by the remote system is received.
As an implementation manner, the driving unit 43 is further configured to: when more than two first applications capable of driving the file are found in the at least one remote system, acquiring configuration information of the more than two first applications, and taking the application matched with the attribute information of the file as the application for driving the file;
and if the configuration information is determined not to be matched with the attribute information of the file, searching the historical information of more than two first applications for driving the file, and selecting the application with the largest number of times of driving the file as the application for driving the file.
In the file Processing apparatus of the embodiment of the present application, the obtaining Unit 40, the associating Unit 41, the selecting Unit 42, and the driving Unit 43 may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), a Micro Control Unit (MCU), or a Programmable Gate Array (FPGA) in the terminal in practical application.
It should be noted that, in the document processing apparatus according to the embodiment of the present application, because the principle of solving the problem of the document processing apparatus is similar to that of the document processing method, the implementation process and the implementation principle of the document processing apparatus can be described by referring to the implementation process and the implementation principle of the method, and repeated details are not repeated.
Embodiments of the present application also describe a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, is configured to at least perform the steps of the method shown in any one of fig. 1 to 3. The computer readable storage medium may be specifically a memory.
The embodiment of the application also provides the electronic equipment. Fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application, and as shown in fig. 5, the electronic device includes: a communication component 63 for data transmission, at least one processor 61 and a memory 62 for storing computer programs capable of running on the processor 61. The various components in the electronic device are coupled together by a bus system 64. It will be appreciated that the bus system 64 is used to enable communications among the components. The bus system 64 includes a power bus, a control bus, and a status signal bus in addition to the data bus. For clarity of illustration, however, the various buses are labeled as bus system 64 in fig. 5.
Wherein the processor 61 executes the computer program to perform at least the steps of the method of any of fig. 1 to 5.
It will be appreciated that the memory 62 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 62 described in embodiments herein is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the above embodiments of the present application may be applied to the processor 61, or implemented by the processor 61. The processor 61 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 61. The processor 61 described above may be a general purpose processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 61 may implement or perform the methods, steps and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 62, and the processor 61 reads the information in the memory 62 and performs the steps of the aforementioned method in conjunction with its hardware.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided in the present application may be combined arbitrarily, without conflict, to arrive at new method embodiments or apparatus embodiments.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of file processing, comprising:
responding to a first operation aiming at a file, and acquiring information of at least one remote system configured by a first system where the file is located and information of applications supported by the at least one remote system;
associating the at least one remote system and at least one first application supported thereby with a response menu for the file; the response menu comprises information of at least one second application supported by the first system;
in response to a second operation on the file, selecting an application adapted to the file from the at least one first application in the response menu, and driving the file under a corresponding remote system with the selected application.
2. The method of claim 1, further comprising:
in response to a second operation on the file, selecting an application adapted to the file from the at least one second application in the response menu, and driving the file at the first system with the selected application.
3. The method of claim 1, the driving the file with the selected application under a corresponding remote system, comprising:
in response to a transmission request for the file by the corresponding remote system, sending the file to the corresponding remote system to cause the selected application to drive the file under the corresponding remote system;
and receiving the driving result of the file sent by the corresponding remote system, and presenting the driving result under the first system.
4. The method of claim 3, the driving the file with the selected application under a corresponding remote system, comprising:
in response to a third operation on the presented file, generating an editing instruction on the file, and sending the editing instruction to the selected application of the corresponding remote system to enable the selected application to edit the file;
and receiving the editing result of the file sent by the corresponding remote system, and presenting the editing result under the first system.
5. The method of any of claims 1 to 4, the associating the at least one remote system and at least one first application supported thereby with a response menu for the file, comprising:
determining applications capable of driving the file in the applications supported by the at least one remote system based on the attribute information of the file, and acquiring related information of at least the applications capable of driving the file and associating the related information with a response menu for the file.
6. The method of claim 5, wherein an order of displaying applications in the response menu is determined based on attribute information and execution information of the applications.
7. The method of claim 1, the method comprising:
in response to a fourth operation on the file, searching for an application capable of driving the file in a second application of the first system based on the attribute information of the file;
driving the file under the first system through the searched application;
if the application capable of driving the file is not searched in the first system, the application capable of driving the file is searched in the first application of the at least one remote system, the file is sent to the remote system where the searched application is located, and the result that the file is started by the searched application sent by the remote system is received.
8. The method of claim 7, further comprising:
when more than two first applications capable of driving the file are found in the at least one remote system, acquiring configuration information of the more than two first applications, and taking the application matched with the attribute information of the file as the application for driving the file;
and if the configuration information is determined not to be matched with the attribute information of the file, searching the historical information of more than two first applications for driving the file, and selecting the application with the largest number of times of driving the file as the application for driving the file.
9. A document processing apparatus comprising:
the file processing device comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for responding to a first operation on a file, and acquiring information of at least one remote system configured by a first system where the file is located and information of applications supported by the at least one remote system;
an associating unit for associating the at least one remote system and at least one first application supported thereby with a response menu for the file; the response menu comprises information of at least one second application supported by the first system;
a selection unit configured to select an application adapted to the file among the at least one first application in the response menu in response to a second operation for the file;
a driving unit for driving the file under the corresponding remote system with the selected application.
10. An electronic device comprising at least one processor and a memory for storing a computer program operable on the processor, the computer program being operable when executed by the processor to perform the file processing method of any of claims 1 to 8.
CN202111134968.XA 2021-09-27 2021-09-27 File processing method and device and electronic equipment Pending CN113849463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111134968.XA CN113849463A (en) 2021-09-27 2021-09-27 File processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111134968.XA CN113849463A (en) 2021-09-27 2021-09-27 File processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113849463A true CN113849463A (en) 2021-12-28

Family

ID=78979864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111134968.XA Pending CN113849463A (en) 2021-09-27 2021-09-27 File processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113849463A (en)

Similar Documents

Publication Publication Date Title
US11778430B2 (en) Layers in messaging applications
US10852912B2 (en) Image creation app in messaging app
RU2693909C2 (en) Command user interface for displaying and scaling selected control elements and commands
WO2018077085A1 (en) Application processing method, device and storage medium
US20110231424A1 (en) Method and system for automated file aggregation on a storage device
US20210232448A1 (en) Clipboard control method and system based on mobile terminal
EP3242197B1 (en) Desktop sharing method and mobile terminal
US10650085B2 (en) Providing interactive preview of content within communication
CN109361948B (en) Interface management method, intelligent terminal and readable storage medium
CN112506854A (en) Method, device, equipment and medium for storing page template file and generating page
CN106775711B (en) Information processing method, device and computer-readable storage medium for contact persons
CN113282546B (en) File processing method and device
US20230409814A1 (en) Document editing method and apparatus, device, and storage medium
CN112947918A (en) Data display method and device
CN113849463A (en) File processing method and device and electronic equipment
CN107368376B (en) Message sending method and device, expansion method and terminal
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN113179183B (en) Service switch state control device and method
CN115081423A (en) Document editing method and device, electronic equipment and storage medium
CN108647197B (en) Information processing method, device and storage medium
CN113377368A (en) Project development method, device, server and storage medium
CN113468109B (en) File management method and device, electronic equipment and storage medium
CN110569025B (en) Variable processing method and device, readable storage medium and electronic equipment
CN112947846B (en) Batch processing task execution method and device of object storage system and electronic equipment
CN112445790B (en) Report data storage method, device, equipment and medium

Legal Events

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