Favorites processing method, device and medium
By detecting the user's drag operation and implementing folder merging, the problem of low efficiency of folder merging in browser favorites is solved, simplifying the operation process and improving the merging efficiency.
Patent Information
- Application Number
- CN202110832725.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-22
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2041-07-22
AI Technical Summary
In the prior art, folder merging in browser favorites is low efficiency, and users need to copy URLs one by one, which is cumbersome and takes a long time.
By detecting the user's drag operation, if the drag operation position of the first folder matches the position range of the second folder, the merge of folders is realized, simplifying the operation process and shortening the time.
It realizes efficient merging of folders in favorites, simplifies the operation process, and improves the merging efficiency.
Smart Images

Figure CN113655944B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a method, device and medium for processing a favorites folder. Background Art
[0002] Favorites is a URL collection function provided by the browser. When users use the browser to browse the web, they can use the Favorites function provided by the browser to record the URL of the web page. When users need to visit the favorited web pages again, they can find these web pages and visit them through the URLs in the Favorites.
[0003] As the browser usage time increases and the number of web pages browsed by users increases, the number of URLs in the favorites will increase. In addition, since users are interested in different content at different times, the URLs in the favorites will be disorganized. Therefore, when users add URLs to their favorites, they often save the web pages in the corresponding folders.
[0004] In actual applications, users may have created multiple similar folders, such as "Movie 1", "Movie 2", "Movie 3", etc., and each of these folders contains a large number of URLs. In this case, in order to merge multiple folders, users usually need to copy the URLs in one folder to another folder one by one. The corresponding operation steps are cumbersome and time-consuming, resulting in low efficiency in merging folders in the favorites. Summary of the invention
[0005] In view of the above problems, the embodiments of the present invention propose a method, device and medium for processing favorites that overcome the above problems or at least partially solve the above problems. How to improve the efficiency of merging folders in favorites is a technical problem that technical personnel in this field need to solve.
[0006] In order to solve the above problem, an embodiment of the present invention discloses a method for processing a favorites folder, wherein the favorites folder includes at least two folders, and the method includes:
[0007] Detecting a first drag operation of a user on a first folder;
[0008] If the position of the first drag operation matches the position range of the second folder, the first folder and the second folder are merged.
[0009] On the other hand, an embodiment of the present invention discloses a device for processing a favorites folder, wherein the favorites folder includes at least two folders, and the device includes:
[0010] A first detection module, used to detect a first drag operation of a user on a first folder;
[0011] The first merging module is configured to merge the first folder and the second folder if the position of the first dragging operation matches the position range of the second folder.
[0012] On the other hand, an embodiment of the present invention discloses a device for processing favorites, including a memory and one or more programs, wherein the one or more programs are stored in the memory, and when the programs are executed by one or more processors, the steps of the aforementioned method are implemented.
[0013] On the other hand, the present invention discloses a machine-readable medium having instructions stored thereon, which, when executed by one or more processors, enables the device to execute one or more of the aforementioned favorites processing methods.
[0014] The embodiments of the present invention include the following advantages:
[0015] According to the embodiment of the present invention, the first folder and the second folder are merged according to the first drag operation on the first folder. Since the first folder and the second folder can be merged through one drag operation, the operation process can be simplified and the operation time can be shortened, thereby improving the efficiency of merging folders in the favorites. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a flowchart of the steps of Embodiment 1 of a method for processing a favorites folder of the present invention;
[0017] Figure 2 This is a flowchart of the steps of Embodiment 2 of a method for processing a favorites folder of the present invention;
[0018] Figure 3 is a structural block diagram of an embodiment of a collection processing device of the present invention;
[0019] Figure 4 is a structural block diagram of a device for processing a favorites folder according to an embodiment of the present invention when it is used as a terminal; and
[0020] Figure 5 It is a structural block diagram of a server according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0022] In response to the technical problem of how to improve the efficiency of merging folders in favorites, an embodiment of the present invention provides a processing solution for favorites, which specifically includes: at least two folders, for example, a first folder and a second folder, and the solution specifically includes: detecting a first drag operation of a user on the first folder; if the position of the first drag operation matches the position range of the second folder, merging the first folder and the second folder.
[0023] According to the embodiment of the present invention, the first folder and the second folder are merged according to the first drag operation on the first folder. Since the first folder and the second folder can be merged through one drag operation, the operation process can be simplified and the operation time can be shortened, thereby improving the efficiency of merging folders in the favorites.
[0024] The favorites processing method provided by the embodiment of the present invention can be applied to an application environment of a client and a server, wherein the client and the server are located in a wired or wireless network, and the client and the server perform data interaction through the wired or wireless network.
[0025] The client can run on a terminal, which specifically includes but is not limited to: smartphones, tablet computers, e-book readers, MP3 (Moving Picture Experts Group Audio Layer III) players, MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, car computers, desktop computers, set-top boxes, smart TVs, wearable devices, etc.
[0026] The client can merge the first folder into the second folder according to a drag operation by the user, and the server can store the information of the folders before and after the merger.
[0027] The client may correspond to a browser program, which is a client browsing program of the World Wide Web (Web) service, and can send requests to the Web server, and interpret and display the data sent from the server for the user to browse. It can be understood that the embodiment of the present invention does not limit the specific application corresponding to the client.
[0028] Method Example 1
[0029] Reference Figure 1 , shows a flowchart of a method for processing a favorites folder according to a first embodiment of the present invention. The favorites folder may include at least two folders. The method may include the following steps:
[0030] Step 101: Detecting a first drag operation of a user on a first folder;
[0031] Step 102: If the position of the first drag operation matches the position range of the second folder, the first folder and the second folder are merged.
[0032] In step 101, the first dragging operation may be an operation of dragging the selected first folder. In practical applications, the selected first folder may be dragged to any position on the screen. The first folder may be one folder, or the first folder may be multiple folders.
[0033] When a PC (personal computer) is used, the first drag operation can be triggered via a mouse. When a mobile terminal is used, the first drag operation can be triggered on a touch screen via a finger or a stylus. It can be understood that the embodiment of the present invention does not limit the specific triggering method of the first drag operation.
[0034] In step 102, when the position of the first drag operation matches the position range of the second folder, it can be considered that the user has a need to merge the first folder and the second folder, and therefore, the first folder and the second folder are merged.
[0035] Matching the position of the first drag operation with the position range of the second folder may include: the position of the first drag operation is within the position range of the second folder, and the dwell time exceeds a time threshold. The position range of the second folder is generally a rectangular range corresponding to the display area of the second folder.
[0036] In actual applications, a graphic mark corresponding to the first drag operation can be generated and displayed, and the position of the graphic mark can be used to represent the position of the first drag operation. In the case where part or all of the graphic mark enters the position range of the second folder, it can be considered that the position of the first drag operation is within the position range of the second folder. The dwell time can represent the time that part or all of the graphic mark enters the position range of the second folder. The duration threshold can be determined by those skilled in the art according to actual application requirements. For example, the unit of the duration threshold can be milliseconds or seconds, etc.
[0037] The embodiment of the present invention may provide the following technical solution for merging the first folder and the second folder:
[0038] Technical Solution 1
[0039] In technical solution 1, the process of merging the first folder and the second folder may specifically include: creating a first new folder, and adding the first folder and the second folder to the first new folder.
[0040] For example, if the first folder is folder A and the second folder is folder B, then when the position of the first drag operation matches the position range of the second folder, a first new folder can be created, and folder A and folder B can be placed in the first new folder, thereby making folder A and folder B appear to be in a parallel relationship and maintaining the independence of folder A and folder B.
[0041] Technical Solution 2
[0042] In technical solution 2, the process of merging the first folder and the second folder may specifically include: adding the first folder to the second folder.
[0043] For example, the first folder is folder A, and the second folder is folder B. When the position of the first drag operation matches the position range of the second folder, folder A can be placed in folder B, so that folder A becomes a subfolder of folder B.
[0044] Technical Solution 3
[0045] In technical solution 3, the process of merging the first folder and the second folder may specifically include: adding the website address of the first folder to the second folder, and deleting the first folder.
[0046] The merging of folders in technical solution 3 is used to merge multiple folders into one folder. After the merging of the folders is completed, the first folder being dragged will be deleted.
[0047] In order to merge multiple folders into one folder, the embodiment of the present invention can move the URL of the first folder to the second folder, and the moved object is specifically the URL of the first folder. In addition, the first folder is also deleted to meet the user's demand for merging URLs in multiple folders.
[0048] For example, the first folder A includes: website A1, website A2, ... website Am, and the second folder B includes: website B1, website B2, ... website Bn, where m and n are both natural numbers greater than 0; then after the embodiment of the present invention merges the website addresses of the first folder A into the second folder B, the merged second folder B may include: website B1, website B2, ... website Bn, website A1, website A2, ... website Am.
[0049] In one implementation, the adding of the URL of the first folder to the second folder specifically includes: sorting the URL of the first folder and the URL of the second folder according to a preset sorting feature; and displaying the sorting result in an area of the second folder.
[0050] Those skilled in the art may determine the preset sorting features according to actual application requirements. It should be understood that the embodiments of the present invention are not limited to the specific preset sorting features.
[0051] Optionally, the preset sorting features may include: time features, and / or name features. The time features may include: usage time. The URLs of the first folder and the URLs of the second folder may be sorted in order of usage time from the latest to the earliest. For example, if the usage time of URL A1 is later than the usage time of URL B1, URL A1 may be placed before URL B1. In the sorting results, the URLs of the first folder and the URLs of the second folder may be displayed mixedly, for example, the sorting results include: URL A1, URL B1, URL B2, URL B3, URL A3...etc.
[0052] The name feature may be a keyword feature of the content. The keyword feature may be the first word in the content, etc. The URLs of the first folder and the URLs of the second folder may be sorted according to the first letters corresponding to the keyword features; generally, the earlier the first letters are in the alphabetical order, the higher the sorting position. Alternatively, the URLs of the first folder and the URLs of the second folder may be sorted according to the degree of match between the keyword feature and the user's interest feature; generally, the higher the degree of match, the higher the sorting position.
[0053] In another implementation, the adding of the URL of the first folder to the second folder specifically includes: when the URL of the first folder is different from the URL of the second folder, merging the URL of the first folder into the second folder. To avoid duplicate URLs in the merged second folder, before merging, it can be determined whether the URL of the first folder is the same as the URL of the second folder. If the determination result is that they are different, the URL of the first folder can be merged into the second folder.
[0054] If the result of the judgment is yes, the corresponding duplicate prompt information can be displayed during the merging process, or after the merging is completed. The above duplicate prompt information can prompt the user that the URL of the first folder is the same as the URL of the second folder.
[0055] In the embodiment of the present invention, the first folder can act as a merged object, and the second folder can act as a merging object. Those skilled in the art can determine the merged object and the merging object according to actual application requirements, and the embodiment of the present invention does not limit the specific merged object and the merging object.
[0056] For example, after the URL of the first folder is merged into the second folder, the third folder can be taken as the merged object, and the first drag operation can be performed on the third folder to merge the URL of the third folder into the second folder.
[0057] For another example, after merging the URL of the first folder into the second folder, the second folder can be used as the merged object and the fourth folder as the merging object, and a first drag operation can be performed on the second folder to merge the URL of the second folder into the fourth folder.
[0058] In summary, the method for processing favorites in the embodiment of the present invention merges the first folder and the second folder according to the first drag operation on the first folder. Since the first folder and the second folder can be merged through one drag operation, the operation process can be simplified and the operation time can be shortened, thereby improving the efficiency of merging folders in the favorites.
[0059] Method Example 2
[0060] Reference Figure 2 , shows a flowchart of a second embodiment of a method for processing a favorites folder of the present invention, the favorites folder may include: at least two folders, the method may include the following steps:
[0061] Step 201: Detecting a first drag operation of a user on a first folder;
[0062] Step 202: If the position of the first drag operation matches the position range of the second folder, the first folder and the second folder are merged;
[0063] Relative to Figure 1 In the method embodiment 1 shown, the favorites of this embodiment may also include: at least two URLs, and the method may also include:
[0064] Step 203: Detecting a second drag operation of the user on the first URL;
[0065] Step 204: If the location of the second drag operation matches the location range of the second URL, a new folder is created, the first URL and the second URL are added to the new folder, and naming prompt information corresponding to the new folder is displayed.
[0066] The process of merging web addresses in the conventional technology is usually as follows: first, an empty folder is created, and then the first web address and the second web address are added to the empty folder respectively. The process of merging web addresses in the conventional technology is complicated, resulting in low efficiency of merging web addresses.
[0067] The embodiment of the present invention optimizes the operation path of URL merging. When the position of the first URL corresponding to the second drag operation matches the position range of the second URL, a new folder is created, the first URL and the second URL are added to the new folder, and the naming prompt information corresponding to the new folder is displayed. The URL merging process of the embodiment of the present invention realizes URL merging via the second drag operation, which can simplify the operation process and reduce the operation time, thereby improving the efficiency of URL merging.
[0068] Furthermore, the embodiment of the present invention displays the naming prompt information corresponding to the new folder, and the user can name the new folder to improve the distinguishability of the name of the new folder.
[0069] Matching the position of the second drag operation with the position range of the second website may include: the position of the second drag operation is within the position range of the second website, and the dwell time exceeds a time threshold. The position range of the second website is usually a rectangular range corresponding to the display area of the second website.
[0070] In actual applications, a graphic mark corresponding to the second drag operation may be generated and displayed, and the position of the graphic mark may be used to characterize the position of the second drag operation. In the case where part or all of the graphic mark enters the position range of the second website, it may be considered that the position of the second drag operation is within the position range of the second website. The dwell time may characterize the time that part or all of the graphic mark enters the position range of the second website. The duration threshold may be determined by those skilled in the art according to actual application requirements. For example, the unit of the duration threshold may be milliseconds or seconds, etc.
[0071] In one implementation, the first URL and the second URL are added to the new folder, specifically including: sorting the first URL and the second URL according to a preset sorting feature; and displaying the corresponding sorting result in an area of the new folder.
[0072] Those skilled in the art may determine the preset sorting feature according to actual application requirements, and it is understood that the embodiments of the present invention do not limit the specific preset sorting feature. Optionally, the preset sorting feature may include: time feature and / or name feature.
[0073] The naming prompt information of the embodiment of the present invention allows the user to name the new folder to improve the distinguishability of the name of the new folder.
[0074] In a specific implementation, the above-mentioned naming prompt information may include: a naming input box; the above-mentioned method also includes: determining the name of the new folder according to the input information of the user in the naming input box.
[0075] For example, after creating a new folder and adding the first URL and the second URL to the new folder, a pop-up window may be displayed, and the pop-up window may include a name input box, so that the user can enter the name of the new folder in the name input box. The pop-up window may also include: title information, and the title information may include: New Folder. The pop-up window may also include: a confirmation control and a cancel control, and the confirmation control may be used to confirm that the input information in the name input box is used as the name of the new folder, and the cancel control may be used to cancel the input information in the name input box from being used as the name of the new folder.
[0076] The URL merging process of the embodiment of the present invention starts with the second dragging operation and ends with the naming of the new folder, which can bring a smooth URL merging experience to the user.
[0077] It should be noted that, for the method embodiments, for the sake of simplicity of description, they are all described as a series of motion action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the described motion actions, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the motion actions involved are not necessarily required by the embodiments of the present invention.
[0078] Device Embodiment
[0079] Reference Figure 3 , shows a structural block diagram of an embodiment of a device for processing a favorites folder of the present invention, the favorites folder includes: at least two folders, the device may specifically include the following modules:
[0080] A first detection module 301 is used to detect a first drag operation of a user on a first folder;
[0081] The first merging module 302 is configured to merge the first folder and the second folder if the position of the first dragging operation matches the position range of the second folder.
[0082] Optionally, the first merging module 302 may include:
[0083] A first folder merging module is used to create a first new folder, and add the first folder and the second folder to the first new folder; or
[0084] A second folder merging module is used to add the first folder to the second folder; or
[0085] The third folder merging module is used to add the website address of the first folder to the second folder and delete the first folder.
[0086] Optionally, the third folder merging module may include:
[0087] A sorting module, used to sort the URLs of the first folder and the URLs of the second folder according to a preset sorting feature;
[0088] A display module is used to display the sorting result in the area of the second folder.
[0089] Optionally, the three-folder merging module is specifically configured to add the URL of the first folder to the second folder when the URL of the first folder is different from the URL of the second folder.
[0090] Optionally, the favorites may further include: at least two websites, and the device may further include:
[0091] A second detection module, used to detect a second drag operation of the user on the first URL;
[0092] The second merging module is used to create a second new folder if the position of the second drag operation matches the position range of the second URL, add the first URL and the second URL to the second new folder, and display the naming prompt information corresponding to the second new folder.
[0093] Optionally, the naming prompt information may include: a naming input box; the device may also include:
[0094] The naming module is used to determine the name of the second new folder according to the information input by the user in the naming input box.
[0095] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0096] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0097] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0098] An embodiment of the present invention provides a device for processing favorites, including a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: detecting a first drag operation of a user on a first folder; if the position of the first drag operation matches the position range of a second folder, merging the first folder and the second folder.
[0099] Figure 4 1 is a block diagram of a device for processing favorites as a terminal according to an exemplary embodiment. For example, the device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0100] Reference Figure 4 , the device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .
[0101] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.
[0102] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0103] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
[0104] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide motion action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0105] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the device 900 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
[0106] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0107] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display and keypad of the device 900, and the sensor assembly 914 can also detect the position change of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and the temperature change of the device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0108] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0109] In an exemplary embodiment, the apparatus 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0110] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by the processor 920 of the device 900 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0111] Figure 51 is a structural block diagram of a server according to an exemplary embodiment. The server 1900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1922 (for example, one or more processors) and memory 1932, and one or more storage media 1930 (for example, one or more mass storage devices) storing application programs 1942 or data 1944. Among them, the memory 1932 and the storage medium 1930 can be short-term storage or permanent storage. The program stored in the storage medium 1930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 1922 can be configured to communicate with the storage medium 1930 and execute a series of instruction operations in the storage medium 1930 on the server 1900.
[0112] The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and / or one or more operating systems 1941, such as Windows Server TM, Mac OS X TM, Unix TM, Linux TM, FreeBSD TM, etc.
[0113] A machine-readable medium (e.g., a non-temporary computer-readable storage medium), when instructions in the medium are executed by a processor of a device (a terminal or a server), enables the device to execute a method for processing favorites, the method comprising: detecting a first drag operation of a user on a first folder; if the position of the first drag operation matches the position range of a second folder, merging the first folder and the second folder.
[0114] Those skilled in the art will readily appreciate other embodiments of the invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0115] It should be understood that the present invention is not limited to the precise structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
[0116] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0117] The above describes in detail a method for processing a favorites, a device for processing a favorites, a device for processing a favorites, and a machine-readable medium provided in an embodiment of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for processing a favorites folder, characterized in that: The favorites are a website collection function provided by the browser, and the favorites include: at least two folders, and the method includes: Detecting a first drag operation of a user on a first folder; If the position of the first drag operation matches the position range of the second folder, merging the first folder and the second folder; The merging of the first folder and the second folder comprises: creating a first new folder, and adding the first folder and the second folder to the first new folder; or adding the first folder to the second folder; or Add the URL of the first folder to the second folder, and delete the first folder; The step of adding the website address of the first folder to the second folder includes: In the case where the URL of the first folder is different from the URL of the second folder, adding the URL of the first folder to the second folder; When the URL of the first folder is the same as the URL of the second folder, display corresponding duplicate prompt information; The step of adding the website address of the first folder to the second folder includes: The URLs of the first folder and the URLs of the second folder are sorted according to preset sorting features; the preset sorting features include: time features and / or name features; the time features are usage time; the name features are keyword features; The sorting of the URLs of the first folder and the URLs of the second folder according to the keyword feature includes: sorting the URLs of the first folder and the URLs of the second folder according to the initial letters corresponding to the keyword feature; or sorting the URLs of the first folder and the URLs of the second folder according to the matching degree between the keyword feature and the interest feature of the user; The sorting result is displayed in the area of the second folder.
2. The method according to claim 1, characterized in that The bookmarks also include: at least two websites, and the method also includes: Detecting a second drag operation of the user on the first URL; If the location of the second drag operation matches the location range of the second URL, a second new folder is created, the first URL and the second URL are added to the second new folder, and naming prompt information corresponding to the second new folder is displayed.
3. The method according to claim 2, characterized in that The naming prompt information includes: a naming input box; the method also includes: The name of the second new folder is determined according to the information input by the user in the naming input box.
4. A collection processing device, characterized in that: The favorites are a website collection function provided by the browser, and the favorites include: at least two folders, and the device includes: A first detection module, used to detect a first drag operation of a user on a first folder; A first merging module, configured to merge the first folder and the second folder if the position of the first dragging operation matches the position range of the second folder; The first merging module comprises: A first folder merging module is used to create a first new folder and add the first folder and the second folder into the first new folder; or A second folder merging module is configured to add the first folder to the second folder; or A third folder merging module, used for adding the website of the first folder to the second folder, and deleting the first folder; The third folder merging module is specifically configured to add the URL of the first folder to the second folder when the URL of the first folder is different from the URL of the second folder; When the URL of the first folder is the same as the URL of the second folder, display corresponding duplicate prompt information; The third folder merging module includes: A sorting module, used to sort the URLs of the first folder and the URLs of the second folder according to a preset sorting feature; the preset sorting feature includes: a time feature and / or a name feature; the time feature is a usage time; the name feature is a keyword feature; The sorting of the URLs of the first folder and the URLs of the second folder according to the keyword feature includes: sorting the URLs of the first folder and the URLs of the second folder according to the initial letters corresponding to the keyword feature; or sorting the URLs of the first folder and the URLs of the second folder according to the matching degree between the keyword feature and the interest feature of the user; A display module is used to display the sorting result in the area of the second folder.
5. The device according to claim 4, characterized in that The favorites also include: at least two websites, and the device also includes: A second detection module, used to detect a second drag operation of the user on the first URL; The second merging module is used to create a second new folder if the location of the second drag operation matches the location range of the second URL, add the first URL and the second URL to the second new folder, and display the naming prompt information corresponding to the second new folder.
6. The device according to claim 5, characterized in that The naming prompt information includes: a naming input box; the device also includes: The naming module is used to determine the name of the second new folder according to the input information of the user in the naming input box.
7. A device for processing favorites, characterized in that: The invention comprises a memory and one or more programs, wherein the one or more programs are stored in the memory, and when the programs are executed by one or more processors, the steps of any one of the methods described in claims 1 to 3 are implemented.
8. A machine-readable medium having instructions stored thereon, which, when executed by one or more processors, causes a device to execute the favorites processing method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Folder merging method and apparatus
CN105183311A
Method and device for managing favorites in browser of mobile terminal
CN106126720A
Method and device for adding web page to favorites
CN108959316A
Document program merging method and device, medium and electronic equipment
CN109871171A
Cross-folder file processing method and device, equipment and storage medium
CN110069181A