CN110062287B - Target object control method and device, storage medium and electronic equipment - Google Patents

Target object control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN110062287B
CN110062287B CN201910145877.2A CN201910145877A CN110062287B CN 110062287 B CN110062287 B CN 110062287B CN 201910145877 A CN201910145877 A CN 201910145877A CN 110062287 B CN110062287 B CN 110062287B
Authority
CN
China
Prior art keywords
target object
preset function
preset
preset area
executing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910145877.2A
Other languages
Chinese (zh)
Other versions
CN110062287A (en
Inventor
蒋徐阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Media Technology Beijing Co Ltd
Original Assignee
Netease Media Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Media Technology Beijing Co Ltd filed Critical Netease Media Technology Beijing Co Ltd
Priority to CN201910145877.2A priority Critical patent/CN110062287B/en
Publication of CN110062287A publication Critical patent/CN110062287A/en
Application granted granted Critical
Publication of CN110062287B publication Critical patent/CN110062287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Abstract

The embodiment of the invention provides a target object control method and device, a storage medium and electronic equipment, and belongs to the technical field of equipment terminals. The method comprises the following steps: detecting a first operation aiming at a target object display interface; executing a first preset function when the first operation is dragging the target object to a first preset area; and executing a second preset function when the first operation is dragging the target object to a second preset area. According to the method, the user can drag the target object to the first preset area or the second preset area according to the own needs, so that the first preset function or the second preset function is correspondingly executed, and other operations are not needed to be added to execute the first preset function or the second preset function, so that the execution complexity of the first preset function or the second preset function is remarkably reduced, the diversity of interactive operations is increased, and better experience is brought to the user.

Description

Target object control method and device, storage medium and electronic equipment
Technical Field
Embodiments of the present invention relate to the field of device terminal technologies, and in particular, to a target object control method, a target object control apparatus, a computer-readable storage medium, and an electronic device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
When a user clicks and browses a video in an interface list provided by software in the process of using the software, the user can enter a full-screen video playing page. When the user does not watch the video any more, the user can quickly quit the mode of viewing the video in a full screen mode by a pull-down interactive gesture, and when the user quits the full screen mode, the user can directly close the video and can also place the video at the edge of a page in a small-window suspension playing mode.
However, in the above technical solution, when exiting from full screen viewing, only one of the modes of closing the video and performing small-window floating playing on the video can be implemented, so that the user cannot perform small-window floating playing on some videos that are not interested while directly closing some videos that are not interested.
Disclosure of Invention
However, in some technologies, on one hand, in the same software, when the user quits full-screen viewing, two or more than two interactive operations cannot be provided for the video at the same time, so that the interactive operation form is single, and the user experience is poor; on the other hand, when a user performs interactive operation on a video being played in a certain software only supporting closing operation, if the video needs to be watched again, the video needs to be opened again, so that the watching process is complicated; on the other hand, when a user performs interactive operation on a video being played in a certain software only supporting small-window floating playing, if the video needs to be closed, the video needs to be closed in a software closing manner, so that the closing process is complicated.
Therefore, in the prior art, it is not possible to simultaneously close a certain video or perform small-window floating play or perform other interactive operations on the video in the same software, thereby improving user experience, which is a very annoying process.
Therefore, an improved target object control method, a target object control apparatus, a computer-readable storage medium, and an electronic device are needed, so that a user can perform multiple interactive operations on a video in the same software, thereby improving user experience and simplifying the flow of the various interactive operations.
In this context, embodiments of the present invention are intended to provide a target object control method, a target object control apparatus, a computer-readable storage medium, and an electronic device.
According to an aspect of the present disclosure, there is provided a target object control method including:
detecting a first operation aiming at a target object display interface;
executing a first preset function when the first operation is dragging the target object to a first preset area;
and executing a second preset function when the first operation is dragging the target object to a second preset area.
In an exemplary embodiment of the present disclosure, the first preset function is a turn-off function.
In an exemplary embodiment of the present disclosure, before the second preset function is executed, the target object control method further includes:
and establishing a second preset function table of the target object according to the attribute type of the target object, wherein the second preset function table of the target object comprises the attribute type of the target object and a second preset function which has a corresponding relation with the attribute type.
In an exemplary embodiment of the present disclosure, the second preset function includes one or more of a widget, fast forward, fast reverse, storage, favorite, mark, edit.
In an exemplary embodiment of the present disclosure, when the first operation is dragging the target object to a second preset area, the performing of the second preset function includes:
detecting the attribute type of the target object;
displaying a second preset function having a corresponding relation with the attribute type of the target object according to the second preset function table;
acquiring selection operation of a user for the second preset function;
and executing a second preset function aimed by the selection operation according to the selection operation.
In an exemplary embodiment of the present disclosure, the first operation is a continuous operation.
In an exemplary embodiment of the present disclosure, the target object control method further includes:
when the target object is dragged to a first preset area, the color of the first preset area changes; and
when the target object is dragged to a second preset area, the color of the second preset area changes.
According to an aspect of the present disclosure, there is provided a target object control apparatus including:
the detection module is used for detecting a first operation aiming at a target object display interface;
the first execution module is used for executing a first preset function when the first operation is dragging the target object to a first preset area;
and the second execution module is used for executing a second preset function when the first operation is dragging the target object to a second preset area.
According to an aspect of the present disclosure, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the target object control method of any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform any one of the above-described target object control methods via execution of the executable instructions.
According to the target object control method and the target object control device of the embodiment of the invention, the first operation aiming at the target object display interface is detected; then, when the first operation is that the target object is dragged to a first preset area, executing a first preset function; and when the first operation is dragging the target object to the second preset area, executing the second preset function, so that the user can drag the target object to the first preset area or the second preset area according to the own needs, and then correspondingly executing the first preset function or the second preset function without adding other operations to execute the first preset function or the second preset function, thereby remarkably reducing the execution complexity of the first preset function or the second preset function, increasing the diversity of interactive operations, and bringing better experience for the user.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically illustrates a flow chart of a target object control method according to an embodiment of the present invention;
FIG. 2 is a diagram schematically illustrating an example of an application scenario of a target object control method according to an embodiment of the present invention;
FIG. 3 is a diagram schematically illustrating an example of an application scenario of another target object control method according to an embodiment of the present invention;
fig. 4 is a flowchart schematically illustrating a method for performing a second preset function when the first operation is dragging the target object to a second preset area according to an embodiment of the present invention;
FIG. 5 is a diagram schematically illustrating an example of an application scenario of another target object control method according to an embodiment of the present invention;
FIG. 6 is a diagram schematically illustrating an example of an application scenario of another target object control method according to an embodiment of the present invention;
FIG. 7 schematically shows a block diagram of a target object control apparatus according to an embodiment of the present invention;
fig. 8 schematically illustrates a computer-readable storage medium for implementing the above-described target object control method according to an embodiment of the present invention;
fig. 9 schematically illustrates an electronic device for implementing the above-described target object control method according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to an embodiment of the present invention, a target object control method, a target object control apparatus, a computer-readable storage medium, and an electronic device are provided.
In this document, any number of elements in the drawings is by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that in the same software, when the user quits the full-screen viewing, two or more interactive operations cannot be simultaneously provided for the video, so that the interactive operation is single in form, and the user experience is poor; in addition, when a user can only perform a closing operation on a video being played in a certain software only supporting the closing operation, if the video needs to be watched again, the video needs to be opened again, so that the watching process is complicated; in addition, when a user can only perform small-window floating operation on a video being played in a piece of software that only supports small-window floating playing, if the video needs to be closed, the video needs to be closed in a way of closing the software, so that the closing process is complicated.
In view of the above, the basic idea of the present invention is: on one hand, a first preset function is executed by detecting a first operation aiming at a target object display interface and when the first operation is dragging the target object to a first preset area; executing a second preset function when the first operation is dragging the target object to a second preset area; the problem that two or more than two kinds of interactive operation cannot be provided for a target object at the same time in the prior art, so that the form of the interactive operation is single is solved, the diversity of the interactive operation is improved, and the user experience is improved; on the other hand, when the first operation is dragging the target object to the first preset area, executing a first preset function; when the first operation is dragging the target object to the second preset area, the second preset function is executed, steps required for executing the first preset function and the second preset function on the target object are reduced, and user time is saved; on the other hand, when the first operation is dragging the target object to the first preset area, executing a first preset function; when the first operation is that the target object is dragged to the second preset area, the second preset function is executed, so that a user can directly drag different target objects to the preset area with the corresponding preset function according to self needs, and the user experience is further improved.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Exemplary method
A target object control method according to an exemplary embodiment of the present invention is described below with reference to fig. 1.
Referring to fig. 1, the target object control method may include the steps of:
and S110, detecting a first operation aiming at a target object display interface.
And S120, executing a first preset function when the first operation is to drag the target object to a first preset area.
And S130, when the first operation is to drag the target object to a second preset area, executing a second preset function.
In a target object control method of an exemplary embodiment of the present invention, an interface is displayed by detecting a first operation for a target object; then, when the first operation is that the target object is dragged to a first preset area, executing a first preset function; and when the first operation is dragging the target object to the second preset area, executing the second preset function, so that the user can drag the target object to the first preset area or the second preset area according to the own needs, and then correspondingly executing the first preset function or the second preset function without adding other operations to execute the first preset function or the second preset function, thereby remarkably reducing the execution complexity of the first preset function or the second preset function, increasing the diversity of interactive operations, and bringing better experience for the user.
Hereinafter, each step in the target object control method according to the exemplary embodiment of the present invention will be explained and explained in detail with reference to the drawings.
Referring to fig. 1, in step S110, a first operation for displaying an interface with respect to a target object is detected.
In this example embodiment, the target object may be a video, a picture, a document, or the like, and this example does not specially limit this; further, the first operation may be a touch operation of the user on the target object through a finger or other medium, and the first operation is a continuous operation. In the present exemplary embodiment, the target object may be exemplified as a video. Specifically, referring to fig. 2, first, when a user browses a certain video of interest, the user may click the video to view the video in a full screen, which may be shown in a right-side schematic diagram in fig. 2; further, as shown in fig. 3, when the user needs to continue browsing other content, any area of the display interface of the video may be touched, and after the display interface receives the touch operation, the identifier of the touch operation may be displayed in the video, where the touch identifier of the touch operation may be shown with reference to a dot in fig. 3.
With continued reference to fig. 1, in step S120, when the first operation is dragging the target object to a first preset area, a first preset function is executed.
In this example embodiment, when the first operation is dragging the target object to the first preset area, a first preset function is performed, wherein the first preset function is a close function. Specifically, referring to fig. 3, when the operation track of the first operation is the direction indicated by the arrow in fig. 3, that is, the first operation is to drag the target object to a first preset area (an area corresponding to the dotted line in fig. 3), the color of the first preset area changes, for example, the color of the currently played content of the video may change to a color that is greatly different from the color of the currently played content, for example, the color changes from gray to red, and when the color changes, it indicates that the target object has been dragged to the first preset area, and then a closing function is performed on the target object dragged to the first preset area, so as to close the video. With continued reference to fig. 1, in step S130, when the first operation is dragging the target object to a second preset area, a second preset function is executed.
In an exemplary embodiment of the present disclosure, when the first operation is dragging the target object to the second preset area, the second preset function is performed, wherein the second preset function may include a small window, fast forward, fast backward, store, favorite, mark, and edit, and the like.
Further, in the present exemplary embodiment, if the dragged target object does not reach the first preset area or the second preset area, and the operation is abandoned, the target object is restored to the original state (for example, the normal playing state of the video may be maintained), and if the dragged target object reaches the first preset area, the hand is not loosened, and the dragging of the target object continues to reach the second preset area, and then the second preset function is executed; if the dragged target object reaches the first preset area or the second preset area, the original state of the target object can be kept if the hand is not loosened and the dragged target object continues to be dragged back to the original display interface, and if the dragged target object reaches the first preset area or the second preset area, the original state of the target object can be kept if the hand is not loosened and the dragged target object continues to be dragged out of the display interface until the first operation is not detected, the first preset function or the second preset function is not executed, and the original state of the target object can be kept. By the aid of the scheme, the problem of poor user experience caused by that the target object is closed or other functions are directly executed due to misoperation of the user is avoided, and user experience is further improved.
Further, in this example embodiment, since the second preset function may include a plurality of second preset functions, in order to better enhance user experience and enable a user to be more convenient and faster in the using process, before the second preset function is executed, the target object control method may further include: and establishing a second preset function table of the target object according to the attribute type of the target object, wherein the second preset function table of the target object comprises the attribute type of the target object and a second preset function which has a corresponding relation with the attribute type. In detail:
when the attribute type of the target object is video, the second preset function may include small window, fast forward, fast backward, storage, collection, marking, and the like; when the attribute type of the target object is a picture, the second preset function may include small window, storage, collection, marking, editing, and the like; when the attribute type of the target object is text, the second preset function may include a widget, storage, collection, marking, and editing, and the like. It should be added here that the second preset function may also be increased or decreased according to the attribute type of the target object, and this example does not specially limit this.
Further, according to the attribute type of the target object, a second preset function table of the target object may be specifically established as shown in table 1 below:
TABLE 1
Figure BDA0001979985350000081
Figure BDA0001979985350000091
Fig. 4 is a flowchart schematically illustrating a method for performing a second preset function when the first operation is dragging the target object to a second preset area. Referring to fig. 4, when the first operation is dragging the target object to the second preset region, performing the second preset function may include steps S410 to S440, which will be described in detail below.
In step S410, the attribute type of the target object is detected.
In step S420, a second preset function having a corresponding relationship with the attribute type of the target object is displayed according to the second preset function table.
In step S430, a selection operation of the user for the second preset function is obtained.
In step S440, according to the selection operation, a second preset function targeted by the selection operation is executed.
Next, steps S410 to S440 will be further explained and explained. First, referring to fig. 5, when an operation track of a first operation is a direction indicated by an arrow in fig. 5, that is, the first operation is to drag the target object to a second preset region (a region corresponding to the small window in fig. 5), a color of the second preset region changes, for example, the color of the currently played content of the video may change to a color that is greatly different from the color of the currently played content, such as a color change from gray to blue, and when the color changes, it indicates that the target object has been dragged to the second preset region, and then an attribute type of the target object is detected according to a file format of the target object dragged to the second preset region, for example, the detected attribute type of the target object is a video; then, according to the second preset function table, a second preset function having a corresponding relationship with the attribute type of the target object is displayed, for example, the second preset function having a corresponding relationship with the video may be displayed; further, a selection operation of the user for the second preset function can be obtained; and finally, executing a second preset function aimed by the selection operation according to the selection operation of the user. For example, when the selection operation of the user for the second preset function is storing, the video may be directly stored, when the selection operation of the user for the second preset function is a small window, the video may be directly displayed in the small window (a specific example diagram may refer to fig. 6), when the selection operation of the user for the second preset function is fast forward or fast backward, the time of fast forward and fast backward may be provided for the user, and then the video is fast forward or fast backward to the corresponding time according to the fast forward and fast backward time selected by the user.
It should be understood that the terms "first" and "second" used in the present invention are used for distinguishing purposes only and are not meant to limit the actual contents.
In summary, the main advantage of the target object control method provided by the present invention is that, on one hand, by detecting a first operation on a target object display interface, and when the first operation is dragging the target object to a first preset area, a first preset function is executed; executing a second preset function when the first operation is dragging the target object to a second preset area; the problem of can not provide two kinds or more than two kinds of interoperation to the target object simultaneously among the prior art, and then lead to the form of interoperation comparatively single is solved, interoperation's variety has been promoted, and then user experience has been promoted. On the other hand, when the first operation is dragging the target object to the first preset area, executing a first preset function; when the first operation is dragging the target object to the second preset area, the second preset function is executed, steps required for executing the first preset function and the second preset function on the target object are reduced, and time of a user is saved. In yet another aspect of the present invention,
executing a first preset function when the first operation is dragging the target object to a first preset area;
when the first operation is that the target object is dragged to the second preset area, the second preset function is executed, so that a user can directly drag different target objects to the preset area with the corresponding preset function according to self needs, and the user experience is further improved.
Exemplary devices
Having introduced the target object control method of the exemplary embodiment of the present invention, next, a target object control apparatus of the exemplary embodiment of the present invention will be described with reference to fig. 7.
Referring to fig. 7, the target object controlling apparatus according to an exemplary embodiment of the present invention may include a detecting module 710, a first executing module 720, and a second executing module 730. Wherein:
the detection module 710 may be configured to detect a first operation of displaying an interface for a target object.
The first executing module 720 may be configured to execute a first preset function when the first operation is dragging the target object to a first preset area.
The second executing module 730 may be configured to execute a second preset function when the first operation is to drag the target object to a second preset area.
According to an exemplary embodiment of the present disclosure, the first preset function is a turn-off function.
According to an exemplary embodiment of the present disclosure, the target object control apparatus further includes:
the preset function table establishing module may be configured to establish a second preset function table of the target object according to the attribute type of the target object, where the second preset function table of the target object includes the attribute type of the target object and a second preset function having a corresponding relationship with the attribute type.
According to an exemplary embodiment of the present disclosure, the second preset function includes one or more of a widget, fast forward, fast reverse, storage, favorite, mark, edit.
According to an exemplary embodiment of the disclosure, the second execution module may be further configured to:
detecting the attribute type of the target object;
displaying a second preset function having a corresponding relation with the attribute type of the target object according to the second preset function table;
acquiring selection operation of a user for the second preset function;
and executing a second preset function aimed by the selection operation according to the selection operation.
According to an exemplary embodiment of the present disclosure, the first operation is a continuous operation.
According to an exemplary embodiment of the present disclosure, the target object control apparatus further includes:
the first control module may be configured to change a color of a first preset area when the target object is dragged to the first preset area.
The second control module may be configured to change a color of a second preset area when the target object is dragged to the second preset area.
Exemplary storage Medium
Having described the target object control method and the target object control apparatus according to the exemplary embodiments of the present invention, a storage medium according to an exemplary embodiment of the present invention will be described with reference to fig. 8.
Referring to fig. 8, a program product 810 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. For example, the computer program is executed by a processor to perform step S110 as described in FIG. 1. And S120, executing a first preset function when the first operation is to drag the target object to a first preset area. And S130, when the first operation is to drag the target object to a second preset area, executing a second preset function.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. The readable signal medium may also be any readable medium other than a readable storage medium.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN).
Exemplary electronic device
Having described the storage medium of the exemplary embodiment of the present invention, next, an electronic device of the exemplary embodiment of the present invention will be described with reference to the drawings.
Having described the storage medium of an exemplary embodiment of the present invention, next, an electronic device of an exemplary embodiment of the present invention will be described with reference to fig. 9.
The electronic device 900 shown in fig. 9 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in fig. 9, the electronic device 900 is embodied in the form of a general purpose computing device. Components of electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
Wherein the storage unit 920 stores program code, which can be executed by the processing unit 910, to cause the processing unit 910 to perform the steps according to various exemplary embodiments of the present invention described in the above section "exemplary method" of the present specification. For example, the processing unit 910 may perform step s110 as shown in fig. 1. And S120, executing a first preset function when the first operation is to drag the target object to a first preset area. And S130, when the first operation is to drag the target object to a second preset area, executing a second preset function.
The storage unit 920 may include volatile storage units such as a random access storage unit (RAM)9201 and/or a cache storage unit 9202, and may further include a read only storage unit (ROM) 9203.
Storage unit 920 may also include a program/utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The bus 930 may include a data bus, an address bus, and a control bus.
The electronic device 900 may also communicate with one or more external devices 970, such as a keyboard, a pointing device, a bluetooth device, etc., via an input/output (I/O) interface 950. Also, the electronic device 900 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 960. As shown, the network adapter 960 communicates with the other modules of the electronic device 900 via the bus 930. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although several modules or sub-modules of the target object control apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the apparatus are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (8)

1. A target object control method, comprising:
detecting a first operation aiming at a target object display interface;
executing a first preset function when the first operation is dragging the target object to a first preset area; wherein the first preset function is a shutdown function;
establishing a second preset function table of the target object according to the attribute type of the target object, wherein the second preset function table of the target object comprises the attribute type of the target object and a second preset function which has a corresponding relation with the attribute type; the second preset function comprises one or more of small window, fast forward, fast backward, storage, collection, marking and editing;
executing a second preset function when the first operation is dragging the target object to a second preset area; wherein the executing the second preset function comprises:
detecting the attribute type of the target object;
displaying a second preset function having a corresponding relation with the attribute type of the target object according to the second preset function table;
acquiring selection operation of a user for the second preset function;
and executing a second preset function aimed by the selection operation according to the selection operation.
2. The target object control method according to claim 1, wherein the first operation is a continuous operation.
3. The target object control method according to claim 1, wherein the target object control method further comprises:
when the target object is dragged to a first preset area, the color of the first preset area changes; and
when the target object is dragged to a second preset area, the color of the second preset area changes.
4. A target object control apparatus comprising:
the detection module is used for detecting a first operation aiming at a target object display interface;
the first execution module is used for executing a first preset function when the first operation is dragging the target object to a first preset area; wherein the first preset function is a shutdown function;
the preset function table establishing module may be configured to establish a second preset function table of the target object according to the attribute type of the target object, where the second preset function table of the target object includes the attribute type of the target object and a second preset function having a corresponding relationship with the attribute type; the second preset function comprises one or more of small window, fast forward, fast backward, storage, collection, marking and editing;
the second execution module is used for executing a second preset function when the first operation is dragging the target object to a second preset area; wherein the second execution module is further configured to:
detecting the attribute type of the target object;
displaying a second preset function having a corresponding relation with the attribute type of the target object according to the second preset function table;
acquiring selection operation of a user for the second preset function;
and executing a second preset function aimed by the selection operation according to the selection operation.
5. The target object control apparatus according to claim 4, wherein the first operation is a continuous operation.
6. The target object control apparatus according to claim 4, wherein the target object control apparatus further comprises:
the first control module may be configured to change a color of a first preset area when the target object is dragged to the first preset area;
the second control module may be configured to change a color of a second preset area when the target object is dragged to the second preset area.
7. A storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the target object control method of any one of claims 1 to 3.
8. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the target object control method of any one of claims 1 to 3 via execution of the executable instructions.
CN201910145877.2A 2019-02-27 2019-02-27 Target object control method and device, storage medium and electronic equipment Active CN110062287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910145877.2A CN110062287B (en) 2019-02-27 2019-02-27 Target object control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910145877.2A CN110062287B (en) 2019-02-27 2019-02-27 Target object control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110062287A CN110062287A (en) 2019-07-26
CN110062287B true CN110062287B (en) 2021-10-19

Family

ID=67316554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910145877.2A Active CN110062287B (en) 2019-02-27 2019-02-27 Target object control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110062287B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110633045B (en) * 2019-09-26 2021-03-02 维沃移动通信有限公司 Data processing method and electronic equipment
CN112714363B (en) * 2019-10-26 2022-08-12 腾讯科技(深圳)有限公司 Video browsing method, device, terminal and storage medium
CN112114722B (en) * 2020-09-16 2022-04-08 北京嘀嘀无限科技发展有限公司 Suspension window control method and system
CN115460450A (en) * 2022-09-09 2022-12-09 北京有竹居网络技术有限公司 Screen recording method, device, electronic equipment, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587489A (en) * 2009-06-12 2009-11-25 北京搜狗科技发展有限公司 Method and system for exhibiting specific page resource for browser
CN102968259A (en) * 2012-10-29 2013-03-13 华为技术有限公司 Program execution method and device
CN103369048A (en) * 2013-07-19 2013-10-23 广州市幸福网络技术有限公司 Content sharing method and system based on dragging operations
CN103870120A (en) * 2014-02-24 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN105956101A (en) * 2016-05-04 2016-09-21 深圳市永兴元科技有限公司 Webpage content processing method and apparatus
CN106658116A (en) * 2016-12-27 2017-05-10 努比亚技术有限公司 Playing control method and device and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015032253A (en) * 2013-08-06 2015-02-16 ソニー株式会社 Information processing device and information processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587489A (en) * 2009-06-12 2009-11-25 北京搜狗科技发展有限公司 Method and system for exhibiting specific page resource for browser
CN102968259A (en) * 2012-10-29 2013-03-13 华为技术有限公司 Program execution method and device
CN103369048A (en) * 2013-07-19 2013-10-23 广州市幸福网络技术有限公司 Content sharing method and system based on dragging operations
CN103870120A (en) * 2014-02-24 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN105956101A (en) * 2016-05-04 2016-09-21 深圳市永兴元科技有限公司 Webpage content processing method and apparatus
CN106658116A (en) * 2016-12-27 2017-05-10 努比亚技术有限公司 Playing control method and device and terminal

Also Published As

Publication number Publication date
CN110062287A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN107172454B (en) Video recommendation method, medium, device and computing equipment
CN110062287B (en) Target object control method and device, storage medium and electronic equipment
RU2589335C2 (en) Dragging of insert
US7434174B2 (en) Method and system for zooming in and out of paginated content
US20160210027A1 (en) Closing Applications
US9218328B2 (en) Display of supplementary information on a graphical user interface
US20180024730A1 (en) Custom widgets based on graphical user interfaces of applications
US20190317658A1 (en) Interaction method and device for a flexible display screen
WO2019015582A1 (en) Information notification method and mobile terminal
CN106844181B (en) Method, system and mobile terminal for recording user behavior
CN109189954B (en) Content recommendation method and device
CN111097168B (en) Display control method and device in game live broadcast, storage medium and electronic equipment
US20160345049A1 (en) Method and device for switching channel
CN109104631B (en) Video display method and device
CN107977155B (en) Handwriting recognition method, device, equipment and storage medium
CN109885781B (en) Mixed page unified browsing method, device, equipment and storage medium
JP2014504417A (en) Managing an immersive environment
WO2024037418A1 (en) Display method and apparatus, electronic device, and readable storage medium
US20230244363A1 (en) Screen capture method and apparatus, and electronic device
US20160345059A1 (en) Method and device for switching channel
CN112911401A (en) Video playing method and device
CN111918102A (en) Bullet screen management method, bullet screen management device, bullet screen management equipment and storage medium
US11054977B2 (en) Devices, methods, and computer program for displaying user interfaces
US20190179508A1 (en) Touchscreen device
US20130311934A1 (en) Method for displaying multi menu pages in one window of multi-touch-sensitive display unit of computing device and computing device applying the method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant