CN105159492B - A kind of music control method and terminal device - Google Patents

A kind of music control method and terminal device Download PDF

Info

Publication number
CN105159492B
CN105159492B CN201510537175.0A CN201510537175A CN105159492B CN 105159492 B CN105159492 B CN 105159492B CN 201510537175 A CN201510537175 A CN 201510537175A CN 105159492 B CN105159492 B CN 105159492B
Authority
CN
China
Prior art keywords
pressure value
music
voiceprint
touches
terminal
Prior art date
Application number
CN201510537175.0A
Other languages
Chinese (zh)
Other versions
CN105159492A (en
Inventor
李建林
李家达
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201510537175.0A priority Critical patent/CN105159492B/en
Publication of CN105159492A publication Critical patent/CN105159492A/en
Application granted granted Critical
Publication of CN105159492B publication Critical patent/CN105159492B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification

Abstract

The embodiment of the invention discloses a kind of music control method and terminal devices, this method comprises: that detects the predeterminable area of terminal device screen touches pressure value when terminal device is in the lock state;What identification touched that pressure value falls into touches pressure value set;Music control instruction corresponding with pressure value set is touched is searched from the corresponding relationship that preset pressure value set and music instruct;It is wherein, different that touch the corresponding music control instruction of pressure value set different;Corresponding control is executed to terminal device music being played on according to music control instruction to operate.Implement the embodiment of the present invention, can quickly control music.

Description

A kind of music control method and terminal device

Technical field

The present invention relates to fields of communication technology, and in particular to a kind of music control method and terminal device.

Background technique

With gradually popularizing for the terminal devices such as mobile phone, tablet computer, music is played on the terminal device and has become people Important amusement function, more and more people selection play music on the terminal device.User plays sound on the terminal device When happy, if not operating to terminal device in a period of time, terminal device enters lock state, at this point, if user needs The broadcasting (such as switching currently playing song, switch modes) for controlling music, then need to be unlocked terminal device laggard Enter music-playing interface just and can control the broadcasting of music, when terminal device is in the lock state, control music compares expense When.

Summary of the invention

The embodiment of the present invention provides a kind of music control method and terminal device, can quickly control music.

The embodiment of the present invention is in a first aspect, provide a kind of music control method, comprising:

When terminal device is in the lock state, that detects the predeterminable area of terminal device screen touches pressure value;

That touches that pressure value falls into described in identification touches pressure value set;

It is searched from the corresponding relationship that preset pressure value set and music instruct and touches pressure value set with described Corresponding music control instruction;It is wherein, different that touch the corresponding music control instruction of pressure value set different;

Corresponding control is executed to terminal device music being played on according to the music control instruction to grasp Make.

In the first possible implementation of first aspect of the embodiment of the present invention, the predeterminable area is music Button area, it is described touch pressure value set include first touch pressure value set, second touch pressure value set and third touching And any one of pressure value set, wherein described first touches pressure value set, described second touches pressure value set and institute It states third and touches pressure value set mutually without intersection, it is described from the corresponding relationship that preset pressure value set and music instruct It searches and touches the corresponding music control instruction of pressure value set with described, comprising:

When it is described touch pressure value and fall into described first and touch pressure value set when, from the preset pressure value set with It is searched in the corresponding relationship of music instruction and touches the corresponding starting music instruction of pressure value set with described first;Or Person,

When it is described touch pressure value and fall into described second and touch pressure value set when, from the preset pressure value set with It is searched in the corresponding relationship of music instruction and touches the corresponding pause music instruction of pressure value set with described second;Or Person,

When it is described touch pressure value and fall into the third and touch pressure value set when, from the preset pressure value set with Music instruction corresponding relationship in search with the third touch pressure value set it is corresponding exit music instruct.

In conjunction with the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention second of possible implementation In, the predeterminable area be music switching push button region, it is described touch pressure value set include the 4th touch pressure value set and 5th touches any one of pressure value set, wherein the described 4th, which touches pressure value set and the described 5th, touches pressure value For set mutually without intersection, described search from the corresponding relationship that preset pressure value set and music instruct touches pressure with described The corresponding music control instruction of force value set, comprising:

When it is described touch pressure value and fall into the described 4th and touch pressure value set when, from the preset pressure value set with It is searched in the corresponding relationship of music instruction and touches the corresponding music switching command of pressure value set with the described 4th;Alternatively,

When it is described touch pressure value and fall into the described 5th and touch pressure value set when, from the preset pressure value set with It is searched in the corresponding relationship of music instruction and touches the corresponding volume of music regulating command of pressure value set with the described 5th.

The first or second in conjunction with first aspect of the embodiment of the present invention or first aspect of the embodiment of the present invention is possible Implementation, in the third possible implementation of first aspect of the embodiment of the present invention, in detection terminal device screen Predeterminable area touches after pressure value, the method also includes:

Acquire the voiceprint of input;

Compare whether the voiceprint matches with default voiceprint, if matching, executes and touch pressure described in the identification The step of what force value was fallen into touches pressure value set.

In conjunction with the third possible implementation of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention The 4th kind of possible implementation in, after the voiceprint of acquisition input, and in the voiceprint and pre- Before if whether voiceprint matches, the method also includes:

It is described specified in the specified relationship user and address list in social application being currently running to the terminal device Relational users send default voiceprint acquisition request respectively;

It receives in the first voiceprint and the address list that the specified relationship user in the social application sends The specified relationship user send the second voiceprint;

Judge whether first voiceprint matches with second voiceprint;

If so, using first voiceprint or second voiceprint as the default voiceprint.

Second aspect of the embodiment of the present invention provides a kind of terminal device, comprising:

Detection unit, for detecting the touching of the predeterminable area of terminal device screen when terminal device is in the lock state And pressure value;

Recognition unit, for identification it is described touch that pressure value falls into touch pressure value set;

Searching unit, for being searched and the touching from the corresponding relationship that preset pressure value set and music instruct And the corresponding music control instruction of pressure value set;Wherein, different to touch the corresponding music control of pressure value set System instruction is different;

Execution unit, for being executed according to the music control instruction to terminal device music being played on Corresponding control operation.

In the first possible implementation of second aspect of the embodiment of the present invention, the predeterminable area is music Button area, it is described touch pressure value set include first touch pressure value set, second touch pressure value set and third touching And any one of pressure value set, wherein described first touches pressure value set, described second touches pressure value set and institute It states third and touches pair that pressure value set is mutually instructed without intersection, the searching unit from preset pressure value set and music It should be related to middle lookup and the mode for touching the corresponding music control instruction of pressure value set specifically:

When touching pressure value described in the recognition unit identification and falling into described first and touch pressure value set, the lookup Unit is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value with described first Gather corresponding starting music instruction;Alternatively,

When touching pressure value described in the recognition unit identification and falling into described second and touch pressure value set, the lookup Unit is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value with described second Gather corresponding pause music instruction;Alternatively,

When touching pressure value described in the recognition unit identification and falling into the third and touch pressure value set, the lookup Unit is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value with the third Gather the corresponding music that exits to instruct.

In conjunction with second aspect of the embodiment of the present invention, in second of possible implementation of second aspect of the embodiment of the present invention In, the predeterminable area be music switching push button region, it is described touch pressure value set include the 4th touch pressure value set and 5th touches any one of pressure value set, wherein the described 4th, which touches pressure value set and the described 5th, touches pressure value Set is mutually without intersection, and the searching unit is searched from the corresponding relationship that preset pressure value set and music instruct and institute State the mode for touching the corresponding music control instruction of pressure value set specifically:

When touching pressure value described in the recognition unit identification and falling into the described 4th and touch pressure value set, the lookup Unit is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value with the described 4th Gather corresponding music switching command;Alternatively,

When touching pressure value described in the recognition unit identification and falling into the described 5th and touch pressure value set, the lookup Unit is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value with the described 5th Gather corresponding volume of music regulating command.

The first or second in conjunction with second aspect of the embodiment of the present invention or second aspect of the embodiment of the present invention is possible Implementation, in the third possible implementation of second aspect of the embodiment of the present invention, the terminal device further include:

Acquisition unit, for acquiring the voiceprint of input;

Whether comparing unit matches for the voiceprint with default voiceprint;

Wherein, when the comparing unit voiceprint is matched with the default voiceprint, described in triggering That touches that pressure value falls into described in recognition unit identification touches pressure value set.

In conjunction with the third possible implementation of second aspect of the embodiment of the present invention, in second aspect of the embodiment of the present invention The 4th kind of possible implementation in, the terminal device further include:

Transmission unit, specified relationship user and address list in the social application for being currently running to the terminal device In the specified relationship user send default voiceprint acquisition request respectively;

Receiving unit, for receive the specified relationship user in the social application transmission the first voiceprint and The second voiceprint that the specified relationship user in the address list sends;

Judging unit, for judging whether first voiceprint matches with second voiceprint;

Determination unit, for when the judging unit judging result, which is, is, by first voiceprint or described the Two voiceprints are as the default voiceprint.

In the embodiment of the present invention, when terminal device is in the lock state, the predeterminable area of terminal device screen is detected Touch pressure value;What identification touched that pressure value falls into touches pressure value set;Refer to from preset pressure value set with music Music control instruction corresponding with pressure value set is touched is searched in the corresponding relationship of order;Wherein, different to touch pressure The corresponding music control instruction of value set is different;According to music control instruction to terminal device music being played on Execute corresponding control operation.Implement the embodiment of the present invention, it can be when terminal device be in the lock state, by pressing terminal The predeterminable area of device screen quickly controls music, improves user experience.

Detailed description of the invention

In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.

Fig. 1 is a kind of flow chart of music control method disclosed by the embodiments of the present invention;

Fig. 2 is the flow chart of another music control method disclosed by the embodiments of the present invention;

Fig. 3 is the flow chart of another music control method disclosed by the embodiments of the present invention;

Fig. 4 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention;

Fig. 5 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention;

Fig. 6 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention;

Fig. 7 is a kind of schematic diagram of multimedia play interface disclosed by the embodiments of the present invention;

Fig. 8 is the schematic diagram of another multimedia play interface disclosed by the embodiments of the present invention.

Specific embodiment

Below in conjunction with the attached drawing in embodiment of the present invention, the technical solution in embodiment of the present invention is carried out clear Chu is fully described by.Obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiment party Formula.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained without making creative work The every other embodiment obtained, all should belong to the scope of protection of the invention.

The embodiment of the present invention provides a kind of music control method and terminal device, can quickly control music. It is described in detail separately below.

Terminal device described in the embodiment of the present invention can include: mobile phone, tablet computer or walkman etc., above-mentioned terminal Equipment is only citing, and non exhaustive, including but not limited to above-mentioned terminal device.

Referring to Fig. 1, Fig. 1 is a kind of flow chart of music control method disclosed by the embodiments of the present invention.Such as Fig. 1 institute Show, music control method as described in this embodiment, comprising steps of

S101, when terminal device is in the lock state, that detects the predeterminable area of terminal device screen touches pressure value.

In the embodiment of the present invention, terminal device screen can be detected by the pressure sensor in the screen of terminal device Predeterminable area touches pressure value, can touch pressure value, predeterminable area with the predeterminable area of real-time detection terminal device screen It can be any position of terminal device screen, can be border circular areas, rectangular area or other polygonal regions, predeterminable area It can be arbitrary size, the embodiment of the present invention is without limitation.It touches pressure value and can be the finger of user and touch pressure value.

S102, what identification touched that pressure value falls into touches pressure value set.

In the embodiment of the present invention, it can be identified by the pressure sensor in terminal device screen and touch what pressure value was fallen into Pressure value set is touched, touching pressure value set can be biggish section, be also possible to lesser section, can pass through terminal Device systems setting, can also be set by user, for example, touch pressure value set can for 0~0.1N, 0.1~ 0.2N, 0.2~0.3N, 0.3~0.4N, 0.4~0.5N, 0.5~0.6N, 0.6~0.7N, 0.7~0.8N, 0.8~0.9N, In 0.9~1.0N wherein any one, or 0~0.01N, 0.01~0.02N, 0.02~0.03N, 0.03~ 0.04N, 0.04~0.05N, 0.05~0.06N, 0.06~0.07N, 0.07~0.08N, 0.08~0.09N, 0.09~0.1N In wherein any one, or 0~1N, 1~2N, 2~3N, 3~4N, 4~5N, 5~6N, 6~7N, 7~8N, 8~ In 9N, 9~10N wherein any one, touching pressure value set can arbitrarily set, and the embodiment of the present invention is without limitation.

S103 searches and touches pressure value set from the corresponding relationship that preset pressure value set and music instruct Corresponding music control instruction;It is wherein, different that touch the corresponding music control instruction of pressure value set different.

In the embodiment of the present invention, the corresponding relationship that pressure value set is instructed with music can preset and be stored in In the memory of terminal device, different touches the corresponding music control instruction difference of pressure value set, for example, if touching Pressure value set is 0.1~0.3N, and corresponding music control instruction is switching song instruction, is if touching pressure value set 0.3~0.5N, corresponding music control instruction is to adjust volume instructions, right if touching pressure value set is 0.5~0.7N The music control instruction answered is music style regulating command.

In some possible embodiments, predeterminable area is music button area, and touching pressure value set includes First touches pressure value set, second touches pressure value set and third touches any one of pressure value set, wherein first It touches pressure value set, second touch pressure value set and third touches pressure value set mutually without intersection, from preset pressure value Music control instruction corresponding with pressure value set is touched is searched in set and the corresponding relationship of music instruction, is wrapped It includes:

When touching pressure value and falling into first and touch pressure value set, instructed from preset pressure value set and music Corresponding relationship in search and touch the corresponding starting music instruction of pressure value set with first;Alternatively,

When touching pressure value and falling into second and touch pressure value set, instructed from preset pressure value set and music Corresponding relationship in search and touch the corresponding pause music instruction of pressure value set with second;Alternatively,

When touching pressure value and falling into third and touch pressure value set, instructed from preset pressure value set and music Corresponding relationship in search with third touch pressure value set it is corresponding exit music instruct.

In the embodiment of the present invention, it can be shown when terminal device is in the lock state, on terminal device screen and play boundary Face, but broadcast interface can not be operated, broadcast interface can show music button area, as shown in fig. 7, when detection In music button area touch pressure value fall into first touch pressure value set (such as 0.2~0.4N, including 0.2N, Do not include 0.4N) when, it is searched from the corresponding relationship that preset pressure value set and music instruct and touches pressure with first The corresponding starting music instruction of value set;When the pressure value of touching in detection music button area falls into second and touches Pressure value set (such as 0.4~0.6N, including 0.4N, do not include 0.6N) when, from preset pressure value set and music It is searched in the corresponding relationship of instruction and touches the corresponding pause music instruction of pressure value set with second;When detection music Pressure value of touching in button area falls into third and touches pressure value set (such as 0.6~0.8N, including 0.6N do not include When 0.8N), is searched from the corresponding relationship that preset pressure value set and music instruct and touch pressure value set with third It is corresponding to exit music instruction.First touches the corresponding music control instruction of pressure value set as starting music Instruction, second touches the corresponding music control instruction of pressure value set as pause music instruction, and third touches pressure The corresponding music control instruction of value set is to exit music instruction, and the instruction of starting music can be current for starting Suspend the music played, or starting music player, and play the music of music player the last time broadcasting;Pause Music instruction can be to suspend currently playing music, and exiting music instruction can be currently playing to stop playing Music, or stop playing currently playing music, and exit currently playing music player.

In some possible embodiments, predeterminable area is music switching push button region, and touching pressure value set includes 4th touches pressure value set and the 5th touches any one of pressure value set, wherein the 4th touches pressure value set and Five touch pressure value set mutually without intersection, search and touch from the corresponding relationship that preset pressure value set and music instruct And the corresponding music control instruction of pressure value set, comprising:

When touching pressure value and falling into the 4th and touch pressure value set, instructed from preset pressure value set and music Corresponding relationship in search and touch the corresponding music switching command of pressure value set with the 4th;Alternatively,

When touching pressure value and falling into the 5th and touch pressure value set, instructed from preset pressure value set and music Corresponding relationship in search and touch the corresponding volume of music regulating command of pressure value set with the 5th.

In the embodiment of the present invention, it can be shown when terminal device is in the lock state, on terminal device screen and play boundary Face, but broadcast interface can not be operated, broadcast interface can show music switching push button region, as shown in figure 8, music is cut Changing button area may include music switching push button region 1 and music switching push button region 2, when detection music switching push button region It is interior when touching pressure value and falling into the 4th and touch pressure value set (such as 0.1~0.3N, including 0.1N, do not include 0.3N), from It is searched in preset pressure value set and the corresponding relationship of music instruction and touches the corresponding music of pressure value set with the 4th Switching command, for example, as shown in figure 8, when the pressure value of touching in detection music switching push button region 1 falls into the 4th and touches Pressure value set (such as 0.1~0.3N, including 0.1N, do not include 0.3N) when, from preset pressure value set and music It searches to touch the corresponding music of pressure value set with the 4th and switch up instruction in the corresponding relationship of instruction and (is switched to a upper head Music);When in detection music switching push button region 2 touch pressure value fall into the 4th touch pressure value set (such as 0.1~ 0.3N, including 0.1N do not include 0.3N) when, it is searched from the corresponding relationship that preset pressure value set is instructed with music The corresponding downward switching command of music (being switched to next song) of pressure value set is touched with the 4th.When detection music Pressure value of touching in button area falls into the 5th and touches pressure value set (such as 0.3~0.5N, including 0.3N do not include When 0.5N), is searched from the corresponding relationship that preset pressure value set and music instruct and touch pressure value set with the 5th Corresponding volume of music regulating command, for example, as shown in figure 8, when touching pressure in detection music switching push button region 1 Value falls into the 5th when touching pressure value set (such as 0.3~0.5N, including 0.3N, do not include 0.5N), from preset pressure value Set touches the corresponding volume of music of pressure value set with the 5th with lookup in the corresponding relationship of music instruction and turns down instruction (turning down current music broadcast sound volume);When the pressure value of touching in detection music switching push button region 2 falls into the 5th and touches pressure Force value set (such as 0.3~0.5N, including 0.3N, do not include 0.5N) when, refer to from preset pressure value set with music It searches to touch the corresponding volume of music of pressure value set with the 5th instruction is turned up in the corresponding relationship of order and (current music is turned up to broadcast Playback amount).

S104 executes corresponding control to terminal device music being played on according to music control instruction and operates.

In the embodiment of the present invention, searches and touch from the corresponding relationship that preset pressure value set is instructed with music It is being played on to terminal device according to music control instruction after the corresponding music control instruction of pressure value set Music executes corresponding control operation, for example, switching currently playing if music control instruction is switching song instruction Music;If music control instruction is to adjust volume instructions, the volume of music is adjusted;If music control instruction For music style regulating command, then the style of currently playing music is adjusted.The embodiment of the present invention can be according in predeterminable area The parameter that pressure value quickly adjusts music is touched, can be in the case where terminal device be in the lock state, quickly control plays sound It is happy, broadcasting music can be quickly controlled without being unlocked to terminal device, improves user experience.

In the embodiment of the present invention, when terminal device is in the lock state, the predeterminable area of terminal device screen is detected Touch pressure value;What identification touched that pressure value falls into touches pressure value set;Refer to from preset pressure value set with music Music control instruction corresponding with pressure value set is touched is searched in the corresponding relationship of order;Wherein, different to touch pressure The corresponding music control instruction of value set is different;According to music control instruction to terminal device music being played on Execute corresponding control operation.Implement the embodiment of the present invention, it can be when terminal device be in the lock state, by pressing terminal The predeterminable area of device screen quickly controls music, improves user experience.

Referring to Fig. 2, Fig. 2 is the flow chart of another music control method disclosed by the embodiments of the present invention.Such as Fig. 2 It is shown, music control method as described in this embodiment, comprising steps of

S201, when terminal device is in the lock state, that detects the predeterminable area of terminal device screen touches pressure value.

S202 acquires the voiceprint of input.

In the embodiment of the present invention, the voiceprint of input, the sound of input can be acquired by the microphone in terminal device Line information can be the voiceprint of user's input.Before the voiceprint of acquisition input, terminal device can export prompt Information, which prompts user to input the microphone in voiceprint and the equipment that opens a terminal, to receive user's input sound Line information.

S203, compares whether voiceprint matches with default voiceprint;If matching executes step S204, if mismatching, It then prompts voiceprint and default voiceprint to mismatch, terminates this process.

In the embodiment of the present invention, after the voiceprint for acquiring input, compare voiceprint and default voiceprint whether Match, voiceprint can specifically include formant frequency in the sound wave spectrum of the voiceprint of microphone acquisition, formant Intensity, number of formant etc., default voiceprint can be the voiceprint of pre-stored user, or obtain in advance The voiceprint of the user taken.Compare voiceprint and default voiceprint whether match can compared with voiceprint sound wave frequency Whether the formant frequency in spectrum matches with the formant frequency in the sound wave spectrum of default voiceprint, compares voiceprint Whether the resonance peak intensity in sound wave spectrum matches with the resonance peak intensity in the sound wave spectrum of default voiceprint, compares vocal print Whether the formant number in the sound wave spectrum of information matches with the formant number in the sound wave spectrum of default voiceprint, if It matches, thens follow the steps S204, if mismatching, prompt voiceprint and default voiceprint to mismatch, terminate this process. In the embodiment of the present invention, it can be matched by comparing the voiceprint of acquisition input with default voiceprint, to the vocal print of user Information is verified, and is prevented strange user's illegal operation, is improved the safety of terminal device.

S204, what identification touched that pressure value falls into touches pressure value set.

S205 searches and touches pressure value set from the corresponding relationship that preset pressure value set and music instruct Corresponding music control instruction;It is wherein, different that touch the corresponding music control instruction of pressure value set different.

S206 executes corresponding control to terminal device music being played on according to music control instruction and operates.

Step S201 in the embodiment of the present invention can refering to fig. 1 shown in step S101, step S204~step S206 can It is repeated no more with shown step S102~step S104, the embodiment of the present invention refering to fig. 1.

In the embodiment of the present invention, when terminal device is in the lock state, the predeterminable area of terminal device screen is detected Touch pressure value;Acquire the voiceprint of input;Compare whether voiceprint matches with default voiceprint;If matching, identification That touches that pressure value falls into touches pressure value set;It is looked into from the corresponding relationship that preset pressure value set is instructed with music Look for music control instruction corresponding with pressure value set is touched;Wherein, different to touch the corresponding music of pressure value set It is different to play control instruction;Corresponding control is executed to terminal device music being played on according to music control instruction to grasp Make.Implement the embodiment of the present invention, it can be when terminal device be in the lock state, through the preset areas for pressing terminal device screen Domain quickly controls music, improves user experience.

Referring to Fig. 3, Fig. 3 is the flow chart of another music control method disclosed by the embodiments of the present invention.Such as Fig. 3 It is shown, music control method as described in this embodiment, comprising steps of

S301, when terminal device is in the lock state, that detects the predeterminable area of terminal device screen touches pressure value.

S302 acquires the voiceprint of input.

S303, the specified relationship user into the social application that terminal device is currently running and the specified relationship in address list User sends default voiceprint acquisition request respectively.

In the embodiment of the present invention, after the voiceprint of acquisition input, the social application that is currently running to terminal device In specified relationship user and address list in specified relationship user send default voiceprint acquisition request, social application respectively Can for wechat, QQ, have letter, credulity etc., specified relationship user can be the user of input voiceprint.For example, when with When family A uses the terminal device of user B, if the user A music that needs the terminal device to user B to play in the locked state into When row plays control, user A touches the predeterminable area of the screen of the terminal device of user B, and the terminal device of user B detects terminal The predeterminable area of the screen of equipment touches pressure value, exports prompt information, prompt information prompt input voiceprint, user A It inputs voiceprint, specified relationship user (user A) of the terminal device into the social application that terminal device is currently running and leads to Specified relationship user (user A) in letter record sends default voiceprint acquisition request respectively.

S304 receives the specified pass in the first voiceprint and address list that the specified relationship user in social application sends It is the second voiceprint that user sends.

In the embodiment of the present invention, in the specified relationship user and address list into the social application that terminal device is currently running Specified relationship user send default voiceprint acquisition request respectively after, specified relationship user is defeated in social application respectively Enter the first voiceprint and input the second voiceprint in address list, terminal device receives the specified relationship in social application and uses The second voiceprint that the specified relationship user in the first voiceprint and address list that family is sent sends.For example, when user A exists When receiving default voiceprint acquisition request respectively in the social application being currently running and in address list application (such as multimedia message), user A inputs the first voiceprint in the social application being currently running, and inputs the second voiceprint in address list application, terminal is set The use in the first voiceprint and address list application (such as multimedia message) that the standby user A received in the social application being currently running is sent The second voiceprint that family A is sent.

S305, judges whether the first voiceprint matches with the second voiceprint;If so, S306 is thened follow the steps, if it is not, It then prompts the first voiceprint and the second voiceprint to mismatch, terminates this process.

In the embodiment of the present invention, when the first voiceprint and the second vocal print information matches, show the finger in social application Determining the specified relationship user in relational users and address list is the same person;When the first voiceprint and the second voiceprint not Timing shows that the specified relationship user in social application and the specified relationship user in address list are not the same persons.Implement this Inventive embodiments can verify the identity of specified relationship user by multiple support channels (social application and address list), improve terminal The safety of equipment prevents terminal device by strange user's operation.

S306, using the first voiceprint or the second voiceprint as default voiceprint.

In the embodiment of the present invention, when the first voiceprint and the second vocal print information matches, show the finger in social application Determining specified relationship user in relational users and address list is the same person, and terminal device is by the first voiceprint or the second vocal print Information is as default voiceprint.Implement the embodiment of the present invention, voiceprint can be preset with quick obtaining, avoid default vocal print Information is stored in the risk for being easy to be leaked in terminal device, improves the safety of terminal device.

S307, compares whether voiceprint matches with default voiceprint;If matching executes step S308, if mismatching, It then prompts voiceprint and default voiceprint to mismatch, terminates this process.

S308, what identification touched that pressure value falls into touches pressure value set.

S309 searches and touches pressure value set from the corresponding relationship that preset pressure value set and music instruct Corresponding music control instruction;It is wherein, different that touch the corresponding music control instruction of pressure value set different.

S310 executes corresponding control to terminal device music being played on according to music control instruction and operates.

In the embodiment of the present invention, when terminal device is in the lock state, the predeterminable area of terminal device screen is detected Touch pressure value;Acquire the voiceprint of input;Specified relationship user into the social application that terminal device is currently running and Specified relationship user in address list sends default voiceprint acquisition request respectively;The specified relationship received in social application is used The second voiceprint that the specified relationship user in the first voiceprint and address list that family is sent sends;Judge that the first vocal print is believed Whether breath matches with the second voiceprint;If so, using the first voiceprint or the second voiceprint as default voiceprint;Than Whether matched compared with voiceprint with default voiceprint;If matching, what identification touched that pressure value falls into touches pressure value set;From Music corresponding with pressure value set is touched is searched in preset pressure value set and the corresponding relationship of music instruction Control instruction;It is wherein, different that touch the corresponding music control instruction of pressure value set different;It is controlled according to music Instruction executes corresponding control to terminal device music being played on and operates.Implement the embodiment of the present invention, can be set in terminal For when being in the lock state, by pressing the predeterminable area of terminal device screen, music is quickly controlled, user's body is improved It tests.

Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention.As shown in figure 4, Terminal device as described in this embodiment, including detection unit 401, recognition unit 402, searching unit 403 and execution unit 404, in which:

Detection unit 401, for detecting the predeterminable area of terminal device screen when terminal device is in the lock state Touch pressure value.

In the embodiment of the present invention, detection unit 401 can be detected eventually by the pressure sensor in the screen of terminal device The predeterminable area of end equipment screen touches pressure value, can touch pressure with the predeterminable area of real-time detection terminal device screen Value, it can be border circular areas, rectangular area or other polygon areas that predeterminable area, which can be any position of terminal device screen, Domain, predeterminable area can be arbitrary size, and the embodiment of the present invention is without limitation.Touching pressure value can be the touching of finger of user And pressure value.

Recognition unit 402, that touches that pressure value falls into for identification touches pressure value set.

In the embodiment of the present invention, recognition unit 402 can be identified by the pressure sensor in terminal device screen and be touched What pressure value was fallen into touches pressure value set, and touching pressure value set can be biggish section, is also possible to lesser section, Can also be set by user by terminal device default, for example, touch pressure value set can for 0~ 0.1N, 0.1~0.2N, 0.2~0.3N, 0.3~0.4N, 0.4~0.5N, 0.5~0.6N, 0.6~0.7N, 0.7~0.8N, In 0.8~0.9N, 0.9~1.0N wherein any one, or 0~0.01N, 0.01~0.02N, 0.02~0.03N, 0.03~0.04N, 0.04~0.05N, 0.05~0.06N, 0.06~0.07N, 0.07~0.08N, 0.08~0.09N, 0.09 In~0.1N wherein any one, or 0~1N, 1~2N, 2~3N, 3~4N, 4~5N, 5~6N, 6~7N, 7~ 8N, 8~9N, in 9~10N wherein any one, touching pressure value set can arbitrarily set, and the embodiment of the present invention does not limit It is fixed.

Searching unit 403, for searching and touching from the corresponding relationship that preset pressure value set and music instruct And the corresponding music control instruction of pressure value set;Wherein, different to touch the corresponding music control of pressure value set System instruction is different.

In the embodiment of the present invention, the corresponding relationship that pressure value set is instructed with music can preset and be stored in In the memory of terminal device, different touches the corresponding music control instruction difference of pressure value set, searching unit 403 Music corresponding with pressure value set is touched is searched from the corresponding relationship that preset pressure value set and music instruct to broadcast Put control instruction.For example, corresponding music control instruction is switching song if touching pressure value set is 0.1~0.3N Instruction, if touching pressure value set is 0.3~0.5N, corresponding music control instruction is to adjust volume instructions, if touching Pressure value set is 0.5~0.7N, and corresponding music control instruction is music style regulating command.

Optionally, predeterminable area is music button area, touches pressure value set including first and touches pressure value collection Close, second touches pressure value set and third touches any one of pressure value set, wherein first touch pressure value set, Second touches pressure value set and third touches pressure value set mutually without intersection, and searching unit 403 is from preset pressure value set And the mode for searching music control instruction corresponding with pressure value set is touched in the corresponding relationship of music instruction has Body are as follows:

When the identification of recognition unit 402, which touches pressure value, to be fallen into first and touch pressure value set, searching unit 403 is from default Pressure value set and music instruction corresponding relationship in search and touch the corresponding starting music of pressure value set with first Play instruction;Alternatively,

When the identification of recognition unit 402, which touches pressure value, to be fallen into second and touch pressure value set, searching unit 403 is from default Pressure value set and music instruction corresponding relationship in search and touch the corresponding pause music of pressure value set with second Play instruction;Alternatively,

When the identification of recognition unit 402, which touches pressure value, to be fallen into third and touch pressure value set, searching unit 403 is from default Pressure value set and music instruction corresponding relationship in search and touch that pressure value set is corresponding to exit music with third Play instruction.

In the embodiment of the present invention, it can be shown when terminal device is in the lock state, on terminal device screen and play boundary Face, but broadcast interface can not be operated, broadcast interface can show music button area, as shown in fig. 7, when identification Unit 402 identify in music button area touch pressure value fall into first touch pressure value set (such as 0.2~ 0.4N, including 0.2N do not include 0.4N) when, searching unit 403 instructs from preset pressure value set with music corresponding It is searched in relationship and touches the corresponding starting music instruction of pressure value set with first;When recognition unit 402 identifies that music is broadcast The pressure value of touching put in button area falls into second and touches pressure value set (such as 0.4~0.6N, including 0.4N do not include When 0.6N), searching unit 403 is searched from the corresponding relationship that preset pressure value set is instructed with music and is touched with second The corresponding pause music instruction of pressure value set;Pressure is touched when recognition unit 402 identifies in music button area Force value falls into third when touching pressure value set (such as 0.6~0.8N, including 0.6N, do not include 0.8N), searching unit 403 from It is searched in preset pressure value set and the corresponding relationship of music instruction and touches that pressure value set is corresponding to be exited with third Music instruction.First touches the corresponding music control instruction of pressure value set instructs for starting music, and second The corresponding music control instruction of pressure value set is touched as pause music instruction, it is corresponding that third touches pressure value set Music control instruction be exit music instruction, starting music instruction can for starting current hang play Music, or starting music player, and play the music of music player the last time broadcasting;Pause music refers to Enabling can be to suspend currently playing music, and exiting music instruction can be to stop playing currently playing music, can also Think and stop playing currently playing music, and exits currently playing music player.

Optionally, predeterminable area is music switching push button region, touches pressure value set including the 4th and touches pressure value collection It closes and the 5th touches any one of pressure value set, wherein the 4th, which touches pressure value set and the 5th, touches pressure value set Mutually without intersection, pressure value is searched and touched to searching unit from the corresponding relationship that preset pressure value set and music instruct Gather the mode of corresponding music control instruction specifically:

When the identification of recognition unit 402, which touches pressure value, to be fallen into the 4th and touch pressure value set, searching unit is from preset It searches to touch the corresponding music of pressure value set with the 4th and switch in pressure value set and the corresponding relationship of music instruction and refer to It enables;Alternatively,

When the identification of recognition unit 402, which touches pressure value, to be fallen into the 5th and touch pressure value set, searching unit is from preset It is searched in pressure value set and the corresponding relationship of music instruction and touches the corresponding volume of music tune of pressure value set with the 5th Section instruction.

In the embodiment of the present invention, it can be shown when terminal device is in the lock state, on terminal device screen and play boundary Face, but broadcast interface can not be operated, broadcast interface can show music switching push button region, as shown in figure 8, music is cut Changing button area may include music switching push button region 1 and music switching push button region 2, when recognition unit 402 identifies music Pressure value of touching in switching push button region falls into the 4th and touches pressure value set (such as 0.1~0.3N, including 0.1N, are not wrapped Include 0.3N) when, searching unit 403 is searched and the 4th touching from the corresponding relationship that preset pressure value set and music instruct And the corresponding music switching command of pressure value set, for example, as shown in figure 8, when recognition unit 402 identifies that music switching is pressed Pressure value of touching in button region 1 falls into the 4th and touches pressure value set (such as 0.1~0.3N, including 0.1N do not include When 0.3N), searching unit 403 is searched from the corresponding relationship that preset pressure value set is instructed with music and is touched with the 4th The corresponding music of pressure value set switches up instruction (being switched to a piece of music);When recognition unit 402 identifies that music is cut The pressure value of touching changed in button area 2 falls into the 4th and touches pressure value set (such as 0.1~0.3N, including 0.1N do not include When 0.3N), searching unit 403 is searched from the corresponding relationship that preset pressure value set is instructed with music and is touched with the 4th The downward switching command of the corresponding music of pressure value set (is switched to next song).When recognition unit 402 identifies that music is broadcast The pressure value of touching put in button area falls into the 5th and touches pressure value set (such as 0.3~0.5N, including 0.3N do not include When 0.5N), searching unit 403 is searched from the corresponding relationship that preset pressure value set is instructed with music and is touched with the 5th The corresponding volume of music regulating command of pressure value set, for example, as shown in figure 8, when recognition unit 402 identifies music switching Pressure value of touching in button area 1 falls into the 5th and touches pressure value set (such as 0.3~0.5N, including 0.3N do not include When 0.5N), searching unit 403 is searched from the corresponding relationship that preset pressure value set is instructed with music and is touched with the 5th The corresponding volume of music of pressure value set turns down instruction (turning down current music broadcast sound volume);When recognition unit 402 identifies sound In happy switching push button region 2 touch pressure value fall into the 5th touch pressure value set (such as 0.3~0.5N, including 0.3N, no Including 0.5N) when, searching unit 403 is searched and the 5th from the corresponding relationship that preset pressure value set and music instruct It touches the corresponding volume of music of pressure value set and instruction (i.e. height-regulating current music broadcast sound volume) is turned up.

Execution unit 404, for executing correspondence to terminal device music being played on according to music control instruction Control operation.

In the embodiment of the present invention, corresponding relationship of the searching unit 403 from preset pressure value set and music instruction It is middle search corresponding with pressure value set is touched music control instruction after, execution unit 404 is controlled according to music Instruction executes corresponding control to terminal device music being played on and operates, for example, if music control instruction is switching Song instruction, then switch currently playing music;If music control instruction is to adjust volume instructions, music is adjusted Volume;If music control instruction is music style regulating command, the style of currently playing music is adjusted.The present invention is real Lock can be in terminal device according to the parameter touched pressure value and quickly adjust music in predeterminable area by applying example Determine under state, quickly control plays music, can quickly control broadcasting music without being unlocked to terminal device, improves user Experience.

In the embodiment of the present invention, when terminal device is in the lock state, detection unit 401 detects terminal device screen Predeterminable area touches pressure value;Recognition unit 402 identifies that touches that pressure value falls into touches pressure value set;Searching unit 403 search music corresponding with pressure value set is touched from the corresponding relationship that preset pressure value set and music instruct Play control instruction;It is wherein, different that touch the corresponding music control instruction of pressure value set different;Execution unit 404 Corresponding control is executed to terminal device music being played on according to music control instruction to operate.Implement the present invention to implement Example can quickly control music and broadcast when terminal device is in the lock state, by pressing the predeterminable area of terminal device screen It puts, improves user experience.

Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention.Such as Fig. 5 institute Show, terminal device as described in this embodiment, in addition to including detection unit 401 shown in Fig. 4, recognition unit 402, searching list It further include acquisition unit 405 and comparing unit 406 except member 403 and execution unit 404, in which:

Acquisition unit 405, for acquiring the voiceprint of input.

In the embodiment of the present invention, the vocal print that acquisition unit 405 can acquire input by the microphone in terminal device is believed The voiceprint of breath, input can be the voiceprint of user's input.Before the voiceprint of acquisition input, terminal device can To export prompt information, which prompts user to input the microphone in voiceprint and the equipment that opens a terminal, to receive User inputs voiceprint.

Whether comparing unit 406 matches for comparing voiceprint with default voiceprint.

Wherein, when comparing unit 406, which compares voiceprint, to be matched with default voiceprint, triggering recognition unit 402 is known That does not touch that pressure value falls into touches pressure value set.

In the embodiment of the present invention, after the voiceprint of the acquisition input of acquisition unit 405, comparing unit 406 compares vocal print letter Whether breath matches with default voiceprint, and voiceprint can specifically include in the sound wave spectrum of the voiceprint of microphone acquisition Formant frequency, the intensity of formant, the number of formant etc., default voiceprint can be the sound of pre-stored user Line information, or the voiceprint of the user obtained in advance.Comparing voiceprint can with whether default voiceprint matches Formant frequency in the sound wave spectrum of the formant frequency and default voiceprint in sound wave spectrum to compare voiceprint Whether match, compares the resonance in the sound wave spectrum of the resonance peak intensity and default voiceprint in the sound wave spectrum of voiceprint Whether peak intensity matches, in the sound wave spectrum for comparing the formant number and default voiceprint in the sound wave spectrum of voiceprint Formant number whether match, if matching, trigger recognition unit 402 and identify that touches that pressure value falls into touches pressure value Set.In the embodiment of the present invention, it can be matched by comparing the voiceprint of acquisition input with default voiceprint, to user's Voiceprint is verified, and is prevented strange user's illegal operation, is improved the safety of terminal device.

In the embodiment of the present invention, when terminal device is in the lock state, detection unit 401 detects terminal device screen Predeterminable area touches pressure value;The voiceprint of the acquisition input of acquisition unit 405;Comparing unit 406 compare voiceprint with Whether default voiceprint matches;If matching, recognition unit 402 identifies that touches that pressure value falls into touches pressure value set;It looks into Unit 403 is looked for search from preset pressure value set and the corresponding relationship that music instructs corresponding with pressure value set is touched Music control instruction;It is wherein, different that touch the corresponding music control instruction of pressure value set different;Execute list Member 404 executes corresponding control to terminal device music being played on according to music control instruction and operates.Implement this hair Bright embodiment, by pressing the predeterminable area of terminal device screen, can quickly be controlled when terminal device is in the lock state Music improves user experience.

Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention.Such as Fig. 6 institute Show, terminal device as described in this embodiment, in addition to including detection unit 401 shown in fig. 5, recognition unit 402, searching list Except member 403, execution unit 404, acquisition unit 405 and comparing unit 406, further include transmission unit 407, receiving unit 408, Judging unit 409 and determination unit 410, in which:

Transmission unit 407, for into the social application that terminal device is currently running specified relationship user and address list In specified relationship user send default voiceprint acquisition request respectively.

In the embodiment of the present invention, after the voiceprint of the acquisition input of acquisition unit 405, transmission unit 407 is set to terminal The specified relationship user in specified relationship user and address list in the standby social application being currently running sends default vocal print respectively Information acquisition request, social application can for wechat, QQ, have letter, credulity etc., specified relationship user can be input voiceprint User.For example, when user A uses the terminal device of user B, if user A needs locking the terminal device of user B When the music for determining to play under state plays out control, user A touches the predeterminable area of the screen of the terminal device of user B, uses The predeterminable area of the screen of the terminal device detection terminal device of family B touches pressure value, exports prompt information, prompt information mentions Show that input voiceprint, user A input voiceprint, transmission unit 407 is into the social application that terminal device is currently running Specified relationship user (user A) in specified relationship user (user A) and address list sends default voiceprint acquisition respectively and asks It asks.

Receiving unit 408, for receiving the first voiceprint and the communication of the transmission of the specified relationship user in social application The second voiceprint that specified relationship user in record sends.

In the embodiment of the present invention, specified relationship of the transmission unit 407 into the social application that terminal device is currently running is used After specified relationship user in family and address list sends default voiceprint acquisition request respectively, specified relationship user exists respectively The first voiceprint is inputted in social application and inputs the second voiceprint in address list, and receiving unit 408 receives social activity and answers The second vocal print letter that the specified relationship user in the first voiceprint and address list that specified relationship user in sends sends Breath.For example, when user A receives default vocal print letter respectively in the social application being currently running and in address list application (such as multimedia message) When ceasing acquisition request, user A inputs the first voiceprint in the social application being currently running, and inputs the in address list application Two voiceprints, receiving unit 408 receive the first voiceprint and communication that the user A in the social application being currently running is sent The second voiceprint that user A in record application (such as multimedia message) is sent.

Judging unit 409, for judging whether the first voiceprint matches with the second voiceprint.

In the embodiment of the present invention, when judging unit 409 judges the first voiceprint and the second vocal print information matches, show society Handing over the specified relationship user in the specified relationship user and address list in application is the same person;Judging unit 409 judges first When voiceprint and the second voiceprint mismatch, show the specified relationship user in social application and the specified pass in address list It is user is not the same person.Implement the embodiment of the present invention, can be verified and be referred to by multiple support channels (social application and address list) The identity for determining relational users improves the safety of terminal device, prevents terminal device by strange user's operation.

Determination unit 410, for when 409 judging result of judging unit be when, by the first voiceprint or the second vocal print Information is as default voiceprint.

In the embodiment of the present invention, when judging unit 409 judges the first voiceprint and the second vocal print information matches, show Specified relationship user in social application and the specified relationship user in address list are the same person, and determination unit 410 is by first Voiceprint or the second voiceprint are as default voiceprint.Implement the embodiment of the present invention, vocal print can be preset with quick obtaining Information avoids default voiceprint and is stored in the risk for being easy to be leaked in terminal device, improves the safety of terminal device Property.

In the embodiment of the present invention, when terminal device is in the lock state, detection unit 401 detects terminal device screen Predeterminable area touches pressure value;The voiceprint of the acquisition input of acquisition unit 405;Transmission unit 407 to terminal device Specified relationship user in the social application of operation and the specified relationship user in address list send default voiceprint respectively and obtain Take request;Receiving unit 408 receives in the first voiceprint and address list that the specified relationship user in social application sends The second voiceprint that specified relationship user sends;Judging unit 409 judges whether are the first voiceprint and the second voiceprint Matching;If so, determination unit 410 is using the first voiceprint or the second voiceprint as default voiceprint;Comparing unit 406 Compare whether voiceprint matches with default voiceprint;If matching, recognition unit 402 identifies that touches that pressure value falls into touches Pressure value set;Searching unit 403 is searched and is touched from the corresponding relationship that preset pressure value set is instructed with music The corresponding music control instruction of pressure value set;Wherein, the different corresponding musics of pressure value set of touching controls Instruction is different;Execution unit 404 executes corresponding control to terminal device music being played on according to music control instruction System operation.Implement the embodiment of the present invention, the pre- of pressing terminal device screen can be passed through when terminal device is in the lock state If region, music is quickly controlled, improves user experience.

Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..

It is provided for the embodiments of the invention a kind of music control method above and terminal device has carried out detailed Jie It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (6)

1. a kind of music control method characterized by comprising
When terminal device is in the lock state, that detects the predeterminable area of terminal device screen touches pressure value;
The voiceprint of input is acquired, the voiceprint includes in the sound wave spectrum for the voiceprint that microphone obtains Formant frequency, resonance peak intensity and formant number;
The specified relationship in the specified relationship user and address list in social application being currently running to the terminal device User sends default voiceprint acquisition request respectively;
Receive the institute in the first voiceprint and the address list that the specified relationship user in the social application sends State the second voiceprint of specified relationship user transmission;
Judge whether first voiceprint matches with second voiceprint;
If so, using first voiceprint or second voiceprint as the default voiceprint;
Compare whether the voiceprint matches with the default voiceprint;
If matching, that touches that pressure value falls into described in identification touches pressure value set;
From preset pressure value set with searched in the corresponding relationship that music instructs and described to touch pressure value set corresponding Music control instruction;It is wherein, different that touch the corresponding music control instruction of pressure value set different;
Corresponding control is executed to terminal device music being played on according to the music control instruction to operate.
2. the method according to claim 1, wherein the predeterminable area be music button area, it is described Touching pressure value set includes first touching pressure value set, second touching pressure value set and third is touched in pressure value set It is any, wherein described first touches pressure value set, described second touches pressure value set and the third touches pressure Value set mutually without intersection, touch with described by described search from the corresponding relationship that preset pressure value set is instructed with music The corresponding music control instruction of pressure value set, comprising:
When it is described touch pressure value and fall into described first and touch pressure value set when, from the preset pressure value set and music It is searched in the corresponding relationship of play instruction and touches the corresponding starting music instruction of pressure value set with described first;Alternatively,
When it is described touch pressure value and fall into described second and touch pressure value set when, from the preset pressure value set and music It is searched in the corresponding relationship of play instruction and touches the corresponding pause music instruction of pressure value set with described second;Alternatively,
When it is described touch pressure value and fall into the third and touch pressure value set when, from the preset pressure value set and music In the corresponding relationship of play instruction search with the third touch pressure value set it is corresponding exit music instruct.
3. the method according to claim 1, wherein the predeterminable area be music switching push button region, it is described Touching pressure value set includes the 4th touching pressure value set and the 5th and touching any one of pressure value set, wherein described 4th, which touches pressure value set and the described 5th, touches pressure value set mutually without intersection, described from preset pressure value set and sound It is searched in the corresponding relationship of happy play instruction and touches the corresponding music control instruction of pressure value set with described, comprising:
When it is described touch pressure value and fall into the described 4th and touch pressure value set when, from the preset pressure value set and music It is searched in the corresponding relationship of play instruction and touches the corresponding music switching command of pressure value set with the described 4th;Alternatively,
When it is described touch pressure value and fall into the described 5th and touch pressure value set when, from the preset pressure value set and music It is searched in the corresponding relationship of play instruction and touches the corresponding volume of music regulating command of pressure value set with the described 5th.
4. a kind of terminal device characterized by comprising
Detection unit, for when terminal device is in the lock state, that detects the predeterminable area of terminal device screen to touch pressure Force value;
Acquisition unit, for acquiring the voiceprint of input, the voiceprint includes the voiceprint that microphone obtains Sound wave spectrum in formant frequency, resonance peak intensity and formant number;
Transmission unit, in the specified relationship user and address list in the social application for being currently running to the terminal device The specified relationship user sends default voiceprint acquisition request respectively;
Receiving unit, for receiving the first voiceprint and described of the transmission of the specified relationship user in the social application The second voiceprint that the specified relationship user in address list sends;
Judging unit, for judging whether first voiceprint matches with second voiceprint;
Determination unit, for when the judging unit judging result be when, by first voiceprint or the rising tone Line information is as the default voiceprint;
Whether comparing unit matches for the voiceprint with default voiceprint;Recognition unit, for working as the ratio When matching compared with the unit voiceprint with the default voiceprint, that touches that pressure value falls into described in identification touches pressure Force value set;
Searching unit touches pressure with described for searching from the corresponding relationship that preset pressure value set and music instruct The corresponding music control instruction of force value set;Wherein, the different corresponding music control of pressure value set that touches refers to It enables different;
Execution unit, for executing correspondence to terminal device music being played on according to the music control instruction Control operation.
5. terminal device according to claim 4, which is characterized in that the predeterminable area is music button area, The pressure value set that touches includes first touching pressure value set, second touching pressure value set and third touches pressure value collection It any one of closes, wherein described first touches pressure value set, described second touches pressure value set and the third is touched Pressure value set mutually without intersection, look into from the corresponding relationship that preset pressure value set is instructed with music by the searching unit It looks for and the mode for touching the corresponding music control instruction of pressure value set specifically:
When touching pressure value described in the recognition unit identification and falling into described first and touch pressure value set, the searching unit It is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value set with described first Corresponding starting music instruction;Alternatively,
When touching pressure value described in the recognition unit identification and falling into described second and touch pressure value set, the searching unit It is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value set with described second Corresponding pause music instruction;Alternatively,
When touching pressure value described in the recognition unit identification and falling into the third and touch pressure value set, the searching unit It is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value set with the third It is corresponding to exit music instruction.
6. terminal device according to claim 4, which is characterized in that the predeterminable area is music switching push button region, The pressure value set that touches includes the 4th touching pressure value set and the 5th and touching any one of pressure value set, wherein Described 4th, which touches pressure value set and the described 5th, touches pressure value set mutually without intersection, and the searching unit is from preset pressure It is searched in force value set and the corresponding relationship of music instruction and touches the corresponding music control of pressure value set with described The mode of instruction specifically:
When touching pressure value described in the recognition unit identification and falling into the described 4th and touch pressure value set, the searching unit It is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value set with the described 4th Corresponding music switching command;Alternatively,
When touching pressure value described in the recognition unit identification and falling into the described 5th and touch pressure value set, the searching unit It is searched from the corresponding relationship that the preset pressure value set and music instruct and touches pressure value set with the described 5th Corresponding volume of music regulating command.
CN201510537175.0A 2015-08-27 2015-08-27 A kind of music control method and terminal device CN105159492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510537175.0A CN105159492B (en) 2015-08-27 2015-08-27 A kind of music control method and terminal device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510537175.0A CN105159492B (en) 2015-08-27 2015-08-27 A kind of music control method and terminal device
PCT/CN2016/080567 WO2017032025A1 (en) 2015-08-27 2016-04-28 Music playback control method and terminal device

Publications (2)

Publication Number Publication Date
CN105159492A CN105159492A (en) 2015-12-16
CN105159492B true CN105159492B (en) 2019-03-15

Family

ID=54800371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510537175.0A CN105159492B (en) 2015-08-27 2015-08-27 A kind of music control method and terminal device

Country Status (2)

Country Link
CN (1) CN105159492B (en)
WO (1) WO2017032025A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159492B (en) * 2015-08-27 2019-03-15 Oppo广东移动通信有限公司 A kind of music control method and terminal device
CN106802760A (en) * 2015-11-25 2017-06-06 西安中兴新软件有限责任公司 A kind of method and device for controlling audio to play
CN105824529B (en) * 2016-03-11 2019-07-09 深圳市元征科技股份有限公司 A kind of method and intelligent wearable device controlling music
CN106155622A (en) * 2016-06-17 2016-11-23 广东欧珀移动通信有限公司 A kind of audio moade setting method and device
CN106371738A (en) * 2016-08-26 2017-02-01 广东欧珀移动通信有限公司 Mobile terminal and method and device for controlling screen brightness of mobile terminal
CN106445393A (en) * 2016-10-31 2017-02-22 珠海市魅族科技有限公司 Audio video play control method and audio video play control device
CN106708402A (en) * 2016-11-25 2017-05-24 努比亚技术有限公司 Method and apparatus for controlling terminal application

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750066A (en) * 2011-04-20 2012-10-24 上海三旗通信科技股份有限公司 Control mode for realizing specific function under screen locking state of touch screen terminal
CN103259908A (en) * 2012-02-15 2013-08-21 联想(北京)有限公司 Mobile terminal and intelligent control method thereof
CN103513882A (en) * 2013-05-31 2014-01-15 展讯通信(上海)有限公司 Touch control equipment control method and device and touch control equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699369A (en) * 2009-11-18 2010-04-28 英华达(南昌)科技有限公司 Pressure triggering device used for electronic equipment and electronic device comprising same
US8918146B2 (en) * 2010-05-10 2014-12-23 Microsoft Corporation Automatic gain control based on detected pressure
CN103531200B (en) * 2013-10-29 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Voice unlocking method and terminal
CN105159492B (en) * 2015-08-27 2019-03-15 Oppo广东移动通信有限公司 A kind of music control method and terminal device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750066A (en) * 2011-04-20 2012-10-24 上海三旗通信科技股份有限公司 Control mode for realizing specific function under screen locking state of touch screen terminal
CN103259908A (en) * 2012-02-15 2013-08-21 联想(北京)有限公司 Mobile terminal and intelligent control method thereof
CN103513882A (en) * 2013-05-31 2014-01-15 展讯通信(上海)有限公司 Touch control equipment control method and device and touch control equipment

Also Published As

Publication number Publication date
CN105159492A (en) 2015-12-16
WO2017032025A1 (en) 2017-03-02

Similar Documents

Publication Publication Date Title
US10573303B2 (en) Method and apparatus for voice control
US10692504B2 (en) User profiling for voice input processing
CN105631275B (en) information display method, information display device and terminal
CN104238759B (en) Physical button controls the method and device of terminal
CN104937603B (en) terminal, unlocking method and program
US9698999B2 (en) Natural language control of secondary device
EP3001414B1 (en) Method for executing voice command and electronic device
US9666192B2 (en) Methods and apparatus for reducing latency in speech recognition applications
KR101951133B1 (en) Video studio creating method and service device
KR101566379B1 (en) Method For Activating User Function based on a kind of input signal And Portable Device using the same
JP3979209B2 (en) Data input method and data input device
US20150029089A1 (en) Display apparatus and method for providing personalized service thereof
TWI590228B (en) Voice control system, electronic device having the same, and voice control method
CN105830015B (en) Privacy mode for online voice activation information auxiliary always
US20150164144A1 (en) Identification method based on an electronic cigarette and electronic cigarette
US6839668B2 (en) Store speech, select vocabulary to recognize word
US9865268B1 (en) User authentication for voice-input devices
US10026401B1 (en) Naming devices via voice commands
JP6265401B2 (en) Method and terminal for playing media
US9202463B2 (en) Voice-activated precision timing
EP2965314A1 (en) Identification using audio signatures and additional characteristics
US7164906B2 (en) System and method of music generation
US8924219B1 (en) Multi hotword robust continuous voice command detection in mobile devices
JP2012231428A (en) Television conference apparatus, display control method, and display control program
CN105260109B (en) A kind of playing speed adjusting method and terminal

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant