CN105677189B - Method and device for controlling application - Google Patents

Method and device for controlling application Download PDF

Info

Publication number
CN105677189B
CN105677189B CN201610095327.0A CN201610095327A CN105677189B CN 105677189 B CN105677189 B CN 105677189B CN 201610095327 A CN201610095327 A CN 201610095327A CN 105677189 B CN105677189 B CN 105677189B
Authority
CN
China
Prior art keywords
data
playing
played
preview
sliding
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
CN201610095327.0A
Other languages
Chinese (zh)
Other versions
CN105677189A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610095327.0A priority Critical patent/CN105677189B/en
Publication of CN105677189A publication Critical patent/CN105677189A/en
Priority to PCT/CN2017/074137 priority patent/WO2017140273A1/en
Application granted granted Critical
Publication of CN105677189B publication Critical patent/CN105677189B/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/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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a method and a device for controlling application, comprising the following steps: acquiring a pressing operation acting on an interface of a data set to be played, wherein the data set to be played is an audio data set and/or a video data set; the method comprises the steps of obtaining pressing force corresponding to pressing operation, displaying preview data of data to be played corresponding to the pressing operation when the pressing force meets preset conditions corresponding to previewing, wherein the preview data is at least one of climax fragments of the data to be played and associated data corresponding to the data to be played, displaying the preview data of the data to be played by identifying the pressing force, enabling a user to conveniently check the preview data, quickly knowing the data to be played and improving convenience of playing data selection.

Description

Method and device for controlling application
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling an application.
Background
With the development of computer technology, various network applications are more and more common in people's daily life, and users often obtain interesting contents by playing various data in sequence due to the fact that the users play various network applications for entertainment and work, such as listening to songs through a music player, and the like.
The existing application displays various data items to be played for a user to select, the user drags a progress bar to control the playing progress to play the data, valuable or interesting data is selected according to the played content, a large amount of operation needs to be performed at an accurate position, and the operation is very inconvenient.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method and apparatus for controlling applications, which improves convenience of playing data selection.
A method of controlling an application, the method comprising:
acquiring a pressing operation acting on an interface of a data set to be played, wherein the data set to be played is an audio data set and/or a video data set;
and acquiring pressing force corresponding to the pressing operation, and displaying preview data of the data to be played corresponding to the pressing operation when the pressing force meets a preset condition corresponding to preview, wherein the preview data is at least one of a climax section of the data to be played and associated data corresponding to the data to be played.
An apparatus for controlling an application, the apparatus comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a pressing operation acting on a data set interface to be played, and the data set to be played is an audio data set and/or a video data set;
and the preview module is used for acquiring the pressing force corresponding to the pressing operation, and displaying preview data of the data to be played corresponding to the pressing operation when the pressing force meets a preset condition corresponding to preview, wherein the preview data is at least one of a climax section of the data to be played and associated data corresponding to the data to be played.
The method and the device for controlling the application acquire the pressing strength corresponding to the pressing operation by acquiring the pressing operation acted on the interface of the data set to be played, wherein the data set to be played is an audio data set and/or a video data set, when the pressing force meets the preset condition corresponding to the preview, displaying the preview data of the data to be played corresponding to the pressing operation, wherein the preview data is at least one of the climax section of the data to be played and the associated data corresponding to the data to be played, the interaction between the user and the application is increased by the third dimension of the Z-axis pressure induction from the two dimensions of the mobile phone screen, the preview data of the data to be played is displayed by identifying the pressing degree, the data to be played is matched with the corresponding preview data in advance, the user does not need to drag the progress to preview blindly, the purpose is strong, the user can quickly know the data to be played, and the convenience of selecting the playing data is improved.
Drawings
FIG. 1 is a diagram of an application environment for a method of controlling an application in one embodiment;
FIG. 2 is a diagram illustrating an internal structure of the terminal of FIG. 1 according to one embodiment;
FIG. 3 is a flow diagram of a method of controlling an application in one embodiment;
FIG. 4 is a flowchart illustrating preview data of data to be played corresponding to a pressing operation in one embodiment;
FIG. 5 is a diagram illustrating an embodiment of a push operation received by the to-be-played data set interface;
FIG. 6 is a schematic diagram of an interface showing preview data in one embodiment;
FIG. 7 is a diagram of a playback interface in one embodiment;
FIG. 8 is a flow diagram of controlling playback parameters in one embodiment;
FIG. 9 is a flow diagram of controlling playback parameters based on swipe operation data, under an embodiment;
FIG. 10 is a diagram illustrating a shortcut control interface displayed in response to a touch operation in one embodiment;
FIG. 11 is a diagram illustrating an embodiment of controlling playback parameters according to a slide track;
FIG. 12 is a diagram illustrating control of playback parameters according to a slide track in another embodiment;
FIG. 13 is a block diagram showing the structure of an apparatus for controlling an application in one embodiment;
FIG. 14 is a block diagram showing the construction of an apparatus for controlling an application in another embodiment;
FIG. 15 is a block diagram that illustrates the structure of a preview module in one embodiment;
FIG. 16 is a block diagram showing the construction of an apparatus for controlling an application in still another embodiment;
FIG. 17 is a block diagram showing the construction of an apparatus for controlling an application in still another embodiment;
fig. 18 is a block diagram showing the structure of a play control module in one embodiment.
Detailed Description
FIG. 1 is a diagram of an application environment in which a method for controlling an application operates, according to one embodiment. As shown in fig. 1, the application environment includes a terminal 110 and a server 120, wherein the terminal 110 and the server 120 communicate via a network.
The terminal 110 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like. The terminal 110 sends a request, such as a preview data request, to the server 120 over the network, and the server 120 may respond to the request sent by the terminal 110, which may be a single server or a cluster of servers.
In one embodiment, the internal structure of the terminal 110 in fig. 1 is as shown in fig. 2, and the terminal 110 includes a processor, a graphic processing unit, a storage medium, a memory, a network interface, a display screen, and an input device, which are connected through a system bus. The storage medium of the terminal 110 stores an operating system, and further includes an application control device, which is used to implement a method for controlling an application suitable for the terminal. The processor is used to provide computational and control capabilities that support the operation of the entire terminal 110. The graphic processing unit in the terminal 110 is configured to provide at least a rendering capability of a display interface, the memory provides an environment for running a device in the storage medium for controlling the application, and the network interface is configured to perform network communication with the server 120, such as sending a preview request to the server 120, receiving preview data returned by the server 120, and the like. The display screen is used for displaying an application interface and the like, such as displaying a preview interface and the like, and the input device is used for receiving commands or data input by a user and the like. The terminal 110 has a touch screen, and the display screen and the input device may be touch screens, and receive a touch operation of a user, and have a pressure sensor, which may acquire a degree of pressing force of the user.
As shown in fig. 3, in one embodiment, a method for controlling an application is provided, which is exemplified by a terminal applied in the application environment, and includes the following steps:
step S210, a pressing operation acting on an interface of a data set to be played is obtained, where the data set to be played is an audio data set and/or a video data set.
In particular, the to-be-played data set interface may be provided by different applications, such as a music player application, a social application, and the like. The data set to be played comprises a plurality of data to be played, and can be displayed in a list or other modes, and the data to be played can be of a plurality of different types, such as audio data, video data and audio-video mixed data. The pressing operation can be an operation performed by a finger or a touch pen, and can be a single-point pressing operation or a multi-point pressing operation, and the mobile terminal can detect the pressing operation acting on the interface of the data set to be played in real time or periodically.
Step S220, obtaining a pressing force corresponding to the pressing operation, and displaying preview data of the data to be played corresponding to the pressing operation when the pressing force meets a preset condition corresponding to the preview, wherein the preview data is at least one of a climax section of the data to be played and associated data corresponding to the data to be played.
In particular, the mobile terminal may read pressure sensor data from a corresponding pressure sensor through an interface that reads the pressure sensor data, wherein the pressure sensor data may be sensor data of a plurality of pressure sensors. And obtaining the pressing force corresponding to the pressing operation according to the data of the pressure sensor, and for the iOS operating system, sensing Touch control with different pressure sensing forces through a screen by using a 3D Touch technology. If the multi-point pressing is carried out, the pressing force degrees corresponding to the pressing points can be obtained respectively, different preview preset conditions are set for the different pressing points, and whether the pressing force degrees corresponding to the pressing points meet the preset conditions corresponding to the preview or not is judged respectively. Or calculating according to the pressing force of each pressing point to obtain the target pressing force, and then judging whether the target pressing force meets the preset condition corresponding to the preview. The preset condition corresponding to the preview can be customized, for example, if the pressing force is greater than the first force threshold and less than the second force threshold, the preset condition is satisfied. The preview data is only shown if a preset condition corresponding to the preview is met.
The corresponding data to be played can be determined by the position or identification of the pressing operation, and the preview data can be one or a combination of audio data, video data, text data and image data. The preview data is matched with the data to be played in advance, the preview data can be prestored so as to be directly played, and can be a part of the data to be played or data associated with the data to be played. In an embodiment, preview data is extracted according to interactive response data of the data to be played, for example, interactive response data corresponding to different playing times of the data to be played, such as a praise amount, a rating, comment information, a bullet screen content, and the like, are acquired, popularity corresponding to the different playing times is calculated, and a data segment to be played with high popularity is extracted as the preview data. When the data to be played is audio data, the data segment to be played can be extracted as preview data by adopting a related extraction algorithm based on the lyric occurrence frequency, the audio energy and the like, and the data segment to be played can also be artificially extracted as preview data according to the content of the data to be played. The data associated with the data to be played may also be one or a combination of video data, audio data, text data, image data, such as artist's avatar, album art, introduction of the data to be played, etc. When the preview data is displayed, the interface can be switched to the preview interface from the data set interface to be played, the display mode of the preview data on the preview interface can be customized, the preview interface can be displayed on the current interface in a pop-up window mode, the current interface is fuzzified and virtualized, interface switching and skipping are not needed, and interactive data are reduced.
The climax section is the section which can reflect the substantial content of the data to be played or has the highest popularity, the preview data is set as the climax section of the data to be played, so that the user can quickly know the data to be played, whether the content is the content which the user is interested in is determined, and the speed of selecting the data to be played is improved. The associated data can be data brief introduction, actor information, singer information, posters and the like, and the user can quickly and intuitively know the data to be played.
In this embodiment, by obtaining the pressing operation acting on the interface of the data set to be played, where the data set to be played is an audio data set and/or a video data set, the pressing strength corresponding to the pressing operation is obtained, when the pressing force meets the preset condition corresponding to the preview, displaying the preview data of the data to be played corresponding to the pressing operation, wherein the preview data is at least one of the climax section of the data to be played and the associated data corresponding to the data to be played, the interaction between the user and the application is increased by the third dimension of the Z-axis pressure induction from the two dimensions of the mobile phone screen, the preview data of the data to be played is displayed by identifying the pressing degree, the data to be played is matched with the corresponding preview data in advance, the user does not need to drag the progress to preview blindly, the purpose is strong, the user can quickly know the data to be played, and the convenience of selecting the playing data is improved.
In one embodiment, before step S210, the method further includes: and registering a preview callback event to the operating system, wherein the preview callback event is preview data of the data to be played corresponding to the display pressing operation, and the preview callback event has a corresponding preview callback condition.
When the pressing force meets the preset condition corresponding to the preview, the step of displaying the preview data of the data to be played corresponding to the pressing operation comprises the following steps: and executing the preview callback event when the pressing force meets the preview callback condition.
Specifically, an interface provided by the calling system registers preview callback events to the operating system, and each preview callback event has a corresponding callback condition. If 2 callback events are registered, one is a light press preview callback event, and the other is a heavy press opening callback event, wherein the preview callback condition corresponding to the light press preview callback event is that the pressing force degree is greater than a first threshold value and less than a second threshold value, and the opening callback condition corresponding to the heavy press opening callback event is that the pressing force degree is greater than the second threshold value, wherein the second threshold value is greater than the first threshold value. Therefore, the application can call different callback events according to the operation intensity of the user to complete different responses. If the operating system realizes the call-back event, the call-back event can be realized by directly adopting an interface provided by the system, for example, an iOS operating system provides a Peer operation and a Pop operation of 3D Touch, the Peer operation is a preview event, the Pop operation is an open event, the preview operation and the open operation can be directly called, and if the operating system is not realized, the specific operation of the call-back event can be realized by self-definition. By registering the callback event with the operating system, the callback event can be automatically executed when the callback condition of the callback event arrives, and the method is quick and convenient.
In an embodiment, as shown in fig. 4, the step of displaying the preview data of the data to be played corresponding to the pressing operation in step S220 includes:
step S221, acquiring corresponding target data to be played from the data set to be played according to the position of the pressing operation.
Specifically, the target data to be played is obtained according to the position of the pressing operation, where the position of the pressing operation may be the name of the data to be played, or a corresponding virtual key, an image corresponding to the data to be played, or the like. If the data set to be played is a list of a plurality of song names and the position of the pressing operation is on the first song name, the target data to be played is the first song.
Step S222, sending a preview data request corresponding to the target to-be-played data to the server.
Specifically, the preview data request includes an identifier of the target to-be-played data, where the identifier may be a name, an identifier number, or the like, so that the server can find the associated preview data according to the identifier.
Step S223, receiving the preview data corresponding to the target data to be played back from the server, and playing the preview data.
Specifically, the server may pre-establish a corresponding relationship between the target data to be played and the preview data, so as to search the corresponding preview data according to the identifier of the target data to be played, and return the preview data to the terminal, so that the terminal can quickly obtain the preview data and play the preview data. Due to the fact that the storage space of the terminal is limited, the storage space of the server is large, the hardware capability is strong, the preview data corresponding to the target data to be played is obtained from the server, the preview data does not need to be stored in the terminal, and the terminal is space-saving, rapid and convenient to use.
In an embodiment, before the step of sending the preview data request corresponding to the target data to be played to the server, the method further includes: judging whether preview data corresponding to the target data to be played exists in the terminal cache, if so, directly obtaining the preview data from the terminal cache, and if not, entering a step of sending a preview data request corresponding to the target data to be played to a server.
Specifically, if the preview data corresponding to the target data to be played already exists in the terminal cache, the preview data can be quickly acquired from the cache without being acquired again from the server, and the speed of acquiring the preview data is further improved.
In one embodiment, after step S220, the method further includes: and detecting the pressing force corresponding to the pressing operation, judging whether the pressing force meets a preset condition corresponding to playing, and if so, playing the data to be played.
Specifically, if the pressing force corresponding to the pressing operation is increased to reach the preset condition corresponding to the playing, the data to be played can be played. And the data to be played can be determined by the user through the preview data, and the data can be played quickly.
In one embodiment, after step S220, the method further includes: and if the pressing operation is cancelled, stopping displaying the preview data, and returning to the interface of the data set to be played.
Specifically, if the pressing operation is cancelled, it indicates that the user is not interested in the current data to be played corresponding to the preview data, and the user can quickly return to the data set interface to be played, so that the user can conveniently continue to select the interested playing data.
In a specific embodiment, the interface of the data set to be played is a song list, the preview data is a climax fragment of the song and corresponding lyrics, and the specific process of the method for controlling the application is as follows:
1. as shown in fig. 5, entering a data set interface to be played, displaying a song list 310, receiving a press on a first song 311, starting to play a climax segment corresponding to the first song when the press degree is light press, popping up a preview window 320 on the current interface, and as shown in fig. 6, displaying lyrics corresponding to the climax segment on the preview window 320.
2. If the light pressure state is kept, the playing state is continuously previewed, if the light pressure is cancelled, the interface of the data set to be played is returned, the song list is continuously displayed, if the pressing force degree is increased and becomes the heavy pressure, the interface enters the playing interface 330, as shown in fig. 7, the application can play from the starting position of the song, and simultaneously displays the corresponding lyrics.
In one embodiment, as shown in fig. 8, the method further comprises:
step S410, in the process of playing data, monitoring a touch operation applied to the playing interface, and obtaining an operation strength corresponding to the touch operation.
Specifically, the method provided by the operating system may be invoked to monitor the touch operation of the user, where the touch operation may be a single-point touch or a multi-point touch, and the pressure sensor data may be read from the corresponding pressure sensor through the interface for reading the pressure sensor data, where the pressure sensor data may be sensor data of a plurality of pressure sensors, and the operation strength corresponding to the touch operation is obtained according to the pressure sensor data.
Step S420, determining whether the operation strength satisfies a preset control condition, and if so, entering step S430.
Specifically, if the touch panel is multi-point touch, the operation strength corresponding to each touch point can be obtained respectively, different preset control conditions are set for different touch points, and whether the operation strength corresponding to each touch point meets the preset control conditions is judged respectively. And calculating according to the touch force of each touch point to obtain a target touch force, and judging whether the target touch force meets a control preset condition, wherein the control preset condition can be defined by users according to needs. The step S430 is only performed if the operation force satisfies the control preset condition, otherwise, no processing is performed.
Step S430, obtaining the sliding operation data acting on the playing interface, and controlling the playing parameter of the playing data according to the sliding track direction corresponding to the sliding operation data, where the playing parameter includes at least one of a playing progress and a playing volume.
Specifically, the slide operation data includes a plurality of coordinate data arranged at intervals on the slide track, and the slide track direction, for example, the direction of leftward sliding and the direction of rightward sliding, can be identified according to the coordinate data in the slide track data, and for multi-point touch, a plurality of slide track directions can be identified, and the playing parameters are controlled together. And determining the trend of the sliding track according to the sliding direction of each touch point, such as gathering sliding, diverging sliding and the like, and controlling the playing parameters through the trend of the sliding track. The corresponding relationship between the direction or the trend of the sliding track and the playing parameters can be set in advance in a self-defined manner, for example, sliding left or converging sliding corresponds to fast backward of the playing progress, sliding right or diverging sliding corresponds to fast forward of the playing progress, and the corresponding playing parameters are controlled to be correspondingly adjusted according to the corresponding relationship between the direction or the trend of the sliding track and the playing parameters. In one embodiment, if the sliding track direction is a first direction, the playing progress is controlled to be fast-forward, and if the sliding track direction is a second direction, the playing progress is controlled to be fast-backward, wherein the first direction and the second direction are opposite directions. And if the sliding track direction is a third direction, controlling the playing volume to increase, and if the sliding track direction is a fourth direction, controlling the playing volume to decrease, wherein the third direction and the fourth direction are opposite directions.
In one embodiment, after the step of controlling the preset condition if the operation strength satisfies the preset condition, the method further includes: and displaying a predefined floating image at the position of the touch operation, and displaying play parameter adjustment prompt information in the vicinity of the floating image.
Specifically, the floating image may be a self-defined pattern such as a circle with the current touch point as the center of a circle and a preset length as the radius, the floating image may be fixed or move along with the position of the touch operation, and play parameter adjustment prompt information is displayed near the floating image, so that a user can conveniently adjust the play parameters near the touch point at any time. The playing parameter adjustment prompt information can be character information, icons, animations and the like, so that a user can conveniently perform corresponding sliding operation according to the prompt information, and the playing parameter adjustment is correctly realized. And the state of the playing parameter adjustment prompt message can be changed according to the adjustment of the corresponding playing parameter, wherein the state change comprises brightness change, color change, animation effect change and the like.
In this embodiment, the playing parameters are adjusted according to the sliding track direction when the operation strength meets the preset condition, so that the adjustment of the playing is not limited to a fixed position, the playing can be performed at any position of the playing interface, and the adjustment can be performed according to the track direction, which is convenient and fast, and the user can set the adjustment mode according to the habit of the user, thereby improving the convenience and the customization of the application.
In one embodiment, as shown in fig. 9, step S430 includes:
and step S431, acquiring a sliding distance according to the sliding operation data, identifying the direction of a sliding track according to the sliding operation data when the sliding distance exceeds a preset distance threshold, and determining the playing parameters to be controlled according to the direction of the sliding track.
Specifically, by setting a preset distance threshold, the direction of the sliding track can be identified only when the sliding distance exceeds the preset distance threshold, and the probability of misoperation is reduced.
Step S432, determining an adjustment range of the to-be-controlled playing parameter according to the sliding distance and/or the sliding speed, and controlling the to-be-controlled playing parameter according to the adjustment range.
Specifically, the sliding distance and/or the sliding speed may be predefined as an independent variable, and the adjustment range of the playing parameter may be predefined as a function of the dependent variable, so as to calculate the adjustment range of the playing parameter to be controlled according to the sliding distance and/or the sliding speed. Such as the adjustment amplitude in direct proportion to the magnitude of the sliding distance and/or sliding speed. The adjustment range of the playing parameters to be controlled is determined according to the sliding distance and/or the sliding speed, so that the flexibility of the adjustment of the playing parameters is further improved.
In a specific embodiment, the adjusted playing parameters are the playing progress and the playing volume, and the specific process of controlling the playing parameters is as follows:
1. as shown in fig. 10, a touch operation applied to the play interface is monitored, and if the operation force corresponding to the touch operation is a tap, the shortcut operation interface 510 is displayed at a touch point, and the shortcut operation interface 510 includes a floating slider 511, a play progress fast forward icon 512, a play progress fast backward icon 513, a play volume increase icon 514, and a play volume decrease icon 515.
2. As shown in fig. 11, when the user slides to the left, the floating slider 511 moves to the left, and the fast-backward playing progress icon 513 lights up, indicating that fast-backward playing progress is being performed, and the lyrics scroll to the corresponding lyrics along with the fast-backward playing progress.
3. As shown in fig. 12, when the user slides up, the floating slider 511 moves up and the playback volume up icon 514 lights up, indicating that an increase in playback volume is being made.
In one embodiment, as shown in fig. 13, there is provided an apparatus for controlling an application, including:
the obtaining module 610 is configured to obtain a pressing operation applied to an interface of a data set to be played, where the data set to be played is an audio data set and/or a video data set.
The preview module 620 is configured to obtain a pressing force corresponding to the pressing operation, and when the pressing force meets a preset condition corresponding to a preview, show preview data of the data to be played corresponding to the pressing operation, where the preview data is at least one of a climax section of the data to be played and associated data corresponding to the data to be played.
In one embodiment, as shown in fig. 14, the apparatus further comprises:
the registering module 630 is configured to register a preview callback event to the operating system, where the preview callback event is preview data showing data to be played corresponding to the pressing operation, and the preview callback event has a corresponding preview callback condition.
The preview module 620 is further configured to execute a preview callback event when the pressing force satisfies the preview callback condition.
In one embodiment, as shown in FIG. 15, the preview module 620 includes:
and a target to-be-played data obtaining unit 621, configured to obtain corresponding target to-be-played data from the to-be-played data set according to the position of the pressing operation.
The sending unit 622 is configured to send a preview data request corresponding to the target to-be-played data to the server.
And the preview unit 623 is configured to receive preview data corresponding to the target data to be played back from the server, and play the preview data.
In one embodiment, as shown in fig. 16, the apparatus further comprises:
the playing module 640 is configured to detect a pressing force corresponding to the pressing operation, determine whether the pressing force satisfies a preset condition corresponding to playing, and play the data to be played if the pressing force satisfies the preset condition.
In one embodiment, as shown in fig. 17, the apparatus further comprises:
the play control module 650 is configured to monitor a touch operation applied to the play interface in a process of playing data, obtain an operation strength corresponding to the touch operation, determine whether the operation strength meets a control preset condition, if the operation strength meets the control preset condition, obtain sliding operation data applied to the play interface, and control a play parameter of the play data according to a sliding track direction corresponding to the sliding operation data, where the play parameter includes at least one of a play progress and a play volume.
In one embodiment, the playing control module 650 is further configured to display a predefined floating image at the position of the touch operation and display a playing parameter adjustment prompt message in the vicinity of the floating image if the operation strength satisfies the control preset condition.
In one embodiment, as shown in fig. 18, the play control module 650 includes:
and a to-be-controlled playing parameter determining unit 651, configured to obtain a sliding distance according to the sliding operation data, identify a sliding track direction according to the sliding operation data when the sliding distance exceeds a preset distance threshold, and determine a to-be-controlled playing parameter according to the sliding track direction.
The adjusting unit 652 is configured to determine an adjustment range of the to-be-controlled playing parameter according to the sliding distance and/or the sliding speed, and control the to-be-controlled playing parameter according to the adjustment range.
It will be understood by those skilled in the art that all or part of the processes in the methods of the embodiments described above may be implemented by hardware related to instructions of a computer program, which may be stored in a computer readable storage medium, for example, in the storage medium of a computer system, and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (16)

1. A method of controlling an application, the method comprising:
acquiring a pressing operation acting on an interface of a data set to be played, wherein the data set to be played is an audio data set and/or a video data set;
acquiring pressing force corresponding to the pressing operation, and displaying preview data of the data to be played corresponding to the pressing operation when the pressing force meets a preset condition corresponding to preview, wherein the preview data is at least one of a climax section of the data to be played and associated data corresponding to the data to be played;
after the step of displaying the preview data of the data to be played corresponding to the pressing operation, the method further includes:
detecting the pressing force corresponding to the pressing operation, judging whether the pressing force meets a preset condition corresponding to playing, and if so, playing the data to be played;
the method further comprises the following steps:
monitoring touch operation acting on a playing interface in the process of playing data;
displaying a predefined floating image at the position of the touch operation, displaying playing parameter adjustment prompt information around the floating image, and predefining a corresponding relation between the direction of the sliding operation and the playing parameters, wherein the playing parameter adjustment prompt information is used for prompting the playing parameters controlled by the direction of the sliding operation;
acquiring operation force corresponding to the touch operation, and acquiring sliding operation data of a floating image acting on the playing interface when the operation force meets a preset control condition;
and adjusting prompt information according to a playing parameter pointed by the sliding track direction corresponding to the sliding operation data, and controlling the playing parameter of the playing data, wherein the playing parameter comprises at least one of playing progress and playing volume.
2. The method according to claim 1, wherein the step of obtaining the pressing operation acting on the interface of the data set to be played is preceded by the step of:
registering a preview callback event to an operating system, wherein the preview callback event is preview data for displaying data to be played corresponding to the pressing operation, and the preview callback event has a corresponding preview callback condition;
when the pressing force meets the preset condition corresponding to the preview, the step of displaying the preview data of the data to be played corresponding to the pressing operation comprises the following steps:
and executing the preview callback event when the pressing force meets the preview callback condition.
3. The method according to claim 1, wherein the step of presenting the preview data of the data to be played corresponding to the pressing operation comprises:
acquiring corresponding target data to be played from the data set to be played according to the position of the pressing operation;
sending a preview data request corresponding to the target data to be played to a server;
and receiving preview data corresponding to the target data to be played returned by the server, and playing.
4. The method according to claim 1, wherein the detecting a pressing force degree corresponding to the pressing operation, determining whether the pressing force degree meets a preset condition corresponding to playing, and if so, playing the data to be played comprises:
and detecting the pressing force corresponding to the pressing operation, judging whether the pressing force meets a preset condition corresponding to playing, and playing the data to be played if the pressing force corresponding to the pressing operation is increased and the preset condition corresponding to playing is reached.
5. The method of claim 1, further comprising:
and changing the state of the corresponding playing parameter adjustment prompt message according to the adjustment of the playing parameter.
6. The method of claim 1, wherein displaying the predefined floating image at the location of the touch operation comprises:
and if the operation strength meets the control preset condition, displaying a predefined floating image at the position of the touch operation.
7. The method according to claim 1, wherein the step of adjusting the cue information according to the playing parameter pointed by the sliding track direction corresponding to the sliding operation data and controlling the playing parameter of the playing data comprises:
acquiring a sliding distance according to the sliding operation data, identifying a sliding track direction according to the sliding operation data when the sliding distance exceeds a preset distance threshold, adjusting prompt information according to a playing parameter pointed by the sliding track direction, and determining a playing parameter to be controlled;
and determining the adjustment amplitude of the playing parameter to be controlled according to the sliding distance and/or the sliding speed, and controlling the playing parameter to be controlled according to the adjustment amplitude.
8. An apparatus for controlling an application, the apparatus comprising:
the device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a pressing operation acting on a data set interface to be played, and the data set to be played is an audio data set and/or a video data set;
the preview module is used for acquiring the pressing force corresponding to the pressing operation, and displaying preview data of the data to be played corresponding to the pressing operation when the pressing force meets a preset condition corresponding to preview, wherein the preview data is at least one of a climax section of the data to be played and associated data corresponding to the data to be played;
the device further comprises:
the playing module is used for detecting the pressing force corresponding to the pressing operation, judging whether the pressing force meets a preset condition corresponding to playing or not, and if so, playing the data to be played;
the device also includes a play control module configured to:
monitoring touch operation acting on a playing interface in the process of playing data;
displaying a predefined floating image at the position of the touch operation, displaying playing parameter adjustment prompt information around the floating image, and predefining a corresponding relation between the direction of the sliding operation and the playing parameters, wherein the playing parameter adjustment prompt information is used for prompting the playing parameters controlled by the direction of the sliding operation;
the method comprises the steps of obtaining operation force corresponding to touch operation, judging whether the operation force meets a control preset condition or not, if the operation force meets the control preset condition, obtaining sliding operation data of a floating image acting on a playing interface, adjusting prompt information according to playing parameters pointed by a sliding track direction corresponding to the sliding operation data, and controlling playing parameters of the playing data, wherein the playing parameters comprise at least one of playing progress and playing volume.
9. The apparatus of claim 8, further comprising:
the registration module is used for registering a preview callback event to an operating system, wherein the preview callback event is preview data showing data to be played corresponding to the pressing operation, and the preview callback event has a corresponding preview callback condition;
the preview module is further configured to execute the preview callback event when the pressing force satisfies the preview callback condition.
10. The apparatus of claim 8, wherein the preview module comprises:
the target data to be played acquisition unit is used for acquiring corresponding target data to be played from the data set to be played according to the position of the pressing operation;
the sending unit is used for sending a preview data request corresponding to the target data to be played to a server;
and the preview unit is used for receiving the preview data corresponding to the target data to be played returned by the server and playing the preview data.
11. The apparatus of claim 8, wherein the playback module is configured to:
and detecting the pressing force corresponding to the pressing operation, judging whether the pressing force meets a preset condition corresponding to playing, and playing the data to be played if the pressing force corresponding to the pressing operation is increased and the preset condition corresponding to playing is reached.
12. The apparatus of claim 8, wherein the playback control module is further configured to:
and changing the state of the corresponding playing parameter adjustment prompt message according to the adjustment of the playing parameter.
13. The device of claim 8, wherein the playing control module is further configured to display a predefined floating image at the position of the touch operation if the operation strength satisfies a preset control condition.
14. The apparatus of claim 8, wherein the playback control module comprises:
the playing parameter to be controlled determining unit is used for acquiring a sliding distance according to the sliding operation data, identifying the direction of a sliding track according to the sliding operation data when the sliding distance exceeds a preset distance threshold, adjusting prompt information according to the playing parameter pointed by the direction of the sliding track, and determining the playing parameter to be controlled;
and the adjusting unit is used for determining the adjusting amplitude of the playing parameter to be controlled according to the sliding distance and/or the sliding speed and controlling the playing parameter to be controlled according to the adjusting amplitude.
15. A terminal, characterized in that it comprises a storage medium and a processor, the storage medium having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method of controlling an application according to any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, causes the processor to carry out the steps of the method of controlling an application according to any one of claims 1 to 7.
CN201610095327.0A 2016-02-19 2016-02-19 Method and device for controlling application Active CN105677189B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610095327.0A CN105677189B (en) 2016-02-19 2016-02-19 Method and device for controlling application
PCT/CN2017/074137 WO2017140273A1 (en) 2016-02-19 2017-02-20 Method and apparatus for controlling application, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610095327.0A CN105677189B (en) 2016-02-19 2016-02-19 Method and device for controlling application

Publications (2)

Publication Number Publication Date
CN105677189A CN105677189A (en) 2016-06-15
CN105677189B true CN105677189B (en) 2020-02-18

Family

ID=56304738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610095327.0A Active CN105677189B (en) 2016-02-19 2016-02-19 Method and device for controlling application

Country Status (2)

Country Link
CN (1) CN105677189B (en)
WO (1) WO2017140273A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677189B (en) * 2016-02-19 2020-02-18 腾讯科技(深圳)有限公司 Method and device for controlling application
CN107133028B (en) * 2017-03-30 2021-07-16 联想(北京)有限公司 Information processing method and electronic equipment
CN107155130A (en) * 2017-05-25 2017-09-12 珠海市魅族科技有限公司 Control method for playing back and device, computer installation and readable storage medium storing program for executing
CN109218834A (en) * 2017-06-30 2019-01-15 武汉斗鱼网络科技有限公司 A kind of live streaming list browse exchange method and device
CN109005464A (en) * 2018-08-28 2018-12-14 深圳市有钱科技有限公司 Video broadcasting method, storage medium and computer equipment
CN110968727B (en) * 2018-09-29 2023-10-20 阿里巴巴集团控股有限公司 Information processing method and device
CN109462779B (en) * 2018-11-30 2022-07-12 北京微播视界科技有限公司 Video preview information playing control method, application client and electronic equipment
CN109800041B (en) * 2018-12-24 2022-10-18 天津字节跳动科技有限公司 Method and device for realizing small program background blurring, electronic equipment and storage medium
CN111488188B (en) * 2019-01-28 2024-03-29 阿里巴巴集团控股有限公司 Animation realization method, related device and system
CN109918536A (en) * 2019-02-28 2019-06-21 广州酷狗计算机科技有限公司 Play method, apparatus, equipment and the storage medium of song climax
CN110225391B (en) * 2019-07-18 2022-02-18 北京字节跳动网络技术有限公司 Video playing control method and device, electronic equipment and storage medium
CN113259733B (en) * 2020-02-12 2022-06-14 聚好看科技股份有限公司 Display device
CN111414147A (en) * 2020-03-26 2020-07-14 广州酷狗计算机科技有限公司 Song playing method, device, terminal and storage medium
CN111984174A (en) * 2020-07-29 2020-11-24 维沃移动通信有限公司 Content downloading method and device and electronic equipment
CN112035698B (en) * 2020-09-11 2022-02-25 北京字跳网络技术有限公司 Audio audition method, device and storage medium
DE112021001933T5 (en) * 2020-09-18 2023-02-23 Google LLC INTERFACE FOR COMMUNICATION OF A THRESHOLD IN A CAMERA
CN112462954B (en) * 2020-12-16 2023-07-18 深圳市富途网络科技有限公司 Expression display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1682533A (en) * 2002-09-23 2005-10-12 皇家飞利浦电子股份有限公司 A video recorder unit and method of operation therefor
CN101443850A (en) * 2006-05-12 2009-05-27 惠普开发有限公司 Key-frame extraction from video
CN104238893A (en) * 2013-06-08 2014-12-24 腾讯科技(深圳)有限公司 Video preview image displaying method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143566A1 (en) * 2004-12-28 2006-06-29 Meng-Han Tsai Recording medium, method for previewing on-demand digital multimedia data on the recording medium
CN102566851A (en) * 2010-12-15 2012-07-11 盛乐信息技术(上海)有限公司 Device and method for previewing file object
KR102113683B1 (en) * 2013-03-06 2020-06-03 삼성전자주식회사 Mobile apparatus providing preview by detecting rub gesture and control method thereof
CN104038620A (en) * 2013-03-06 2014-09-10 风网科技(北京)有限公司 Mobile phone video playing control system and method thereof
CN105677189B (en) * 2016-02-19 2020-02-18 腾讯科技(深圳)有限公司 Method and device for controlling application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1682533A (en) * 2002-09-23 2005-10-12 皇家飞利浦电子股份有限公司 A video recorder unit and method of operation therefor
CN101443850A (en) * 2006-05-12 2009-05-27 惠普开发有限公司 Key-frame extraction from video
CN104238893A (en) * 2013-06-08 2014-12-24 腾讯科技(深圳)有限公司 Video preview image displaying method and device

Also Published As

Publication number Publication date
WO2017140273A1 (en) 2017-08-24
CN105677189A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN105677189B (en) Method and device for controlling application
JP7527459B2 (en) SYSTEM AND METHOD FOR DISPLAYING NOTIFICATIONS RECEIVED FROM MULTIPLE APPLICATIONS - Patent application
US11726634B2 (en) Devices, methods, and graphical user interfaces for dynamically adjusting presentation of audio outputs
JP6825020B2 (en) Column interface for navigating in the user interface
CN109753326B (en) Processing method, device, equipment and machine readable medium
CN106775204B (en) Display information control apparatus and method
JP2021180049A (en) Input device and user interface interaction
US8890818B2 (en) Apparatus and method for proximity based input
CA2841524C (en) Method and apparatus for controlling content using graphical object
CN108334371B (en) Method and device for editing object
US9547437B2 (en) Method and system for scanning preview of digital media
CN108829325B (en) Apparatus, method and graphical user interface for dynamically adjusting presentation of audio output
US20080252611A1 (en) Object search method and terminal having object search function
CN108170342B (en) Application program interface display method and device, terminal and readable storage medium
EP3021203A1 (en) Information processing device, information processing method, and computer program
EP3021204A1 (en) Information processing device, information processing method, and computer program
CN106354520B (en) Interface background switching method and mobile terminal
CN110780783B (en) Interface element moving method, system, vehicle and storage medium
CN114564604B (en) Media collection generation method and device, electronic equipment and storage medium
US11099731B1 (en) Techniques for content management using a gesture sensitive element
CN113805838A (en) Multimedia information processing method and device and electronic equipment
CN113986083A (en) File processing method and electronic equipment
CN112783386A (en) Page jump method, device, storage medium and computer equipment
KR20120103923A (en) Method, device for controlling user terminal having touch screen, recording medium for the same, and user terminal comprising the same
US20240185481A1 (en) Lyrics and karaoke user interfaces, methods and systems

Legal Events

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