Page content processing method and electronic device

By displaying the first target and the second target on the electronic device and generating the third target in response to the user's drag and drop operation, the problem of low operability of the desktop content of the electronic device is solved and the user experience is improved.

WO2025118858A1PCT designated stage expired Publication Date: 2025-06-12HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/127025
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-05
Filing Date
2024-10-24
Publication Date
2025-06-12

AI Technical Summary

Technical Problem

The desktop content of electronic devices is less operable to users, resulting in poor user operation experience.

Method used

A page content processing method is provided to expand the function and user experience of the file by displaying the first target and the second target on the electronic device and generating a third target in response to a user's drag operation.

Benefits of technology

Improves the operability of files, allowing users to trigger more functions through drag and drop operations, and improves the user's operating experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024127025_12062025_PF_FP_ABST
    Figure CN2024127025_12062025_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a page content processing method and an electronic device, relating to the technical field of terminals. More corresponding functions can be implemented for dragging operations on files in electronic devices, and thus users can experience more functions and the operation experience of users is improved. In the method, when a user drags one file onto another file, an electronic device can further display a third target on the basis of the two files. Alternatively, when a user drags a file to a taskbar (or an icon-free area of a first page), an electronic device can further display on the taskbar (or the icon-free area) a tool capable of opening the file.
Need to check novelty before this filing date? Find Prior Art

Description

Page content processing method and electronic device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on December 5, 2023, with application number 202311658593.6 and application name “Page Content Processing Method and Electronic Device”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of terminal technology, and in particular to a page content processing method and electronic device. Background Art

[0003] The desktop of an electronic device (such as a personal computer) can display files, folders, shortcuts, and other content. Users can perform various operations on these contents on the desktop, such as double-clicking, single-clicking, and dragging, to achieve different functions for these contents. Among them, dragging and dropping files, folders, shortcuts, etc. mostly realizes the function of moving files, folders, shortcuts, etc. It can be seen that the functions that can be achieved by dragging and dropping are usually relatively simple, and the content displayed on the desktop is relatively difficult for users to operate, which in turn affects the user's operating experience.

[0004] Summary of the Invention

[0005] The embodiments of the present application provide a page content processing method and an electronic device, wherein the dragging and dropping operation of a file by the electronic device can correspond to more functions, and can also enable users to experience more functions, thereby improving the user's operating experience.

[0006] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0007] In a first aspect, a method for processing page content is provided, wherein an electronic device displays a first target and a second target on a first page, and displays a third target in response to a user dragging the first target onto the second target.

[0008] The first target and the second target are used to indicate files on the first page respectively, and the third target is generated based on the first target and the second target. In other words, the user can drag a file displayed on the first page to another file, so that the electronic device displays corresponding targets based on the two files.

[0009] In the above method, the user can trigger the electronic device to perform other functions besides moving the first target by dragging the first target. When the user drags the first target to a second target, the electronic device can further display a third target based on the first and second targets. This allows the electronic device to respond to more functions for the file drag operation, allowing users to experience more functions and improve the user's operating experience.

[0010] In an implementation of the first aspect, when the first target and the second target are respectively used to indicate files on the first page, the first target is a document file, a table file or a presentation file, and the second target is a document file, a table file or a presentation file.

[0011] In this implementation, there are multiple types of files that users can perform drag and drop operations on. For different types of files, the electronic device can generate and display different third targets in response to the user's drag and drop operations. Therefore, when the user operates different types of files, different third targets can be viewed on the first page. This not only increases the operability of the files, but also improves the user's operating experience.

[0012] In one implementation of the first aspect, the first target is a first document file, and the second target is a second document file. When the electronic device displays the second target on the first page, it may display resource content in the second document file on the first page, where the resource content includes one or more of text, numbers, characters, images, links, and tables. Subsequently, in response to a user dragging the first target onto the second target, when the electronic device displays the third target, it may specifically insert the resource content in the first document file into the resource content in the second document file in response to the user dragging the first document file onto the resource content in the second document file.

[0013] This implementation allows users to insert file contents into another open file without opening the file, and also reduces the need for users to frequently open files during the process of merging file contents, thus saving operation time.

[0014] In one implementation of the first aspect, when the electronic device inserts resource content from a first document file into resource content in a second document file, the electronic device may specifically insert the resource content from the first document file into a first position within the resource content in the second document file, where the first position is the location within the resource content in the second document file where the user ends the drag-and-drop operation. In this way, the user can drag the first document file to any position within the resource content in the second document file as desired, thereby synthesizing a new document file.

[0015] In one implementation of the first aspect, the first target is a first table file, and the second target is a second table file. When the electronic device displays the second target on the first page, it may specifically display the resource content in the second table file on the first page, where the resource content includes one or more of text, numbers, characters, images, and links. Thereafter, when the electronic device displays the third target in response to a user dragging the first target onto the second target, it may specifically insert the resource content in the first table file into the resource content in the second table file in response to the user dragging the first table file onto the resource content in the second table file.

[0016] This implementation allows users to insert file contents into another open file without opening the file, and also reduces the need for users to frequently open files during the process of merging file contents, thus saving operation time.

[0017] In one implementation of the first aspect, in response to a user dragging a first table file onto resource content in a second table file, the electronic device may insert the resource content of the first table file into the resource content in the second table file by specifically inserting the resource content of the first table file into a second position within the resource content in the second table file, where the second position is the position within the resource content in the second table file where the user ends the dragging operation. In this way, the user can drag the first table file to any position within the resource content in the second table file as needed, thereby synthesizing a new table file.

[0018] In one implementation of the first aspect, the first target is a first presentation file, and the second target is a second presentation file. When the electronic device displays the second target on the first page, it can specifically display the resource content in the second presentation file on the first page, wherein the resource content includes at least one presentation page, and the presentation page includes one or more of text, numbers, characters, pictures, and links, and the presentation pages are arranged in sequence and presented in the form of a page list. Thereafter, when the electronic device displays the third target in response to the user dragging the first target to the second target, it can specifically respond to the user dragging the first presentation file to the page list in the second presentation file and insert at least one presentation page in the first presentation file into the page list in the second presentation file.

[0019] This implementation allows users to insert file contents into another open file without opening the file, and also reduces the need for users to frequently open files during the process of merging file contents, thus saving operation time.

[0020] In one implementation of the first aspect, in response to a user dragging a first presentation file onto a page list in a second presentation file, the electronic device may insert at least one presentation page from the first presentation file into the page list in the second presentation file by specifically inserting the at least one presentation page from the first presentation file into a third position in the page list in the second presentation file, where the third position is the position in the page list in the second presentation file where the user ends the dragging operation. In this way, the user can drag the first presentation file to any position in the page list in the second presentation file as needed, thereby synthesizing a new presentation file.

[0021] In one implementation of the first aspect, the first target and the second target may further indicate a folder on the first page. That is, a folder may further be displayed on the first page, and the user may further drag the folder, causing the electronic device to display a third target based on the two folders. The third target may be a new folder that includes the two folders.

[0022] In another possible implementation, when the first target and the second target are both used to indicate files on the first page, the third target is a folder, and the third target includes the first target and the second target. In other words, in response to the user's drag operation, the electronic device can generate and display a folder including the two files.

[0023] In the above implementation, on the first page, there are multiple types of targets that the user can perform drag operations on. For different types of targets, the electronic device can generate and display different third targets in response to the user's drag operations. Therefore, when the user operates different types of targets, different third targets can be viewed on the first page. This not only increases the operability of the targets, but also improves the user's operating experience.

[0024] In one possible implementation of the first aspect, after the electronic device displays the first target and the second target on the first page, it can also display first prompt information corresponding to the first target in response to the user controlling the cursor to hover over the first target, wherein the first prompt information is used to indicate that the first target can be dragged.

[0025] In this implementation, when the user does not know whether a file or folder can be dragged to achieve functions other than moving, the prompt information corresponding to the file or folder in the above method can more intuitively or directly prompt the user that the file or folder can be dragged, or prompt the user that the file or folder can be dragged. After understanding these situations, the user can choose whether to perform the drag operation according to his or her needs.

[0026] In a second aspect, a method for processing page content is provided. In the method, an electronic device displays a first target and a second target on a first page. Thereafter, in response to a user dragging the first target onto the second target, the electronic device displays a third target.

[0027] The first target is a file or web page on the first page, the second target is a taskbar on the first page or an icon-free area on the first page, and the third target is located at the position of the second target, and the third target is used to indicate a tool to open the first target.

[0028] In this method, when a user drags a file (or a web page) to the taskbar (or the icon-free area of ​​the first page), the electronic device can further display a tool that can open the file (or web page) on the taskbar (or the icon-free area), so that the electronic device's dragging operation for the file (or web page) can correspond to more functions, and can also enable users to experience more functions, enhance the operability of the file (or web page), and improve the user's operating experience.

[0029] In one implementation of the second aspect, the first target is a file, and the second target is a taskbar. When the electronic device displays the third target in response to a user dragging the first target onto the second target, the electronic device may specifically display the third target on the taskbar in response to the user dragging the file onto the taskbar, wherein the third target is a shortcut identifier for opening the file on the first page.

[0030] In this implementation, users can create a shortcut corresponding to the file by dragging the file to a preset location. When the user wants to open the file next time, he can click the corresponding shortcut icon to quickly open the file on the first page. This not only increases the functions that can be achieved by the drag and drop operation, but also improves the user's operating experience.

[0031] In one implementation of the second aspect, the first target is a webpage, and the second target is a taskbar. When the electronic device displays the third target in response to a user dragging the first target onto the second target, the electronic device may specifically display the third target on the taskbar in response to the user dragging the webpage onto the taskbar, wherein the third target is a shortcut icon for opening the webpage on the first page.

[0032] In this implementation, users can create a shortcut corresponding to a web page by dragging it to a preset location. When the user wants to open the web page next time, he can click the corresponding shortcut icon to quickly open the web page on the first page. This not only increases the functions that can be achieved by the drag and drop operation, but also improves the user's operating experience.

[0033] In one possible implementation of the second aspect, when the electronic device displays the first target on the first page, it may specifically display the contents of the first folder on the first page, wherein the first folder includes the first target, that is, the first target may be presented in the first folder. In this case, taking the first target as a file and the second target as an icon-free area on the first page as an example, when the electronic device displays the third target in response to a user dragging the first target onto the second target, it may specifically display the third target in the icon-free area on the first page in response to the user dragging the file to the icon-free area on the first page, wherein the third target is a shortcut identifier for opening the file on the first page.

[0034] In this implementation, users can create shortcuts corresponding to files by dragging files in a folder to a preset location. When the user wants to open a file next time, he can click the corresponding shortcut icon to quickly open the file on the first page without having to open the folder and then open the corresponding file. This not only increases the functions that can be achieved by dragging and dropping operations, but also improves the user's operating experience.

[0035] In a third aspect, an electronic device is provided, comprising a memory and one or more processors; the memory is coupled to the processor; computer program code is stored in the memory, and the computer program code includes computer instructions. When the computer instructions are executed by the processor, the electronic device executes the page content processing method as in the first aspect and any implementation thereof, or executes the page content processing method as in the second aspect and any implementation thereof.

[0036] In a fourth aspect, a computer-readable storage medium is provided, comprising computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the page content processing method as in the first aspect and any implementation thereof, or executes the page content processing method as in the second aspect and any implementation thereof.

[0037] In a fifth aspect, a computer program product is provided. When the computer program product is run on a computer, it enables the computer to execute the page content processing method in the first aspect and any implementation thereof, or execute the page content processing method in the second aspect and any implementation thereof.

[0038] It can be understood that the beneficial effects that can be achieved by the electronic device described in the third aspect, the computer-readable storage medium described in the fourth aspect, and the computer program product described in the fifth aspect can refer to the beneficial effects in the first aspect and any possible implementation thereof, or refer to the beneficial effects in the second aspect and any possible implementation thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] FIG1 is a schematic diagram of a desktop shown in an embodiment of the present application;

[0040] FIG2 is a schematic diagram of a PC shown in an embodiment of the present application;

[0041] FIG3 is a first schematic diagram of a first page shown in an embodiment of the present application;

[0042] FIG4 is a second schematic diagram of the first page shown in an embodiment of the present application;

[0043] FIG5 is a third schematic diagram of the first page shown in an embodiment of the present application;

[0044] FIG6 is a fourth schematic diagram of the first page shown in an embodiment of the present application;

[0045] FIG7 is a fifth schematic diagram of the first page shown in an embodiment of the present application;

[0046] FIG8 is a sixth schematic diagram of the first page shown in an embodiment of the present application;

[0047] FIG9 is a seventh schematic diagram of the first page shown in an embodiment of the present application;

[0048] FIG10 is a schematic diagram eight of the first page shown in an embodiment of the present application;

[0049] FIG11 is a schematic diagram of a document page shown in an embodiment of the present application;

[0050] FIG12 is a schematic diagram of a table page shown in an embodiment of the present application;

[0051] FIG13 is a schematic diagram of a presentation page shown in an embodiment of the present application;

[0052] FIG14 is a ninth schematic diagram of the first page shown in an embodiment of the present application;

[0053] FIG15 is a schematic diagram 10 of the first page shown in an embodiment of the present application;

[0054] FIG16 is a schematic diagram 11 of the first page shown in an embodiment of the present application;

[0055] FIG17 is a flow chart of a method for processing page content according to an embodiment of the present application;

[0056] FIG18 is a schematic diagram 12 of the first page shown in an embodiment of the present application;

[0057] FIG19 is a thirteenth schematic diagram of the first page shown in an embodiment of the present application;

[0058] FIG20 is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0059] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the present application, unless otherwise specified, " / " indicates that the objects associated before and after are in an "or" relationship. For example, A / B can represent A or B; "and / or" in the present application is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences. At the same time, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0060] In addition, the business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0061] The desktop of an electronic device (such as a personal computer) can display files, folders, shortcuts, and other content, as shown in Figure 1. Users can perform various operations on these contents on the desktop, such as double-clicking, single-clicking, and dragging, to implement different functions for these contents. Dragging files, folders, shortcuts, and the like is often used to move them.

[0062] The functions that can be achieved by the above drag and drop method are usually relatively simple, for example, only files can be moved by dragging, etc., which makes the displayed content on the desktop less operable for the user. For example, the position can only be moved when being dragged, and the functions that the user can experience are relatively few, resulting in a poor user operation experience.

[0063] Based on the above, an embodiment of the present application provides a page content processing method, in which an electronic device displays a first target and a second target on a first page. Thereafter, in response to a user dragging the first target onto the second target, the electronic device displays a third target. The first target and the second target are respectively used to indicate files on the first page, and the third target is generated based on the first target and the second target.

[0064] That is, the user can drag a file displayed on the first page onto another file, so that the electronic device displays corresponding targets according to the two files.

[0065] In the above method, the user can trigger the electronic device to perform other functions besides moving the first target by dragging the first target. When the user drags the first target to a second target, the electronic device can further display a third target based on the first and second targets. This allows the electronic device to respond to more functions for the file drag operation, allowing users to experience more functions and improve the user's operating experience.

[0066] Alternatively, an embodiment of the present application further provides another page content processing method, in which an electronic device displays a first target and a second target on a first page, and then, in response to a user dragging the first target onto the second target, displays a third target. The first target is a file or webpage on the first page, the second target is a taskbar on the first page or an icon-free area on the first page, and the third target is located at the location of the second target, and the third target is used to indicate a tool for opening the first target.

[0067] That is, the user can drag a file (or web page) displayed on the first page to the taskbar (or icon-free area) of the first page, so that the electronic device displays a tool corresponding to the file (or web page) that can be opened on the taskbar (or icon-free area).

[0068] In the above method, the user can also trigger the electronic device to perform other functions besides moving the first target by dragging the first target. When the user drags the first target to the second target, the electronic device can further display a third target at the location of the second target, which can open the first target. This allows the electronic device to respond to more functions for the file drag operation, allowing users to experience more functions and improve the user's operating experience.

[0069] The page content processing method provided in the embodiment of the present application can be applied to electronic devices with display functions, data processing functions, and computing functions, wherein the electronic devices can be terminal devices such as PCs, laptops, and tablet computers.

[0070] Taking the above method applied to a PC as an example, as shown in FIG2 (a), the PC may include a screen 201, a touchpad 202, a keyboard 203, a mouse 204, etc. The mouse 204 may be connected to the PC by wire or wirelessly.

[0071] In some possible application scenarios, a cursor corresponding to the mouse 204 is displayed on the screen 201 , and the user can click or drag a target on the screen 201 by controlling the cursor.

[0072] For example, the user can use the mouse 204 to control the movement of the cursor displayed on the screen 201, use the mouse 204 to control the cursor displayed on the screen 201 to perform a focus task (such as selecting a target), use the mouse 204 to control the cursor displayed on the screen 201 to hover at a certain place, or use the mouse 204 to control the cursor displayed on the screen 201 to perform a click function.

[0073] For another example, the user may also use a finger to slide, click, or perform other operations on the touchpad 202 to control the cursor to perform the above operations.

[0074] In the embodiment of the present application, the first page may be displayed on the screen 201 of the PC.

[0075] In some possible application scenarios, the first page may be a desktop page, which may display files, folders, applications, shortcuts corresponding to applications or files, and may also display a function providing center such as a taskbar, a control bar, etc. The files may be document files, spreadsheet files, presentation files, etc.

[0076] When a user opens a folder on the first page, the window page corresponding to the folder may be displayed on the first page to specifically display the contents of the folder. When a user opens an application on the first page, the application page corresponding to the application may be displayed on the first page. When a user opens a document file on the first page, the document page corresponding to the document file may be displayed on the first page to specifically display the resource content in the document file, wherein the resource content may include one or more of text, numbers, characters, pictures, links, and tables. When a user opens a table file on the first page, the table page corresponding to the table file may be displayed on the first page to specifically display the resource content in the table file, wherein the resource content may include one or more of text, numbers, characters, pictures, and links. When a user opens a presentation file on the first page, the presentation page corresponding to the presentation file may be displayed on the first page to specifically display the resource content in the presentation file, wherein the resource content includes at least one presentation page, and the presentation page includes one or more of text, numbers, characters, pictures, and links, and the presentation pages are arranged in order and presented in the form of a page list.

[0077] As shown in FIG2( b ), the taskbar 205 (or control bar) can provide different quick access points. Each quick access point can correspond to a function, an application, a page, a document, etc. The quick access point can be displayed as an icon or logo corresponding to the function, application, page, document, etc.

[0078] In other possible application scenarios, the first page may also be other pages that can display the above content, and no specific limitation is made in the embodiments of the present application.

[0079] After the first page is displayed on the PC, the user can operate the content displayed on the first page according to his or her needs, thereby realizing the function required by the user. Furthermore, the user can operate the content on the first page by controlling the cursor on the first page.

[0080] Among them, in some possible application scenarios, the user can select the folder displayed on the first page, thereby controlling the PC to further display prompt information corresponding to each content in the folder on the first page, which is used to prompt the user the type corresponding to each content, so that the user can understand the specific information of the folder without opening the folder. For example, the content in the folder can be files, folders, etc., that is, the type of the content in the folder can be files, folders, etc.

[0081] Furthermore, the aforementioned selection operation on the folder displayed on the first page may include an operation in which the user drags other files or folders displayed on the first page to overlap with the folder, an operation in which the user controls the cursor to hover over the folder, an operation in which the user controls the cursor to hover over the folder and inputs a preset gesture on the screen 201 displaying the first page, an operation in which the user controls the cursor to select the folder and remains there for a preset period of time, etc. In this way, the user can understand or view the contents of the folder in a variety of ways without opening the folder.

[0082] For example, as shown in (a) of FIG3 , a folder 301, a folder 302, a file 303, and the like can be displayed on the first page. The user can drag folder 302 onto folder 301 to overlap it with folder 301, thereby displaying the information display area 304 corresponding to folder 301 on the first page, as shown in (b) of FIG3 . Specifically, if folder 301 includes file 3011, file 3012, and folder 3013, the information display area 304 can sequentially display prompt information corresponding to file 3011, file 3012, and folder 3013. The prompt information can be the name of the file or folder, such as "file 3011," "file 3012," "folder 3013," or the like, or it can be an identifier of the file or folder, such as an icon or image.

[0083] For example, referring to (a) in FIG4 , when the user drags folder 302 to overlap folder 301, two areas, such as area 401 and area 402, may be displayed at the corresponding position of folder 301 on the first page, indicating different functions. Alternatively, these two areas may also be referred to as “hot areas.” The first hot area may be used to instruct the user to save folder 302 to folder 301, and the second hot area may be used to trigger the function of displaying the above-mentioned prompt information, or to trigger the function of displaying the above-mentioned information display area.

[0084] If the user drags the folder 302 and overlaps the second hot zone, as shown in (b) of FIG. 4 , the prompt information as shown in FIG. 3 can still be displayed on the first page.

[0085] If the user drags the folder 302 to the first hot zone and ends the dragging operation, the folder 302 can be saved in the folder 301 .

[0086] For example, as shown in FIG5 , a user can control the cursor to hover over folder 301, and then the information display area 304 corresponding to folder 301 can be displayed on the first page, and the prompt information corresponding to file 3011, file 3012, and folder 3013 can be displayed in sequence in the information display area 304, such as shown above. It can be understood that hovering the cursor means that the cursor stays on folder 301, and the user does not control the cursor to perform a click or selection operation.

[0087] Alternatively, the user may also control the cursor to select the file 301 and keep it there for a preset time, and then the information display area 304 corresponding to the folder 301 may be displayed on the first page.

[0088] For example, as shown in Figure 6, the user can control the cursor to hover over the folder 301 and input a preset gesture on the screen 201 displaying the first page, so that the information display area 304 corresponding to the folder 301 can be displayed on the first page, and the prompt information corresponding to the file 3011, file 3012 and folder 3013 can be displayed in sequence in the information display area 304.

[0089] The user can input a preset gesture on the touchpad 202 of the PC to input the preset gesture on the screen 201. Alternatively, if the screen 201 of the PC is a touch screen, the user can also directly input the preset gesture on the screen 201. The preset gesture can be operated by a single finger or multiple fingers, for example, a two-finger swipe, a three-finger swipe, a single-finger long press, etc.

[0090] In the above scenario, the user can select a folder on the first page to display the prompt information corresponding to each content in the folder. In other scenarios, if the currently selected folder also contains other folders, the user can further select the prompt information corresponding to the current folder, thereby displaying the prompt information corresponding to the content in the current folder and the prompt information corresponding to the content in the subfolders of the current folder.

[0091] For example, the first page displays information display area 304 corresponding to folder 301. Information display area 304 can sequentially display prompt information corresponding to file 3011, file 3012, and folder 3013. The user can then drag folder 302 from folder 301 to the prompt information corresponding to folder 3013. As shown in FIG7 , information display area 701 corresponding to folder 3013 continues to display on the first page. If folder 3013 contains files, folders, etc., prompt information corresponding to each file and folder will be displayed in information display area 701. The user can view prompt information folder by folder in this manner.

[0092] In addition, the above dragging operation can not only realize the function of displaying prompt information, but also realize the function of moving the storage location of files and folders.

[0093] For example, when the user drags the above-mentioned folder 302 and the prompt information corresponding to the folder 3013 overlaps, if the user stops the dragging operation, the PC will save the folder 302 to the folder 3013; and when the user drags the above-mentioned folder 302 and the prompt information corresponding to the file 3011 overlaps, if the user stops the dragging operation, the PC will save the folder 302 to the folder 301.

[0094] For example, the first page displays information display area 304 corresponding to folder 301. Information display area 304 can sequentially display prompt information corresponding to file 3011, file 3012, and folder 3013. The user can then continue to control the cursor to hover over the prompt information corresponding to folder 3013. As shown in FIG8 , the first page continues to display information display area 801 corresponding to folder 3013. If folder 3013 contains files, folders, etc., information display area 801 will display prompt information corresponding to each file and folder. In this way, the user can view prompt information for each folder without having to open each subfolder within the folder to understand or view the information.

[0095] In addition, when the folder selected by the user on the first page is an empty folder, a prompt message indicating that the folder is empty may be displayed on the first page, as shown in FIG. 9 , so that the user can understand or view the current status of the folder in a timely manner.

[0096] In other possible application scenarios, the user can select a file displayed on the first page, thereby controlling the PC to further display file-related content on the first page. The file-related content may include new files, tools for opening files, and prompt information corresponding to the file.

[0097] The tool for opening a file may include a shortcut identifier corresponding to the shortcut for opening the file, a function control, etc. The prompt information corresponding to the file may include a preview of the file, the name of the file, an identifier of the file, etc.

[0098] Furthermore, the selection operation performed on the file displayed on the first page may be a drag operation, or an operation of controlling a cursor to hover over the file.

[0099] For example, as shown in FIG10(a), the first page may display file 305, file 303, etc. The user can drag file 303 onto file 305, so that the PC generates a new folder 1001 and displays folder 1001 on the first page, as shown in FIG10(b). Folder 1001 includes two files.

[0100] Taking the above-mentioned file as a document file as an example, based on the display of file 301 on the first page, the user can further open file 305 on the first page, so that the first page can display the document page 1101 as shown in Figure 11 (a), and then present the resource content in the document file. The user can drag and drop the file 303 displayed on the first page to the document page 1101 corresponding to the file 305, that is, the file 303 can be dragged and dropped onto the resource content of the file 305. In this case, as shown in Figure 11 (b), the PC can directly insert the resource content in the file 303 into the resource content of the file 305, generate a new document file and display it. This allows the user to insert the file content into another open file without opening the file, which also reduces the situation where the user frequently opens files in the process of merging file contents, saving operation time.

[0101] Taking the above-mentioned file as a table file as an example, based on the display of file 305 on the first page, the user can further open file 305 on the first page, so that the first page can display the table page 1201 as shown in Figure 12 (a), and then present the resource content in the table file. The user can drag and drop the file 303 displayed on the first page to the table page 1201 corresponding to the file 305, that is, the file 303 can be dragged and dropped onto the resource content of the file 305. In this case, as shown in Figure 12 (b), the PC can directly insert the resource content in the file 303 into the resource content of the file 305, generate a new table file and display it, where "D" can represent the resource content in the file 303. This can also reduce the situation where users frequently open files in the process of merging file contents, saving operation time.

[0102] For example, if the file is a presentation file, the user can open file 305 on the first page, and the first page can display presentation page 1301 as shown in FIG13(a), thereby presenting the resource content in the presentation file. Presentation page 1301 includes at least one presentation page 1302, which is arranged in sequence and presented in the form of a page list, for example, displayed on the far left of presentation page 1301 and displayed in vertical rows.

[0103] The user can drag file 303 displayed on the first page onto presentation page 1301 corresponding to file 305. In other words, they can drag file 303 onto the resource content of file 305. In this case, as shown in Figure 13 (b), the PC can directly insert the resource content of file 303 into the resource content of file 305, generating and displaying a new presentation file, where "D" can represent the resource content in file 303, such as a presentation page. This also reduces the need for users to frequently open files when merging file content, saving operation time.

[0104] For example, the user may also drag a folder displayed on the first page to another folder, so that the PC may also generate and display a new folder.

[0105] The above scenarios illustrate the dragging and dropping of files of the same type. In other scenarios, the same purpose can be achieved even when the files being dragged are of different types. For example, you can drag a document onto a spreadsheet page, onto a presentation page, onto a spreadsheet page, or onto a document page. For more information on the specific operations, please refer to the previous section and will not be repeated here.

[0106] Alternatively, for other content displayed on the first page, such as the application's logo (or icon), the shortcut logo (or icon) corresponding to the application, the shortcut logo (or icon) corresponding to the file or folder, etc., the user can also perform a drag operation, such as dragging one logo onto another logo, so that the PC can generate a folder including these two logos and display it.

[0107] When the content displayed on the first page includes a file, the user can also control the cursor to hover over the file so that the PC can display prompt information corresponding to the file on the first page, such as the preview content of the file, the name of the file, the identifier of the file, etc., wherein the preview content of the file may include resource content within a preset range in the file. For example, when the file is a document file, the preview content may be the content corresponding to the first 50 characters in the document file, etc. When the file is a table file, the preview content may be the content in the first 5 cells of the first vertical column in the table file, etc. When the file is a presentation file, the preview content may be the first 6 presentation pages in the presentation file, etc.

[0108] For example, if the file on the first page is not open, the user can drag the file to a preset location or a preset target on the first page to generate and display a tool for opening the file. The preset target can be the taskbar on the first page or an area on the first page without icons; the preset location can be the location of the preset target.

[0109] For example, as shown in (a)-(b) in Figure 14, after the user drags the file 303 to the taskbar 1401 on the first page, the PC can create or generate a shortcut logo 1402 corresponding to the file 303 on the taskbar 1401 and display the logo 1402.

[0110] It is understandable that after the shortcut representation 1402 corresponding to the file 303 is created, the file 303 may still be displayed on the first page, or may disappear on the first page. This is not specifically limited in the embodiments of the present application.

[0111] For another example, referring to (a)-(b) of FIG15 , a folder page 1501 (or folder window) including a file 306 is displayed on the first page, thereby achieving the purpose of displaying the file 306. Thereafter, the user can drag the file 306 from the folder page to the icon-free area of ​​the first page, so that the PC can create or generate a shortcut icon 1502 corresponding to the file 306 in the icon-free area of ​​the first page and display the icon 1502.

[0112] Alternatively, the user may also drag the file 306 in the folder page to the taskbar on the first page, so that the PC may create or generate a shortcut icon 1502 corresponding to the file 306 on the taskbar on the first page and display the icon 1502 .

[0113] For another example, referring to (a)-(b) in FIG16 , the first page may also display web pages 1601 and 1602 in the browser. The user may drag web page 1601 to taskbar 1603, so that the PC may create or generate a shortcut icon 1604 corresponding to web page 1601 on the taskbar and display the icon 1604.

[0114] As can be seen from the above, the page content processing method in the embodiment of the present application allows a user to trigger the electronic device to perform other functions besides moving the file by dragging a file on the first page, thereby enhancing the operability of the file. When the user drags a file onto another file, the electronic device can further display a new target based on the two files. This allows the electronic device to correspond to more functions for the file drag operation, allowing users to experience more functions and improve the user's operating experience.

[0115] Alternatively, when the user drags a file (or a web page) to the taskbar (or the icon-free area of ​​the first page), the electronic device can further display a tool that can open the file (or web page) on the taskbar (or the icon-free area), so that the electronic device's dragging operation for the file (or web page) can correspond to more functions, and can also enable users to experience more functions, enhance the operability of the file (or web page), and improve the user's operating experience.

[0116] The following describes the page content processing method in the embodiment of the present application by taking the dragging operation of the above-mentioned file as an example. Referring to FIG17 , the page content processing method may specifically include the following steps S1701-S1702.

[0117] S1701: The electronic device displays a first target and a second target on a first page.

[0118] The first target and the second target are respectively used to indicate files on the first page. That is, multiple files can be displayed on the first page.

[0119] The user can perform various operations on the file displayed on the first page, such as single-clicking, double-clicking, dragging, etc. In some embodiments, if the user operates the file using a peripheral device such as a mouse connected to the electronic device, the single-click operation may also include a single-click operation by clicking the left mouse button, a single-click operation by clicking the right mouse button, etc. The double-click operation may include a double-click operation by clicking the left mouse button, and the drag operation may include a drag operation by long pressing the left mouse button.

[0120] S1702: In response to the user dragging the first target onto the second target, the electronic device displays a third target.

[0121] The third target is generated according to the first target and the second target. That is, when the first target and the second target indicate files respectively, the electronic device can generate and display the third target according to the two files.

[0122] In some embodiments, when the first target and the second target are respectively used to indicate files on the first page, the first target is a document file, a spreadsheet file, or a presentation file, and the second target is a document file, a spreadsheet file, or a presentation file. In other words, the user can perform a drag and drop operation on a variety of file types. For different types of files, the electronic device can generate and display different third targets in response to the user's drag and drop operation. Therefore, when the user operates on different types of files, different third targets can be viewed on the first page. This not only increases the operability of the file but also improves the user's operating experience.

[0123] For example, if the first target is a first document file and the second target is a second document file, when the second target is displayed on the first page, the electronic device can specifically display the resource content in the second document file. Subsequently, in response to a user dragging the first document file onto the resource content in the second document file, the electronic device inserts the resource content in the first document file into the resource content in the second document file.

[0124] The above-mentioned operation of the user dragging the first document file onto the resource content in the second document file can be referred to as the operation shown in (b) of Figure 11 , where the user drags the file 303 displayed on the first page onto the document page 1101 corresponding to the file 305. In this way, the user can insert the file content into another open file without opening the file, thereby reducing the need for the user to frequently open files during the process of merging the file contents and saving operation time.

[0125] In the process of inserting the resource content of the first document file into the resource content of the second document file, the resource content of the first document file can be inserted at a first position in the resource content of the second document file, where the first position is the position where the user ends the drag-and-drop operation in the resource content of the second document file. In this way, the user can drag the first document file to any position in the resource content of the second document file as needed, thereby synthesizing a new document file.

[0126] Alternatively, the first position may also be the starting position or the ending position of the resource content in the second document file. In the embodiment of the present application, no specific limitation is imposed on the first position.

[0127] For example, if the first target is a first table file and the second target is a second table file, when the second target is displayed on the first page, the electronic device can specifically display the resource content in the second table file. Subsequently, in response to a user dragging the first table file onto the resource content in the second table file, the electronic device inserts the resource content in the first table file into the resource content in the second table file.

[0128] The above-mentioned operation of the user dragging the first table file onto the resource content in the second table file can be referred to as the operation shown in (b) of Figure 12 above, where the user drags the file 303 displayed on the first page onto the table page 1201 corresponding to the file 305. In this way, the user can insert the file content into another open file without opening the file, which also reduces the need for the user to frequently open files during the process of merging file contents, thus saving operation time.

[0129] In the process of inserting the resource content of the first table file into the resource content of the second table file, the resource content of the first table file can be inserted at the second position in the resource content of the second table file, wherein the second position is the position where the user ends the drag-and-drop operation in the resource content of the second table file. In this way, the user can drag the first table file to any position in the resource content of the second table file as needed, thereby synthesizing a new table file.

[0130] Alternatively, the second position may also be the top of all rows in the second table file, or the bottom of all rows, etc. In the embodiment of the present application, there is no specific limitation on the second position.

[0131] For example, if the first target is a first presentation file and the second target is a second presentation file, when the second target is displayed on the first page, the electronic device can specifically display the resource content in the second presentation file. Subsequently, in response to the user dragging the first presentation file onto the page list in the second presentation file, the electronic device inserts at least one presentation page from the first presentation file into the page list in the second presentation file.

[0132] The above-mentioned operation of the user dragging the first presentation file onto the page list in the second presentation file can be referred to as the operation shown in (b) of Figure 13 above, where the user drags the file 303 displayed on the first page onto the resource content of the file 305. In this way, the user can insert the content of a file into another open file without opening the file, which also reduces the need for the user to frequently open files during the process of merging file contents, thus saving operation time.

[0133] In the process of inserting a presentation page from the first presentation file into the page list of the second presentation file, at least one presentation page from the first presentation file can be inserted at a third position in the page list of the second presentation file, where the third position is the position where the user ends the drag-and-drop operation in the page list of the second presentation file. In this way, the user can drag and drop the first presentation file to any position in the page list of the second presentation file as needed, thereby synthesizing a new presentation file.

[0134] Alternatively, the third position may also be the starting position or the ending position in the page list of the second presentation file. In the embodiment of the present application, no specific limitation is imposed on the third position.

[0135] In some embodiments, the first and second targets can also be used to indicate folders on the first page. That is, folders can also be displayed on the first page, and the user can drag and drop folders, for example, dragging one folder onto another. Thus, the electronic device can generate and display a third target based on the two folders. For example, the third target can be a new folder that includes the two folders.

[0136] Furthermore, in some other embodiments, when the user has not opened the second target on the first page, or the file page corresponding to the second target is not displayed on the first page, the electronic device may further generate a new folder (i.e., a third target) based on the first target and the second target in response to the user dragging the first target onto the second target, and the folder may include the first target and the second target. In other words, when both files are not open, the electronic device generates a folder including the two files in response to the user's dragging operation.

[0137] It can be seen that on the first page, there are multiple types of targets that users can perform drag operations on. For different types of targets, the electronic device can generate and display different third targets in response to the user's drag operations. Therefore, when the user operates different types of targets, different third targets can be viewed on the first page. This not only increases the operability of the targets, but also improves the user's operating experience.

[0138] In addition, in the above embodiment, when both the first target and the second target are used to indicate files on the first page, the display of the third target is described by taking the example that the first target and the second target can each indicate a file. In other embodiments, the first target can also indicate multiple files. For example, as shown in (a)-(b) of Figure 18, the first target can indicate files 303 and 305 selected by the user on the first page. The user drags files 303 and 305 together onto file 306, so that the electronic device can merge files 303, 305, and 306 into a new folder 1801.

[0139] Alternatively, the first target may be used to indicate files and folders on the first page, and the second target may be used to indicate files on the first page. For example, as shown in (c)-(b) of FIG18 , the first target indicates a folder 301 and a file 303 selected by the user on the first page. The user drags the folder 301 and the file 303 onto the file 306 , and the electronic device then merges the folder 301, the file 303, and the file 306 into a new folder 1802 .

[0140] It can be understood that the contents indicated by the above-mentioned first target and second target are merely exemplary descriptions and are not specific limitations. In some other embodiments, the first target and the second target can also be used to indicate the identification of the application on the first page, the shortcut identification of the application, etc.

[0141] In some embodiments, taking the first target indication file as an example, before dragging the file on the first page, the user can also control the cursor to hover over the file, so that the electronic device responds to the user's operation and displays the first prompt information corresponding to the file, wherein the first prompt information is used to indicate that the file can be dragged.

[0142] Alternatively, in other embodiments, before dragging the folder on the first page, the user can also control the cursor to hover over the folder, so that the electronic device responds to the user's operation and displays a second prompt information corresponding to the folder, wherein the second prompt information is used to indicate that the folder can be dragged.

[0143] When the user does not know whether a file or folder can be dragged to achieve other functions besides moving, the prompt information corresponding to the file or folder in the above method can more intuitively or directly prompt the user that the file or folder can be dragged, or prompt the user to drag the file or folder, so that after understanding these situations, the user can choose whether to perform the drag operation according to his or her needs.

[0144] As can be seen from the above, the page content processing method in the embodiment of the present application allows a user to trigger the electronic device to perform other functions besides moving the file by dragging a file on the first page, thereby enhancing the operability of the file. When the user drags a file onto another file, the electronic device can further display a new target based on the two files. This allows the electronic device to correspond to more functions for the file drag operation, allowing users to experience more functions and improve the user's operating experience.

[0145] The following describes the page content processing method in the embodiment of the present application by taking the dragging operation of the above-mentioned file (or web page) as an example. The page content processing method may specifically include the following steps S1901-S1902.

[0146] S1901: The electronic device displays a first target and a second target on a first page.

[0147] The first target is a file or a webpage on the first page, and the second target is a task bar on the first page or an area without icons on the first page.

[0148] S1902: In response to the user dragging the first target onto the second target, the electronic device displays a third target.

[0149] The third target is located at the position of the second target, and the third target is used to indicate a tool for opening the first target. In other words, the electronic device can display a tool for opening a file on the taskbar, or a tool for opening a webpage on the taskbar, or a tool for opening a file in the icon-free area of ​​the first page, etc.

[0150] Taking the first target as a file and the second target as a taskbar as an example, the electronic device displays a third target on the taskbar in response to the user dragging the file onto the taskbar, wherein the third target is a shortcut icon for opening the file on the first page.

[0151] The above-mentioned operation of the user dragging a file to the taskbar can be referred to as the operation shown in Figures 14(a)-(b) above, where the user drags file 303 to taskbar 1401 on the first page. In this way, the user can create a shortcut corresponding to the file by dragging the file to a preset location. When the user wants to open the file next time, they can click the corresponding shortcut icon to quickly open the file on the first page. This not only increases the functionality that can be achieved by the drag-and-drop operation, but also improves the user's operating experience.

[0152] Taking the first target as a web page and the second target as a taskbar as an example, the electronic device displays a third target on the taskbar in response to the user dragging the web page to the taskbar, wherein the third target is a shortcut icon for opening the web page on the first page.

[0153] The above-mentioned operation of a user dragging a web page to the taskbar can be referred to as the operation of a user dragging a web page 1601 to the taskbar 1603 as shown in Figures 16(a)-(b). In this way, the user can create a shortcut to the web page by dragging the web page to a preset location. When the user wants to open the web page next time, he can click the corresponding shortcut icon to quickly open the web page on the first page. This not only increases the functionality that can be achieved by the drag-and-drop operation, but also improves the user's operating experience.

[0154] In addition, when the electronic device displays the first target on the first page, it may also specifically display the content in the first folder, wherein the first folder includes the first target, that is, the first target may be presented in the first folder.

[0155] In this case, taking the first target as a file and the second target as an icon-free area on the first page as an example, the electronic device displays a third target on the icon-free area on the first page in response to the user dragging the file to the icon-free area on the first page, wherein the third target is a shortcut identifier for opening the file on the first page.

[0156] The above-mentioned operation of the user dragging a file in a folder to the icon-free area can be referred to as the operation shown in Figures 15(a)-(b) above, in which the user drags a file 306 in the folder page to the icon-free area of ​​the first page. In this way, the user can create a shortcut corresponding to the file by dragging the file in the folder to the preset location. When the user wants to open the file next time, he can click the corresponding shortcut icon to quickly open the file on the first page without having to open the folder and then the corresponding file. This not only increases the functionality that can be achieved by the drag-and-drop operation, but also improves the user's operating experience.

[0157] In some embodiments, the first page may further display a control center page 1903. As shown in (a)-(b) of FIG19 , the user may also drag a control 1904 displayed on the control center page 1903 to the first page, so that the electronic device, in response to the user's operation, creates a shortcut entry 1905 (or also referred to as a control) for the function corresponding to the control on the first page. The functions corresponding to the control may include positioning, music, Bluetooth, network connection, etc.

[0158] From the above content, it can be seen that in the page content processing method in the embodiment of the present application, when the user drags a file (or a web page) to the taskbar (or the icon-free area of ​​the first page), the electronic device can further display a tool that can open the file (or web page) on the taskbar (or the icon-free area), so that the electronic device's dragging operation for the file (or web page) can correspond to more functions, and can also enable users to experience more functions, enhance the operability of the file (or web page), and improve the user's operating experience.

[0159] In some schemes, multiple embodiments of the present application can be combined, and the combined scheme can be implemented. Optionally, some operations in the process of each method embodiment are optionally combined, and / or the order of some operations is optionally changed. In addition, the execution order between the steps of each process is only exemplary and does not constitute a restriction on the execution order between the steps. There can also be other execution orders between the steps. It is not intended to indicate that the execution order is the only order in which these operations can be performed. Those of ordinary skill in the art will think of many ways to reorder the operations described in the embodiments of the present application. In addition, it should be noted that the process details involved in a certain embodiment of the present application are also applicable to other embodiments in a similar manner, or different embodiments can be used in combination.

[0160] Furthermore, some steps in the method embodiments may be equivalently replaced with other possible steps. Alternatively, some steps in the method embodiments may be optional and may be deleted in certain usage scenarios. Alternatively, other possible steps may be added to the method embodiments.

[0161] Furthermore, the various method embodiments may be implemented separately or in combination.

[0162] It is understandable that in order to implement the above functions, the aforementioned electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0163] In this embodiment, the electronic device can be divided into functional modules according to the above-mentioned method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into a single processing module. The above-mentioned integrated modules can be implemented in the form of hardware. It should be noted that the module division in this embodiment is illustrative and is only a logical functional division. In actual implementation, other division methods may be used.

[0164] An embodiment of the present application also provides an electronic device, as shown in FIG20 , which may include one or more processors 2001 , a memory 2002 and a communication interface 2003 .

[0165] The memory 2002 and the communication interface 2003 are coupled to the processor 2001. For example, the memory 2002, the communication interface 2003 and the processor 2001 may be coupled together via a bus 2004.

[0166] The communication interface 2003 is used to transmit data to other devices. The memory 2002 stores computer program code. The computer program code includes computer instructions. When the computer instructions are executed by the processor 2001, the electronic device executes the page content processing method in the embodiment of the present application.

[0167] The processor 2001 may be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0168] The bus 2004 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 2004 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG20 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0169] An embodiment of the present application further provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the relevant method steps in the above method embodiment.

[0170] Among them, the electronic device or computer storage medium provided in this application is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0171] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0172] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0173] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0174] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0175] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the contributing part or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0176] The above content is only a specific embodiment of this application, but the scope of protection of this application is not limited to this. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A page content processing method, characterized in that: include: Displaying a first target and a second target on a first page; the first target and the second target are respectively used to indicate files on the first page; In response to a user's operation of dragging the first object onto the second object, displaying a third object; The third goal is generated according to the first goal and the second goal.

2. The method according to claim 1, characterized in that When the first target and the second target are respectively used to indicate files on the first page, the first target is a document file, a table file or a presentation file, and the second target is a document file, a table file or a presentation file.

3. The method according to claim 2, characterized in that The first target is a first document file, and the second target is a second document file; Displaying the second target on the first page includes: displaying resource content in the second document file on the first page; the resource content includes one or more of text, numbers, characters, pictures, links, and tables; In response to the user dragging the first object onto the second object, displaying the third object includes: In response to a user's operation of dragging the first document file onto the resource content in the second document file, the resource content in the first document file is inserted into the resource content in the second document file.

4. The method according to claim 3, characterized in that The inserting the resource content in the first document file into the resource content in the second document file comprises: The resource content in the first document file is inserted at a first position in the resource content in the second document file; the first position is a position in the resource content in the second document file where the user ends the dragging operation.

5. The method according to claim 2, characterized in that: The first target is a first table file, and the second target is a second table file; Displaying the second target on the first page includes: displaying resource content in the second table file on the first page; the resource content includes one or more of text, numbers, characters, pictures, and links; In response to the user dragging the first object onto the second object, displaying the third object includes: In response to a user dragging the first table file onto the resource content in the second table file, the resource content in the first table file is inserted into the resource content in the second table file.

6. The method according to claim 5, characterized in that In response to the user dragging the first table file onto the resource content in the second table file, inserting the resource content in the first table file into the resource content in the second table file includes: The resource content in the first table file is inserted at a second position in the resource content in the second table file; the second position is the position where the user ends the dragging operation in the resource content in the second table file.

7. The method according to claim 2, characterized in that The first target is a first presentation document, and the second target is a second presentation document; Displaying the second target on the first page includes: displaying resource content in the second presentation file on the first page; the resource content includes at least one demonstration page, the demonstration page includes one or more of text, numbers, characters, pictures, and links, and the demonstration pages are arranged in order and presented in the form of a page list; In response to the user dragging the first object onto the second object, displaying the third object includes: In response to a user dragging the first presentation file onto the page list in the second presentation file, at least one presentation page in the first presentation file is inserted into the page list in the second presentation file.

8. The method according to claim 7, characterized in that In response to the user dragging the first presentation file onto the page list in the second presentation file, inserting at least one presentation page in the first presentation file into the page list in the second presentation file comprises: Insert at least one presentation page in the first presentation file at a third position in the page list in the second presentation file; the third position is the position where the user ends the dragging operation in the page list in the second presentation file.

9. The method according to claim 1, characterized in that: The first target and the second target may also be used to indicate a folder on the first page.

10. The method according to claim 1 or 9, characterized in that: The third target is a folder, and the third target includes the first target and the second target.

11. The method according to any one of claims 1 to 10, characterized in that: After displaying the first target and the second target on the first page, the method further includes: In response to a user controlling a cursor to hover over the first target, first prompt information corresponding to the first target is displayed; the first prompt information is used to indicate that the first target can be dragged.

12. A page content processing method, characterized in that: include: Displaying the first target and the second target on the first page; The first target is a file or web page on the first page; The second target is a task bar on the first page or an icon-free area on the first page; In response to a user's operation of dragging the first target onto the second target, a third target is displayed; the third target is located at the position where the second target is located, and the third target is used to indicate a tool for opening the first target.

13. The method according to claim 12, characterized in that The first target is a file, and the second target is a task bar; and in response to a user dragging the first target onto the second target, displaying a third target includes: In response to the user dragging the file onto the taskbar, the third target is displayed on the taskbar; the third target is a shortcut identifier for opening the file on the first page.

14. The method according to claim 12, characterized in that The first target is a web page, and the second target is a task bar; In response to the user dragging the first object onto the second object, displaying the third object includes: In response to a user dragging the webpage onto the taskbar, displaying the third target on the taskbar; The third target is a shortcut identifier for opening the web page on the first page.

15. The method according to claim 12, characterized in that Displaying the first target on the first page includes: displaying the content of a first folder on the first page; the first folder includes the first target; the first target is a file, and the second target is an icon-free area on the first page; In response to the user dragging the first object onto the second object, displaying the third object includes: In response to a user dragging the file to an area without an icon on the first page, the third target is displayed in the area without an icon on the first page; the third target is a shortcut identifier for opening the file on the first page.

16. An electronic device, characterized in that: It includes a memory and one or more processors; the memory is coupled to the processor; the memory stores computer program code, and the computer program code includes computer instructions. When the computer instructions are executed by the processor, the electronic device executes the page content processing method as described in any one of claims 1 to 11, or executes the page content processing method as described in any one of claims 12 to 15.

17. A computer-readable storage medium, characterized in that: It includes computer instructions, which, when executed on an electronic device, enable the vehicle-mounted terminal to execute the page content processing method as described in any one of claims 1 to 11, or execute the page content processing method as described in any one of claims 12 to 15.

Citation Information

Patent Citations

  • Method for managing file folder and related equipment

    CN102033710A

  • Electronic device capable of inserting content and content inserting method thereof

    CN105095164A

  • Folder combination method and apparatus

    CN108614660A

  • Method for opening file based on dragging operation, computing equipment and storage medium

    CN113741777A