Collection creation method and device, electronic equipment, storage medium and program product

By obtaining the collection keywords, it solves the problem of high cost and lack of correlation for users to manually create collections, and achieves more efficient collection creation and information relevance improvement.

CN120336595APending Publication Date: 2025-07-18GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510454018.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

In the prior art, users need to manually create a collection, which has high operating costs and lacks relevance of memory information.

Method used

By obtaining the collection keywords, we automatically find matching memory information from multiple memory information, and create a memory collection corresponding to the collection keywords.

Benefits of technology

Reduces the cost of users creating collections and improves the relevance of memory information in the collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120336595A_ABST
    Figure CN120336595A_ABST
Patent Text Reader

Abstract

The invention discloses a set creation method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of electronic equipment. The method comprises the steps of obtaining an input collection keyword under the condition that collection creation operation for multiple pieces of memory information is detected, searching memory information matched with the collection keyword from the multiple pieces of memory information to serve as first memory information, and creating a first memory collection corresponding to the collection keyword based on the first memory information, the first memory set comprises a plurality of pieces of first memory information; according to the method and the device, the memory information is automatically searched according to the input set keyword to create the memory set, so that the cost of creating the set by a user can be reduced, and the correlation of the memory information of the created set is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of electronic devices, and more particularly, to a method, apparatus, electronic device, storage medium, and program product for creating a collection. Background Art

[0002] With the development of science and technology, electronic devices are used more and more widely and have more and more functions, and have become one of the necessities in people's daily lives. At present, users can store and remember information through electronic devices. However, as the memory information stored in electronic devices increases, it is necessary to organize and classify the memory information. However, at present, users need to manually create a collection, which has a high operation cost and the relevance between the classified memory information is lacking. Summary of the Invention

[0003] In view of the above problems, this application proposes a method, apparatus, electronic device, storage medium, and program product for creating a collection to solve the above problems.

[0004] In a first aspect, an embodiment of this application provides a method for creating a collection. The method includes: when a collection creation operation for multiple memory information is detected, obtaining an input collection keyword; searching for memory information that matches the collection keyword from the multiple memory information as first memory information; creating a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes the first memory information.

[0005] In a second aspect, an embodiment of this application provides a device for creating a collection. The device includes: a collection keyword input module, configured to obtain an input collection keyword when a collection creation operation for multiple memory information is detected; a memory information search module, configured to search for memory information that matches the collection keyword from the multiple memory information as first memory information; a memory collection creation module, configured to create a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes the first memory information.

[0006] In a third aspect, an embodiment of this application provides an electronic device, including a memory and a processor. The memory is coupled to the processor, and the memory stores instructions. When the instructions are executed by the processor, the processor executes the above method.

[0007] In a fourth aspect, an embodiment of this application provides a computer-readable storage medium. Program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.

[0008] Fifth aspect, an embodiment of the present application provides a computer program product, where the computer program product includes a computer program, and when the computer program is executed by a processor, the above method is implemented.

[0009] The method, device, electronic device, storage medium and program product for creating a collection provided by the embodiments of the present application, in the case of detecting a collection creation operation for multiple memory information, obtain the input collection keyword, and search for the memory information that matches the collection keyword from the multiple memory information as the first memory information, and create a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes multiple first memory information. Thus, by automatically searching for memory information according to the input collection keyword to create a memory collection, the cost of the user creating a collection can be reduced, and the relevance of the memory information of the created collection can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative efforts.

[0011] Figure 1 It shows a schematic flowchart of a method for creating a collection provided by an embodiment of the present application;

[0012] Figure 2 It shows a schematic flowchart of a method for creating a collection provided by an embodiment of the present application;

[0013] Figure 3 It shows a first interface schematic diagram of an electronic device provided by an embodiment of the present application;

[0014] Figure 4 It shows a second interface schematic diagram of an electronic device provided by an embodiment of the present application;

[0015] Figure 5 It shows the Figure 2 Schematic flowchart of step S220 of the method for creating a collection shown;

[0016] Figure 6 It shows a third interface schematic diagram of an electronic device provided by an embodiment of the present application;

[0017] Figure 7 It shows a fourth interface schematic diagram of an electronic device provided by an embodiment of the present application;

[0018] Figure 8 It shows a schematic flowchart of a method for creating a collection provided by an embodiment of the present application;

[0019] Figure 9 Shows the fifth interface schematic diagram of the electronic device provided by the embodiment of the present application;

[0020] Figure 10 Shows the sixth interface schematic diagram of the electronic device provided by the embodiment of the present application;

[0021] Figure 11 Shows the flowchart of the method for creating a collection provided by an embodiment of the present application;

[0022] Figure 12 Shows the flowchart of the method for creating a collection provided by an embodiment of the present application;

[0023] Figure 13 Shows the block diagram of the module of the device for creating a collection provided by an embodiment of the present application;

[0024] Figure 14 Shows the block diagram of the electronic device for executing the method for creating a collection according to the embodiment of the present application in the embodiment of the present application;

[0025] Figure 15 Shows the storage unit for storing or carrying the program code for implementing the method for creating a collection according to the embodiment of the present application in the embodiment of the present application. Detailed implementation manners

[0026] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application.

[0027] Currently, in the process of using an electronic device, users often encounter the need to quickly memorize information and generate and store the memorized information through the memory function of the electronic device. Among them, the memory function is used to store the information after analysis. That is, when the electronic device triggers the memory function (turns on the memory function), it can deeply analyze the information to be memorized and, after the analysis is completed, store the information to be memorized for subsequent calling. That is to say, the memory function is not only responsible for storing information, but more importantly, it stores the information after analyzing and understanding it. This process ensures the effectiveness and extractability of the information, enabling relevant information to be quickly and accurately called when needed later. Optionally, the information to be memorized may include: voice information input by the user, text information input by the user, interface information corresponding to the interface, etc., which are not limited herein.

[0028] However, as the memory information stored in the electronic device increases, the memory information stored in the electronic device becomes redundant. Therefore, it is necessary to sort and classify the memory information. Currently, when sorting and classifying the memory information, the user needs to manually create a collection and add the memory information that is considered related to the same collection. However, this manual operation method has the problems of high creation cost and lack of relevance caused by the inability to discover the hidden relationships of the memory information.

[0029] In view of the above problems, the inventors have found through long-term research and proposed a method, apparatus, electronic device, storage medium, and program product for creating a collection provided in the embodiments of the present application. By automatically searching for memory information according to the input collection keyword to create a memory collection, the cost of the user creating a collection can be reduced, and the relevance of the memory information in the created collection can be improved. Among them, the specific method for creating a collection will be described in detail in the following embodiments.

[0030] Please refer to Figure 1 , Figure 1 which shows a schematic flowchart of a method for creating a collection provided in an embodiment of the present application. This method is used to create a memory collection by automatically searching for memory information according to the input collection keyword, which can reduce the cost of the user creating a collection and improve the relevance of the memory information in the created collection. In a specific embodiment, the method for creating a collection is applied to a collection creation device 200 as shown in Figure 13 and an electronic device 100 configured with the collection creation device 200 ( Figure 14 ). The following will take the electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device to which this embodiment is applied may include a smart phone, a tablet computer, a wearable electronic device, etc., which are not limited herein. The following will elaborate in detail on the Figure 1 shown process. The method for creating a collection may specifically include the following steps:

[0031] Step S110: When a collection creation operation for multiple memory information is detected, obtain the input collection keyword.

[0032] Among them, the electronic device can pre-obtain and store multiple memory information. Among them, the memory information can be structured information obtained through the memory function and processed, and the structured information is a form of data organization, where data is organized into a predefined format. The structured information can include clear fields or columns, as well as corresponding data types, etc. Such a data organization method can make the storage, retrieval, and analysis of data more efficient and accurate. Optionally, the memory information can be obtained by processing the voice information input by the user through the memory function, by processing the text information input by the user through the memory function, by processing the interface information corresponding to the interface through the memory function, etc., which is not limited here.

[0033] In this embodiment, the electronic device can detect an operation of creating a collection for multiple memory information. Among them, in the case where an operation of creating a collection for multiple memory information is detected, an input collection keyword can be obtained; in the case where an operation of creating a collection for multiple memory information is not detected, the operation of creating a collection for multiple memory information can continue to be detected until an operation of creating a collection for multiple memory information is detected and the input collection keyword is obtained. Among them, the collection creation operation is used to indicate creating a collection for multiple memory information and classifying the memory information that meets the conditions of the created collection among the multiple memory information into the created collection.

[0034] In some embodiments, the electronic device can detect an operation of creating a collection for multiple memory information in real time; can detect an operation of creating a collection for multiple memory information at a preset time interval; can detect an operation of creating a collection for multiple memory information at a preset time point; or can also detect an operation of creating a collection for multiple memory information according to other preset rules, etc., which is not limited here.

[0035] In some embodiments, when the first target voice information input by the user is detected, it can be determined that an operation for creating a collection of multiple memory information is detected. Optionally, the first target voice information may include "create memory collection", "create travel guide", etc., which is not limited herein; when the first target touch operation input by the user through the display interface is detected, it can be determined that an operation for creating a collection of multiple memory information is detected. Optionally, the first target touch operation may include "target click operation on the display interface", "target slide operation on the display interface", "target press operation on the display interface", etc., which is not limited herein; when the first target shaking operation input by the user is detected, it can be determined that an operation for creating a collection of multiple memory information is detected. Optionally, the first target shaking operation may include "shaking operation on the electronic device reaching the first target shaking angle", "shaking operation on the electronic device reaching the first target shaking speed", "shaking operation on the electronic device reaching the first target shaking amplitude", etc., which is not limited herein.

[0036] As an implementable way, the information input by the user can be obtained and the information input by the user can be determined as the collection keyword. Among them, the information input by the user may include the text information input by the user or the voice information input by the user. For example, if the information input by the user is "travel guide", then "travel guide" can be determined as the collection keyword.

[0037] As another implementable way, the information input by the user can be obtained, keyword extraction can be performed on the information input by the user, and the extracted keyword can be determined as the collection keyword. For example, if the information input by the user is "create a collection of travel guides", then keyword extraction can be performed to obtain "travel guide", and "travel guide" can be determined as the collection keyword.

[0038] Step S120: Search for the memory information that matches the collection keyword from the multiple memory information as the first memory information.

[0039] In this embodiment, when the collection keyword is obtained, it can be searched whether there is memory information that matches the collection keyword among the multiple memory information. Among them, if memory information that matches the collection keyword is found from the multiple memory information, the found memory information that matches the collection keyword can be used as the first memory information; if no memory information that matches the collection keyword is found from the multiple memory information, a memory collection may not be created.

[0040] In some embodiments, when the collective keyword is obtained, multiple memory information can be respectively matched with the collective keyword to determine the memory information that matches the collective keyword from the multiple memory information, and the determined memory information that matches the collective keyword is determined as the first memory information. As an implementable manner, when the collective keyword is obtained, semantic understanding can be performed on the collective keyword. At the same time, semantic understanding is performed on the titles and contents of the multiple memory information, and then the user's demands are matched to find the memory information that matches the collective keyword from the multiple memory information as the first memory information.

[0041] In some embodiments, when the collective keyword is obtained, keywords can be respectively extracted from the titles and contents of the multiple memory information to obtain the keywords corresponding to each of the multiple memory information. Then, based on the keywords corresponding to each of the multiple memory information and the collective keyword, the memory information that matches the collective keyword is found from the multiple memory information as the first memory information. As an example, the memory information whose corresponding keyword matches the collective keyword can be found from the multiple memory information as the first memory information.

[0042] Step S130: Create a first memory collection corresponding to the collective keyword based on the first memory information, where the first memory collection includes the first memory information.

[0043] In this embodiment, when the first memory information that matches the collective keyword is found from the multiple memory information, a memory collection corresponding to the collective keyword can be created based on the first memory information as the first memory collection. It can be understood that at this time, the first memory collection includes the first memory information. Through the above method, a corresponding memory collection can be automatically created according to the collective keyword input by the user, and the memory information that matches it can be automatically classified into this memory collection, which can reduce the cost of the user creating a collection and improve the relevance of the memory information of the created collection.

[0044] In some embodiments, when the first memory information that matches the collective keyword is found from the multiple memory information, the quantity of the first memory information can be detected, and it is determined whether the quantity of the first memory information reaches a quantity threshold. Among them, if the quantity of the first memory information reaches the quantity threshold, a first memory collection corresponding to the collective keyword can be created based on the first memory information; if the quantity of the first memory information does not reach the quantity threshold, a first memory collection corresponding to the collective keyword may not be created. Optionally, the quantity threshold may include 2, 3, etc., which is not limited herein.

[0045] In some embodiments, when a first memory information that matches the collection keyword is found from multiple memory information, a first memory collection may be created with the collection keyword as the collection name, and the first memory information may be added to the first memory collection. As an example, if the collection keyword is "travel guide", a first memory collection with the collection name "travel guide" may be created, and the first memory information may be added to the first memory collection named "travel guide".

[0046] Of course, in this embodiment, after the first memory collection is created, the user may also be supported to manually update the first memory collection. For example, the user is supported to manually modify the collection name of the first memory collection, supported to manually add other memory information to the first memory collection, supported to manually delete some first memory information from the first memory collection, etc., which are not limited herein.

[0047] The method for creating a collection provided by an embodiment of the present application, when detecting a collection creation operation for multiple memory information, obtains the input collection keyword, finds the memory information that matches the collection keyword from the multiple memory information as the first memory information, and creates a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes multiple first memory information. Thus, by automatically searching for memory information according to the input collection keyword to create a memory collection, the cost for the user to create a collection can be reduced, and the relevance of the memory information of the created collection can be improved.

[0048] Please refer to Figure 2 , Figure 2 which shows a schematic flowchart of the method for creating a collection provided by an embodiment of the present application. The following will elaborate in detail on the Figure 2 shown process. The method for creating a collection may specifically include the following steps:

[0049] Step S210: Display a first memory interface, where the first memory interface includes the multiple memory information.

[0050] In this embodiment, the electronic device may display a first memory interface, where the first memory interface may include multiple memory information, that is, the first memory interface may include multiple memory information obtained and stored by the electronic device before.

[0051] Optionally, if the number of multiple memory information does not exceed the upper limit of the memory information that the first memory interface can display, the multiple memory information may be displayed on the first memory interface simultaneously.

[0052] Optionally, if the number of multiple memory information exceeds the upper limit of the memory information that can be displayed on the first memory interface, a part of the multiple memory information can be displayed on the first memory interface, and the other part of the memory information can be hidden, and it is supported to control the switching of the display or hiding of the multiple memory information through a switching operation.

[0053] In some embodiments, the electronic device can display the first memory interface in response to the memory interface display instruction when receiving the memory interface display instruction. As an implementable manner, when detecting the second target voice information input by the user, it can be determined that the memory interface display instruction is received. Optionally, the second target voice information can include "display memory interface", "enter memory interface", "view memory information", etc., which are not limited here; when detecting the second target touch operation input by the user through the display interface, it can be determined that the memory interface display instruction is received. Optionally, the second target touch operation can include "a click operation on a memory icon, where the memory icon is used to trigger entering the memory interface", "a click operation on a memory control, where the memory control is used to trigger entering the memory interface", etc., which are not limited again; when detecting the second target shaking operation input by the user, the memory interface display instruction can be received. Optionally, the second target shaking operation can include "a shaking operation on the electronic device reaching the second target shaking angle", "a shaking operation on the electronic device reaching the second target shaking speed", "a shaking operation on the electronic device reaching the second target shaking amplitude", etc., which are not limited here.

[0054] Of course, if the electronic device has previously created a memory collection, the previously created memory collection can be displayed on the first memory interface. At this time, the user can enter the collection interface corresponding to the memory collection by clicking on the memory collection displayed on the first memory interface, and at this time, the memory information included in the memory collection can be displayed.

[0055] Please refer to Figure 3 , Figure 3 shows the first interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 3 shown, the electronic device can display the first memory interface 10, and the first memory interface can include multiple memory information or previously created memory collections.

[0056] Step S220: When detecting the collection creation operation on the first memory interface, obtain the input collection keyword.

[0057] In this embodiment, during the process of displaying the first memory interface, it is possible to detect an operation for creating a collection acting on the first memory interface. Among them, in the case where an operation for creating a collection acting on the first memory interface is detected, the input collection keyword can be obtained; in the case where an operation for creating a collection acting on the first memory interface is not detected, the detection of the operation for creating a collection acting on the first memory interface can continue until the input collection keyword is obtained when an operation for creating a collection acting on the first memory interface is detected.

[0058] In some embodiments, the electronic device can detect an operation for creating a collection acting on the first memory interface in real time; can detect an operation for creating a collection acting on the first memory interface at a preset time interval; can detect an operation for creating a collection acting on the first memory interface at a preset time point; or can also detect an operation for creating a collection acting on the first memory interface according to other preset rules, etc., which are not limited herein.

[0059] As an implementable manner, during the process of displaying the first memory interface, if it is detected that a swipe operation acting on the first memory interface meets the specified swipe operation, it can be determined that an operation for creating a collection acting on the first memory interface is detected. Optionally, the specified swipe operation may include: the swipe direction meets the specified swipe direction, the swipe distance reaches the specified swipe distance, and / or the swipe trajectory matches the specified swipe trajectory.

[0060] As another implementable manner, during the process of displaying the first memory interface, if it is detected that a click operation acting on the first memory interface meets the specified click operation, it can be determined that an operation for creating a collection acting on the first memory interface is detected. Optionally, the specified click operation may include: the click position meets the specified click position, the number of consecutive clicks reaches the specified number, and / or the number of clicking fingers meets the specified number of fingers.

[0061] As yet another implementable manner, during the process of displaying the first memory interface, if it is detected that a press operation acting on the first memory interface meets the specified press operation, it can be determined that an operation for creating a collection acting on the first memory interface is detected. Optionally, the specified press operation may include: the press position meets the specified press position, the press duration reaches the specified duration, the press area reaches the specified area, and / or the number of pressing fingers meets the specified number of fingers.

[0062] As another implementable manner, during the process of displaying the first memory interface, an add control can be displayed in the first memory interface. In the case where a touch operation acting on the add control is detected, it can be determined that an operation for creating a collection acting on the first memory interface is detected, and then the input collection keyword can be obtained.

[0063] Please refer to Figure 4, Figure 4 shows a second interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 4 shown, the electronic device can display a first memory interface 10, which may include a plurality of memory information, may also include memory collections created previously, and the first memory interface may further include an addition control A, through which the collection creation operation can be triggered to create a collection.

[0064] Please refer to Figure 5 , Figure 5 shows the Figure 2 flow schematic diagram of step S220 of the method for creating the collection shown. The following will elaborate in detail on the Figure 5 flow shown, and the method may specifically include the following steps:

[0065] Step S221: When detecting the collection creation operation acting on the first memory interface, display an input box.

[0066] In some embodiments, during the process of displaying the first memory interface, the collection creation operation acting on the first memory interface can be detected. Among them, if the collection creation operation acting on the first memory interface is detected, an input box can be displayed; if the collection creation operation acting on the first memory interface is not detected, the collection creation operation acting on the first memory interface can continue to be detected until the collection creation operation acting on the first memory interface is detected and the input box is displayed. Among them, the input box is used for the user to input information, and the user can input text information, voice information, etc. through the input box, which is not limited here.

[0067] As an implementable manner, the electronic device can display the input box in the form of a floating window on the first memory interface. As an example, the input box can slide out from the bottom of the electronic device and be floatingly displayed on the first memory interface, can slide out from the top of the electronic device and be floatingly displayed on the first memory interface, or can slide out from the side of the electronic device and be floatingly displayed on the first interface, etc., which is not limited here.

[0068] As an implementable manner, during the process of displaying the input box by the electronic device, the display position of the input box can remain fixed or can be dynamically changed, which is not limited here. Optionally, when the display position of the input box can be dynamically changed, the display position of the input box can be dynamically changed based on the user's manual operation or can be dynamically changed based on the memory information displayed on the first memory interface. For example, the display position of the input box is dynamically changed to avoid or reduce the display occlusion of the memory information.

[0069] Step S222: Obtain the collection keyword input through the input box.

[0070] In some embodiments, during the process of the electronic device displaying an input box, the user can input information through the input box. Correspondingly, the electronic device can obtain a collection keyword from the information input through the input box. Optionally, the information input through the input box can be determined as the collection keyword, or the collection keyword can be extracted from the information input through the input box, etc., which is not limited herein.

[0071] In some embodiments, the user can input text information through the input box. Then, during the process of receiving the input text information through the input box, the input text information that has been input can be determined, and at least one recommended collection keyword can be generated and displayed based on the input text information that has been input. Among them, when the user inputs the desired target text information through the input box, it takes a certain amount of time to complete the input. Therefore, during the process of the user inputting text information through the input box, the input text information that has been input can be determined, and at least one recommended collection keyword can be generated and displayed based on the input text information that has been input, where the recommended collection keyword is related to the input text information that has been input, so that the displayed recommended collection keyword is adapted to the text information input by the user, improving the accuracy and adaptability of the recommended collection keyword.

[0072] As an example, assume that the user inputs "travel" through the input box. Then, the generated and displayed collection keywords can include "travel guide", "travel transportation", "weather at travel destination", etc., which is not limited herein.

[0073] Among them, during the process of displaying the recommended collection keyword, the user can determine whether there is a recommended collection keyword that meets their own needs among the displayed recommended collection keywords. If there is, the corresponding recommended collection keyword can be directly clicked, and the recommended collection keyword clicked by the user can be determined as the collection keyword input through the input box; if not, the text information can be continuously input, and the final text information input by the user can be determined as the collection keyword input through the input box.

[0074] In some embodiments, while displaying the input box, a completion control and a cancellation control may also be displayed. The cancellation control is used to trigger the cancellation of the creation of the memory collection, and the completion control is used to trigger the creation of the memory collection based on the collection keyword input through the input box. Based on this, after inputting the collection keyword through the input box, touch operations on the completion control and the cancellation control can be detected. Among them, if a touch operation on the completion control is detected, it can indicate that the user confirms to create a memory collection based on the input information, then the information input through the input box can be determined as the collection keyword and the memory collection can be created; if a touch operation on the cancellation control is detected, it can indicate that the user confirms not to create a collection, then the creation of the memory collection can be not performed, and the display of the input box can be cancelled.

[0075] Please refer to Figure 6 , Figure 6 FIG. shows a third interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 6 shown, the electronic device can display a first memory interface 10, which may include an input box B, and may also include a cancellation control and a completion control.

[0076] Step S230: Search for the memory information that matches the collection keyword from the multiple memory information as the first memory information.

[0077] In some embodiments, when the input collection keyword is obtained, multiple memory information and the collection keyword can be matched. Among them, during the process of matching the multiple memory information and the collection keyword, a matching progress animation effect can be displayed to express the matching process of the memory information in a visual and dynamic way.

[0078] Please refer to Figure 7 , Figure 7 FIG. shows a fourth interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 7 shown, during the process of matching the multiple memory information and the collection keyword, a matching progress animation effect can be displayed.

[0079] Step S240: Create a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes the first memory information.

[0080] For the specific descriptions of steps S230 - S240, please refer to steps 120 - S130, which will not be elaborated here.

[0081] The method for creating a collection provided by an embodiment of the present application displays a first memory interface, where the first memory interface includes multiple memory information. When a collection creation operation acting on the first memory interface is detected, an input collection keyword is obtained, and memory information matching the collection keyword is searched from the multiple memory information as the first memory information. A first memory collection corresponding to the collection keyword is created based on the first memory information, where the first memory collection includes the first memory information. Compared with Figure 1 the method for creating a collection shown, this embodiment also triggers the collection creation operation through a memory interface including multiple memory information to improve the convenience of creating a collection and enhance the user experience.

[0082] Please refer to Figure 8 , Figure 8 which shows a schematic flowchart of the method for creating a collection provided by an embodiment of the present application. The following will elaborate in detail on the Figure 8 shown process. The method for creating a collection may specifically include the following steps:

[0083] Step S310: When a collection creation operation for multiple memory information is detected, obtain the input collection keyword.

[0084] Step S320: Search for memory information matching the collection keyword from the multiple memory information as the first memory information.

[0085] Step S330: Create a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes the first memory information.

[0086] For the specific descriptions of steps S310 - S330, please refer to steps S110 - S130 and will not be elaborated here.

[0087] Step S340: When the first memory collection is created, display a collection interface corresponding to the first memory collection, where the collection interface includes the first memory information.

[0088] In this embodiment, during the process of creating a first memory collection corresponding to the collection keyword based on the first memory information, it can be detected whether the first memory collection is created. Among them, when it is detected that the first memory collection is created, a collection interface corresponding to the first memory collection can be displayed. It can be understood that the collection interface may include the first memory information, that is, the collection interface may include the first memory information classified into the first memory collection; when it is detected that the first memory collection is not created, the first memory interface or the matching progress animation effect can be continuously displayed.

[0089] Optionally, if the number of the first memory information does not exceed the upper limit of the memory information that can be displayed on the collection interface, the first memory information can be simultaneously displayed on the collection interface.

[0090] Optionally, if the number of the first memory information exceeds the upper limit of the memory information that can be displayed on the collection interface, a part of the first memory information can be displayed on the collection interface, and the other part of the first memory information is hidden, and it is supported to control the switching of the display or hiding of the first memory information through a switching operation.

[0091] In some embodiments, when the first memory collection is created, the display can be switched from the first memory interface to the collection interface. Optionally, during the process of switching from the display of the first memory interface to the display of the collection interface, corresponding transition effects can also be displayed, which are not limited herein.

[0092] Please refer to Figure 9 , Figure 9 which shows a fifth interface schematic diagram of the electronic device provided by the embodiment of the present application. As Figure 9 shown, the electronic device can display the collection interface 20, and the first memory information can be included in the collection interface.

[0093] Step S350: When it is detected that there is an interface back operation on the collection interface, display a second memory interface, where the second memory interface includes the first memory collection and the memory information other than the first memory information among the multiple memory information.

[0094] In this embodiment, during the process of displaying the collection interface, it is possible to detect an interface back operation on the collection interface. Among them, when it is detected that there is an interface back operation on the collection interface, a second memory interface can be displayed, where the second memory interface can include the first memory collection and the memory information other than the first memory information among the multiple memory information; when it is not detected that there is an interface back operation on the collection interface, it is possible to continue to detect an interface back operation on the collection interface until it is detected that there is an interface back operation on the collection interface and then display the second memory interface.

[0095] In some embodiments, the electronic device can detect an interface back operation on the collection interface in real time; can detect an interface back operation on the collection interface at a preset time interval; can detect an interface back operation on the collection interface at a preset time point; or can detect an interface back operation on the collection interface according to other preset rules, etc., which are not limited herein.

[0096] As an implementable manner, during the process of displaying the collection interface, if it is detected that the sliding operation on the collection interface meets the specified sliding operation, it can be determined that an interface back operation on the collection interface is detected. Optionally, the specified sliding operation may include: the sliding direction meets the specified sliding direction, the sliding distance reaches the specified sliding distance, and / or the sliding trajectory matches the specified sliding trajectory.

[0097] As another implementable manner, during the process of displaying the collection interface, if it is detected that the click operation on the collection interface meets the specified click operation, it can be determined that an interface back operation on the collection interface is detected. Optionally, the specified click operation may include: the click position meets the specified click position, the number of consecutive clicks reaches the specified number of times, and / or the number of clicking fingers meets the specified number of fingers.

[0098] As yet another implementable manner, during the process of displaying the collection interface, if it is detected that the pressing operation on the collection interface meets the specified pressing operation, it can be determined that an interface back operation on the collection interface is detected. Optionally, the specified pressing operation may include: the pressing position meets the specified pressing position, the pressing duration reaches the specified duration, the pressing area reaches the specified area, and / or the number of pressing fingers meets the specified number of fingers.

[0099] As another implementable manner, during the process of displaying the collection interface, a back control (such as Figure 9 the back control in the upper left corner of the collection interface shown) can be displayed in the collection interface. In the case where a touch operation on the back control is detected, it can be determined that an interface back operation on the collection interface is detected, and then the second memory interface can be displayed.

[0100] Optionally, if the number of the first memory collection and the memory information other than the first memory information among the multiple memory information does not exceed the upper limit of the memory information that the second memory interface can display, the first memory collection and the memory information other than the first memory information among the multiple memory information can be simultaneously displayed on the second memory interface.

[0101] Optionally, if the number of the first memory collection and the memory information other than the first memory information among the multiple memory information exceeds the upper limit of the memory information that the second memory interface can display, a part of the multiple first memory collections and the memory information other than the first memory information among the multiple memory information can be displayed on the second memory interface, and the other part can be hidden, and it is supported to control the display or hiding switch of the first memory collection and the memory information other than the first memory information among the multiple memory information through a switching operation.

[0102] Please refer to Figure 10 , Figure 10 which shows the sixth interface schematic diagram of the electronic device provided by the embodiment of the present application. AsFigure 10 As shown, the electronic device may display a second memory interface 30, which may include memory information other than the first memory information among multiple memory information and a first memory collection (travel guide).

[0103] In a method for creating a collection provided by an embodiment of the present application, when a collection creation operation for multiple memory information is detected, an input collection keyword is obtained, memory information matching the collection keyword is searched from the multiple memory information as the first memory information, and a first memory collection corresponding to the collection keyword is created based on the first memory information, where the first memory collection includes the first memory information. When the creation of the first memory collection is completed, a collection interface corresponding to the first memory collection is displayed, where the collection interface includes the first memory information. When an interface backtracking operation acting on the collection interface is detected, a second memory interface is displayed, where the second memory interface includes the first memory collection and memory information other than the first memory information among the multiple memory information. Compared with Figure 1 the method for creating a collection shown, this embodiment also displays a corresponding collection interface when the creation of the memory collection is completed, and supports backtracking from the collection interface to the memory interface, thereby improving the user's operation experience and visual experience during the collection creation process.

[0104] Please refer to Figure 11 , Figure 11 which shows a schematic flowchart of a method for creating a collection provided by an embodiment of the present application. The following will elaborate in detail on the Figure 11 flow shown. The method for creating a collection may specifically include the following steps:

[0105] Step S410: When a collection creation operation for multiple memory information is detected, obtain the input collection keyword.

[0106] For the specific description of step S410, please refer to step S110 and will not be elaborated here.

[0107] Step S420: Perform semantic understanding on the titles and contents included in the multiple memory information respectively to obtain the semantic information corresponding to each of the multiple memory information.

[0108] In this embodiment, when the input collection keyword is obtained, semantic understanding may be performed on the titles and contents included in the multiple memory information respectively to obtain the semantic information corresponding to each of the multiple memory information.

[0109] In some embodiments, for each of the multiple memory information, the title and content can be tokenized first to split the continuous text into individual words or phrases. Then, using a word vector model (such as Word2Vec, GloVe, etc.), these words are transformed into vector form, so that each word has a corresponding numerical representation in the vector space, and the semantic features of the word are reflected by the dimensions and values of the vector. At the same time, considering the positional relationship and syntactic structure between words, syntactic analysis and semantic dependency analysis techniques are used to analyze the syntactic relationship and semantic association between each word in the sentence, so as to more comprehensively understand the semantic information of the text.

[0110] Step S430: Perform semantic understanding on the set of keywords to obtain the semantic information corresponding to the set of keywords.

[0111] In this embodiment, when the input set of keywords is obtained, semantic understanding can be performed on the set of keywords to obtain the semantic information corresponding to the set of keywords.

[0112] In some embodiments, for the set of keywords, a processing method similar to that of the memory information can be adopted for the set of keywords. First, tokenization is performed, and then the tokenization results are transformed into vector representations. For example, if the set of keywords is "travel guide", after tokenization, "travel" and "guide" are obtained and transformed into vectors respectively. Among them, different from the semantic understanding of memory information, the semantic understanding of the set of keywords focuses more on obtaining the core semantics of the keywords, and it may not be necessary to deeply analyze the syntactic and semantic dependency relationships as in the processing of complete memory information, but it is necessary to ensure that the vector representation can accurately represent the meaning of the keywords.

[0113] Step S440: Based on the semantic information corresponding to the set of keywords and the semantic information corresponding to each of the multiple memory information, search for the first memory information that matches the set of keywords from the multiple memory information.

[0114] In this embodiment, when the semantic information corresponding to each of the multiple memory information and the semantic information corresponding to the set of keywords are obtained, the memory information that matches the set of keywords can be searched from the multiple memory information based on the semantic information corresponding to the set of keywords and the semantic information corresponding to each of the multiple memory information as the first memory information.

[0115] In some embodiments, when the semantic information corresponding to each of the multiple memory information and the semantic information corresponding to the collective keyword are obtained, the similarity between the collective keyword vector and each memory information vector can be calculated. For example, the similarity between the collective keyword vector and each memory information vector can be calculated by cosine similarity, Euclidean distance, etc. Taking cosine similarity as an example, the similarity is measured by calculating the cosine value of the angle between the vectors. The closer the cosine value is to 1, the more similar the semantics represented by the two vectors are. The electronic device can set a similarity threshold. When the similarity between the collective keyword vector and a certain memory information vector is greater than the threshold, it is considered that the memory information matches the collective keyword, and it is selected as the first memory information. By analogy, the memory information that matches the collective keyword can be selected from the multiple memory information as the first memory information.

[0116] Step S450: Create a first memory collection corresponding to the collective keyword based on the first memory information, where the first memory collection includes the first memory information.

[0117] For the specific description of step S450, please refer to step S130 and will not be elaborated here.

[0118] The method for creating a collection provided in an embodiment of the present application, when a collection creation operation for multiple memory information is detected, obtains the input collective keyword, performs semantic understanding on the titles and contents included in the multiple memory information respectively to obtain the semantic information corresponding to each of the multiple memory information, performs semantic understanding on the collective keyword to obtain the semantic information corresponding to the collective keyword, based on the semantic information corresponding to the collective keyword and the semantic information corresponding to each of the multiple memory information, searches for the first memory information that matches the collective keyword from the multiple memory information, and creates a first memory collection corresponding to the collective keyword based on the first memory information, where the first memory collection includes the first memory information. Compared with Figure 1 the method for creating a collection shown, this embodiment also matches the memory information and the collective keyword by performing semantic understanding on the abstract and content of the collective keyword and the memory information, so as to improve the relevance of the memory information in the created collection.

[0119] Please refer to Figure 12 , Figure 12 shows a schematic flowchart of the method for creating a collection provided in an embodiment of the present application. The following will elaborate in detail on the Figure 12 flow shown. The method for creating a collection can specifically include the following steps:

[0120] Step S510: When a collection creation operation for multiple memory information is detected, obtain the input collective keyword.

[0121] Step S520: Search for the memory information that matches the collection keyword from the multiple pieces of memory information as the first memory information.

[0122] Step S530: Create a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes the first memory information.

[0123] For the specific descriptions of steps S510 - S530, please refer to steps S110 - S130, which will not be elaborated here.

[0124] Step S540: When new memory information is obtained, match the new memory information with the first memory collection.

[0125] Optionally, during the use of the electronic device, in addition to the already stored memory information, the user may have more information that needs to be memorized, and trigger memory through the memory function of the electronic device, thereby obtaining new memory information. Among them, when new memory information is obtained, the electronic device can automatically classify the new memory information for memorization.

[0126] In this embodiment, when new memory information is obtained, the new memory information can be matched with the first memory collection to determine whether the new memory information matches the first memory collection. Of course, if there are other memory collections in the electronic device in addition to the first memory collection, the new memory information can also be matched with the first memory information and other memory collections respectively. That is, when new memory information exists, the new memory information can be matched with the existing memory collections of the electronic device to determine whether the new memory information matches the existing memory collections.

[0127] In some embodiments, when the electronic device finishes creating the first memory collection, it can determine the memory label corresponding to the first memory collection. For example, assuming the first memory collection is "travel guide", the memory label corresponding to the first memory collection can be "travel". Then, when new memory information is obtained, it can be detected whether there is content related to the memory label of the first memory collection in the new memory information. If it is detected that there is content related to the memory label of the first memory collection in the new memory information, it can be determined that the new memory information matches the first memory collection successfully; if it is detected that there is no content related to the memory label of the first memory collection in the new memory information, it can be determined that the new memory information does not match the first memory collection successfully. For example, if the new memory information includes "hotel", it can be considered that there is content related to the memory label "travel" of the first memory collection in the new memory information, and it can be determined that the new memory information matches the first memory collection successfully.

[0128] Step S550: If the match is successful, add the new memory information to the first memory set.

[0129] In this embodiment, if the match is successful, it can be considered that the new memory information meets the conditions of the first memory set, and then the new memory information can be added to the first memory set, thereby completing the automatic classification of the new memory information.

[0130] Step S560: If the match is unsuccessful, search for the memory information that meets the classification rule with the new memory information from the multiple memory information as the second memory information.

[0131] In this embodiment, if the match is unsuccessful, it can be considered that the new memory information does not meet the conditions of the first memory set, then the new memory information may not be added to the first memory set, and search for the memory information that meets the classification rule with the new memory information from the multiple memory information, and use the memory information that meets the classification rule with the new memory information as the second memory information. Optionally, the second memory information and the first memory information may include the same memory information, that is, the same memory information may exist in different memory sets.

[0132] In some embodiments, if the match is unsuccessful, roughly screen the memory information that has commonalities with the new memory information from the multiple memory information (all the memory information stored in the electronic device), put the multiple memory information and the new memory information into the rule pool for judgment, so as to search for the memory information that meets the classification rule with the new memory information from the multiple memory information as the second memory information.

[0133] Optionally, the classification rule can be set in advance based on multiple factors, such as theme relevance (such as belonging to the same category like tourism, food, etc.), time attribute (such as events occurring in the same time period), location attribute (such as in the same city, the same scenic spot, etc.), semantic similarity (the text content is semantically similar), etc. For example, set the theme relevance rule as: if there is a certain overlap between the theme keywords of the memory information and the theme keywords of the new memory information, it is determined that the classification rule is met.

[0134] As an implementable approach, if the classification rule is related to the theme, the theme keywords of the new memory information can be extracted, and then the information containing the same or similar theme keywords can be searched among multiple memory information. If the classification rule is the time attribute, the time of the new memory information can be compared with the time of other memory information to determine whether it is within the set time range. If the classification rule is the location attribute, the location information in the new memory information can be extracted, and the content with the same location in other memory information can be searched. If the rule is semantic similarity, natural language processing technologies such as word vector models (Word2Vec, GloV, etc.) and text similarity calculation methods (such as cosine similarity) can be used to calculate the semantic similarity of the text content between the new memory information and other memory information. A similarity threshold is set, and the memory information with a similarity greater than the threshold is selected as the second memory information.

[0135] Step S570: Create a second memory collection based on the new memory information and the second memory information, where the second memory collection includes the new memory information and the second memory information.

[0136] In this embodiment, in the case where the second memory information that meets the classification rule is found from multiple memory information, a memory collection can be created based on the new memory information and the second memory information as the second memory collection. It can be understood that at this time, the second memory collection includes the new memory information and the second memory information. Through the above method, the newly obtained memory information can be automatically classified, which can reduce the cost of the user creating a collection and improve the relevance of the memory information in the created collection.

[0137] Among them, the number of second memory collections created based on the new memory information and the second memory information can be one or more. For example, if the number of the second memory information is one, a second memory collection can be created based on the new memory information and one second memory information; if the number of the second memory information is multiple and all the multiple second memory information meet the same classification rule, a second memory collection can be created based on the new memory information and the multiple second memory information; if the number of the second memory information is multiple and the multiple second memory information meet different classification rules, multiple second memory collections can be created based on the new memory information and the second memory information that meet different classification rules.

[0138] In some implementation manners, in the case where the second memory collection is created and obtained, the similarity between the first memory collection and the second memory collection can be determined. If the similarity reaches the similarity threshold, the first memory collection and the second memory collection can be merged. Or, if the similarity does not reach the similarity threshold, the first memory collection and the second memory collection are retained.

[0139] As an implementable manner, the electronic device can be pre-set and store a similarity threshold, where the similarity threshold is used as a basis for judging the similarity between the first memory collection and the second memory collection. Therefore, in this embodiment, when the second memory collection is created, the similarity between the first memory collection and the second memory collection can be calculated to obtain the similarity between the first memory collection and the second memory collection. As an example, the similarity of the memory information included in the first memory collection and the second memory collection can be calculated, and the similarity of the memory information included in the first memory collection and the second memory collection can be determined as the similarity between the first memory collection and the second memory collection. When the similarity between the first memory collection and the second memory collection is obtained, the similarity can be compared with the similarity threshold to determine whether the similarity reaches the similarity threshold.

[0140] Among them, if it is determined that the similarity reaches the similarity threshold, it can be considered that the newly generated second memory collection is too similar to the previously generated first memory collection, and the newly generated second memory collection is unqualified. Therefore, the first memory collection and the second memory collection can be merged to avoid the problem of redundant memory collections caused by the existence of too many similar memory collections.

[0141] Among them, if it is determined that the similarity does not reach the similarity threshold, it can be considered that the newly generated second memory collection is not very similar to the previously generated first memory collection, and the newly generated second memory collection is qualified. Therefore, the first memory collection and the second memory collection can be retained to ensure the classification effect for each memory information.

[0142] The method for creating a collection provided in an embodiment of the present application, when a collection creation operation for multiple memory information is detected, obtains the input collection keyword, searches for the memory information that matches the collection keyword from the multiple memory information as the first memory information, and creates a first memory collection corresponding to the collection keyword based on the first memory information. The first memory collection includes the first memory information. When new memory information is obtained, the new memory information is matched with the first memory collection. If the match is successful, the new memory information is added to the first memory collection. If the match is unsuccessful, the memory information that satisfies the classification rule with the new memory information is searched from the multiple memory information as the second memory information, and a second memory collection is created based on the new memory information and the second memory information. The second memory collection includes the new memory information and the second memory information. Compared with Figure 1 the shown method for creating a collection, this embodiment also automatically performs memory classification when there is new memory information, improving the overall classification effect of the memory information.

[0143] Please refer to Figure 13 , Figure 13The block diagram of the creation device for a collection provided by an embodiment of the present application is shown. The following will elaborate in detail on the Figure 13 process shown. The creation device 200 for the collection includes: a collection keyword input module 210, a memory information search module 220, and a memory collection creation module 230, where:

[0144] The collection keyword input module 210 is configured to obtain the input collection keyword when detecting a collection creation operation for multiple memory information.

[0145] Further, the collection keyword input module 210 includes: a first memory interface display sub-module and a collection keyword input sub-module, where:

[0146] The first memory interface display sub-module is configured to display a first memory interface, where the first memory interface includes the multiple memory information.

[0147] The collection keyword input sub-module is configured to obtain the input collection keyword when detecting the collection creation operation acting on the first memory interface.

[0148] Further, the collection keyword input sub-module includes: an input box display unit and a first collection keyword input unit, where:

[0149] The input box display unit is configured to display an input box when detecting the collection creation operation acting on the first memory interface.

[0150] The first collection keyword input unit is configured to obtain the collection keyword input through the input box.

[0151] Further, the first memory interface further includes an add control, and the collection keyword input sub-module includes: a second collection keyword input unit, where:

[0152] The second collection keyword input unit is configured to obtain the input collection keyword when detecting a touch operation acting on the add control.

[0153] The memory information search module 220 is configured to search for memory information that matches the collection keyword from the multiple memory information as the first memory information.

[0154] Further, the memory information search module 220 includes: a first semantic understanding sub-module, a second semantic understanding sub-module, and a memory information search sub-module, where:

[0155] The first semantic understanding sub-module is used to perform semantic understanding on the titles and contents included in the multiple memory information, and obtain the semantic information corresponding to each of the multiple memory information.

[0156] The second semantic understanding sub-module is used to perform semantic understanding on the collection keyword, and obtain the semantic information corresponding to the collection keyword.

[0157] The memory information search sub-module is used to search for the first memory information that matches the collection keyword from the multiple memory information based on the semantic information corresponding to the collection keyword and the semantic information corresponding to each of the multiple memory information.

[0158] The memory collection creation module 230 is used to create a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes the first memory information.

[0159] Further, the collection creation device 200 further includes: a collection interface display module, where:

[0160] The collection interface display module is used to display a collection interface corresponding to the first memory collection when the creation of the first memory collection is completed, where the collection interface includes the first memory information.

[0161] Further, the collection creation device 200 further includes: a second memory interface display module, where:

[0162] The second memory interface display module is used to display a second memory interface when a backward interface operation on the collection interface is detected, where the second memory interface includes the first memory collection and the memory information other than the first memory information in the multiple memory information.

[0163] Further, the collection creation device 200 further includes: a matching progress animation display module, where:

[0164] The matching progress animation display module is used to display a matching progress animation during the process of matching the multiple memory information and the collection keyword.

[0165] Further, the collection creation device 200 further includes: a memory information matching module and a memory information adding module, where:

[0166] The memory information matching module is used to match the new memory information with the first memory collection when new memory information is obtained.

[0167] A memory information adding module, configured to add the new memory information to the first memory collection if the matching is successful.

[0168] Further, the creation device 200 of the collection further includes: a memory information searching module and a memory collection creating module, where:

[0169] The memory information searching module is configured to, if the matching is unsuccessful, search for memory information that satisfies the classification rule with the new memory information from the multiple memory information as the second memory information.

[0170] The memory collection creating module is configured to create a second memory collection based on the new memory information and the second memory information, where the second memory collection includes the new memory information and the second memory information.

[0171] Further, the creation device 200 of the collection further includes: a similarity determination module, a memory collection merging module, and a memory collection retention module, where:

[0172] The similarity determination module is configured to determine the similarity between the first memory collection and the second memory collection.

[0173] The memory collection merging module is configured to merge the first memory collection and the second memory collection if the similarity reaches the similarity threshold.

[0174] The memory collection retention module is configured to retain the first memory collection and the second memory collection if the similarity does not reach the similarity threshold.

[0175] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.

[0176] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical, or other forms of coupling.

[0177] In addition, in each embodiment of the present application, each functional module may be integrated in a processing module, or each module may exist physically alone, or two or more modules may be integrated in one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0178] Please refer to Figure 14, which shows a structural block diagram of an electronic device 100 provided by an embodiment of the present application. The electronic device 100 may be an electronic device such as a smart phone, a tablet computer, an e-book, etc. that can run application programs. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more application programs, where one or more application programs may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more programs are configured to execute the methods described in the foregoing method embodiments.

[0179] Among them, the processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts within the entire electronic device 100, and by running or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and by calling data stored in the memory 120, it executes various functions of the electronic device 100 and processes data. Optionally, the processor 110 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). The processor 110 may integrate one or a combination of several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, application programs, etc.; the GPU is responsible for rendering and drawing the content to be displayed; the modem is used to process wireless communication. It can be understood that the above modem may not be integrated into the processor 110 and may be implemented separately by a communication chip.

[0180] The memory 120 may include random access memory (RAM), and may also include read-only memory. The memory 120 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store instructions for implementing the operating system, instructions for implementing functions (such as touch functions, sound playback functions, image playback functions, etc.), instructions for implementing the following method embodiments, etc. The data storage area may also store data created during the use of the electronic device 100 (such as phone books, audio and video data, chat record data, etc.).

[0181] In some embodiments, the electronic device 100 may further include a touch screen, where the touch screen is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic device 100. These graphical user interfaces may be composed of graphics, text, icons, numbers, videos, and any combination thereof. In one example, the touch screen may be a liquid crystal display (LCD) or an organic light-emitting diode (OLED), which is not limited herein.

[0182] In some embodiments, the electronic device 100 may further include a camera for collecting the user's motion data. Optionally, the camera may include a front camera, a rear camera, a telescopic camera, a rotating camera, etc., which is not limited herein.

[0183] In some embodiments, the electronic device 100 may further include sensors. The sensors may include a light sensor, which can be used to turn off the display of the touch screen when an object approaches the touch screen, for example, when the body of the electronic device moves to the ear. The sensors may include a pressure sensor, which can be used to detect the pressure generated by pressing on the electronic device, that is, the pressure sensor can detect the pressure generated by the contact or pressing between the user and the electronic device, such as the pressure generated by the contact or pressing between the user's ear or finger and the electronic device. The sensors may include a gravity sensor for detecting the magnitude of acceleration in all directions (generally three axes). When stationary, the magnitude and direction of gravity can be detected, and it can be used for applications that identify the posture of the electronic device (such as landscape / portrait screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. Additionally, the electronic device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, etc., which is not limited herein.

[0184] In some embodiments, the electronic device 100 may further include an artificial intelligence module, which may be integrated in the processor 110 of the electronic device 100 to improve the intelligence level and performance of the electronic device.

[0185] Of course, the electronic device may also include many other components, which will not be elaborated herein.

[0186] Please refer to Figure 15 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program code is stored in the computer-readable medium 300, and the program code can be called by a processor to execute the method described in the above method embodiment.

[0187] The computer-readable storage medium 300 can be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read-Only Memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 300 has a storage space for program code 310 that executes any of the method steps in the above methods. These program codes can be read from or written into one or more computer program products. The program code 310 can be compressed in a suitable form, for example.

[0188] In some embodiments, the embodiments of the present application provide a computer program product, the computer program product includes a computer program, and when the computer program is executed by a processor, it implements the function recommendation method in the embodiments of the present application.

[0189] In summary, for the collection creation method, device, electronic device, storage medium, and program product provided by the embodiments of the present application, when a collection creation operation for multiple memory information is detected, an input collection keyword is obtained, memory information that matches the collection keyword is searched for from the multiple memory information as the first memory information, and a first memory collection corresponding to the collection keyword is created based on the first memory information, where the first memory collection includes a plurality of first memory information. Thus, by automatically searching for memory information according to the input collection keyword to create a memory collection, the cost for the user to create a collection can be reduced, and the relevance of the memory information in the created collection can be improved.

[0190] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for creating a collection, characterized in that, The method includes: When a creation operation for a collection of multiple memory information is detected, obtaining an input collection keyword; Searching for memory information that matches the collection keyword from the multiple memory information as the first memory information; Creating a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes the first memory information.

2. The method according to claim 1, wherein The step of, when a creation operation for a collection of multiple memory information is detected, obtaining an input collection keyword includes: Displaying a first memory interface, where the first memory interface includes the multiple memory information; When a collection creation operation acting on the first memory interface is detected, obtaining the input collection keyword.

3. The method according to claim 2, wherein The step of, when a collection creation operation acting on the first memory interface is detected, obtaining the input collection keyword includes: When a collection creation operation acting on the first memory interface is detected, displaying an input box; Obtaining the collection keyword input through the input box.

4. The method according to claim 2, wherein The first memory interface further includes an add control. The step of, when a collection creation operation acting on the first memory interface is detected, obtaining the input collection keyword includes: When a touch operation acting on the add control is detected, obtaining the input collection keyword.

5. The method according to claim 1, characterized in that, After creating the first memory collection corresponding to the collection keyword based on the first memory information, it further includes: When the creation of the first memory collection is completed, displaying a collection interface corresponding to the first memory collection, where the collection interface includes the first memory information.

6. The method according to claim 5, wherein After, when the creation of the first memory collection is completed, displaying a collection interface corresponding to the first memory collection, it further includes: When an interface back operation acting on the collection interface is detected, displaying a second memory interface, where the second memory interface includes the first memory collection and the memory information other than the first memory information among the multiple memory information.

7. The method according to claim 1, characterized in that, The method further includes: During the process of matching the multiple memory information and the collection keyword, displaying a matching progress animation effect.

8. The method according to claim 1, characterized in that The step of searching for the first memory information that matches the collection keyword from the multiple memory information includes: Performing semantic understanding on the titles and contents included in the multiple memory information respectively to obtain the semantic information corresponding to each of the multiple memory information; Performing semantic understanding on the collection keyword to obtain the semantic information corresponding to the collection keyword; Based on the semantic information corresponding to the collection keyword and the semantic information corresponding to each of the multiple memory information, searching for the first memory information that matches the collection keyword from the multiple memory information.

9. The method according to any one of claims 1-8, characterized in that, After creating the first memory collection corresponding to the collection keyword based on the first memory information, it further includes: When new memory information is obtained, matching the new memory information with the first memory collection; If the match is successful, adding the new memory information to the first memory collection.

10. The method according to claim 9, wherein The method further includes: If the matching is unsuccessful, search for memory information that satisfies the classification rule with the new memory information from the multiple memory information as the second memory information; Create a second memory collection based on the new memory information and the second memory information, where the second memory collection includes the new memory information and the second memory information.

11. The method according to claim 10, wherein After creating the second memory collection based on the new memory information and the second memory information, it further includes: Determine the similarity between the first memory collection and the second memory collection; If the similarity reaches the similarity threshold, merge the first memory collection and the second memory collection; or If the similarity does not reach the similarity threshold, retain the first memory collection and the second memory collection.

12. An apparatus for creating a collection, characterized in that, The device includes: A collection keyword input module, configured to obtain the input collection keyword when detecting an operation for creating a collection of multiple memory information; A memory information search module, configured to search for memory information that matches the collection keyword from the multiple memory information as the first memory information; A memory collection creation module, configured to create a first memory collection corresponding to the collection keyword based on the first memory information, where the first memory collection includes the first memory information.

13. An electronic device, characterized in that, It includes a memory and a processor, the memory is coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the processor executes the method according to any one of claims 1-11.

14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code, and the program code can be called by the processor to execute the method according to any one of claims 1-11.

15. A computer program product, characterized in that, The computer program product includes a computer program, and when the computer program is executed by the processor, it implements the method according to any one of claims 1-11.