Target object display method, resource manager, electronic equipment and storage medium
By automatically creating and moving suspended windows in the resource manager, the problem of cumbersome user operations in the existing technology is solved, the human-computer interaction efficiency and user experience are improved, and the efficient display of target objects is achieved.
Patent Information
- Application Number
- CN202310506195.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-06
- Publication Date
- 2024-11-08
AI Technical Summary
In the prior art, users need to operate multiple times when displaying files in the resource manager, resulting in inefficient human-computer interaction and poor user experience. Especially when moving the floating window to the target position, it is necessary to find and select the floating window, which affects the efficiency. and experience.
By automatically creating a floating window in the resource manager in response to preset operations and keeping the floating window selected before the operation is finished, the user only needs to perform preset operations and floating window movement operations on the target icon, and the resource manager automatically completes the floating window Move and display of target objects.
It simplifies user operation steps, improves human-computer interaction efficiency and user experience, avoids the steps of finding and selecting floating windows, and enhances the fluency and user satisfaction of the display process.
Smart Images

Figure CN118915937A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method for displaying a target object, a resource manager, an electronic device and a storage medium. Background Art
[0002] When users view files in the resource manager, based on reference assistance considerations, they will set the target file to be displayed in a floating window and display it at the target position for comparison. A display method in the prior art: double-click the target file icon to start a specific program to import the target file into the floating window, then select the floating window and move it to a suitable position for display and comparison. In the above display method, the user is required to perform multiple operations including selecting the target file icon to open the floating window, selecting the floating window to move it, etc., so the human-computer interaction efficiency is low and the user experience is poor.
[0003] The contents of the background technology section are merely the technologies known to the public and do not necessarily represent the existing technologies in the field. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a method for displaying a target object, a resource manager, an electronic device, and a storage medium, which can simplify user operations and thereby improve human-computer interaction efficiency and user experience.
[0005] First, an embodiment of the present invention provides a method for displaying a target object, which is displayed based on a resource manager, wherein the resource manager includes icons suitable for associating corresponding digital resources, and the display method includes:
[0006] In response to a preset operation, a floating window is created to request to obtain the digital resource associated with the target icon, and before the preset operation ends, the floating window is controlled to be in a selected state;
[0007] When the floating window is in a selected state, in response to a move operation, moving the floating window to a target position;
[0008] The acquired digital resources associated with the target icon are parsed, and the target object is displayed in the floating window.
[0009] Optionally, the preset operation includes: a first sub-operation and a second sub-operation that are consecutive, and the creating of the floating window in response to the preset operation and the request to obtain the digital resource associated with the target icon include at least one of the following:
[0010] In response to the first sub-operation, the floating window is created; in response to the second sub-operation, a request is made to obtain the digital resource associated with the target icon;
[0011] In response to the first sub-operation, creating the floating window, and in response to the consecutive first sub-operation and second sub-operation, requesting to obtain the digital resource associated with the target icon;
[0012] In response to the second sub-operation, creating the floating window, and in response to the consecutive first sub-operation and second sub-operation, requesting to obtain the digital resource associated with the target icon;
[0013] In response to the first sub-operation, requesting to obtain the digital resource associated with the target icon; and in response to the second sub-operation, creating the floating window;
[0014] In response to the first sub-operation, requesting to obtain the digital resource associated with the target icon, and in response to the consecutive first sub-operation and second sub-operation, creating the floating window;
[0015] In response to the second sub-operation, requesting to obtain the digital resource associated with the target icon, and in response to the consecutive first sub-operation and second sub-operation, creating the floating window;
[0016] In response to the consecutive first sub-operation and the second sub-operation, the floating window is created, and a request is made to obtain the digital resource associated with the target icon.
[0017] Optionally, before it is detected that the subsequent second sub-operation is completed, the floating window is always in a selected state.
[0018] Optionally, the first sub-operation includes: selecting the target icon;
[0019] The second sub-operation includes at least one of the following:
[0020] Continuously selecting the target icon exceeds a second preset time period;
[0021] Press and hold the middle mouse button to move the preset distance within the third preset time.
[0022] Optionally, the creating a floating window in response to a preset operation on the target icon comprises at least one of the following: creating the floating window with a selected point as a center point of the floating window in response to a preset operation on the target icon;
[0023] In response to a preset operation on the target icon, a top-up is created in the display interface.
[0024] Optionally, based on the preset setting of the resource manager, the size of the floating window remains fixed, or is adaptively scaled along with the size of the target object.
[0025] Optionally, the icon includes at least one of the following: a file icon;
[0026] Folder icon.
[0027] The embodiment of the present invention further provides a resource manager, which is suitable for managing digital resources, including:
[0028] Icons, suitable for associating corresponding digital resources;
[0029] The processing unit is adapted to create a floating window in response to a preset operation, request to obtain the digital resources associated with the target icon, parse the acquired digital resources associated with the target icon, and display the target object in the floating window, and before the preset operation ends, control the floating window to be in a selected state, and when the floating window is in the selected state, respond to a move operation, move the floating window to a target position.
[0030] An embodiment of the present invention further provides an electronic device, comprising a memory, a processor and a display, wherein: the memory is suitable for storing a resource manager and digital resources;
[0031] The processor is adapted to run the resource manager, the resource manager includes icons adapted to be associated with corresponding digital resources, and the target object is displayed by executing any of the steps of the target object display method described above by running the resource manager;
[0032] The display is suitable for providing a display interface.
[0033] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed, the steps of any of the above-mentioned methods for displaying a target object are executed.
[0034] By adopting the method for displaying a target object in an embodiment of the present invention, the target object can be displayed based on a resource manager, wherein the resource manager includes icons suitable for associating corresponding digital resources, and except for the preset operation performed by the user on the target icon and the moving operation on the floating window, all other actions are automatically performed by the resource manager in response to the preset operation. In other words, the user only needs to perform the preset operation on the target icon and the moving operation on the floating window to realize the display of the target object in the floating window and the selection of the floating window, omitting the operation steps of finding the floating window and selecting it, and the target object can be displayed through the floating window at the target position desired by the user. Therefore, the steps involving user operations in the display process can be simplified, thereby improving the human-computer interaction efficiency and user experience.
[0035] Furthermore, the preset operation includes a continuous first sub-operation and a second sub-operation, and an adaptation relationship is set between the continuously executed first sub-operation and the second sub-operation and the creation of a floating window and the request to obtain the digital resources associated with the target icon, so as to adapt to different user operating habits and performance parameters of electronic devices.
[0036] Furthermore, when the target icon is a folder icon, in response to a preset operation on the folder icon, a floating window is created to request the digital resources associated with the folder icon, and then the acquired digital resources associated with the folder icon can be directly parsed, and all the digital resources in the corresponding folder can be displayed in the floating window, without the user selecting the folder icon and opening the corresponding folder, thereby further simplifying user operations.
[0037] Furthermore, since the floating window is always in a selected state before detecting that the subsequent second sub-operation is completed, the floating window can be moved to the target position at any time in response to the move operation of the floating window, thereby avoiding the floating window blocking other objects that the user is viewing in the main interface during the display of the target object, thereby further improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the drawings required for use in the embodiments of this specification or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 A flow chart showing a method for displaying a target object in an embodiment of the present invention is shown;
[0040] Figure 2 A schematic diagram of the structure of a resource manager in an embodiment of the present invention is shown;
[0041] Figure 3 A schematic structural diagram of an electronic device in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0042] As described in the background technology, when a user displays a file, the operation steps generally include: double-clicking the icon of the target file to be displayed to start a specific program, and in response to the double-click operation, the specific program will create a floating window, obtain the file content corresponding to the target icon, and display the obtained file content in the floating window. Subsequently, in order to reduce the obstruction of the display interface content, the floating window needs to be selected and moved to a suitable position.
[0043] During the display of the above target file, multiple user operations are required, such as double-clicking the icon of the target file, finding a floating window displaying the target file, selecting the floating window, and then moving the floating window. Therefore, the human-computer interaction efficiency is low and the user experience is poor.
[0044] In order to solve the above problems, an embodiment of the present invention provides a method for displaying a target object, a resource manager, an electronic device and a storage medium, which can simplify user operations and thus improve human-computer interaction efficiency and user experience.
[0045] Specifically, the target object can be displayed based on the resource manager, wherein the resource manager includes icons suitable for associating with corresponding digital resources. During the display process, the user only needs to perform preset operations on the target icon and move the floating window to realize the display of the target object in the floating window and the display of the floating window at the target position specified by the user. Compared with the prior art, the user does not need to find the floating window and perform the selection operation, thereby simplifying the user operation and improving the human-computer interaction efficiency and user experience.
[0046] In order to enable those skilled in the art to better understand and implement the embodiments of the present invention, the concepts, schemes, principles and advantages of the embodiments of the present invention are described in detail below with reference to the accompanying drawings and through specific application examples.
[0047] Firstly, an embodiment of the present invention provides a method for displaying a target object, which is displayed based on a resource manager, wherein the resource manager includes one or more icons suitable for associating with corresponding digital resources.
[0048] Specifically, the target object is a digital resource associated with a target icon, such as a digital resource associated with a file icon or a folder icon.
[0049] It is understandable that the embodiment of the present invention does not limit the type of the icon. As an optional example, the type of icon in the resource manager may include a file icon, or a folder icon, or both a file icon and a folder icon. The digital resource corresponding to the file icon may be a video, a picture, or other digital resources, and the folder corresponding to the folder icon may include one or more files, and the types of digital resources corresponding to the multiple files may be different.
[0050] Reference Figure 1 , you can use the following steps to display the target object:
[0051] Step S01, in response to a preset operation on a target icon, a floating window is created to request to obtain a digital resource associated with the target icon, and before the preset operation is completed, the floating window is in a selected state.
[0052] In a specific implementation, the resource manager can directly create a floating window in response to the user's preset operation on the target icon, request to obtain the digital resource associated with the target icon, and control the floating window to always be in a selected state before the preset operation ends. In other words, the actions in step S01 are all actions automatically performed by the resource manager in response to the preset operation.
[0053] In a specific implementation, the floating window can be created in a variety of ways.
[0054] As an optional example, the resource manager may create the floating window with the selected point as the center point of the floating window in response to a preset operation on the target icon.
[0055] As another optional example, the resource manager may create a top-up in the display interface in response to a preset operation on the target icon.
[0056] It can be understood that the creation position of the floating window is not limited to the above-mentioned positions, but can also be created with the selected point as the upper left corner, upper right corner, lower left corner, or lower right corner of the floating window, on the left side, right side, or in the center of the display interface, etc. The above examples do not impose any limitations on the creation position or creation method of the floating window.
[0057] In a specific implementation, the size of the floating window can be determined in a variety of ways.
[0058] As an optional example, the resource manager may set the floating window to a fixed size. For example, the resource manager may set the size of the floating window to one-fourth of the size of the display interface.
[0059] Without seriously obstructing the content of the section that the user is interested in in the display interface, setting the floating window of a fixed size according to user habits and electronic device parameters can reduce the user's subsequent adjustment operations on the size of the floating window, thereby further simplifying user operations and improving human-computer interaction efficiency and user experience.
[0060] As another optional example, the resource manager may set the size of the floating window to be adaptively scaled with the size of the target object. For example, when the digital resource associated with the target icon is a picture, the size of the floating window is adaptively scaled with the original size of the picture.
[0061] The above setting can retain the original resolution of the target object, thereby reducing the user's adjustment operation on the floating window size during subsequent comparative analysis, thereby further simplifying user operations and improving human-computer interaction efficiency and user experience.
[0062] Step S02, when the floating window is in a selected state, moving the floating window to a target position in response to a move operation.
[0063] In a specific implementation, before the preset operation ends, the floating window is still in a selected state under the control of the resource manager. At this time, the user can move the floating window. The resource manager can move the floating window to the target position for display in response to the user's movement operation on the floating window.
[0064] Specifically, the target location is a location specified by a user.
[0065] Step S03, parsing the acquired digital resources associated with the target icon, and displaying the target object in the floating window.
[0066] In a specific implementation, the resource manager may parse the acquired digital resources associated with the target icon, and may import the parsed results into the floating window, so as to display the target object in the floating window.
[0067] By adopting the above embodiment, the user only needs to perform the preset operation on the target icon and move the floating window to realize the display of the target object in the floating window and the display of the floating window at the target position specified by the user. The display method does not require the user to find the floating window and perform a selection operation, thereby simplifying user operations and improving human-computer interaction efficiency and user experience.
[0068] In a specific implementation, the display method can be applied to a variety of electronic devices with human-computer interaction functions, for example, it can be applied to electronic devices that perform user interaction through a mouse, and electronic devices that perform user interaction through a touch screen.
[0069] The preset operation may be different according to different human-computer interaction modes of the electronic device.
[0070] In some optional examples, for an electronic device that performs user interaction via a mouse, the preset operation may include: the user holds down the left mouse button and continues to select the target icon for more than a second preset time period.
[0071] In other optional examples, the electronic device to which the display method is applied can interact with the user through a touch screen, and accordingly, the preset operation may include: the user uses a finger / stylus to press the touch screen and continuously select the target icon for more than a second preset time period.
[0072] It is understandable that the implementation method of human-computer interaction is not limited to the above-mentioned method, but can also be other methods. Therefore, the preset operation is not limited to the above-mentioned method. The above examples do not constitute any limitation on the implementation method of the human-computer interaction and the preset operation.
[0073] In a specific implementation, the preset operation may include multiple consecutive sub-operations, and there may be multiple adaptation relationships between the resource manager's creation of the floating window and the request for obtaining the digital resources managed by the target icon and the multiple consecutive sub-operations.
[0074] In a specific implementation, the multiple consecutive sub-operations refer to multiple sub-operations occurring within a first preset duration, wherein the first preset duration is greater than or equal to the maximum time difference between the initial execution times of the sub-operations detected by the resource manager.
[0075] By flexibly setting the response relationship between multiple consecutive sub-operations and creating the floating window and requesting to obtain the digital resources managed by the target icon, it is possible to adapt to different user habits and performance parameters of electronic devices, thereby increasing the universality of the display method.
[0076] In a specific implementation, the creation of the floating window and the request for the digital resource managed by the target icon by the resource manager may respectively respond to one or more different continuous sub-operations, or may respond to the same one or more continuous sub-operations.
[0077] In a specific implementation, the preset operation may include: a continuous first sub-operation and a second sub-operation.
[0078] In some optional examples, the first sub-operation may include clicking the left mouse button to select the target icon, moving the mouse cursor to the target icon, continuously pressing the middle mouse button for more than a second preset time period, or continuously pressing the right mouse button for more than a second preset time period. Correspondingly, the second sub-operation may include continuously pressing the middle mouse button for more than the second preset time period, continuously pressing the right mouse button for more than the second preset time period, clicking the left mouse button to select the target icon, or moving the mouse cursor to the target icon.
[0079] It can be understood that the first sub-operation and the second sub-operation are not limited to the aforementioned implementation methods and combinations, but may also be other implementation methods and combinations. The above examples do not constitute any limitation on the implementation methods and combinations of the first sub-operation and the second sub-operation.
[0080] The following describes the response relationship between the resource manager and the first sub-operation and the second sub-operation respectively in conjunction with specific implementation methods.
[0081] In an optional example, in response to the first sub-operation, the floating window is created, and in response to the second sub-operation, a request is made to obtain the digital resource associated with the target icon.
[0082] As a specific example, the first sub-operation includes continuously pressing the middle button of the mouse for longer than the second preset time period, and the second sub-operation includes clicking the left button of the mouse to select the target icon.
[0083] In a specific implementation, if the resource manager first detects that the user continues to press the middle mouse button for more than the second preset time length (for example, 200 milliseconds), the floating window can be directly created, and before detecting that the user stops pressing the middle mouse button, the floating window is controlled to be in a selected state.
[0084] Starting from the time when the resource manager detects that the user continuously presses the middle mouse button for more than the second preset time period, if the resource manager detects that the user clicks the left mouse button to select the target icon within the first preset time period (for example, 30 seconds), the resource manager can directly request the digital resources associated with the target icon from the local / cloud, parse the acquired digital resources associated with the target icon, and import the parsed results into the floating window, thereby displaying the target object in the floating window.
[0085] During the time period from when the floating window is created to when it is detected that the user stops pressing the middle mouse button, since the resource manager controls the floating window to be in a selected state, the resource manager can move the floating window to a user-specified position for display in response to the user's movement operation on the floating window.
[0086] In the above example, the resource manager only responds to the corresponding sub-operations in terms of creation of the floating window and request for acquisition of the digital resource associated with the target icon.
[0087] In another optional example, in response to the first sub-operation, the floating window is created, and in response to the consecutive first sub-operation and second sub-operation, a request is made to obtain the digital resource associated with the target icon.
[0088] As a specific example, the first sub-operation includes continuously pressing the right button of the mouse for more than a second preset time period, and the second sub-operation includes moving the mouse cursor to the target icon.
[0089] In a specific implementation, if the resource manager first detects that the user moves the mouse cursor to the target icon, no response is made. If the resource manager first detects that the user continues to press the right mouse button for more than the second preset time (e.g., 200 milliseconds), the floating window can be directly created, and before detecting that the right mouse button stops being pressed, the floating window is controlled to be in a selected state.
[0090] Starting from the time when the resource manager detects that the user continuously presses the right mouse button for more than the second preset time period, if the resource manager detects that the user moves the mouse cursor to the target icon within the first preset time period (for example, 30 seconds), it can directly request the local / cloud to obtain the digital resources associated with the target icon, and parse the acquired digital resources associated with the target icon, and import the parsed results into the floating window, thereby displaying the target object in the floating window.
[0091] During the time period from the creation of the floating window to the detection that the user stops pressing the right mouse button, since the resource manager controls the floating window to be in a selected state, the resource manager can move the floating window to the user-specified position for display in response to the user's movement operation on the floating window.
[0092] In the above example, the resource manager can execute the two actions of creating the floating window and controlling the floating window to be in a selected state in response to the first sub-operation; and for other actions except the above actions, the resource manager must respond to the consecutive first sub-operation and the second sub-operation to execute.
[0093] In another optional example, in response to the second sub-operation, the floating window is created, and in response to the consecutive first sub-operation and second sub-operation, a request is made to obtain the digital resource associated with the target icon.
[0094] As a specific example, the first sub-operation includes clicking the left button of the mouse to select the target icon, and the second sub-operation includes continuously pressing the middle button of the mouse for more than a second preset time period.
[0095] In a specific implementation, if the resource manager first detects that the user clicks the left mouse button to select the target icon, no response is made. If the resource manager first detects that the user continues to press the middle mouse button for more than the second preset time (e.g., 200 milliseconds), the floating window can be directly created, and before detecting that the user stops pressing the middle mouse button, the floating window is controlled to be in a selected state.
[0096] Starting from the time when the resource manager detects that the user continuously presses the middle mouse button for more than the second preset time period, if the resource manager detects that the user clicks the left mouse button to select the target icon within the first preset time period (for example, 30 seconds), the resource manager can directly request the digital resources associated with the target icon from the local / cloud, parse the acquired digital resources associated with the target icon, and import the parsed results into the floating window, thereby displaying the target object in the floating window.
[0097] During the time period from when the floating window is created to when it is detected that the user stops pressing the middle mouse button, since the resource manager controls the floating window to be in a selected state, the resource manager can move the floating window to a user-specified position for display in response to the user's movement operation on the floating window.
[0098] In the above example, the resource manager can execute the two actions of creating the floating window and controlling the floating window to be in a selected state in response to the second sub-operation; and for other actions except the above actions, the resource manager must respond to the consecutive first sub-operation and the second sub-operation to execute.
[0099] In another optional example, in response to the first sub-operation, a request is made to obtain the digital resource associated with the target icon, and in response to the second sub-operation, the floating window is created.
[0100] As a specific example, the first sub-operation includes clicking the left button of the mouse to select the target icon, and the second sub-operation includes continuously pressing the middle button of the mouse for more than a second preset time period.
[0101] In a specific implementation, if the resource manager first detects that the user clicks the left mouse button to select the target icon, it can directly request the local / cloud to obtain the digital resources associated with the target icon, and parse the obtained digital resources associated with the target icon.
[0102] Starting from the time when the resource manager detects that the user clicks the left mouse button to select the target icon, if the resource manager detects that the user continues to press the middle mouse button for more than a second preset time (e.g., 200 milliseconds) within the first preset time (e.g., 30 seconds), the floating window can be directly created.
[0103] The resource manager imports the above-mentioned parsed result into the floating window, so as to display the target object in the floating window.
[0104] During the time period from when the floating window is created to when it is detected that the user stops pressing the middle mouse button, since the resource manager controls the floating window to be in a selected state, the resource manager can move the floating window to a user-specified position for display in response to the user's movement operation on the floating window.
[0105] In the above example, the resource manager only responds to the corresponding sub-operations in terms of creation of the floating window and request for acquisition of the digital resource associated with the target icon.
[0106] In another optional example, in response to the first sub-operation, a request is made to obtain the digital resource associated with the target icon, and in response to the consecutive first sub-operation and second sub-operation, the floating window is created.
[0107] As a specific example, the first sub-operation includes moving the mouse cursor to the target icon, and the second sub-operation includes continuously pressing the middle mouse button for more than a second preset time period.
[0108] In a specific implementation, if the resource manager first detects that the user continuously presses the middle mouse button for more than the second preset time, no response is made. If the resource manager first detects that the user moves the mouse cursor to the target icon, a request can be made to the local / cloud to obtain the digital resource associated with the target icon, and the obtained digital resource associated with the target icon is parsed.
[0109] Starting from the time when the resource manager detects that the user moves the mouse cursor to the target icon, if the resource manager detects that the user continues to press the middle mouse button for more than the second preset time (e.g., 200 milliseconds) within the first preset time (e.g., 30 seconds), the floating window can be directly created.
[0110] The resource manager imports the above-mentioned parsed result into the floating window, so as to display the target object in the floating window.
[0111] During the time period from when the floating window is created to when it is detected that the user stops pressing the middle mouse button, since the resource manager controls the floating window to be in a selected state, the resource manager can move the floating window to a user-specified position for display in response to the user's movement operation on the floating window.
[0112] In the above example, the resource manager can execute two actions, namely, requesting to obtain the digital resources associated with the target icon and parsing the obtained digital resources associated with the target icon, in response to the first sub-operation; and for other actions except the above actions, the resource manager must respond to the consecutive first sub-operation and the second sub-operation before they can be executed.
[0113] In another optional example, in response to the second sub-operation, a request is made to obtain the digital resource associated with the target icon, and in response to the consecutive first sub-operation and second sub-operation, the floating window is created.
[0114] As a specific example, the first sub-operation includes continuously pressing the left button of the mouse for more than a second preset time period, and the second sub-operation includes clicking the target icon with the left button of the mouse.
[0115] In a specific implementation, if the resource manager first detects that the user continuously presses the left mouse button for more than the second preset time, no response is made. If the resource manager first detects that the user clicks the target icon with the left mouse button, a request can be made to the local / cloud directly to obtain the digital resource associated with the target icon, and the obtained digital resource associated with the target icon is parsed.
[0116] Starting from the time the resource manager detects that the user clicks the target icon with the left mouse button, if the resource manager detects that the user continues to press the left mouse button for more than a second preset time (e.g., 200 milliseconds) within the first preset time (e.g., 30 seconds), the floating window can be directly created.
[0117] The resource manager imports the above-mentioned parsed result into the floating window, so as to display the target object in the floating window.
[0118] During the time period from when the floating window is created to when it is detected that the user stops pressing the left mouse button, since the resource manager controls the floating window to be in a selected state, the resource manager can move the floating window to a user-specified position for display in response to the user's movement operation on the floating window.
[0119] In the above example, the resource manager can execute two actions, namely, requesting to obtain the digital resources associated with the target icon and parsing the obtained digital resources associated with the target icon, in response to the second sub-operation; and for other actions except the above actions, the resource manager must respond to the consecutive first sub-operation and the second sub-operation before they can be executed.
[0120] In another optional example, in response to the consecutive first sub-operation and the second sub-operation, the floating window is created, and a request is made to obtain the digital resource associated with the target icon.
[0121] As a specific example, the first sub-operation includes clicking the target icon with the left button of the mouse, and the second sub-operation includes continuously pressing the middle button of the mouse for more than a second preset time period.
[0122] In a specific implementation, if the resource manager first detects that the user continuously presses the middle button of the mouse for more than the second preset time, no response is made. If the resource manager first detects that the user clicks the target icon with the left button of the mouse, no response is made either.
[0123] When the resource manager detects that the user continuously presses the middle mouse button for more than the second preset time period (for example, 200 milliseconds), from that moment on, if the resource manager detects that the user clicks the target icon with the left mouse button within the first preset time period (for example, 30 seconds), it can directly create the floating window, request the local / cloud to obtain the digital resources associated with the target icon, and further parse the acquired digital resources associated with the target icon, import the parsed results into the floating window, thereby displaying the target object in the floating window.
[0124] During the time period from when the floating window is created to when it is detected that the user stops pressing the middle mouse button, since the resource manager controls the floating window to be in a selected state, the resource manager can move the floating window to a user-specified position for display in response to the user's movement operation on the floating window.
[0125] In the above example, all operations of the resource manager can be executed only in response to the consecutive first sub-operation and the second sub-operation.
[0126] In a specific implementation, each sub-operation is not limited to a single operation, and may include a combination of operations.
[0127] In an optional example, in response to the first sub-operation, a request is made to obtain the digital resource associated with the target icon, and in response to the consecutive first sub-operation and second sub-operation, the floating window is created.
[0128] As a specific example, the first sub-operation includes clicking the left button of the mouse to select the target icon, and the second sub-operation includes pressing the middle button of the mouse and moving a preset distance within a third preset time length.
[0129] In a specific implementation, when the resource manager detects that the user clicks the left mouse button to select the target icon, it can directly request the local / cloud to obtain the digital resources associated with the target icon, and further parse the acquired digital resources associated with the target icon. Starting from the time when the resource manager detects that the user clicks the left mouse button to select the target icon, if the resource manager detects that the user presses the middle mouse button within the first preset time (e.g., 30 seconds), and the mouse cursor moves a preset distance (e.g., 10 pixels) within the third preset time (e.g., 200 milliseconds), the floating window can be directly created. The resource manager imports the above-mentioned parsed results into the floating window, thereby displaying the target object in the floating window.
[0130] During the time period from when the floating window is created to when it is detected that the user stops pressing the middle mouse button, the preset operation has not ended, and the resource manager controls the floating window to be in a selected state. At this time, the resource manager can respond to the user's movement operation on the floating window and move the floating window to the user-specified position for display.
[0131] It can be understood that the specific values of the first preset time length, the second preset time length, the third preset time length and the preset distance are not limited to the values listed above, but can also be other values. The above examples do not constitute any limitation on the actual values of the first preset time length, the second preset time length, the third preset time length and the preset distance.
[0132] In order to display digital resources, the embodiment of the present invention also provides a resource manager suitable for managing digital resources, such as Figure 2 As shown, the resource manager 10 may include: an icon 11 and a processing unit 12, wherein:
[0133] The icon 11 is suitable for associating with a corresponding digital resource;
[0134] The processing unit 12 is suitable for creating a floating window in response to a preset operation, requesting to obtain the digital resources associated with the target icon, parsing the acquired digital resources associated with the target icon, and displaying the target object in the floating window, and before the preset operation ends, controlling the floating window to be in a selected state, and when the floating window is in the selected state, responding to a move operation, moving the floating window to a target position.
[0135] Specifically, the target object may include a digital resource associated with the target icon.
[0136] In a specific implementation, the icon 11 included in the resource manager 10 may be one or more; the icon 11 may include a file icon and a folder icon; the file icon may be associated with videos, pictures or other corresponding digital resources; the folder corresponding to the folder icon may include one or more files, and the digital resource types corresponding to multiple files may be different.
[0137] According to the above embodiment, in response to the user's preset operation on the target icon, the processing unit 12 directly creates the floating window, requests to obtain the digital resource associated with the target icon, and controls the floating window to be in a selected state before the preset operation ends. Before the user's preset operation on the target icon ends, the processing unit 12 can move the floating window to a target position specified by the user in response to the user's move operation on the floating window.
[0138] As can be seen from the above, in the display process based on the resource manager, the user only needs to perform the preset operation on the target icon and move the floating window to realize the display of the target object in the floating window and the display of the floating window at the target position specified by the user. Compared with the prior art, the resource manager does not require the user to find the floating window and perform the selection operation during use, so it can simplify the user operation, thereby improving the human-computer interaction efficiency and user experience.
[0139] In the specific implementation, continue to refer to Figure 2 The processing unit 12 may include: a creation module 121, a request module 122, a parsing module 123, a display module 124 and a control module 125, wherein:
[0140] The creation module 121 is adapted to create a floating window in response to the preset operation;
[0141] The request module 122 is adapted to request to obtain the digital resource corresponding to the target icon in response to the preset operation;
[0142] The parsing module 123 is adapted to parse the digital resource corresponding to the target icon acquired by the requesting module 122, and import the parsing result into the floating window;
[0143] The display module 124 is adapted to process the analysis result of the analysis module 123 and display the target object in the floating window;
[0144] The control module 125 is adapted to control the floating window to be in a selected state before the preset operation ends, and when the floating window is in the selected state, move the floating window to a target position in response to the moving operation.
[0145] In a specific implementation, the resource manager may use the display method in any of the aforementioned embodiments to display the target object. For details, please refer to the aforementioned embodiments, which will not be described in detail here.
[0146] In order to display digital resources, an embodiment of the present invention further provides an electronic device that can be used for human-computer interaction. Figure 3 , the electronic device 20 may include: a memory 21, a processor 22 and a display 23, wherein:
[0147] The memory 21 is suitable for storing a resource manager 211 and digital resources 212;
[0148] The processor 22 is adapted to run the resource manager 211 stored in the memory 21, and execute the method for displaying a target object in any of the above embodiments by running the resource manager 211 to display the target object;
[0149] The display 23 is used to provide a display interface.
[0150] In a specific implementation, the memory includes at least one type of readable storage medium, and the readable storage medium may include a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory may be an internal storage unit of the electronic device, such as a hard disk of the electronic device. In other embodiments, the memory may also be an external storage device of the electronic device, such as a plug-in hard disk equipped on the electronic device, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc.
[0151] In a specific implementation, the processor may be any one or more of a central processing unit (CPU), a controller, a microcontroller, a microprocessor, etc.
[0152] In a specific implementation, the floating window may move on the display interface in response to a user's movement operation. In some optional examples, the display may be used only to provide a display interface; in other optional examples, in addition to providing a display interface, the display also provides human-computer interaction, for example, the display is a touch screen that can provide human-computer interaction by pressing or touching.
[0153] In a specific implementation, the electronic device can be a computer PC, a mobile phone, a tablet device, or any other computer device with a display interface and on which a resource manager-type program can be installed, in which the processor, the memory, and the display are integrated into one, or a cloud platform in which the processor, the memory, and the display are distributed.
[0154] In a specific implementation, the electronic device may support the use of a mouse, a finger, a stylus, or any other interactive operation method.
[0155] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is running, the steps of any one of the target object display methods in the aforementioned embodiments can be executed. For details, please refer to the aforementioned embodiments and will not be repeated here.
[0156] Although the embodiments of this specification are disclosed as above, the invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention, so the protection scope of the invention shall be subject to the scope defined by the claims.
Claims
1. A method for displaying a target object, characterized in that: The display is performed based on a resource manager, wherein the resource manager includes icons suitable for associating corresponding digital resources, and the display method includes: In response to a preset operation, a floating window is created to request to obtain the digital resource associated with the target icon, and before the preset operation ends, the floating window is controlled to be in a selected state; When the floating window is in a selected state, in response to a move operation, moving the floating window to a target position; The acquired digital resources associated with the target icon are parsed, and the target object is displayed in the floating window.
2. The display method according to claim 1, characterized in that: The preset operation includes: a first sub-operation and a second sub-operation that are consecutive, and the response to the preset operation, creating the floating window, and requesting to obtain the digital resource associated with the target icon, includes at least one of the following: In response to the first sub-operation, the floating window is created; in response to the second sub-operation, a request is made to obtain the digital resource associated with the target icon; In response to the first sub-operation, creating the floating window, and in response to the consecutive first sub-operation and second sub-operation, requesting to obtain the digital resource associated with the target icon; In response to the second sub-operation, creating the floating window, and in response to the consecutive first sub-operation and second sub-operation, requesting to obtain the digital resource associated with the target icon; In response to the first sub-operation, requesting to obtain the digital resource associated with the target icon; and in response to the second sub-operation, creating the floating window; In response to the first sub-operation, requesting to obtain the digital resource associated with the target icon, and in response to the consecutive first sub-operation and second sub-operation, creating the floating window; In response to the second sub-operation, requesting to obtain the digital resource associated with the target icon, and in response to the consecutive first sub-operation and second sub-operation, creating the floating window; In response to the consecutive first sub-operation and the second sub-operation, the floating window is created, and a request is made to obtain the digital resource associated with the target icon.
3. The display method according to claim 2, characterized in that: Before it is detected that the subsequent second sub-operation is completed, the floating window is always in the selected state.
4. The display method according to claim 3, characterized in that: The first sub-operation includes: selecting the target icon; The second sub-operation includes at least one of the following: Continuously selecting the target icon exceeds a second preset time period; Press and hold the middle mouse button to move the preset distance within the third preset time.
5. The display method according to claim 2, characterized in that: The creating a floating window in response to a preset operation on the target icon includes at least one of the following: In response to a preset operation on the target icon, creating the floating window with the selected point as the center point of the floating window; In response to a preset operation on the target icon, a top-up is created in the display interface.
6. The display method according to claim 5, characterized in that: Based on the preset setting of the resource manager, the size of the floating window remains fixed, or is adaptively scaled along with the size of the target object.
7. The display method according to claim 1, characterized in that: The icon includes at least one of the following: File icons; Folder icon.
8. A resource manager, suitable for managing digital resources, characterized in that: include: Icons, suitable for associating corresponding digital resources; The processing unit is adapted to create a floating window in response to a preset operation, request to obtain digital resources associated with a target icon, parse the acquired digital resources associated with the target icon, and display the target object in the floating window, and before the preset operation ends, control the floating window to be in a selected state, and when the floating window is in the selected state, respond to a move operation and move the floating window to a target position.
9. An electronic device, characterized in that: The device comprises a memory, a processor and a display, wherein: The memory is suitable for storing the resource manager and the digital resources; The processor is adapted to run the resource manager, wherein the resource manager includes icons adapted to be associated with corresponding digital resources, and the steps of the method according to any one of claims 1 to 7 are executed by running the resource manager to display the target object; The display is suitable for providing a display interface.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program executes the steps of the method according to any one of claims 1 to 7 when running.
