Method, apparatus, and electronic device for controlling electronic device

By displaying the target object in the electronic device and responding to its movement to the content carrier for matching, the problem of inflexible and inconvenient function triggering in existing electronic devices is solved, and more flexible and convenient function execution is achieved.

CN119322580BActive Publication Date: 2025-11-04GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310877973.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-17
Publication Date
2025-11-04
Estimated Expiration
2043-07-17

AI Technical Summary

Technical Problem

In existing technologies, the methods for triggering electronic devices to perform functions are not flexible or convenient enough.

Method used

By displaying the target object and responding to its movement to the content carrier, the target information is matched with the content carrier type, and then the operation corresponding to the content carrier category is performed.

Benefits of technology

It enables flexible and convenient triggering of electronic device functions, improving the ease of user operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119322580B_ABST
    Figure CN119322580B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a method and device for controlling an electronic device and the electronic device. The method comprises: displaying a target object comprising target information; and in response to the target object being moved to a content carrier, controlling the electronic device to perform an operation corresponding to a category of the content carrier based on the target object. Thus, the content carrier in the electronic device can be used as an interface for triggering the electronic device to perform a corresponding operation, and in the case that the target information included in the target object moved to the content carrier matches the category of the content carrier, the electronic device can perform a corresponding operation, thereby making the electronic device more flexible and convenient to trigger to perform a corresponding function.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of terminal, more particularly, to a method and apparatus for controlling an electronic device, and an electronic device. BACKGROUND

[0002] With the increasing number of application programs installed in an electronic device, the functions that the electronic device can implement are increasingly rich. For example, the electronic device can search for information in a network and display the information. For another example, the electronic device can play audio and video, etc. However, the related manner of triggering the electronic device to perform a corresponding function is not flexible and convenient enough. SUMMARY

[0003] In view of the above problems, the present application provides a method and apparatus for controlling an electronic device, and an electronic device, to improve the above problems.

[0004] In a first aspect, the present application provides a method for controlling an electronic device, applied to the electronic device, the method comprising: displaying a target object comprising target information; in response to the target object being moved to a content carrier, matching the target information with a type of the content carrier; and in a case where the target information matches the type of the content carrier, performing an operation corresponding to a category of the content carrier.

[0005] In a second aspect, the present application provides an apparatus for controlling an electronic device, running on the electronic device, the apparatus comprising: an object display unit configured to display a target object comprising target information; a matching unit configured to, in response to the target object being moved to a content carrier, match the target information with a type of the content carrier; and a device control unit configured to, in a case where the target information matches the type of the content carrier, perform an operation corresponding to a category of the content carrier.

[0006] In a third aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method described above.

[0007] In a fourth aspect, the present application provides a computer-readable storage medium storing program codes executable by a processor, the computer-readable storage medium comprising stored program codes, wherein the program codes perform the method described above when executed.

[0008] The method, device and electronic device provided in the application can match target information with a content carrier type after displaying a target object including the target information, and control the electronic device to perform an operation corresponding to the category of the content carrier based on the target information matching the category of the content carrier if the target information matches the category of the content carrier. In this way, the content carrier in the electronic device can be used as an interface for triggering the electronic device to perform a corresponding operation, so that the electronic device can perform a corresponding operation if the target information included in the target object moved to the content carrier matches the category of the content carrier, thereby triggering the electronic device to perform a corresponding function more flexibly and conveniently. BRIEF DESCRIPTION OF DRAWINGS

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the application, the drawings needed in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.

[0010] Figure 1 A flowchart of a method for controlling an electronic device according to an embodiment of the application is shown;

[0011] Figure 2 A schematic diagram of a target object in a state of supporting drag in an embodiment of the application is shown;

[0012] Figure 3 A schematic diagram of another target object in a state of supporting drag in an embodiment of the application is shown;

[0013] Figure 4 A schematic diagram of a target object and a content carrier being displayed synchronously in an embodiment of the application is shown;

[0014] Figure 5 A schematic diagram of a target object being dragged in an embodiment of the application is shown;

[0015] Figure 6 A schematic diagram of another target object being dragged in an embodiment of the application is shown;

[0016] Figure 7 A flowchart of a method for controlling an electronic device according to another embodiment of the application is shown;

[0017] Figure 8 A schematic diagram of associated information obtained by an electronic device in an embodiment of the application is shown;

[0018] Figure 9A schematic diagram showing moving a target object to a content carrier in an embodiment of the present application is shown.

[0019] Figure 10 A flow chart of a method for controlling an electronic device in another embodiment of the present application is shown.

[0020] Figure 11 A schematic diagram showing moving another target object to a content carrier in an embodiment of the present application is shown.

[0021] Figure 12 A schematic diagram showing performing an operation corresponding to a content carrier based on a target object in an embodiment of the present application is shown.

[0022] Figure 13 A flow chart of a method for controlling an electronic device in another embodiment of the present application is shown.

[0023] Figure 14 A flow chart of a method for controlling an electronic device in another embodiment of the present application is shown.

[0024] Figure 15 A flow chart of a method for controlling an electronic device in another embodiment of the present application is shown.

[0025] Figure 16 A schematic diagram showing an application interface in a window state in an embodiment of the present application is shown.

[0026] Figure 17 A structural block diagram of an apparatus for controlling an electronic device in an embodiment of the present application is shown.

[0027] Figure 18 A structural block diagram of an electronic device for performing a method for controlling an electronic device according to an embodiment of the present application is shown.

[0028] Figure 19 A storage unit for storing or carrying program codes for implementing a method for controlling an electronic device according to an embodiment of the present application in an embodiment of the present application. DETAILED DESCRIPTION

[0029] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without any creative work fall within the scope of protection of the present application.

[0030] An electronic device can implement a corresponding function based on an application installed thereon, and as the category of the application installed in the electronic device increases, the function that the electronic device can implement is increasingly rich. For example, in a case where the electronic device installs a browser, the electronic device can search for information through the browser and show the search result to a user. For another example, in a case where the electronic device installs an audio play program, the electronic device can play audio through the audio play program. For another example, in a case where the electronic device installs a memo program, the electronic device can record a user's consumption.

[0031] However, the inventors have found in research that the related manner of triggering the electronic device to perform a corresponding function is not flexible and convenient enough. Therefore, the inventors have proposed a method, apparatus, and electronic device for controlling an electronic device, which, after displaying a target object including target information, can match the target information with a content carrier type in response to the target object being moved to the content carrier, and control the electronic device to perform an operation corresponding to the category of the content carrier in a case where the target information matches the category of the content carrier. Thus, by the above manner, the content carrier in the electronic device can be used as an interface for triggering the electronic device to perform a corresponding operation, so that in a case where the target information included in the target object moved to the content carrier matches the category of the content carrier, the electronic device can perform a corresponding operation, thereby triggering the electronic device to perform a corresponding function more flexibly and conveniently.

[0032] Embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0033] Referring to Figure 1 The present application provides a method for controlling an electronic device, applied to an electronic device, the method comprising:

[0034] S110: Display a target object including target information.

[0035] In embodiments of the present application, the target object can be understood as an object that can be moved to trigger the electronic device to perform a corresponding operation. The category of the target object can be various. For example, the target object can be a picture, a text, or an application interface. The target information can include information displayed in the target object when the target object is displayed. It can also include information corresponding to the target object and not displayed.

[0036] Once the target object is displayed, it can be moved. In this embodiment, there are several ways to move the target object. One way is to drag the target object. Another way is to first trigger the target object to enter a movable state, and then touch the target location to automatically move the target object to that location. Optionally, the target object can be triggered to enter a movable state by double-clicking or long-pressing.

[0037] In this method of triggering target object movement by dragging, the target object can be dragged after it is displayed. In some cases, the target object can be dragged directly upon display. In other cases, after the target object is displayed, its state can be switched to a drag-enabled state before dragging can be performed. Optionally, after the target object is displayed, a specified touch operation can be applied to the target object to switch it to a drag-enabled state. After applying this specified touch operation to switch the target object to a drag-enabled state, the touch object applying the specified touch operation (e.g., a stylus or finger) can drag the target object while maintaining contact with the screen.

[0038] For example, taking an image as the target object, such as... Figure 2 As shown, in Figure 2 The application interface 10 shown in the left-hand image displays multiple images, including images P1, P2, P3, P4, P5, and P6. Each of these images can be considered a target object. If a specific touch operation is applied to image P2, image P2 can be switched to... Figure 2 The image on the right shows the floating state (a state that supports dragging). In the floating state, image P2 can be dragged, allowing users to move image P2 to other locations.

[0039] For example, taking the target object as the application interface, such as Figure 3 As shown, in Figure 3 The image on the left shows an application interface 20, which displays payment details for multiple items. If a specific touch operation is performed on application interface 20, application interface 20 can be switched to... Figure 3 The image on the right shows the floating state (a state that supports dragging). In the floating state, the application interface 20 can be dragged. When the application interface 20 is in the drag-enabled state, the interface size can be relatively reduced.

[0040] It should be noted that in the embodiments of the present application, the specified touch operation for switching the target object to a state supporting drag operation can have various implementation manners. Alternatively, the specified touch operation can be a long press operation or a large-area press operation, wherein the long press operation can be a press operation with a press duration greater than a specified duration, and the large-area press operation can be a press operation with a press area greater than a specified area. In addition, the specified touch operation can also be a multi-finger sliding operation. The multi-finger sliding operation can be a two-finger sliding operation or a three-finger sliding operation, etc.

[0041] S120: In response to the target object being moved to the content carrier, matching the target information with the content carrier type.

[0042] In the embodiments of the present application, the content carrier can be understood as a carrier for displaying content. For example, the content carrier can include a card. The content displayed in the content carrier can have various forms, for example, the content displayed in the content carrier can be text, pictures, videos, etc. Alternatively, the content displayed in the content carrier can also be content linked with other objects. The linked objects can be text, pictures, videos or application interfaces. Alternatively, in the case of displaying the content carrier, if the content carrier links to an object and receives a touch operation, the display of the linked object can be triggered. In addition, the content displayed in the content carrier can also be a control for controlling the electronic device. In this case, if a touch operation acting on the control is detected, a corresponding control operation can be triggered. The size of the content carrier can be smaller than the size of the screen.

[0043] In the case where the target object is moved to the content carrier, it indicates that the user expects the electronic device to perform an operation corresponding to the category of the content carrier, and then the electronic device performs the corresponding operation based on the target object moved to the content carrier and the category of the content carrier. In the embodiments of the present application, the content carrier can be understood as a carrier for displaying content. The size of the content carrier can be smaller than the size of the screen.

[0044] In some cases, the target object can be displayed synchronously with the content carrier in the screen. In this case, the target object can be directly moved to the content carrier. For example, in the case where the size of the screen of the electronic device is large, the interface where the target object is located can occupy a part of the screen, and the other part of the screen can be the interface (for example, a desktop) where the content carrier is located. For example, as shown in Figure 4 As shown in the figure, in the case where the size of the screen of the electronic device is large, the application interface 10 where the target object is located and the desktop 30 can be displayed synchronously in the screen, and then the target object can be displayed synchronously with the content carrier 31 in the screen.

[0045] In some other cases, the target object and the content carrier are not displayed in the screen synchronously. In this case, as one way, the interface in which the content carrier is displayed can be triggered when the target object is switched to the state in which the movement is supported, so that the target object can be moved to the content carrier. Alternatively, as another way, the interface in which the content carrier is displayed can be triggered during the movement of the target object, so that the target object can be moved to the content carrier.

[0046] For example, the target object is a picture. In the case that the target object is a picture, the target object can be displayed in a photo album interface or a webpage interface, and the content carrier can be displayed in the desktop of the electronic device. In the case that the electronic device displays the photo album interface or the webpage interface, the desktop can not be displayed. In this case, when the target object is switched to the state in which the movement is supported, the electronic device can cancel displaying the interface (e.g., the photo album interface or the webpage interface) in which the target object is originally displayed, and display the desktop, so that the content carrier in the desktop can be displayed in the screen. Alternatively, the electronic device can cancel displaying the interface in which the target object is originally displayed and display the desktop when the target object is moved to the edge of the screen.

[0047] In this case, the target object being moved to the content carrier can be understood as that the target object and the content carrier have an overlapping area, or the overlapping degree of the target object and the content carrier reaches a target degree. Optionally, the target degree can include that at least half of the area included in the target object overlaps with the content carrier. In addition, the target object being moved to the content carrier can also be understood as that the touch object (e.g., a stylus or a finger) performing the dragging operation of the target object is moved to the content carrier.

[0048] Optionally, if the target information included in the target object includes content required for performing the operation corresponding to the content carrier, it is determined that the target information matches the category of the content carrier.

[0049] Optionally, the target object is determined to be moved to the content carrier in the case that the target object overlaps with the content carrier in the display position, or in the case that the distance between the display position of the target object after the movement and the content carrier is less than a specified threshold.

[0050] S130: In the case that the target information matches the category of the content carrier, the electronic device is controlled based on the target object to perform the operation corresponding to the category of the content carrier.

[0051] In the embodiments of the present application, there can be multiple categories of content carriers, and different categories of content carriers can have different functions. For example, there can be an audio category of content carriers, a news category of content carriers, a video category of content carriers, and an accounting category of content carriers, etc. Among them, the audio category of content carriers can be used for audio playing, the news category of content carriers can be used for displaying news content or the latest news information, the video category of content carriers can be used for displaying recommended videos, and the accounting category of content carriers can be used for displaying the recent consumption situation (for example, the consumption situation in the last month) of the user of the electronic device.

[0052] In the case where there are multiple categories of content carriers, and different categories of content carriers have different functions, when the target object is moved to the content carrier, the corresponding operation is performed in combination with the category of the content carrier and the target object.

[0053] In the embodiments of the present application, the target object can be moved to the content carrier to directly trigger the electronic device to perform the operation corresponding to the category of the content carrier based on the target object. Alternatively, the target object can be moved to the content carrier, and the drag operation acting on the target object ends, and then the electronic device is triggered to perform the operation corresponding to the category of the content carrier based on the target object.

[0054] In addition, it should be noted that in the process of moving the target object, the target object itself can be moved, or a copy object corresponding to the target object can be moved. Among them, in the case of moving the target object itself, the target object will move away from the original display position. For example, as shown in Figure 5 , in Figure 5 the left image, picture 2 is moved itself, as shown in Figure 5 , picture 2 itself will be moved away from the original display position. In the case of moving the copy object corresponding to the target object, the copy object can be understood as an object that is at least partially the same as the display style or display content of the corresponding target object. In this way, in the process of moving the copy object, the target object corresponding to the copy object can remain displayed in the original position. For example, as shown in Figure 6 , in the case of picture P2 as the target object, the copy object corresponding to picture P2 can be moved, and the target object can remain displayed in the original position. Optionally, when the target object is touched by the touch object through the touch operation (for example, the long press operation), the copy object corresponding to the target object is displayed at the touch position of the touch object, and when the touch object is moved while remaining in contact with the screen, the copy object is moved to follow the touch object, so as to realize the movement of the copy object.

[0055] The method for controlling an electronic device provided in the embodiment can match target information included in a target object with a content carrier type after displaying the target object, and control the electronic device to perform an operation corresponding to the category of the content carrier based on the target information matching the category of the content carrier if the target information matches the category of the content carrier. Thus, the content carrier in the electronic device can be used as an interface for triggering the electronic device to perform a corresponding operation in the manner described above. If the target information included in the target object moved to the content carrier matches the category of the content carrier, the electronic device can perform a corresponding operation, thereby triggering the electronic device to perform a corresponding function more flexibly and conveniently.

[0056] Referring to Figure 7 The method for controlling an electronic device provided in the present application is applied to an electronic device, and the method comprises the following steps.

[0057] S210: Displaying a target object including target information.

[0058] S220: Matching the target information with a content carrier type in response to the target object being moved to the content carrier.

[0059] S230: Obtaining an object identifier of the target object if the target information matches the category of the content carrier.

[0060] S240: Controlling the electronic device to perform an operation corresponding to the category of the content carrier based on the object identifier of the target object.

[0061] The object identifier of the target object can be understood as an identifier for representing the content included in the target object. In the embodiments of the present application, the target object can also have multiple categories. Optionally, the target object can be a picture, in which case the object identifier of the target object can be an identifier of an object in the picture. The object can be a person, a plant, an animal, or other objects. Optionally, the target object can be text, in which case the object identifier of the target object can be a keyword in the text included in the target object.

[0062] For different categories of target objects, there can be corresponding ways to obtain the object identifier.

[0063] One approach involves using an image as the target object. Optionally, image content recognition can be performed on the target object to obtain its object identifier. When the target object is an image, image content recognition can identify the names of objects included within the target object, which can then be used as the object identifier. For example, if image content recognition identifies a person within the target object, that person's name can be used as the object identifier. Similarly, if image content recognition identifies a plant within the target object, the plant's name can be used as the object identifier.

[0064] Optionally, when the target object is an image, the electronic device may already have the names of the content included in the target object stored locally. In this case, the names of the content included in the target object stored locally can be directly obtained as the object identifier of the target object. For example, when the electronic device acquires an image, it can add corresponding association information to the image, which can include the names of the content in the image. For example, when a user operates the electronic device to take a picture, the user can manually add corresponding association information to the captured image, which can include the names of the captured content. The electronic device can then associate the association information with the captured image and store it. Alternatively, when the electronic device acquires an image, it can also perform image content recognition to obtain the names of the content included in the image, and then associate the obtained names with the image and store them. In this embodiment, in addition to acquiring images by taking pictures, the electronic device can also acquire images via the network. When the target object moved to the content carrier is an image, the electronic device can query whether there is a name corresponding to the target object locally. If a name corresponding to the target object is found, the name is directly used as the object identifier of the moved target object, thus eliminating the need for real-time image content recognition and improving operation efficiency.

[0065] For example, such as Figure 8 As shown, the electronic device includes images P1, P2, and P3. The associated information for image P1 includes the name "Hu Ge," the associated information for image P2 includes the name "Tiger," and the associated information for image P3 includes the name "Watermelon." In this case, if image P1 is the target object to be moved, then the object identifier for the target object is "Hu Ge"; if image P2 is the target object to be moved, then the object identifier for the target object is "Tiger"; and if image P3 is the target object to be moved, then the object identifier for the target object is "Watermelon."

[0066] As another way, the target object can be text. In this way, keyword extraction can be performed on the text content included in the target object to obtain the keyword as the object identifier. Alternatively, the text included in the target object can be input into the trained neural network model to extract the keyword by the neural network model. For example, if the user moves "I want to eat hot pot" as the target object to the content carrier, the keyword extracted from "I want to eat hot pot" can be hot pot, and then the hot pot can be used as the object identifier of the target object.

[0067] Alternatively, in the case where the target object is text, the extracted keyword can be determined according to the preconfigured rule. For example, if the preconfigured rule is to extract the name of the person as the keyword, then when keyword extraction is performed, the name of the person will be obtained from the target object as the keyword. For another example, if the preconfigured rule is to extract the name of the food as the keyword, then when keyword extraction is performed, the name of the food will be obtained from the target object as the keyword.

[0068] In the case where there can be multiple categories of content carriers, and different categories of content carriers can have different functions, the operations triggered by different content carriers can also be different. Then, based on the object identifier of the target object, the electronic device performs the operation corresponding to the category of the content carrier, which can be understood as the operation corresponding to the category of the content carrier specified by the electronic device is associated with the object identifier of the target object.

[0069] For example, in the case where the content carrier is an audio category content carrier, the corresponding triggered operation can be audio playback. Then, based on the object identifier of the target object, the electronic device performs audio playback, which can be understood as the audio played by the electronic device is associated with the object identifier of the target object. For example, as shown in FIG. 3, Figure 9 For example, as shown in FIG. 3, if the picture P2 is moved to the content carrier 31, and the object identifier of the picture P2 is "Hu Ge", and the content carrier 31 is an audio category content carrier, then the electronic device can play the song sung by "Hu Ge". For another example, if the object identifier is a tiger, and the operation corresponding to the content carrier is to search for a video, then the electronic device can search for a video related to the tiger.

[0070] It should be noted that in some cases, the object identifier corresponding to the target object can be multiple. For example, in the case of a picture, the picture can include a person, a plant, etc. In this case, the object identifier of the target object obtained by the electronic device can include the name of the person and the name of the plant. For another example, in the case of an application interface, the application interface can also include multiple contents. In this case, the electronic device can determine an object identifier from the multiple object identifiers as a target identifier, and then control the electronic device to perform an operation corresponding to the category of the content carrier based on the target identifier.

[0071] Optionally, the electronic device can randomly select an object identifier from the multiple object identifiers corresponding to the target object as the target identifier. Optionally, the electronic device can display inquiry information to inquire the object identifier required by the user, and then select the object identifier selected by the user as the target identifier. Optionally, the electronic device can also determine the target identifier from the multiple object identifiers in combination with the actual situation.

[0072] As one way, the electronic device can determine an object identifier matching the user's preference from the multiple object identifiers as the target identifier. For example, the user's preference recorded by the electronic device is that the user prefers a person. Then in the case of multiple object identifiers, the object identifier corresponding to the person can be selected as the target identifier. For another example, the user's preference recorded by the electronic device is that the user prefers a female singer. Then in the case of multiple object identifiers, the object identifier corresponding to the female singer can be selected as the target identifier. In this way, if there is no object identifier matching the user's preference in the multiple object identifiers, an object identifier can also be randomly selected as the target identifier. The electronic device can determine the user's preference according to the user's historical access information, which can include pictures, news information, etc. viewed by the user. Alternatively, the electronic device can also obtain the user's preference from a third-party platform that can provide a user portrait.

[0073] As another way, the electronic device can also determine an object identifier matching the location of the user from the multiple object identifiers as the target identifier. For example, if the current location of the user is a zoo, the object identifier related to animals in the multiple object identifiers can be selected as the target identifier. For another example, if the current location of the user is a shopping mall, the object identifier related to goods in the multiple object identifiers can be selected as the target identifier. In this way, if there is no object identifier matching the location of the user in the multiple object identifiers, an object identifier can also be randomly selected as the target identifier. The electronic device can locate the electronic device, and then take the location result of the electronic device as the location of the user.

[0074] The method for controlling an electronic device provided in this embodiment can, after displaying a target object including target information, respond to the target object being moved to a content carrier, acquire an object identifier of the target object, and then control the electronic device to perform an operation corresponding to the category of the content carrier based on the object identifier of the target object, thereby more flexibly and conveniently triggering the electronic device to perform a corresponding function. In this embodiment, in the case where the target object is content such as a picture or text, there can be different ways of acquiring the object identifier. Furthermore, in this embodiment, in the case where the target object has multiple object identifiers, one target identifier can also be determined from the multiple object identifiers according to multiple ways, thereby improving the flexibility of the method for controlling an electronic device provided in this embodiment.

[0075] Please refer to Figure 10 The method for controlling an electronic device provided in this embodiment is applied to an electronic device, and the method comprises:

[0076] S310: Display a target object including target information.

[0077] S320: In response to the target object being moved to a content carrier, match the target information with the content carrier type.

[0078] S330: In the case where the target information matches the category of the content carrier, acquire specified content in the target object from the target information.

[0079] S340: Control the electronic device to perform an operation corresponding to the category of the content carrier based on the specified content in the target object.

[0080] In this embodiment, the specified content can be understood as part of the target information included in the target object, and the specified content can be understood as content required when performing an operation corresponding to the content carrier. For different categories of content carriers, the acquired specified content can be different. For example, for a content carrier of the accounting category, the specified content can be the consumption amount. For example, for a content carrier of the news category, the specified content can be a keyword. For example, for a content carrier of the audio category, the specified content can be the name of a song or the name of a singer.

[0081] As one way, in the case where the target object is an application interface, a screenshot operation can be performed on the target object to acquire corresponding screenshot content. The screenshot content can include the target information of the target object. Then, the screenshot content is subjected to picture content acquisition to acquire the specified content in the target object. In response to the target object being moved to the content carrier, the category of the content carrier can be acquired, and then the specified content corresponding to the category of the content carrier can be acquired from the content displayed by the target object.

[0082] For example, please refer to Figure 11 and Figure 12 ,like Figure 11 The image on the left shows content carrier 40 with accounting categories. For example... Figure 11 As shown in the right-hand image, if the target object moved to content carrier 40 is application interface 20, and application interface 20 includes the consumption amount (specified content) required for the content carrier of the accounting category, then the accounting operation corresponding to content carrier 40 can be executed based on the consumption amount displayed in application interface 20. After the accounting operation is executed, the data displayed on content carrier 40 can be updated. Figure 12 The situation shown in the figure.

[0083] This embodiment provides a method for controlling an electronic device. After displaying a target object including target information, the method can respond to the target object being moved to a content carrier by acquiring the display content in the target object and then controlling the electronic device to perform an operation corresponding to the category of the content carrier based on the display content in the target object. This allows for more flexible and convenient triggering of the electronic device to perform the corresponding function.

[0084] Please see Figure 13 This application provides a method for controlling an electronic device, applied to the electronic device, the method comprising:

[0085] S410: Displays the content carrier in response to a specified operation.

[0086] The specified operation can be understood as an operation used to trigger the display of content carriers. In the embodiments of this application, the specified operation can have various implementations.

[0087] One approach is to specify an operation that moves the application interface to a specified location. For example, the application interface can be moved to a specified location by dragging. In this approach, in response to moving the application interface to the specified location, a content carrier can be displayed, wherein the type of the displayed content carrier corresponds to the moved application interface. The specified location can be in various ways; for example, it can be the top or bottom of the screen.

[0088] The category of the displayed content carrier corresponds to the application interface being moved. This can be understood as determining the category of the generated content carrier based on the attributes of the application interface being moved. This attribute can be the category of the application to which the application interface belongs, or it can be the content displayed in the application interface.

[0089] Optionally, the displaying the content carrier in response to the moving the application interface to the specified position can include: in response to the moving the application interface to the specified position, obtaining an application program to which the moved application interface belongs, and displaying the content carrier based on a category of the application program. It should be noted that there can be multiple application programs in the electronic device, and the operations that can be performed by different categories of application programs can be different. Therefore, in the process of triggering the generation of the content carrier by moving the application interface, the category of the generated content carrier is determined based on the category of the application program to which the application interface belongs, which is beneficial to more accurately generating the content carrier of the category currently required by the user.

[0090] For example, if the application program to which the application interface moved to the specified position belongs is an application program for audio playing, the electronic device can infer that the user currently needs an audio playing function, and then generate a content carrier of an audio category. For another example, if the application program to which the application interface moved to the specified position belongs is an application program for displaying information, the electronic device can infer that the user currently needs an information display function, and then generate a content carrier of an information category.

[0091] In the electronic device, a corresponding relationship between the names of the application programs and the categories of the application programs can be stored. In this case, after obtaining the application program to which the moved application interface belongs, the category of the application program can be determined according to the name of the application program and the corresponding relationship between the names of the application programs and the categories of the application programs. For example, the corresponding relationship between the names of the application programs and the categories of the application programs can be as shown in the following table:

[0092] ID Name Category 1 Application Al Audio playing category 2 Application A2 Video playing category 3 Application A3 News category

[0093] As shown in the above table, if the application program to which the moved application interface belongs is the application program A2, the category of the generated content carrier can be a video playing category. If the application program to which the moved application interface belongs is the application program A3, the category of the generated content carrier can be a news category.

[0094] Optionally, the displaying the content carrier in response to the moving the application interface to the specified position can include: in response to the moving the application interface to the specified position, obtaining content displayed in the moved application interface, and displaying the content carrier based on the displayed content. It should be noted that the displayed content can be different for different application interfaces. Moreover, even for different application interfaces belonging to the same application program, the displayed content can be different. In this case, the category of the generated content carrier is determined according to the displayed content in the moved application interface, which can improve the accuracy of the category of the generated content carrier meeting the user's needs.

[0095] For example, for an application program of instant chat type, it can include an application interface for displaying information, or can include an application interface for playing a video. If the user moves the application interface for playing a video to a specified position, the user can expect to generate a content carrier of a video type, but if the content carrier is generated directly based on the instant chat type, the user's needs can not be met.

[0096] As another way, the specified operation can include an operation of searching for target content. In this way, the content carrier corresponding to the target content can be generated in response to the search for the target content. It should be noted that when the user searches for the target content, the user can expect to understand information related to the searched target content, and the category of the generated content carrier can be determined according to the target content searched by the user, which can improve the accuracy of the category of the generated content carrier meeting the user's needs.

[0097] It should be noted that after the display of the content carrier is triggered by the specified operation, the content carrier can always remain in the display state. For example, after the electronic device is restarted, the content carrier can be automatically displayed.

[0098] S420: Display a target object including target information.

[0099] S430: In response to the target object being moved to the content carrier, match the target information with the content carrier type.

[0100] S440: In the case where the target information matches the content carrier type, perform an operation corresponding to the content carrier type.

[0101] The method for controlling an electronic device provided in this embodiment, so that the content carrier in the electronic device can be used as an interface for triggering the electronic device to perform a corresponding operation, so that in the case where the target information included in the target object moved to the content carrier matches the content carrier type, the electronic device can perform a corresponding operation, thereby triggering the electronic device to perform a corresponding function more flexibly and conveniently. In this embodiment, the corresponding content carrier can be generated by searching for target content or by moving the application interface to a specified position, thereby realizing a flexible and diverse content carrier generation method and improving user experience.

[0102] Please refer to Figure 14 The method for controlling an electronic device provided in this embodiment is applied to an electronic device, and the method comprises:

[0103] S510: Display a target object including target information.

[0104] S520: In response to the target object being moved to the content carrier, detecting whether the target information matches the category of the content carrier.

[0105] In the embodiments of the present application, whether the target information matches the category of the content carrier can be detected in various ways. Wherein, whether the target information matches the category of the content carrier can also be understood as whether the target object matches the content carrier.

[0106] As a way, the operation corresponding to each content carrier can correspond to a required parameter, so that when the operation corresponding to the content carrier is executed, the execution of the operation can be based on the required parameter. For example, the operation corresponding to the content carrier of the audio category can include playing music, wherein the required parameter corresponding to playing music can include the name of the music, the name of the singer, etc. For another example, the operation corresponding to the content carrier of the accounting category can include accounting the consumption amount, and the required parameter corresponding to accounting the consumption amount can include the consumption amount, etc. In this way, if the required parameter of the operation corresponding to the content carrier can be obtained from the content included in the target object, it can be determined that the target object matches the category of the content carrier, otherwise, it can be determined that the target object does not match the category of the content carrier. Wherein, the content included in the target object can include the content displayed in the target object, or can include the content associated with the target object.

[0107] For example, if the content carrier to which the target object is moved is the content carrier of the audio category, and the name of the singer can be obtained from the target information included in the target object, or the name of the music can be obtained, it is determined that the target information matches the category of the content carrier, otherwise, it is determined that the target information does not match the category of the content carrier. For another example, if the content carrier to which the target object is moved is the content carrier of the accounting category, and the consumption amount can be obtained from the target information included in the target object, it is determined that the target object matches the category of the content carrier, otherwise, it is determined that the target object does not match the category of the content carrier.

[0108] As another way, if the category of the target object is the same as the category to which the content carrier is adapted, it is determined that the target object (target information) matches the category of the content carrier. It should be noted that in the embodiments of the present application, the target object can also have a corresponding category. For example, the category corresponding to the target object can be text, picture, and application interface, etc. In this way, when the target object is moved to the content carrier, it can be compared whether the category of the target object is the same as the category to which the content carrier is adapted. If they are the same, it is determined that the target object (target information) matches the category of the content carrier, otherwise, it is determined that the target object does not match the category of the content carrier. For example, if the category to which the content carrier is adapted is a picture, and the category of the target object is an application interface, it is determined that the target object does not match the category of the content carrier.

[0109] S530: If the target information matches the category of the content carrier, the electronic device is controlled based on the target object to perform an operation corresponding to the category of the content carrier.

[0110] S540: If the target object does not match the category of the content carrier, the content carrier is displayed, and the category of the displayed content carrier matches the target information.

[0111] It should be noted that in some cases, the user can not know which category of the target object matches which category of the content carrier. Therefore, it can happen that the category of the target object does not match the category of the content carrier to which the target object is moved. For example, the user can move a picture of a star to a content carrier of the accounting category, or can also move an application interface with content of consumption amount to a card of the audio category. In this case, as one way, the electronic device can directly generate a content carrier corresponding to the moved target object, so that in the case that the category of the target object moved by the user does not match the category of the content carrier, the content carrier corresponding to the moved target object can be automatically generated, avoiding the user triggering the generation of the content carrier corresponding to the moved target object through manual operation again.

[0112] For example, in the case that the target object is moved to the content carrier, and the category of the target object is a picture and the category of the content carrier is an accounting category, a content carrier with a category matching the picture can be generated.

[0113] As one way, in the case that the category of the target object does not match the category of the content carrier, a prompt information can be first triggered to be displayed. The content of the prompt information can be to ask the user whether to establish a content carrier matching the moved target object. If the user selects to establish, the electronic device generates a content carrier with a category matching the target object. If the user selects not to establish, the electronic device does not generate a content carrier matching the target object.

[0114] The method for controlling an electronic device provided in this embodiment makes it possible to use the content carrier in the electronic device as an interface for triggering the electronic device to perform a corresponding operation in the manner described above, so that the electronic device can be triggered to perform a corresponding operation when the target information included in the target object moved to the content carrier matches the category of the content carrier, thereby making it possible to more flexibly and conveniently trigger the electronic device to perform a corresponding function. In this embodiment, when the target object is dragged to the content carrier, the category of the target object is first detected to see whether it matches the category of the content carrier, and then different operations can be performed according to the detection result, thereby further improving the compatibility and intelligence of the method for controlling an electronic device provided in this embodiment.

[0115] It should be noted that the categories of the target objects and the categories of the content carriers listed in this embodiment are exemplary. For example, in this embodiment, the content carrier can also be a content carrier of a shopping category, or a content carrier of a logistics information category, or a content carrier of a focus category, or a content carrier of a learning category. In the content carrier of the shopping category, price information of an object can be displayed, and the operation corresponding to the content carrier of the shopping category can include triggering display of price information of an object included in the target object including the target information, or directly triggering display of order information of an object included in the target object including the target information. In the content carrier of the logistics information category, the current shipping status of an order can be displayed. In the content carrier of the focus category, real-time and latest information about an object or a person that the user is interested in can be displayed. In the content carrier of the learning category, learning information about a certain content (for example, a certain knowledge point or a word) can be displayed.

[0116] Please refer to Figure 15 The method for controlling an electronic device provided in this embodiment is applied to an electronic device, and the method comprises the following steps.

[0117] S610: Display a target object including target information in an application interface in a window state.

[0118] In this embodiment, the application interface can correspond to a full-screen state and a window state. In the full-screen state, the application interface can occupy the entire display area of the screen. In the window state, the application interface can occupy part of the display area of the screen. In the window state, the size of the application interface is also smaller than the size of the screen.

[0119] One method is to trigger the display of the application interface in windowed mode via the sidebar. In this method, application information can be displayed in the sidebar; a click on this application information will then display the corresponding application interface in windowed mode on the screen. This application information can be the application icon or the application name.

[0120] Alternatively, when the application interface is displayed in the task switching interface, each application interface can have a corresponding operation menu. This menu can contain designated controls that can be used to trigger the corresponding application interface, which is then displayed as a window on the screen. The task switching interface can display thumbnails of at least one application interface.

[0121] S620: In response to the target object being moved to the content carrier, match the target information with the content carrier type.

[0122] S630: If the target information matches the content carrier category, perform the operation corresponding to the content carrier category.

[0123] For example, such as Figure 16 As shown, in Figure 16 When the application interface 10 shown in the left image is in full-screen mode, the application interface 10 can be switched to full-screen mode. Figure 16 The image on the right shows the window state. When the application interface 10 is in window state, the area of ​​the screen that the application interface 10 can occupy is reduced, thereby allowing the application interface 10 and the content carrier 31 displayed on the desktop to be displayed synchronously on the screen. In this case, the user can directly move the image displayed on the application interface 10 to the content carrier 31.

[0124] This embodiment provides a method for controlling an electronic device. By using the aforementioned method, the content carrier within the electronic device can be used as an interface to trigger corresponding operations. When the target information of a target object moved to the content carrier matches the category of the content carrier, the electronic device can perform the corresponding operation, thus triggering the electronic device to execute corresponding functions more flexibly and conveniently. Furthermore, in this embodiment, the application interface where the target object is located can be switched to a windowed state, allowing the target object and the content carrier on the desktop to be displayed synchronously on the screen, making it easier for the user to move the target object to the content carrier.

[0125] Please see Figure 17 This application provides a device 600 for controlling electronic equipment, which operates on the electronic equipment. The device 600 includes:

[0126] The object display unit 610 is configured to display a target object including target information.

[0127] The matching unit 620 is configured to match the target information with a content carrier type in response to the target object being moved to the content carrier.

[0128] The device control unit 630 is configured to perform an operation corresponding to the category of the content carrier in a case where the target information matches the category of the content carrier.

[0129] As one way, the device control unit 630 is specifically configured to acquire an object identifier of the target object, and control the electronic device to perform the operation corresponding to the category of the content carrier based on the object identifier of the target object.

[0130] Optionally, the target object is a picture. The device control unit 630 is specifically configured to perform picture content recognition on the target object to acquire the object identifier of the target object.

[0131] As one way, the device control unit 630 is specifically configured to acquire specified content in the target object from the target information, and control the electronic device to perform the operation corresponding to the category of the content carrier based on the specified content in the target object.

[0132] Optionally, the target object is an application interface. The device control unit 630 is specifically configured to perform a screenshot operation on the target object to acquire corresponding screenshot content, and perform picture content acquisition on the screenshot content to acquire the specified content in the target object.

[0133] As one way, the apparatus 600 further includes:

[0134] The content carrier generation unit is configured to display a content carrier in response to a specified operation.

[0135] Optionally, the content carrier generation unit is specifically configured to display the content carrier in response to moving the application interface to a specified position, where the generated content carrier corresponds to the moved application interface in category; or generate and display the content carrier in response to searching for target content, where the generated content carrier corresponds to the target content.

[0136] Optionally, the content carrier generation unit is specifically configured to acquire an application program to which the moved application interface belongs based on the category of the application program, and display the content carrier in response to moving the application interface to the specified position; or acquire content displayed in the moved application interface, and display the content carrier based on the displayed content in response to moving the application interface to the specified position.

[0137] As a manner, the device control unit 630 detects whether the target object matches the category of the content carrier in response to the target object being moved to the content carrier; if the target object matches the category of the content carrier, controls the electronic device to perform an operation corresponding to the category of the content carrier based on the target object. If the category of the target object is the same as the category adapted by the content carrier, it is determined that the target object matches the category of the content carrier. Or if there is content required to perform the operation corresponding to the content carrier in the content included in the target object, it is determined that the target object matches the category of the content carrier. If the target object does not match the category of the content carrier, the content carrier is displayed, and the category of the generated content carrier matches the target object.

[0138] The device for controlling an electronic device provided in the embodiment can match target information with a content carrier type after displaying a target object including the target information, and control the electronic device to perform an operation corresponding to the category of the content carrier based on the target object in the case that the target information matches the category of the content carrier. Thus, the content carrier in the electronic device can be used as an interface for triggering the electronic device to perform a corresponding operation, and the electronic device can perform a corresponding operation in the case that the target information included in the target object moved to the content carrier matches the category of the content carrier, so that the electronic device is triggered to perform a corresponding function more flexibly and conveniently.

[0139] It should be noted that the device embodiments in the present application correspond to the foregoing method embodiments, and the specific implementation principles of each unit in the device embodiments are similar to those in the foregoing method embodiments. The specific content in the device embodiments can be referred to the method embodiments, and will not be described herein.

[0140] The above will be described in detail below. Figure 18 An electronic device provided in the present application will be described.

[0141] Please refer to Figure 18 Based on the foregoing method and device for controlling an electronic device, the present embodiment further provides an electronic device 1000 which can perform the foregoing method for controlling an electronic device. The electronic device 1000 includes one or more (only one is shown in the figure) processors 105, a memory 104, an audio playing module 106, and an audio acquisition device 108 which are coupled to each other. The memory 104 stores programs which can perform the content in the foregoing embodiments, and the processor 105 can execute the programs stored in the memory 104.

[0142] The processor 105 can include one or more processing cores. The processor 105 connects various parts within the electronic device 1000 with various interfaces and lines, performs various functions of the electronic device 1000 and processes data by running or executing instructions, programs, code sets, or instruction sets stored in the memory 104 and calling data stored in the memory 104. Alternatively, the processor 105 can be implemented in at least one of a hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), a programmable logic array (PLA). The processor 105 can integrate a combination of one or several of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes an operating system, a user interface, and an application program; the GPU is responsible for rendering and drawing display content; and the modem is used for processing wireless communication. It can be understood that the above-mentioned modem can also not be integrated into the processor 105, but be implemented by a separate communication chip.

[0143] The memory 104 can include a random access memory (RAM) and can also include a read-only memory (ROM). The memory 104 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 104 can include a program storage area and a data storage area, wherein the program storage area can store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing each of the methods described below, etc.

[0144] Furthermore, in addition to the above-mentioned devices, the electronic device 1000 can further include a network module 110 and a sensor module 112.

[0145] The network module 110 is configured to realize information interaction between the electronic device 1000 and other devices. For example, the network module 110 can establish a connection with other audio playback devices or other electronic devices, and perform information interaction based on the established connection. As one way, the network module 110 of the electronic device 1000 is a radio frequency module configured to receive and send electromagnetic waves, realize mutual conversion between electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The radio frequency module can include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption / decryption chip, a subscriber identity module (SIM) card, a memory, and the like. For example, the radio frequency module can interact with external devices through transmitted or received electromagnetic waves.

[0146] The sensor module 112 can include at least one sensor. Specifically, the sensor module 112 can include, but is not limited to, a pressure sensor, a motion sensor, an acceleration sensor, and other sensors.

[0147] The pressure sensor can detect a pressure generated by pressing the electronic device 1000. That is, the pressure sensor detects a pressure generated by contact or pressing between a user and the electronic device 1000, for example, a pressure generated by contact or pressing between the user's ear and the electronic device 1000. Thus, the pressure sensor can be used to determine whether contact or pressing occurs between the user and the electronic device 1000, and the magnitude of the pressure.

[0148] The acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and when at rest, can detect the magnitude and direction of gravity, and can be used for applications that identify the posture of the electronic device 1000 (such as switching between landscape and portrait screens, related games, magnetometer posture calibration), vibration recognition related functions (such as a pedometer, tapping), and the like. In addition, the electronic device 1000 can also be configured with a gyroscope, a barometer, a hygrometer, a thermometer, and other sensors, which are not described here.

[0149] The audio acquisition device 108 is configured to acquire an audio signal. Optionally, the audio acquisition device 108 includes a plurality of audio acquisition devices, which can be microphones.

[0150] Please refer to Figure 19 which shows a structural block diagram of a computer readable storage medium provided by an embodiment of the present application. The computer readable medium 1100 stores program code, which can be called by a processor to execute the methods described in the above method embodiments.

[0151] The computer-readable storage medium 1100 can be an electronic, magnetic, optical, or other storage device capable of storing data. The computer-readable storage medium 1100 can also be non-transitory computer-readable storage medium. The computer-readable storage medium 1100 can have stored thereon the program code 1110 for execution by the computer 1102. The program code 1110 can include the program code 1110 for implementing any of the methods described above. The program code 1110 can be written in any of a number of suitable programming languages and can be executed by the computer 1102.

[0152] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the description of the specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Also, the specific features, structures, materials or characteristics described can be combined in any suitable manner in one or more embodiments or examples. In addition, the person skilled in the art can combine and combine the different embodiments or examples described in the specification and the features of the different embodiments or examples, without contradiction.

[0153] In addition, the terms "first", "second" are only for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise specifically limited.

[0154] Any process or method descriptions or descriptions of the flow diagrams in the specification or elsewhere in this document can be understood as representing the steps of the code of the modules, segments or portions of the code for implementing specific logic functions or steps, and the scope of the preferred embodiments of the present application includes additional implementation in which the steps are performed in different order, including essentially simultaneously, or in reverse order, depending on the functionality involved, as will be understood by those skilled in the art of the embodiments of the present application.

[0155] The logic and / or steps represented in the flow diagrams or otherwise described herein, for example, can be considered as a sequence of executable instructions, and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions, or a combination thereof.

[0156] It should be understood that portions of the application can be implemented in hardware, software, firmware, or combinations thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, and in another embodiment, can be implemented using any or a combination of the following technologies, which are all well known in the art: a discrete logic circuit having logic gates for implementing logic functions upon data signals, an application specific integrated circuit having appropriate combinational logic gates, a programmable gate array (PGA), a field programmable gate array (FPGA), or the like.

[0157] In summary, the method for controlling an electronic device, the device and the electronic device provided by the present application can match the target information with the content carrier type after displaying the target object including the target information, and control the electronic device to perform an operation corresponding to the category of the content carrier based on the target object being moved to the content carrier, if the target information matches the category of the content carrier. Thus, the content carrier in the electronic device can be used as an interface for triggering the electronic device to perform a corresponding operation, so that the electronic device can perform a corresponding operation if the target information included in the target object moved to the content carrier matches the category of the content carrier, thereby triggering the electronic device to perform a corresponding function more flexibly and conveniently.

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

Claims

1. A method for controlling an electronic device, characterized in that, Applied to electronic devices, the method includes: Displays the target object, including target information; In response to the target object being moved to the content carrier, the target information is matched with the content carrier type; If the target information matches the content carrier category, the operation corresponding to the content carrier category is performed.

2. The method according to claim 1, characterized in that, The operation corresponding to the category of the content carrier includes: Obtain the object identifier of the target object; Based on the object identifier of the target object, the electronic device is controlled to perform operations corresponding to the category of the content carrier.

3. The method according to claim 2, characterized in that, The target object is an image, and obtaining the object identifier of the target object includes: Perform image content recognition on the target object to obtain the object identifier of the target object.

4. The method according to claim 1, characterized in that, The operation corresponding to the category of the content carrier includes: Obtain the specified content from the target object from the target information; Based on the specified content in the target object, the electronic device is controlled to perform operations corresponding to the category of the content carrier.

5. The method according to claim 4, characterized in that, The target object is an application interface, and obtaining the specified content from the target object from the target information includes: Perform a screenshot operation on the target object to obtain the corresponding screenshot content; The screenshot content is processed to obtain the specified content from the target object.

6. The method according to claim 1, characterized in that, The target object whose display includes target information includes: Display the target object, including target information, in the application interface that is in windowed state.

7. The method according to claim 1, characterized in that, The display of the target object, which includes the target information, also includes: Display the content carrier in response to the specified operation.

8. The method according to claim 7, characterized in that, The content carrier displayed in response to the specified operation includes: In response to dragging the application interface to a specified location, a content carrier is displayed, wherein the category of the displayed content carrier corresponds to the dragged application interface; or In response to a search for target content, a content carrier is generated and displayed, wherein the displayed content carrier corresponds to the target content.

9. The method according to claim 8, characterized in that, The response to dragging the application interface to a specified location and displaying the content carrier includes: In response to dragging an application interface to a specified location, the system retrieves the application to which the dragged interface belongs and displays the content carrier based on the application's category; or In response to dragging the application interface to a specified location, the content displayed in the dragged application interface is obtained, and a content carrier is displayed based on the displayed content.

10. The method according to claim 1, characterized in that, The method further includes: If the target information included in the target object contains content required to perform the operation corresponding to the content carrier, then the target information is determined to match the category of the content carrier.

11. The method according to claim 10, characterized in that, The method further includes: If the target information does not match the category of the content carrier, the content carrier is displayed, wherein the category of the displayed content carrier matches the target information.

12. The method according to claim 1, characterized in that, The step of responding to the target object being moved to the content carrier by matching the target information with the content carrier type includes: In response to the target object being moved to the content carrier and the drag operation on the target object ending, the target information is matched with the content carrier type.

13. The method according to claim 1, characterized in that, In response to the target object being moved to a content carrier, the target information is matched with the content carrier type, including: If the target object is moved to overlap with the display position of the content carrier, or if the distance between the display position of the target object after it has been moved and the content carrier is less than a specified threshold, the target information is matched with the content carrier type.

14. A device for controlling electronic equipment, characterized in that, Operating in an electronic device, the device includes: The object display unit is used to display the target object, including target information. A matching unit is configured to match the target information with the content carrier type in response to the target object being moved to the content carrier. The device control unit is configured to perform an operation corresponding to the category of the content carrier when the target information matches the category of the content carrier.

15. An electronic device, characterized in that, Includes one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the method of any one of claims 1-13.

16. A computer-readable storage medium storing processor-executable program code, characterized in that, The computer-readable storage medium includes stored program code, wherein the method of any one of claims 1-13 is executed when the program code is run.

Citation Information

Patent Citations

  • Communication triggering method and device

    CN107765946A

  • Data content processing method and device, terminal and storage medium

    CN113360226A