WO2019047106A1 - Smart terminal based song audition method and system - Google Patents

Smart terminal based song audition method and system Download PDF

Info

Publication number
WO2019047106A1
WO2019047106A1 PCT/CN2017/100912 CN2017100912W WO2019047106A1 WO 2019047106 A1 WO2019047106 A1 WO 2019047106A1 CN 2017100912 W CN2017100912 W CN 2017100912W WO 2019047106 A1 WO2019047106 A1 WO 2019047106A1
Authority
WO
WIPO (PCT)
Prior art keywords
song
gesture
gesture operation
sliding
sliding direction
Prior art date
Application number
PCT/CN2017/100912
Other languages
French (fr)
Chinese (zh)
Inventor
王琬玉
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to CN201780096603.8A priority Critical patent/CN111433730A/en
Priority to PCT/CN2017/100912 priority patent/WO2019047106A1/en
Publication of WO2019047106A1 publication Critical patent/WO2019047106A1/en

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]

Definitions

  • the invention relates to the field of intelligent terminals, in particular to a song audition method based on a smart terminal and a song audition system.
  • an object of the present invention is to provide a song listening method and a song audition system based on a smart terminal, which does not require a user to click a button step by step, and only needs to perform a gesture operation according to different sliding directions of the user, and determines that the user actually needs to collect, Downloading or switching the currently playing songs simplifies the user's operating steps and optimizes the user experience.
  • the invention discloses a smart terminal-based song audition method based on a smart terminal, and the method for making a song audition comprises the following steps:
  • the invention provides a song audition method based on a smart terminal, and the song audition method comprises the following steps:
  • the song playing interface of the smart terminal receives a gesture operation with a sliding direction
  • the gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
  • the step of identifying the gesture operation according to the sliding direction to obtain a control instruction corresponding to the gesture operation further includes:
  • the control command corresponding to the gesture operation having the sliding direction is matched.
  • the step of collecting and downloading the currently played first song further includes:
  • the first song is downloaded according to the download instruction.
  • the song audition method further includes:
  • a gesture database is established, and a corresponding control instruction is set for each gesture in the gesture database.
  • the present invention further provides a song audition system based on a smart terminal, the song audition system comprising: a receiving module, a parsing module and a control unit;
  • the receiving module is in communication with the parsing module, and the song playing interface of the smart terminal receives a gesture operation with a sliding direction, and sends the gesture operation to the parsing module;
  • the parsing module is connected to the receiving module and the control module, and obtains a control instruction corresponding to the gesture operation according to the sliding direction, and sends the control command to the control module;
  • the control module is communicatively coupled to the parsing module to execute the control command
  • control module collects and downloads the currently played first song
  • the control module stops playing the first song and switches to play a second song.
  • the gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
  • the parsing module further includes:
  • a recording unit that records a start point, an end point, and a motion track of the gesture of the smart terminal
  • a calculating unit calculating a sliding direction of the gesture operation according to the starting point, the ending point, and the motion track;
  • a matching unit that matches the control instruction corresponding to the gesture operation having the sliding direction.
  • control module when the sliding direction is the first direction, the control module further includes:
  • Marking unit executing a control instruction for marking the first song
  • a collecting unit performing a collecting operation, collecting the first song marked
  • An identification unit identifying the collection operation to generate a download instruction for downloading the first song
  • the download unit downloads the first song according to the download instruction.
  • the song audition system further includes a storage unit, and the storage unit is communicatively connected to the parsing unit;
  • the storage unit is configured to establish a gesture database, and set a corresponding control instruction for each gesture in the gesture database.
  • the gesture operation with different sliding directions replaces the existing click operation, eliminating the cumbersomeness of the user manually opening the menu step by step, clicking the favorite, downloading or switching button;
  • FIG. 1 is a schematic flow chart of a method for auditing a song based on a smart terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic flow chart of a method for auditing a song based on a smart terminal according to another embodiment of the present invention
  • FIG. 3 is a schematic flow chart of a method for auditing a song based on a smart terminal according to another embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a song listening system based on a smart terminal according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of an analysis module of a song audition system based on an intelligent terminal according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a control module of a song listening system based on a smart terminal according to another embodiment of the present invention.
  • the smart terminal can be implemented in various forms.
  • the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like, and such as Fixed terminal for digital TV, desktop computer, etc.
  • a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like, and such as Fixed terminal for digital TV, desktop computer, etc.
  • PDA Personal Digital Assistant
  • PAD Tablet
  • PMP Portable Multimedia Player
  • a method for listening to a song based on a smart terminal includes the following steps:
  • the song playing interface of the smart terminal receives a gesture operation with a sliding direction
  • Enable the smart terminal open the song play interface of the smart terminal, open the song audition function, and play the song. Define the currently playing song as the first song.
  • the user issues a gesture operation to the playback interface. Gesture operation In the actual application process, the user does not need to click with the finger, just swipe on the screen and execute a specific gesture, and then the application can be activated to complete, convert and close the execution command. Different gestures can execute different control commands by calling different functions. Common gesture operations include a tap gesture, a double tap gesture, a tap gesture, a press gesture, a flash gesture, a zoom gesture, and a turn gesture. Among them, a tap gesture refers to quickly touching the screen to launch an application or activate an image.
  • a double tap gesture refers to tapping the screen twice in quick succession to open or close an application or document. Tap the swipe gesture to place your finger on the screen and swipe to move items on the display or zoom in and out, maps, and pictures. Pressing a gesture means placing a finger on the screen for a period of time to open the document, launching an application or other function.
  • a flashing gesture refers to quickly moving a finger in the up and down direction on the screen to scroll or slide a series of items or pages.
  • a zoom gesture refers to placing two fingers on the screen and moving them closer or apart to enlarge or reduce the display item.
  • a turning gesture refers to placing two fingers on the screen to rotate in a clockwise or counterclockwise direction to rotate an object displayed on the screen.
  • the gesture operation in this embodiment is a one-hand gesture operation with a sliding direction, and belongs to a sliding gesture, which is also a common operation.
  • the swipe gesture is mainly used to view a page that cannot be completely displayed on the screen, and functions like a scroll wheel of a mouse.
  • This operation is mainly used to view images, web pages, plain text (sms, mail, notes). Swipe from left to right or right to left to switch between the previous and next articles. Swipe from left to right or right to left at the edge of the screen to switch between the previous tab and the next tab.
  • the different sliding directions based on the sliding gesture include sliding to the left, sliding to the right, sliding upward, sliding downward, sliding to the left, sliding to the left, sliding to the right, and sliding to the right.
  • This embodiment gives a new function of the sliding gesture. That is, the smart terminal executes corresponding control commands according to different sliding directions. And the execution object of the gesture operation in the embodiment (ie, the display item in the screen) is the first song currently being played by the song playing interface.
  • the smart terminal parses the sliding direction of the gesture operation according to the gesture operation received by the screen, and finds a control instruction matching the gesture operation with the sliding direction through the gesture database built in the smart terminal, and executes according to the control instruction. In this way, the user can touch the application in the smart terminal through the gesture operation to complete the execution command such as opening, converting and closing.
  • the user sends a gesture operation in the first direction to the screen of the smart terminal, and the gesture operation in the first direction performs a control instruction on the song playing interface.
  • the gesture operation of sliding in the first direction the corresponding control command is to collect and download the currently played first song.
  • the user sends a gesture operation in the second direction to the screen of the smart terminal.
  • the gesture operation of sliding in the second direction performs control on the song playing interface instruction.
  • the corresponding control command is to stop playing the first song and switch to the next song playing, which is defined as switching the playing of the second song in this embodiment.
  • the gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
  • the first direction is sliding in the lower left corner direction
  • the second direction is sliding in the lower right corner direction.
  • the gesture operation When the user listens to the first song, if the screen of the smart terminal receives a gesture operation, and the sliding direction of the gesture operation is the second direction, that is, sliding to the lower right corner, the gesture operation indicates that the user does not like the currently playing A song, the corresponding control command of the gesture operation is to stop playing the first song, and immediately switch to play a second song.
  • the song audition method further includes:
  • a gesture database is established, and a corresponding control instruction is set for each gesture in the gesture database.
  • a gesture database is pre-established in the smart terminal, and each gesture in the gesture database has its own independent sliding direction, motion trajectory and the like, and each gesture in the database corresponds to a control command and a numerical code.
  • the smart terminal determines the gesture operation received by the screen according to the sliding direction of the gesture operation, the smart terminal further matches the control command corresponding to the gesture operation, and returns a corresponding numerical code to the smart terminal after the matching is completed. Based on the returned numeric code, the intelligent terminal further executes the control command it receives.
  • the step of identifying the gesture operation according to the sliding direction to obtain a control instruction corresponding to the gesture operation further includes:
  • the smart terminal When the sensor of the smart terminal detects that the finger of the user is in contact with the screen of the smart terminal, the smart terminal records the contact point as a starting point, and establishes an XY coordinate system according to the starting position to obtain the coordinates of the starting point. After the establishment is completed, the smart terminal further tracks the sliding path of the continuous movement of the finger on the screen as the motion trajectory of the gesture. In addition, according to the sliding track, the smart terminal further records the position where the gesture last stays (ie, the position where the finger is lifted off the screen), and records it as an end point, and acquires the coordinates of the end point.
  • the function is called, and the recorded coordinate data is substituted into the function for calculation, and the sliding direction of the gesture operation can be obtained by calculation.
  • the control command corresponding to the gesture operation having the sliding direction is matched.
  • the data of the smart terminal gesture database is further retrieved, and a control instruction matching the gesture of the sliding direction in the database is searched for and corresponding to the control instruction.
  • the numerical code is based on the smart terminal to execute a control command corresponding to the gesture operation.
  • the step of collecting and downloading the currently played first song further includes:
  • the smart terminal determines that the sliding direction of the gesture operation is the first direction by calculating, the gesture database is invoked, and a control instruction corresponding to the gesture operation having the first direction of the sliding direction and a corresponding numerical code are found in the gesture database, and the smart code is used.
  • the control instruction is further divided into two steps: collecting and downloading the currently played first song. According to the control command, the currently played first song is first marked.
  • the smart terminal After the marking is completed, the smart terminal automatically moves the marked first song, including the local data cached in the smart terminal, into an associated bookmark by the calling function, to complete the collection of the song by the smart terminal, and the music playing interface. A list of favorites containing the first song name is presented.
  • the smart terminal When the smart terminal automatically recognizes that the marked first song is moved into an associated favorite, and automatically generates a download instruction to download the first song based on the recognized operation.
  • the first song is downloaded according to the download instruction.
  • the smart terminal accesses the embedded WWW server through the browser according to the download instruction, and copies the audio file of the first song from the FTP server to the smart terminal, and saves it as local data to complete execution of the first song download instruction.
  • a song listening system based on a smart terminal includes: a receiving module, a parsing module, and a receiving unit of the control unit, and is connected to the parsing module, and the song playing interface of the smart terminal receives one a gesture operation of the sliding direction, and sending the gesture operation to the parsing module; enabling the song audition system of the smart terminal, opening the song playing interface of the smart terminal, turning on the audition function of the song, and playing the audition song. Define the currently playing song as the first song.
  • the user sends a gesture operation to the playing interface, and the system receives a gesture operation by the user with a sliding direction through the built-in receiving module.
  • Gesture operation In the actual application process, the user does not need to click with the finger, just swipe on the screen and execute a specific gesture, and then the application can be activated to complete, convert and close the execution command. Different gestures can execute different control commands by calling different functions. Common gesture operations include a tap gesture, a double tap gesture, a tap gesture, a press gesture, a flash gesture, a zoom gesture, and a turn gesture. Among them, a tap gesture refers to quickly touching the screen to launch an application or activate an image. A double tap gesture refers to tapping the screen twice in quick succession to open or close an application or document.
  • swipe gesture to place your finger on the screen and swipe to move items on the display or zoom in and out, maps, and pictures.
  • Pressing a gesture means placing a finger on the screen for a period of time to open the document, launching an application or other function.
  • a flashing gesture refers to quickly moving a finger in the up and down direction on the screen to scroll or slide a series of items or pages.
  • a zoom gesture refers to placing two fingers on the screen and moving them closer or apart to enlarge or reduce the display item.
  • a turning gesture refers to placing two fingers on the screen to rotate in a clockwise or counterclockwise direction to rotate an object displayed on the screen.
  • the gesture operation in this embodiment is a one-hand gesture operation with a sliding direction, and belongs to a sliding gesture, which is also a common operation.
  • the swipe gesture is mainly used to view a page that cannot be completely displayed on the screen, and functions like a scroll wheel of a mouse.
  • This operation is mainly used to view images, web pages, plain text (sms, mail, notes). Swipe from left to right or right to left to switch between the previous and next articles. Swipe from left to right or right to left at the edge of the screen to switch between the previous tab and the next tab.
  • the different sliding directions based on the sliding gesture include sliding to the left, sliding to the right, sliding upward, sliding downward, sliding to the left, sliding to the left, sliding to the right, and sliding to the right. This embodiment gives a new function of the sliding gesture.
  • the song audition system in this embodiment controls the smart terminal to execute the corresponding control instruction based on the different sliding direction received by the receiving module.
  • the execution object of the gesture operation in this embodiment ie, the display item in the screen
  • the parsing module is communicably connected to the receiving module and the control module, obtains a control instruction corresponding to the gesture operation according to the sliding direction, and sends the control instruction to the control module; the receiving module according to the screen Receiving the gesture operation, sending the gesture operation to the parsing module through the communication connection, parsing module parsing the sliding direction of the gesture operation, and finding a control instruction matching the gesture operation with the sliding direction through the gesture database built in the song audition system And transmitting the matching control command to the control module through the communication connection, thereby realizing the control of the intelligent terminal by the parsing gesture operation.
  • the control module is communicatively coupled to the parsing module to execute the control command;
  • the control module collects and downloads the currently played first song;
  • the module is connected to the parsing module, and controls the song playing application according to the control command parsed by the parsing module.
  • the parsing module parses the sliding direction of the gesture operation to the first direction
  • the parsing module parses the control instruction matching the gesture operation according to the gesture operation of the first direction, and according to the gesture operation of sliding in the first direction, the corresponding control The instruction is to collect and download the first song currently playing.
  • the control module stops playing the first song and switches to play a second song.
  • the receiving module receives a gesture operation in the second direction by the screen of the smart terminal.
  • the parsing module parses the gesture operation of sliding in the second direction to execute a control instruction on the song playing interface, and is connected through a communication.
  • the control module executes the control command parsed by the parsing module to stop playing the first song and simultaneously switches to the next song playing. In this embodiment, the second song is switched to be played.
  • the gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
  • the first direction is sliding in the lower left corner direction
  • the second direction is sliding in the lower right corner direction.
  • the receiving module receives a gesture operation through the screen of the smart terminal
  • the parsing module parses the sliding direction of the gesture operation to the first direction, that is, slides in the lower left corner direction
  • the gesture operation indicates the user
  • the corresponding control command of the gesture operation is collecting and simultaneously downloading the first song.
  • the gesture operation When the user listens to the first song, if the screen of the smart terminal receives a gesture operation, and the sliding direction of the gesture operation is the second direction, that is, sliding to the lower right corner, the gesture operation indicates that the user does not like the currently playing A song, the corresponding control command of the gesture operation is to stop playing the first song, and immediately switch to play a second song.
  • the song audition system further includes a storage unit, and the storage unit is communicatively coupled to the parsing unit;
  • the storage unit is configured to establish a gesture database, and set a corresponding control instruction for each gesture in the gesture database.
  • the song audition system in this embodiment further includes a storage unit configured to pre-establish a gesture database, and each gesture in the gesture database has its own independent sliding direction, motion trajectory, and the like, and each of the databases
  • a gesture corresponds to a control command and a numerical code.
  • the parsing module when the receiving module receives a gesture operation in which the sliding direction is sliding to the lower left corner, when the parsing module matches the sliding direction of the lower left corner sliding to a collection and downloads the control instruction of the currently played first song, the parsing module further The numerical code corresponding to the control instruction (for example, 1111) is sent to the control module, and the control module obtains a control instruction for collecting and downloading the currently played first song according to the numerical code of the 1111, and executes the control instruction.
  • the numerical code corresponding to the control instruction for example, 1111
  • the control module obtains a control instruction for collecting and downloading the currently played first song according to the numerical code of the 1111, and executes the control instruction.
  • the parsing module when the receiving module receives a gesture operation in which the sliding direction is sliding to the lower right corner, the parsing module further controls the control instruction when the sliding module of the parsing module is matched according to the sliding direction of the lower right corner to a control command for switching to play a second song.
  • the corresponding numerical code for example, 0000
  • the control module obtains a control instruction for switching to play a second song according to the numerical code of the 0000, and executes the control instruction.
  • FIG. 5 it is a schematic structural diagram of an analysis module of a song listening system based on a smart terminal according to another preferred embodiment of the present invention.
  • the parsing module further includes:
  • a recording unit recording a start point, an end point, and a motion track of the gesture of the smart terminal; when the receiving module detects that the user's finger is in contact with the screen of the smart terminal, the recording unit records in the parsing module are connected through the communication connection The contact point is recorded as a starting point, and an XY coordinate system is established according to the starting position to obtain the coordinates of the starting point. After the establishment is completed, the recording unit further tracks the sliding path of the continuous movement of the finger on the screen as the movement trajectory of the gesture. In addition, according to the sliding track recording unit, the position where the gesture last stays (ie, the position where the finger is lifted off the screen) is recorded, and is recorded as an end point, and the coordinates of the end point are acquired.
  • a calculating unit calculating a sliding direction of the gesture operation according to the starting point, the ending point, and a motion trajectory; After the recording unit tracking gesture acquires the coordinate position of the starting point and the ending point and the motion track of the finger sliding, the calculating unit in the parsing module further calls a function, and the recorded coordinate data is substituted into the function for calculation, and the gesture operation can be obtained by calculation. Sliding direction.
  • a matching unit that matches the control instruction corresponding to the gesture operation having the sliding direction.
  • the matching After calculating the sliding direction of the gesture operation by calculating the coordinate data recorded by the recording unit, the matching further retrieves the data of the gesture database in the smart terminal, and searches for a control instruction in the database that matches the gesture of the sliding direction and A numerical code corresponding to the control command, the matching unit outputs a numerical code according to the communication connection to send a control command to the control module.
  • control module of a song listening system based on a smart terminal according to another preferred embodiment of the present invention is shown.
  • the control module further includes:
  • a marking unit executing a control instruction for marking the first song; when the parsing module determines that the sliding direction of the gesture operation received by the receiving module is the first direction by calculating, the gesture database is invoked, and the gesture is The control command corresponding to the gesture operation having the first direction of the sliding direction and the corresponding numerical code are found in the database, and the numerical code is sent to the control module through the communication connection, and the control module executes the corresponding control instruction according to the numerical code: collecting and Download the first song currently playing. Further, the control module divides the control command into two steps: collecting and downloading the currently played first song. According to the control command, the currently played first song is first marked.
  • a collecting unit performing a collecting operation, collecting the first song marked
  • the collecting unit further automatically moves the first song of the marking unit marking, including the local data cached in the smart terminal, into an associated favorite by calling the function, to complete The collection of the song, and a list of favorites containing the first song name is presented in the music play interface.
  • An identification unit identifying the collection operation to generate a download instruction for downloading the first song
  • the recognition unit automatically recognizes that the marked first song has been moved into an associated favorite, and automatically generates a download instruction to download the first song based on the recognized operation.
  • the download unit downloads the first song according to the download instruction.
  • the download unit accesses the embedded WWW server through the browser according to the download instruction, and copies the audio file of the first song from the FTP server to the smart terminal, and saves it as local data to complete execution of the first song download instruction.

Abstract

The present invention provides a smart terminal based song audition method and system. The song audition method comprises the following steps: the song playing interface of the smart terminal receiving a gesture operation with a sliding direction; obtaining, according to the sliding direction, a control instruction corresponding to the gesture operation; if the sliding direction is a first direction, saving and downloading the currently-played first song; and if the sliding direction is a second direction, stopping playing the first song, and switching to play a second song. The song audition system comprises: a receiving module, a parsing module and a control module. The technical solution provided by the present invention is able to simplify operations of a user to save, download and switch a song, providing convenience to users.

Description

一种基于智能终端的歌曲试听方法及歌曲试听系统Song audition method based on intelligent terminal and song audition system 技术领域Technical field
本发明涉及智能终端领域,尤其涉及一种基于智能终端的歌曲试听方法及歌曲试听系统。The invention relates to the field of intelligent terminals, in particular to a song audition method based on a smart terminal and a song audition system.
背景技术Background technique
随着智能终端领域的快速发展,人们已经越来越离不开智能终端了。使用智能终端即时通讯、娱乐、支付、拍照等已然成为了当今人们生活中必不可少的一部分。使用智能终端欣赏音乐、听流行歌曲已然成为不少用户选择。现有智能终端在线听试听时,当用户喜欢一首歌曲想要进行收藏并下载该歌曲的时候,需要手动点击菜单栏内的收藏按钮,并且需要一级一级的进入菜单栏选择下载,从而实现对该歌曲的收藏和下载,操作步骤繁琐。如果当前试听的歌曲用户不喜欢听,同样地,也需要手动点击菜单栏内的切换歌曲。With the rapid development of the field of intelligent terminals, people have become increasingly inseparable from intelligent terminals. The use of smart terminals for instant messaging, entertainment, payment, and photography has become an indispensable part of today's people's lives. Using smart terminals to listen to music and listen to popular songs has become a user choice. When the existing smart terminal listens to the audition online, when the user likes a song to collect and download the song, it is necessary to manually click the favorite button in the menu bar, and the first level of the menu bar is required to select the download, thereby The collection and download of the song is realized, and the operation steps are cumbersome. If the currently audited song user does not like to listen, similarly, you also need to manually click the switch song in the menu bar.
因此,为了进一步简化用户的操作,给用户提供一种更优化的使用体验,需要提供一种新的歌曲试听方法及歌曲试听系统,简化用户对歌曲收藏、下载及切换的操作,为用户提供更为便捷的使用体验。Therefore, in order to further simplify the user's operation, to provide users with a more optimized use experience, it is necessary to provide a new song audition method and song audition system, simplifying the user's operation of song collection, downloading and switching, and providing users with more For a convenient experience.
发明内容Summary of the invention
为了克服上述技术缺陷,本发明的目的在于提供一种基于智能终端的歌曲试听方法及歌曲试听系统,无需用户逐级点击按钮,仅需根据用户的不同滑动方向手势操作,判断用户实际需要收藏、下载或切换当前播放的歌曲,简化了用户的操作步骤,优化了用户的使用体验。In order to overcome the above technical deficiencies, an object of the present invention is to provide a song listening method and a song audition system based on a smart terminal, which does not require a user to click a button step by step, and only needs to perform a gesture operation according to different sliding directions of the user, and determines that the user actually needs to collect, Downloading or switching the currently playing songs simplifies the user's operating steps and optimizes the user experience.
本发明公开了一种基于智能终端的一种基于智能终端的歌曲试听方法,所述使歌曲试听方法包括如下步骤:The invention discloses a smart terminal-based song audition method based on a smart terminal, and the method for making a song audition comprises the following steps:
本发明提供了一种基于智能终端的歌曲试听方法,所述歌曲试听方法包括如下步骤:The invention provides a song audition method based on a smart terminal, and the song audition method comprises the following steps:
所述智能终端的歌曲播放界面接收一具有滑动方向的手势操作;The song playing interface of the smart terminal receives a gesture operation with a sliding direction;
根据所述滑动方向,获得一与所述手势操作对应的控制指令;Obtaining a control instruction corresponding to the gesture operation according to the sliding direction;
当所述滑动方向为第一方向时,收藏并下载当前播放的第一歌曲;When the sliding direction is the first direction, collecting and downloading the currently played first song;
当所述滑动方向为第二方向时,停止播放所述第一歌曲,切换播放一第二歌曲。When the sliding direction is the second direction, the playing of the first song is stopped, and a second song is switched.
优选地,所述手势操作为向左下角方向滑动的手势操作和向右下角方向滑动的手势操作。Preferably, the gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
优选地,根据所述滑动方向识别所述手势操作,以获得与所述手势操作对应的控制指令的步骤中,进一步包括:Preferably, the step of identifying the gesture operation according to the sliding direction to obtain a control instruction corresponding to the gesture operation further includes:
检测所述智能终端的屏幕接收所述手势操作的起点、终点及运动轨迹;Detecting a screen of the smart terminal to receive a start point, an end point, and a motion track of the gesture operation;
根据所述起点、终点及运动轨迹,计算所述手势操作的滑动方向;Calculating a sliding direction of the gesture operation according to the starting point, the ending point, and a motion trajectory;
匹配与具有所述滑动方向的手势操作对应的所述控制指令。The control command corresponding to the gesture operation having the sliding direction is matched.
优选地,当所述滑动方向为第一方向时,收藏并下载当前播放的第一歌曲的步骤中,进一步包括:Preferably, when the sliding direction is the first direction, the step of collecting and downloading the currently played first song further includes:
根据所述第一方向,执行一标记所述第一歌曲的控制指令;Performing a control instruction for marking the first song according to the first direction;
执行一收藏操作,收藏被标记的所述第一歌曲;Performing a collection operation to collect the first song marked;
识别所述收藏操作,以生成一下载所述第一歌曲的下载指令;Identifying the collection operation to generate a download instruction to download the first song;
根据所述下载指令,下载所述第一歌曲。The first song is downloaded according to the download instruction.
优选地,所述歌曲试听方法,进一步包括:Preferably, the song audition method further includes:
于所述智能终端中,建立一手势数据库,对所述手势数据库中的每一手势设置一对应的所述控制指令。 In the smart terminal, a gesture database is established, and a corresponding control instruction is set for each gesture in the gesture database.
本发明进一步提供了一种基于智能终端的歌曲试听系统,所述歌曲试听系统包括:接收模块、解析模块和控制单元;The present invention further provides a song audition system based on a smart terminal, the song audition system comprising: a receiving module, a parsing module and a control unit;
所述接收模块,与所述解析模块通讯连接,所述智能终端的歌曲播放界面接收一具有滑动方向的手势操作,并发送所述手势操作至所述解析模块;The receiving module is in communication with the parsing module, and the song playing interface of the smart terminal receives a gesture operation with a sliding direction, and sends the gesture operation to the parsing module;
所述解析模块,与所述接收模块、控制模块通讯连接,根据所述滑动方向获得一与所述手势操作对应的控制指令,并发送所述控制指令至所述控制模块;The parsing module is connected to the receiving module and the control module, and obtains a control instruction corresponding to the gesture operation according to the sliding direction, and sends the control command to the control module;
所述控制模块,与所述解析模块通讯连接,执行所述控制指令;The control module is communicatively coupled to the parsing module to execute the control command;
当所述滑动方向为第一方向时,所述控制模块收藏并下载当前播放的第一歌曲;When the sliding direction is the first direction, the control module collects and downloads the currently played first song;
当所述滑动方向为第二方向时,所述控制模块停止播放所述第一歌曲,切换播放一第二歌曲。When the sliding direction is the second direction, the control module stops playing the first song and switches to play a second song.
优选地,所述手势操作为向左下角方向滑动的手势操作和向右下角方向滑动的手势操作。Preferably, the gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
优选地,所述解析模块,进一步包括:Preferably, the parsing module further includes:
记录单元,记录所述智能终端的屏幕接收所述手势操作的起点、终点及运动轨迹;a recording unit that records a start point, an end point, and a motion track of the gesture of the smart terminal;
计算单元,根据所述起点、终点及运动轨迹,计算所述手势操作的滑动方向;a calculating unit, calculating a sliding direction of the gesture operation according to the starting point, the ending point, and the motion track;
匹配单元,匹配与具有所述滑动方向的手势操作对应的所述控制指令。。And a matching unit that matches the control instruction corresponding to the gesture operation having the sliding direction. .
优选地,当所述滑动方向为第一方向时,所述控制模块,进一步包括:Preferably, when the sliding direction is the first direction, the control module further includes:
标记单元,根据所述第一方向,执行一标记所述第一歌曲的控制指令;Marking unit, according to the first direction, executing a control instruction for marking the first song;
收藏单元,执行一收藏操作,收藏被标记的所述第一歌曲;a collecting unit, performing a collecting operation, collecting the first song marked;
识别单元,识别所述收藏操作,以生成一下载所述第一歌曲的下载指令;An identification unit, identifying the collection operation to generate a download instruction for downloading the first song;
下载单元,根据所述下载指令,下载所述第一歌曲。The download unit downloads the first song according to the download instruction.
优选地,Preferably,
所述歌曲试听系统,进一步包括一储存单元,所述储存单元与所述解析单元通讯连接;The song audition system further includes a storage unit, and the storage unit is communicatively connected to the parsing unit;
所述储存单元,用于建立一手势数据库,对所述手势数据库中的每一手势设置一对应的所述控制指令。The storage unit is configured to establish a gesture database, and set a corresponding control instruction for each gesture in the gesture database.
采用了上述技术方案后,与现有技术相比,具有以下有益效果:After adopting the above technical solution, compared with the prior art, the following beneficial effects are obtained:
1.利用不同滑动方向的手势操作替代了现有的点击操作,免去用户手动逐级打开菜单,点击收藏、下载或切换按钮的繁琐;1. The gesture operation with different sliding directions replaces the existing click operation, eliminating the cumbersomeness of the user manually opening the menu step by step, clicking the favorite, downloading or switching button;
2.仅需一个滑动方向的手势操作即可同时实现收藏并下载当前播放的试听歌曲;2. Only one gesture operation in the sliding direction is needed to simultaneously collect and download the currently playing audition songs;
3.操作便捷,为用户提供一种更优化的听歌体验。3. Convenient operation, providing users with a more optimized listening experience.
附图说明DRAWINGS
图1为符合本发明一实施例中的一种基于智能终端的歌曲试听方法的流程示意图;1 is a schematic flow chart of a method for auditing a song based on a smart terminal according to an embodiment of the present invention;
图2为符合本发明另一实施例中的一种基于智能终端的歌曲试听方法的流程示意图;2 is a schematic flow chart of a method for auditing a song based on a smart terminal according to another embodiment of the present invention;
图3为符合本发明另一实施例中的一种基于智能终端的歌曲试听方法的流程示意图;3 is a schematic flow chart of a method for auditing a song based on a smart terminal according to another embodiment of the present invention;
图4为符合本发明另一实施例中的一种基于智能终端的歌曲试听系统的结构示意图;4 is a schematic structural diagram of a song listening system based on a smart terminal according to another embodiment of the present invention;
图5为符合本发明一实施例中的一种基于智能终端的歌曲试听系统的解析模块结构示意图;FIG. 5 is a schematic structural diagram of an analysis module of a song audition system based on an intelligent terminal according to an embodiment of the present invention; FIG.
图6为符合本发明另一实施例中的一种基于智能终端的歌曲试听系统的控制模块结构示意图。FIG. 6 is a schematic structural diagram of a control module of a song listening system based on a smart terminal according to another embodiment of the present invention.
具体实施方式Detailed ways
以下结合附图与具体实施例进一步阐述本发明的优点。Advantages of the present invention are further explained below in conjunction with the accompanying drawings and specific embodiments.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或” 是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in the present disclosure are for the purpose of describing particular embodiments only, and are not intended to limit the disclosure. The singular forms "a", "the" and "the" It should also be understood that the term "and/or" is used herein. Means and includes any or all possible combinations of one or more associated listed items.
在本发明的描述中,除非另有规定和限定,对于本领域的普通技术人员而言,可以根据具体情况理解术语的具体含义。In the description of the present invention, the specific meaning of the terms may be understood by one of ordinary skill in the art, unless otherwise specified and defined.
在后续的描述中,使用用于表示元件的诸如“模块”、“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义,仅表示系统的一部分。In the following description, the suffixes such as "module" and "unit" used to denote elements are merely illustrative of the present invention, and do not have a specific meaning per se, but only a part of the system.
智能终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。The smart terminal can be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, and the like, and such as Fixed terminal for digital TV, desktop computer, etc.
参阅图1,为符合本发明一种基于智能终端的歌曲试听方法的流程示意图。于本实施例中,一种基于智能终端的歌曲试听方法,包括如下步骤:1 is a schematic flow chart of a method for auditing a song based on a smart terminal according to the present invention. In this embodiment, a method for listening to a song based on a smart terminal includes the following steps:
所述智能终端的歌曲播放界面接收一具有滑动方向的手势操作;The song playing interface of the smart terminal receives a gesture operation with a sliding direction;
启用智能终端,打开智能终端的歌曲播放界面,开启歌曲试听功能,播放歌曲。定义当前播放的歌曲为第一歌曲。用户对该播放界面,发出一手势操作。手势操作在实际应用过程中无需用户用手指点按,只需在屏幕上滑动,执行特定的手势,即可触动应用程序完成开启、转换和关闭等执行命令。不同手势通过调用不同的函数得以执行不同的控制命令。常见的手势操作包括轻点手势、双轻点手势、轻点滑动手势、按压手势、闪动手势、缩放手势和转动手势。其中,轻点手势指快速触碰屏幕来启动应用程序或激活一个图像。双轻点手势指连续快速轻点屏幕两次以开启或关闭应用程序或文档。轻点滑动手势指将手指放在屏幕上并滑动以移动显示屏上的项目或放大缩小页面、地图和图片。按压手势指将手指放置在屏幕上维持一段时间来开启文档,启动应用程序或其他功能。闪动手势指快速在屏幕上于上下周游方向移动手指以便卷动或滑动一系列项目或页面。缩放手势指将两个手指放置在屏幕上并让它们靠近或分开以放大或缩小显示项目。转动手势指将两个手指放置在屏幕上以顺时针或逆时针方向旋转来转动屏幕中显示的物体。本实施例中的手势操作,为一具有滑动方向的单手手势操作,属于滑动手势,也算是一个常见操作。在现有技术中,滑动手势主要用于查看屏幕无法完全显示的页面,功能类似鼠标的滚轮。此操作主要用于查看图片、网页、纯文本(短信、邮件、笔记)。从左至右或从右至左滑动可以在上一篇与下一篇文章进行切换。在屏幕边缘从左至右或从右至左滑动可以在上一标签与下一标签进行切换。基于滑动手势的不同滑动方向包括向左滑动、向右滑动、向上滑动、向下滑动、向左上滑动、向左下滑动、向右上滑动、向右下滑动,本实施例赋予了滑动手势新的功能,即智能终端根据不同的滑动方向执行相应的控制指令。且实施例中的手势操作的执行对象(即,屏幕中的显示项目)为歌曲播放界面当前正在播放的第一歌曲。Enable the smart terminal, open the song play interface of the smart terminal, open the song audition function, and play the song. Define the currently playing song as the first song. The user issues a gesture operation to the playback interface. Gesture operation In the actual application process, the user does not need to click with the finger, just swipe on the screen and execute a specific gesture, and then the application can be activated to complete, convert and close the execution command. Different gestures can execute different control commands by calling different functions. Common gesture operations include a tap gesture, a double tap gesture, a tap gesture, a press gesture, a flash gesture, a zoom gesture, and a turn gesture. Among them, a tap gesture refers to quickly touching the screen to launch an application or activate an image. A double tap gesture refers to tapping the screen twice in quick succession to open or close an application or document. Tap the swipe gesture to place your finger on the screen and swipe to move items on the display or zoom in and out, maps, and pictures. Pressing a gesture means placing a finger on the screen for a period of time to open the document, launching an application or other function. A flashing gesture refers to quickly moving a finger in the up and down direction on the screen to scroll or slide a series of items or pages. A zoom gesture refers to placing two fingers on the screen and moving them closer or apart to enlarge or reduce the display item. A turning gesture refers to placing two fingers on the screen to rotate in a clockwise or counterclockwise direction to rotate an object displayed on the screen. The gesture operation in this embodiment is a one-hand gesture operation with a sliding direction, and belongs to a sliding gesture, which is also a common operation. In the prior art, the swipe gesture is mainly used to view a page that cannot be completely displayed on the screen, and functions like a scroll wheel of a mouse. This operation is mainly used to view images, web pages, plain text (sms, mail, notes). Swipe from left to right or right to left to switch between the previous and next articles. Swipe from left to right or right to left at the edge of the screen to switch between the previous tab and the next tab. The different sliding directions based on the sliding gesture include sliding to the left, sliding to the right, sliding upward, sliding downward, sliding to the left, sliding to the left, sliding to the right, and sliding to the right. This embodiment gives a new function of the sliding gesture. That is, the smart terminal executes corresponding control commands according to different sliding directions. And the execution object of the gesture operation in the embodiment (ie, the display item in the screen) is the first song currently being played by the song playing interface.
根据所述滑动方向获得一对应的控制指令;Obtaining a corresponding control instruction according to the sliding direction;
智能终端根据屏幕所接收到的手势操作,解析该手势操作的滑动方向,并通过智能终端内置的手势数据库,找到与该具有滑动方向的手势操作匹配的控制指令,并根据该控制指令执行。以此实现用户通过手势操作触动智能终端中应用程序完成开启、转换和关闭等执行命令。The smart terminal parses the sliding direction of the gesture operation according to the gesture operation received by the screen, and finds a control instruction matching the gesture operation with the sliding direction through the gesture database built in the smart terminal, and executes according to the control instruction. In this way, the user can touch the application in the smart terminal through the gesture operation to complete the execution command such as opening, converting and closing.
当所述滑动方向为第一方向时,收藏并下载当前播放的第一歌曲;When the sliding direction is the first direction, collecting and downloading the currently played first song;
当前播放的第一歌曲为用户喜欢的歌曲时,此时用户向智能终端的屏幕发出一滑动方向为第一方向的手势操作,该以第一方向滑动的手势操作对歌曲播放界面执行控制指令。根据该以第一方向滑动的手势操作,对应的控制指令为收藏并下载当前播放的第一歌曲。When the currently played first song is a song that the user likes, the user sends a gesture operation in the first direction to the screen of the smart terminal, and the gesture operation in the first direction performs a control instruction on the song playing interface. According to the gesture operation of sliding in the first direction, the corresponding control command is to collect and download the currently played first song.
当所述滑动方向为第二方向时,停止播放所述第一歌曲,切换播放一第二歌曲。When the sliding direction is the second direction, the playing of the first song is stopped, and a second song is switched.
当前播放的第一歌曲为用户不喜欢的歌曲时,此时用户向智能终端的屏幕发出一滑动方向为第二方向的手势操作。该以第二方向滑动的手势操作对歌曲播放界面执行控制 指令。根据该以第二方向滑动的手势操作,对应的控制指令为停止播放第一歌曲,同时切换至下一首歌曲播放,本实施例中定义为切换播放第二歌曲。When the currently played first song is a song that the user does not like, the user sends a gesture operation in the second direction to the screen of the smart terminal. The gesture operation of sliding in the second direction performs control on the song playing interface instruction. According to the gesture operation of sliding in the second direction, the corresponding control command is to stop playing the first song and switch to the next song playing, which is defined as switching the playing of the second song in this embodiment.
在一优选实施例中,所述手势操作为向左下角方向滑动的手势操作和向右下角方向滑动的手势操作。In a preferred embodiment, the gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
具体地,本实施例中的第一方向为向左下角方向滑动,第二方向为向右下角方向滑动。当用户在试听第一歌曲时,若智能终端的屏幕接收到一手势操作,且该手势操作的滑动方向为第一方向,即向左下角方向滑动,该手势操作表明用户喜欢当前播放的第一歌曲,该手势操作对应的控制指令为收藏并同时下载该第一歌曲。当用户在试听第一歌曲时,若智能终端的屏幕接收到一手势操作,且该手势操作的滑动方向为第二方向,即向右下角方向滑动,该手势操作表明用户不喜欢当前播放的第一歌曲,该手势操作对应的控制指令为停止播放第一歌曲,并立即切换播放至一第二歌曲。Specifically, in the embodiment, the first direction is sliding in the lower left corner direction, and the second direction is sliding in the lower right corner direction. When the user listens to the first song, if the screen of the smart terminal receives a gesture operation, and the sliding direction of the gesture operation is the first direction, that is, sliding to the lower left corner, the gesture operation indicates that the user likes the first played currently. The song, the corresponding control command of the gesture operation is collecting and simultaneously downloading the first song. When the user listens to the first song, if the screen of the smart terminal receives a gesture operation, and the sliding direction of the gesture operation is the second direction, that is, sliding to the lower right corner, the gesture operation indicates that the user does not like the currently playing A song, the corresponding control command of the gesture operation is to stop playing the first song, and immediately switch to play a second song.
在一优选实施例中,歌曲试听方法,进一步包括:In a preferred embodiment, the song audition method further includes:
于所述智能终端中,建立一手势数据库,对所述手势数据库中的每一手势设置一对应的所述控制指令。In the smart terminal, a gesture database is established, and a corresponding control instruction is set for each gesture in the gesture database.
具体地,在智能终端中预先建立一手势数据库,手势数据库中的每一手势都具有其独立的滑动方向、运动轨迹等特征,且数据库中的每一手势都对应一控制指令及数值代码。当智能终端根据手势操作的滑动方向对其屏幕所接收到的手势操作进行判定后,进一步对该手势操作对应的控制指令进行匹配,匹配完成后向智能终端返回一相应的数值代码。根据该返回的数值代码,智能终端进一步执行其接收到的控制指令。Specifically, a gesture database is pre-established in the smart terminal, and each gesture in the gesture database has its own independent sliding direction, motion trajectory and the like, and each gesture in the database corresponds to a control command and a numerical code. After the smart terminal determines the gesture operation received by the screen according to the sliding direction of the gesture operation, the smart terminal further matches the control command corresponding to the gesture operation, and returns a corresponding numerical code to the smart terminal after the matching is completed. Based on the returned numeric code, the intelligent terminal further executes the control command it receives.
参阅图2,为符合本发明另一优选实施例中的一种基于智能终端的歌曲试听方法流程示意图。在一优选实施例中,根据所述滑动方向识别所述手势操作,以获得与所述手势操作对应的控制指令的步骤中,进一步包括:2 is a schematic flow chart of a method for auditing a song based on a smart terminal according to another preferred embodiment of the present invention. In a preferred embodiment, the step of identifying the gesture operation according to the sliding direction to obtain a control instruction corresponding to the gesture operation further includes:
记录所述智能终端的屏幕接收所述手势操作的起点、终点及运动轨迹;Recording a start point, an end point, and a motion track of the gesture of the smart terminal;
当智能终端的传感器检测到用户的手指与智能终端的屏幕接触时,智能终端记录下该接触点,记为起点,并根据该起点位置建立一XY坐标系,获取该起点的坐标。建立完成后,智能终端进一步追踪手指在屏幕上的连续移动的滑动路径记为该手势的运动轨迹。此外,根据该滑动轨迹智能终端进一步记录该手势最后停留的位置(即手指抬起离开屏幕的位置),并记为终点,获取该终点的坐标。When the sensor of the smart terminal detects that the finger of the user is in contact with the screen of the smart terminal, the smart terminal records the contact point as a starting point, and establishes an XY coordinate system according to the starting position to obtain the coordinates of the starting point. After the establishment is completed, the smart terminal further tracks the sliding path of the continuous movement of the finger on the screen as the motion trajectory of the gesture. In addition, according to the sliding track, the smart terminal further records the position where the gesture last stays (ie, the position where the finger is lifted off the screen), and records it as an end point, and acquires the coordinates of the end point.
根据所述起点、终点及运动轨迹,计算所述手势操作的滑动方向;Calculating a sliding direction of the gesture operation according to the starting point, the ending point, and a motion trajectory;
待智能终端追踪手势获取到起点、终点的坐标位置以及手指滑动的运动轨迹后,调用函数,将记录所得的坐标数据代入函数中计算,通过计算,即可以获得手势操作的滑动方向。After the smart terminal tracking gesture acquires the coordinate position of the starting point and the ending point and the motion track of the finger sliding, the function is called, and the recorded coordinate data is substituted into the function for calculation, and the sliding direction of the gesture operation can be obtained by calculation.
匹配与具有所述滑动方向的手势操作对应的所述控制指令。The control command corresponding to the gesture operation having the sliding direction is matched.
当通过智能终端对采集所得的坐标数据计算完成获取到手势操作的滑动方向后,进一步调取智能终端手势数据库的数据,寻找数据库中与该滑动方向的手势匹配的控制指令以及与该控制指令对应的数值代码,智能终端根据该数值代码以执行与该手势操作相应的控制指令。After calculating the sliding direction of the gesture operation by calculating the coordinate data obtained by the smart terminal, the data of the smart terminal gesture database is further retrieved, and a control instruction matching the gesture of the sliding direction in the database is searched for and corresponding to the control instruction. The numerical code is based on the smart terminal to execute a control command corresponding to the gesture operation.
参阅图3,为符合本发明另一优选实施例中一种基于智能终端的歌曲试听方法流程示意图。优选地,当所述滑动方向为第一方向时,收藏并下载当前播放的第一歌曲的步骤中,进一步包括:3 is a schematic flow chart of a method for auditing a song based on a smart terminal according to another preferred embodiment of the present invention. Preferably, when the sliding direction is the first direction, the step of collecting and downloading the currently played first song further includes:
根据所述第一方向,获得一标记所述第一歌曲的控制指令;Obtaining a control instruction for marking the first song according to the first direction;
当智能终端通过计算判断手势操作的滑动方向为第一方向时,调用手势数据库,在手势数据库中寻找到与具有第一方向为滑动方向的手势操作对应的控制指令及相应的数值代码,该智能终端根据数值代码执行控制指令时,进一步将该控制指令分为两步:收藏和下载当前播放的第一歌曲。根据该控制指令,首先对当前播放的第一歌曲进行标记。 When the smart terminal determines that the sliding direction of the gesture operation is the first direction by calculating, the gesture database is invoked, and a control instruction corresponding to the gesture operation having the first direction of the sliding direction and a corresponding numerical code are found in the gesture database, and the smart code is used. When the terminal executes the control instruction according to the numerical code, the control instruction is further divided into two steps: collecting and downloading the currently played first song. According to the control command, the currently played first song is first marked.
执行一收藏操作,收藏被标记的所述第一歌曲;Performing a collection operation to collect the first song marked;
标记完成后,通过调用函数,智能终端自动将被标记的第一歌曲包括其缓存于智能终端的本地数据移入一关联的收藏夹中,以完成智能终端对该歌曲的收藏,并于音乐播放界面中呈现一包含第一歌曲名称的收藏列表。After the marking is completed, the smart terminal automatically moves the marked first song, including the local data cached in the smart terminal, into an associated bookmark by the calling function, to complete the collection of the song by the smart terminal, and the music playing interface. A list of favorites containing the first song name is presented.
识别所述收藏操作,以生成一下载所述第一歌曲的下载指令;Identifying the collection operation to generate a download instruction to download the first song;
当智能终端自动识别被标记的第一歌曲被移入一关联的收藏夹的操作,并根据该被识别的操作自动生成一下载第一歌曲的下载指令。When the smart terminal automatically recognizes that the marked first song is moved into an associated favorite, and automatically generates a download instruction to download the first song based on the recognized operation.
根据所述下载指令,下载所述第一歌曲。The first song is downloaded according to the download instruction.
智能终端根据该下载指令通过浏览器访问内嵌FTP的WWW服务器,将第一歌曲的音频文件从FTP服务器拷贝到智能终端中,保存为本地数据,以完成下对第一歌曲下载指令的执行。The smart terminal accesses the embedded WWW server through the browser according to the download instruction, and copies the audio file of the first song from the FTP server to the smart terminal, and saves it as local data to complete execution of the first song download instruction.
参阅图4,为符合本发明一种基于智能终端的歌曲试听系统的结构示意图。于本实施例中,一种基于智能终端的歌曲试听系统,包括:接收模块、解析模块和控制单元所述接收模块,与所述解析模块通讯连接,所述智能终端的歌曲播放界面接收一具有滑动方向的手势操作,并发送所述手势操作至所述解析模块;启用智能终端的歌曲试听系统,打开智能终端的歌曲播放界面,开启歌曲试听功能,播放试听歌曲。定义当前播放的歌曲为第一歌曲。用户对该播放界面,发出一手势操作,该系统通过内置的接收模块接收得到一由用户发出的具有滑动方向的手势操作。手势操作在实际应用过程中无需用户用手指点按,只需在屏幕上滑动,执行特定的手势,即可触动应用程序完成开启、转换和关闭等执行命令。不同手势通过调用不同的函数得以执行不同的控制命令。常见的手势操作包括轻点手势、双轻点手势、轻点滑动手势、按压手势、闪动手势、缩放手势和转动手势。其中,轻点手势指快速触碰屏幕来启动应用程序或激活一个图像。双轻点手势指连续快速轻点屏幕两次以开启或关闭应用程序或文档。轻点滑动手势指将手指放在屏幕上并滑动以移动显示屏上的项目或放大缩小页面、地图和图片。按压手势指将手指放置在屏幕上维持一段时间来开启文档,启动应用程序或其他功能。闪动手势指快速在屏幕上于上下周游方向移动手指以便卷动或滑动一系列项目或页面。缩放手势指将两个手指放置在屏幕上并让它们靠近或分开以放大或缩小显示项目。转动手势指将两个手指放置在屏幕上以顺时针或逆时针方向旋转来转动屏幕中显示的物体。本实施例中的手势操作,为一具有滑动方向的单手手势操作,属于滑动手势,也算是一个常见操作。在现有技术中,滑动手势主要用于查看屏幕无法完全显示的页面,功能类似鼠标的滚轮。此操作主要用于查看图片、网页、纯文本(短信、邮件、笔记)。从左至右或从右至左滑动可以在上一篇与下一篇文章进行切换。在屏幕边缘从左至右或从右至左滑动可以在上一标签与下一标签进行切换。基于滑动手势的不同滑动方向包括向左滑动、向右滑动、向上滑动、向下滑动、向左上滑动、向左下滑动、向右上滑动、向右下滑动,本实施例赋予了滑动手势新的功能,即本实施例中的歌曲试听系统基于接收模块接收所得的不同的滑动方向控制智能终端执行相应的控制指令。本实施例中的手势操作的执行对象(即,屏幕中的显示项目)为歌曲播放界面当前正在播放的第一歌曲。Referring to FIG. 4, it is a schematic structural diagram of a song listening system based on a smart terminal according to the present invention. In this embodiment, a song listening system based on a smart terminal includes: a receiving module, a parsing module, and a receiving unit of the control unit, and is connected to the parsing module, and the song playing interface of the smart terminal receives one a gesture operation of the sliding direction, and sending the gesture operation to the parsing module; enabling the song audition system of the smart terminal, opening the song playing interface of the smart terminal, turning on the audition function of the song, and playing the audition song. Define the currently playing song as the first song. The user sends a gesture operation to the playing interface, and the system receives a gesture operation by the user with a sliding direction through the built-in receiving module. Gesture operation In the actual application process, the user does not need to click with the finger, just swipe on the screen and execute a specific gesture, and then the application can be activated to complete, convert and close the execution command. Different gestures can execute different control commands by calling different functions. Common gesture operations include a tap gesture, a double tap gesture, a tap gesture, a press gesture, a flash gesture, a zoom gesture, and a turn gesture. Among them, a tap gesture refers to quickly touching the screen to launch an application or activate an image. A double tap gesture refers to tapping the screen twice in quick succession to open or close an application or document. Tap the swipe gesture to place your finger on the screen and swipe to move items on the display or zoom in and out, maps, and pictures. Pressing a gesture means placing a finger on the screen for a period of time to open the document, launching an application or other function. A flashing gesture refers to quickly moving a finger in the up and down direction on the screen to scroll or slide a series of items or pages. A zoom gesture refers to placing two fingers on the screen and moving them closer or apart to enlarge or reduce the display item. A turning gesture refers to placing two fingers on the screen to rotate in a clockwise or counterclockwise direction to rotate an object displayed on the screen. The gesture operation in this embodiment is a one-hand gesture operation with a sliding direction, and belongs to a sliding gesture, which is also a common operation. In the prior art, the swipe gesture is mainly used to view a page that cannot be completely displayed on the screen, and functions like a scroll wheel of a mouse. This operation is mainly used to view images, web pages, plain text (sms, mail, notes). Swipe from left to right or right to left to switch between the previous and next articles. Swipe from left to right or right to left at the edge of the screen to switch between the previous tab and the next tab. The different sliding directions based on the sliding gesture include sliding to the left, sliding to the right, sliding upward, sliding downward, sliding to the left, sliding to the left, sliding to the right, and sliding to the right. This embodiment gives a new function of the sliding gesture. That is, the song audition system in this embodiment controls the smart terminal to execute the corresponding control instruction based on the different sliding direction received by the receiving module. The execution object of the gesture operation in this embodiment (ie, the display item in the screen) is the first song currently being played by the song playing interface.
所述解析模块,与所述接收模块、控制模块通讯连接,根据所述滑动方向获得一与所述手势操作对应的控制指令,并发送所述控制指令至所述控制模块;接收模块根据屏幕所接收到的手势操作,通过通讯连接将手势操作发送到解析模块,解析模块解析该手势操作的滑动方向,并通过歌曲试听系统内置的手势数据库,找到与该具有滑动方向的手势操作匹配的控制指令,并通过通讯连接发送匹配的控制指令至控制模块,以此实现通过解析手势操作对智能终端的控制。所述控制模块,与所述解析模块通讯连接,执行所述控制指令;The parsing module is communicably connected to the receiving module and the control module, obtains a control instruction corresponding to the gesture operation according to the sliding direction, and sends the control instruction to the control module; the receiving module according to the screen Receiving the gesture operation, sending the gesture operation to the parsing module through the communication connection, parsing module parsing the sliding direction of the gesture operation, and finding a control instruction matching the gesture operation with the sliding direction through the gesture database built in the song audition system And transmitting the matching control command to the control module through the communication connection, thereby realizing the control of the intelligent terminal by the parsing gesture operation. The control module is communicatively coupled to the parsing module to execute the control command;
当所述滑动方向为第一方向时,所述控制模块收藏并下载当前播放的第一歌曲;控 制模块,与解析模块通讯连接,根据解析模块解析所得的控制指令,控制歌曲播放应用程序。当解析模块解析手势操作的滑动方向为第一方向时,解析模块根据该第一方向的手势操作解析得到与该手势操作匹配的控制指令,根据该以第一方向滑动的手势操作,对应的控制指令为收藏并下载当前播放的第一歌曲。When the sliding direction is the first direction, the control module collects and downloads the currently played first song; The module is connected to the parsing module, and controls the song playing application according to the control command parsed by the parsing module. When the parsing module parses the sliding direction of the gesture operation to the first direction, the parsing module parses the control instruction matching the gesture operation according to the gesture operation of the first direction, and according to the gesture operation of sliding in the first direction, the corresponding control The instruction is to collect and download the first song currently playing.
当所述滑动方向为第二方向时,所述控制模块停止播放所述第一歌曲,切换播放一第二歌曲。当前播放的第一歌曲为用户不喜欢的歌曲时,此时接收模块通过智能终端的屏幕接收到一滑动方向为第二方向的手势操作。解析模块解析该以第二方向滑动的手势操作对歌曲播放界面执行控制指令,并通过通讯连接。控制模块执行解析模块解析所得的控制指令,停止播放第一歌曲,同时切换至下一首歌曲播放,本实施例中定义为切换播放第二歌曲。When the sliding direction is the second direction, the control module stops playing the first song and switches to play a second song. When the currently played first song is a song that the user does not like, the receiving module receives a gesture operation in the second direction by the screen of the smart terminal. The parsing module parses the gesture operation of sliding in the second direction to execute a control instruction on the song playing interface, and is connected through a communication. The control module executes the control command parsed by the parsing module to stop playing the first song and simultaneously switches to the next song playing. In this embodiment, the second song is switched to be played.
在一优选实施例中,所述手势操作为向左下角方向滑动的手势操作和向右下角方向滑动的手势操作。In a preferred embodiment, the gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
具体地,本实施例中的第一方向为向左下角方向滑动,第二方向为向右下角方向滑动。当用户在试听第一歌曲时,若接收模块通过智能终端的屏幕接收到一手势操作,且解析模块解析该手势操作的滑动方向为第一方向,即向左下角方向滑动,该手势操作表明用户喜欢当前播放的第一歌曲,该手势操作对应的控制指令为收藏并同时下载该第一歌曲。当用户在试听第一歌曲时,若智能终端的屏幕接收到一手势操作,且该手势操作的滑动方向为第二方向,即向右下角方向滑动,该手势操作表明用户不喜欢当前播放的第一歌曲,该手势操作对应的控制指令为停止播放第一歌曲,并立即切换播放至一第二歌曲。Specifically, in the embodiment, the first direction is sliding in the lower left corner direction, and the second direction is sliding in the lower right corner direction. When the user listens to the first song, if the receiving module receives a gesture operation through the screen of the smart terminal, and the parsing module parses the sliding direction of the gesture operation to the first direction, that is, slides in the lower left corner direction, the gesture operation indicates the user Like the currently playing first song, the corresponding control command of the gesture operation is collecting and simultaneously downloading the first song. When the user listens to the first song, if the screen of the smart terminal receives a gesture operation, and the sliding direction of the gesture operation is the second direction, that is, sliding to the lower right corner, the gesture operation indicates that the user does not like the currently playing A song, the corresponding control command of the gesture operation is to stop playing the first song, and immediately switch to play a second song.
在一优选实施例中,所述歌曲试听系统,进一步包括一储存单元,所述储存单元与所述解析单元通讯连接;In a preferred embodiment, the song audition system further includes a storage unit, and the storage unit is communicatively coupled to the parsing unit;
所述储存单元,用于建立一手势数据库,对所述手势数据库中的每一手势设置一对应的所述控制指令。具体地,本实施例中的歌曲试听系统进一步包括一储存单元,用于预先建立一手势数据库,手势数据库中的每一手势都具有其独立的滑动方向、运动轨迹等特征,且数据库中的每一手势都对应一控制指令及数值代码。当解析模块根据手势操作的滑动方对其接收模块所接收到的手势操作进行判定后,进一步对该手势操作对应的控制指令进行匹配,匹配完成后向控制模块返回一相应的数值代码。控制模块根据该返回的数值代码,执行相应的控制指令。例如,当接收模块接收一滑动方向为向左下角滑动的手势操作,当解析模块根据左下角滑动的滑动方匹配到一收藏并下载当前播放的第一歌曲的控制指令时,解析模块进一步将该控制指令对应的数值代码(如:1111)发送到控制模块中,控制模块根据该1111的数值代码获得收藏并下载当前播放的第一歌曲的控制指令,并执行该控制指令。又如,当接收模块接收一滑动方向为向右下角滑动的手势操作,当解析模块根据右下角滑动的滑动方匹配到一切换播放一第二歌曲的控制指令时,解析模块进一步将该控制指令对应的数值代码(如:0000)发送到控制模块中,控制模块根据该0000的数值代码获得切换播放一第二歌曲的控制指令,并执行该控制指令。The storage unit is configured to establish a gesture database, and set a corresponding control instruction for each gesture in the gesture database. Specifically, the song audition system in this embodiment further includes a storage unit configured to pre-establish a gesture database, and each gesture in the gesture database has its own independent sliding direction, motion trajectory, and the like, and each of the databases A gesture corresponds to a control command and a numerical code. After the parsing module determines the gesture operation received by the receiving module according to the sliding side of the gesture operation, the control command corresponding to the gesture operation is further matched, and after the matching is completed, a corresponding numerical code is returned to the control module. The control module executes the corresponding control command according to the returned numerical code. For example, when the receiving module receives a gesture operation in which the sliding direction is sliding to the lower left corner, when the parsing module matches the sliding direction of the lower left corner sliding to a collection and downloads the control instruction of the currently played first song, the parsing module further The numerical code corresponding to the control instruction (for example, 1111) is sent to the control module, and the control module obtains a control instruction for collecting and downloading the currently played first song according to the numerical code of the 1111, and executes the control instruction. For another example, when the receiving module receives a gesture operation in which the sliding direction is sliding to the lower right corner, the parsing module further controls the control instruction when the sliding module of the parsing module is matched according to the sliding direction of the lower right corner to a control command for switching to play a second song. The corresponding numerical code (for example, 0000) is sent to the control module, and the control module obtains a control instruction for switching to play a second song according to the numerical code of the 0000, and executes the control instruction.
参阅图5,为符合本发明另一优选实施例中的一种基于智能终端的歌曲试听系统的解析模块结构示意图。在一优选实施例中,所述解析模块,进一步包括:Referring to FIG. 5, it is a schematic structural diagram of an analysis module of a song listening system based on a smart terminal according to another preferred embodiment of the present invention. In a preferred embodiment, the parsing module further includes:
记录单元,记录所述智能终端的屏幕接收所述手势操作的起点、终点及运动轨迹;当接收模块检测到用户的手指与智能终端的屏幕接触时,通过通讯连接,解析模块中的记录单元记录下该接触点,记为起点,并根据该起点位置建立一XY坐标系,获取该起点的坐标。建立完成后,记录单元进一步追踪手指在屏幕上的连续移动的滑动路径记为该手势的运动轨迹。此外,根据该滑动轨迹记录单元进一步记录该手势最后停留的位置(即手指抬起离开屏幕的位置),并记为终点,获取该终点的坐标。a recording unit, recording a start point, an end point, and a motion track of the gesture of the smart terminal; when the receiving module detects that the user's finger is in contact with the screen of the smart terminal, the recording unit records in the parsing module are connected through the communication connection The contact point is recorded as a starting point, and an XY coordinate system is established according to the starting position to obtain the coordinates of the starting point. After the establishment is completed, the recording unit further tracks the sliding path of the continuous movement of the finger on the screen as the movement trajectory of the gesture. In addition, according to the sliding track recording unit, the position where the gesture last stays (ie, the position where the finger is lifted off the screen) is recorded, and is recorded as an end point, and the coordinates of the end point are acquired.
计算单元,根据所述起点、终点及运动轨迹,计算所述手势操作的滑动方向;待记 录单元追踪手势获取到起点、终点的坐标位置以及手指滑动的运动轨迹后,解析模块中的计算单元进一步调用函数,将记录所得的坐标数据代入函数中计算,通过计算,即可以获得手势操作的滑动方向。a calculating unit, calculating a sliding direction of the gesture operation according to the starting point, the ending point, and a motion trajectory; After the recording unit tracking gesture acquires the coordinate position of the starting point and the ending point and the motion track of the finger sliding, the calculating unit in the parsing module further calls a function, and the recorded coordinate data is substituted into the function for calculation, and the gesture operation can be obtained by calculation. Sliding direction.
匹配单元,匹配与具有所述滑动方向的手势操作对应的所述控制指令。And a matching unit that matches the control instruction corresponding to the gesture operation having the sliding direction.
当通过计算单元对记录单元记录所得的坐标数据计算完成获取到手势操作的滑动方向后,匹配进一步调取智能终端中的手势数据库的数据,寻找数据库中与该滑动方向的手势匹配的控制指令以及与该控制指令相应的数值代码,匹配单元根据该通过通讯连接输出数值代码,以发送控制指令至控制模块。After calculating the sliding direction of the gesture operation by calculating the coordinate data recorded by the recording unit, the matching further retrieves the data of the gesture database in the smart terminal, and searches for a control instruction in the database that matches the gesture of the sliding direction and A numerical code corresponding to the control command, the matching unit outputs a numerical code according to the communication connection to send a control command to the control module.
参阅图6,为符合本发明另一优选实施例中一种基于智能终端的歌曲试听系统的控制模块结构示意图。优选地,当所述滑动方向为第一方向时,所述控制模块,进一步包括:Referring to FIG. 6, a schematic structural diagram of a control module of a song listening system based on a smart terminal according to another preferred embodiment of the present invention is shown. Preferably, when the sliding direction is the first direction, the control module further includes:
标记单元,根据所述第一方向,执行一标记所述第一歌曲的控制指令;当解析模块通过计算判断接收模块接收所得的手势操作的滑动方向为第一方向时,调用手势数据库,在手势数据库中寻找到与具有第一方向为滑动方向的手势操作对应的控制指令以及相应的数值代码,并通过通讯连接发送数值代码至控制模块,控制模块根据该数值代码执行相应的控制指令:收藏并下载当前播放的第一歌曲。进一步地,控制模块将该控制指令分为两步:收藏和下载当前播放的第一歌曲。根据该控制指令,首先对当前播放的第一歌曲进行标记。a marking unit, according to the first direction, executing a control instruction for marking the first song; when the parsing module determines that the sliding direction of the gesture operation received by the receiving module is the first direction by calculating, the gesture database is invoked, and the gesture is The control command corresponding to the gesture operation having the first direction of the sliding direction and the corresponding numerical code are found in the database, and the numerical code is sent to the control module through the communication connection, and the control module executes the corresponding control instruction according to the numerical code: collecting and Download the first song currently playing. Further, the control module divides the control command into two steps: collecting and downloading the currently played first song. According to the control command, the currently played first song is first marked.
收藏单元,执行一收藏操作,收藏被标记的所述第一歌曲;a collecting unit, performing a collecting operation, collecting the first song marked;
控制模块中的标记单元完成对第一歌曲的标记后,收藏单元进一步通过调用函数,自动将标记单元标记的第一歌曲包括其缓存于智能终端的本地数据移入一关联的收藏夹中,以完成对该歌曲的收藏,并于音乐播放界面中呈现一包含第一歌曲名称的收藏列表。After the marking unit in the control module completes marking the first song, the collecting unit further automatically moves the first song of the marking unit marking, including the local data cached in the smart terminal, into an associated favorite by calling the function, to complete The collection of the song, and a list of favorites containing the first song name is presented in the music play interface.
识别单元,识别所述收藏操作,以生成一下载所述第一歌曲的下载指令;An identification unit, identifying the collection operation to generate a download instruction for downloading the first song;
识别单元自动识别被标记的第一歌曲被移入一关联的收藏夹的操作,并根据该被识别的操作自动生成一下载第一歌曲的下载指令。The recognition unit automatically recognizes that the marked first song has been moved into an associated favorite, and automatically generates a download instruction to download the first song based on the recognized operation.
下载单元,根据所述下载指令,下载所述第一歌曲。The download unit downloads the first song according to the download instruction.
下载单元根据该下载指令通过浏览器访问内嵌FTP的WWW服务器,将第一歌曲的音频文件从FTP服务器拷贝到智能终端中,保存为本地数据,以完成下对第一歌曲下载指令的执行。The download unit accesses the embedded WWW server through the browser according to the download instruction, and copies the audio file of the first song from the FTP server to the smart terminal, and saves it as local data to complete execution of the first song download instruction.
采用本发明提供的一种基于智能终端的歌曲试听方法及歌曲试听系统时,当用户需要对当前播放的歌曲下载或者切换时,无需手动逐级打开歌曲播放程序中的菜单点击相应的选项,仅需通过在歌曲播放界面上向不同方向滑动,即可实现对试听歌曲的下载或切换。When using the smart terminal-based song audition method and the song audition system provided by the present invention, when the user needs to download or switch the currently playing song, it is not necessary to manually open the menu in the song playing program to click the corresponding option, only You can download or switch the audition song by sliding it in different directions on the song playback interface.
应当注意的是,本发明的实施例有较佳的实施性,且并非对本发明作任何形式的限制,任何熟悉该领域的技术人员可能利用上述揭示的技术内容变更或修饰为等同的有效实施例,但凡未脱离本发明技术方案的内容,依据本发明的技术实质对以上实施例所作的任何修改或等同变化及修饰,均仍属于本发明技术方案的范围内。 It should be noted that the embodiments of the present invention are preferred embodiments, and are not intended to limit the scope of the present invention. Any one skilled in the art may use the above-disclosed technical contents to change or modify the equivalent embodiments. Any modification or equivalent changes and modifications of the above embodiments in accordance with the technical spirit of the present invention are still within the scope of the technical solutions of the present invention.

Claims (10)

  1. 一种基于智能终端的歌曲试听方法,其特征在于,A song listening method based on intelligent terminal, characterized in that
    所述歌曲试听方法包括如下步骤:The song audition method includes the following steps:
    所述智能终端的歌曲播放界面接收一具有滑动方向的手势操作;The song playing interface of the smart terminal receives a gesture operation with a sliding direction;
    根据所述滑动方向,获得一与所述手势操作对应的控制指令;Obtaining a control instruction corresponding to the gesture operation according to the sliding direction;
    当所述滑动方向为第一方向时,收藏并下载当前播放的第一歌曲;When the sliding direction is the first direction, collecting and downloading the currently played first song;
    当所述滑动方向为第二方向时,停止播放所述第一歌曲,切换播放一第二歌曲。When the sliding direction is the second direction, the playing of the first song is stopped, and a second song is switched.
  2. 如权利要求1所述的歌曲试听方法,其特征在于,A song audition method according to claim 1, wherein
    所述手势操作为向左下角方向滑动的手势操作和向右下角方向滑动的手势操作。The gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
  3. 如权利要求1所述的歌曲试听方法,其特征在于,A song audition method according to claim 1, wherein
    根据所述滑动方向识别所述手势操作,以获得与所述手势操作对应的控制指令的步骤中,进一步包括:And the step of identifying the gesture operation according to the sliding direction to obtain a control instruction corresponding to the gesture operation, further comprising:
    检测所述智能终端的屏幕接收所述手势操作的起点、终点及运动轨迹;Detecting a screen of the smart terminal to receive a start point, an end point, and a motion track of the gesture operation;
    根据所述起点、终点及运动轨迹,计算所述手势操作的滑动方向;Calculating a sliding direction of the gesture operation according to the starting point, the ending point, and a motion trajectory;
    匹配与具有所述滑动方向的手势操作对应的所述控制指令。The control command corresponding to the gesture operation having the sliding direction is matched.
  4. 如权利要求1所述的歌曲试听方法,其特征在于,A song audition method according to claim 1, wherein
    当所述滑动方向为第一方向时,收藏并下载当前播放的第一歌曲的步骤中,进一步包括:When the sliding direction is the first direction, the step of collecting and downloading the currently played first song further includes:
    根据所述第一方向,执行一标记所述第一歌曲的控制指令;Performing a control instruction for marking the first song according to the first direction;
    执行一收藏操作,收藏被标记的所述第一歌曲;Performing a collection operation to collect the first song marked;
    识别所述收藏操作,以生成一下载所述第一歌曲的下载指令;Identifying the collection operation to generate a download instruction to download the first song;
    根据所述下载指令,下载所述第一歌曲。The first song is downloaded according to the download instruction.
  5. 如权利要求1-4任一项所述的歌曲试听方法,其特征在于,A song audition method according to any one of claims 1 to 4, characterized in that
    所述歌曲试听方法,进一步包括:The song audition method further includes:
    于所述智能终端中,建立一手势数据库,对所述手势数据库中的每一手势设置一对应的所述控制指令。In the smart terminal, a gesture database is established, and a corresponding control instruction is set for each gesture in the gesture database.
  6. 一种基于智能终端的歌曲试听系统,其特征在于,A song listening system based on intelligent terminal, characterized in that
    所述歌曲试听系统包括:接收模块、解析模块和控制单元;The song audition system includes: a receiving module, a parsing module, and a control unit;
    所述接收模块,与所述解析模块通讯连接,所述智能终端的歌曲播放界面接收一具有滑动方向的手势操作,并发送所述手势操作至所述解析模块;The receiving module is in communication with the parsing module, and the song playing interface of the smart terminal receives a gesture operation with a sliding direction, and sends the gesture operation to the parsing module;
    所述解析模块,与所述接收模块、控制模块通讯连接,根据所述滑动方向获得一与所述手势操作对应的控制指令,并发送所述控制指令至所述控制模块;The parsing module is connected to the receiving module and the control module, and obtains a control instruction corresponding to the gesture operation according to the sliding direction, and sends the control command to the control module;
    所述控制模块,与所述解析模块通讯连接,执行所述控制指令;The control module is communicatively coupled to the parsing module to execute the control command;
    当所述滑动方向为第一方向时,所述控制模块收藏并下载当前播放的第一歌曲;When the sliding direction is the first direction, the control module collects and downloads the currently played first song;
    当所述滑动方向为第二方向时,所述控制模块停止播放所述第一歌曲,切换播放一第二歌曲。When the sliding direction is the second direction, the control module stops playing the first song and switches to play a second song.
  7. 如权利要求6所述的歌曲试听系统,其特征在于,A song audition system according to claim 6 wherein:
    所述手势操作为向左下角方向滑动的手势操作和向右下角方向滑动的手势操作。The gesture operation is a gesture operation of sliding to the lower left corner direction and a gesture operation of sliding to the lower right corner direction.
  8. 如权利要求6所述的歌曲试听系统,其特征在于,A song audition system according to claim 6 wherein:
    所述解析模块,进一步包括:The parsing module further includes:
    记录单元,记录所述智能终端的屏幕接收所述手势操作的起点、终点及运动轨迹;a recording unit that records a start point, an end point, and a motion track of the gesture of the smart terminal;
    计算单元,根据所述起点、终点及运动轨迹,计算所述手势操作的滑动方向;a calculating unit, calculating a sliding direction of the gesture operation according to the starting point, the ending point, and the motion track;
    匹配单元,匹配与具有所述滑动方向的手势操作对应的所述控制指令。。And a matching unit that matches the control instruction corresponding to the gesture operation having the sliding direction. .
  9. 如权利要求6所述的歌曲试听系统,其特征在于,A song audition system according to claim 6 wherein:
    当所述滑动方向为第一方向时,所述控制模块,进一步包括: When the sliding direction is the first direction, the control module further includes:
    标记单元,根据所述第一方向,执行一标记所述第一歌曲的控制指令;Marking unit, according to the first direction, executing a control instruction for marking the first song;
    收藏单元,执行一收藏操作,收藏被标记的所述第一歌曲;a collecting unit, performing a collecting operation, collecting the first song marked;
    识别单元,识别所述收藏操作,以生成一下载所述第一歌曲的下载指令;An identification unit, identifying the collection operation to generate a download instruction for downloading the first song;
    下载单元,根据所述下载指令,下载所述第一歌曲。The download unit downloads the first song according to the download instruction.
  10. 如权利要求6-9任一项所述的歌曲试听系统,其特征在于,A song audition system according to any one of claims 6-9, characterized in that
    所述歌曲试听系统,进一步包括一储存单元,所述储存单元与所述解析单元通讯连接;The song audition system further includes a storage unit, and the storage unit is communicatively connected to the parsing unit;
    所述储存单元,用于建立一手势数据库,对所述手势数据库中的每一手势设置一对应的所述控制指令。 The storage unit is configured to establish a gesture database, and set a corresponding control instruction for each gesture in the gesture database.
PCT/CN2017/100912 2017-09-07 2017-09-07 Smart terminal based song audition method and system WO2019047106A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780096603.8A CN111433730A (en) 2017-09-07 2017-09-07 Song audition method and song audition system based on intelligent terminal
PCT/CN2017/100912 WO2019047106A1 (en) 2017-09-07 2017-09-07 Smart terminal based song audition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100912 WO2019047106A1 (en) 2017-09-07 2017-09-07 Smart terminal based song audition method and system

Publications (1)

Publication Number Publication Date
WO2019047106A1 true WO2019047106A1 (en) 2019-03-14

Family

ID=65633298

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100912 WO2019047106A1 (en) 2017-09-07 2017-09-07 Smart terminal based song audition method and system

Country Status (2)

Country Link
CN (1) CN111433730A (en)
WO (1) WO2019047106A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266883A (en) * 2019-06-20 2019-09-20 广州酷狗计算机科技有限公司 Song downloads collecting method, device, terminal device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070028749A1 (en) * 2005-08-08 2007-02-08 Basson Sara H Programmable audio system
CN102236502A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Pressure touch gesture recognition human-computer interaction way for mobile terminal
CN103838512A (en) * 2014-03-26 2014-06-04 联想(北京)有限公司 Control method and electronic equipment
CN205282093U (en) * 2015-12-15 2016-06-01 广州酷狗计算机科技有限公司 Audio player
CN105739891A (en) * 2016-01-27 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Music processing method and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104820571A (en) * 2015-03-20 2015-08-05 广东欧珀移动通信有限公司 Method and device for switching songs
WO2017028116A1 (en) * 2015-08-16 2017-02-23 胡丹丽 Intelligent desktop speaker and method for controlling intelligent desktop speaker

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070028749A1 (en) * 2005-08-08 2007-02-08 Basson Sara H Programmable audio system
CN102236502A (en) * 2010-04-21 2011-11-09 上海三旗通信科技有限公司 Pressure touch gesture recognition human-computer interaction way for mobile terminal
CN103838512A (en) * 2014-03-26 2014-06-04 联想(北京)有限公司 Control method and electronic equipment
CN205282093U (en) * 2015-12-15 2016-06-01 广州酷狗计算机科技有限公司 Audio player
CN105739891A (en) * 2016-01-27 2016-07-06 宇龙计算机通信科技(深圳)有限公司 Music processing method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266883A (en) * 2019-06-20 2019-09-20 广州酷狗计算机科技有限公司 Song downloads collecting method, device, terminal device and storage medium

Also Published As

Publication number Publication date
CN111433730A (en) 2020-07-17

Similar Documents

Publication Publication Date Title
US11740694B2 (en) Managing and mapping multi-sided touch
US11692840B2 (en) Device, method, and graphical user interface for synchronizing two or more displays
US9110587B2 (en) Method for transmitting and receiving data between memo layer and application and electronic device using the same
AU2012281308B2 (en) Method and apparatus for controlling content using graphical object
TWI720062B (en) Voice input method, device and terminal equipment
CN103733197B (en) The management of local and remote media item
US8972903B2 (en) Using gesture to navigate hierarchically ordered user interface screens
KR102070013B1 (en) Contents Operating Method And Electronic Device operating the same
US20140365895A1 (en) Device and method for generating user interfaces from a template
WO2019062910A1 (en) Copy and pasting method, data processing apparatus, and user device
US7650445B2 (en) System and method for enabling a mobile device as a portable character input peripheral device
CN103631510A (en) Method of controlling function execution in a mobile terminal by recognizing writing gesture and apparatus for performing the same
WO2019128193A1 (en) Mobile terminal, and floating window operation control method and device
US20170206216A1 (en) Method and apparatus for performing auto-naming of content, and computer-readable recording medium thereof
WO2018133285A1 (en) Display method and terminal
WO2017101445A1 (en) Method for responding to operation track and operation track response apparatus
KR20150081062A (en) Convertible device and method of controlling thereof
CN103197759A (en) Method, device and equipment for controlling external equipment on mobile equipment
CN106802808A (en) Suspension button control method and device
CN108829686A (en) Translation information display methods, device, equipment and storage medium
CN108604331A (en) A kind of information prompting method and mobile device
KR20140105340A (en) Method and Apparatus for operating multi tasking in a terminal
CN106293351A (en) Menu arrangements method and device
WO2019047106A1 (en) Smart terminal based song audition method and system
CN110597480A (en) User-defined voice instruction implementation method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17924173

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17924173

Country of ref document: EP

Kind code of ref document: A1