CN113297141A - File merging method and device, electronic equipment and storage medium - Google Patents

File merging method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113297141A
CN113297141A CN202110491581.3A CN202110491581A CN113297141A CN 113297141 A CN113297141 A CN 113297141A CN 202110491581 A CN202110491581 A CN 202110491581A CN 113297141 A CN113297141 A CN 113297141A
Authority
CN
China
Prior art keywords
file
link
merging
node
files
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
CN202110491581.3A
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 CN202110491581.3A priority Critical patent/CN113297141A/en
Publication of CN113297141A publication Critical patent/CN113297141A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a file merging method, a file merging device, electronic equipment and a storage medium, and belongs to the technical field of computers, wherein the method comprises the following steps: under the condition that a triggering condition of file merging is met, displaying a file merging page, and displaying a recommended file and a link structure on the file merging page; receiving a first input to the recommended file and the link structure; and generating a link file in response to the first input, wherein the link file is generated after updating the link structure based on the recommended file, so that the similar files with the association relation or the continuity relation are combined into one file, the time for searching the file can be greatly shortened, and the file searching efficiency is improved.

Description

File merging method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of computers, and particularly relates to a file merging method and device, electronic equipment and a storage medium.
Background
At present, a large amount of fragmented files are stored on the mobile phone, and it is very inconvenient to find the needed files from the files.
In some scenarios, many files such as pictures and videos have their same type of files, and there is a certain continuity or association relationship among the same type of files. For example, when receiving a screenshot of a chat record, one picture may be incomplete, or a user needs to capture chat records of multiple contacts, in which case, one chat record transmission includes many screenshots; when receiving the software screenshot, many people tell others about the usage of a certain software or the usage of a certain function in a screenshot mode, and at the moment, one operation is also realized by many software screenshots.
At present, after a user receives the files, the files are generally stored in a default folder, when the files need to be used, the files are searched according to file names, a plurality of similar files need to be checked and confirmed whether the files are the target to be found, and the file searching efficiency is low.
Disclosure of Invention
The embodiment of the application provides a file merging method and device, electronic equipment and a storage medium, which can merge files with certain continuity or association relation, so that the file searching efficiency is improved.
In a first aspect, an embodiment of the present application provides a file merging method, where the method includes:
under the condition that a triggering condition of file merging is met, displaying a file merging page, and displaying a recommended file and a link structure on the file merging page;
receiving a first input of the recommended file and the link structure by a user;
and responding to the first input, and generating a link file which is generated after the link structure is updated based on the recommendation file.
In a second aspect, an embodiment of the present application provides a file merging apparatus, including:
the display unit is used for displaying a file merging page under the condition that a triggering condition of file merging is met, and displaying a recommended file and a link structure on the file merging page;
a first receiving unit for receiving a first input to the recommended file and the link structure;
and the merging unit is used for responding to the first input and generating a link file, and the link file is generated after the link structure is updated on the basis of the recommendation file.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the file merging method according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the file merging method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the file merging method according to the first aspect.
In the embodiment of the application, a file merging page is displayed under the condition that a triggering condition of file merging is met, and a recommended file and a link structure are displayed on the file merging page; and receiving a first input of the user to the recommended file and the link structure, and generating the link file in response to the first input, so that the similar files with the association relation or the continuity relation are combined into one file, the file searching efficiency can be improved when the files are searched for.
Drawings
Fig. 1 is a schematic flowchart of a file merging method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a link structure provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a preview page of a link file according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a file merging device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived from the embodiments given herein by a person of ordinary skill in the art are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
The file merging method provided by the embodiments of the present application is described in detail below with reference to the accompanying drawings through some embodiments and application scenarios thereof. According to the file merging method provided by the embodiment of the application, an execution main body is electronic equipment, and the electronic equipment provided by the embodiment of the application includes but is not limited to a mobile phone, a tablet computer, a computer, wearable equipment and the like.
Fig. 1 is a schematic flowchart of a file merging method provided in an embodiment of the present application, where the file merging method includes the following steps:
step 100, displaying a file merging page under the condition that a triggering condition of file merging is met, and displaying a recommended file and a link structure on the file merging page;
it can be understood that, in the case that the triggering condition of the file merging is satisfied, the file merging function is triggered, the file merging page is entered, and the recommended file and the link structure are displayed on the file merging page.
The recommended file is a file which can be recommended by the electronic equipment and can be merged.
The link structure is a structure required for merging files. Optionally, the link structure is a tree structure comprising at least one node. The default is only one root node, a user can choose to add a child node, or add a brother node to a non-root node, and a target file can be selected by pressing a certain node. The file can also be dragged from the recommended file to the node. Optionally, the link structure includes a root node and a plurality of child nodes, wherein the child nodes may also be fork nodes. A forking node may connect several sub-links. Fig. 2 is a schematic diagram of a link structure provided in an embodiment of the present application.
The file merge page is a page capable of realizing a file merge function.
Optionally, the file merging in this embodiment refers to linking files having an association relationship in a pointer linked list, and therefore, the file merging page may also be referred to as a pointer linked page.
Optionally, the trigger condition for satisfying the file merging includes at least one of:
receiving a first preset operation on a target file;
the number of times of second preset operations performed on the target object in a preset time period exceeds a first preset threshold;
the number of newly-added files with the same type and similar file names in the target application exceeds a second preset threshold value;
optionally, the electronic device receives a first preset operation on the target file, where the first preset operation includes a long-press operation. In the folder where the target file is located, if the target file is pressed for a long time, a merged file function option appears, and a user selects the merged file, namely, enters a file merging page.
It should be noted that the first preset operation may also be another operation that can cause the merge file function option to appear.
Optionally, the second preset operation includes a screen capture, a screenshot, or a shooting operation. And under the condition that the electronic equipment detects that the frequency of second preset operation executed on the target object in a preset time period exceeds a first preset threshold value, triggering a file merging function and entering a file merging page. For example, when the electronic device detects that the user continuously captures the screen and takes more than 2 pictures in a certain period of time, a prompt message appears to remind the user that the same type of files obtained by continuous screen capture, screen capture or shooting can be combined, and the user enters a file combination page after selecting and confirming.
Optionally, when the electronic device detects that the number of newly added files with the same type and similar file names in the target application exceeds a second preset threshold, the electronic device triggers a file merging function to enter a file merging page. For example, when a user receives a plurality of pictures at one time, a prompt message appears to remind the user that the pictures can be merged, and the user enters a file merging page after selecting and confirming the pictures.
Optionally, the recommended file is determined according to the source information of the target file, the file of the target object obtained based on the second preset operation, or a file with the same type and similar file name added in the target application.
Alternatively, the electronic device may use a file having the same source information as the target file as the recommended file, for example, a file from the same target application as the recommended file.
Optionally, the electronic device uses a file of the target object obtained based on the second preset operation as a recommended file, for example, uses an image obtained by continuously capturing a screen, a screenshot or a photograph of the user for a certain period of time as the recommended file.
Optionally, the electronic device takes a newly added file with the same type and a similar file name in the target application as a recommended file, for example, the user receives multiple pictures at one time as the recommended file. Wherein, the similarity of the file names means that the similarity degree between the file names exceeds a third preset threshold.
Step 101, receiving a first input of the user to the recommended file and the link structure.
Optionally, the first input comprises at least one of:
an operation of selecting at least one of the recommended files and dragging the at least one file to a child node of the link structure;
adding a description for at least one sublink at a branching node of the link structure;
an operation of executing a third preset operation on a node in the link structure and selecting at least one file from the recommended file or through a file manager entry;
optionally, after entering a file merging page, a recommended file and a link structure are displayed, an operation that a user selects at least one file in the recommended file and drags the at least one file to a child node of the link structure is received, and thus file filling is performed on the link structure.
Optionally, the user may perform a third preset operation on any node in the link structure, for example, the third preset operation may be a long press operation, and select a file from the recommended file or through a file manager entry to add to the node.
Optionally, a user may add a description for at least one sublink at a branching node of the link structure. Taking the stock account opening screenshot course as an example, 2 sub-links are provided after the data is submitted, and the user can respectively fill in two links at the bifurcation point: please click the node if the verification is successful; if the verification fails, please click the node. The bifurcation node is a blank page when browsing, the two descriptions are separately displayed, and a user can walk into different branches by clicking different descriptions.
And 102, responding to the first input, and generating a link file, wherein the link file is generated after the link structure is updated based on the recommended file.
It can be understood that in the embodiment of the present application, the link construction of the link file is completed by adding a tree node by the user, the node is a file, and the relationship between the nodes is a link relationship between the files. It should be noted that, a user formulates a picture required in the file merging by selecting or dragging on a file merging page, and the front-back sequence can be adjusted by dragging each picture item. After the user completes the relevant operation, the electronic equipment generates a link file.
Optionally, the link file is stored in a file manager.
In the embodiment of the application, a file merging page is displayed under the condition that a triggering condition of file merging is met, and a recommended file and a link structure are displayed on the file merging page; and receiving a first input of the user to the recommended file and the link structure, and generating the link file in response to the first input, so that the similar files with the association relation or the continuity relation are combined into one file, the file searching efficiency can be improved when the files are searched for.
Optionally, the method further comprises:
and hiding the source file corresponding to the file in the link file.
It can be understood that the files selected by the user can be concatenated through the pointer, and after the concatenation is finished, only the concatenated pointer files are displayed for the user, and the source file can be selectively hidden. Therefore, the user can use the file more simply and clearly in the subsequent process.
Optionally, an operation of selecting a file in the link file by a user is received, and the file selected by the user is displayed as a link entry icon of the link file.
Optionally, in the case that a trigger condition for file merging is satisfied, before displaying the file merging page, the method further includes:
and storing the file and the source information of the file into a global link database or a data table.
Alternatively, when the file is saved by a third-party application, downloaded and saved by other software, saved as a screenshot file, etc., the source information of the file, such as chat contacts, download pages of the software, etc., is saved at the same time. The file and the source information of the file are stored in a global link database or a data table in an incidence relation mode, and the file can be linked to a source page through the file or the file through the source page based on the global link database or the data table.
In the embodiment of the application, by establishing the global link database or the data table, the similar files with the association relation or the continuity relation are combined into one file, so that the time for searching the file can be greatly shortened, and the file searching efficiency is improved.
Optionally, the method further comprises at least one of:
under the condition that a page of an application operated by a user has a record in a global link database or a data table, receiving a first click operation on a link file displayed on the page of the application operated by the user in a suspension manner, and responding to the first click operation to display a file in the link file;
receiving a second click operation on the icon of the link file, and responding to the second click operation to display the file in the link file;
receiving a third click operation on a child node in the link file, responding to the third click operation, and displaying a file corresponding to the child node;
receiving a fourth click operation on a branch node in the link file, and responding to the fourth click operation to display descriptions of different paths corresponding to the branch node;
receiving a fifth click operation on the path at the branch node, and responding to the fifth click operation to display the file on the path corresponding to the fifth click operation.
Optionally, after the link file is generated, the electronic device receives an input of the link file from a user, and displays a file in the link file in response to the input.
Optionally, the user clicks an icon of a link file, the electronic device receives a second click operation of the user on the icon of the link file, and the file in the link file is displayed in response to the second click operation;
optionally, when a user clicks a child node in a link file, the electronic device displays a file corresponding to the child node, that is, receives a third click operation of the user on the child node in the link file, and displays the file corresponding to the child node in response to the third click operation;
optionally, the user clicks a bifurcation node in the link file, the electronic device receives a fourth click operation of the user on the bifurcation node in the link file, and in response to the fourth click operation, displays descriptions of different paths corresponding to the bifurcation node;
optionally, the user clicks a certain path of the branch node, the electronic device receives a fifth click operation of the user on the path at the branch node, and in response to the fifth click operation, displays a file on the path corresponding to the fifth click operation.
Optionally, in a case where a record exists in the global link database or the data table in the page of the application operated by the user, the user clicks an operation of displaying a link file in a floating manner on the page of the application operated by the user.
It will be appreciated that there are several ways to browse the link file:
in the case where a page of an application operated by a user has a record in a global link database or a data table, the user may click a link file displayed in a floating manner on the page of the application operated by the user to enter a preview page.
Optionally, the user directly enters the link file to perform a click operation, so as to browse or preview the link file, including:
clicking an icon of the link file;
clicking a file at a bifurcated node in the link file;
clicking a path at a bifurcation node in the link file;
and clicking the file at the child node in the link file.
Fig. 3 is a schematic diagram of a preview page of a link file according to an embodiment of the present application. As shown in fig. 3, the user can slide, enlarge and reduce the files, so that the user can preview the whole link file without clicking each individual file, can enter the file corresponding to the node by clicking a certain node, can enter the next node by clicking the file, and when entering the bifurcation, displays the descriptions of the two paths, and clicks different descriptions to enter different paths.
In the embodiment of the application, the input of the user to the link file is received, and the file corresponding to the input in the link file is displayed, so that the time for searching the file can be greatly shortened, and the file browsing efficiency is improved.
Optionally, the method further comprises at least one of:
receiving a second input of the link file from the user, and sending the link file in response to the second input;
receiving an operation of sharing a file corresponding to a node in a link structure corresponding to the link file, or receiving an operation of sharing files corresponding to the node and all child nodes of the node, and sending the file;
receiving an operation of sharing a file corresponding to one link in a link structure corresponding to the link file, and sending the file corresponding to the link.
Optionally, the user may share the link file.
Optionally, the user shares the entire link file. The electronic equipment receives second input of the link file from the user and responds to the second input to send the link file;
optionally, the user shares a file corresponding to one node in the link structure corresponding to the link file, or shares the node and files corresponding to all child nodes of the node, and the electronic device receives an operation of sharing a file corresponding to one node in the link structure corresponding to the link file, and sends the file corresponding to the node.
Or the electronic device performs a sharing operation on the node and files corresponding to all child nodes of the node, and sends the node and the files corresponding to all child nodes of the node.
Optionally, the user shares a file corresponding to one link in the link structure corresponding to the link file, and the electronic device receives an operation of sharing the file corresponding to one link in the link structure corresponding to the link file and sends the file corresponding to the link.
Optionally, the electronic device receives an operation of selecting a sharing mode, and sends the related file in the sharing mode in response to the operation.
Alternatively, the user may share the file directly in the file manager in the process of sending the normal file. The sharing can be selected to be sent in a pdf or original file manner. pdf content is a style at preview.
The user can share the file after pressing a certain node for a long time during previewing, and can select whether to send the files corresponding to all the child nodes of the node together during sharing, and then select to send the files in a pdf or original file type.
When the number of the branches of the links is too large and the user only wants to send a certain link, the user can select a mode through sliding (the user can enter by clicking a certain option), then a curve is drawn along a path which the user wants to send, then the user clicks sharing, and the files corresponding to all the covered nodes can be sent during sharing.
In the embodiment of the application, the sharing input of the link file by the user is received, the related link file is sent in response to the sharing input, the time for searching the file can be greatly shortened, and the file sharing efficiency is improved.
Alternatively, the document in the embodiment of the present application may be a picture or a video, or another type of document. Take a file as an example. When the video is stored through the third-party application, the video is downloaded and stored through other software, the screen recording file is stored, and the like, the source information of the video, such as the chat contact of the third-party application, the download page of the software, and the like, is stored at the same time. The source information and the video information are stored in a global link database or a data table in an incidence relation mode, and the source information and the video information can be linked to a source page through the video or the video through the source page through the database or the data table. Making a video file link, receiving a first input of a user to a recommended video and a link structure, and generating a link video in response to the first input; when browsing the link video, the user can display the GIF picture at the node, dynamically display the video content, click to enter the video playing page, and automatically play the next node of the link after playing, i.e. the effect of combining a plurality of videos into a single video in a certain sequence can be realized in a rapid mode.
It should be noted that, in the file merging method provided in the embodiment of the present application, the execution main body may be a file merging device, or a control module in the file merging device for executing the loaded file merging method. In the embodiment of the present application, a file merging device is taken as an example to execute a file merging method, and the file merging device provided in the embodiment of the present application is described.
Fig. 4 is a schematic structural diagram of a document merging device according to an embodiment of the present application, and as shown in fig. 4, the device includes: a display unit 410, a first receiving unit 420, and a combining unit 430, wherein,
the display unit 410 is configured to display a file merging page on the condition that a trigger condition of file merging is met, and display a recommended file and a link structure on the file merging page;
a first receiving unit 420 for receiving a first input to the recommended file and the link structure;
a merging unit 430, configured to generate, in response to the first input, a link file, where the link file is generated after updating the link structure based on the recommendation file.
In the embodiment of the application, a file merging page is displayed under the condition that a triggering condition of file merging is met, and a recommended file and a link structure are displayed on the file merging page; and receiving a first input of the user to the recommended file and the link structure, and generating the link file in response to the first input, so that the similar files with the association relation or the continuity relation are combined into one file, the file searching efficiency can be improved when the files are searched for.
Optionally, the trigger condition for satisfying the file merging includes at least one of:
receiving a first preset operation on a target file;
the number of times of executing second preset operation on the target object in a preset time period exceeds a first preset threshold;
the number of newly-added files with the same type and similar file names in the target application exceeds a second preset threshold value;
and determining the recommended file according to the source information of the target file, the file of the target object obtained based on the second preset operation or the newly added files with the same type and similar file names in the target application.
Optionally, the first input comprises at least one of:
an operation of selecting at least one of the recommended files and dragging the at least one file to a child node of the link structure;
adding a description for at least one sublink at a branching node of the link structure;
an operation of executing a third preset operation on a node in the link structure and selecting at least one file from the recommended file or through a file manager entry;
wherein generating a link file in response to the first input comprises:
obtaining a link structure updated after the first input;
determining a link relation between files corresponding to each node in the updated link structure based on the link structure;
and merging the files corresponding to the nodes based on the link relation among the files to generate a link file.
Optionally, in the case that a trigger condition for file merging is satisfied, before displaying the file merging page, the method further includes:
and the storage unit is used for storing the files and the source information of the files into a global link database or a data table.
Optionally, the system further comprises a browsing unit, wherein the browsing unit is configured to perform at least one of the following:
under the condition that a page of an application operated by a user has a record in a global link database or a data table, receiving a first click operation on a link file displayed on the page of the application operated by the user in a suspension manner, and responding to the first click operation to display a file in the link file;
receiving a second click operation on the icon of the link file, and responding to the second click operation to display the file in the link file;
receiving a third click operation on a child node in the link file, responding to the third click operation, and displaying a file corresponding to the child node;
receiving a fourth click operation on a branch node in the link file, and responding to the fourth click operation to display descriptions of different paths corresponding to the branch node;
receiving a fifth click operation on the path at the branch node, and responding to the fifth click operation to display the file on the path corresponding to the fifth click operation.
Optionally, the method further comprises:
the browsing unit is used for receiving a third input of the link file from a user and responding to the third input to display the file in the link file;
wherein the third input comprises at least one of:
clicking an icon of the link file;
clicking on a file at a bifurcated node in the link file;
clicking on a path at a bifurcation node in the link file;
clicking operation on the file at the child node in the link file;
and when the page of the application operated by the user has a record in the global link database or the data table, clicking the link file displayed in a suspension mode on the page of the application operated by the user.
Optionally, a sending unit is further included, configured to perform at least one of the following:
receiving a second input of the link file from the user, and sending the link file in response to the second input;
receiving an operation of sharing a file corresponding to a node in a link structure corresponding to the link file, or receiving an operation of sharing files corresponding to the node and all child nodes of the node, and sending the file;
receiving an operation of sharing a file corresponding to one link in a link structure corresponding to the link file, and sending the file corresponding to the link.
The file merging device in the embodiment of the present application may be a device or an electronic device having an operating system, or may be a component, an integrated circuit, or a chip in a terminal. The electronic device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The file merging device provided in the embodiment of the present application can implement each process implemented by the file merging device in the method embodiments of fig. 1 to fig. 3, and is not described here again to avoid repetition.
According to the file merging device provided by the embodiment of the application, the file merging page is displayed under the condition that the triggering condition of file merging is met, and the recommended file and the link structure are displayed on the file merging page; and receiving a first input of the user to the recommended file and the link structure, and generating the link file in response to the first input, so that the similar files with the association relation or the continuity relation are combined into one file, the file searching efficiency can be improved when the files are searched for.
Optionally, an electronic device 500 is further provided in this embodiment of the present application, as shown in fig. 5, the electronic device includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and capable of being executed on the processor 501, and when the program or the instruction is executed by the processor 501, the process of the above-mentioned file merging method embodiment is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: at least some of the components of the radio frequency unit 601, the network module 602, the audio output unit 603, the input unit 604, the sensor 605, the display unit 606, the user input unit 607, the interface unit 608, the memory 609, and the processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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.
In the embodiment of the present application, the radio frequency unit 601 obtains information and then processes the information to the processor 610. In general, radio frequency unit 601 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.
The memory 609 may be used to store software programs or instructions as well as various data. The memory 609 may mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area may store an operating system, an application program or instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the Memory 609 may include a high-speed random access Memory, and may further include a nonvolatile Memory, wherein the nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable Programmable PROM (EPROM), an Electrically Erasable Programmable ROM (EEPROM), or a flash Memory. Such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
Processor 610 may include one or more processing units; alternatively, the processor 610 may integrate an application processor, which primarily handles operating system, user interface, and applications or instructions, etc., and a modem processor, which primarily handles wireless communications, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The processor 610 is configured to display a file merging page under the condition that a triggering condition for file merging is met, and display a recommended file and a link structure on the file merging page;
a user input unit 607 for receiving a first input to the recommended file and the link structure;
the processor 610 is further configured to generate a link file in response to the first input, where the link file is generated after the link structure is updated based on the recommendation file.
In the embodiment of the application, a file merging page is displayed under the condition that a triggering condition of file merging is met, and a recommended file and a link structure are displayed on the file merging page; and receiving a first input of the user to the recommended file and the link structure, and generating the link file in response to the first input, so that the similar files with the association relation or the continuity relation are combined into one file, the file searching efficiency can be improved when the files are searched for.
Optionally, the trigger condition for satisfying the file merging includes at least one of:
receiving a first preset operation on a target file;
the number of times of executing second preset operation on the target object in a preset time period exceeds a first preset threshold;
the number of newly-added files with the same type and similar file names in the target application exceeds a second preset threshold value;
and determining the recommended file according to the source information of the target file, the file of the target object obtained based on the second preset operation or the newly added files with the same type and similar file names in the target application.
Optionally, the first input comprises at least one of:
an operation of selecting at least one of the recommended files and dragging the at least one file to a child node of the link structure;
adding a description for at least one sublink at a branching node of the link structure;
an operation of executing a third preset operation on a node in the link structure and selecting at least one file from the recommended file or through a file manager entry;
optionally, the processor 610 is further configured to:
obtaining a link structure updated after the first input;
determining a link relation between files corresponding to each node in the updated link structure based on the link structure;
and merging the files corresponding to the nodes based on the link relation among the files to generate a link file.
Optionally, the processor 610 is further configured to:
and storing the file and the source information of the file into a global link database or a data table.
Optionally, the user input unit 607 is further configured to: receiving a first click operation on a link file displayed in a suspension manner on a page of an application operated by a user under the condition that the page of the application operated by the user has a record in a global link database or a data table; the processor 610 is further configured to display a file of the linked files in response to the first click operation.
Optionally, the user input unit 607 is further configured to: receiving a second click operation on the icon of the link file; the processor 610 is further configured to display a file of the link files in response to the second click operation.
Optionally, the user input unit 607 is further configured to: receiving a third click operation on a child node in the link file; the processor 610 is further configured to display a file corresponding to the child node in response to the third click operation.
Optionally, the user input unit 607 is further configured to receive a fourth click operation on a node in the link file; the processor 610 is further configured to display a description of the different paths corresponding to the bifurcation node in response to the fourth clicking operation.
Optionally, the user input unit 607 is further configured to receive a fifth click operation on the path at the bifurcation node; the processor 610 is further configured to display, in response to the fifth click operation, a file on a path corresponding to the fifth click operation.
Optionally, the user input unit 607 is further configured to receive a second input of the link file by the user; the processor 610 is further configured to send the link file in response to the second input;
optionally, the user input unit 607 is further configured to receive an operation of sharing a file corresponding to one node in a link structure corresponding to the link file, or an operation of sharing the node and files corresponding to all child nodes of the node, and the processor 610 is further configured to send the file;
optionally, the user input unit 607 is further configured to receive an operation of sharing a file corresponding to a link in a link structure corresponding to the link file, and the processor 610 is further configured to send the file corresponding to the link.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned file merging method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned embodiment of the file merging method, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in an opposing order depending on the functionality involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 application 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, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for merging files, comprising:
under the condition that a triggering condition of file merging is met, displaying a file merging page, and displaying a recommended file and a link structure on the file merging page;
receiving a first input to the recommended file and the link structure;
and responding to the first input, and generating a link file which is generated after the link structure is updated based on the recommendation file.
2. The file merging method according to claim 1, wherein the meeting of the trigger condition for file merging includes at least one of:
receiving a first preset operation on a target file;
the number of times of executing second preset operation on the target object in a preset time period exceeds a first preset threshold;
the number of newly-added files with the same type and similar file names in the target application exceeds a second preset threshold value;
and determining the recommended file according to the source information of the target file, the file of the target object obtained based on the second preset operation or the newly added files with the same type and similar file names in the target application.
3. The file merging method of claim 1, wherein the first input comprises at least one of:
an operation of selecting at least one of the recommended files and dragging the at least one file to a child node of the link structure;
adding a description for at least one sublink at a branching node of the link structure;
an operation of executing a third preset operation on a node in the link structure and selecting at least one file from the recommended file or through a file manager entry;
wherein generating a link file in response to the first input comprises:
obtaining a link structure updated after the first input;
determining a link relation between files corresponding to each node in the updated link structure based on the link structure;
and merging the files corresponding to the nodes based on the link relation among the files to generate a link file.
4. The file merging method according to claim 1, wherein before displaying the file merging page in case that the triggering condition for file merging is satisfied, the method further comprises:
and storing the file and the source information of the file into a global link database or a data table.
5. The file merging method according to claim 1, further comprising at least one of:
under the condition that a page of an application operated by a user has a record in a global link database or a data table, receiving a first click operation on a link file displayed on the page of the application operated by the user in a suspension manner, and responding to the first click operation to display a file in the link file;
receiving a second click operation on the icon of the link file, and responding to the second click operation to display the file in the link file;
receiving a third click operation on a child node in the link file, responding to the third click operation, and displaying a file corresponding to the child node;
receiving a fourth click operation on a branch node in the link file, and responding to the fourth click operation to display descriptions of different paths corresponding to the branch node;
receiving a fifth click operation on the path at the branch node, and responding to the fifth click operation to display the file on the path corresponding to the fifth click operation.
6. The file merging method according to claim 1, further comprising at least one of:
receiving a second input of the link file from the user, and sending the link file in response to the second input;
receiving an operation of sharing a file corresponding to a node in a link structure corresponding to the link file, or receiving an operation of sharing files corresponding to the node and all child nodes of the node, and sending the file;
receiving an operation of sharing a file corresponding to one link in a link structure corresponding to the link file, and sending the file corresponding to the link.
7. A file merging apparatus, comprising:
the display unit is used for displaying a file merging page under the condition that a triggering condition of file merging is met, and displaying a recommended file and a link structure on the file merging page;
a first receiving unit for receiving a first input to the recommended file and the link structure;
and the merging unit is used for responding to the first input and generating a link file, and the link file is generated after the link structure is updated on the basis of the recommendation file.
8. The document merge apparatus of claim 7, wherein the first input comprises at least one of:
an operation of selecting at least one of the recommended files and dragging the at least one file to a child node of the link structure;
adding a description for at least one sublink at a branching node of the link structure;
an operation of executing a third preset operation on a node in the link structure and selecting at least one file from the recommended file or through a file manager entry;
wherein the merging unit is configured to:
obtaining a link structure updated after the first input;
determining a link relation between files corresponding to each node in the updated link structure based on the link structure;
and merging the files corresponding to the nodes based on the link relation among the files to generate a link file.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the file merging method according to any one of claims 1 to 6.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the file merging method according to any one of claims 1 to 6.
CN202110491581.3A 2021-05-06 2021-05-06 File merging method and device, electronic equipment and storage medium Pending CN113297141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110491581.3A CN113297141A (en) 2021-05-06 2021-05-06 File merging method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110491581.3A CN113297141A (en) 2021-05-06 2021-05-06 File merging method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113297141A true CN113297141A (en) 2021-08-24

Family

ID=77321729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110491581.3A Pending CN113297141A (en) 2021-05-06 2021-05-06 File merging method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113297141A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130055127A1 (en) * 2011-08-25 2013-02-28 International Business Machines Corporation Manipulating multiple objects in a graphic user interface
CN103593436A (en) * 2013-11-12 2014-02-19 华为技术有限公司 File merging method and device
US20180060344A1 (en) * 2016-08-31 2018-03-01 Ca, Inc. Merging file storage directory structures through user interface visualization of refactoring decisions
CN108009274A (en) * 2017-12-19 2018-05-08 维沃移动通信有限公司 Piece file mergence method and mobile terminal
CN108021702A (en) * 2017-12-26 2018-05-11 百度在线网络技术(北京)有限公司 Classification storage method, device, OLAP database system and medium based on LSM-tree
CN110874349A (en) * 2018-08-13 2020-03-10 北京京东尚科信息技术有限公司 File sorting method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130055127A1 (en) * 2011-08-25 2013-02-28 International Business Machines Corporation Manipulating multiple objects in a graphic user interface
CN103593436A (en) * 2013-11-12 2014-02-19 华为技术有限公司 File merging method and device
US20180060344A1 (en) * 2016-08-31 2018-03-01 Ca, Inc. Merging file storage directory structures through user interface visualization of refactoring decisions
CN108009274A (en) * 2017-12-19 2018-05-08 维沃移动通信有限公司 Piece file mergence method and mobile terminal
CN108021702A (en) * 2017-12-26 2018-05-11 百度在线网络技术(北京)有限公司 Classification storage method, device, OLAP database system and medium based on LSM-tree
CN110874349A (en) * 2018-08-13 2020-03-10 北京京东尚科信息技术有限公司 File sorting method and device

Similar Documents

Publication Publication Date Title
CN112486385A (en) File sharing method and device, electronic equipment and readable storage medium
CN113596555A (en) Video playing method and device and electronic equipment
CN112954111A (en) Method and device for sharing pictures, electronic equipment and storage medium
CN113114845B (en) Notification message display method and device
CN113849092A (en) Content sharing method and device and electronic equipment
CN113986083A (en) File processing method and electronic equipment
CN112416212A (en) Program access method, device, electronic equipment and readable storage medium
CN112287141A (en) Photo album processing method and device, electronic equipment and storage medium
CN115543176A (en) Information processing method and device and electronic equipment
CN113297141A (en) File merging method and device, electronic equipment and storage medium
CN115167721A (en) Display method and device of functional interface
CN113779293A (en) Image downloading method, device, electronic equipment and medium
CN114090896A (en) Information display method and device and electronic equipment
CN113805756A (en) Interface display method and device, electronic equipment and storage medium
CN112764648A (en) Screen capturing method and device, electronic equipment and storage medium
CN113868269A (en) Screenshot method and device, electronic equipment and readable storage medium
CN112486650A (en) Operation path switching method and device and electronic equipment
CN113139367A (en) Document generation method and device and electronic equipment
CN113709300A (en) Display method and device
CN112416203A (en) Message reply method, device and storage medium
CN112818094A (en) Chat content processing method and device and electronic equipment
CN112328141A (en) Copying method and device
CN113037618B (en) Image sharing method and device
CN112612400B (en) Text content processing method and electronic equipment
CN112578966B (en) Application program switching method and device and electronic equipment

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