WO2019056194A1 - 一种信息处理方法、终端及计算机可读介质 - Google Patents

一种信息处理方法、终端及计算机可读介质 Download PDF

Info

Publication number
WO2019056194A1
WO2019056194A1 PCT/CN2017/102385 CN2017102385W WO2019056194A1 WO 2019056194 A1 WO2019056194 A1 WO 2019056194A1 CN 2017102385 W CN2017102385 W CN 2017102385W WO 2019056194 A1 WO2019056194 A1 WO 2019056194A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint information
pressing operation
audio file
terminal
user
Prior art date
Application number
PCT/CN2017/102385
Other languages
English (en)
French (fr)
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 PCT/CN2017/102385 priority Critical patent/WO2019056194A1/zh
Publication of WO2019056194A1 publication Critical patent/WO2019056194A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to an information processing method, a terminal, and a computer readable medium.
  • mobile terminals have become an indispensable part of people's daily lives, and the functions of mobile terminals are also increasing.
  • mobile phones, tablet computers, etc. can be installed with various functions of applications, among them,
  • An audio file is one of the applications in a mobile terminal.
  • the method for playing the audio file by the mobile terminal is mainly to open the application for playing the audio file, output the play interface, and the user selects the audio file to be played in the play interface to play.
  • the user wants to switch audio files, they need to re-open the application switch, switch through the lock screen interface, shake the phone switch or use the headset to switch with the button.
  • the embodiment of the invention provides an information processing method, a terminal and a computer readable medium, which can improve the efficiency of information processing.
  • an embodiment of the present invention provides an information processing method, including:
  • the currently played audio file is switched according to the fingerprint information.
  • an embodiment of the present invention provides a terminal, where the terminal includes a unit for performing the method of the foregoing first aspect.
  • an embodiment of the present invention provides another terminal, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, wherein the memory is used for storage.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.
  • the terminal when the terminal plays the audio file, when the user presses the pressing operation input by the user, the fingerprint information associated with the pressing operation is acquired, and the fingerprint information and the preset fingerprint information are verified. Then, the currently played audio file is switched according to the fingerprint information, so that the user can simplify the operation and improve the efficiency of information processing.
  • FIG. 1 is a schematic flow chart of an information processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of another information processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic block diagram of another terminal according to an embodiment of the present invention.
  • the term “if” can be interpreted as “when” or “on” or “in response to determining” or “in response to detecting” depending on the context. .
  • the phrase “if determined” or “if detected [condition or event described]” may be interpreted in context to mean “once determined” or “in response to determining” or “once detected [condition or event described] ] or “in response to detecting [conditions or events described]”.
  • the embodiment of the invention provides an information processing method, which is applied to a terminal, such as a smart terminal such as a mobile phone or a tablet.
  • the method is based on the fingerprint technology and the stereo touch 3D Touch technology.
  • the terminal plays the audio file, when the user operation is monitored, the fingerprint information associated with the user operation is acquired, and the fingerprint information and the preset fingerprint information are verified. If the verification is successful, the currently played audio file is switched according to the fingerprint information. For example, when the mobile phone is playing a song, when the user presses the HOME button or the fingerprint unlock button, the terminal can obtain the fingerprint information associated with the re-press of the HOME button or the fingerprint unlock button by recognizing the fingerprint of the button. The fingerprint information is matched and checked with the preset fingerprint information. If the verification is successful, the mode of the cut song is determined according to the fingerprint information, and the cut song is performed.
  • the method of switching the audio file mainly includes switching through the audio playing software, switching through the lock screen interface, switching by shaking the mobile phone terminal or the like through the earphone button, and the switching methods are complicated. .
  • an embodiment of the present invention provides an information processing method, a terminal, and a computer readable medium, which can acquire and identify fingerprint information by pressing a pressing operation, and select different switching modes according to the fingerprint information to switch the audio file, thereby improving information processing. effectiveness.
  • FIG. 1 is a schematic flowchart of an information processing method according to an embodiment of the present invention. The method may be applied to a terminal. As shown in FIG. 1, the method may include:
  • the terminal can play the audio file in response to the play instruction of the audio file.
  • the terminal can play the selected song in response to a play command of the song file in the song playing software.
  • S102 Acquire fingerprint information associated with the user operation when the user operation is monitored.
  • the terminal may acquire fingerprint information associated with the user operation when the user operation is monitored. Specifically, the terminal may listen to a user operation, and acquire fingerprint information related to the user operation according to the user operation.
  • the user operation includes a pressing operation including a pressing operation of the touch key (first pressing operation) or a pressing operation of the HOME key (second pressing operation). For example, if the terminal monitors the pressing operation of the touch key, the terminal can obtain the fingerprint information of the user by the pressing operation of the touch key.
  • the terminal may monitor a pressing operation input by the user, acquire an operation type of the pressing operation, and acquire fingerprint information associated with the pressing operation according to the operation type. For example, if the terminal listens to the pressing operation of the HOME key input by the user, the terminal can obtain the fingerprint information of the user by pressing the HOME key.
  • the operation type includes a first pressing operation for sequentially switching audio files, and a second pressing operation for randomly switching audio files.
  • the terminal may acquire the pressure generated by the pressing operation according to the operation type, detect whether the pressure is greater than a preset threshold, and if the detection result is yes, acquire a fingerprint associated with the pressing operation. If the detection result is no, the prompt information is output, and the prompt information is used to prompt the user to obtain the fingerprint information.
  • the terminal can obtain the pressure generated by the pressing operation of the touch key (the first pressing operation), and detect whether the pressure generated by the pressing operation of the touch key is greater than a preset threshold. If the detection result is yes, Then, the fingerprint information associated with the pressing operation of the touch key is obtained. If the detection result is no, the prompt information is output, and the prompt information is used to prompt the user to obtain the fingerprint information.
  • the terminal may obtain a pressure generated by a pressing operation (second pressing operation) of the HOME button, and detect whether the pressure generated by the second pressing operation is greater than a preset threshold, and if the detection result is yes, acquire the HOME key. If the detection result is no, the prompt information is output, and the prompt information is used to prompt the user to obtain the fingerprint information.
  • second pressing operation second pressing operation
  • S103 Verify the fingerprint information and the preset fingerprint information.
  • the terminal may perform the verification of the obtained fingerprint information and the preset fingerprint information.
  • the preset fingerprint information includes a first preset fingerprint information and a second preset fingerprint information, where the first preset fingerprint information is used to verify fingerprint information associated with the first pressing operation, and the second preset fingerprint The information is used to verify fingerprint information associated with the second press operation.
  • the terminal may detect whether the acquired fingerprint information associated with the pressing operation matches the preset fingerprint information. If the detection result is yes, it is determined that the verification is successful, and if the detection result is no, the terminal outputs The prompt information is used to prompt the user to verify the failure. For example, the terminal acquires fingerprint information associated with a pressing operation (first pressing operation) of the touch key, and detects whether the fingerprint information matches the first preset fingerprint information. If the matching, the verification is successful, if not, Then it is determined that the verification failed. For another example, the terminal acquires fingerprint information associated with a pressing operation (second pressing operation) of the HOME key, and detects whether the fingerprint information matches the second preset fingerprint information. If the matching, the verification succeeds, if not, Then it is determined that the verification failed.
  • the terminal if the terminal successfully verifies, the terminal switches the currently played audio file according to the fingerprint information. Specifically, if the terminal detects that the fingerprint information associated with the pressing operation matches the preset fingerprint information, and determines that the verification is successful, the terminal may select, according to the fingerprint information, a switching manner corresponding to the fingerprint information to the currently played The audio file is switched. For example, if the terminal detects that the fingerprint information associated with the pressing operation (the first pressing operation) of the touch key matches the preset fingerprint information, and determines that the verification is successful, the terminal may select the fingerprint according to the fingerprint information. The switching mode corresponding to the information is switched according to the order of the playlists to switch the currently played audio file.
  • the terminal may acquire a playlist of the audio file, and according to the obtained fingerprint information, switch the currently played audio file according to the order of the audio files in the playlist.
  • the terminal may acquire an arrangement order of each audio file in the playlist, and switch the currently played audio file according to the order of the audio files according to the fingerprint information associated with the first pressing operation. Or, the currently played audio file is randomly switched according to the fingerprint information associated with the second pressing operation.
  • the terminal may obtain an arrangement order of each song file in the playlist of the song playing software, according to a pressing operation with the touch key (first pressing Operation) associated fingerprint information, switching the currently played songs in the order in which the song files are arranged.
  • the terminal may randomly switch the currently played song file according to the fingerprint information associated with the pressing operation (second pressing operation) of the HOME key.
  • the terminal may monitor the pressing operation of the user when playing the audio file, and acquire the fingerprint information associated with the pressing operation. If the fingerprint information is matched with the preset fingerprint information, the terminal may The fingerprint information switches the currently played audio file, thereby implementing switching of the audio file by using the fingerprint information, thereby improving the efficiency of information processing.
  • FIG. 2 is a schematic flowchart of another information processing method according to an embodiment of the present invention.
  • the method may be applied to a terminal. As shown in FIG. 2, the method may include:
  • S201 Play an audio file in response to a play instruction of the audio file.
  • the terminal can play the audio file in response to the play instruction of the audio file.
  • the terminal can play the selected song in response to a play command of the song file in the song playing software.
  • S202 Monitor the pressing operation input by the user.
  • the terminal can monitor the pressing operation input by the user.
  • the terminal can monitor the pressing operation of the touch key.
  • the terminal may obtain the operation type of the pressing operation, where the operation type includes a first pressing operation and a second pressing operation, the first pressing operation includes a pressing operation of the touch key; the second pressing operation Includes the pressing operation of the HOME button.
  • the terminal may acquire the pressure generated by the pressing operation according to the operation type. Specifically, if the terminal obtains the first pressing operation, the terminal may acquire the pressure generated by the first pressing operation; if the terminal acquires the second pressing operation, the terminal may acquire the pressure generated by the second pressing operation. For example, if the terminal obtains a pressing operation of the touch key, the pressure generated by the pressing operation of the touch key can be acquired. For another example, if the terminal obtains the pressing operation of the HOME, the terminal can acquire the pressure generated by the pressing operation of the HOME button.
  • S205 Detect whether the pressure is greater than a preset threshold.
  • the terminal can detect whether the pressure is greater than a preset threshold. For example, the terminal can acquire the pressure generated by the pressing operation of the touch key (the first pressing operation), and detect the pressing of the touch key. Whether the pressure generated by the pressing operation is greater than a preset threshold.
  • step S206 If the detection result is yes, acquiring fingerprint information associated with the pressing operation, and executing step S208.
  • the terminal may acquire the fingerprint information associated with the pressing operation, and perform the verification of the fingerprint information and the preset fingerprint information. For example, the terminal can obtain the pressure generated by the pressing operation of the touch key (the first pressing operation), and detect whether the pressure generated by the pressing operation of the touch key is greater than a preset threshold. If the detection result is yes, And acquiring fingerprint information associated with the pressing operation of the touch key, and performing the verifying the fingerprint information and the preset fingerprint information.
  • the terminal may obtain a pressure generated by a pressing operation (second pressing operation) of the HOME button, and detect whether the pressure generated by the second pressing operation is greater than a preset threshold, and if the detection result is yes, acquire the HOME key. Pressing the associated fingerprint information and performing the verification of the fingerprint information and the preset fingerprint information.
  • the terminal if the terminal detects that the pressure generated by the pressing operation is not greater than the preset threshold, the terminal outputs the prompt information, where the prompt information is used to prompt the user to obtain the fingerprint information.
  • the terminal may acquire the pressure generated by the pressing operation of the touch key (the first pressing operation), and detect whether the pressure generated by the pressing operation of the touch key is greater than a preset threshold. If the detection result is no, the prompt information is output. The prompt information is used to prompt the user to obtain the fingerprint information.
  • the terminal may obtain the pressure generated by the pressing operation of the HOME button (the second pressing operation), detect whether the pressure generated by the second pressing operation is greater than a preset threshold, and if the detection result is no, output a prompt message,
  • the prompt message is used to prompt the user to obtain the fingerprint information.
  • S208 Verify the fingerprint information and the preset fingerprint information.
  • the terminal may perform the verification of the obtained fingerprint information and the preset fingerprint information.
  • the preset fingerprint information includes a first preset fingerprint information and a second preset fingerprint information, where the first preset fingerprint information is used to verify fingerprint information associated with the first pressing operation, and the second preset fingerprint The information is used to verify fingerprint information associated with the second press operation.
  • the terminal may detect whether the acquired fingerprint information associated with the pressing operation matches the preset fingerprint information, and if the detection result is yes, determine that the verification is successful, if the verification is successful. If the test result is no, the prompt information is output, and the prompt information is used to prompt the user to verify the failure.
  • the terminal acquires fingerprint information associated with a pressing operation (first pressing operation) of the touch key, and detects whether the fingerprint information matches the first preset fingerprint information. If the matching, the verification is successful, if not, Then it is determined that the verification failed.
  • the terminal acquires fingerprint information associated with a pressing operation (second pressing operation) of the HOME key, and detects whether the fingerprint information matches the second preset fingerprint information. If the matching, the verification succeeds, if not, Then it is determined that the verification failed.
  • the terminal if the terminal successfully verifies, the terminal switches the currently played audio file according to the fingerprint information. Specifically, if the terminal detects that the fingerprint information associated with the pressing operation matches the preset fingerprint information, and determines that the verification is successful, the terminal may select, according to the fingerprint information, a switching manner corresponding to the fingerprint information to the currently played The audio file is switched. For example, if the terminal detects that the fingerprint information associated with the pressing operation (the first pressing operation) of the touch key matches the preset fingerprint information, and determines that the verification is successful, the terminal may select the fingerprint according to the fingerprint information. The switching mode corresponding to the information is switched according to the order of the playlists to switch the currently played audio file.
  • the terminal may acquire a playlist of the audio file, and according to the obtained fingerprint information, switch the currently played audio file according to the order of the audio files in the playlist.
  • the terminal may acquire an arrangement order of each audio file in the playlist, and switch the currently played audio file according to the order of the audio files according to the fingerprint information associated with the first pressing operation. Or, the currently played audio file is randomly switched according to the fingerprint information associated with the second pressing operation.
  • the terminal may obtain an arrangement order of each song file in the playlist of the song playing software, according to the fingerprint information associated with the pressing operation (first pressing operation) of the touch key, according to the order of the song files. Switch the currently playing song.
  • the terminal may randomly switch the currently played song file according to the fingerprint information associated with the pressing operation (second pressing operation) of the HOME key.
  • the terminal when the audio file is played, the terminal may monitor the pressing operation of the user, obtain the operation type of the pressing operation, and the pressure generated by the pressing operation. When the pressure is greater than the preset threshold, the terminal acquires the pressing. The associated fingerprint information is operated, and the fingerprint information and the preset fingerprint information are verified. If the verification is successful, the currently played audio file is switched according to the fingerprint information. The fingerprint information is obtained by the pressure generated by the pressing operation, and the manner of switching the audio file is determined according to the fingerprint information, thereby realizing the switching of the audio file, thereby improving the efficiency of information processing.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal includes a unit for performing the foregoing method. Specifically, the terminal includes a playing unit 301, an obtaining unit 302, a checking unit 303, and a switching unit 304. among them,
  • the playing unit 301 is configured to play an audio file in response to a play instruction of the audio file.
  • the obtaining unit 302 is configured to acquire fingerprint information associated with the user operation when the user operation is monitored;
  • the verification unit 303 is configured to check the fingerprint information and the preset fingerprint information.
  • the switching unit 304 is configured to switch the currently played audio file according to the fingerprint information if the verification is successful.
  • the obtaining unit 302 is configured to monitor a pressing operation input by the user, acquire an operation type of the pressing operation, and acquire fingerprint information associated with the pressing operation according to the operation type.
  • the operation type includes a first pressing operation for sequentially switching audio files, and a second pressing operation for randomly switching audio files.
  • the obtaining unit 302 is further configured to: acquire the pressure generated by the pressing operation according to the operation type; detect whether the pressure is greater than a preset threshold; if the detection result is yes, acquire the pressing The associated fingerprint information is operated; if the detection result is no, the prompt information is output, and the prompt information is used to prompt the user to obtain the fingerprint information.
  • the verification unit 303 is configured to detect whether the acquired fingerprint information associated with the pressing operation matches the preset fingerprint information; if the detection result is yes, determine that the verification is successful; If the result is no, the prompt information is output, and the prompt information is used to prompt the user to verify the failure.
  • the switching unit 304 is configured to acquire a playlist of the audio file, and switch the currently played audio file according to the obtained fingerprint information according to an arrangement order of each audio file in the playlist. .
  • the switching unit 304 is further configured to acquire an arrangement order of the audio files in the playlist, and arrange the audio files according to the fingerprint information associated with the first pressing operation.
  • the sequence of the currently played audio file is switched; or the currently played audio file is randomly switched according to the fingerprint information associated with the second pressing operation.
  • the terminal can obtain the fingerprint information associated with the pressing operation by the acquiring unit 302 when the audio unit is playing the audio file, and the verification unit 303 detects the fingerprint information.
  • the switching unit 304 can switch the currently played audio file according to the fingerprint information, thereby implementing switching of the audio file by using the fingerprint information, thereby improving the efficiency of information processing.
  • FIG. 4 is a schematic block diagram of another terminal according to an embodiment of the present invention.
  • the terminal in this embodiment as shown may include one or more processors 401; one or more input devices 402, one or more output devices 403, and memory 404.
  • the above processor 401, input device 402, output device 403, and memory 404 are connected by a bus 405.
  • the memory 402 is for storing instructions
  • the processor 401 is for executing instructions stored by the memory 402.
  • the processor 401 is configured to:
  • the currently played audio file is switched according to the fingerprint information.
  • processor 401 is further configured to perform the following operations:
  • fingerprint information associated with the pressing operation is acquired.
  • the operation type includes a first pressing operation for sequentially switching audio files, and a second pressing operation for randomly switching audio files.
  • processor 401 is further configured to perform the following operations:
  • the prompt information is output, and the prompt information is used to prompt the user to obtain the fingerprint information.
  • processor 401 is further configured to perform the following operations:
  • test result is yes, it is determined that the verification is successful
  • the prompt information is output, and the prompt information is used to prompt the user to verify the failure.
  • processor 401 is further configured to perform the following operations:
  • the currently played audio file is switched according to the arrangement order of each audio file in the playlist.
  • processor 401 is further configured to perform the following operations:
  • the currently played audio file is randomly switched according to the fingerprint information associated with the second pressing operation.
  • the terminal when the audio file is played, the terminal may monitor the pressing operation of the user, obtain the operation type of the pressing operation, and the pressure generated by the pressing operation. When the pressure is greater than the preset threshold, the terminal acquires the pressing. The fingerprint information of the operation is checked, and the fingerprint information is verified with the preset fingerprint information. If the verification is successful, the currently played audio file is switched according to the fingerprint information, and the fingerprint is obtained by the pressure generated by the pressing operation, according to the fingerprint. The information determines the way to switch the audio file, realizes the switching of the audio file, and improves the efficiency of information processing.
  • the processor 401 may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the input device 402 can include a touch panel and a fingerprint sensor (for collecting fingerprint information of the user) And the direction information of the fingerprint), the microphone, etc.
  • the output device 403 may include a display (LCD or the like), a speaker, or the like.
  • the memory 404 can include read only memory and random access memory and provides instructions and data to the processor 401.
  • a portion of memory 404 may also include non-volatile random access memory.
  • the memory 404 can also store information of the device type.
  • the processor 401, the input device 402, and the output device 403, which are described in the embodiments of the present invention, may be implemented in the implementation manner in FIG. 1 or FIG. 2 provided by the embodiment of the present invention, and may also be implemented in the embodiment of the present invention.
  • the implementation of the described terminal is not described here.
  • a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the embodiment of the present invention as shown in FIG. 1 or FIG.
  • the implementations described in the foregoing description may also be implemented in the implementation manner of the terminal described in FIG. 3 of the present invention or the implementation manner of the terminal described in the embodiment shown in FIG. 4, and details are not described herein again.
  • the computer readable storage medium may be an internal storage unit of the terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the terminal.
  • the computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc.
  • the computer readable storage medium may also include both an internal storage unit of the terminal and an external storage device.
  • the computer readable storage medium is for storing the computer program and other programs and data required by the terminal.
  • the computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.
  • the disclosed terminal and method may be implemented in other manners.
  • the terminal embodiments described above are only illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface or unit, or may be an electrical, mechanical or other form of connection.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present invention.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention contributes in essence or to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供了一种信息处理方法、终端及计算机可读介质,其中,方法包括:响应音频文件的播放指令,播放音频文件;当监听到用户操作时,获取与该用户操作相关联的指纹信息;将所述指纹信息与预设指纹信息进行校验;如果验证成功,则根据所述指纹信息切换当前播放的音频文件。本发明实施例实现了音频文件的切换,提高了信息处理的效率。

Description

一种信息处理方法、终端及计算机可读介质 技术领域
本发明涉及计算机技术领域,尤其涉及一种信息处理方法、终端及计算机可读介质。
背景技术
随着计算机技术的发展,移动终端已经成为人们日常生活中不可或缺的一部分,移动终端的功能也越来越多,例如,手机、平板电脑等均可以安装各种功能的应用程序,其中,音频文件是移动终端中应用程序之一。
目前,移动终端播放音频文件的方法主要是通过打开播放音频文件的应用程序,输出播放界面,用户在播放界面中选择想要播放的音频文件进行播放。在播放过程中,如果用户想要切换音频文件,则需要重新打开该应用程序切换、通过锁屏界面切换、摇晃手机切换或者用耳机自带按键切换。
然而,这样的方法在具有多应用程序的移动终端中显得操作较为复杂。
发明内容
本发明实施例提供了一种信息处理方法、终端及计算机可读介质,可提高信息处理的效率。
一方面,本发明实施例提供了一种信息处理方法,包括:
响应音频文件的播放指令,播放音频文件;
当监听到用户操作时,获取与该用户操作相关联的指纹信息;
将所述指纹信息与预设指纹信息进行校验;
如果验证成功,则根据所述指纹信息切换当前播放的音频文件。
第二方面,本发明实施例提供了一种终端,该终端包括用于执行上述第一方面的方法的单元。
第三方面,本发明实施例提供了另一种终端,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持终端执行上述方法的计算机程序,所述计算机程序包 括程序指令,所述处理器被配置用于调用所述程序指令,执行上述第一方面的方法。
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。
本发明实施例,终端在播放音频文件时,当监听到用户输入的按压操作时,获取与该按压操作相关联的指纹信息,将该指纹信息与预设指纹信息进行校验,如果验证成功,则根据该指纹信息切换当前播放的音频文件,从而可以满足用户简化操作的需求,提高信息处理的效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种信息处理方法的示意流程图;
图2是本发明实施例提供的另一种信息处理方法的示意流程图;
图3是本发明实施例提供的一种终端的结构示意图;
图4是本发明实施例提供的另一种终端的示意框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在此本发明说明书中所使用的术语仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
如在本说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。
本发明实施例提供了一种信息处理方法,该方法应用于终端,如手机、平板等智能终端。该方法基于指纹技术和立体触控3D Touch技术,在终端播放音频文件时,当监听到用户操作时,获取与该用户操作相关联的指纹信息,将所述指纹信息与预设指纹信息进行校验,如果验证成功,则根据所述指纹信息切换当前播放的音频文件。例如,手机在播放歌曲时,当监听到用户输入的重按HOME键或者指纹解锁键时,终端可以通过识别按键者的指纹,获取与该重按HOME键或者指纹解锁键相关联的指纹信息,将所述指纹信息与预设指纹信息进行匹配校验,如果校验成功,则根据所述指纹信息,确定切歌的模式,并进行切歌。
目前,在终端播放音频文件时,切换音频文件的方法主要有通过音频播放软件进行切换、通过锁屏界面进行切换、通过摇晃手机等终端进行切换或通过耳机按键进行切换,这些切换方法操作较为复杂。
因此,本发明实施例提供了一种信息处理方法、终端及计算机可读介质,可以通过按压操作获取并识别指纹信息,根据指纹信息选择不同的切换方式对音频文件进行切换,从而提高信息处理的效率。
请参考图1,图1是本发明实施例提供的一种信息处理方法的示意流程图,该方法可应用于终端中,如图1所示,该方法可以包括:
S101:响应音频文件的播放指令,播放音频文件。
本发明实施例中,终端可以响应音频文件的播放指令,播放音频文件。例如,终端可以响应歌曲播放软件中歌曲文件的播放指令,播放选定的歌曲。
S102:当监听到用户操作时,获取与该用户操作相关联的指纹信息。
本发明实施例中,终端可以在监听到用户操作时,获取与该用户操作相关联的指纹信息。具体的,终端可以监听用户操作,根据所述用户操作获取与该用户操作相关的指纹信息。其中,该用户操作包括按压操作,所述按压操作包括触控键的按压操作(第一按压操作)或HOME键的按压操作(第二按压操作)。例如,终端如果监听到触控键的按压操作,则终端可以通过该触控键的按压操作获取用户的指纹信息。
在一个实施例中,终端可以监听用户输入的按压操作,获取所述按压操作的操作类型,根据所述操作类型,获取与所述按压操作相关联的指纹信息。具体可举例说明,终端如果监听到用户输入的HOME键的按压操作,则终端可以通过该HOME键的按压操作获取到用户的指纹信息。
需要说明的是,所述操作类型包括第一按压操作及第二按压操作,所述第一按压操作用于顺序切换音频文件,所述第二按压操作用于随机切换音频文件。
在一个实施例中,终端可以根据所述操作类型,获取所述按压操作产生的压力,检测所述压力是否大于预设阈值,如果检测结果为是,则获取与所述按压操作相关联的指纹信息,如果检测结果为否,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。具体可举例说明,例如,终端可以获取触控键的按压操作(第一按压操作)产生的压力,检测所述触控键的按压操作产生的压力是否大于预设阈值,如果检测结果为是,则获取与所述触控键的按压操作相关联的指纹信息,如果检测结果为否,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。又例如,终端可以获取HOME键的按压操作(第二按压操作)产生的压力,检测所述第二按压操作产生的压力是否大于预设阈值,如果检测结果为是,则获取与所述HOME键的按压操作相关联的第二指纹信息,如果检测结果为否,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。
S103:将该指纹信息与预设指纹信息进行校验。
本发明实施例中,终端可以将获取到的指纹信息与预设指纹信息进行校验。其中,预设指纹信息包括第一预设指纹信息以及第二预设指纹信息,所述第一预设指纹信息用于验证与第一按压操作相关联的指纹信息,所述第二预设指纹信息用于验证与第二按压操作相关联的指纹信息。
在一个实施例中,终端可以检测获取到的与所述按压操作相关联的指纹信息是否与预设指纹信息相匹配,如果检测结果为是,则确定验证成功,如果检测结果为否,则输出提示信息,所述提示信息用于提示用户验证失败。例如,终端获取到与触控键的按压操作(第一按压操作)相关联的指纹信息,检测该指纹信息是否与第一预设指纹信息匹配,如果匹配,则确定验证成功,如果不匹配,则确定验证失败。又例如,终端获取到与HOME键的按压操作(第二按压操作)相关联的指纹信息,检测该指纹信息是否与第二预设指纹信息匹配,如果匹配,则确定验证成功,如果不匹配,则确定验证失败。
S104:如果验证成功,则根据该指纹信息切换当前播放的音频文件。
本发明实施例中,终端如果验证成功,则根据该指纹信息切换当前播放的音频文件。具体的,终端如果检测到与所述按压操作相关联的指纹信息与预设指纹信息相匹配,确定验证成功,则终端可以根据该指纹信息,选取与该指纹信息对应的切换方式对当前播放的音频文件进行切换。例如,终端如果检测到与所述触控键的按压操作(第一按压操作)相关联的指纹信息与预设指纹信息相匹配,确定验证成功,则终端可以根据该指纹信息,选取与该指纹信息对应的按照播放列表的先后顺序切换的切换方式对当前播放的音频文件进行切换。
在一个实施例中,终端可以获取所述音频文件的播放列表,根据获取到的所述指纹信息,按所述播放列表中各个音频文件的排列顺序,切换当前播放的音频文件。
在一个实施例中,终端可以获取所述播放列表中各个音频文件的排列顺序,根据与所述第一按压操作相关联的指纹信息,按所述音频文件排列的先后顺序切换当前播放的音频文件,或者,根据与所述第二按压操作相关联的指纹信息,随机切换当前播放的音频文件。例如,终端可以获取歌曲播放软件的播放列表中各个歌曲文件的排列顺序,根据与所述触控键的按压操作(第一按压 操作)相关联的指纹信息,按所述歌曲文件排列的先后顺序切换当前播放的歌曲。又例如,终端可以根据与所述HOME键的按压操作(第二按压操作)相关联的指纹信息,随机切换当前播放的歌曲文件。
本发明实施例中,终端可以在播放音频文件时,监听用户的按压操作,获取与该按压操作相关联的指纹信息,如果检测到所述指纹信息与预设指纹信息相匹配,则终端可以根据所述指纹信息切换当前播放的音频文件,从而实现通过指纹信息切换音频文件,提高了信息处理的效率。
请参见图2,图2是本发明实施例提供的另一种信息处理方法的示意流程图,该方法可应用于终端中,如图2所示,该方法可以包括:
S201:响应音频文件的播放指令,播放音频文件。
本发明实施例中,终端可以响应音频文件的播放指令,播放音频文件。例如,终端可以响应歌曲播放软件中歌曲文件的播放指令,播放选定的歌曲。
S202:监听用户输入的按压操作。
本发明实施例中,终端可以监听用户输入的按压操作。例如,终端可以监听到触控键的按压操作。
S203:获取该按压操作的操作类型。
本发明实施例中,终端可以获取该按压操作的操作类型,其中,该操作类型包括第一按压操作以及第二按压操作,该第一按压操作包括触控键的按压操作;该第二按压操作包括HOME键的按压操作。
S204:根据该操作类型,获取该按压操作产生的压力。
本发明实施例中,终端可以根据该操作类型,获取该按压操作产生的压力。具体的,终端如果获取到第一按压操作,则可以获取该第一按压操作产生的压力;终端如果获取到第二按压操作,则可以获取该第二按压操作产生的压力。例如,终端如果获取到触控键的按压操作,则可以获取该触控键的按压操作产生的压力。又例如,终端如果获取到HOME的按压操作,则可以获取该HOME键的按压操作产生的压力。
S205:检测该压力是否大于预设阈值。
本发明实施例中,终端可以检测该压力是否大于预设阈值,例如,终端可以获取触控键的按压操作(第一按压操作)产生的压力,检测所述触控键的按 压操作产生的压力是否大于预设阈值。
S206:如果检测结果为是,则获取与该按压操作相关联的指纹信息,执行步骤S208。
本发明实施例中,终端如果检测到按压操作产生的压力大于预设阈值,则可以获取与该按压操作相关联的指纹信息,并执行所述将该指纹信息与预设指纹信息进行校验。具体可举例说明,例如,终端可以获取触控键的按压操作(第一按压操作)产生的压力,检测所述触控键的按压操作产生的压力是否大于预设阈值,如果检测结果为是,则获取与所述触控键的按压操作相关联的指纹信息,并执行所述将该指纹信息与预设指纹信息进行校验。又例如,终端可以获取HOME键的按压操作(第二按压操作)产生的压力,检测所述第二按压操作产生的压力是否大于预设阈值,如果检测结果为是,则获取与所述HOME键的按压操作相关联的指纹信息,并执行所述将该指纹信息与预设指纹信息进行校验。
S207:如果检测结果为否,则输出提示信息。
本发明实施例中,终端如果检测到按压操作产生的压力不大于预设阈值,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。例如,终端可以获取触控键的按压操作(第一按压操作)产生的压力,检测所述触控键的按压操作产生的压力是否大于预设阈值,如果检测结果为否,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。又例如,终端可以获取HOME键的按压操作(第二按压操作)产生的压力,检测所述第二按压操作产生的压力是否大于预设阈值,如果检测结果为否,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。
S208:将该指纹信息与预设指纹信息进行校验。
本发明实施例中,终端可以将获取到的指纹信息与预设指纹信息进行校验。其中,预设指纹信息包括第一预设指纹信息以及第二预设指纹信息,所述第一预设指纹信息用于验证与第一按压操作相关联的指纹信息,所述第二预设指纹信息用于验证与第二按压操作相关联的指纹信息。
在一个实施例中,终端可以检测获取到的与所述按压操作相关联的指纹信息是否与预设指纹信息相匹配,如果检测结果为是,则确定验证成功,如果检 测结果为否,则输出提示信息,所述提示信息用于提示用户验证失败。例如,终端获取到与触控键的按压操作(第一按压操作)相关联的指纹信息,检测该指纹信息是否与第一预设指纹信息匹配,如果匹配,则确定验证成功,如果不匹配,则确定验证失败。又例如,终端获取到与HOME键的按压操作(第二按压操作)相关联的指纹信息,检测该指纹信息是否与第二预设指纹信息匹配,如果匹配,则确定验证成功,如果不匹配,则确定验证失败。
S209:如果验证成功,则根据该指纹信息切换当前播放的音频文件。
本发明实施例中,终端如果验证成功,则根据该指纹信息切换当前播放的音频文件。具体的,终端如果检测到与所述按压操作相关联的指纹信息与预设指纹信息相匹配,确定验证成功,则终端可以根据该指纹信息,选取与该指纹信息对应的切换方式对当前播放的音频文件进行切换。例如,终端如果检测到与所述触控键的按压操作(第一按压操作)相关联的指纹信息与预设指纹信息相匹配,确定验证成功,则终端可以根据该指纹信息,选取与该指纹信息对应的按照播放列表的先后顺序切换的切换方式对当前播放的音频文件进行切换。
在一个实施例中,终端可以获取所述音频文件的播放列表,根据获取到的所述指纹信息,按所述播放列表中各个音频文件的排列顺序,切换当前播放的音频文件。
在一个实施例中,终端可以获取所述播放列表中各个音频文件的排列顺序,根据与所述第一按压操作相关联的指纹信息,按所述音频文件排列的先后顺序切换当前播放的音频文件,或者,根据与所述第二按压操作相关联的指纹信息,随机切换当前播放的音频文件。例如,终端可以获取歌曲播放软件的播放列表中各个歌曲文件的排列顺序,根据与所述触控键的按压操作(第一按压操作)相关联的指纹信息,按所述歌曲文件排列的先后顺序切换当前播放的歌曲。又例如,终端可以根据与所述HOME键的按压操作(第二按压操作)相关联的指纹信息,随机切换当前播放的歌曲文件。
本发明实施例中,终端可以在播放音频文件时,监听用户的按压操作,获取该按压操作的操作类型以及该按压操作产生的压力,当检测到该压力大于预设阈值时,获取与该按压操作相关联的指纹信息,将该指纹信息与预设指纹信息进行校验,如果验证成功,则根据该指纹信息切换当前播放的音频文件,通 过按压操作产生压力的大小获取指纹信息,根据该指纹信息确定切换音频文件的方式,实现音频文件的切换,提高了信息处理的效率。
请参见图3,图3是本发明实施例提供的一种终端的结构示意图,该终端包括用于执行前述任一项所述方法的单元。具体的,该终端包括播放单元301、获取单元302、校验单元303、切换单元304。其中,
播放单元301,用于响应音频文件的播放指令,播放音频文件;
获取单元302,用于当监听到用户操作时,获取与该用户操作相关联的指纹信息;
校验单元303,用于将所述指纹信息与预设指纹信息进行校验;
切换单元304,用于如果验证成功,则根据所述指纹信息切换当前播放的音频文件。
可选的,所述获取单元302,具体用于监听用户输入的按压操作;获取所述按压操作的操作类型;根据所述操作类型,获取与所述按压操作相关联的指纹信息。
可选的,所述操作类型包括第一按压操作及第二按压操作,所述第一按压操作用于顺序切换音频文件,所述第二按压操作用于随机切换音频文件。
可选的,所述获取单元302,还用于根据所述操作类型,获取所述按压操作产生的压力;检测所述压力是否大于预设阈值;如果检测结果为是,则获取与所述按压操作相关联的指纹信息;如果检测结果为否,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。
可选的,所述校验单元303,具体用于检测获取到的与所述按压操作相关联的指纹信息是否与预设指纹信息相匹配;如果检测结果为是,则确定验证成功;如果检测结果为否,则输出提示信息,所述提示信息用于提示用户验证失败。
可选的,所述切换单元304,具体用于获取所述音频文件的播放列表;根据获取到的所述指纹信息,按所述播放列表中各个音频文件的排列顺序,切换当前播放的音频文件。
可选的,所述切换单元304,还用于获取所述播放列表中各个音频文件的排列顺序;根据与所述第一按压操作相关联的指纹信息,按所述音频文件排列 的先后顺序切换当前播放的音频文件;或者,根据与所述第二按压操作相关联的指纹信息,随机切换当前播放的音频文件。
本发明实施例中,终端可以通过播放单元301在播放音频文件时,通过获取单元302监听用户的按压操作,获取与该按压操作相关联的指纹信息,如果校验单元303检测到所述指纹信息与预设指纹信息相匹配,则切换单元304可以根据该指纹信息切换当前播放的音频文件,从而实现通过指纹信息切换音频文件,提高了信息处理的效率。
请参见图4,图4是本发明实施例提供的另一种终端的示意框图。如图所示的本实施例中的终端可以包括:一个或多个处理器401;一个或多个输入设备402,一个或多个输出设备403和存储器404。上述处理器401、输入设备402、输出设备403和存储器404通过总线405连接。存储器402用于存储指令,处理器401用于执行存储器402存储的指令。其中,处理器401用于:
响应音频文件的播放指令,播放音频文件;
当监听到用户操作时,获取与该用户操作相关联的指纹信息;
将所述指纹信息与预设指纹信息进行校验;
如果验证成功,则根据所述指纹信息切换当前播放的音频文件。
进一步,处理器401还用于执行以下操作:
监听用户输入的按压操作;
获取所述按压操作的操作类型;
根据所述操作类型,获取与所述按压操作相关联的指纹信息。
进一步,所述操作类型包括第一按压操作及第二按压操作,所述第一按压操作用于顺序切换音频文件,所述第二按压操作用于随机切换音频文件。
进一步,处理器401还用于执行以下操作:
根据所述操作类型,获取所述按压操作产生的压力;
检测所述压力是否大于预设阈值;
如果检测结果为是,则获取与所述按压操作相关联的指纹信息;
如果检测结果为否,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。
进一步,处理器401还用于执行以下操作:
检测获取到的与所述按压操作相关联的指纹信息是否与预设指纹信息相匹配;
如果检测结果为是,则确定验证成功;
如果检测结果为否,则输出提示信息,所述提示信息用于提示用户验证失败。
进一步,处理器401还用于执行以下操作:
获取所述音频文件的播放列表;
根据获取到的所述指纹信息,按所述播放列表中各个音频文件的排列顺序,切换当前播放的音频文件。
进一步,处理器401还用于执行以下操作:
获取所述播放列表中各个音频文件的排列顺序;
根据与所述第一按压操作相关联的指纹信息,按所述音频文件排列的先后顺序切换当前播放的音频文件;
或者,根据与所述第二按压操作相关联的指纹信息,随机切换当前播放的音频文件。
本发明实施例中,终端可以在播放音频文件时,监听用户的按压操作,获取该按压操作的操作类型以及该按压操作产生的压力,当检测到该压力大于预设阈值时,获取与该按压操作相关联的指纹信息,将该指纹信息与预设指纹信息进行校验,如果验证成功,则根据该指纹信息切换当前播放的音频文件,通过按压操作产生压力的大小获取指纹信息,根据该指纹信息确定切换音频文件的方式,实现音频文件的切换,提高了信息处理的效率。
应当理解,在本发明实施例中,所称处理器401可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
输入设备402可以包括触控板、指纹采传感器(用于采集用户的指纹信息 和指纹的方向信息)、麦克风等,输出设备403可以包括显示器(LCD等)、扬声器等。
该存储器404可以包括只读存储器和随机存取存储器,并向处理器401提供指令和数据。存储器404的一部分还可以包括非易失性随机存取存储器。例如,存储器404还可以存储设备类型的信息。
具体实现中,本发明实施例中所描述的处理器401、输入设备402、输出设备403可执行本发明实施例提供的图1或图2中所描述的实现方式,也可执行本发明实施例所描述的终端的实现方式,在此不再赘述。
在本发明实施例中还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明图1或图2所述实施例中所描述的实现方式,也可执行本发明图3所描述的终端的实现方式或图4所述实施例所描述的终端的实现方式,在此不再赘述。
所述计算机可读存储介质可以是前述任一实施例所述的终端的内部存储单元,例如终端的硬盘或内存。所述计算机可读存储介质也可以是所述终端的外部存储设备,例如所述终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述终端的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述终端所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的终端和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的终端和方法,可以通过其它的方式实现。例如,以上所描述的终端实施例仅是示意性的,例如,所述单元的划分,仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口或单元的间接耦合或通信连接,也可以是电的,机械的或其它的形式连接。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (10)

  1. 一种信息处理方法,其特征在于,包括:
    响应音频文件的播放指令,播放音频文件;
    当监听到用户操作时,获取与该用户操作相关联的指纹信息;
    将所述指纹信息与预设指纹信息进行校验;
    如果验证成功,则根据所述指纹信息切换当前播放的音频文件。
  2. 根据权利要求1所述的方法,其特征在于,所述当监听到用户操作时,获取与该用户操作相关联的指纹信息,包括:
    监听用户输入的按压操作;
    获取所述按压操作的操作类型;
    根据所述操作类型,获取与所述按压操作相关联的指纹信息。
  3. 根据权利要求2所述的方法,其特征在于,所述操作类型包括第一按压操作及第二按压操作,所述第一按压操作用于顺序切换音频文件,所述第二按压操作用于随机切换音频文件。
  4. 根据权利要求2所述的方法,其特征在于,所述根据所述操作类型,获取与所述按压操作相关联的指纹信息,包括:
    根据所述操作类型,获取所述按压操作产生的压力;
    检测所述压力是否大于预设阈值;
    如果检测结果为是,则获取与所述按压操作相关联的指纹信息;
    如果检测结果为否,则输出提示信息,所述提示信息用于提示用户获取指纹信息失败。
  5. 根据权利要求4所述的方法,其特征在于,所述将所述指纹信息与预设指纹信息进行校验,包括:
    检测获取到的与所述按压操作相关联的指纹信息是否与预设指纹信息相匹配;
    如果检测结果为是,则确定验证成功;
    如果检测结果为否,则输出提示信息,所述提示信息用于提示用户验证失败。
  6. 根据权利要求5所述的方法,其特征在于,所述如果验证成功,则根据该指纹信息切换当前播放的音频文件,包括:
    获取所述音频文件的播放列表;
    根据获取到的所述指纹信息,按所述播放列表中各个音频文件的排列顺序,切换当前播放的音频文件。
  7. 根据权利要求3-6任一项所述的方法,其特征在于,所述按所述播放列表中各个音频文件的排列顺序,切换当前播放的音频文件,包括:
    获取所述播放列表中各个音频文件的排列顺序;
    根据与所述第一按压操作相关联的指纹信息,按所述音频文件排列的先后顺序切换当前播放的音频文件;
    或者,根据与所述第二按压操作相关联的指纹信息,随机切换当前播放的音频文件。
  8. 一种终端,其特征在于,包括用于执行如权利要求1-7任一权利要求所述的方法的单元。
  9. 一种终端,其特征在于,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求1-7任一项所述的方法。
  10. 一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-7任一项所述的方法。
PCT/CN2017/102385 2017-09-20 2017-09-20 一种信息处理方法、终端及计算机可读介质 WO2019056194A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102385 WO2019056194A1 (zh) 2017-09-20 2017-09-20 一种信息处理方法、终端及计算机可读介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102385 WO2019056194A1 (zh) 2017-09-20 2017-09-20 一种信息处理方法、终端及计算机可读介质

Publications (1)

Publication Number Publication Date
WO2019056194A1 true WO2019056194A1 (zh) 2019-03-28

Family

ID=65809510

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102385 WO2019056194A1 (zh) 2017-09-20 2017-09-20 一种信息处理方法、终端及计算机可读介质

Country Status (1)

Country Link
WO (1) WO2019056194A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559044A (zh) * 2020-12-23 2021-03-26 Oppo广东移动通信有限公司 一种播放切换方法、装置及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050073391A1 (en) * 2003-10-02 2005-04-07 Koji Mizobuchi Data processing apparatus
KR20050106850A (ko) * 2004-05-06 2005-11-11 엘지전자 주식회사 휴대형 오디오 재생 장치 및 그 재생 방법
CN102611794A (zh) * 2012-03-13 2012-07-25 青岛海信移动通信技术股份有限公司 一种控制音频播放的方法及设备
CN104575537A (zh) * 2014-12-16 2015-04-29 广东欧珀移动通信有限公司 一种音乐切换方法及用户设备
CN104679413A (zh) * 2015-03-09 2015-06-03 广东欧珀移动通信有限公司 一种音乐播放的控制方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050073391A1 (en) * 2003-10-02 2005-04-07 Koji Mizobuchi Data processing apparatus
KR20050106850A (ko) * 2004-05-06 2005-11-11 엘지전자 주식회사 휴대형 오디오 재생 장치 및 그 재생 방법
CN102611794A (zh) * 2012-03-13 2012-07-25 青岛海信移动通信技术股份有限公司 一种控制音频播放的方法及设备
CN104575537A (zh) * 2014-12-16 2015-04-29 广东欧珀移动通信有限公司 一种音乐切换方法及用户设备
CN104679413A (zh) * 2015-03-09 2015-06-03 广东欧珀移动通信有限公司 一种音乐播放的控制方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559044A (zh) * 2020-12-23 2021-03-26 Oppo广东移动通信有限公司 一种播放切换方法、装置及计算机可读存储介质

Similar Documents

Publication Publication Date Title
JP5707647B2 (ja) 音声ファイルまたはビデオファイルを取り込むための方法および移動電話
CN105630586B (zh) 一种信息处理方法及电子设备
TWI514256B (zh) 音頻播放裝置及其控制方法
US9414174B2 (en) Method and apparatus for controlling audio output
WO2015106510A1 (zh) 应用的分屏方法与装置、智能终端、存储介质
CN110347862B (zh) 录音处理方法、装置、设备、系统及音频设备
US11445285B2 (en) Interactive control method and device of an earphone case, earphone case and storage medium
WO2018107396A1 (zh) 一种指纹识别方法及终端设备
WO2014161512A1 (zh) 一种网络连接方法及装置
WO2017028277A1 (zh) 指纹识别方法及移动终端
US9402129B2 (en) Audio control method and audio player using audio control method
WO2019056194A1 (zh) 一种信息处理方法、终端及计算机可读介质
JP2014187413A (ja) 音響機器並びにプログラム
US9846980B2 (en) Lock releasing method of electronic device, and apparatus thereof
KR20170118799A (ko) 지문 이벤트 처리 방법, 장치, 및 단말기
WO2019061250A1 (zh) 一种界面切换的方法、装置、终端及计算机可读介质
US20170163497A1 (en) Portable speaker
CN108021301A (zh) 一种音量调节方法、终端设备及计算机可读存储介质
CN107819944A (zh) 短消息的删除方法、装置、设备和存储介质
CN104571856A (zh) 一种终端
CN110874729B (zh) 电子红包识别策略的切换方法、切换装置及移动终端
CN107515666A (zh) 一种数据管理方法及终端
CN107302617A (zh) 一种数据管理方法及终端
KR20140105681A (ko) 보안 모드에서 데이터 암호화 장치 및 방법
CN106210335A (zh) 一种音频器件工作状态的检测方法及移动终端

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: 17925605

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: 17925605

Country of ref document: EP

Kind code of ref document: A1