Information processing method and device, electronic equipment and storage medium

By extracting and collecting some content on the page in an electronic device, the problem of cumbersome steps for users to find content of interest is solved, and the rapid positioning and simplifying search process is achieved.

CN119166261APending Publication Date: 2024-12-20VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411335022.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The steps for users to find the favorite content they are interested in in electronic devices are cumbersome, and they need to browse the entire page again to find the content they need.

Method used

Provides an information processing method, which simplifies the search process by displaying a page, receiving user input, extracting and displaying part of the content in the page, and allowing users to directly collect content of interest.

Benefits of technology

Users can directly collect some content of the page, and can quickly locate the content of interest during subsequent searches, avoiding rebrowsing the entire page, and simplifying the search process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166261A_ABST
    Figure CN119166261A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method and device, electronic equipment and a storage medium, and belongs to the technical field of communication. Displaying the first page; receiving a first input for a first page; in response to the first input, at least one content is displayed, and the at least one content is extracted from the first page; a first content of the at least one content is collected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to an information processing method, device, electronic device and storage medium. Background Art

[0002] Currently, when a user sees content that he or she is interested in while using an electronic device, he or she can trigger the electronic device to collect it. For example, when browsing an article in a browser, if the user is interested in some content in the article, he or she can click the collection button on the page to trigger the electronic device to add the URL corresponding to the article to the favorites to collect the entire article.

[0003] Then, when the user wants to visit the content of interest in the article again, the user can click the URL in the favorites to trigger the electronic device to display the article page corresponding to the URL, but the user needs to browse the entire article again to find the content he is interested in. In this way, the steps for users to find the favorite content of interest are cumbersome. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide an information processing method, device, electronic device and storage medium, which can simplify the steps for users to find content of interest.

[0005] In a first aspect, an embodiment of the present application provides an information processing method, the method comprising: displaying a first page, receiving a first input to the first page; in response to the first input, displaying at least one content, the at least one content being extracted from the first page; and collecting a first content among the at least one content.

[0006] In a second aspect, an embodiment of the present application provides an information processing device, the device comprising: a display module, a receiving module, and a collection module. The display module is used to display a first page. The receiving module is used to receive a first input to the first page. The display module is also used to display at least one content in response to the first input received by the receiving module, and the at least one content is extracted from the first page. The collection module is used to collect a first content in the at least one content displayed by the display module.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program / program product is stored in a storage medium, and the program / program product is executed by at least one processor to implement the method described in the first aspect.

[0011] In an embodiment of the present application, a first page is displayed; a first input to the first page is received; in response to the first input, at least one content is displayed, the at least one content is extracted from the first page; and the first content of the at least one content is collected. In this solution, since the content that the user is interested in on the first page can be directly collected, that is, only part of the content of the first page can be collected, when the user wants to view the collected content later, it can be directly found, avoiding the need for the user to reopen the first page and browse the entire page content of the first page to find the content of interest when the entire first page is collected, thereby simplifying the steps for the user to find the content of interest. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is one of the flowcharts of an information processing method provided in an embodiment of the present application;

[0013] FIG. 2(A) is one of the schematic diagrams of an example of displaying a first page provided in an embodiment of the present application;

[0014] FIG. 2(B) is one of the schematic diagrams of an example of extracting key content from a first page provided in an embodiment of the present application;

[0015] FIG3(A) is a second schematic diagram of an example of displaying a first page provided in an embodiment of the present application;

[0016] FIG3(B) is a second schematic diagram of an example of extracting key content from a first page provided in an embodiment of the present application;

[0017] Figure 4 It is a schematic diagram of an example of four corner points of a paragraph provided in an embodiment of the present application;

[0018] Figure 5 This is a schematic diagram of an example of determining multiple content areas in a first page provided by an embodiment of the present application;

[0019] Figure 6 It is one of the example schematic diagrams showing the extracted key content provided by the embodiment of the present application;

[0020] Figure 7 This is a second example schematic diagram of displaying extracted key content provided by an embodiment of the present application;

[0021] Figure 8 This is a schematic diagram of an example of selecting content of interest for collection provided in an embodiment of the present application;

[0022] FIG. 9(A) is one of schematic diagrams of an example of viewing favorite content provided by an embodiment of the present application;

[0023] FIG9(B) is a second schematic diagram of an example of viewing favorite content provided by an embodiment of the present application;

[0024] Fig.10 is a structural diagram of an information processing device provided in an embodiment of the present application;

[0025] Fig.11 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;

[0026] Fig.12 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0028] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0029] The terms "at least one (item)", "at least one of" and the like in the specification and claims of the present application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" refers to two or more, and its meaning is similar to that of "at least one (item)".

[0030] The information processing method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0031] The information processing method in the embodiment of the present application can be applied to the scenario of collecting content.

[0032] Scenario 1: A user is viewing a post titled “Nine Summer Resorts in China” on a browser. The user has been to some of the attractions, while others have not piqued the user’s interest. However, the description of Qinghai Lake interests the user, and the user wants to collect this attraction separately. In this case, the user can long press the currently displayed page to trigger the electronic device to extract three attractions on the currently displayed page and display the location information corresponding to the three attractions, “Zhangjiajie, Qinghai Lake, Jiuzhaigou”. The user can then click “Qinghai Lake” to trigger the electronic device to collect the location information “Qinghai Lake”.

[0033] Scenario 2, when the user receives multiple schedule text messages, such as meeting notification text messages, ticket purchase notification text messages, etc., if the user is worried about forgetting important matters, then when the electronic device displays multiple schedule text messages, the user can long press the page displaying multiple schedule text messages to trigger the electronic device to extract the time information and event information corresponding to the three schedules on the page "August 10 09:29, XX North Station XXXX train, August 10, check in to the hotel, July 23 14:30 to 16:30, regular meeting", and then the user can click "August 10 09:29, XX North Station XXXX train" and "August 10, check in to the hotel" to trigger the electronic device to collect "August 10 09:29, XX North Station XXXX train" and "August 10, check in to the hotel".

[0034] In the information processing method, device, electronic device and storage medium provided in the embodiments of the present application, since the content of the first page that the user is interested in can be directly collected, that is, only part of the content of the first page can be collected, when the user subsequently wants to view the collected content, it can be found directly, avoiding the need for the subsequent user to reopen the first page and browse the entire page content of the first page to find the content of interest when the entire first page is collected, thereby simplifying the steps for the user to find the content of interest.

[0035] The information processing method provided in the embodiment of the present application may be executed by an information processing device, which may be an electronic device, or a functional module or entity in an electronic device. The technical solution provided in the embodiment of the present application is described below using an electronic device as an example.

[0036] The present application provides an information processing method. Figure 1 FIG. 1 is a flowchart of an information processing method provided by an embodiment of the present application, which can be applied to electronic devices. Figure 1 As shown, the information processing method provided in the embodiment of the present application may include the following steps 201 to 204.

[0037] Step 201: The electronic device displays a first page.

[0038] In some embodiments of the present application, the first page may be any page in the electronic device. For example, the first page may be any of the following: an article page, a chat page, a text message page, a browser page, etc. This embodiment of the present application does not limit this.

[0039] Step 202: The electronic device receives a first input to a first page.

[0040] It can be understood that when the electronic device displays the first page, if the user is interested in part of the content in the first page and wants to collect this part of the content, the user can input to trigger the electronic device to extract at least one content from the page content of the first page and display the at least one extracted content, and then the user can collect part of the at least one content.

[0041] In some embodiments of the present application, the first input is used to collect a portion of content of interest in the first page.

[0042] In some embodiments of the present application, the first input includes but is not limited to: a touch input by a user through a touch device such as a finger or a stylus, or a voice command input by a user, or a specific gesture input by a user, or a click input, or other feasible input. The specific input can be determined according to actual use requirements, and the embodiments of the present application do not limit this.

[0043] In some embodiments of the present application, the above-mentioned specific gesture can be any one of a single-click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture.

[0044] In some embodiments of the present application, the click input may be a single click input, a double click input, or any number of click inputs, and may also be a long press input or a short press input.

[0045] In some embodiments of the present application, the first input may be an input of the user on the content of interest in the first page.

[0046] In some embodiments of the present application, upon receiving a first input from a user, the electronic device may enter a collection mode. In this collection mode, the electronic device may extract page content of a displayed first page and display at least one extracted content, and then upon receiving a user input for a portion of the at least one content, collect the portion of the content.

[0047] Example 1, in combination with the above scenario 1, as shown in Figure 2(A), when the electronic device displays page 11 of the post "Nine Major Summer Resorts in China", that is, the above-mentioned first page, if the user is very interested in Qinghai Lake, as shown in Figure 2(B), then the user can long press the relevant content of "Qinghai Lake" in page 11, that is, the above-mentioned first input, to trigger the electronic device to enter the collection mode, so as to extract the content in page 11.

[0048] Example 2, in combination with the above scenario 2, as shown in Figure 3(A), when the electronic device displays the text message page 21, that is, the above-mentioned first page, if the user wants to record the train time for subsequent travel, as shown in Figure 3(B), then the user can long press the schedule reminder for purchasing tickets in page 21, that is, the above-mentioned first input, to trigger the electronic device to enter the collection mode to extract the content in page 21.

[0049] Step 203: The electronic device displays at least one content in response to the first input.

[0050] In an embodiment of the present application, the at least one content is extracted from the first page.

[0051] In some embodiments of the present application, when the first page includes scenic spot recommendation information, each of the at least one content includes location information corresponding to the scenic spot.

[0052] In some embodiments of the present application, the above-mentioned location information may also be referred to as a location entity, where a location entity refers to text related to a location and having a specific meaning, such as Qinghai Lake, Zhangjiajie, etc.

[0053] In some embodiments of the present application, when the first page includes schedule reminder information, each of the at least one content includes time information corresponding to the schedule and event information corresponding to the schedule.

[0054] In some embodiments of the present application, the above-mentioned time information and event information corresponding to the schedule may also be referred to as a schedule entity.

[0055] In some embodiments of the present application, the above-mentioned at least one content can also be understood as: at least one key content in the first page.

[0056] In some embodiments of the present application, when receiving a first input from a user, the electronic device may display a first window, where the first window includes the at least one content mentioned above.

[0057] In some embodiments of the present application, when the electronic device receives the first input from the user, it can display a favorite card, and the favorite card includes the at least one content mentioned above.

[0058] In some embodiments of the present application, before "the electronic device displays at least one content" in the above step 203, the information processing method provided by the embodiment of the present application also includes the following steps 301 and 302.

[0059] Step 301: The electronic device divides the page content of the first page to obtain N content areas.

[0060] In the embodiment of the present application, each content area contains part of the content in the first page, and N is a positive integer.

[0061] In some embodiments of the present application, each of the N content areas may include any of the following: text content, a table, and a picture.

[0062] In some embodiments of the present application, each of the N content areas may contain a piece of text content.

[0063] It should be noted that the above text content may be entirely text, or text and numbers, or text, numbers and English characters, etc. This embodiment of the application does not limit this.

[0064] It can be understood that the above text content may include at least one of the following: text, numbers, English characters, special characters, etc. This embodiment of the present application does not limit this.

[0065] In some embodiments of the present application, the electronic device can use OCR technology to identify each paragraph of text content in the first page, as well as the location information of each paragraph of text content. The electronic device can then determine the content area corresponding to each paragraph of text content based on the location information of each paragraph of text content, thereby obtaining the above-mentioned N content areas.

[0066] In some embodiments of the present application, the position information of each paragraph of text content may include the coordinates of the four corner points of each paragraph of text, which are: the lower left corner point down_left, the lower right corner point down_right, the upper left corner point top_left, and the upper right corner point top_right.

[0067] Example 3: Figure 4 As shown, it is a schematic diagram of the four corner points of paragraph A "Autumn, also known as fall, the third season of the year, the transition season from summer to winter", and the coordinates of the four corner points are "down_left(A1, B1), down_right(A2, B1), top_left(A1, B2), top_right(A2, B2)", so that the content area corresponding to paragraph A can be obtained. Among them, the x-axis represents the horizontal direction from the left to the right side of the screen, and the y-axis represents the vertical direction from the top to the bottom. The coordinate value is a decimal between 0 and 1, which represents the ratio of the pixel to the image size, ensuring the standardization and screen independence of the coordinates.

[0068] In some embodiments of the present application, the coordinate information of the four corner points of the content area corresponding to each paragraph of text content is the same as the coordinate information of the four corner points of each paragraph of text content.

[0069] For example: when the coordinates of the four corner points of a paragraph of text are "down_left(A1, B1), down_right(A2, B1), top_left(A1, B2), top_right(A2, B2)", the coordinates of the four corner points of the content area corresponding to the paragraph of text are "down_left(A1, B1), down_right(A2, B1), top_left(A1, B2), top_right(A2, B2)".

[0070] Example 4, combined with Example 1, the following is the extraction result of performing OCR extraction on the page content in page 11, taking page 11 in FIG. 2 (A) of Example 1 as an example: [

[0072] {"location":{"down_left":{"x": 0.0926, "y": 0.1249},

[0073] "down_right": {"x": 0.51936, "y": 0.1249}, "top_left": {"x": 0.0926, "y": 0.1056},

[0074] "top_right": {"x": 0.5193, "y": 0.10567},

[0075] "words": "Burqin Kanas Scenic Area"},

[0076] …

[0077] …

[0078] {"location":{"down_left":{"x": 0.0362, "y": 0.8804],

[0079] "down_right": {"x": 0.9674, "y": 0.8793}, "top_left": {"x": 0.0362, "y": 0.7726},

[0080] "top_right": {"x": 0.9674, "y": 0.7726}},

[0081] "words": "3 Jiuzhaigou: Sichuan's fairy tale world."}, ]

[0083] Among them, words represents each recognized text content, and location is the location information describing each text content in the page 11;

[0084] Combined with the above extraction results, such as Figure 5 As shown in FIG. 1 , the electronic device divides the page content of page 11 according to the position information of each text content extracted, and obtains 10 content areas. It should be noted that Figure 5 The solid-line frame in the figure is only used to illustrate the content area and is not displayed on the actual page.

[0085] Step 302: The electronic device extracts part of the content in the first page contained in each content area by using an extraction model to obtain at least one content.

[0086] It can be understood that the electronic device can input the content included in each content area into the extraction model to obtain the key content included in each content area output by the extraction model, thereby obtaining the at least one content mentioned above.

[0087] Example 5, combined with the above example 4, such as Figure 5As shown, after dividing the page content of page 11 according to the position information of each extracted text content to obtain multiple content areas, the electronic device can input the text content in each content area into the extraction model, as shown in Table 1, to obtain the key content included in each content area output by the extraction model, wherein the extraction model output "[]" indicates that the content area does not contain key content.

[0088] Table 1

[0089]

[0090] In this way, since the electronic device can first divide the page content of the first page to obtain multiple content areas and then extract key content from each content area respectively, the accuracy of the electronic device in extracting key content is improved compared to directly extracting key content from the entire page.

[0091] In some embodiments of the present application, the electronic device may train the extraction model before using the extraction model to improve the accuracy of the extraction model output, which specifically includes the following steps A1 to A4.

[0092] Step A1: Collect text data.

[0093] In some embodiments of the present application, the electronic device can collect text data containing key information from various communities and online platforms, including but not limited to travel guides, news reports, etc., to provide a diverse data source for subsequent training.

[0094] Step A2: Clean the collected text data.

[0095] In some embodiments of the present application, the electronic device can clean the collected raw text data (for example, removing special characters, using automated tools or manual inspection to remove advertising noise, etc.) to ensure data quality.

[0096] Step A3: mark the key content in the text data.

[0097] Step A4: Fine-tune the extraction model for content extraction task.

[0098] In some embodiments of the present application, after the key content is labeled, the existing extraction model is fine-tuned through training data so that it can more accurately identify and extract the key content in the data text.

[0099] In some embodiments of the present application, each piece of training data consists of an instruction and a label, wherein the label includes annotated key content.

[0100] Example 6: Taking the key content as location information, after the electronic device collects text data and annotates the location information in the text data, training data can be obtained:

[0101] {

[0102] Instructions: Please extract location information from the text provided below. \n.Text: Jiangnan | 9 ancient towns worth visiting \n"Mist and rain enter Jiangnan, mountains and rivers are dyed with ink", Jiangnan is really beautiful! ! It makes people intoxicated. \nToday I will share with you some of my favorite ancient towns in Jiangnan, each of which has a unique charm that makes people want to visit again and again. \n1. Wuzhen, Zhejiang: The quaint buildings and the leisurely river seem to make people travel back to ancient times. \n2. Zhouzhuang: It has the reputation of "China's No. 1 Water Town". Take a stroll and feel the tranquility and beauty. \n3. Nanxun Ancient Town: The unique charm of the combination of Chinese and Western cultures is fully displayed here. \n4. Xitang Ancient Town: Xitang at night is even more unique, with bright lights and a dreamlike feeling.

[0103] Tags: ["Wuzhen", "Zhouzhuang", "Nanxun Ancient Town", "Xitang Ancient Town"]

[0104] }

[0105] If the text data does not include location information, the label is an empty list, for example:

[0106] {

[0107] Instructions: Please extract the place entity from the text provided below. \nThe palace of ceramic art is full of cultural charm. \nThe picturesque scenery makes people intoxicated.

[0108] Label:[]

[0109] }.

[0110] In some embodiments of the present application, before the "electronic device displays at least one content" in the above step 203, the information processing method provided by the embodiment of the present application further includes the following steps 401 and 402. In addition, the "electronic device displays at least one content" in the above step 203 can be specifically implemented by the following step 203a.

[0111] Step 401: The electronic device obtains a first input position of a first input and a region position of each content region.

[0112] In some embodiments of the present application, the first input position may be denoted as P finger .

[0113] Among them, P finger =(x finger ,y finger), x finger is the horizontal coordinate point of the first input position, y finger is the ordinate point of the first input position.

[0114] In some embodiments of the present application, when the electronic device receives the first input, if two input points are detected, the electronic device may use the position of the center point of the two input points as the first input position.

[0115] It can be understood that when the above-mentioned first input is a two-finger input by the user, the electronic device can detect two input points.

[0116] Exemplarily, when the first input includes a first input point and a second input point, the electronic device may calculate the first input position of the first input by using the following formula 1:

[0117]

[0118] Among them, x finger1 is the horizontal coordinate point of the first input point, y finger1 is the ordinate point of the first input point; x finger2 is the horizontal coordinate point of the second input point, y finger2 The ordinate point of the second input point.

[0119] In some embodiments of the present application, since the electronic device obtains the position information of each paragraph of text content in the first page through OCR technology, the position information of the four corner points of each paragraph of text content is an integer between 0 and 1 (hereinafter referred to as OCR coordinate information). Then, the position information of the four corner points of each content area is also an integer between 0 and 1, and the first input position of the first input is the pixel coordinate on the screen. Therefore, it is necessary to first convert the OCR coordinate information of the four corner points of each paragraph of text content into pixel coordinate information. After obtaining the pixel coordinate information of the four corner points of each content area based on the pixel coordinate information of the four corner points of each paragraph of text content, the distance between the first input position and the area position of each content area is determined in the same dimension.

[0120] In some embodiments of the present application, the electronic device may multiply the OCR coordinate information of the four corner points of each paragraph of text content by the height pixel and width pixel of the screen of the electronic device to convert the OCR coordinate information of the four corner points of each paragraph of text content into pixel coordinate information.

[0121] For example: taking the screen height of an electronic device as 2520 pixels, and the width as 1080 pixels, the OCR coordinate information of the text paragraph corresponding to "Qinghai Lake" is: [(0.0325, 0.5721), (0.9649, 0.5721), (0.0325, 0.4654), (0.9649, 0.4654)] as an example, the electronic device can multiply the horizontal coordinate point 0.0325 of the first OCR coordinate point (0.0325, 0.5721) by the width pixel 1080 of the screen to obtain 35, and multiply the vertical coordinate point 0.5721 by the height pixel 2520 of the screen to obtain 1441, thereby obtaining the converted pixel coordinates [(35, 1441). The conversion of other coordinate points is similar and will not be repeated here.

[0122] Example 7, combined with the above example 5, as shown in Table 1, the electronic device extracts each content area in page 11, and obtains the location information ["Burqin", "Kanas Scenic Area", "Qinghai Lake", "Zhangjiajie", "Jiuzhaigou"]. Combined with the above example 4, the electronic device performs OCR extraction on the page content in page 11, and obtains the OCR coordinate information of each paragraph of text content in page 11. The electronic device can obtain the following information: [

[0124] {"location":"Burqin","OCR coordinates":[(0.0926, 0.1249),(0.51936, 0.1249),(0.0926, 0.1056),(0.5193, 0.10567)]},

[0125] {"Location":"Kanas Scenic Area","OCR coordinates":[(0.0926, 0.1249),(0.51936, 0.1249),(0.0926, 0.1056),(0.5193, 0.10567)]},

[0126] {"location":"Qinghai Lake","OCR coordinates":[(0.0325, 0.5721),(0.9649, 0.5721),(0.0325, 0.4654),(0.9649, 0.4654)]},

[0127] {"location":"Zhangjiajie","OCR coordinates":[(0.0325, 0.7270),(0.9649, 0.7270),(0.0312, 0.6166),(0.9649, 0.6128)]},

[0128] {"location":"Jiuzhaigou","OCR coordinates":[(0.0362, 0.8804),(0.9674, 0.8793),(0.0362, 0.7726),(0.9674, 0.7726)]}, ]

[0130] Then the electronic device can multiply the OCR coordinate information of the four corner points of each paragraph of text content with the height pixel and width pixel of the screen of the electronic device to convert the OCR coordinate information of the four corner points of each paragraph of text content into pixel coordinate information, and obtain: [

[0132] {"location":"Burqin","OCR coordinates":[(0.0926, 0.1249),(0.51936, 0.1249),(0.0926, 0.1056),(0.5193, 0.10567)],

[0133] "Pixel coordinates": [(100, 314), (560, 314), (100, 266), (560, 266)]},

[0134] {"Location":"Kanas Scenic Area","OCR Coordinates":[(0.0926, 0.1249),(0.51936, 0.1249),(0.0926, 0.1056),(0.5193, 0.10567)],

[0135] "Pixel coordinates": [(100, 314), (560, 314), (100, 266), (560, 266)]},

[0136] {“Location”: “Qinghai Lake”, “OCR coordinates”: [(0.0325, 0.5721), (0.9649, 0.5721), (0.0325, 0.4654), (0.9649, 0.4654)]

[0137] "Pixel coordinates": [(35, 1441), (1042, 1441), (35, 1172), (1042, 1172)]},

[0138] {"location":"Zhangjiajie","OCR coordinates":[(0.0325, 0.7270),(0.9649, 0.7270),(0.0312, 0.6166),(0.9649, 0.6128)],

[0139] "Pixel Coordinates": [(35, 1832), (1042, 1832), (33, 1553), (1042, 1544)]},

[0140] {"location":"Jiuzhaigou","OCR coordinates":[(0.0362, 0.8804),(0.9674, 0.8793),(0.0362, 0.7726),(0.9674, 0.7726)],

[0141] "Pixel coordinates": [(39, 2218), (1044, 2215), (39, 1947), (1044, 1947)]} ]

[0143] Finally, the electronic device may determine the pixel coordinates of the four corner points of the content area corresponding to each paragraph of text content according to the pixel coordinates of the four corner points of each paragraph of text content.

[0144] In some embodiments of the present application, the regional position of each of the above-mentioned content regions may be the position of the regional center of the content region.

[0145] In some embodiments of the present application, after determining the pixel coordinates of the four corner points of each content region, the electronic device may determine the pixel coordinates of the center of each content region based on the pixel coordinates of the four corner points.

[0146] Step 402: The electronic device sorts at least one content according to the distance between the first input position and the area position of each content area to obtain a first sorting result.

[0147] In some embodiments of the present application, the above distance may be a Euclidean distance.

[0148] Step 203a: The electronic device displays at least one content according to the first sorting result.

[0149] In some embodiments of the present application, the electronic device may determine the distance between the first input position and the area position of each content area according to the first input position and the position of the area center of each content area.

[0150] Exemplarily, the electronic device may calculate the Euclidean distance between the first input position and the region position of the i-th content region among the N content regions by using the following formula 2:

[0151]

[0152] Among them, (x word ,y word ) is the pixel coordinate of the center of the i-th content area, (x finger ,y finger ) are the pixel coordinates of the first input position.

[0153] Example 8: In combination with the above example 7, taking the first input position as (300, 1300) as an example, after the electronic device determines the pixel coordinates of the four corner points of the content area corresponding to each paragraph of text content, the electronic device can calculate the Euclidean distance between the first input position (300, 1300) and the position of the center of each content area, and obtain: [

[0155] {"Location":"Burqin","Distance":1045.62},

[0156] {"Location":"Kanas Scenic Area","Distance":1045.62},

[0157] {"Location":"Qinghai Lake","Distance":324.78},

[0158] {"Location":"Zhangjiajie","Distance":579.92},

[0159] {"Location":"Jiuzhaigou","Distance":932.92},

[0160] ].

[0161] In some embodiments of the present application, the closer the distance between the first input position and the region position of the content region, the higher the ranking position of the content extracted from the content region.

[0162] It can be understood that the first input position is regarded as the content of interest that the user wants to collect by default. For example, if the first input position clicked by the user is the location of the content related to Qinghai Lake, the user may be more interested in Qinghai Lake than Jiuzhaigou. Therefore, according to the distance between the first input position and the regional position of each content area, at least one content is sorted to arrange the content that the user is interested in and wants to collect in front for display.

[0163] Example 9, combined with Example 8, after calculating the Euclidean distance between the first input position and the position of the regional center of each content area, the electronic device can sort at least one content according to the distance and obtain the first sorting result: ["Qinghai Lake", "Zhangjiajie", "Jiuzhaigou", "Burqin", "Kanas Scenic Area"].

[0164] In this way, since the electronic device can adjust the display order of at least one extracted content based on the user's input behavior, it can prioritize the display of content that the user is more interested in, making it easier for the user to collect the content of interest, thereby improving the flexibility of the electronic device in collecting content.

[0165] In some embodiments of the present application, before the above step 203a, the information processing method provided by the embodiment of the present application further includes the following step 501. In addition, the above step 203a can be specifically implemented by the following step 203a1.

[0166] Step 501: The electronic device adjusts the first sorting result based on historical collection information.

[0167] In an embodiment of the present application, the above-mentioned historical collection information includes any one of the following: location information collected by the user within a preset time period, and schedule information collected by the user within a preset time period.

[0168] In some embodiments of the present application, the above-mentioned schedule information includes: time information and event information corresponding to the schedule.

[0169] In some embodiments of the present application, the electronic device may input the first sorting result and the historical collection information into a sorting model to obtain an adjusted first sorting result output by the sorting model.

[0170] Exemplarily, the above-mentioned sorting model may be a large model prompt.

[0171] Example 10: In combination with Example 9, taking the historical collection information as the location information collected by the user within a preset time period as an example, the electronic device can input the historical collection information and the first sorting result into the large model prompt in a prompt format:

[0172] {

[0173] Please adjust the order of the list based on the historical collection information and initial sort list provided below to output a sort result that is more in line with user preferences.

[0174] Historical collection information: {provide ["Potala Palace", "Kanas Scenic Area", "Grand Canyon", "Peach Blossom Valley"], click ["Kanas Scenic Area", "Potala Palace"]},

[0175] First sorting result: ["Qinghai Lake", "Zhangjiajie", "Jiuzhaigou", "Burqin", "Kanas Scenic Area"]

[0176] }

[0177] Among them, "Potala Palace, Kanas Scenic Area, Grand Canyon, Peach Blossom Valley" are all the location information that can be collected during historical browsing, and "Potala Palace, Kanas Scenic Area" are the location information collected during historical browsing;

[0178] Finally, the large model prompt outputs the sorting results optimized according to the user's historical collection behavior:

[0179] ["Qinghai Lake", "Kanas Scenic Area", "Zhangjiajie", "Jiuzhaigou", "Burqin"].

[0180] Example 11: This example will be combined with Example 2 to fully explain the process of the electronic device extracting the content from page 21 and sorting the extracted content, which specifically includes the following steps B1-B7:

[0181] Step B1: The electronic device performs OCR extraction on the page content in page 21, and the extraction result is: [

[0183] {"location": {"down_left": {"x": 0.0060, "y": 0.1669},

[0184] "down_right": {"x": 0.2168, "y": 0.1669}, "top_left": {"x": 0.0060, "y": 0.1081},

[0185] "top_right": {"x": 0.2168, "y": 0.1081}},

[0186] "words": "information"},

[0187] …

[0188] …

[0189] {"location": {"down_left": {"x": 0.2439, "y": 0.7712},

[0190] "down_right": {"x": 0.9006, "y": 0.7712}, "top_left": {"x": 0.2439, "y": 0.6383},

[0191] "top_right'": {"x": 0.9006, "y": 0.6352]},

[0192] "words": "Successfully booked a hotel on August 10th} ]

[0194] Among them, words represents each recognized text content, and location is the location information describing each text content in the page 21;

[0195] In combination with the above extraction results, the electronic device can divide the page content of page 21 according to the position information of each extracted text content.

[0196] Step B2. After dividing the page content of page 21 according to the location information of each extracted text content to obtain multiple content areas, the electronic device can input the text content in each content area into the extraction model, as shown in Table 2, to obtain the key content included in each content area output by the extraction model, wherein the extraction model output "[]" indicates that the content area does not contain content.

[0197] Table 2

[0198]

[0199] Step B3, as shown in Table 2, the electronic device extracts each content area in page 21, and obtains the time information and event information corresponding to the three schedules: [("2024-7-23 14:30 to 16:30", "Regular meeting"), ("August 10 09:29", "XX North Station XXXX train"), ("August 10", "Check-in hotel")]; combined with the OCR coordinate information of each paragraph of text content in page 21 obtained by the electronic device performing OCR extraction on the page content in the above step B1, the electronic device can obtain the following information: [

[0201] {“Schedule”: [(“2024-7-23 14:30 to 16:30”, “Regular Meeting”)],

[0202] "OCR coordinates": [(0.2439, 0.3817), (0.9036, 0.3817), (0.2500, 0.2411), (0.9036, 0.2411)]},

[0203] {“Schedule”: [(“August 10 09:29”, “XXXX train at XX North Station”)],

[0204] "OCR coordinates": [(0.2469, 0.5394), (0.9036, 0.5394), (0.2469, 0.4590), (0.9036, 0.4590)]},

[0205] {“Schedule”: [(“August 10”, “Check-in at hotel”)],

[0206] "OCR coordinates": [(0.2439, 0.7712), (0.9006, 0.7712), (0.2439, 0.6383), (0.9006, 0.6352)]} ]

[0208] Step B4: The electronic device may multiply the OCR coordinate information of the four corner points of each paragraph of text content by the height pixel and width pixel of the screen of the electronic device to convert the OCR coordinate information of the four corner points of each paragraph of text content into pixel coordinate information, and obtain: [

[0210] {“Schedule”: [(“2024-7-23 14:30 to 16:30”, “Regular Meeting”)],

[0211] "OCR coordinates": [(0.2439, 0.3817), (0.9036, 0.3817), (0.2500, 0.2411), (0.9036, 0.2411)],

[0212] "Pixel coordinates": [(263, 962), (975, 962), (270, 607), (975, 607)]},

[0213] {“Schedule”: [(“August 10 09:29”, “XXXX train at XX North Station”)],

[0214] "OCR coordinates": [(0.2469, 0.5394), (0.9036, 0.5394), (0.2469, 0.4590), (0.9036, 0.4590)],

[0215] "Pixel coordinates": [(266, 1359), (975, 1359), (266, 1156), (975, 1156)]},

[0216] {“Schedule”: [(“August 10”, “Check-in at hotel”)],

[0217] "OCR coordinates": [(0.2439, 0.7712), (0.9006, 0.7712), (0.2439, 0.6383), (0.9006, 0.6352)],

[0218] "Pixel Coordinates": [(263, 1943), (972, 1943), (263, 1608), (972, 1600)]} ]

[0220] Then, the electronic device may determine the pixel coordinates of the four corner points of the content area corresponding to each paragraph of text content according to the pixel coordinates of the four corner points of each paragraph of text content.

[0221] Step B5, taking the first input position (300, 1300) as an example, after the electronic device determines the pixel coordinates of the four corner points of the content area corresponding to each paragraph of text content, the electronic device can calculate the Euclidean distance between the first input position (300, 1300) and the position of the center of each content area, and obtain: [

[0223] {"Schedule": [("2024-7-23 14:30 to 16:30", "Regular meeting")],"Distance": 473.42},

[0224] {"schedule": [("August 10 09:29", "XX North Station XXXX train")],"distance": 232.10},

[0225] {“Schedule”: [(“August 10”, “Check-in at hotel”)], “Distance”: 618.55} ]

[0227] Step B6. After calculating the Euclidean distance between the first input position and the position of the regional center of each content area, the electronic device can sort at least one key content according to the distance to obtain a first sorting result: [("August 10 09:29", "XX North Station XXXX Train"), ("2024-7-23 14:30 to 16:30", "Regular Meeting", ("August 10", "Check-in at the hotel"))].

[0228] Step B7: Taking the historical collection information as the schedule information collected by the user within a preset time period as an example, the electronic device can input the historical collection information and the first sorting result into the large model prompt in a prompt format:

[0229] {

[0230] Please adjust the list order based on the user operation history and initial sort list provided below to output a list order that better suits user preferences.

[0231] Historical collection information: {provide ["("August 8 10:29", "The third group meeting"), ("August 12 10:50", "XXX train at XX South Station"), ("August 10", "Check-in at the hotel")"], click ["("August 10", "Check-in at the hotel")"]},

[0232] First sorting result: [("August 10 09:29", "XX North Station XXXX train"), ("2024-7-23 14:30 to 16:30", "regular meeting"), ("August 10", "check in hotel"))]

[0233] }

[0234] Among them, ("August 8 10:29", "The third group meeting"), ("August 12 10:50", "XXX train at XX South Station"), ("August 10", "Check-in at the hotel") are all the schedule information that can be collected during historical browsing, and ("August 10", "Check-in at the hotel") is the schedule information collected during historical browsing;

[0235] Finally, the large model prompt outputs the sorting results optimized according to the user's historical collection behavior:

[0236] [("August 10th 09:29", "XXXX train at XX North Station"), ("August 10th", "check in to hotel"), ("2024-7-23 14:30 to 16:30", "regular meeting")].

[0237] Step 203a1: The electronic device displays at least one content according to the adjusted first sorting result.

[0238] Example 12: Combining Example 10 and FIG. 2(B), as shown in FIG. Figure 6 As shown, after the electronic device determines the adjusted first sorting result: "Qinghai Lake - Kanas Scenic Area - Zhangjiajie - Jiuzhaigou - Burqin", the electronic device can display a collection card 31, which includes 5 location information displayed in order: "Qinghai Lake - Kanas Scenic Area - Zhangjiajie - Jiuzhaigou - Burqin".

[0239] Example 13: In combination with Example 11 and FIG. 3(B), as shown in FIG. Figure 7 As shown, the electronic device displays a favorite card 41, which includes three contents extracted by the electronic device from page 21: "August 10 09:29, XXXX train at XX North Station", "August 10, check in to hotel", and "July 23 14:30 to 16:30, regular meeting".

[0240] In this way, after the electronic device makes a preliminary adjustment to the display order of at least one extracted content in combination with the user's input behavior, it can further adjust the display order of at least one content again in combination with the user's historical collection information. Therefore, the display order of at least one content can be more in line with the user's needs, thereby improving the flexibility of the electronic device in collecting content.

[0241] Step 204: The electronic device collects a first content among the at least one content.

[0242] In some embodiments of the present application, the first content may be all or part of at least one content.

[0243] In some embodiments of the present application, the first content may be the first M contents of the at least one content, where M is a positive integer.

[0244] In some embodiments of the present application, the first content may be at least one content whose click times by users exceed a preset threshold.

[0245] In some embodiments of the present application, the above step 204 can be specifically implemented by the following step 204a or step 204b.

[0246] Step 204a: When receiving an input for the first content, the electronic device collects the first content.

[0247] Example 14: Combination Figure 6 ,like Figure 8 As shown, when the user wants to collect "Qinghai Lake" and "Kanas Scenic Area", the user can check "Qinghai Lake" and "Kanas Scenic Area", and then click the "One-click Collection" control to trigger the electronic device to collect the two places "Qinghai Lake" and "Kanas Scenic Area", which is the first content mentioned above.

[0248] In this way, after the electronic device displays at least one extracted content, the user can select the content of interest to collect according to his / her own preferences, thereby improving the flexibility of collecting content on the electronic device.

[0249] In some embodiments of the present application, after the first content is collected, the electronic device may display a collection page, where the collection page includes the first content.

[0250] In some embodiments of the present application, the collection page may further include the collection time of the first content.

[0251] In some embodiments of the present application, after the electronic device collects the first content, it may display notification information, where the notification information is used to indicate that the first content is successfully collected.

[0252] In some embodiments of the present application, the electronic device may receive user input for the above notification information and display a favorites page.

[0253] Example 15: Combination Figure 8 As shown in FIG9(A), after the electronic device collects the two places "Qinghai Lake" and "Kanas Scenic Area", the electronic device can display a notification message 51 "Added to favorites, click to view", and the user can click on the notification message 51, as shown in FIG9(B), triggering the electronic device to display a favorites page 52, which includes the two collected places "Qinghai Lake" and "Kanas Scenic Area".

[0254] In some embodiments of the present application, after the electronic device displays the above-mentioned favorites page, upon receiving the user's second input, it exits the above-mentioned favorites page and displays the above-mentioned first page, that is, returns to the page initially browsed by the user.

[0255] In some embodiments of the present application, the electronic device may receive a user input to a first control and collect all contents of at least one content.

[0256] For example: the first control mentioned above may be a "one-click collection" control.

[0257] In some embodiments of the present application, after collecting the first content, the electronic device may record the collection information of the user, where the collection information includes the collection time and the first content.

[0258] In some embodiments of the present application, the above-mentioned collection information may also include: all content that can be collected.

[0259] Example 16, combined with Example 14, after the user triggers the electronic device to collect the two places "Qinghai Lake" and "Kanas Scenic Area", the electronic device can record the user's collection information: {provide ["Qinghai Lake", "Kanas Scenic Area", "Zhangjiajie", "Jiuzhaigou", "Burqin"], click to collect ["Qinghai Lake", "Kanas Scenic Area"]}.

[0260] Step 204b: When the display duration of at least one content reaches a preset duration, the electronic device collects the first content.

[0261] In the embodiment of the present application, the first content is the content that satisfies a preset condition among the at least one content.

[0262] In some embodiments of the present application, the above-mentioned preset condition may be at least one of the following:

[0263] The content is ranked in the first M positions, where M is a positive integer;

[0264] The content contains preset keywords;

[0265] The location corresponding to the content is closest to the current location of the electronic device;

[0266] The time corresponding to the content is closest to the current time;

[0267] The number of words corresponding to the content is greater than the preset threshold.

[0268] In some embodiments of the present application, the first content may be all the content of at least one content, that is, when the display duration of at least one content reaches a preset duration, the electronic device collects the at least one content displayed.

[0269] In this way, when the display duration of at least one content reaches the preset duration, the electronic device can collect the content that meets the preset conditions, thereby improving the flexibility of the electronic device in collecting content.

[0270] In the information processing method provided in the embodiment of the present application, since the content of the first page that the user is interested in can be directly collected, that is, only part of the content of the first page can be collected, when the user subsequently wants to view the collected content, it can be directly found, avoiding the need for the subsequent user to reopen the first page when the entire first page is collected, and browse the entire page content of the first page to find the content of interest, thereby simplifying the steps for the user to find the content of interest.

[0271] It should be noted that the above-mentioned method embodiments, or various possible implementation methods in each method embodiment, can be executed separately, or, under the premise that there is no contradiction, can also be executed in combination with each other. The specific implementation can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.

[0272] It should be noted that the information processing method provided in the embodiment of the present application can be executed by an information processing device. In the embodiment of the present application, the information processing device provided in the embodiment of the present application is described by taking the information processing device executing the information processing method as an example.

[0273] Fig.10 A possible structural diagram of an information processing device involved in an embodiment of the present application is shown. Fig.10 As shown, the information processing device 70 may include: a display module 71, a receiving module 72, and a collection module 73;

[0274] The display module 71 is used to display the first page.

[0275] The receiving module 72 is used to receive a first input to the first page.

[0276] The display module 71 is further configured to display at least one content in response to the first input received by the receiving module 72, wherein the at least one content is extracted from the first page;

[0277] The collection module 73 is used to collect a first content among the at least one content displayed by the display module 71 .

[0278] An embodiment of the present application provides an information processing device, which can directly collect the content of interest to the user on the first page, that is, only part of the content of the first page can be collected. Therefore, when the user subsequently wants to view the collected content, he can directly find it, avoiding the need for the subsequent user to reopen the first page and browse the entire page content of the first page to find the content of interest when the entire first page is collected, thereby simplifying the steps for the user to find the content of interest.

[0279] In a possible implementation, the collection module 73 is specifically configured to:

[0280] When receiving an input on the first content, collecting the first content; or,

[0281] When the display time of at least one content reaches a preset time, a first content is collected, where the first content is the content that meets a preset condition among the at least one content.

[0282] In one possible implementation, the interface display device 70 provided in the embodiment of the present application also includes: a processing module; a processing module, which is used to divide the page content of the first page before the display module 71 displays at least one content, to obtain N content areas, each content area containing part of the content in the first page, and N is a positive integer; and extract the part of the content in the first page contained in each content area through an extraction model to obtain at least one content.

[0283] In a possible implementation, the interface display device 70 provided in the embodiment of the present application further includes: an acquisition module; the acquisition module is used to acquire the first input position of the first input and the regional position of each content area before the display module 71 displays at least one content. The processing module is also used to sort the at least one content according to the distance between the first input position acquired by the acquisition module and the regional position of each content area to obtain a first sorting result. The display module 71 is specifically used to display at least one content according to the first sorting result.

[0284] In a possible implementation, the interface display device 70 provided in the embodiment of the present application further includes: an adjustment device; the adjustment device is used to adjust the first sorting result based on the historical collection information before the display module 71 displays the at least one content according to the first sorting result, and the historical collection information includes any of the following: location information collected by the user within a preset time period, and schedule information collected by the user within a preset time period. The display module 71 is specifically used to display the at least one content according to the adjusted first sorting result.

[0285] In one possible implementation, when the first page includes tourist attraction recommendation information, each of the at least one content includes location information corresponding to the tourist attraction; when the first page includes schedule reminder information, each of the at least one content includes time information corresponding to the schedule and event information corresponding to the schedule.

[0286] The information processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR) / virtual reality (Virtual Reality, VR) device, a robot, a wearable device, a super mobile personal computer (Ultra-Mobile Personal Computer, UMPC), a netbook or a personal digital assistant (Personal Digital Assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (Personal Computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.

[0287] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0288] The information processing device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.

[0289] Alternatively, if Fig.11 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, wherein the memory 902 stores programs or instructions that can be executed on the processor 901, and when the program or instructions are executed by the processor 901, the various steps of the above-mentioned method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0290] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0291] Fig.12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0292] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0293] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0294] The display unit 106 is used to display the first page.

[0295] The user input unit 107 is used to receive a first input on the first page.

[0296] The display unit 106 is further configured to display at least one content in response to a first input received by the user input unit 107 , where the at least one content is extracted from the first page.

[0297] The processor 110 is configured to collect a first content among the at least one content displayed by the display unit 106 .

[0298] An embodiment of the present application provides an electronic device, which can directly collect the content of interest to the user on a first page, that is, only part of the content of the first page can be collected. Therefore, when the user subsequently wants to view the collected content, he can directly find it, avoiding the need for the subsequent user to reopen the first page and browse the entire page content of the first page to find the content of interest when the entire first page is collected, thereby simplifying the steps for the user to find the content of interest.

[0299] In some embodiments of the present application, the processor 110 is specifically configured to:

[0300] When receiving an input on the first content, collecting the first content; or,

[0301] When the display time of at least one content reaches a preset time, a first content is collected, where the first content is the content that meets a preset condition among the at least one content.

[0302] In some embodiments of the present application, the processor 110 is used to divide the page content of the first page into N content areas before the display unit 106 displays at least one content, each content area containing a portion of the content in the first page, and N is a positive integer; and extract the portion of the content in the first page contained in each content area through an extraction model to obtain at least one content.

[0303] In some embodiments of the present application, the processor 110 is used to obtain a first input position of a first input and an area position of each content area before the display unit 106 displays at least one content; and sort at least one content according to a distance between the first input position and the area position of each content area to obtain a first sorting result.

[0304] The display unit 106 is specifically configured to display at least one content according to the first sorting result.

[0305] In some embodiments of the present application, the processor 110 is used to adjust the first sorting result based on historical collection information before the display unit 106 displays at least one content according to the first sorting result, and the historical collection information includes any one of the following: location information collected by the user within a preset time period, and schedule information collected by the user within a preset time period.

[0306] The display unit 106 is specifically configured to display at least one content according to the adjusted first sorting result.

[0307] In some embodiments of the present application, when the first page includes scenic spot recommendation information, each of the at least one content includes location information corresponding to the scenic spot;

[0308] In the case where the first page includes schedule reminder information, each of the at least one content includes time information corresponding to the schedule and event information corresponding to the schedule.

[0309] The electronic device provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0310] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0311] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0312] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0313] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.

[0314] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0315] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0316] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0317] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0318] An embodiment of the present application provides a computer program / program product, which is stored in a storage medium. The program / program product is executed by at least one processor to implement the various processes of the above-mentioned method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0319] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0320] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0321] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An information processing method, It is characterized in that The method comprises: Display the first page; receiving a first input to the first page; In response to the first input, display at least one content, wherein the at least one content is extracted from the first page; A first content among the at least one content is collected.

2. The method according to claim 1, It is characterized in that The collecting the first content in the at least one content includes: When receiving an input on the first content, collecting the first content; or When the display time of the at least one content reaches a preset time, the first content is collected, and the first content is the content that meets a preset condition among the at least one content.

3. The method according to claim 1, It is characterized in that Before displaying at least one content, the method further includes: Divide the page content of the first page to obtain N content areas, each content area contains a portion of the content of the first page, and N is a positive integer; The at least one content is obtained by extracting part of the content in the first page contained in each content area through the extraction model.

4. The method according to claim 3, It is characterized in that Before displaying at least one content, the method further includes: Obtaining a first input position of the first input and a region position of each content region; sorting the at least one content according to the distance between the first input position and the area position of each content area to obtain a first sorting result; The displaying of at least one content comprises: According to the first sorting result, the at least one content is displayed.

5. The method according to claim 4, It is characterized in that Before displaying the at least one content according to the first sorting result, the method further includes: Adjusting the first sorting result based on historical collection information, wherein the historical collection information includes any one of the following: location information collected by the user within a preset time period, and schedule information collected by the user within a preset time period; The displaying the at least one content according to the first sorting result includes: The at least one content is displayed according to the adjusted first sorting result.

6. The method according to claim 1, It is characterized in that In the case where the first page includes scenic spot recommendation information, each of the at least one content includes location information corresponding to the scenic spot; In the case where the first page includes schedule reminder information, each of the at least one content includes time information corresponding to the schedule and event information corresponding to the schedule.

7. An information processing device, It is characterized in that The device comprises: a display module, a receiving module and a collection module; The display module is used to display the first page; The receiving module is used to receive a first input on the first page; The display module is further configured to display at least one content in response to the first input received by the receiving module, wherein the at least one content is extracted from the first page; The collection module is used to collect the first content among the at least one content displayed by the display module.

8. The device according to claim 7, It is characterized in that The collection module is specifically used for: When receiving an input on the first content, collecting the first content; or When the display time of the at least one content reaches a preset time, the first content is collected, and the first content is the content that meets a preset condition among the at least one content.

9. The device according to claim 7, It is characterized in that The device further comprises: a processing module; The processing module is used to divide the page content of the first page into N content areas before the display module displays at least one content, each content area contains part of the content of the first page, and N is a positive integer; and extract the part of the content of the first page contained in each content area through an extraction model to obtain the at least one content.

10. The device according to claim 9, It is characterized in that The device further includes: an acquisition module; the acquisition module is used to acquire a first input position of the first input and a region position of each content region before the display module displays at least one content; The processing module is further configured to sort the at least one content according to the distance between the first input position obtained by the obtaining module and the area position of each content area, so as to obtain a first sorting result; The display module is specifically configured to display the at least one content according to the first sorting result.

11. The device according to claim 10, It is characterized in that The device further includes: an adjustment device; the adjustment device is used to adjust the first sorting result based on historical collection information before the display module displays the at least one content according to the first sorting result, the historical collection information including any one of the following: location information collected by a user within a preset time period, schedule information collected by a user within a preset time period; The display module is specifically configured to display the at least one content according to the adjusted first sorting result.

12. The device according to claim 7, It is characterized in that In the case where the first page includes scenic spot recommendation information, each of the at least one content includes location information corresponding to the scenic spot; In the case where the first page includes schedule reminder information, each of the at least one content includes time information corresponding to the schedule and event information corresponding to the schedule.

13. An electronic device, It is characterized in that The method comprises a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the information processing method according to any one of claims 1 to 6 are implemented.

14. A readable storage medium, It is characterized in that The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the information processing method according to any one of claims 1 to 6 are implemented.

15. A computer program product, It is characterized in that The computer program product is stored in a storage medium, and the program product is executed by at least one processor to implement the steps of the information processing method according to any one of claims 1 to 6.