CN108595569B - File path copying method, file path copying device and mobile terminal - Google Patents

File path copying method, file path copying device and mobile terminal Download PDF

Info

Publication number
CN108595569B
CN108595569B CN201810332651.9A CN201810332651A CN108595569B CN 108595569 B CN108595569 B CN 108595569B CN 201810332651 A CN201810332651 A CN 201810332651A CN 108595569 B CN108595569 B CN 108595569B
Authority
CN
China
Prior art keywords
file
path information
path
preset
detail page
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.)
Active
Application number
CN201810332651.9A
Other languages
Chinese (zh)
Other versions
CN108595569A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810332651.9A priority Critical patent/CN108595569B/en
Publication of CN108595569A publication Critical patent/CN108595569A/en
Application granted granted Critical
Publication of CN108595569B publication Critical patent/CN108595569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The application is applicable to the technical field of mobile terminals, and provides a file path copying method, a file path copying device, a mobile terminal and a computer readable storage medium, which comprise: setting path information of a first file to be in a reproducible state, wherein the first file refers to a file of the path information to be duplicated; detecting the operation of a user on the path information of the first file; and if the operation is a first preset operation, copying the path information of the first file, wherein the first preset operation refers to an operation of copying the path information of the first file. The method and the device can solve the problems that the path information of the file cannot be copied and a user cannot use the path information of the file in the prior art.

Description

File path copying method, file path copying device and mobile terminal
Technical Field
The present application belongs to the technical field of mobile terminals, and in particular, to a file path copying method, a file path copying apparatus, a mobile terminal, and a computer-readable storage medium.
Background
With the development of mobile communication, the functions of mobile terminals are more and more powerful, and files stored in the mobile terminals are more and more, such as videos, pictures, music, and the like. Files in a mobile terminal all have a unique path, usually displayed on a detail page of the file. However, the path information displayed on the detail page of the file cannot be copied, and the user cannot use the path information of the file.
Therefore, a new technical solution is needed to solve the above technical problems.
Disclosure of Invention
In view of the above, the present application provides a file path copying method, a file path copying apparatus, a mobile terminal and a computer readable storage medium, so as to solve the problem that in the prior art, path information of a file cannot be copied and a user cannot use the path information of the file.
A first aspect of the present application provides a file path replication method, including:
setting path information of a first file to be in a reproducible state, wherein the first file refers to a file of the path information to be duplicated;
detecting the operation of a user on the path information of the first file;
and if the operation is a first preset operation, copying the path information of the first file, wherein the first preset operation refers to an operation of copying the path information of the first file.
A second aspect of the present application provides a file path replication apparatus including:
the system comprises a state setting module, a copying module and a copying module, wherein the state setting module is used for setting path information of a first file to be copied into a reproducible state;
the operation detection module is used for detecting the operation of a user on the path information of the first file;
and the information copying module is used for copying the path information of the first file if the operation is a first preset operation, wherein the first preset operation refers to an operation of copying the path information of the first file.
A third aspect of the present application provides a mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the file path replication method according to the first aspect when executing the computer program.
A fourth aspect of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the file path replication method as described in the first aspect above.
A fifth aspect of the present application provides a computer program product comprising a computer program which, when executed by one or more processors, performs the steps of the file path replication method as described in the first aspect above.
Therefore, the path information of the first text is set to be in a reproducible state, whether the operation of the user on the path information of the first file is a first preset operation or not is detected, and the path information of the first file is copied when the operation is the first preset operation. According to the scheme, the path information of the text is set to be in a reproducible state, and the path information of the text can be copied when a first preset operation is detected, so that the copy of the path information of the text is realized, and the problems that the path information of a file cannot be copied and a user cannot use the path information of the file in the prior art are solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart illustrating an implementation flow of a file path replication method according to an embodiment of the present application;
FIG. 2 is an exemplary diagram of path information in a detail page in a reproducible state;
fig. 3 is a schematic flow chart illustrating an implementation of a file path replication method according to a second embodiment of the present application;
FIG. 4 is a schematic diagram of a file path copying apparatus according to a third embodiment of the present application;
fig. 5 is a schematic diagram of a mobile terminal according to a fourth embodiment of the present application;
fig. 6 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the mobile terminals described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but is a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or touchpad).
In the discussion that follows, a mobile terminal that includes a display and a touch-sensitive surface is described. However, it should be understood that the mobile terminal may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The mobile terminal supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the mobile terminal may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
It should be understood that, the sequence numbers of the steps in this embodiment do not mean the execution sequence, and the execution sequence of each process should be determined by the function and the inherent logic of the process, and should not constitute any limitation to the implementation process of the embodiment of the present application.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Referring to fig. 1, which is a schematic view of an implementation flow of a file path replication method provided in an embodiment of the present application, where the file path replication method is applied to a mobile terminal, as shown in the figure, the file path replication method may include the following steps:
step S101, setting the path information of the first file to be in a reproducible state.
The first file may be a file of path information to be copied, and may specifically be any one of files stored in the mobile terminal.
In this embodiment of the present application, if path information of a file (i.e., a first file) in a mobile terminal is to be checked, the first file generally needs to be found first, and then a detail page of the first file is opened, where path information of the first file is displayed in the detail page of the first file, and the path information of the first file is not replicable. The copy state may refer to a state in which a copy operation is possible. The detail page of the first document may refer to a page in which information of the first document is described, and generally describes a name, a size, a format, path information, modification time, shooting time, and the like of the first document. Different types of documents may differ in the content of their detail pages. For example, when the first file is a picture, the detail page of the first file may include a file name, a file size, a resolution, path information, a modification time, a shooting time, and the like. When the first file is a document in PDF format, the detail page of the first file may include a file name, file size, format, path information, and the like.
Optionally, the setting the path information of the first file to a reproducible state includes:
when a preset page of the first file is opened, setting the path information of the first file to be in a reproducible state; or
When the first file is in a preset page of the first file, if a third preset operation on the path information in the preset page is detected, setting the path information in the preset page to be in a reproducible state, wherein the path information in the preset page is the path information of the first file, and the third preset operation refers to an operation of setting the path information in the preset page to be in the reproducible state.
In this embodiment of the application, the preset page may be a page that describes path information of the first file, that is, a detail page of the first file. The mobile terminal may set the path information of the first file to be in a reproducible state when detecting that a user opens the detail page of the first file, or may set the path information of the first file to be in a reproducible state when the mobile terminal is in the detail page of the first file and if a third preset operation on the path information in the detail page of the first file is detected, which is not limited herein. The third preset operation may refer to an operation that is preset by a user and sets path information in an uncloneable state to a reproducible state, and the user may set a specific implementation manner of the third preset operation according to actual needs, for example, long-term press of file path information.
In the embodiment of the application, all characters in the path information of the first file in the reproducible state can be a whole, and when an operation on at least one character in the path information of the first file in the reproducible state is detected, the operation on the path information of the first file is determined to be detected; or displaying all characters in the path information of the first file in the reproducible state in a text box, wherein the size of the text box can be automatically adjusted according to the number of the characters, so that all the characters forming the path information of the first file are displayed in the text box, and when detecting that a user operates any position in the text box where all the characters in the path information of the first file in the reproducible state are located, determining that the operation on the path information of the first file is detected. The user can set the transparency of the text box according to actual needs, for example, the transparency of the text box is set to zero.
In the embodiment of the present application, in order to facilitate a user to know that path information in a detail page of a first file is in a reproducible state, or to distinguish non-reproducible information (for example, a file size) from reproducible path information in the detail page of the first file, after the path information of the first file is set to be in the reproducible state, the path information of the first file may be displayed in a preset manner, that is, all characters constituting the path information of the first file are displayed in the preset manner. The preset mode may refer to a mark preset by a user and used for representing reproducible information, including but not limited to a bold mark or a preset color mark, and the user may set the mark according to actual needs, which is not limited herein. Fig. 2 is an exemplary diagram of a detail page in which path information is in a reproducible state.
And step S102, acquiring the operation of the user on the path information of the first file.
Step S103, if the operation is a first preset operation, copying the path information of the first file.
In the embodiment of the application, when the mobile terminal sets the path information of the first file in the non-duplicable state as the duplicable state, the mobile terminal can detect whether a user operates the path information of the first file in real time, and when the operation of the user on the path information of the first file is detected, the operation of the user on the path information of the first file can be obtained, and the obtained operation of the user on the path information of the first file is compared with a first preset operation, and if the operation of the user on the path information of the first file is the first preset operation, the path information of the first file is duplicated; if the operation of the user on the path information of the first file is not the first preset operation, the operation of responding to the path information of the first file by the user may be prohibited, for example, the operation may be ignored. The first preset operation may be an operation for copying file path information preset by a user, and the user may set a specific implementation manner of the first preset operation according to needs.
Optionally, the first preset operation is a click operation or a long-time press operation, and if a click operation (for example, a click operation of the user on at least one of all characters forming the path information of the first file is detected, or a click operation of any position in a text box where all characters forming the path information of the first file are located is detected) or a long-time press operation of the user on the path information of the first file in the reproducible state is detected, the path information of the first file is copied.
In the embodiment of the application, after copying the path information of the first file, whether a user performs a paste operation may be detected, and when it is detected that the user performs the paste operation at a first position, the copied path information of the first file may be pasted at the first position. For example, the first location is a search box, and after the user pastes the path information of the first file in the search box, if a search instruction input by the user is detected, the first file may be accessed according to the path information of the first file. The first position may refer to any position in the mobile terminal where the copied information can be placed.
According to the method and the device, the path information of the text is set to be in a reproducible state, and the path information of the text can be copied when a first preset operation is detected, so that the copy of the path information of the text is realized, and the problems that the path information of the file cannot be copied and a user cannot use the path information of the file in the prior art are solved.
Referring to fig. 3, which is a schematic view of an implementation flow of a file path replication method provided in the second embodiment of the present application, where the file path replication method is applied to a mobile terminal, as shown in the figure, the file path replication method may include the following steps:
in step S301, path information of the first file is set to a reproducible state.
The step is the same as step S101, and reference may be made to the related description of step S101, which is not repeated herein.
Optionally, the setting the path information of the first file to a reproducible state includes:
and setting the attribute of the path information of the first file to be in a preset form.
The attribute of the path information of the first file may represent a form in which the path information of the first file is displayed. The preset form may refer to a form in which the path information of the first file is set to a reproducible state, including but not limited to a txt text box form and a hyperlink form. The path information of the first file may be set to a reproducible state by setting an attribute of the path information of the first file to a txt text box form or a hyperlink form.
Step S302, detecting the operation of the user on the path information of the first file.
The step is the same as step S102, and reference may be made to the related description of step S102, which is not repeated herein.
Step S303, if the operation is a first preset operation, copying the path information of the first file.
The step is the same as step S103, and reference may be made to the related description of step S103, which is not described herein again.
For example, when the attribute of the path information of the first file is set to be in the form of a txt text box, the first preset operation may be a click operation, that is, when the click operation on the path information of the first file is detected, the path information is copied; when the attribute of the path information of the first file is set to be in a hyperlink form, the first preset operation may be a long press operation, that is, when the long press operation on the path information of the first file is detected, the path information is copied.
Optionally, after copying the path information of the first file, the method further includes:
and prompting a user that the path information of the first file is copied.
In this embodiment of the present application, after copying the path information of the first file, the mobile terminal may prompt the user that the path information of the first file has been copied, and then the user may perform a paste operation on the copied path information of the first file. For example, the user is prompted by voice, pop-up window, label, etc. for path information that the first file has been copied.
Step S304, pasting the path information of the first file in a preset file, and establishing a corresponding relationship between the path information of the first file and the identifier of the first file in the preset file.
In this embodiment of the application, in order to facilitate subsequent use of the path information of the copied first file, after copying the path information of the first file, the mobile terminal may paste the path information of the first file in a preset file, and at this time, the mobile terminal may obtain the identifier of the first file, establish a correspondence between the path information of the first file and the identifier of the first file, and according to the correspondence, the user may know the path information of the file (the identifier of the file needs to be in the preset file and has the path information corresponding thereto) stored in the mobile terminal. The path information of a plurality of files can be stored in the preset file by the user, and each path information in the preset file has an identifier of the corresponding file, so that the user can know the path information of which file the path information in the preset file is specific. In order to facilitate a user to quickly find a preset file, the preset file may be placed on a desktop of the mobile terminal. The preset file may be a file preset by a user and used for storing a correspondence between path information of the file and an identifier of the file.
In the embodiment of the present application, the identifier of the file may be set according to the type of the file, for example, when the file is a picture (including a photo), the identifier of the file may be a thumbnail of the picture, and when the file is not a picture, the identifier of the file may be a name of the file.
Step S305, an identifier of the second file input by the user is acquired.
Step S306, detecting whether the preset file has the identifier of the second file.
Step S307, if the identifier of the second file exists in the preset file, acquiring path information of the second file.
The second file may refer to a file to be accessed, and may specifically be any one file stored in the mobile terminal. In this embodiment of the present application, a search box may be set in a preset file, when a user wants to quickly access a file stored in a mobile terminal, the preset file may be opened first, an identifier of a file to be accessed (i.e., a second file) is input in the search box, whether an identifier of the second file exists in the preset file is detected, if the identifier of the second file exists in the preset file, it is determined that the second file is a first file in which a correspondence relationship between path information and the identifier has been established in the preset file, and at this time, path information corresponding to the identifier of the second file may be obtained according to the correspondence relationship between the path information of the first file stored in the preset file and the identifier of the first file, where the path information is path information of the second file; if the identifier of the second file does not exist in the preset file, determining that the second file does not establish the corresponding relationship between the path information and the identifier in the preset file, and if the path information of the second file does not exist in the preset file, reminding a user that the path information of the second file does not exist in the preset file.
Step S308, if a second preset operation of the user on the path information of the second file is detected, accessing the second file according to the path information of the second file.
In the embodiment of the application, when the path information of the second file exists in the preset file, a user can directly perform a second preset operation on the path information of the second file in the preset file, and jump the mobile terminal from the current page to the page where the second file is located, so that the second file can be quickly accessed. The current page may be a page where the path information of the second file in the preset file is located. The page where the second file is located may be a page that can be accessed according to the path information of the second file. The second preset operation may be an operation of accessing a file corresponding to path information preset by a user, and the user may set a specific implementation manner of the second preset operation according to needs.
It should be noted that, in the embodiment, the first preset operation, the second preset operation, and the third preset operation may be the same or different, and are not limited herein.
In the embodiment of the application, the copied path information is pasted in the preset file of the mobile terminal, so that a user can conveniently acquire the path information of the file from the preset file, the file can be quickly accessed according to the path information of the file in the preset file, and the file accessing efficiency is improved.
Referring to fig. 4, a schematic diagram of a file path copying apparatus provided in the third embodiment of the present application is shown, and for convenience of description, only the parts related to the third embodiment of the present application are shown.
The file path copying apparatus includes:
a state setting module 41, configured to set path information of a first file to a reproducible state, where the first file is a file of the path information to be duplicated;
an operation detection module 42, configured to detect an operation of the user on the path information of the first file;
an information copying module 43, configured to copy the path information of the first file if the operation is a first preset operation, where the first preset operation is an operation of copying the path information of the first file.
Optionally, the file path copying apparatus further includes:
an information prompting module 44, configured to prompt a user that the path information of the first file has been copied after the path information of the first file is copied;
the state setting module 41 is specifically configured to set an attribute of the path information of the first text to a preset form, where the preset form is a form in which the path information of the first file is set to a reproducible state.
Optionally, the file path copying apparatus further includes:
an information pasting module 45, configured to paste the path information of the first file into a preset file, and establish a corresponding relationship between the path information of the first file and an identifier of the first file in the preset file;
an identifier obtaining module 46, configured to obtain an identifier of a second file input by a user, where the second file is a file to be accessed;
an identifier detecting module 47, configured to detect whether an identifier of the second file exists in the preset file;
an information obtaining module 48, configured to obtain path information of the second file if the identifier of the second file exists in the preset file;
the file access module 49 is configured to, if a second preset operation of the user on the path information of the second file is detected, access the second file according to the path information of the second file, where the second preset operation refers to an operation of accessing the second file.
Optionally, the state setting module 41 is specifically configured to:
when a preset page of the first file is opened, setting the path information of the first file to be in a reproducible state; or
When the first file is in a preset page of the first file, if a third preset operation on the path information in the preset page is detected, setting the path information in the preset page to be in a reproducible state, wherein the path information in the preset page is the path information of the first file, and the third preset operation refers to an operation of setting the path information in the preset page to be in the reproducible state.
The file path copying apparatus provided in this embodiment of the present application may be applied to the first method embodiment and the second method embodiment, and for details, reference is made to the description of the first method embodiment and the second method embodiment, and details are not repeated here.
Fig. 5 is a schematic diagram of a mobile terminal according to a fourth embodiment of the present application. The mobile terminal as shown in the figure may include: one or more processors 501 (only one shown); one or more input devices 502 (only one shown), one or more output devices 503 (only one shown), and a memory 504. The processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 505. The memory 504 is used for storing instructions and the processor 501 is used for executing the instructions stored by the memory 504. Wherein:
the processor 501 is configured to set path information of a first file to be in a reproducible state, where the first file is a file of the path information to be duplicated; detecting the operation of a user on the path information of the first file; and if the operation is a first preset operation, copying the path information of the first file, wherein the first preset operation refers to an operation of copying the path information of the first file.
Optionally, after copying the path information of the first file, the processor 501 is further configured to:
and prompting a user that the path information of the first file is copied.
Optionally, the processor 501 is specifically configured to:
setting the attribute of the path information of the first file to be in a preset form, wherein the preset form refers to a form in which the path information of the first file is set to be in a reproducible state.
Optionally, after copying the path information of the first file, the processor 501 is further configured to:
pasting the path information of the first file in a preset file, and establishing a corresponding relation between the path information of the first file and the identifier of the first file in the preset file.
Optionally, the processor 501 is further configured to:
acquiring an identifier of a second file input by a user, wherein the second file is a file to be accessed;
detecting whether the preset file has the identifier of the second file or not;
if the identifier of the second file exists in the preset file, acquiring path information of the second file;
and if a second preset operation of the user on the path information of the second file is detected, accessing the second file according to the path information of the second file, wherein the second preset operation refers to an operation of accessing the second file.
Optionally, the processor 501 is specifically configured to:
when a preset page of the first file is opened, setting the path information of the first file to be in a reproducible state; or
When the first file is in a preset page of the first file, if a third preset operation on the path information in the preset page is detected, setting the path information in the preset page to be in a reproducible state, wherein the path information in the preset page is the path information of the first file, and the third preset operation refers to an operation of setting the path information in the preset page to be in the reproducible state.
It should be understood that, in the embodiment of the present Application, the Processor 501 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 502 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, a data receiving interface, and the like. The output device 503 may include a display (LCD, etc.), a speaker, a data transmission interface, and the like.
The memory 504 may include a read-only memory and a random access memory, and provides instructions and data to the processor 501. A portion of the memory 504 may also include non-volatile random access memory. For example, the memory 504 may also store device type information.
In a specific implementation, the processor 501, the input device 502, the output device 503, and the memory 504 described in this embodiment of the present application may execute the implementation described in the embodiment of the file path copying method provided in this embodiment of the present application, or may execute the implementation described in the file path copying apparatus described in the third embodiment, which is not described herein again.
Fig. 6 is a schematic diagram of a mobile terminal according to a fifth embodiment of the present application. As shown in fig. 6, the mobile terminal 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the above-described embodiments of the file path replication method, such as the steps S101 to S103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 41 to 49 shown in fig. 4.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the mobile terminal 6. For example, the computer program 62 may be divided into a status setting module, an operation detection module, an information copying module, an information prompting module, an information pasting module, an identifier obtaining module, an identifier detecting module, an information obtaining module, and a file accessing module, and each module has the following specific functions:
the system comprises a state setting module, a copying module and a copying module, wherein the state setting module is used for setting path information of a first file to be copied into a reproducible state;
the operation detection module is used for detecting the operation of a user on the path information of the first file;
and the information copying module is used for copying the path information of the first file if the operation is a first preset operation, wherein the first preset operation refers to an operation of copying the path information of the first file.
Optionally, the information prompting module is configured to prompt the user that the path information of the first file has been copied after the path information of the first file is copied;
the state setting module is specifically configured to set an attribute of the path information of the first text to a preset form, where the preset form is a form in which the path information of the first file is set to a reproducible state.
Optionally, the information pasting module is configured to paste the path information of the first file into a preset file, and establish a corresponding relationship between the path information of the first file and an identifier of the first file in the preset file;
the identification acquisition module is used for acquiring an identification of a second file input by a user, wherein the second file is a file to be accessed;
the identification detection module is used for detecting whether the identification of the second file exists in the preset file or not;
the information acquisition module is used for acquiring the path information of the second file if the identifier of the second file exists in the preset file;
and the file access module is used for accessing the second file according to the path information of the second file if a second preset operation of the user on the path information of the second file is detected, wherein the second preset operation refers to an operation of accessing the second file.
Optionally, the state setting module is specifically configured to:
when a preset page of the first file is opened, setting the path information of the first file to be in a reproducible state; or
When the first file is in a preset page of the first file, if a third preset operation on the path information in the preset page is detected, setting the path information in the preset page to be in a reproducible state, wherein the path information in the preset page is the path information of the first file, and the third preset operation refers to an operation of setting the path information in the preset page to be in the reproducible state.
The mobile terminal 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The mobile terminal may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a mobile terminal 6 and is not intended to limit the mobile terminal 6 and may include more or fewer components than those shown, or some components may be combined, or different components, e.g., the mobile terminal may also include input-output devices, network access devices, buses, etc.
The processor 60 may be a central processing unit CPU, but may also be other general purpose processors, digital signal processors DSP, application specific integrated circuits ASIC, off-the-shelf programmable gate arrays FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the mobile terminal 6, such as a hard disk or a memory of the mobile terminal 6. The memory 61 may also be an external storage device of the mobile terminal 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) and the like provided on the mobile terminal 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the mobile terminal 6. The memory 61 is used for storing the computer program and other programs and data required by the mobile terminal. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/mobile terminal and method may be implemented in other ways. For example, the above-described apparatus/mobile terminal embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A file path replication method, comprising:
setting path information of a first file in a detail page of the first file to be in a reproducible state, wherein the first file refers to a file of the path information to be duplicated;
detecting the operation of a user on the path information of the first file in the detail page;
and if the operation is a first preset operation, copying the path information of the first file in the detail page, wherein the first preset operation refers to an operation of copying the path information of the first file in the detail page.
2. The file path copy method of claim 1, further comprising, after copying the path information of the first file in the detail page:
and prompting the user to copy the path information of the first file in the detail page.
3. The file path replication method of claim 1, wherein the setting of the path information of the first file in the detail page of the first file to a reproducible state comprises:
setting the attribute of the path information of the first file in the detail page to be in a preset form, wherein the preset form refers to a form in which the path information of the first file is set to be in a reproducible state.
4. The file path copy method of claim 1, further comprising, after copying the path information of the first file in the detail page:
and pasting the path information of the first file in the detail page in a preset file, and establishing a corresponding relation between the path information of the first file and the identifier of the first file in the preset file.
5. The file path replication method of claim 4, wherein the file path replication method further comprises:
acquiring an identifier of a second file input by a user, wherein the second file is a file to be accessed;
detecting whether the preset file has the identifier of the second file or not;
if the identifier of the second file exists in the preset file, acquiring path information of the second file;
and if a second preset operation of the user on the path information of the second file is detected, accessing the second file according to the path information of the second file, wherein the second preset operation refers to an operation of accessing the second file.
6. The file path replication method according to any one of claims 1 to 5, wherein the setting of the path information of the first file in the detail page of the first file to a reproducible state includes:
when a detail page of the first file is opened, setting the path information of the first file in the detail page to be in a reproducible state; or
When the file is in the detail page of the first file, if a third preset operation on the path information in the detail page is detected, setting the path information in the detail page to be in a reproducible state, wherein the path information in the detail page is the path information of the first file, and the third preset operation is the operation of setting the path information in the detail page to be in the reproducible state.
7. A file path replication apparatus, characterized in that the file path replication apparatus comprises:
the system comprises a state setting module, a copying module and a copying module, wherein the state setting module is used for setting the path information of a first file in a detail page of the first file into a reproducible state, and the first file refers to a file of the path information to be copied;
the operation detection module is used for detecting the operation of a user on the path information of the first file in the detail page;
and the information copying module is used for copying the path information of the first file in the detail page if the operation is a first preset operation, wherein the first preset operation refers to an operation of copying the path information of the first file in the detail page.
8. The file path replication apparatus of claim 7, wherein the file path replication apparatus further comprises:
and the information prompting module is used for prompting a user that the path information of the first file in the detail page is copied after the path information of the first file in the detail page is copied.
9. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the file path replication method according to any of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the file path replication method according to any one of claims 1 to 6.
CN201810332651.9A 2018-04-13 2018-04-13 File path copying method, file path copying device and mobile terminal Active CN108595569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810332651.9A CN108595569B (en) 2018-04-13 2018-04-13 File path copying method, file path copying device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810332651.9A CN108595569B (en) 2018-04-13 2018-04-13 File path copying method, file path copying device and mobile terminal

Publications (2)

Publication Number Publication Date
CN108595569A CN108595569A (en) 2018-09-28
CN108595569B true CN108595569B (en) 2020-10-23

Family

ID=63622633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810332651.9A Active CN108595569B (en) 2018-04-13 2018-04-13 File path copying method, file path copying device and mobile terminal

Country Status (1)

Country Link
CN (1) CN108595569B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751391A (en) * 2008-12-01 2010-06-23 扬智科技股份有限公司 Method for establishing file information table
CN105827574B (en) * 2015-01-07 2019-07-05 中国移动通信集团设计院有限公司 A kind of file access system, method and device
CN106528124B (en) * 2016-10-26 2019-06-14 广东广新信息产业股份有限公司 Page Template dissemination method and system
CN107229875A (en) * 2017-06-01 2017-10-03 深圳市伊特利网络科技有限公司 Terminal method for secret protection and system
CN107844254A (en) * 2017-09-18 2018-03-27 五八有限公司 Text display processing method and device
CN107831974B (en) * 2017-11-30 2023-04-07 腾讯科技(深圳)有限公司 Information sharing method and device and storage medium

Also Published As

Publication number Publication date
CN108595569A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN108038112B (en) File processing method, mobile terminal and computer readable storage medium
CN107451244B (en) Folder naming method, mobile terminal and computer readable storage medium
CN106991179B (en) Data deleting method and device and mobile terminal
US10600221B2 (en) System, method, and electronic device for information duplication and machine-readable storage medium
CN110119733B (en) Page identification method and device, terminal equipment and computer readable storage medium
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
CN111444750B (en) PDF document identification method and device and electronic equipment
CN109359582B (en) Information searching method, information searching device and mobile terminal
CN111142650B (en) Screen brightness adjusting method, screen brightness adjusting device and terminal
CN108133048B (en) File sorting method and device and mobile terminal
CN107679222B (en) Picture processing method, mobile terminal and computer readable storage medium
CN109358927B (en) Application program display method and device and terminal equipment
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
CN109104481B (en) File integrity detection method, file integrity detection device and terminal equipment
CN108469938B (en) Electronic book reading reminding method and device and terminal equipment
CN108521460B (en) Information pushing method and device, mobile terminal and computer readable storage medium
CN109271266B (en) File transmission method and device and terminal equipment
CN110688035B (en) Photo album processing method, photo album processing device and mobile terminal
CN108595569B (en) File path copying method, file path copying device and mobile terminal
CN110874729A (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
US9298692B2 (en) Real time data tagging in text-based documents
CN107609119B (en) File processing method, mobile terminal and computer readable storage medium
CN110874730B (en) Information processing method, information processing device and mobile terminal
CN110875873B (en) Information monitoring method, information monitoring device and mobile terminal
CN110875876B (en) Electronic red packet identification method, electronic red packet identification device and mobile 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
GR01 Patent grant
GR01 Patent grant