Equipment control method and device and electronic equipment
By matching the target object and the content carrier on the electronic device, and using the movement of the target object to trigger corresponding operations, the problem of inflexible and convenient triggering of electronic device functions in the prior art is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202310877973.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2043-07-17
AI Technical Summary
The triggering function of existing electronic devices is not flexible and convenient enough, and it is difficult to effectively respond to user operation needs.
By achieving matching the target object and the content carrier on the electronic device, the corresponding operation is triggered by the movement of the target object, for example, moving the target object to the content carrier through dragging and dropping operations, and the operations corresponding to the content carrier category are automatically executed.
Improves the flexibility and convenience of electronic device functions, allowing users to trigger required operations more easily, and enhances the user experience.
Smart Images

Figure CN119322580A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and more specifically, to a device control method, apparatus, and electronic device. Background Art
[0002] As the types of applications installed in electronic devices increase, the functions that electronic devices can achieve are becoming increasingly rich. For example, electronic devices can search for information on the Internet and display it. For another example, electronic devices can play audio and video. However, the related methods of triggering electronic devices to perform corresponding functions are not flexible and convenient enough. Summary of the invention
[0003] In view of the above problems, the present application proposes a device control method, apparatus and electronic device to improve the above problems.
[0004] In a first aspect, the present application provides a device control method, which is applied to an electronic device, and the method includes: displaying a target object including target information; in response to the target object being moved to a content carrier, matching the target information with the content carrier type; and when the target information matches the content carrier category, performing an operation corresponding to the category of the content carrier.
[0005] In a second aspect, the present application provides a device control apparatus that runs on an electronic device, the apparatus comprising: an object display unit for displaying a target object including target information; a matching unit for matching the target information with the content carrier type in response to the target object being moved to the content carrier; and a device control unit for performing an operation corresponding to the category of the content carrier when the target information matches the 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 are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the above-mentioned method.
[0007] In a fourth aspect, the present application provides a computer-readable storage medium storing a program code executable by a processor, wherein the computer-readable storage medium includes the stored program code, wherein the above method is executed when the program code is run.
[0008] The present application provides a device control method, apparatus, and electronic device, which can match the target information with the content carrier type in response to the target object being moved to the content carrier 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 when the target information matches the category of the content carrier. Thus, through the above-mentioned method, the content carrier in the electronic device can be used as an interface to trigger the electronic device to perform a corresponding operation, so that when 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 the corresponding operation, thereby triggering the electronic device to perform the corresponding function more flexibly and conveniently. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0010] Figure 1 A flow chart of a device control method proposed in an embodiment of the present application is shown;
[0011] Figure 2 A schematic diagram showing a target object in a state supporting dragging according to an embodiment of the present application is shown;
[0012] Figure 3 A schematic diagram showing another target object in a state supporting dragging in an embodiment of the present application is shown;
[0013] Figure 4 A schematic diagram showing the synchronous display of the target object and the content carrier in an embodiment of the present application is shown;
[0014] Figure 5 A schematic diagram of dragging a target object in an embodiment of the present application is shown;
[0015] Figure 6 Another schematic diagram of dragging a target object in an embodiment of the present application is shown;
[0016] Figure 7 A flow chart of a device control method proposed in another embodiment of the present application is shown;
[0017] Figure 8 A schematic diagram showing the associated information acquired by the electronic device in an embodiment of the present application;
[0018] Fig. 9A schematic diagram showing a method of moving a target object to a content carrier in an embodiment of the present application is shown;
[0019] Fig.10 A flow chart of a device control method proposed in another embodiment of the present application is shown;
[0020] Fig.11 A schematic diagram showing how another target object is moved to a content carrier in an embodiment of the present application;
[0021] Fig.12 A schematic diagram showing an operation corresponding to a content carrier performed based on a target object in an embodiment of the present application is shown;
[0022] Fig.13 A flow chart of a device control method proposed in another embodiment of the present application is shown;
[0023] Fig.14 A flow chart of a device control method proposed in another embodiment of the present application is shown;
[0024] Fig.15 A flow chart of a device control method proposed in another embodiment of the present application is shown;
[0025] Fig.16 A schematic diagram showing an application interface in a window state in an embodiment of the present application is shown;
[0026] Fig.17 A structural block diagram of a device control device proposed in an embodiment of the present application is shown;
[0027] Fig.18 A structural block diagram of an electronic device for executing a device control method according to an embodiment of the present application is shown;
[0028] Fig.19 It is a storage unit of an embodiment of the present application for storing or carrying program codes for implementing the device control method according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] 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.
[0030] Electronic devices can implement corresponding functions based on the applications installed on them, and as the categories of applications installed in electronic devices increase, the functions that electronic devices can implement are also increasingly rich. For example, if an electronic device is installed with a browser, the electronic device can search for information through the browser and display the search results to the user. For another example, if an electronic device is installed with an audio player program, the electronic device can play audio through the audio player program. For another example, if an electronic device is installed with an accounting program, the electronic device can record the user's consumption.
[0031] However, the inventors found in their research that the related methods of triggering electronic devices to perform corresponding functions are not flexible and convenient enough. Therefore, the inventors proposed a device control method, apparatus, and electronic device in the present application. After displaying a target object including target information, the target information can be matched with the content carrier type in response to the target object being moved to the content carrier, and the electronic device can be controlled based on the target object to perform operations corresponding to the category of the content carrier when the target information matches the category of the content carrier. Thus, through the above method, the content carrier in the electronic device can be used as an interface to trigger the electronic device to perform corresponding operations, so that when 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 the corresponding operation, thereby triggering the electronic device to perform the corresponding function more flexibly and conveniently.
[0032] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0033] See also Figure 1 The present application provides a device control method, which is applied to an electronic device, and the method includes:
[0034] S110: Displaying a target object including target information.
[0035] In the embodiment of the present application, the target object can be understood as an object that can be used to move to trigger the electronic device to perform a corresponding operation. There can be multiple categories of target objects. 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 that corresponds to the target object and is not displayed.
[0036] Among them, after the target object is displayed, the target object can be moved. In an embodiment of the present application, there can be multiple ways to move the target object. As one way, the target object can be moved by dragging the target object. As another way, the target object can be triggered to enter a movable state first, and then the moving target is touched, so that the target object is automatically moved to the moving target. Optionally, the target object can be triggered to enter a movable state by double-clicking or long pressing.
[0037] Among them, in this way of triggering the movement of the target object by dragging, after the target object is displayed, the target object can be dragged. In some cases, the target object can be dragged directly when it is displayed. In other cases, after the target object is displayed, the state can be switched first, and it can be dragged after switching to a state that supports dragging. Optionally, after the target object is displayed, a specified touch operation can be applied to the target object to switch the target object to a state that supports dragging. And, after applying the specified touch operation to switch the target object to a state that supports dragging, the touch object (for example, a stylus or a finger) that applies the specified touch operation can drag the target object while maintaining contact with the screen.
[0038] For example, take the target object as a picture, such as Figure 2 As shown, in Figure 2 The application interface 10 shown in the left image displays multiple pictures, including picture P1, picture P2, picture P3, picture P4, picture P5 and picture P6. Each of the multiple pictures can be used as a target object. If there is a designated touch operation acting on picture P2, picture P2 can be switched to Figure 2 The image on the right shows a suspended state (a state that supports dragging). In the suspended state, the image P2 supports dragging, and the user can drag the image P2 to another location.
[0039] For example, take the target object as an application interface. Figure 3 As shown, in Figure 3 The left image shows an application interface 20, in which payment details of multiple items are displayed. If there is a designated touch operation on the application interface 20, the application interface 20 can be switched to Figure 3 The image on the right shows a suspended state (a state supporting dragging). In the suspended state, the application interface 20 can support dragging. Among them, when the application interface 20 is in a state supporting dragging, the interface size can be relatively reduced.
[0040] It should be noted that, in the embodiments of the present application, the designated touch operation for switching the target object to a state supporting dragging can be implemented in a variety of ways. Optionally, the designated 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 designated 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 an embodiment of the present application, a content carrier can be understood as a carrier for displaying content. For example, a content carrier can include a card. There can be multiple types of content displayed in a content carrier. For example, the content displayed in a content carrier can be text, pictures, videos and other content. Alternatively, the content displayed in a content carrier can also be content linked to other objects. Among them, the connected objects can be text, pictures, videos or application interfaces. Optionally, when displaying a content carrier, if the content linked to an object in the content carrier 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 an electronic device. In this case, if a touch operation acting on the control is detected, the corresponding control operation can be triggered. Among them, the size of the content carrier can be smaller than the size of the screen.
[0043] When 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 will perform the corresponding operation based on the target object moved to the content carrier and the category of the content carrier. In the embodiment 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 on the screen synchronously with the content carrier. In this case, the target object can be directly moved to the content carrier. For example, when the screen size of the electronic device is large, the interface where the target object is located can occupy a part of the screen area, and the other part of the screen area can be the interface where the content carrier is located (for example, the desktop). For example, Figure 4 As shown, when the screen size of the electronic device is relatively large, the application interface 10 where the target object is located and the desktop 30 can be displayed synchronously on the screen, and then the target object can be displayed synchronously on the screen with the content carrier 31.
[0045] In other cases, the target object and the content carrier are not displayed synchronously on the screen. In this case, as a way, when the target object switches to a state that supports movement, the screen can be triggered to display the interface where the content carrier is located, so that the target object can be moved to the content carrier. Alternatively, as another way, during the process of moving the target object, the screen can be triggered to display the interface where the content carrier is located, so that the target object can be moved to the content carrier.
[0046] Exemplary, take the target object as an example. In the case where the target object is a picture, the target object may be displayed in an album interface or a web page interface, while the content carrier may be displayed on the desktop of the electronic device. In the case where the electronic device displays an album interface or a web page interface, the desktop may not be displayed. In this case, if the target object is switched to a state that supports movement, the electronic device may cancel the display of the interface (for example, an album interface or a web page interface) where the target object including the target information originally resides, and display the desktop so that the content carrier on the desktop can be displayed on the screen. Alternatively, when the target object is moved to the edge of the screen, the electronic device may cancel the display of the interface where the target object including the target information originally resides and display the desktop.
[0047] The target object being moved to the content carrier can be understood as the target object and the content carrier having overlapping areas, or can be understood as the degree of overlap between the target object and the content carrier reaching a target degree. Optionally, the target degree can include at least half of the area included in the target object overlapping with the content carrier. In addition, the target object being moved to the content carrier can also be understood as the touch object that performs a drag operation on the target object moving to the content carrier, and the touch object can be a stylus or a finger.
[0048] Optionally, if the target information included in the target object contains content required for executing the operation corresponding to the content carrier, it is determined that the target information matches the category of the content carrier.
[0049] Optionally, when the target object is moved to overlap with the display position of the content carrier or when the distance between the display position of the target object after movement and the content carrier is less than a specified threshold, it is determined that the target object is moved to the content carrier.
[0050] S130: When the target information matches the category of the content carrier, the electronic device is controlled to perform an operation corresponding to the category of the content carrier based on the target object.
[0051] In the embodiment of the present application, there may be multiple categories of content carriers, and different categories of content carriers may have different functions. For example, there may be content carriers of audio category, content carriers of news category, content carriers of video category, and content carriers of accounting category, etc. Among them, the content carrier of audio category can be used for audio playback, the content carrier of news category can be used to display news content or the latest news information, the content carrier of video category can be used to display recommended videos, and the content carrier of accounting category can be used to display the recent consumption of the user of the electronic device (for example, the consumption in the last month).
[0052] In the case where there are multiple categories of content carriers and different content carriers have different functions, when the target object is moved to the content carrier, the corresponding operation will be performed in combination with the category of the content carrier and the target object.
[0053] In the embodiment of the present application, when the target object is moved to the content carrier, the electronic device is directly triggered to perform an operation corresponding to the category of the content carrier based on the target object. Alternatively, when the target object is moved to the content carrier and the drag operation on the target object ends, the electronic device is triggered to perform an 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 may be moved, or the corresponding copy of the target object may be moved. In the case where the target object itself is moved, the target object will move away from its original display position. For example, Figure 5 As shown, in Figure 5 In the case where the picture 2 shown in the left image is moved, Figure 5 As shown in the image on the right, the picture 2 itself will be moved away from the original display position. In this way, when the copy object corresponding to the target object is moved, the copy object can be understood as an object with at least partially the same display style or display content as the corresponding target object. In this way, during the process of moving the copy object, the target object corresponding to the copy object can remain displayed at the original position. For example, Figure 6 As shown, when the image P2 is the target object, the copy object corresponding to the image P2 may be moved, and the target object may remain displayed at the original position. Optionally, when the touch object touches the target object through a touch operation (e.g., a long press operation), the copy object corresponding to the target object is triggered to be displayed at the touch position of the touch object, and then when the touch object moves while maintaining contact with the screen, the copy object moves with the touch object, so as to move the copy object.
[0055] The device control method provided in this embodiment can match the target information with the content carrier type in response to the target object being moved to the content carrier 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 when the target information matches the category of the content carrier. Thus, through the above method, the content carrier in the electronic device can be used as an interface to trigger the electronic device to perform a corresponding operation, so that when 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 the corresponding operation, thereby triggering the electronic device to perform the corresponding function more flexibly and conveniently.
[0056] See also Figure 7 The present application provides a device control method, which is applied to an electronic device, and the method includes:
[0057] S210: Displaying a target object including target information.
[0058] S220: In response to the target object being moved to the content carrier, matching the target information with the content carrier type.
[0059] S230: When the target information matches the content carrier category, obtain an object identifier of the target object.
[0060] S240: Based on the object identification of the target object, control the electronic device to perform an operation corresponding to the category of the content carrier.
[0061] Among them, the object identification of the target object can be understood as an identification for characterizing the content included in the target object. In an embodiment 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 identification of the target object can be the identification of the object in the picture. The object can be a person, a plant, an animal or other items. Optionally, the target object can be a text, in which case the object identification of the target object can be a keyword in the text included in the target object.
[0062] There may be corresponding methods for obtaining object identifiers for target objects of different categories.
[0063] As one approach, the target object is a picture. In this approach, optionally, picture content recognition can be performed on the target object to obtain an object identifier of the target object. In the case where the target object is a picture, by performing picture content recognition on the target object, the name of the object included in the target object can be obtained, and then the name of the object can be used as the object identifier of the target object. For example, after performing picture content recognition on the target object, if it is identified that the target object includes a person, the name of the person can be used as the object identifier of the target object. For another example, when performing picture content recognition on the target object, if it is identified that the target object includes a plant, the name of the plant can be used as the object identifier of the target object.
[0064] Optionally, in the case where the target object is a picture, the name of the content included in the target object may have been stored in the electronic device. In this case, the name of the content included in the locally stored target object can be directly obtained as the object identifier of the target object. For example, when the electronic device obtains a picture, the corresponding associated information can be added to the picture, and the associated information can include the name of the content in the picture. For example, when the user operates the electronic device to take a picture, the user can manually add corresponding associated information to the picture obtained by taking the picture, and the associated information can include the name of the content taken, and the electronic device can store the associated information in association with the picture obtained by taking the picture. Alternatively, when the electronic device obtains the picture, it can also obtain the name of the content included in the picture by performing picture content recognition on the picture, and then store the obtained name in association with the picture. In the embodiment of the present application, in addition to obtaining the picture by taking a picture, the electronic device can also obtain the picture through the network. In the case where the target object moved to the content carrier is a picture, 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, and then there is no need to perform real-time picture content recognition to improve the efficiency of operation execution.
[0065] For example, Figure 8 As shown, the electronic device includes pictures P1, P2, and P3. Among them, the name included in the association information corresponding to picture P1 is "Hu Ge", the name included in the association information corresponding to picture P2 is "Tiger", and the name included in the association information corresponding to picture P3 is "Watermelon". In this case, if picture P1 is the target object to be moved, then the object identifier of the target object is "Hu Ge", if picture P2 is the target object to be moved, then the object identifier of the target object is "Tiger", and if picture P3 is the target object to be moved, then the object identifier of the target object is "Watermelon".
[0066] As another way, the target object can be text. In this way, keywords can be obtained for the text content included in the target object, and the obtained keywords can be used as object identifiers. Optionally, the text included in the target object can be input into a trained neural network model to extract keywords through the neural network model. For example, if the user moves "I really want to eat hot pot" as the target object to the content carrier, the keywords extracted from "I really want to eat hot pot" can be hot pot, and hot pot can be used as the object identifier of the target object.
[0067] Optionally, when the target object is text, the extracted keywords can be determined according to pre-configured rules. For example, if the pre-configured rule is to extract the name of a person as a keyword, then when acquiring keywords, the name of the person will be acquired from the target object as a keyword. For another example, if the pre-configured rule is to extract the name of a food as a keyword, then when acquiring keywords, the name of the food will be acquired from the target object as a keyword.
[0068] In the case where there can be multiple categories of content carriers, and different categories of content carriers can have different functions, different content carriers can also trigger different operations. Then, based on the object identification of the target object, the electronic device is controlled to perform 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 identification of the target object.
[0069] For example, when the content carrier is an audio content carrier, the corresponding triggered operation may be to play the audio. Then, if the electronic device is controlled to play the audio based on the object identification of the target object, it can be understood that the audio played by the electronic device is associated with the object identification of the target object. Fig. 9 As shown, if the picture P2 is moved to the content carrier 30, and the object identifier of the picture P2 is "Hu Ge", and the content carrier 30 is an audio 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 perform a video search, then the electronic device can search for videos related to tigers.
[0070] It should be noted that, in some cases, there may be multiple object identifiers corresponding to the target object. For example, when the target object is a picture, the picture may include people, plants, etc. at the same time. In this case, the object identifier of the target object acquired by the electronic device may include the name of the person and the name of the plant at the same time. For another example, when the target object is an application interface, the application interface may also include multiple contents. In this case, the electronic device can determine an object identifier from multiple object identifiers as the target identifier, and then control the electronic device to perform operations corresponding to the category of the content carrier based on the target identifier.
[0071] Optionally, the electronic device may randomly select an object identifier from multiple object identifiers corresponding to the target object as the target identifier. Optionally, the electronic device may display inquiry information to inquire the user about the object identifier required, and then use the object identifier selected by the user as the target identifier. Optionally, the electronic device may also determine the target identifier from multiple object identifiers based on actual conditions.
[0072] As a method, the electronic device can determine an object identifier that matches the user's preference from multiple object identifiers in combination with the user's preference as the target identifier. For example, the user preference recorded by the electronic device is: the user prefers people. Then, when there are multiple object identifiers, the object identifier corresponding to the person can be used as the target identifier. For another example, the user preference recorded by the electronic device is: the user prefers female singers. Then, when there are multiple object identifiers, the object identifier corresponding to the female singer can be used as the target identifier. In this way, if there is no object identifier that matches the user's preference among the multiple object identifiers, an object identifier can also be randomly selected as the target identifier. Among them, the electronic device can determine the user's preference based on the user's historical access information, and the historical access information may include pictures, news information, etc. that the user has viewed. Alternatively, the electronic device can also obtain the user's preference from a third-party platform that can provide user portraits.
[0073] As another way, the electronic device can also determine an object identifier that matches the user's location from multiple object identifiers as the target identifier in combination with the user's location. For example, if the user's current location is a zoo, then the object identifier related to animals among the multiple object identifiers can be used as the target identifier. For another example, if the user's current location is a shopping mall, then the object identifier related to items among the multiple object identifiers can be used as the target identifier. In this way, if there is no object identifier that matches the user's location among the multiple object identifiers, an object identifier can also be randomly selected as the target identifier. Among them, the electronic device can locate the electronic device, and then use the positioning result of the electronic device as the user's location.
[0074] A device control method provided in this embodiment can, after displaying a target object including target information, respond to the target object being moved to a content carrier, based on obtaining the object identification of the target object, and then based on the object identification of the target object, control the electronic device to perform an operation corresponding to the category of the content carrier, thereby more flexibly and conveniently triggering the electronic device to perform the corresponding function. Moreover, in this embodiment, when the target object can be content such as a picture or text, there can be different corresponding methods for obtaining the object identification. Furthermore, in this embodiment, when there are multiple object identifications of the target object, a target identification can be determined from multiple object identifications according to multiple methods, thereby improving the flexibility of the device control method provided in this embodiment.
[0075] See also Fig.10 The present application provides a device control method, which is applied to an electronic device, and the method includes:
[0076] S310: Displaying a target object including target information.
[0077] S320: In response to the target object being moved to the content carrier, match the target information with the content carrier type.
[0078] S330: When the target information matches the content carrier category, the specified content in the target object is obtained from the target information.
[0079] S340: Based on the designated content in the target object, control the electronic device to perform an operation corresponding to the category of the content carrier.
[0080] In the embodiment of the present application, the designated content can be understood as part of the target information included in the target object, and the designated content can be understood as the content required to perform the operation corresponding to the content carrier. Among them, for different categories of content carriers, the acquired designated content can be different. For example, for content carriers of the accounting category, the designated content can be the consumption amount. For another example, for content carriers of the news category, the designated content can be keywords. For another example, for content carriers of the audio category, the designated content can be the name of the song or the name of the singer.
[0081] As a method, when the target object is an application interface, a screenshot operation can be performed on the target object to obtain the corresponding screenshot content. The screenshot content may include the target information of the target object. Then, the screenshot content is obtained to obtain the specified content in the target object. In response to moving the target object to the content carrier, the category of the content carrier can be obtained, and then the specified content corresponding to the category of the content carrier can be obtained from the content displayed by the target object.
[0082] For example, see Fig.11 and Fig.12 ,like Fig.11 As shown in the left image, a content carrier 40 of the accounting category is displayed. Fig.11 As shown in the right image, if the target object moved to the content carrier 40 is the application interface 20, and the application interface 20 includes the consumption amount (specified content) required by the content carrier of the accounting category, the accounting operation corresponding to the content carrier 40 can be performed according to the consumption amount displayed in the application interface 20. After the accounting operation is performed, the data displayed by the content carrier 40 can be updated to Fig.12 The situation shown in .
[0083] A device control method provided in this embodiment can, in response to the target object being moved to a content carrier, control the electronic device to perform operations corresponding to the category of the content carrier based on obtaining the display content in the target object and then based on the display content in the target object after displaying a target object including target information, thereby more flexibly and conveniently triggering the electronic device to perform corresponding functions.
[0084] See also Fig.13 The present application provides a device control method, which is applied to an electronic device, and the method includes:
[0085] S410: In response to a designated operation, display a content carrier.
[0086] The designated operation can be understood as an operation for triggering the display of the content carrier. In the embodiment of the present application, the designated operation can be implemented in multiple ways.
[0087] As a method, the designated operation may include an operation of moving the application interface to the designated position. For example, the application interface may be moved to the designated position by dragging. In this manner, in response to moving the application interface to the designated position, a content carrier may be displayed, wherein the category of the displayed content carrier corresponds to the moved application interface. The designated position may have multiple situations, for example, the designated position may be the top of the screen or the bottom of the screen.
[0088] The category of the displayed content carrier corresponds to the moved application interface, which can be understood as determining the category of the generated content carrier based on the attribute of the moved application interface. The attribute can be the category of the application to which the application interface belongs, or can be the content displayed in the application interface.
[0089] Optionally, in response to moving the application interface to the specified position, displaying the content carrier may include: in response to moving the application interface to the specified position, obtaining the application to which the moved application interface belongs, and displaying the content carrier based on the category of the application. It should be noted that there may be multiple applications in the electronic device, and the operations that can be performed by different types of applications may be different. Therefore, when the user triggers the generation of the content carrier through the mobile application interface, the category of the generated content carrier is determined based on the category of the application to which the application interface belongs, which is conducive to more accurate generation of the content carrier of the category currently required by the user.
[0090] For example, if the application to which the application interface moved to the designated position belongs is an application for audio playback, then the electronic device can infer that the user currently needs the audio playback function, and can then generate a content carrier of the audio category. For another example, if the application to which the application interface moved to the designated position belongs is an application for information display, then the electronic device can infer that the user currently needs the information display function, and can then generate a content carrier of the information category.
[0091] In an electronic device, a correspondence between the name of an application and the category of the application may be stored. In this case, after obtaining the application to which the moved application interface belongs, the category of the application may be determined based on the name of the application and the correspondence between the name of the application and the category of the application. For example, the correspondence between the name of the application and the category of the application may be shown in the following table:
[0092] ID name category 1 Application A1 Audio playback 2 Application A2 Video playback 3 Application A3 News
[0093] As shown in the table above, if the application interface being moved is application program A2, the category of the generated content carrier can be video playback. If the application interface being moved is application program A3, the category of the generated content carrier can be news.
[0094] Optionally, in response to moving an application interface to a specified position, displaying a content carrier may include: in response to 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 may be different for different application interfaces. Moreover, even for different application interfaces belonging to the same application, the displayed content may be different. In this case, determining the category of the generated content carrier based on the content displayed in the moved application interface can improve the accuracy with which the category of the generated content carrier meets user needs.
[0095] For example, an instant messaging application may include an application interface for displaying information and an application interface for playing videos. If the user moves the application interface for playing videos to a specified position, the user may expect the generated content carrier to be a video content carrier. However, if the content carrier is directly generated based on the instant messaging category, it may not meet the user's needs.
[0096] As another way, the specified operation may include an operation of searching for target content. In this way, in response to searching for target content, a content carrier may be generated and displayed, wherein the generated content carrier corresponds to the target content. It should be noted that when searching for target content, the user may want to know information related to the searched target content, and then determine the category of the generated content carrier according to the target content searched by the user, which can improve the accuracy of the category of the generated content carrier in meeting the user's needs.
[0097] It should be noted that after the display of the content carrier is triggered by a specified operation, the content carrier may remain in the display state. For example, after the electronic device is restarted, the content carrier may be automatically displayed.
[0098] S420: Displaying the target object including the target information.
[0099] S430: In response to the target object being moved to the content carrier, matching the target information with the content carrier type.
[0100] S440: When the target information matches the category of the content carrier, an operation corresponding to the category of the content carrier is performed.
[0101] This embodiment provides a device control method, so that the content carrier in the electronic device can be used as an interface to trigger the electronic device to perform a corresponding operation through the above method, so that when the target information included in the target object moved to the content carrier matches the content carrier category, the electronic device can perform the corresponding operation, thereby triggering the electronic device to perform the corresponding function more flexibly and conveniently. In addition, in this embodiment, the corresponding content carrier can be generated by searching for the target content or by moving the application interface to a specified location, thereby realizing a flexible and diverse content carrier generation method and improving the user experience.
[0102] See also Fig.14 The present application provides a device control method, which is applied to an electronic device, and the method includes:
[0103] S510: Displaying 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 embodiment of the present application, it is possible to detect whether the target information matches the category of the content carrier in a variety of ways. Among them, whether the target information matches the content carrier can also be understood as whether the target object matches the content carrier.
[0106] As a method, the operation corresponding to each content carrier may correspond to the required parameters, so that when the operation corresponding to the content carrier is executed, the operation can be performed based on the required parameters. For example, the operation corresponding to the content carrier of the audio category may include playing music, wherein the parameters required for playing music may 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 may include recording the amount of consumption, and the parameters required for recording the amount of consumption may include the amount of consumption, etc. In this way, if the parameters required for the operation corresponding to the content carrier can be obtained from the content included in the target object, it can be determined that the category of the target object matches that of the content carrier, otherwise, it can be determined that the category of the target object does not match that of the content carrier. Among them, the content included in the target object may include the content displayed in the target object, and may also include the content stored in association with the target object.
[0107] For example, if the content carrier to which the target object is moved is an audio-category content carrier, and the name of the singer or the name of the music can be obtained from the target information included in the target object, then 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 an accounting-category content carrier, and the consumption amount can be obtained from the target information included in the target object, then it is determined that the category of the target object matches the category of the content carrier, otherwise, it is determined that the category of 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 adapted by the content carrier, it is determined that the category of the target object (target information) matches the category of the content carrier. It should be noted that in an embodiment of the present application, the target object may also have a corresponding category. For example, the category corresponding to the target object may 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 adapted by the content carrier. If they are the same, it is determined that the category of the target object (target information) matches the category of the content carrier. Otherwise, it is determined that the category of the target object does not match the category of the content carrier. For example, if the category adapted by the content carrier is a picture, and the category of the target object is an application interface, it is determined that the category of 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, control the electronic device to perform an operation corresponding to the category of the content carrier based on the target object.
[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 may not know what category of target object matches what category of content carrier. Therefore, there may be a situation where the target object does not match the category of the content carrier to which the target object is moved. For example, the user may move a picture of a celebrity to a content carrier of the accounting category, or may move an application interface whose content is the amount of consumption to a card of the audio category. In this case, as a method, the electronic device can directly generate a content carrier corresponding to the target object being moved, so that when the target object moved by the user does not match the category of the content carrier, a content carrier corresponding to the target object being moved can be automatically generated, thereby avoiding the user from triggering the generation of a content carrier corresponding to the target object being moved again through manual operation.
[0112] Exemplarily, when a target object is moved to a 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 matching the category and the picture may be generated.
[0113] As a method, when the target object does not match the category of the content carrier, a prompt message may be triggered to be displayed first, and the content of the prompt message may be to ask the user whether to create a content carrier that matches the target object being moved. If the user selects to create, the electronic device generates a content carrier that matches the category of the target object. If the user selects not to create, the electronic device does not generate a content carrier that matches the target object.
[0114] The present embodiment provides a device control method, so that the content carrier in the electronic device can be used as an interface to trigger the electronic device to perform a corresponding operation through the above method, so that when 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 the corresponding operation, thereby triggering the electronic device to perform the corresponding function more flexibly and conveniently. In addition, in the present embodiment, when the target object is dragged to the content carrier, it will first detect whether the category of the target object matches that of the content carrier, and then different corresponding operations can be performed according to the detection result, thereby further improving the compatibility and intelligence of the device control method provided by the present embodiment.
[0115] It should be noted that in the embodiments of the present application, the categories of target objects and the categories of content carriers listed are exemplary. For example, in the embodiments of the present application, the content carrier may also be a content carrier of the shopping category, or may be a content carrier of the logistics information category, or may also be a content carrier of the attention category, or may also be a content carrier of the learning category. Among them, in the content carrier of the shopping category, the price information of the goods may be displayed, and the operation corresponding to the content carrier of the shopping category may include triggering the display of the price information of the objects included in the target object including the target information, or directly triggering the display of the order information of the objects included in the target object including the target information. The transportation status of the current order may be displayed in the content carrier of the logistics information category. The real-time latest developments of the items or people that the user is concerned about may be displayed in the content carrier of the attention category. The learning category content carrier displays learning information about a certain content (for example, a certain knowledge point or word, etc.).
[0116] See also Fig.15 The present application provides a device control method, which is applied to an electronic device, and the method includes:
[0117] S610: Displaying a target object including target information in an application interface in a window state.
[0118] In the embodiment of the present application, the application interface may correspond to a full screen state and a window state. In the full screen state, the application interface may occupy the entire display area of the screen. In the window state, the application interface may occupy a portion of the display area of the screen. Moreover, in the window state, the size of the application interface may also be smaller than the size of the screen.
[0119] As a method, the application interface in a window state can be triggered to be displayed through the side toolbar. In this method, application information can be displayed in the side toolbar, and if there is a click operation on the application information, the application interface corresponding to the clicked application information can be displayed in a window state on the screen. The application information can be an application icon or an application name.
[0120] As another way, when the application interface is displayed on the task switching interface, each application interface may correspond to an operation menu, and the operation menu may have a specified control, and the specified control may be used to trigger the corresponding application interface to be displayed in a window state on the screen. Among them, the task switching interface may display a thumbnail of the application interface of at least one application program.
[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: When the target information matches the category of the content carrier, an operation corresponding to the category of the content carrier is performed.
[0123] For example, Fig.16 As shown, in Fig.16 When the application interface 10 shown in the left image is in full screen mode, the application interface 10 can be switched to Fig.16 The window state shown in the right image. When the application interface 10 is in the window state, the area of the screen that the application interface 10 can occupy will be reduced, so that the application interface 10 and the content carrier 10 displayed on the desktop can be displayed on the screen synchronously. In this case, the user can directly move the picture displayed on the application interface 10 to the content carrier 30.
[0124] The device control method provided in this embodiment can use the content carrier in the electronic device as an interface to trigger the electronic device to perform a corresponding operation in the above manner, so that when the target information included in the target object moved to the content carrier matches the content carrier category, the electronic device can perform the corresponding operation, thereby triggering the electronic device to perform the corresponding function more flexibly and conveniently. In addition, in this embodiment, the application interface where the target object is located can also be switched to a window state, so that the target object and the content carrier in the desktop can be displayed synchronously on the screen, so that the user can more conveniently move the target object to the content carrier.
[0125] See also Fig.17 The present application provides a device control device 600, which runs on an electronic device. The device 600 includes:
[0126] The object display unit 610 is used to display the target object including the target information.
[0127] The matching unit 620 is configured to match the target information with the content carrier type in response to the target object being moved to the content carrier.
[0128] The device control unit 630 is configured to execute an operation corresponding to the category of the content carrier when the target information matches the category of the content carrier.
[0129] As one approach, the device control unit 630 is specifically configured to obtain an object identifier of a target object; based on the object identifier of the target object, control the electronic device to perform an operation corresponding to the category of the content carrier.
[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 obtain an object identifier of the target object.
[0131] As a method, the device control unit 630 is specifically used to obtain the specified content in the target object from the target information; based on the specified content in the target object, control the electronic device to perform an operation corresponding to the category of the content carrier.
[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 obtain corresponding screenshot content; and perform image content acquisition on the screenshot content to obtain designated content in the target object.
[0133] As one approach, the apparatus 600 further includes:
[0134] The content carrier generating unit 630 is used to display the content carrier in response to a specified operation.
[0135] Optionally, the content carrier generation unit 630 is specifically used to display the content carrier in response to moving the application interface to a specified position, wherein the category of the generated content carrier corresponds to the moved application interface; or to generate and display the content carrier in response to searching for target content, wherein the generated content carrier corresponds to the target content.
[0136] Optionally, the content carrier generation unit 630 is specifically used to, in response to moving the application interface to a specified position, obtain the application to which the moved application interface belongs, and based on the category of the application, display the content carrier; or, in response to moving the application interface to a specified position, obtain the content displayed in the moved application interface, and display the content carrier based on the displayed content.
[0137] As a method, the device control unit 630 is specifically used to detect whether the categories of the target object and the content carrier match in response to the target object being moved to the content carrier; if the categories of the target object and the content carrier match, the electronic device is controlled 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 category of the target object matches that of the content carrier. Or if the content included in the target object contains content required to perform the operation corresponding to the content carrier, it is determined that the category of the target object matches that of the content carrier. If the category of the target object does not match that of the content carrier, the content carrier is displayed, and the category of the generated content carrier matches that of the target object.
[0138] The device control device provided in this embodiment can match the target information with the content carrier type in response to the target object being moved to the content carrier 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 when the target information matches the category of the content carrier. Thus, through the above method, the content carrier in the electronic device can be used as an interface to trigger the electronic device to perform a corresponding operation, so that when 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 the corresponding operation, thereby triggering the electronic device to perform the corresponding function more flexibly and conveniently.
[0139] It should be noted that the device embodiments in the present application correspond to the aforementioned method embodiments, and the specific implementation principles of each unit in the device embodiments are similar to the principles in the aforementioned method embodiments. The specific contents in the device embodiments can be found in the method embodiments, and will not be repeated in the device embodiments.
[0140] The following will be combined Fig.18 An electronic device provided by the present application is described.
[0141] See also Fig.18 Based on the above-mentioned device control method and apparatus, the embodiment of the present application also provides an electronic device 1000 that can execute the above-mentioned device control method. The electronic device 1000 includes one or more (only one is shown in the figure) processors 105, a memory 104, an audio playback module 106, and an audio acquisition device 108 that are coupled to each other. Among them, the memory 104 stores a program that can execute the content of the above-mentioned embodiment, and the processor 105 can execute the program stored in the memory 104.
[0142] Among them, the processor 105 may include one or more processing cores. The processor 105 uses various interfaces and lines to connect various parts of the entire electronic device 1000, and executes various functions and processes data of the electronic device 1000 by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104. Optionally, the processor 105 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 105 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 105, but may be implemented separately through a communication chip.
[0143] The memory 104 may include a random access memory (RAM) or a read-only memory (ROM). The memory 104 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 104 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc.
[0144] Furthermore, in addition to the aforementioned components, the electronic device 1000 may further include a network module 110 and a sensor module 112 .
[0145] The network module 110 is used to realize information interaction between the electronic device 1000 and other devices. For example, a connection can be established with other audio playback devices or other electronic devices, and information interaction is performed based on the established connection. As a way, the network module 110 of the electronic device 1000 is a radio frequency module, which is used to receive and send electromagnetic waves, realize the mutual conversion of electromagnetic waves and electrical signals, and thus communicate with a communication network or other devices. The radio frequency module may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity modules (SIM) cards, memories, etc. For example, the radio frequency module can interact with external devices through electromagnetic waves sent or received.
[0146] The sensor module 112 may include at least one sensor. Specifically, the sensor module 112 may include but is not limited to: a pressure sensor, a motion sensor, an acceleration sensor, and other sensors.
[0147] Among them, the pressure sensor may be a sensor that detects the pressure generated by pressing on the electronic device 1000. That is, the pressure sensor detects the pressure generated by contact or pressing between the user and the electronic device 1000, for example, the pressure generated by contact or pressing between the user's ear and the electronic device 1000. Therefore, 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] Among them, the acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the posture of the electronic device 1000 (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. In addition, the electronic device 1000 can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, etc., which will not be repeated here.
[0149] The audio collection device 108 is used to collect audio signals. Optionally, the audio collection device 108 includes a plurality of audio collection devices, which may be microphones.
[0150] Please refer to Fig.19 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 1100 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0151] The computer readable storage medium 1100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 1100 includes a non-transitory computer-readable storage medium. The computer readable storage medium 1100 has storage space for program code 1110 that executes any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 1110 can be compressed, for example, in an appropriate form.
[0152] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0153] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0154] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0155] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0156] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0157] In summary, the device control method, apparatus, and electronic device provided by the present application can match the target information with the content carrier type in response to the target object being moved to the content carrier 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 when the target information matches the category of the content carrier. Thus, through the above-mentioned method, the content carrier in the electronic device can be used as an interface to trigger the electronic device to perform a corresponding operation, so that when 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 the corresponding operation, thereby triggering the electronic device to perform the corresponding function more flexibly and conveniently.
[0158] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical feature diagrams therein. However, 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 device control method, characterized in that: Applied to electronic equipment, the method comprises: displaying a target object including target information; In response to the target object being moved to the content carrier, matching the target information with the content carrier type; In the case where the target information matches the category of the content carrier, an operation corresponding to the category of the content carrier is performed.
2. The method according to claim 1, characterized in that The performing of an operation corresponding to the category of the content carrier includes: Obtaining an object identifier of the target object; Based on the object identification of the target object, the electronic device is controlled to perform an operation corresponding to the category of the content carrier.
3. The method according to claim 2, characterized in that The target object is a picture, 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 performing of an operation corresponding to the category of the content carrier includes: Acquire specified content in the target object from the target information; Based on the designated content in the target object, the electronic device is controlled to perform an operation 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 in the target object from the target information includes: Performing a screenshot operation on the target object to obtain corresponding screenshot content; The image content is acquired from the screenshot content to obtain the specified content in the target object.
6. The method according to claim 1, characterized in that The display of the target object including the target information includes: The target object including the target information is displayed in the application interface in the window state.
7. The method according to claim 1, characterized in that The displaying of the target object including the target information also includes: In response to a specified operation, the content carrier is displayed.
8. The method according to claim 7, characterized in that In response to the specified operation, displaying the content carrier includes: In response to dragging the application interface to a specified position, displaying a content carrier, wherein the category of the displayed content carrier corresponds to the dragged application interface; or In response to searching 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 step of displaying the content carrier in response to dragging the application interface to the specified position includes: In response to dragging the application interface to a specified position, obtaining the application to which the dragged application interface belongs, and displaying the content carrier based on the category of the application; or In response to dragging the application interface to a designated location, content displayed in the dragged application interface is acquired, and a content carrier is displayed based on the displayed content.
10. The method according to claim 1, characterized in that The method further comprises: If the target information included in the target object contains content required for executing the operation corresponding to the content carrier, it is determined that the category of the target information matches that of the content carrier.
11. The method according to claim 10, characterized in that The method further comprises: 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 In response to the target object being moved to the content carrier, matching the target information with the content carrier type comprises: In response to the target object being moved to the content carrier and the drag operation on the target object being terminated, 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 the content carrier, matching the target information with the content carrier type includes: When the target object is moved to overlap with the display position of the content carrier or when the distance between the display position of the moved target object and the content carrier is less than a specified threshold, the target information is matched with the content carrier type.
14. A device control device, characterized in that: Running on an electronic device, the device comprises: An object display unit, used for displaying a target object including target information; a matching unit, 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 used 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: comprising 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, and the one or more programs are configured to execute the method according to any one of claims 1 to 13.
16. A computer-readable storage medium storing a program code executable by a processor, characterized in that: The computer-readable storage medium includes stored program code, wherein when the program code is executed, the method according to any one of claims 1 to 13 is executed.
Citation Information
Patent Citations
Mobile terminal control device and method
CN106126053A
Communication triggering method and device
CN107765946A
Data content processing method and device, terminal and storage medium
CN113360226A
Text content processing method and device and electronic equipment
CN114721575A
Control Method, Device, and Mobile Device of a Moving Body
JP2017502369A