File merging method, device, electronic device and storage medium
By displaying the file merging page on mobile phones and other devices, receiving user input and generating linked files, it solves the problem of inefficient search for fragmented files and achieves efficient merging and searching of similar files.
Patent Information
- Application Number
- CN202110491581.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-06
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2041-05-06
AI Technical Summary
On mobile phones and other devices, a large number of fragmented files are stored, resulting in inefficient file search. Especially when there is continuity or association between similar files, it is difficult for users to quickly find the required files.
By displaying the file merger page when meeting specific trigger conditions, displaying recommendation files and link structures, receiving user input, and generating link files after renewal of recommendation files and link structures, so as to merge similar documents with associated or continuous relationships with relationships or continuous relationships. Become a file.
It realizes merging similar files with associated relationships or continuity relationships into one file, which significantly shortens the file search time and improves the file search efficiency.
Smart Images

Figure CN113297141B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and specifically relates to a file merging method, device, electronic device and storage medium. Background Art
[0002] Currently, there are a large number of fragmented files stored on mobile phones, and it is very inconvenient to find the files we need from these files.
[0003] In some scenarios, many files, such as pictures and videos, actually have similar files, and these similar files have certain continuity or association. For example, when receiving chat record screenshots, one picture may not be complete, or the user needs to capture the chat records of multiple contacts. In this case, one chat record includes many screenshots; when receiving software screenshots, many people use screenshots to tell others how to use a certain software or a certain function. In this case, one operation is also implemented by many software screenshots.
[0004] Currently, after receiving such files, users generally store them in a default folder, and then search for them based on the file name when they need to use them. Multiple similar files need to be checked and confirmed to be the target each, resulting in low file search efficiency. Summary of the invention
[0005] The embodiments of the present application provide a file merging method, device, electronic device and storage medium, which can merge files with certain continuity or association relationships, thereby improving file search efficiency.
[0006] In a first aspect, an embodiment of the present application provides a method for merging files, the method comprising:
[0007] When the triggering condition for file merging is met, a file merging page is displayed, and recommended files and link structures are displayed on the file merging page;
[0008] receiving a first input from a user regarding the recommended file and link structure;
[0009] In response to the first input, a link file is generated, wherein the link file is generated after the link structure is updated based on the recommendation file.
[0010] In a second aspect, an embodiment of the present application provides a file merging device, the device comprising:
[0011] A display unit, configured to display a file merging page when a trigger condition for file merging is met, and to display recommended files and link structures on the file merging page;
[0012] A first receiving unit, configured to receive a first input of the recommended file and link structure;
[0013] A merging unit is used to generate a link file in response to the first input, wherein the link file is generated after the link structure is updated based on the recommended file.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the file merging method described in the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the file merging method described in the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the file merging method as described in the first aspect.
[0017] In an embodiment of the present application, when the triggering conditions for file merging are met, a file merging page is displayed, and recommended files and a link structure are displayed on the file merging page; a first input from a user regarding the recommended files and the link structure is received, and a link file is generated in response to the first input, thereby merging similar files with an association relationship or a continuity relationship into one file, which can greatly shorten the time required to find files and improve file search efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A schematic diagram of a process for merging files according to an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of a link structure provided in an embodiment of the present application;
[0020] Figure 3 A schematic diagram of a preview page for a link file provided in an embodiment of the present application;
[0021] Figure 4 A schematic diagram of the structure of a file merging device provided in an embodiment of the present application;
[0022] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0023] Figure 6A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0026] It should be understood that the reference to "one embodiment" or "an embodiment" in the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Therefore, the "in one embodiment" or "in an embodiment" appearing in various places throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
[0027] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.
[0028] The following is a detailed description of the file merging method provided by the embodiment of the present application through some embodiments and their application scenarios in conjunction with the accompanying drawings. The file merging method provided by the embodiment of the present application is executed by an electronic device, and the electronic device mentioned in the embodiment of the present application includes but is not limited to a mobile phone, a tablet computer, a computer, a wearable device, etc.
[0029] Figure 1 The following is a flowchart of a method for merging files provided in an embodiment of the present application. The method for merging files includes the following steps:
[0030] Step 100: When the triggering condition for file merging is met, a file merging page is displayed, and recommended files and link structures are displayed on the file merging page;
[0031] It is understandable that, when the triggering condition for file merging is met, the file merging function is triggered, the file merging page is entered, and the recommended files and link structure are displayed on the file merging page.
[0032] The recommended files are files that can be merged and are recommended by the electronic device.
[0033] The link structure refers to the structure required for merging files. Optionally, the link structure is a tree structure, including at least one node. By default, there is only one root node, and the user can choose to add child nodes, or add sibling nodes to non-root nodes. Long press a node to select the target file. You can also drag files from the recommended files to the node. Optionally, the link structure includes a root node and multiple child nodes, where the child node can also be a forked node. A forked node can connect several sub-links. Figure 2 A schematic diagram of a link structure provided in an embodiment of the present application.
[0034] The file merging page is a page that can realize the file merging function.
[0035] Optionally, the file merging in the embodiment of the present application refers to linking files with an associated relationship through a pointer linked list, and therefore, the file merging page may also be referred to as a pointer linking page.
[0036] Optionally, the triggering condition for satisfying file merging includes at least one of the following:
[0037] Receiving a first preset operation on a target file;
[0038] The number of times the second preset operation is performed on the target object in the preset time period exceeds the first preset threshold;
[0039] The number of newly added files of the same type and with similar file names in the target application exceeds a second preset threshold;
[0040] Optionally, the electronic device receives a first preset operation on the target file, and the first preset operation includes a long press operation. In the folder where the target file is located, long press the target file, and a merge file function option will appear. The user selects merge file to enter the file merge page.
[0041] It should be noted that the first preset operation may also be other operations that can cause the merge file function option to appear.
[0042] Optionally, the second preset operation includes a screenshot, a screenshot, or a photo operation. When the electronic device detects that the number of second preset operations performed on the target object in the preset time period exceeds the first preset threshold, the file merging function is triggered and the file merging page is entered. For example, when the electronic device detects that the user has taken more than two screenshots or photos in a row in a certain period of time, a prompt message appears to remind the user that the same type of files obtained by continuous screenshots, screenshots, or photos can be merged, and the user enters the file merging page after selecting confirmation.
[0043] Optionally, when the electronic device detects that the number of newly added files of the same type and similar file names in the target application exceeds a second preset threshold, the file merging function is triggered and the file merging page is entered. For example, when a user receives multiple pictures at one time, a prompt message appears to remind the user that they can be merged, and the user enters the file merging page after selecting confirmation.
[0044] Optionally, the recommended file is determined according to source information of the target file, a file of the target object obtained based on the second preset operation, or a newly added file of the same type and similar file name in the target application.
[0045] Optionally, the electronic device recommends files having the same source information as the target file, for example, recommends files originating from the same target application.
[0046] Optionally, the electronic device uses the file of the target object obtained based on the second preset operation as a recommended file, for example, uses images obtained by continuous screenshots, screenshots or photos taken by the user over a period of time as recommended files.
[0047] Optionally, the electronic device recommends newly added files of the same type and similar file names in the target application, for example, recommends multiple pictures received by the user at one time, wherein the similarity of the file names refers to the degree of similarity between the file names exceeding a third preset threshold.
[0048] Step 101: Receive a first input from a user regarding the recommended file and link structure.
[0049] Optionally, the first input includes at least one of the following:
[0050] An operation of selecting at least one file among the recommended files and dragging the at least one file to a child node of the link structure;
[0051] An operation of adding a description to at least one sub-link at a bifurcation node of the link structure;
[0052] An operation of performing a third preset operation on a node in the link structure and selecting at least one file from the recommended files or through a file manager portal;
[0053] Optionally, after entering the file merging page, recommended files and link structures will be displayed, and the user will be prompted to select at least one of the recommended files and drag the at least one file to a child node of the link structure, thereby filling the link structure with files.
[0054] 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 files or through a file manager portal to add it to the node.
[0055] Optionally, the user can add a description for at least one sub-link at the bifurcation node of the link structure. Taking the screenshot tutorial of stock account opening as an example, there are 2 sub-links after the information is submitted. The user can fill in the two sub-links at this bifurcation point: click this node if the review is successful; click this node if the review fails. The bifurcation node is a blank page when browsing, and the above two descriptions are displayed separately. Clicking different descriptions will lead the user to different branches.
[0056] Step 102: Generate a link file in response to the first input, wherein the link file is generated after updating the link structure based on the recommendation file.
[0057] It is understandable that the link construction of the link file in the embodiment of the present application is completed by the user adding tree nodes, the nodes are files, and the relationship between the nodes is the link relationship between the files. It should be noted that the user formulates the pictures required for this file merger by selecting or dragging on the file merger page, and can adjust the order of the front and back by dragging each picture item. After the user completes the relevant operations, the electronic device generates a link file.
[0058] Optionally, the link file is stored in a file manager.
[0059] In an embodiment of the present application, when the triggering conditions for file merging are met, a file merging page is displayed, and recommended files and a link structure are displayed on the file merging page; a first input from a user regarding the recommended files and the link structure is received, and a link file is generated in response to the first input, thereby merging similar files with an association relationship or a continuity relationship into one file, which can greatly shorten the time required to find files and improve file search efficiency.
[0060] Optionally, the method further comprises:
[0061] Hide the source files corresponding to the files in the link file.
[0062] It is understandable that the files selected by the user can be linked together through the pointer, and after the linking is completed, only the linked pointer file is displayed to the user, and the source file is selectively hidden. In this way, the user can use the file more concisely and clearly in the future.
[0063] 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.
[0064] Optionally, when the triggering condition for file merging is met, before displaying the file merging page, the method further includes:
[0065] The files and their source information are stored in a globally linked database or data table.
[0066] Optionally, when saving a file through a third-party application, downloading and saving a file through other software, saving a screenshot file, etc., the source information of the file is also saved, such as a chat contact, a software download page, etc. The file and the source information of the file are saved in a global link database or data table in the form of an association relationship. Based on this global link database or data table, the file can be linked to the source page, and the source page can also be linked to the file.
[0067] In the embodiment of the present application, by establishing a global link database or data table, similar files with association or continuity relationships are merged into one file, which can greatly shorten the time required for finding files and improve file search efficiency.
[0068] Optionally, the method further comprises at least one of the following:
[0069] In a case where 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 in a floating manner on the page of the application operated by the user, and displaying a file in the link file in response to the first click operation;
[0070] receiving a second click operation on the icon of the link file, and displaying the file in the link file in response to the second click operation;
[0071] receiving a third click operation on a child node in the link file, and displaying a file corresponding to the child node in response to the third click operation;
[0072] receiving a fourth click operation on a forked node in the link file, and displaying descriptions of different paths corresponding to the forked node in response to the fourth click operation;
[0073] A fifth click operation on the path at the forked node is received, and in response to the fifth click operation, files on the path corresponding to the fifth click operation are displayed.
[0074] Optionally, after the link file is generated, the electronic device receives a user input on the link file, and displays a file in the link file in response to the input.
[0075] Optionally, the user clicks the icon of the link file, the electronic device receives a second click operation on the icon of the link file by the user, and displays the file in the link file in response to the second click operation;
[0076] Optionally, when the user clicks a sub-node in the link file, the electronic device displays the file corresponding to the sub-node, that is, receiving a third click operation of the user on the sub-node in the link file, and displaying the file corresponding to the sub-node in response to the third click operation;
[0077] Optionally, the user clicks on the forked node in the link file, and the electronic device receives a fourth click operation on the forked node in the link file by the user, and in response to the fourth click operation, displays descriptions of different paths corresponding to the forked node;
[0078] Optionally, the user clicks on a path of a forked node, and the electronic device receives a fifth click operation of the user on the path at the forked node, and in response to the fifth click operation, displays the file on the path corresponding to the fifth click operation.
[0079] Optionally, in the case that a page of an application operated by a user has a record in a global link database or a data table, the user clicks on an operation of a link file displayed in a floating manner on the page of the application operated by the user.
[0080] It is understood that there are several ways to browse linked files:
[0081] In the case that a page of an application operated by a user has a record in the global link database or data table, the user can click on a link file displayed in a floating manner on the page of the application operated by the user to enter a preview page.
[0082] Optionally, the user directly enters the link file and performs a click operation to browse or preview the link file, including:
[0083] Click on the icon of the link file;
[0084] Click on the file at the forked node in the link file;
[0085] Click on the path at the fork node in the link file;
[0086] Click on the file at the child node in the link file.
[0087] Figure 3 A schematic diagram of a preview page of a link file provided in an embodiment of the present application. Figure 3As shown, the user can slide to zoom in and out of the file, so that the user can preview the entire linked file without clicking on each individual file. The user can click on a node to enter the file corresponding to the node, and can click on the file to enter the next node. When entering a fork, the instructions of the two paths are displayed, and different instructions are clicked to enter different paths.
[0088] In the embodiment of the present application, by receiving the user's input on the link file and displaying the file in the link file corresponding to the input, the time required for finding the file can be greatly shortened and the efficiency of file browsing can be improved.
[0089] Optionally, the method further comprises at least one of the following:
[0090] receiving a second input of the link file from a user, and sending the link file in response to the second input;
[0091] receiving an operation of sharing a file corresponding to a node in a link structure corresponding to the link file, or an operation of sharing files corresponding to the node and all child nodes of the node, and sending the file;
[0092] An operation of sharing a file corresponding to a link in a link structure corresponding to the link file is received, and the file corresponding to the link is sent.
[0093] Optionally, users can share the linked file.
[0094] Optionally, the user shares the entire link file. The electronic device receives a second input from the user on the link file, and sends the link file in response to the second input;
[0095] Optionally, the user shares a file corresponding to a node in the link structure corresponding to the link file, or shares files corresponding to the node and all child nodes of the node. The electronic device receives the operation of sharing a file corresponding to a node in the link structure corresponding to the link file, and sends the file corresponding to the node.
[0096] Alternatively, the electronic device performs a sharing operation on the files corresponding to the node and all the child nodes of the node, and sends the files corresponding to the node and all the child nodes of the node.
[0097] Optionally, the user shares a file corresponding to a link in the link structure corresponding to the link file, and the electronic device receives an operation of sharing a file corresponding to a link in the link structure corresponding to the link file, and sends the file corresponding to the link.
[0098] Optionally, the electronic device receives an operation for selecting a sharing method, and in response to the operation, sends the relevant file in the sharing method.
[0099] Optionally, the user can directly share the file in the file manager in the same way as sending a normal file. When sharing, you can choose to send it as a PDF or original file. The PDF content is the same as the preview.
[0100] When previewing, users can long press a node to share it. When sharing, they can choose whether to send the files corresponding to all child nodes of the node together, and then choose whether to send it as PDF or original file type.
[0101] When there are too many links and the user only wants to send a certain link, he can slide to select the mode (which can be entered by clicking an option), then draw a curve along the path he wants to send, and then click Share. When sharing, the files corresponding to all covered nodes can be sent.
[0102] In the embodiment of the present application, by receiving the user's sharing input for the link file and sending the related link file in response to the sharing input, the time required for finding the file can be greatly shortened and the file sharing efficiency can be improved.
[0103] Optionally, the file in the embodiment of the present application can be a picture or a video, or other types of files. Take the file as an example of a video. When saving a video through a third-party application, downloading and saving a video through other software, saving a screen recording file, etc., the source information of the video is saved at the same time, such as the chat contacts of the third-party application, the download page of the software, etc. The source information and the video information are saved in a global link database or data table in the form of an association relationship. Through this database or data table, you can link to the source page through the video, and you can also link to the video through the source page. The production of video file links receives the user's first input of the recommended video and the link structure, and generates a link video in response to the first input; when the user browses the linked video, a GIF picture can be displayed at the node, the video content can be dynamically displayed, and the video playback page can be clicked to enter the video playback page. After the playback is completed, the next node of the link can be automatically played, that is, the effect of synthesizing multiple videos into a single video in a certain order can be achieved in a fast way.
[0104] It should be noted that the file merging method provided in the embodiment of the present application can be executed by a file merging device, or a control module in the file merging device for executing the method for loading file merging. In the embodiment of the present application, the file merging device provided in the embodiment of the present application is described by taking the file merging method executed by the file merging device as an example.
[0105] Figure 4A schematic diagram of the structure of a file merging device provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the device includes: a display unit 410, a first receiving unit 420 and a merging unit 430, wherein:
[0106] A display unit 410 is used to display a file merging page when a trigger condition for file merging is met, and to display recommended files and link structures on the file merging page;
[0107] A first receiving unit 420, configured to receive a first input of the recommended file and link structure;
[0108] The merging unit 430 is configured to generate a link file in response to the first input, wherein the link file is generated after the link structure is updated based on the recommended file.
[0109] In an embodiment of the present application, when the triggering conditions for file merging are met, a file merging page is displayed, and recommended files and a link structure are displayed on the file merging page; a first input from a user regarding the recommended files and the link structure is received, and a link file is generated in response to the first input, thereby merging similar files with an association relationship or a continuity relationship into one file, which can greatly shorten the time required to find files and improve file search efficiency.
[0110] Optionally, the triggering condition for satisfying file merging includes at least one of the following:
[0111] Receiving a first preset operation on a target file;
[0112] The number of times the second preset operation is performed on the target object in the preset time period exceeds the first preset threshold;
[0113] The number of newly added files of the same type and with similar file names in the target application exceeds a second preset threshold;
[0114] 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 newly added file of the same type and similar file name in the target application.
[0115] Optionally, the first input includes at least one of the following:
[0116] An operation of selecting at least one file among the recommended files and dragging the at least one file to a child node of the link structure;
[0117] An operation of adding a description to at least one sub-link at a bifurcation node of the link structure;
[0118] An operation of performing a third preset operation on a node in the link structure and selecting at least one file from the recommended files or through a file manager portal;
[0119] Wherein, in response to the first input, generating a link file comprises:
[0120] Obtaining the updated link structure after the first input;
[0121] Based on the link structure, determining the link relationship between the files corresponding to each node in the updated link structure;
[0122] The files corresponding to the nodes are merged based on the link relationship between the files to generate a link file.
[0123] Optionally, when the triggering condition for file merging is met, before displaying the file merging page, the method further includes:
[0124] The storage unit is used to store the file and the source information of the file in a global link database or a data table.
[0125] Optionally, the method further includes a browsing unit, wherein the browsing unit is configured to perform at least one of the following:
[0126] In a case where 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 in a floating manner on the page of the application operated by the user, and displaying a file in the link file in response to the first click operation;
[0127] receiving a second click operation on the icon of the link file, and displaying the file in the link file in response to the second click operation;
[0128] receiving a third click operation on a child node in the link file, and displaying a file corresponding to the child node in response to the third click operation;
[0129] receiving a fourth click operation on a forked node in the link file, and displaying descriptions of different paths corresponding to the forked node in response to the fourth click operation;
[0130] A fifth click operation on the path at the forked node is received, and in response to the fifth click operation, files on the path corresponding to the fifth click operation are displayed.
[0131] Optionally, it also includes:
[0132] A browsing unit, configured to receive a third input of the user on the link file, and display the file in the link file in response to the third input;
[0133] Wherein, the third input includes at least one of the following:
[0134] A click operation on the icon of the link file;
[0135] A click operation on a file at a forked node in the link file;
[0136] A click operation on the path at the forked node in the link file;
[0137] A click operation on a file at a child node in the link file;
[0138] In the case that a page of an application operated by a user has a record in a global link database or a data table, the user clicks an operation of a link file displayed in a floating manner on the page of the application operated by the user.
[0139] Optionally, the method further includes a sending unit, configured to perform at least one of the following:
[0140] receiving a second input of the link file from a user, and sending the link file in response to the second input;
[0141] receiving an operation of sharing a file corresponding to a node in a link structure corresponding to the link file, or an operation of sharing files corresponding to the node and all child nodes of the node, and sending the file;
[0142] An operation of sharing a file corresponding to a link in a link structure corresponding to the link file is received, and the file corresponding to the link is sent.
[0143] The file merging device in the embodiment of the present application can be a device or electronic device with an operating system, or a component, integrated circuit, or chip in a terminal. The electronic device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0144] The file merging device provided in the embodiment of the present application can achieve Figures 1 to 3 In order to avoid repetition, the various processes implemented by the file merging device in the method embodiment will not be described here.
[0145] The file merging device provided in the embodiment of the present application displays a file merging page when the triggering conditions for file merging are met, and displays recommended files and link structures on the file merging page; receives a first input from a user regarding the recommended files and link structures, and generates a link file in response to the first input, thereby merging similar files with an association relationship or a continuity relationship into one file, which can greatly shorten the time required to find files and improve file search efficiency.
[0146] Optionally, the embodiment of the present application further provides an electronic device 500, such as Figure 5 As shown, the electronic device includes a processor 501, a memory 502, and a program or instruction stored in the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, each process of the above-mentioned file merging method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0147] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0148] Figure 6 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0149] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and at least some of the components of a processor 610.
[0150] Those skilled in the art will appreciate that the electronic device 600 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0151] It should be understood that in the embodiment of the present application, the input unit 604 may include a graphics processor (Graphics Processing Unit, GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture 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, etc. The user input unit 607 includes a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0152] In the embodiment of the present application, the radio frequency unit 601 obtains information and then sends it to the processor 610 for processing. Generally, the 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.
[0153] The memory 609 can be used to store software programs or instructions and various data. The memory 609 can mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 609 can include a high-speed random access memory, and can also include a non-volatile memory, wherein the non-volatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0154] The processor 610 may include one or more processing units; optionally, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communications, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 610.
[0155] The processor 610 is configured to display a file merging page when a trigger condition for file merging is met, and to display recommended files and link structures on the file merging page;
[0156] A user input unit 607, used to receive a first input of the recommended file and link structure;
[0157] 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.
[0158] In an embodiment of the present application, when the triggering conditions for file merging are met, a file merging page is displayed, and recommended files and a link structure are displayed on the file merging page; a first input from a user regarding the recommended files and the link structure is received, and a link file is generated in response to the first input, thereby merging similar files with an association relationship or a continuity relationship into one file, which can greatly shorten the time required to find files and improve file search efficiency.
[0159] Optionally, the triggering condition for satisfying file merging includes at least one of the following:
[0160] Receiving a first preset operation on a target file;
[0161] The number of times the second preset operation is performed on the target object in the preset time period exceeds the first preset threshold;
[0162] The number of newly added files of the same type and with similar file names in the target application exceeds a second preset threshold;
[0163] 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 newly added file of the same type and similar file name in the target application.
[0164] Optionally, the first input includes at least one of the following:
[0165] An operation of selecting at least one file among the recommended files and dragging the at least one file to a child node of the link structure;
[0166] An operation of adding a description to at least one sub-link at a bifurcation node of the link structure;
[0167] An operation of performing a third preset operation on a node in the link structure and selecting at least one file from the recommended files or through a file manager portal;
[0168] Optionally, the processor 610 is further configured to:
[0169] Obtaining the updated link structure after the first input;
[0170] Based on the link structure, determining the link relationship between the files corresponding to each node in the updated link structure;
[0171] The files corresponding to the nodes are merged based on the link relationship between the files to generate a link file.
[0172] Optionally, the processor 610 is further configured to:
[0173] The files and their source information are stored in a globally linked database or data table.
[0174] Optionally, the user input unit 607 is also used to: when there is a record in the global link database or data table for the page of the application operated by the user, receive a first click operation on a link file displayed in suspension on the page of the application operated by the user; the processor 610 is also used to display the file in the link file in response to the first click operation.
[0175] Optionally, the user input unit 607 is further configured to: receive a second click operation on the icon of the link file; and the processor 610 is further configured to display the file in the link file in response to the second click operation.
[0176] Optionally, the user input unit 607 is further configured to: receive a third click operation on a sub-node in the link file; and the processor 610 is further configured to display a file corresponding to the sub-node in response to the third click operation.
[0177] Optionally, the user input unit 607 is further configured to receive a fourth click operation on a forked node in the link file; the processor 610 is further configured to display descriptions of different paths corresponding to the forked node in response to the fourth click operation.
[0178] 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 files on the path corresponding to the fifth click operation in response to the fifth click operation.
[0179] Optionally, the user input unit 607 is further configured to receive a second input from a user on the link file; the processor 610 is further configured to send the link file in response to the second input;
[0180] Optionally, the user input unit 607 is further used to receive an operation of sharing a file corresponding to a node in the link structure corresponding to the link file, or an operation of sharing files corresponding to the node and all child nodes of the node, and the processor 610 is further used to send the file;
[0181] Optionally, the user input unit 607 is further used to receive an operation of sharing a file corresponding to a link in the link structure corresponding to the link file, and the processor 610 is further used to send the file corresponding to the link.
[0182] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned file merging method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0183] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0184] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned file merging method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0185] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0186] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of additional elements in the process, method, article or device including the element. In addition, it should be noted that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing in a substantially simultaneous manner or in the opposite order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0187] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0188] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A file merging method, characterized in that: include: When the triggering condition for file merging is met, a file merging page is displayed, and recommended files and link structures are displayed on the file merging page; receiving a first input of the recommended file and link structure; In response to the first input, generating a link file, wherein the link file is generated after the link structure is updated based on the recommendation file; The first input includes at least one of the following: An operation of selecting at least one file among the recommended files and dragging the at least one file to a child node of the link structure; An operation of adding a description to at least one sub-link at a bifurcation node of the link structure; An operation of performing a third preset operation on a node in the link structure and selecting at least one file from the recommended files or through a file manager portal.
2. The file merging method according to claim 1, characterized in that: The triggering condition for satisfying file merging includes at least one of the following: receiving a first preset operation on a target file; The number of times the second preset operation is performed on the target object in the preset time period exceeds the first preset threshold; The number of newly added files of the same type and with similar file names in the target application exceeds a second preset threshold; 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 newly added file of the same type and similar file name in the target application.
3. The file merging method according to claim 1, characterized in that: The step of generating a link file in response to the first input comprises: Obtaining the updated link structure after the first input; Based on the link structure, determining the link relationship between the files corresponding to each node in the updated link structure; The files corresponding to the nodes are merged based on the link relationship between the files to generate a link file.
4. The file merging method according to claim 1, characterized in that: When the triggering condition for file merging is met, before displaying the file merging page, the method further includes: The files and their source information are stored in a globally linked database or data table.
5. The file merging method according to claim 1, characterized in that: Also includes at least one of the following: In a case where 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 in a floating manner on the page of the application operated by the user, and displaying a file in the link file in response to the first click operation; receiving a second click operation on the icon of the link file, and displaying the file in the link file in response to the second click operation; receiving a third click operation on a child node in the link file, and displaying a file corresponding to the child node in response to the third click operation; receiving a fourth click operation on a forked node in the link file, and displaying descriptions of different paths corresponding to the forked node in response to the fourth click operation; A fifth click operation on the path at the forked node is received, and in response to the fifth click operation, files on the path corresponding to the fifth click operation are displayed.
6. The file merging method according to claim 1, characterized in that: Also includes at least one of the following: receiving a second input of the link file from a 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 an operation of sharing files corresponding to the node and all child nodes of the node, and sending the file; An operation of sharing a file corresponding to a link in a link structure corresponding to the link file is received, and the file corresponding to the link is sent.
7. A file merging device, characterized in that: include: A display unit, configured to display a file merging page when a trigger condition for file merging is met, and to display recommended files and link structures on the file merging page; A first receiving unit, configured to receive a first input of the recommended file and link structure; a merging unit, configured to generate a link file in response to the first input, wherein the link file is generated after the link structure is updated based on the recommended file; The first input includes at least one of the following: An operation of selecting at least one file among the recommended files and dragging the at least one file to a child node of the link structure; An operation of adding a description to at least one sub-link at a bifurcation node of the link structure; An operation of performing a third preset operation on a node in the link structure and selecting at least one file from the recommended files or through a file manager portal.
8. The file merging device according to claim 7, characterized in that: The merging unit is used for: Obtaining the updated link structure after the first input; Based on the link structure, determining the link relationship between the files corresponding to each node in the updated link structure; The files corresponding to the nodes are merged based on the link relationship between the files to generate a link file.
9. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the file merging method as described in any one of claims 1 to 6.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the file merging method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
File combination method and mobile terminal
CN108009274A