Method and equipment for processing display object
By dividing the display area on the system desktop and selecting the appropriate processing mode, the tedious operation problem of the terminal device when processing display objects is solved, fast and efficient local or remote application processing is achieved, and the user operation process is simplified.
Patent Information
- Application Number
- CN202410620052.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-03
AI Technical Summary
In the existing technology, after the terminal device determines the target display object, it requires additional touch operations to control its remote application processing, which results in a long time.
By dividing the first and second display areas on the system desktop and selecting the processing mode: local application or remote application according to the location of the target display object, user operations are simplified and processing time is shortened.
It realizes the rapid selection of appropriate application processing after determining the target display object, reduces user operation steps, and improves the convenience and processing efficiency of the device.
Smart Images

Figure CN118585099A
Abstract
Description
Technical Field
[0001] The present application relates to the field of touch control technology, and in particular to a method and device for processing a display object. Background Art
[0002] Some terminal devices can communicate with the server and then use the remote application running on the server to process the display object displayed on the system desktop of the terminal device, for example, use the remote application to open the file of the terminal device.
[0003] In the related art, after the terminal device determines the target display object in the system desktop according to the user's operation, the terminal device generally processes the target display object based on the locally installed application by default. For the target display object that needs to be processed based on the remote application, the user needs to further perform other touch operations after determining the target display object to control the terminal device to process the object based on the remote application. Therefore, in the related art, it takes a long time for the terminal device to determine the target display object and use the remote application to process the display object. Summary of the invention
[0004] To this end, this application discloses the following technical solutions:
[0005] A first aspect of the present application provides a method for processing a display object, which is applied to a first device and includes:
[0006] Displaying a system desktop, the system desktop comprising a first display area and a second display area, the first display area comprising a first display object, and the second display area comprising a second display object;
[0007] Determine the target display object for manipulation;
[0008] In the case where the target display object is a first display object located in the first display area, processing the first display object according to a first mode; the first mode is capable of processing the first display object at least based on a local application;
[0009] In a case where the target display object is a second display object located in the second display area, the second display object is processed according to a second mode, and the second mode is capable of processing the second display object at least based on a remote application.
[0010] Optionally, the first mode includes processing the first display object using a remote application;
[0011] In the case where the first display object is processed by the remote application, the processed first display object is moved from the first display area to the second display area to change the processed first display object into a second display object.
[0012] Optionally, when the target display object is a second display object located in the second display area, the target display object is displayed in a first display mode, and other second display objects in the second display area except the target display object are displayed in a second display mode, and the first display mode and the second display mode are different.
[0013] Optionally, the determining of the target display object to be manipulated includes:
[0014] Get the first touch operation;
[0015] When the operation track of the first touch operation is within the second display area, a plurality of second display objects within a target area are determined as the target display objects, and the target area is an area with the operation track of the first touch operation as a boundary.
[0016] Optionally, also include:
[0017] Obtaining a second touch operation on a target second display object in the target area;
[0018] The target second display object is removed from the plurality of second display objects to generate an updated target display object.
[0019] Optionally, also include:
[0020] Get the third touch operation;
[0021] When the operation track of the third touch operation and the operation track of the first touch operation meet a target condition, removing the target display object; or;
[0022] Get the fourth touch operation;
[0023] When the operation track of the fourth touch operation is within the second display area, multiple second display objects within an updated target area are determined as updated target display objects, and the updated target area is an area bounded by the operation track of the fourth touch operation.
[0024] Optionally, also include:
[0025] Obtaining a fifth touch operation on a target first display object in the first display area;
[0026] The target first display object is moved from the first display area to the second display area to change the target first display object to a second display object.
[0027] Optionally, moving the target first display object from the first display area to the second display area includes:
[0028] If the target first display object is a display object that can be processed by the remote application, move the target first display object from the first display area to the second display area;
[0029] Also includes:
[0030] In a case where the target first display object does not belong to the display objects that can be processed by the remote application, the target first display object is displayed in the first display area.
[0031] Optionally, processing the second display object according to the second mode includes:
[0032] In response to the target display object being the second display object located in the second display area, automatically triggering processing of the second display object according to a default remote application;
[0033] or;
[0034] In a case where the target display object is a second display object located in the second display area, displaying application icons of a plurality of remote applications capable of processing the second display object;
[0035] In response to a user selecting a target application icon from the plurality of application icons;
[0036] The second display object is processed based on the remote application corresponding to the target application icon.
[0037] A second aspect of the present application provides an electronic device, including a display and a processor;
[0038] The processor is used to:
[0039] Displaying a system desktop on the display, the system desktop comprising a first display area and a second display area, the first display area comprising a first display object, and the second display area comprising a second display object;
[0040] Determine the target display object for manipulation;
[0041] In the case where the target display object is a first display object located in the first display area, processing the first display object according to a first mode; the first mode is capable of processing the first display object at least based on a local application;
[0042] In a case where the target display object is a second display object located in the second display area, the second display object is processed according to a second mode, and the second mode is capable of processing the second display object at least based on a remote application. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0044] Figure 1 is a flow chart of a method for processing a display object provided by an embodiment of the present application;
[0045] Figure 2 This is a schematic diagram of an interface for determining a target display object provided by an embodiment of the present application;
[0046] Figure 3 This is another schematic diagram of an interface for determining a target display object provided in an embodiment of the present application;
[0047] Figure 4 This is a schematic diagram of an interface for updating a target display object provided in an embodiment of the present application;
[0048] Figure 5 This is a schematic diagram of an interface for removing a target display object provided in an embodiment of the present application;
[0049] Figure 6 This is a schematic diagram of an interface for a mobile target display object provided by an embodiment of the present application;
[0050] Figure 7 This is a schematic diagram of an interface for selecting a remote application and an operation mode provided in an embodiment of the present application;
[0051] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] This embodiment provides a method for processing a display object, which is applied to a first device. Figure 1 , the method may include the following steps.
[0054] S101, displaying a system desktop, where the system desktop includes a first display area and a second display area, where the first display area includes a first display object, and the second display area includes a second display object.
[0055] The system desktop displayed by the first device may be a system desktop of an Android operating system or a system desktop of another operating system.
[0056] The first device may include one or more display screens. In the case of including one display screen, the first device may display the system desktop on the display screen, and divide at least two display areas on the display screen as a first display area and a second display area. For example, the first device may divide the display screen into two upper and lower display areas, with the upper area being the first display area and the lower area being the second display area, or divide the display screen into two left and right display areas, with the left area being the first display area and the right area being the second display area.
[0057] In the case of including multiple display screens, the first device can display the system desktop on each display screen, and determine the display areas of some of the display screens as the first display area, and determine the display areas of other display screens as the second display area. For example, in the case where the first device includes display screen 1 and display screen 2, display screen 1 can be used as the first display area, and display screen 2 can be used as the second display area.
[0058] The display objects displayed on the system desktop may include application icon objects representing application programs, folder objects, and file objects. The file objects may include, but are not limited to, text file objects (such as PDF file objects, word file objects), table file objects (such as Excel file objects), image file objects (such as JPG file objects), audio file objects (such as MP3 file objects), video file objects (such as MP4 file objects), etc.
[0059] S102: Determine a target display object to be manipulated.
[0060] The first device may determine a target display object that currently needs to be manipulated from among various display objects according to the user's touch operation.
[0061] The first device may determine the target display object according to a variety of touch operations, and this embodiment does not limit the touch operation for determining the target display object.
[0062] As an example, the first device may obtain a click touch operation of the user, and determine a display object clicked by the click touch operation as a target display object.
[0063] by Figure 2 For example, if the first device detects Figure 2 The first device may determine that folder 1 is the target display object if the first device detects a click touch operation on the display object "folder 1" shown in (1). Figure 2 By performing a click touch operation on the display object "File 5.txt" shown in (1), the first device can determine that File 5 is the target display object.
[0064] S103: When the target display object is a first display object located in the first display area, process the first display object according to a first mode; the first mode can at least process the first display object based on a local application.
[0065] In S103, if the target display object is an application icon object (eg, Figure 2 "Application 3"), the first device can start a local application corresponding to the application icon object installed locally on the first device.
[0066] If the target display object is a folder object located in the first display area (eg Figure 2 If a “folder 1” is displayed on the first device, the first device can open the folder based on a local file management application and display the files contained in the folder in the first display area.
[0067] If the target display object is a file object located in the first display area, the first device can use a local application that can open the file object to open the file object. Exemplarily, if the target display object is an audio file object located in the first display area, and the local audio playback application of the first device supports the format of the audio file object, the first device uses the local audio playback application to play the audio file object; if the target display object is a text file object located in the first display area, and the local text editing application of the first device supports the format of the text file object, the first device uses the local text editing application to open the text file object and display the text content therein.
[0068] S104: When the target display object is a second display object located in the second display area, process the second display object according to a second mode, where the second mode can at least process the second display object based on a remote application.
[0069] The remote application here is relative to the local application of the first device. Applications from the second device and non-local applications of the first device can be called remote applications. For example, the second device is a local or remote server. The second device can be directly connected to the first device locally or through a relay device. The second device can also be a device connected through the Internet, for example, the second device is a remote server.
[0070] In one embodiment, the first device is communicatively connected to a server, and the remote application may include an application program installed on the server.
[0071] In S104 , the first device may upload the second display object to the server, so as to process the second display object using a remote application installed on the server.
[0072] Processing the second display object based on the remote application may include opening the second display object using the remote application, outputting the content of the file through the output module of the first device, such as displaying the text content of the text file object, playing the audio file object or the video file object, etc.;
[0073] It may also include calling a remote application to process the content of the second display object and generating a corresponding processing result. For example, when the second display object is an image file object, calling a remote image processing application of the server to perform image enhancement processing on the image file object to obtain an enhanced image file object; or, when the second display object is an audio file object, calling a remote audio recognition application of the server to process the audio file object to convert the audio therein into corresponding text.
[0074] The beneficial effects of this embodiment are:
[0075] After determining the target display object, the first device can select a suitable application to process the target display object based on the display area where the target display object is located. If the target display object is located in the first display area, the target display object is processed based on the local application, and if the target display object is located in the second display area, the target display object is processed based on the remote application. Compared with the method of processing the display object based on the local application by default in the related art, this embodiment can simplify the user's operation after determining the target display object, and process the target display object located in the second display area based on the remote application more quickly, thereby shortening the time from determining the target display object to using the remote application to process the display object.
[0076] In some optional embodiments, when the target display object is a second display object located in the second display area, the first device displays the target display object in a first display mode, and displays other second display objects in the second display area except the target display object in a second display mode, and the first display mode and the second display mode are different.
[0077] The first display mode and the second display mode are different, which may include that the background corresponding to the first display mode is different from the background corresponding to the second display mode. Figure 2 For example, in Figure 2 In (1), the first device determines that "File 5.txt" located in the second display area is the target display object according to the user's click touch operation, such as Figure 2 As shown in (2), at this time, the first device can set the area around the target display object to a dark background, and the areas around the second display objects other than the target display object, namely "File 4.doc" and "File 6.pdf", to a light background.
[0078] The first display mode and the second display mode are different, which may also include that the brightness corresponding to the first display mode and the second display mode is different. Figure 2 After "File 5.txt" in (1) is the target display object, "File 5.txt" can be displayed based on higher brightness, and "File 4.doc" and "File 6.pdf" can be displayed based on lower brightness.
[0079] The first display mode and the second display mode are different, and the first display mode and the second display mode may correspond to different frames. Figure 2 In (1), after "File 5.txt" is the target display object, a black border can be displayed around "File 5.txt", while no border is displayed around "File 4.doc" and "File 6.pdf".
[0080] The first display mode and the second display mode are different, and may also include that the first display mode and the second display mode correspond to different colors. For example, the first device may display the file name of the target display object in red, and display the file name of the second display object other than the target display object in black.
[0081] The beneficial effect of this embodiment is that the target display object and other second display objects in the second display area are displayed in different display modes, which can facilitate the user to distinguish which second display objects are the target display objects and which second display objects are not the target display objects, thereby facilitating the user to add, remove or reselect the target display objects, thereby improving the convenience of using the first device.
[0082] In some optional embodiments, processing the first display object according to the first mode may also include processing the first display object using a remote application.
[0083] As some examples, when the target display object is the first display object located in the first display area, the first device can display several processing options for the first display object based on the user's touch operation (which can be a long press touch operation or other touch operations), which may include an option to use a remote application to process the first display object. At this time, the first device can select the option to use the remote application to process the first display object based on the user's operation, and then use the remote application to process the first display object.
[0084] In the case of processing the first display object by using the remote application, the first device may move the processed first display object from the first display area to the second display area to change the processed first display object into the second display object.
[0085] by Figure 2 For example, assume that the target display object is Figure 2 In (1), the first device processes the first display object "File 2.pdf" in the first display area using a remote application according to the user's operation. For example, the document content of "File 2.pdf" is opened and displayed on the first device using the document browsing application of the server. After opening "File 2.pdf" using the document browsing application of the server, the first device can cancel the display of "File 2.pdf" in the first display area and display "File 2.pdf" in the second display area at the same time, thereby moving "File 2.pdf" from the first display area to the second display area. After moving to the second display area, "File 2.pdf" becomes the second display object.
[0086] The beneficial effect of this embodiment is that for a first display object that has been processed by a remote application, when the user again determines that the display object is a target display object, there is a high probability that the display object still needs to be processed by the remote application. Through this embodiment, the first device can automatically move the first display object that has been processed by the remote application to the second display area, making it convenient for the user to use the remote application to process the display object again, and there is no need for the user to manually move the first display object to the second display area, thereby further improving the convenience of using the first device.
[0087] In some optional embodiments, in addition to the click touch operation, the first device may also determine the target display object according to other touch operations.
[0088] For example, when the first device detects a sliding touch operation in the second display area, the first device may determine a target display object according to the sliding touch operation, and the determination may be performed in the following manner:
[0089] Get the first touch operation;
[0090] When the operation track of the first touch operation is within the second display area, a plurality of second display objects within the target area are determined as target display objects, and the target area is an area bounded by the operation track of the first touch operation.
[0091] The first touch operation may be a sliding touch operation. Figure 3 (1) is taken as an example. The operation track of the first touch operation may be a sliding track of a finger (or stylus) used for the touch operation sliding on the screen.
[0092] After obtaining the first touch operation, the first device can first determine whether the operation track of the first touch operation is within the second display area. If the operation track of the first touch operation is entirely within the second display area, the first device can determine a target area based on the operation track.
[0093] If the operation track of the first touch operation is entirely located in the first display area, or only a part of it is located in the second display area, the first device may not use the operation track to determine the target display object. If the operation track of the first touch operation is not closed and the first device is unable to determine the target area with the track as the boundary, the first device may also not use the operation track to determine the target display object.
[0094] After determining a target area with the operation track of the first touch operation as a boundary, the first device identifies second display objects located in the target area, and determines all of the second display objects located in the target area as target display objects.
[0095] by Figure 3 (2) is an example. After determining the target area, the first device finds that "File 4.doc" and "File 5.txt" are located in the target area, and thus determines that "File 4.doc" and "File 5.txt" are target display objects.
[0096] The beneficial effect of this embodiment is that, when multiple target display objects need to be determined, multiple target display objects can be determined according to a single sliding touch operation of the user, which can significantly shorten the time required for determining the target display objects.
[0097] Optionally, after detecting the first touch operation, the first device may press Figure 3 The operation track of the first touch operation may be displayed, or the operation track of the first touch operation may not be displayed. In other embodiments of the present application, each time the first device detects a sliding touch operation, the sliding track of the sliding touch operation may be displayed or not.
[0098] In some optional embodiments, the first device may remove the display object from the determined target display objects according to the user's operation.
[0099] One way to remove it could be:
[0100] Obtaining a second touch operation on a target second display object in the target area;
[0101] The target second display object is removed from the plurality of second display objects to generate an updated target display object.
[0102] The second touch operation may be a sliding touch operation.
[0103] After the first device detects the second touch operation in the second display area, it can determine the second display object surrounded by the operation track of the second touch operation, and determine the second display object as the target second display object. Figure 4 In (1), the first device may determine that the "file 5.txt" surrounded by the operation track of the second touch operation is the target second display object.
[0104] Then, the first device may remove the target second display object from the determined target display objects, that is, no longer regard the target second display object as the target display object, to obtain an updated target display object.
[0105] by Figure 4 (2) is an example. Before obtaining the second touch operation, the first device determines that "File 4.doc" and "File 5.txt" are target display objects. After obtaining the second touch operation, the first device determines that "File 5.txt" is the target second display object, removes "File 5.txt" from the target display objects, and obtains an updated target display object. At this time, the updated target display object only includes "File 4.doc".
[0106] The second touch operation can also be a click touch operation. Figure 4 For example, after the first device determines that "File 4.doc" and "File 5.txt" are target display objects, the user can click on "File 5.txt". Based on the click touch operation, the first device determines that "File 5.txt" is the target second display object, removes "File 5.txt" from the target display objects "File 4.doc" and "File 5.txt", and no longer determines "File 5.txt" as the target display object. At this time, the target display objects only include "File 4.doc".
[0107] The beneficial effect of this embodiment is that when the determined target display objects include a part of target second display objects that do not need to be processed by the remote application this time, the first device can quickly remove these target second display objects that do not need to be processed this time based on the second touch operation without redetermining the target display objects, thereby achieving the effect of quickly updating the target display objects.
[0108] In some optional embodiments, the first device may also remove all determined target display objects according to the user's touch operation.
[0109] In this embodiment, the first device may obtain a third touch operation; and remove the target display object when an operation track of the third touch operation and an operation track of the first touch operation meet a target condition.
[0110] The third touch operation may be a sliding touch operation.
[0111] The operation trajectory of the third touch operation and the operation trajectory of the first touch operation satisfy the target condition, which may include that the operation trajectory of the third touch operation is located in the target area surrounded by the operation trajectory of the first touch operation, and the operation trajectory of the third touch operation has a specific shape, for example, the operation trajectory of the third touch operation is X-shaped.
[0112] like Figure 5 As shown in (1) and (2), after the first device determines that "File 4.doc" and "File 5.txt" in the target area are target display objects, a third touch operation is obtained, and the operation trajectory of the third touch operation is located in the target area, and the operation trajectory of the third touch operation is X-shaped, so the first device removes "File 4.doc" and "File 5.txt" from the target display objects and no longer determines "File 4.doc" and "File 5.txt" as target display objects.
[0113] After removing all target display objects, the first device can re-determine the updated target display object based on the new sliding touch operation, that is, the first device can obtain the fourth touch operation; when the operation track of the fourth touch operation is within the second display area, the multiple second display objects in the updated target area are determined as updated target display objects, and the updated target area is the area with the operation track of the fourth touch operation as its boundary.
[0114] The method of determining the updated target display object based on the fourth touch operation is the same as the method of determining the target display object based on the first touch operation, and will not be described in detail.
[0115] In some further optional embodiments, the first device may also determine the updated target display object directly according to the fourth touch operation after obtaining the fourth touch operation. After the first device determines that the operation track of the fourth touch operation is located within the second display area, it may determine whether the second display object surrounded by the operation track of the fourth touch operation includes other second display objects except the target display object. If the operation track of the fourth touch operation surrounds other second display objects except the target display object, the first device may directly remove the target display object previously determined according to the first touch operation, and determine the second display object surrounded by the operation track of the fourth touch operation as the updated target display object.
[0116] by Figure 4 For example, after the first device determines that "File 4.doc" and "File 5.txt" are target display objects according to the first touch operation, it obtains the fourth touch operation, determines that the operation trajectory of the fourth touch operation is located in the second display area, and the operation trajectory of the fourth touch operation surrounds the second display objects "File 5.txt" and "File 6.pdf", so the first device removes the previously determined target display objects "File 4.doc" and "File 5.txt", and re-determines the second display objects "File 5.txt" and "File 6.pdf" as updated target display objects.
[0117] In some optional embodiments, the first device may move the first display object between the first display area and the second display area according to a touch operation of the user.
[0118] For example, the first device may obtain a fifth touch operation on a target first display object in the first display area; and move the target first display object from the first display area to the second display area to change the target first display object to the second display object.
[0119] See also Figure 6 (1), the first device obtains a fifth touch operation on the target first display object "file 2.pdf", the fifth touch operation is a sliding touch operation, the operation track of the fifth touch operation starts in the first display area and ends in the second display area, such as Figure 6 As shown in (2), the first device can cancel the display of "File 2.pdf" in the first display area and display "File 2.pdf" in the second display area according to the fifth touch operation, thereby moving "File 2.pdf" from the first display area to the second display area, thereby changing "File 2.pdf" from the first display object to the second display object.
[0120] The first device can also obtain a touch operation on the second display object in the second display area, and move the second display object to the first display area to change the second display object to the first display object. The change process is the same as the process of changing the target first display object to the second display object, and will not be repeated.
[0121] In some optional embodiments, after obtaining the fifth touch operation, the first device may decide whether to move the target first display object to the second display area according to whether the remote application can process the display object. That is, when the first device moves the target first display object from the first display area to the second display area, it may:
[0122] If the target first display object is a display object that can be processed by the remote application, move the target first display object from the first display area to the second display area;
[0123] Correspondingly, when the target first display object does not belong to the display objects that can be processed by the remote application, the first device still displays the target first display object in the first display area.
[0124] The first device can communicate with the server to determine which types of display objects the remote application installed on the server can process and which types of display objects cannot be processed. After obtaining the fifth touch operation, if the first device determines that the corresponding target first display object is a display object that the remote application can process, the first device moves it to the second display area in the aforementioned manner. If it is determined that the corresponding target first display object is not a display object that the remote application can process, the first device does not move the target first display object to the second display area. In this case, the first device can display a prompt message, which is used to explain that the currently determined target first display object cannot be processed based on the remote application, such as displaying "The operation is invalid, the object is not an object supported by the remote application."
[0125] Still Figure 6 For example, it is assumed that the application icon object is a display object that the remote application cannot process, and the file object is a display object that the remote application can process.
[0126] If the first device obtains the fifth touch operation on the target first display object “File 2.pdf”, the first device determines that the target first display object is a display object that can be processed by the remote application, and then the first device moves “File 2.pdf” to the second display area.
[0127] If the first device obtains the fifth touch operation on the target first display object "Application 3", the first device determines that the target first display object does not belong to the display objects that can be processed by the remote application, so the first device does not move "Application 3" to the second display area, and continues to display "Application 3" in the first display area.
[0128] When the first device processes the second display object according to the second mode, in response to the target display object being the second display object located in the second display area, the first device may automatically trigger processing of the second display object according to the default remote application.
[0129] In this case, the first device may automatically trigger, according to the type of the target display object, a default remote application corresponding to the type to process the target display object.
[0130] For example, when the target display object is a text file object in the second display area, the first device can automatically trigger the default remote application for processing text file objects to process the text file object; when the target display object is an audio file object in the second display area, the first device can automatically trigger the default remote application for processing audio file objects to process the audio file object.
[0131] In some other optional embodiments, when there are multiple remote applications capable of processing the target display object, the first device may determine a target remote application for processing the target display object among the remote applications according to a user operation, and then process the target display object based on the target remote application.
[0132] That is, when the target display object is a second display object located in the second display area, the first device may:
[0133] displaying application icons of a plurality of remote applications capable of processing the second display object;
[0134] In response to the user selecting a target application icon from a plurality of application icons;
[0135] The second display object is processed based on the remote application corresponding to the target application icon.
[0136] When displaying the application icon, the first device may send a notification to each remote application, where the notification is used to indicate the determined target display object. Figure 7 (1) is an example. The notification sent by the first device may indicate that "file 5.txt" is determined as the target display object. After receiving the notification, the remote application provides the application icon of the remote application to the first device, so that the first device can display these application icons.
[0137] Among them, the first device can send the above notification to each remote application installed on the server, or only send the above notification to the remote applications installed on the server and in an open state, or only send the above notification to the remote applications that are in an open state and can process the target display object. For example, if the target display object is "File 5.txt", the first device only sends the above notification to the remote applications that are in an open state and can process txt file objects.
[0138] by Figure 7 (1) is an example. After determining that "file 5.txt" is the target display object, the first device obtains and displays icon 1 corresponding to remote application 1, icon 2 corresponding to remote application 2, and icon 3 corresponding to remote application 3.
[0139] After the application icons are displayed, the first device can determine the target application icon according to the user's operation, and then process the second display object based on the remote application corresponding to the target application icon. Figure 7 (1) is an example. The first device can obtain the user's click touch operation on icon 3, determine icon 3 as the target application icon, and process "file 5.txt" based on the corresponding remote application 3.
[0140] Optionally, after determining the target remote application, the first device may further display a plurality of operation options, determine the target option among them according to the user's operation, and process the target display object based on the target option and the target remote application.
[0141] by Figure 7 (2) is an example. The first device can display three operation options: "Move", "Copy" and "Cancel". If "Move" is selected, the first device moves file 5.txt to the target remote application for processing. After the move, the first device no longer saves file 5.txt locally. If "Copy" is selected, the first device copies file 5.txt to the target remote application for processing. After the copy, the first device saves a copy of file 5.txt locally, and the target remote application obtains a copy of file 5.txt. If "Cancel" is selected, the first device can cancel the determination of file 5.txt as the target display object, that is, remove file 5.txt from the target display object. At this time, the first device can re-determine a new target display object according to the user's operation.
[0142] The first device may divide the system desktop into a first display area and a second display area each time the system desktop is displayed.
[0143] The first device may also divide the system desktop into a first display area and a second display area when a specific condition is met, and does not distinguish between the first display area and the second display area when the specific condition is not met.
[0144] For example, the first device can display a switch control on the system desktop or on other interfaces of the first device. The switch control can be switched between an on state and an off state according to user operations. When the switch control is in the on state, the first device divides the system desktop into a first display area and a second display area. When the switch control is in the off state, the first device does not divide the system desktop into the first display area and the second display area.
[0145] For another example, when the first device is communicatively connected to a server on which a remote application is installed, the first device divides the system desktop into a first display area and a second display area; when the first device is not communicatively connected to a server on which a remote application is installed, the first device does not divide the system desktop into the first display area and the second display area.
[0146] The present application also provides an electronic device. Figure 8 , the electronic device includes a processor 801 and a display 802.
[0147] The processor 801 is used for:
[0148] Displaying a system desktop on the display 802, the system desktop includes a first display area and a second display area, the first display area includes a first display object, and the second display area includes a second display object;
[0149] Determine the target display object for manipulation;
[0150] In the case where the target display object is a first display object located in the first display area, processing the first display object according to a first mode; the first mode is capable of processing the first display object based on at least a local application;
[0151] In case the target display object is a second display object located in the second display area, the second display object is processed according to the second mode, and the second mode is capable of processing the second display object based on at least the remote application.
[0152] Optionally, the first mode includes processing the first display object using a remote application;
[0153] The processor 801 is further configured to, when the first display object is processed by the remote application, move the processed first display object from the first display area to the second display area to change the processed first display object into the second display object.
[0154] Optionally, the processor 801 is also used to, when the target display object is a second display object located in the second display area, display the target display object in a first display mode, and display other second display objects in the second display area except the target display object in a second display mode, and the first display mode and the second display mode are different.
[0155] Optionally, when the processor 801 determines the target display object to be manipulated, it may be used to:
[0156] Get the first touch operation;
[0157] When the operation track of the first touch operation is within the second display area, a plurality of second display objects within the target area are determined as target display objects, and the target area is an area bounded by the operation track of the first touch operation.
[0158] Optionally, the processor 801 is further configured to:
[0159] Obtaining a second touch operation on a target second display object in the target area;
[0160] The target second display object is removed from the plurality of second display objects to generate an updated target display object.
[0161] Optionally, the processor 801 is further configured to:
[0162] Get the third touch operation;
[0163] When the operation track of the third touch operation and the operation track of the first touch operation meet the target condition, removing the target display object; or;
[0164] Get the fourth touch operation;
[0165] When the operation track of the fourth touch operation is within the second display area, multiple second display objects within the updated target area are determined as updated target display objects, and the updated target area is an area bounded by the operation track of the fourth touch operation.
[0166] Optionally, the processor 801 is further configured to:
[0167] Obtaining a fifth touch operation on a target first display object in the first display area;
[0168] The target first display object is moved from the first display area to the second display area to change the target first display object to the second display object.
[0169] Optionally, when the processor 801 moves the target first display object from the first display area to the second display area, the processor 801 may use:
[0170] If the target first display object is a display object that can be processed by the remote application, move the target first display object from the first display area to the second display area;
[0171] The processor 801 is further configured to:
[0172] In a case where the target first display object does not belong to the display objects that can be processed by the remote application, the target first display object is displayed in the first display area.
[0173] Optionally, when the processor 801 processes the second display object according to the second mode, it can be used to:
[0174] In response to the target display object being the second display object located in the second display area, automatically triggering processing of the second display object according to a default remote application;
[0175] or;
[0176] In a case where the target display object is a second display object located in the second display area, displaying application icons of a plurality of remote applications capable of processing the second display object;
[0177] In response to the user selecting a target application icon from a plurality of application icons;
[0178] The second display object is processed based on the remote application corresponding to the target application icon.
[0179] The working principle of the electronic device of this embodiment can refer to the relevant steps of the method for post-processing a display object provided in the above-mentioned embodiment, which will not be described in detail.
[0180] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0181] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0182] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0183] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0184] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for processing a display object, applied to a first device, comprising: Displaying a system desktop, the system desktop comprising a first display area and a second display area, the first display area comprising a first display object, and the second display area comprising a second display object; Determine the target display object for manipulation; In the case where the target display object is a first display object located in the first display area, processing the first display object according to a first mode; the first mode is capable of processing the first display object at least based on a local application; In a case where the target display object is a second display object located in the second display area, the second display object is processed according to a second mode, and the second mode is capable of processing the second display object at least based on a remote application.
2. The method of claim 1, wherein the first mode comprises processing the first display object using a remote application: In the case where the first display object is processed by the remote application, the processed first display object is moved from the first display area to the second display area to change the processed first display object into a second display object.
3. According to the method described in claim 1, when the target display object is a second display object located in the second display area, the target display object is displayed in a first display mode, and other second display objects in the second display area except the target display object are displayed in a second display mode, and the first display mode and the second display mode are different.
4. The method according to claim 1, wherein determining the target display object to be manipulated comprises: Get the first touch operation; When the operation track of the first touch operation is within the second display area, a plurality of second display objects within a target area are determined as the target display objects, and the target area is an area with the operation track of the first touch operation as a boundary.
5. The method according to claim 4, further comprising: Obtaining a second touch operation on a target second display object in the target area; The target second display object is removed from the plurality of second display objects to generate an updated target display object.
6. The method according to claim 4, further comprising: Get the third touch operation; When the operation track of the third touch operation and the operation track of the first touch operation meet a target condition, removing the target display object; or; Get the fourth touch operation; When the operation track of the fourth touch operation is within the second display area, multiple second display objects within an updated target area are determined as updated target display objects, and the updated target area is an area bounded by the operation track of the fourth touch operation.
7. The method according to claim 1, further comprising: Obtaining a fifth touch operation on a target first display object in the first display area; The target first display object is moved from the first display area to the second display area to change the target first display object to a second display object.
8. The method according to claim 7, wherein moving the target first display object from the first display area to the second display area comprises: If the target first display object is a display object that can be processed by the remote application, move the target first display object from the first display area to the second display area; Also includes: In a case where the target first display object does not belong to the display objects that can be processed by the remote application, the target first display object is displayed in the first display area.
9. The method according to claim 1, wherein processing the second display object according to the second mode comprises: In response to the target display object being the second display object located in the second display area, automatically triggering processing of the second display object according to a default remote application; or; In a case where the target display object is a second display object located in the second display area, displaying application icons of a plurality of remote applications capable of processing the second display object; In response to a user selecting a target application icon from the plurality of application icons; The second display object is processed based on the remote application corresponding to the target application icon.
10. An electronic device comprising a display and a processor; The processor is used to: Displaying a system desktop on the display, the system desktop comprising a first display area and a second display area, the first display area comprising a first display object, and the second display area comprising a second display object; Determine the target display object for manipulation; In the case where the target display object is a first display object located in the first display area, processing the first display object according to a first mode; the first mode is capable of processing the first display object at least based on a local application; In a case where the target display object is a second display object located in the second display area, the second display object is processed according to a second mode, and the second mode is capable of processing the second display object at least based on a remote application.
