CN111324578A - File processing method and electronic equipment - Google Patents

File processing method and electronic equipment Download PDF

Info

Publication number
CN111324578A
CN111324578A CN202010130692.7A CN202010130692A CN111324578A CN 111324578 A CN111324578 A CN 111324578A CN 202010130692 A CN202010130692 A CN 202010130692A CN 111324578 A CN111324578 A CN 111324578A
Authority
CN
China
Prior art keywords
target
target file
file
identifier
electronic equipment
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
CN202010130692.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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010130692.7A priority Critical patent/CN111324578A/en
Publication of CN111324578A publication Critical patent/CN111324578A/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/13File access structures, e.g. distributed indices
    • 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

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)
  • Library & Information Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a file processing method and electronic equipment, wherein the method comprises the following steps: receiving a first input of a user to a quick access identifier, wherein the quick access identifier comprises path information associated with a target file; responding to the first input, and carrying out target processing on the target file according to the path information associated with the target file; wherein the target processing comprises at least one of: displaying the target file and storing the target file. The method and the device can indicate the path information associated with the target file based on the quick access identifier, and further can quickly search and/or store the target file based on the quick access identifier so as to process the target file and improve the file processing efficiency.

Description

File processing method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a file processing method and an electronic device.
Background
With the development of information technology, electronic devices have become indispensable tools for people. In the process of using the electronic device, if file searching is required, a corresponding storage directory is determined first, and the file is searched in a lower layer of the directory to obtain the file.
If a user needs to use a file stored on an electronic device at another device, such as a Personal Computer (PC), the file can be obtained through the PC application, and at this time, a search still needs to be performed at the electronic device.
For the situation that the user can not log in or the application of the PC end does not exist, the data line is generally needed to establish the connection between the electronic equipment and the PC end, then the electronic equipment directory is accessed layer by layer through the PC end, and finally the file is found.
In summary, the existing method for searching files on electronic equipment has the disadvantage of tedious searching.
Disclosure of Invention
The invention provides a file processing method and electronic equipment, which can overcome the defect of complex searching in a mode of searching files on the electronic equipment in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a file processing method, which is applied to an electronic device, and the method includes:
receiving a first input of a user to a quick access identifier, wherein the quick access identifier comprises path information associated with a target file;
responding to the first input, and carrying out target processing on the target file according to the path information associated with the target file;
wherein the target processing comprises at least one of: displaying the target file and storing the target file.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving first input of a shortcut access identifier by a user, and the shortcut access identifier comprises path information associated with a target file;
the first processing module is used for responding to the first input and carrying out target processing on the target file according to the path information associated with the target file;
wherein the target processing comprises at least one of: displaying the target file and storing the target file.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the file processing method described above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the file processing method are implemented.
In the embodiment of the invention, the target file is displayed and/or stored by receiving the first input of the quick access identifier containing the path information associated with the target file by the user, the path information associated with the target file can be indicated based on the quick access identifier, and then the target file can be quickly searched and/or stored based on the quick access identifier, so that the target file is processed, and the file processing efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of a file processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a sharing interface of an electronic device according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a file detail interface of an electronic device according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an electronic device according to an embodiment of the invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
An embodiment of the present invention provides a file processing method applied to an electronic device, and as shown in fig. 1, the method includes:
step 101, receiving a first input of a user to a shortcut access identifier, where the shortcut access identifier includes path information associated with a target file.
The electronic equipment of the embodiment of the invention displays the quick access identifier, the quick access identifier comprises path information associated with the target file, and the path information can be access path information of the target file and/or path information to be stored of the target file. The access path information of the target file is a storage path of a target folder where the target file is located, and the path information to be stored of the target file is a corresponding storage path when the target file is stored in the electronic device. The quick access identifier can be displayed in a specific form, and can also be named by a preset name so as to facilitate accurate identification by a user. The shortcut access identification can be stored in a preset folder, the preset folder is generated in advance, the preset folder can be named by adopting a preset name and can also be stored in a specific position, and a user can conveniently search the folder. The shortcut access identifier stored in the preset folder can be displayed by receiving input of a user to the preset folder, and a first input executed by the user is received after the shortcut access identifier is displayed.
102, responding to the first input, and carrying out target processing on the target file according to the path information associated with the target file; wherein the target processing comprises at least one of: displaying the target file and storing the target file.
After receiving a first input of the shortcut access identifier from the user, in response to the first input, displaying the target file according to the access path information associated with the target file, or storing the target file according to the path information to be stored associated with the target file, or displaying the target file according to the access path information associated with the target file and storing the target file according to the path information to be stored associated with the target file.
The file processing method provided by the embodiment of the invention can be applied to input of the quick access identifier, the target file is displayed and/or stored according to the input scene, the path information associated with the target file is indicated through the quick access identifier, the target file can be quickly searched and/or stored based on the quick access identifier, the target file is processed, and the file processing efficiency is improved.
The following explains a case where the shortcut access flag is the first flag including access path information of the target folder in which the target file is located.
Optionally, in an embodiment of the present invention, performing target processing on the target file according to the path information associated with the target file includes:
according to the access path information, jumping to a target interface of a target folder corresponding to the quick access identifier;
and displaying the target file on the target interface.
After first input executed by a user on the quick access identifier is received, the target interface corresponding to the target folder can be skipped to according to the access path information of the target folder where the target file is located and contained in the quick access identifier, and the target file is displayed on the target interface.
The file processing method provided by the embodiment of the invention can be applied to the scene of skipping to the target interface of the target folder to display the target file according to the access path information, and the target file to be accessed is displayed by skipping to the target interface corresponding to the target folder, so that the efficiency of searching the file is improved.
Wherein, at the target interface, the target file is displayed, including:
in a target interface, positioning a target position of a target file;
and jumping to a target position to display the target file.
When the target file is displayed on the target interface, a target position where the target file is located needs to be located in the target interface, and the process of locating the target position may be: the positioning is carried out according to the operation of the user in the target interface, and the positioning can also be carried out through the voice input of the user. After being positioned to the target location, the target file can be displayed jumping to the target location. If the target interface corresponding to the target folder comprises the file 1, the file 2 and the file 3, and the file 1, the file 2 and the file 3 are sequentially displayed in the target interface from top to bottom, the voice input of the user can be received, namely the file 1, the file 2 and the file 3 are positioned to the second file, so that the position where the file 2 is positioned can be determined as the target position, and then the target file is displayed by jumping to the target position, namely the file 2 is displayed.
The file processing method provided by the embodiment of the invention can be applied to positioning the target position on the target interface and displaying the scene of the target file on the target position, positioning the target position according to the operation of the user in the target interface or the voice input of the user, and skipping to the target position to display the target file after the positioning is finished, so that the display accuracy of the target file can be ensured, and the problem of excessive display error of the target interface file is avoided.
Optionally, in an embodiment of the present invention, if the electronic device includes the target file, before receiving the first input of the shortcut access identifier from the user, the method further includes:
under the condition that a trigger condition for accessing a target file is detected, a quick access identifier is generated;
wherein the trigger condition for accessing the target file comprises at least one of the following:
receiving a second input of sharing the target file by the user;
the third input of the user to the access path area of the target folder where the target file is located is a preset input characteristic;
and receiving a fourth input of controlling the target file to be in a floating state and the target file by the user.
If the electronic device includes a target file, a shortcut access identifier may be generated first, where the step of generating the shortcut access identifier may be performed when a trigger condition for accessing the target file is detected.
The trigger condition for accessing the target file may be at least one of the following conditions:
when a second input for sharing the target file is received, it may be determined that the trigger condition is met, where the sharing object of the target file may be another device that establishes a communication connection with the current electronic device. For example, as shown in fig. 2, when the user clicks send, an option "send to PC" is newly added to the send mode selection list, and when the user clicks this option, the operation of sharing to PC is triggered.
When a third input executed by the user on the access path area of the target folder where the target file is located meets the preset input feature, it may be determined that the trigger condition is met. For example, referring to fig. 3, when the detail interface of the target file is opened, if the user continuously clicks the access path area of the target folder where the target file is located for a preset number of times, for example, 3 times, it is determined that the trigger condition is satisfied.
When it is detected that the user control target file is in the floating state and a fourth input performed by the user on the target file in the floating state is received, it may be determined that the trigger condition is satisfied. For example, if the user presses the target file for a long time longer than a preset time (e.g., 5s), the electronic device may be triggered to vibrate, and at this time, the target file is automatically in a floating state.
When any one of the above conditions is met, a quick access identifier may be generated, where the quick access identifier may be in a graphic code form, a specific graphic form, or another form, and is not further limited herein.
The file processing method provided by the embodiment of the invention can be applied to a scene of generating the quick access identifier when the trigger condition of accessing the target file is detected, and can ensure that the quick access identifier is generated according to the access requirement by monitoring the electronic equipment and generating the quick access identifier when the trigger condition of accessing the target file is detected.
When the shortcut access identifier is generated, an absolute path of the target file needs to be acquired, where the absolute path of the target file is generally in the following format: zip/storage/empty/0/Download/XXX. The UI (User Interface) system automatically sends a message to the file system, the message carries the absolute path of the target file, and after receiving the message, the file system packs the access path information (the absolute path of the target file) of the target folder where the target file is located into a quick access identifier.
It should be noted that, in order to facilitate effective identification of the shortcut access identifier, a preset name may be used to name the shortcut access identifier, a shortcut access identifier with a specific form may be generated, and the shortcut access identifier may be displayed at a specific position. Furthermore, a preset folder can be generated, the quick access identifier is placed in the preset folder, the preset folder is named by adopting a preset name, if the name starting with the name of the head of the & ltaaa & gt is adopted, the preset folder is enabled to appear in the first row of the file directory, effective identification of a user is facilitated, and then the target file can be quickly searched and displayed through the quick access identifier.
After the target file is displayed on the target interface of the electronic device, the method further comprises the following steps:
copying the target file to a first position of the electronic equipment; or
And synchronizing the target file to other electronic equipment which is in communication connection with the electronic equipment.
After the target file is displayed, the target file can be copied to a first position of the electronic device, where the first position is a position different from access path information of a target folder where the target file is located, so that the target file can be shared among different positions of the electronic device. And the first position can be determined according to the selection of the user before the shortcut access identifier is generated, or can be determined according to the operation of the user when the target file has a use requirement.
The target file can be synchronized to other electronic equipment which is in communication connection with the current electronic equipment, and the target file can be shared among different equipment. Before the target file is synchronized, other electronic devices which are in communication connection with the current electronic device may not include the target file or may include the target file.
The following explains the implementation process by way of example, for example, a file named as a lovely parent in the path of the album/life/family/of the mobile phone is a target file, and the target file can be copied to the path of the album/person/parent of the mobile phone according to the requirement, so as to copy files in different directories of the same mobile phone. Or the target file can be copied to the path of my computer/picture/stored picture at the PC end according to the use requirement, so as to realize the file transmission between the mobile phone and the PC end, wherein the mobile phone and the PC end need to form communication connection. Or the target file can be copied to the path of the album/collected picture of another mobile phone according to the use requirement, so that the file transmission between the two mobile phones is realized.
Optionally, after the target file is displayed, the target file can be deleted, so that the target file to be deleted can be quickly searched through the quick access identifier to execute the deletion operation on the target file, and the deletion efficiency is improved.
The file processing method provided by the embodiment of the invention can be applied to a scene of sharing the target file, the information sharing between different positions of the electronic equipment can be realized by copying the target file to other positions of the electronic equipment, and the sharing of the target file between different equipment can be realized by synchronizing the target file to other electronic equipment.
Optionally, in an embodiment of the present invention, if the electronic device does not include the target file; before receiving the first input of the shortcut access identifier from the user, the method further includes:
receiving first notification information sent by target electronic equipment containing a target file, wherein the first notification information is used for prompting that the target file is accessed through the electronic equipment;
displaying a file directory of the target electronic equipment according to the first notification information, and generating a quick access identifier according to the file directory;
the target file is stored in the file directory, and the target electronic equipment is in communication connection with the electronic equipment.
Under the condition that the electronic equipment does not comprise the target file, before first input of a user to the quick access identifier is received, first notification information sent by target electronic equipment in communication connection with the electronic equipment can be received, wherein the target electronic equipment comprises the target file, and the first notification information is used for prompting that the target file is accessed through the electronic equipment. The electronic device can determine that the target file stored on the target electronic device needs to be accessed according to the received first notification information. Due to the fact that the electronic equipment is in communication connection with the target electronic equipment, the file directory of the target electronic equipment can be displayed according to the received first notification information, the target file is stored in the file directory of the target electronic equipment, and the quick access identifier is generated according to the file directory. The quick access identifier may be deleted when the electronic device is disconnected from the target electronic device.
The file processing method provided by the embodiment of the invention can be applied to a scene of generating the quick access identifier according to the first notification information of the target electronic equipment, can display the file directory of the target electronic equipment based on the received first notification information, and can generate the quick access identifier containing the access path information of the target folder where the target file is located according to the file directory, thereby providing a basis for accessing the target file through the quick access identifier.
Wherein, after the target file is displayed on the electronic device, the method further comprises:
and copying the target file to a second position of the electronic equipment.
After the target file is displayed on the electronic device through the input of the shortcut access identifier, the target file may be copied to a second location of the electronic device, where the second location may be predetermined or determined when the electronic device needs to use the target file. By copying the target file to the electronic device, sharing of the target file between the target electronic device and the current electronic device may be achieved.
The electronic device may be a mobile phone or a PC, and the target electronic device may also be a mobile phone or a PC. When the electronic equipment and the target electronic equipment are both mobile phones, the target file on one mobile phone can be copied to the other mobile phone on the basis of communication connection of the two mobile phones. For example, a file named as a lovely parent is included in a path of an album/life/family of a mobile phone a (target electronic device), when the file needs to be used on a mobile phone B, a file directory of the mobile phone a can be displayed on the mobile phone B according to a communication connection between the two mobile phones, the file can be displayed according to a quick access identifier including access path information, and the file is finally copied to the mobile phone B, so that file transmission between the two mobile phones is realized.
When the electronic equipment is a PC (personal computer) and the target electronic equipment is a mobile phone, files on the mobile phone can be copied to the PC; when the electronic equipment is a mobile phone and the target electronic equipment is a PC (personal computer), files on the PC can be copied to the mobile phone, so that file transmission between the mobile phone and the PC is realized. When the electronic equipment and the target electronic equipment are both PCs, file transmission between the two PCs can be realized. The above process is similar to the case of file transfer between two handsets and will not be described in detail here.
After the target file is displayed on the electronic device, a deletion operation may be performed on the target file, so as to delete information on the target electronic device by performing an operation on the electronic device.
The file processing method of the embodiment of the invention can be applied to a scene of copying or deleting the target file on the target electronic equipment, the sharing of the target file among different equipment can be realized by copying the file, and the information on the target electronic equipment can be deleted on the electronic equipment by deleting the file.
When the quick access identifier contains the access path information of the target folder where the target file is located, the corresponding implementation process can indicate the access path information of the target folder where the target file is located through the quick access identifier, and then the target file can be quickly searched based on the quick access identifier, so that the target file is displayed, and the file searching efficiency is improved.
The following explains a case where the shortcut access flag is the second flag including the path information to be stored of the target file.
Optionally, in an embodiment of the present invention, performing target processing on the target file according to the path information associated with the target file includes:
skipping to a preset storage position corresponding to the quick access identifier according to the path information to be stored;
and storing the target file at a preset storage position.
After first input of a user to the quick access identifier is received, according to path information to be stored of a target file contained in the quick access identifier, jumping to a preset storage position corresponding to the quick access identifier, and storing the target file to the preset storage position.
It should be noted that, before jumping to the preset storage location, the target file needs to be acquired, if the electronic device itself includes the target file, the acquisition process does not need to be executed, and if the electronic device itself does not include the target file, a communication connection needs to be established with the target electronic device including the target file to acquire the target file for storage.
The file processing method provided by the embodiment of the invention can be applied to a scene of storing the target file according to the path information to be stored, can jump to the preset storage position corresponding to the quick access identifier through the path information to be stored, and can store the target file in the preset storage position, so that the storage efficiency of the target file is improved.
Optionally, in an embodiment of the present invention, if the electronic device includes the target file, before receiving the first input of the shortcut access identifier from the user, the method further includes:
and determining a preset storage position on the electronic equipment, and generating a quick access identifier according to the preset storage position.
Under the condition that the electronic device includes the target file, the electronic device needs to generate a shortcut access identifier containing path information to be stored of the target file in advance, which specifically includes: before first input of a user to the quick access identifier is received, a preset storage position is determined on the electronic equipment, and then the quick access identifier containing path information to be stored is generated according to the determined preset storage position.
When the preset storage position is determined on the electronic equipment, the selection operation of a user in a position list can be received, the position list comprises a plurality of positions in the electronic equipment, and the position receiving the selection operation is determined to be the preset storage position according to the selection operation of the user. A default location may also be set by the user, and the set default location may be determined as the preset storage location.
The file processing method provided by the embodiment of the invention can be applied to a scene of generating the quick access identifier according to the preset storage position, the preset storage position is determined in advance according to the operation of a user, the quick access identifier containing the path information to be stored of the target file is generated according to the preset storage position, a basis can be provided for quickly storing the target file, and the target file is ensured to be accurately and quickly stored.
Optionally, in an embodiment of the present invention, if the electronic device does not include the target file, before receiving the first input of the shortcut access identifier from the user, the method further includes:
receiving second notification information sent by target electronic equipment containing the target file, wherein the second notification information is used for prompting that the target file is stored through the electronic equipment;
displaying a file directory of the target electronic equipment according to the second notification information, and determining a preset storage position for storing the target file;
generating a quick access identifier according to a preset storage position;
the target file is stored in the file directory, and the electronic equipment is in communication connection with the target electronic equipment.
Under the condition that the electronic equipment does not comprise the target file, second notification information sent by target electronic equipment which forms communication connection with the electronic equipment can be received before first input of the shortcut access identifier by a user is received, wherein the target electronic equipment comprises the target file, and the second notification information is used for prompting the storage of the target file through the electronic equipment. The electronic equipment can determine that the target file needs to be stored according to the received second notification information. Due to the fact that the electronic equipment is in communication connection with the target electronic equipment, the file directory of the target electronic equipment can be displayed according to the received second notification information, the target file is stored in the file directory of the target electronic equipment, the preset storage position for storing the target file is determined on the electronic equipment according to the second notification information, and then the quick access identifier is generated according to the determined preset storage position.
The file processing method provided by the embodiment of the invention can be applied to a scene of generating the quick access identifier according to the notification information, the preset storage position is determined through the received second notification information, the quick access identifier containing the path information to be stored of the target file is generated according to the preset storage position, a basis can be provided for storing the target file through the quick access identifier, and the target file is ensured to be accurately and quickly stored.
The implementation process corresponding to the shortcut access identifier containing the path information to be stored of the target file can indicate the path information to be stored of the target file through the shortcut access identifier, so that the target file can be accurately and quickly stored to the preset storage position based on the shortcut access identifier, and the file storage efficiency is improved.
The following explains a case where the shortcut access identifier includes a first identifier and a second identifier, where the first identifier includes access path information of a target folder where the target file is located, and the second identifier includes path information to be stored of the target file.
Optionally, in an embodiment of the present invention, receiving a first input of the shortcut access identifier by the user includes: a first input of the first identifier and the second identifier by the user is received.
Under the condition that the quick access identifier comprises a first identifier and a second identifier, receiving a first input of the quick access identifier is that: and sequentially receiving first input of a first identifier of access path information of a target folder containing the target file and first input of a second identifier of path information to be stored containing the target file by a user.
Wherein, in response to the first input, performing target processing on the target file according to the path information associated with the target file, includes:
responding to a first input of the first identifier, jumping to a target interface of a target folder corresponding to the first identifier, and displaying a target file;
and responding to the first input of the second identifier, jumping to a preset storage position corresponding to the second identifier, and storing the target file displayed on the target interface.
When the target file is displayed and stored according to the first input of the user to the first identifier and the second identifier in sequence, the target file can be jumped to the target interface of the target folder corresponding to the first identifier according to the first input of the user to the first identifier so as to display the target file, and the target file displayed on the target interface is stored to the preset storage position corresponding to the second identifier according to the first input of the user to the second identifier. The file processing method provided by the embodiment of the invention can be applied to scenes for displaying and storing the target files according to the input of a user, can jump to the target interface corresponding to the target folder through the first identifier to realize the quick display of the target files to be accessed, can jump to the preset storage position through the second identifier, and stores the target files in the preset storage position to realize the quick storage of the target files.
Optionally, in an embodiment of the present invention, if the electronic device includes the target file, before receiving the first input of the shortcut access identifier from the user, the method further includes:
under the condition that a trigger condition for accessing a target file is detected, generating a first identifier;
and determining a preset storage position, and generating a second identifier according to the preset storage position.
Under the condition that the electronic equipment comprises the target file, before first input of a user on the quick access identifier is received, the electronic equipment needs to be monitored to detect a trigger condition for accessing the target file, the first identifier can be generated when the trigger condition is detected, and the first identifier can be generated according to access requirements.
In the case that the electronic device includes the target file, before receiving a first input performed by a user on the shortcut access identifier, a preset storage location needs to be determined on the electronic device, and then a second identifier including path information to be stored is generated according to the determined preset storage location.
The file processing method provided by the embodiment of the invention can be applied to a scene of generating two identifiers, can generate the first identifier containing the access path information of the target folder where the target file is located according to the access requirement of the target file by monitoring the electronic equipment, provides a basis for quickly accessing the target file, can provide a basis for quickly storing the target file by determining the preset storage position in advance and generating the second identifier containing the path information to be stored of the target file according to the preset storage position, and ensures that the target file is quickly displayed and stored.
Optionally, in an embodiment of the present invention, if the electronic device does not include the target file, before receiving the first input of the shortcut access identifier from the user, the method further includes:
receiving third notification information sent by target electronic equipment containing the target file, wherein the third notification information is used for prompting that the target file is accessed and stored through the electronic equipment, and the target electronic equipment is in communication connection with the electronic equipment;
displaying a file directory of the target electronic equipment according to the third notification information, generating a first identifier according to the file directory, and storing the target file under the file directory;
and determining a preset storage position for storing the target file according to the third notification information, and generating a second identifier according to the preset storage position.
Under the condition that the electronic equipment does not comprise the target file, third notification information sent by target electronic equipment which forms communication connection with the electronic equipment can be received before first input of the shortcut access identifier by a user is received, wherein the target electronic equipment comprises the target file, and the third notification information is used for prompting the target file to be accessed and stored through the electronic equipment. The electronic equipment can determine that the target file needs to be accessed and stored according to the received third notification information. Due to the fact that the electronic equipment is in communication connection with the target electronic equipment, the file directory of the target electronic equipment can be displayed according to the received third notification information, the target file is stored in the file directory of the target electronic equipment, and the first identification containing the access path information of the target folder where the target file is located is generated according to the file directory. And determining a preset storage position for storing the target file on the electronic equipment according to the third notification information, and then generating a second identifier containing path information to be stored of the target file according to the determined preset storage position. Wherein the first identifier may be deleted when the electronic device is disconnected from the target electronic device.
The file processing method provided by the embodiment of the invention can be applied to a scene of generating two identifications according to the notification information, can display the file directory of the target electronic equipment through the received third notification information, generates the first identification containing the access path information of the target folder where the target file is located according to the file directory, determines the preset storage position according to the third notification information, generates the second identification containing the path information to be stored of the target file according to the preset storage position, realizes providing a basis for quickly accessing and storing the target file, and ensures that the target file is quickly displayed and stored.
For example, when the target file needs to be stored in the path of the album/person/parent of the mobile phone, a first identifier may be generated according to the path of the album/life/family/parent, a second identifier may be generated according to the path of the album/person/parent, the target file may be displayed according to the operation on the first identifier, and the target file may be stored in the path of the album/person/parent by jumping to the path of the album/person/parent according to the operation on the second identifier.
And files can be displayed and stored between the mobile phone and the PC terminal and between the mobile phone and the PC terminal according to the first identifier and the second identifier, which are not elaborated herein.
The implementation process corresponding to the shortcut access identifier including the first identifier and the second identifier can indicate the access path information of the target folder where the target file is located and the path information to be stored of the target file through the shortcut access identifier, so that the target file can be quickly searched and stored based on the shortcut access identifier, and quick access and storage of the target file are realized.
It should be noted that, if the target file does not exceed the preset size (for example, 50M), a preset folder may be established, and the target file is directly copied into the preset folder, so that the user may quickly access the target file through the preset folder, and then copy the target file. If the target file exceeds the preset size, the quick access identifier can be generated.
In summary, in the implementation process of the file processing method according to the embodiment of the present invention, by receiving the first input of the shortcut access identifier including the path information associated with the target file by the user, the target file may be displayed and/or stored, and the path information associated with the target file may be indicated based on the shortcut access identifier, so that the target file may be quickly searched and/or stored based on the shortcut access identifier, so as to implement high-speed processing on the target file, and improve the efficiency of file processing.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, the electronic device 400 includes:
a first receiving module 410, configured to receive a first input of a shortcut access identifier by a user, where the shortcut access identifier includes path information associated with a target file;
a first processing module 420, configured to, in response to a first input, perform target processing on a target file according to path information associated with the target file;
wherein the target processing comprises at least one of: displaying the target file and storing the target file.
Optionally, the shortcut access identifier is a first identifier that includes access path information of a target folder where the target file is located;
the first processing module includes:
the first skip submodule is used for skipping to a target interface of a target folder corresponding to the quick access identifier according to the access path information;
and the first display submodule is used for displaying the target file on the target interface.
Optionally, the first display sub-module includes:
the positioning unit is used for positioning the target position of the target file in the target interface;
and the jumping unit is used for jumping to a target position to display the target file.
Optionally, if the electronic device includes the target file, the electronic device further includes:
the first generation module is used for generating the quick access identifier under the condition that a trigger condition for accessing the target file is detected before the first receiving module receives the first input of the quick access identifier from the user;
optionally, the trigger condition for accessing the target file includes at least one of the following:
receiving a second input of sharing the target file by the user;
the third input of the user to the access path area of the target folder where the target file is located is a preset input characteristic;
and receiving a fourth input of controlling the target file to be in a floating state and the target file by the user.
Optionally, the electronic device further includes:
the first copying module is used for copying the target file to a first position of the electronic equipment after the target file is displayed on a target interface of the electronic equipment;
or
And the synchronization module is used for synchronizing the target file to other electronic equipment in communication connection with the electronic equipment after the target file is displayed on a target interface of the electronic equipment.
Optionally, if the electronic device does not include the target file, the electronic device further includes:
the second receiving module is used for receiving first notification information sent by target electronic equipment containing the target file before the first receiving module receives first input of the shortcut access identifier by a user, and the first notification information is used for prompting that the target file is accessed through the electronic equipment;
the second generation module is used for displaying the file directory of the target electronic equipment according to the first notification information and generating a quick access identifier according to the file directory;
the target file is stored in the file directory, and the target electronic equipment is in communication connection with the electronic equipment.
Optionally, the electronic device further includes:
and the second copying module is used for copying the target file to a second position of the electronic equipment after the target file is displayed on the electronic equipment.
Optionally, the quick access identifier is a second identifier containing path information to be stored of the target file;
the first processing module includes:
the second skipping submodule is used for skipping to a preset storage position corresponding to the quick access identifier according to the path information to be stored;
and the first storage submodule is used for storing the target file at a preset storage position.
Optionally, if the electronic device includes the target file, the electronic device further includes:
and the third generating module is used for determining a preset storage position on the electronic equipment before the first receiving module receives the first input of the user to the quick access identifier, and generating the quick access identifier according to the preset storage position.
Optionally, if the electronic device does not include the target file, the electronic device further includes:
the third receiving module is used for receiving second notification information sent by target electronic equipment containing the target file before the first receiving module receives the first input of the user to the shortcut access identifier, and the second notification information is used for prompting that the target file is stored through the electronic equipment;
the second processing module is used for displaying the file directory of the target electronic equipment according to the second notification information and determining a preset storage position for storing the target file;
the fourth generation module is used for generating a quick access identifier according to the preset storage position;
the target file is stored in the file directory, and the electronic equipment is in communication connection with the target electronic equipment.
Optionally, the shortcut access identifier includes a first identifier and a second identifier, where the first identifier includes access path information of a target folder where the target file is located, and the second identifier includes path information to be stored of the target file;
the first receiving module is further configured to:
a first input of the first identifier and the second identifier by the user is received.
Optionally, the first processing module includes:
the first processing submodule is used for responding to first input of the first identifier, jumping to a target interface of a target folder corresponding to the first identifier and displaying a target file;
and the second processing submodule is used for responding to the first input of the second identifier, jumping to a preset storage position corresponding to the second identifier and storing the target file displayed on the target interface.
Optionally, if the electronic device includes the target file, the electronic device further includes:
the fifth generation module is used for generating the first identifier under the condition that the trigger condition for accessing the target file is detected before the first receiving module receives the first input of the shortcut access identifier from the user;
and the sixth generating module is used for determining a preset storage position and generating a second identifier according to the preset storage position.
Optionally, if the electronic device does not include the target file, the electronic device further includes:
the fourth receiving module is used for receiving third notification information sent by target electronic equipment containing the target file before the first receiving module receives the first input of the user to the quick access identifier, the third notification information is used for prompting the target file to be accessed and stored through the electronic equipment, and the target electronic equipment is in communication connection with the electronic equipment;
the third processing module is used for displaying a file directory of the target electronic equipment according to the third notification information, generating a first identifier according to the file directory, and storing the target file under the file directory;
and the seventh generating module is used for determining a preset storage position for storing the target file according to the third notification information and generating a second identifier according to the preset storage position.
According to the electronic device provided by the embodiment of the invention, the target file can be displayed and/or stored by receiving the first input of the quick access identifier containing the path information associated with the target file by the user, the purpose of indicating the path information associated with the target file based on the quick access identifier is realized, and then the target file can be quickly searched and/or stored based on the quick access identifier, so that the target file is quickly processed, and the file processing efficiency is improved.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention. The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511.
Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The user input unit 507 is used to: receiving a first input of a user to a quick access identifier, wherein the quick access identifier comprises path information associated with a target file; processor 510 is configured to: responding to the first input, and carrying out target processing on the target file according to the path information associated with the target file; wherein the target processing comprises at least one of: displaying the target file and storing the target file.
Optionally, the shortcut access identifier is a first identifier that includes access path information of a target folder where the target file is located; when performing target processing on the target file according to the path information associated with the target file, the processor 510 is further configured to: according to the access path information, jumping to a target interface of a target folder corresponding to the quick access identifier; the control display unit 506 displays the target file on the target interface.
Optionally, in the target interface, when the target file is displayed, the processor 510 is further configured to: in a target interface, positioning a target position of a target file; jumping to the target position controls the display unit 506 to display the target file.
Optionally, if the electronic device includes a target file, before receiving the first input of the shortcut access identifier from the user, the processor 510 is further configured to: under the condition that a trigger condition for accessing a target file is detected, a quick access identifier is generated; wherein the trigger condition for accessing the target file comprises at least one of the following:
receiving a second input of sharing the target file by the user;
the third input of the user to the access path area of the target folder where the target file is located is a preset input characteristic;
and receiving a fourth input of controlling the target file to be in a floating state and the target file by the user.
Optionally, after the target interface of the electronic device displays the target file, the processor 510 is further configured to: copying the target file to a first position of the electronic equipment; or synchronize the target file to other electronic devices communicatively coupled to the electronic device.
Optionally, if the electronic device does not include the target file; before receiving the first input of the shortcut access identifier from the user, the user input unit 507 is further configured to: receiving first notification information sent by target electronic equipment containing a target file, wherein the first notification information is used for prompting that the target file is accessed through the electronic equipment; processor 510 is further configured to: according to the first notification information, the display unit 506 is controlled to display the file directory of the target electronic device, and a quick access identifier is generated according to the file directory;
the target file is stored in the file directory, and the target electronic equipment is in communication connection with the electronic equipment.
Optionally, after displaying the target file on the electronic device, the processor 510 is further configured to: and copying the target file to a second position of the electronic equipment.
Optionally, the quick access identifier is a second identifier containing path information to be stored of the target file; when performing target processing on the target file according to the path information associated with the target file, the processor 510 is further configured to: skipping to a preset storage position corresponding to the quick access identifier according to the path information to be stored; and storing the target file at a preset storage position.
Optionally, if the electronic device includes a target file, before receiving the first input of the shortcut access identifier from the user, the processor 510 is further configured to: and determining a preset storage position on the electronic equipment, and generating a quick access identifier according to the preset storage position.
Optionally, if the electronic device does not include the target file, before receiving the first input of the shortcut access identifier from the user, the user input unit 507 is further configured to: receiving second notification information sent by target electronic equipment containing the target file, wherein the second notification information is used for prompting that the target file is stored through the electronic equipment; processor 510 is further configured to: controlling the display unit 506 to display the file directory of the target electronic device according to the second notification information, and determining a preset storage location for storing the target file; generating a quick access identifier according to a preset storage position;
the target file is stored in the file directory, and the electronic equipment is in communication connection with the target electronic equipment.
Optionally, the shortcut access identifier includes a first identifier and a second identifier, where the first identifier includes access path information of a target folder where the target file is located, and the second identifier includes path information to be stored of the target file; receiving a first input of the shortcut access identifier by the user, the user input unit 507 is further configured to: a first input of the first identifier and the second identifier by the user is received.
Optionally, in response to the first input, when performing target processing on the target file according to the path information associated with the target file, the processor 510 is further configured to: in response to a first input to the first identifier, jumping to a target interface of a target folder corresponding to the first identifier, and controlling the display unit 506 to display a target file; and responding to the first input of the second identifier, jumping to a preset storage position corresponding to the second identifier, and storing the target file displayed on the target interface.
Optionally, if the electronic device includes a target file, before receiving the first input of the shortcut access identifier from the user, the processor 510 is further configured to: under the condition that a trigger condition for accessing a target file is detected, generating a first identifier; and determining a preset storage position, and generating a second identifier according to the preset storage position.
Optionally, if the electronic device does not include the target file, before receiving the first input of the shortcut access identifier from the user, the user input unit 507 is further configured to: receiving third notification information sent by target electronic equipment containing the target file, wherein the third notification information is used for prompting that the target file is accessed and stored through the electronic equipment, and the target electronic equipment is in communication connection with the electronic equipment; processor 510 is further configured to: according to the third notification information, the display unit 506 is controlled to display a file directory of the target electronic device, a first identifier is generated according to the file directory, and the target file is stored in the file directory; and determining a preset storage position for storing the target file according to the third notification information, and generating a second identifier according to the preset storage position.
Therefore, the target file can be displayed and/or stored by receiving the first input of the quick access identifier containing the path information associated with the target file by the user, the path information associated with the target file can be indicated based on the quick access identifier, and then the target file can be quickly searched and/or stored based on the quick access identifier, so that the target file can be quickly processed, and the processing efficiency is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the file processing method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the file processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (30)

1. A file processing method is applied to electronic equipment, and is characterized by comprising the following steps:
receiving a first input of a user to a quick access identifier, wherein the quick access identifier comprises path information associated with a target file;
responding to the first input, and carrying out target processing on the target file according to the path information associated with the target file;
wherein the target treatment comprises at least one of: displaying the target file and storing the target file.
2. The method according to claim 1, wherein the shortcut access identifier is a first identifier containing access path information of a target folder in which the target file is located;
the target processing of the target file according to the path information associated with the target file includes:
jumping to a target interface of the target folder corresponding to the quick access identifier according to the access path information;
and displaying the target file on the target interface.
3. The method of claim 2, wherein said displaying said object file at said object interface comprises:
positioning a target position of the target file in the target interface;
and jumping to the target position to display the target file.
4. The method of claim 2, wherein before receiving the first input of the shortcut access identifier from the user if the electronic device includes the target file, the method further comprises:
under the condition that a trigger condition for accessing the target file is detected, generating the quick access identifier;
wherein the trigger condition for accessing the target file comprises at least one of the following:
receiving a second input of the user for sharing the target file;
the third input of the user to the access path area of the target folder where the target file is located is a preset input characteristic;
and receiving fourth input of controlling the target file to be in a floating state and inputting the target file by a user.
5. The method of claim 4, further comprising, after the target interface of the electronic device displays the target file:
copying the target file to a first position of the electronic equipment;
or
And synchronizing the target file to other electronic equipment in communication connection with the electronic equipment.
6. The method of claim 2, wherein if the electronic device does not include the target file;
before the receiving of the first input of the shortcut access identifier by the user, the method further includes:
receiving first notification information sent by target electronic equipment containing the target file, wherein the first notification information is used for prompting that the target file is accessed through the electronic equipment;
displaying a file directory of the target electronic equipment according to the first notification information, and generating the quick access identifier according to the file directory;
and the target file is stored in the file directory, and the target electronic equipment is in communication connection with the electronic equipment.
7. The method of claim 6, further comprising, after displaying the object file on the electronic device:
and copying the target file to a second position of the electronic equipment.
8. The method according to claim 1, wherein the shortcut access identifier is a second identifier containing path information to be stored in the target file;
the target processing of the target file according to the path information associated with the target file includes:
skipping to a preset storage position corresponding to the quick access identifier according to the path information to be stored;
and storing the target file at the preset storage position.
9. The method of claim 8, wherein before receiving the first input of the shortcut access identifier from the user if the electronic device includes the target file, the method further comprises:
and determining the preset storage position on the electronic equipment, and generating the quick access identifier according to the preset storage position.
10. The method of claim 8, wherein before receiving the first input of the shortcut access identifier from the user if the electronic device does not include the target file, the method further comprises:
receiving second notification information sent by target electronic equipment containing the target file, wherein the second notification information is used for prompting that the target file is stored through the electronic equipment;
displaying a file directory of the target electronic equipment according to the second notification information, and determining the preset storage position for storing the target file;
generating the quick access identifier according to the preset storage position;
and the target file is stored in the file directory, and the electronic equipment is in communication connection with the target electronic equipment.
11. The method according to claim 1, wherein the shortcut access identifier includes a first identifier and a second identifier, the first identifier includes access path information of a target folder where the target file is located, and the second identifier includes path information to be stored of the target file;
the receiving of the first input of the shortcut access identifier by the user includes:
and receiving first input of the first identification and the second identification by a user.
12. The method of claim 11, wherein said target processing the target file according to the path information associated with the target file in response to the first input comprises:
responding to a first input of the first identifier, jumping to a target interface of the target folder corresponding to the first identifier, and displaying the target file;
and responding to the first input of the second identifier, jumping to a preset storage position corresponding to the second identifier, and storing the target file displayed on a target interface.
13. The method of claim 11, wherein before receiving the first input of the shortcut access identifier from the user if the electronic device includes the target file, the method further comprises:
under the condition that a trigger condition for accessing the target file is detected, generating the first identifier;
and determining a preset storage position, and generating the second identifier according to the preset storage position.
14. The method of claim 11, wherein before receiving the first input of the shortcut access identifier from the user if the electronic device does not include the target file, the method further comprises:
receiving third notification information sent by target electronic equipment containing the target file, wherein the third notification information is used for prompting that the target file is accessed and stored through the electronic equipment, and the target electronic equipment is in communication connection with the electronic equipment;
displaying a file directory of the target electronic equipment according to the third notification information, generating the first identifier according to the file directory, and storing the target file in the file directory;
and determining a preset storage position for storing the target file according to the third notification information, and generating the second identifier according to the preset storage position.
15. An electronic device, characterized in that the electronic device comprises:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving first input of a shortcut access identifier by a user, and the shortcut access identifier comprises path information associated with a target file;
the first processing module is used for responding to the first input and carrying out target processing on the target file according to the path information associated with the target file;
wherein the target treatment comprises at least one of: displaying the target file and storing the target file.
16. The electronic device according to claim 15, wherein the shortcut access identifier is a first identifier that includes access path information of a target folder in which the target file is located;
the first processing module comprises:
the first skip submodule is used for skipping to a target interface of the target folder corresponding to the quick access identifier according to the access path information;
and the first display submodule is used for displaying the target file on the target interface.
17. The electronic device of claim 16, wherein the first display sub-module comprises:
the positioning unit is used for positioning the target position of the target file in the target interface;
and the jumping unit is used for jumping to the target position and displaying the target file.
18. The electronic device of claim 16, wherein if the electronic device includes the object file, further comprising:
the first generation module is used for generating the quick access identifier under the condition that a trigger condition for accessing the target file is detected before the first receiving module receives the first input of the quick access identifier from the user;
wherein the trigger condition for accessing the target file comprises at least one of the following:
receiving a second input of the user for sharing the target file;
the third input of the user to the access path area of the target folder where the target file is located is a preset input characteristic;
and receiving fourth input of controlling the target file to be in a floating state and inputting the target file by a user.
19. The electronic device of claim 18, further comprising:
the first copying module is used for copying the target file to a first position of the electronic equipment after the target file is displayed on the target interface of the electronic equipment;
or
And the synchronization module is used for synchronizing the target file to other electronic equipment in communication connection with the electronic equipment after the target file is displayed on the target interface of the electronic equipment.
20. The electronic device of claim 16, further comprising, if the electronic device does not include the object file:
the second receiving module is used for receiving first notification information sent by target electronic equipment containing the target file before the first receiving module receives first input of a shortcut access identifier from a user, wherein the first notification information is used for prompting that the target file is accessed through the electronic equipment;
the second generation module is used for displaying a file directory of the target electronic equipment according to the first notification information and generating the quick access identifier according to the file directory;
and the target file is stored in the file directory, and the target electronic equipment is in communication connection with the electronic equipment.
21. The electronic device of claim 20, further comprising:
the second copying module is used for copying the target file to a second position of the electronic equipment after the target file is displayed on the electronic equipment.
22. The electronic device according to claim 15, wherein the shortcut access identifier is a second identifier containing path information to be stored in the target file;
the first processing module comprises:
the second skipping submodule is used for skipping to a preset storage position corresponding to the quick access identifier according to the path information to be stored;
and the first storage submodule is used for storing the target file at the preset storage position.
23. The electronic device of claim 22, wherein if the electronic device includes the object file, further comprising:
the third generating module is configured to determine the preset storage location on the electronic device before the first receiving module receives the first input of the shortcut access identifier from the user, and generate the shortcut access identifier according to the preset storage location.
24. The electronic device of claim 22, further comprising, if the electronic device does not include the object file:
a third receiving module, configured to receive, before the first receiving module receives a first input of a shortcut access identifier from a user, second notification information sent by a target electronic device that includes the target file, where the second notification information is used to prompt the electronic device to store the target file;
the second processing module is used for displaying a file directory of the target electronic equipment according to the second notification information and determining the preset storage position for storing the target file;
the fourth generation module is used for generating the quick access identifier according to the preset storage position;
and the target file is stored in the file directory, and the electronic equipment is in communication connection with the target electronic equipment.
25. The electronic device according to claim 15, wherein the shortcut access identifier includes a first identifier and a second identifier, the first identifier includes access path information of a target folder where the target file is located, and the second identifier includes path information to be stored of the target file;
the first receiving module is further configured to:
and receiving first input of the first identification and the second identification by a user.
26. The electronic device of claim 25, wherein the first processing module comprises:
the first processing submodule is used for responding to first input of the first identifier, jumping to a target interface of the target folder corresponding to the first identifier and displaying the target file;
and the second processing submodule is used for responding to the first input of the second identifier, jumping to a preset storage position corresponding to the second identifier and storing the target file displayed on a target interface.
27. The electronic device of claim 25, wherein if the electronic device includes the object file, further comprising:
a fifth generating module, configured to generate the first identifier when a trigger condition for accessing the target file is detected before the first receiving module receives a first input of a shortcut access identifier from a user;
and the sixth generating module is used for determining a preset storage position and generating the second identifier according to the preset storage position.
28. The electronic device of claim 25, further comprising, if the electronic device does not include the object file:
a fourth receiving module, configured to receive third notification information sent by a target electronic device that includes the target file before the first receiving module receives a first input of a shortcut access identifier from a user, where the third notification information is used to prompt the target file to be accessed and stored by the electronic device, and the target electronic device is in communication connection with the electronic device;
the third processing module is used for displaying a file directory of the target electronic equipment according to the third notification information, generating the first identifier according to the file directory, and storing the target file in the file directory;
and the seventh generating module is configured to determine a preset storage location for storing the target file according to the third notification information, and generate the second identifier according to the preset storage location.
29. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the file processing method according to any one of claims 1 to 14.
30. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the file processing method according to any one of claims 1 to 14.
CN202010130692.7A 2020-02-28 2020-02-28 File processing method and electronic equipment Pending CN111324578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010130692.7A CN111324578A (en) 2020-02-28 2020-02-28 File processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010130692.7A CN111324578A (en) 2020-02-28 2020-02-28 File processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111324578A true CN111324578A (en) 2020-06-23

Family

ID=71167202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010130692.7A Pending CN111324578A (en) 2020-02-28 2020-02-28 File processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111324578A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711364A (en) * 2020-12-31 2021-04-27 联想(北京)有限公司 Switching method, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550252A (en) * 2015-12-09 2016-05-04 北京金山安全软件有限公司 File positioning method and device and electronic equipment
CN107766523A (en) * 2017-10-25 2018-03-06 努比亚技术有限公司 A kind of file management method, mobile terminal and computer-readable recording medium
CN109542311A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 A kind of document handling method and electronic equipment
CN109669748A (en) * 2018-11-30 2019-04-23 维沃移动通信有限公司 A kind of display interface processing method and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550252A (en) * 2015-12-09 2016-05-04 北京金山安全软件有限公司 File positioning method and device and electronic equipment
CN107766523A (en) * 2017-10-25 2018-03-06 努比亚技术有限公司 A kind of file management method, mobile terminal and computer-readable recording medium
CN109542311A (en) * 2018-11-23 2019-03-29 维沃移动通信有限公司 A kind of document handling method and electronic equipment
CN109669748A (en) * 2018-11-30 2019-04-23 维沃移动通信有限公司 A kind of display interface processing method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711364A (en) * 2020-12-31 2021-04-27 联想(北京)有限公司 Switching method, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108174103B (en) Shooting prompting method and mobile terminal
EP3699743B1 (en) Image viewing method and mobile terminal
CN108763316B (en) Audio list management method and mobile terminal
CN109857297B (en) Information processing method and terminal equipment
CN108279948B (en) Application program starting method and mobile terminal
CN109814786B (en) Image storage method and terminal equipment
CN110308834B (en) Setting method of application icon display mode and terminal
CN110096203B (en) Screenshot method and mobile terminal
CN108491148B (en) Application sharing method and terminal
CN109324999B (en) Method and electronic equipment for executing operation based on download instruction
CN108174109B (en) Photographing method and mobile terminal
WO2019120190A1 (en) Dialing method and mobile terminal
CN110928842A (en) Display method and terminal equipment
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN111562959A (en) Icon management method and electronic equipment
CN109284146B (en) Light application starting method and mobile terminal
CN109542311B (en) File processing method and electronic equipment
CN109491964B (en) File sharing method and terminal
CN108228357B (en) Memory cleaning method and mobile terminal
CN111061446A (en) Display method and electronic equipment
CN111475066B (en) Background switching method of application program and electronic equipment
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN109739406B (en) File sending method and terminal
CN109857578B (en) Text copying method and electronic equipment
CN108595104B (en) File processing method and terminal

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