CN106527734A - Music playing control method and device - Google Patents

Music playing control method and device Download PDF

Info

Publication number
CN106527734A
CN106527734A CN201611082831.3A CN201611082831A CN106527734A CN 106527734 A CN106527734 A CN 106527734A CN 201611082831 A CN201611082831 A CN 201611082831A CN 106527734 A CN106527734 A CN 106527734A
Authority
CN
China
Prior art keywords
music
information
file
music file
scene
Prior art date
Application number
CN201611082831.3A
Other languages
Chinese (zh)
Inventor
陈理
罗泽英
Original Assignee
杭州联络互动信息科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州联络互动信息科技股份有限公司 filed Critical 杭州联络互动信息科技股份有限公司
Priority to CN201611082831.3A priority Critical patent/CN106527734A/en
Publication of CN106527734A publication Critical patent/CN106527734A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/635Filtering based on additional data, e.g. user or group profiles
    • G06F16/636Filtering based on additional data, e.g. user or group profiles by using biological or physiological data
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/011Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns

Abstract

The invention discloses a music playing control method. The music playing control method comprises the following steps: acquiring heart rate information of a user; determining a first music style type corresponding to a heart rate threshold value interval according to the heart rate threshold value interval matched with the heart rate information; acquiring music files according to a preset music file acquiring path, and scanning the acquired music files to obtain music feature information of the music files; determining a second music style type corresponding to the music files according to the music feature information; screening music files of which the second music style type is consistent with the first music style type from the music files; and playing the screened music files. Through adoption of the music playing control method, the user does not need to manually acquire the music files or select the played music files or the music style types; convenience is brought to the user; and meanwhile, the control of music playing is more intelligent and user-friendly.

Description

A kind of music control method and device
Technical field
The application is related to intellectualized technology field, and in particular to a kind of music control method.The application is related to simultaneously A kind of music play control apparatus.
Background technology
With developing rapidly for IT technologies and electronic technology, the popularization of the portable terminal such as mobile terminal, wearable device Degree also more and more higher, and user also increases therewith to the intellectuality of mobile terminal and wearable device, the requirement of hommization, Current mobile terminal and wearable device possess the integrated level of more functions and Geng Gao, but how to allow mobile terminal and What wearable device was convenient and intelligent provide the user service has become the subject matter for currently facing, with it is mobile eventually As a example by music control is carried out on end or wearable device, such as the how internal information of user itself or the current institute of user The external information of place's environment is that foundation carries out music control on the mobile terminal or wearable device of user.
At present, there are many users to like music is listened during motion or rest, such as in motion, coordinate music Rhythm can allow motion becomes it is happier, movement rhythm can be adjusted according to the change of music rhythm, reach Really;The music softly releived is played in rest can allow what rest became more to loosen.But user is led in motion or rest at present Crossing mobile terminal that user carries with or wearable device carries out music, if user wants to change currently playing Music type, it is necessary to which manual is adjusted on mobile terminal or wearable device, then currently can carried out to user Motion or rest impact, it is impossible to music is carried out automatically according to the current state of user or user's self information , there is certain defect in control, realize that the intelligent and hommization degree of music control is relatively low.
The content of the invention
The application provides a kind of music control method, to solve the intelligent and hommization journey of prior art presence Spend low problem.The application provides a kind of music play control apparatus in addition.
The application provides a kind of music control method, including:
Obtain the heart rate information of user;
It is interval according to the heart rate threshold of heart rate information matching, determine the interval corresponding first music of the heart rate threshold Stylistic category;
Music file is obtained according to default music file acquisition approach, and the music file to getting is swept Retouch, obtain the musical features information of the music file;
The corresponding second music style type of the music file is determined according to the musical features information;
The second music style type is filtered out from the music file consistent with the first music stylistic category Music file;
The music file that broadcasting is filtered out.
Optionally, it is described to play the music file for filtering out, realize in the following way:
Obtain the scenario parameters that the user is presently in scene;
The scenario parameters are compared with scene type mapping relations with default scenario parameters, according to comparison result Determine that the user is presently in the scene type of scene;
The volume that the scene type matching of scene is presently according to the user plays the music file for filtering out.
Optionally, the scenario parameters include it is following at least one:Temporal information, geographical location information, noise information with And velocity of displacement information;The velocity of displacement information is calculated according to the temporal information and the geographical location information and is obtained.
Optionally, the heart rate threshold according to heart rate information matching is interval, determines that the heart rate threshold interval is right The first music stylistic category answered, is realized in the following way:
Determine heart rate information institute in the interval table corresponding with first music stylistic category of heart rate threshold for pre-setting The heart rate threshold at place is interval, and determines that the heart rate threshold is interval interval corresponding with first music stylistic category in the heart rate threshold Corresponding first music stylistic category in table.
Optionally, the music file acquisition approach include it is following at least one:Read locally stored music file File read path, from the file download path of data source download music files.
Optionally, the musical features information include it is following at least one:Musical designation, the lyrics, composer, songwriter and Singer.
Optionally, it is described that the corresponding second music style class of the music file is determined according to the musical features information Type, is realized in the following way:
The musical features information is inquired about in preset musical data base, and according to the sound stored in the musical database The corresponding relation of happy characteristic information and the second music style type, determines corresponding second music style of the musical features information Type.
Optionally, it is described that the second music style type is screened from the music file with the first music style During the consistent music file of type, screened according to following rule:Recorded according to the broadcasting of the user for prestoring, it is excellent Singer, songwriter and the corresponding music file of/composer recorded in first filtering out the broadcasting record.
Optionally, it is described that the second music style type is filtered out from the music file with the first music wind After the consistent music file step of lattice type is performed, and it is described play before the music file step for filtering out performs, perform Following step:
By the music file for filtering out according to its it is screened go out time carry out according to the clooating sequence from after arriving first Sequence, and the playlist of the music file is generated according to the clooating sequence of the music file.
Optionally, it is described to play the music file for filtering out, realize in the following way:
The music file filtered out according to the playlist successively played in order.
Optionally, the scene type is moving scene or rest scene.
Optionally, it is if it is moving scene that the user is presently in the scene type of scene, described from the music file In filter out after the second music style type music file step consistent with the first music stylistic category perform, and Before the music file step that the broadcasting is filtered out is performed, following steps are performed:
The interval corresponding 3rd music style type of velocity of displacement according to residing for the velocity of displacement information of the user, sentences Whether the music style type of the disconnected music file for filtering out is consistent with the 3rd music style type, if so, performs It is described to play the music file step for filtering out.
Optionally, if the user be presently in scene scene type be rest scene, the institute that the broadcasting is filtered out After stating the execution of music file step, following step is performed:
In the preset time period that judgement gets, whether the velocity of displacement information of the user is less than preset displacement threshold value, if It is to suspend to play the music file for filtering out, or, terminate playing the music file for filtering out.
The application also provides a kind of music play control apparatus, including:
Heart rate information unit is obtained, for obtaining the heart rate information of user;
First music stylistic category determining unit, the heart rate threshold for being matched according to the heart rate information are interval, it is determined that The interval corresponding first music stylistic category of the heart rate threshold;
Musical features information acquisition unit is for obtaining music file according to default music file acquisition approach and right The music file for getting is scanned, and obtains the musical features information of the music file;
Second music style type determining units, for determining the music file correspondence according to the musical features information The second music style type;
Music file screening unit, for filter out from the music file the second music style type with it is described The consistent music file of first music stylistic category;
Music file broadcast unit, for playing the music file for filtering out.
Optionally, the music file broadcast unit, including:
Scenario parameters obtain subelement, and the scenario parameters of scene are presently in for obtaining the user;
Scene type determination subelement, for the scenario parameters are closed with scene type mapping with default scenario parameters System compares, and determines that the user is presently in the scene type of scene according to comparison result;
Music file plays subelement, and the volume that the scene type for scene is presently according to the user is matched is broadcast Put the music file for filtering out.
Optionally, the scenario parameters include it is following at least one:Temporal information, geographical location information, noise information with And velocity of displacement information;The velocity of displacement information is calculated according to the temporal information and the geographical location information and is obtained.
Optionally, the first music stylistic category determining unit, specifically for determining that the heart rate information is set in advance In the interval table corresponding with first music stylistic category of heart rate threshold put, residing heart rate threshold is interval, and determines the heart rate threshold The interval corresponding first music stylistic category in the interval table corresponding with first music stylistic category of the heart rate threshold.
Optionally, the music file acquisition approach include it is following at least one:Read locally stored music file File read path, from the file download path of data source download music files.
Optionally, the musical features information include it is following at least one:Musical designation, the lyrics, composer, songwriter and Singer.
Optionally, the second music style type determining units, specifically for institute is inquired about in preset musical data base Musical features information is stated, and it is right with the second music style type according to the musical features information stored in the musical database Should be related to, determine the corresponding second music style type of the musical features information.
Optionally, the music file screening unit is screened according to following screening rule:According to the institute for prestoring The broadcasting record of user is stated, singer, songwriter and the corresponding sound of/composer recorded in preferentially filtering out the broadcasting record Music file.
Optionally, the music play control apparatus, including:
Playlist signal generating unit, for by the music file for filtering out according to its it is screened go out time according to from Clooating sequence after arriving first is ranked up, and the played column of the music file is generated according to the clooating sequence of the music file Table.
Optionally, the music file broadcast unit, including:
Playlist plays subelement, for the music text filtered out according to the playlist successively played in order Part.
Optionally, the scene type is moving scene or rest scene.
Optionally, if it is moving scene that the user is presently in the scene type of scene, the music control dress Put including:
3rd music style type determines judging unit, for the displacement residing for the velocity of displacement information according to the user The corresponding 3rd music style type of speed interval, judge the music style type of the music file that filters out whether with institute State the 3rd music style type consistent, if so, run the music file broadcast unit.
Optionally, if it is rest scene that the user is presently in the scene type of scene, the music control dress Put including:
Velocity of displacement information judging unit, for judging the velocity of displacement letter of the user in the preset time period for getting Whether breath is less than preset displacement threshold value, and if so, operation suspends broadcast unit or terminates broadcast unit;
The time-out broadcast unit, plays the music file for filtering out for suspending, and the termination broadcast unit is used The music file for filtering out is played in termination.
Compared with prior art, the application has advantages below:
A kind of music control method that the application is provided, including:Obtain the heart rate information of user;According to the heart rate The heart rate threshold of information matches is interval, determines the interval corresponding first music stylistic category of the heart rate threshold;According to default Music file acquisition approach obtains music file, and the music file to getting is scanned, and obtains the music text The musical features information of part;The corresponding second music style type of the music file is determined according to the musical features information; The second music style type music text consistent with the first music stylistic category is filtered out from the music file Part;The music file that broadcasting is filtered out.
The music control method that the application is provided, according to the heart rate threshold of the heart rate information matching of the user for obtaining Value is interval, determines the interval corresponding first music stylistic category of the heart rate threshold, after determining the first music stylistic category Music file, and the further musical features according to the music file for getting are obtained according to default music file acquisition approach Information determines its corresponding second music style type, so as to according to the second music style type, from the music for getting Filter out the music file matched with the first music stylistic category to play out in file.The music controlling party Method, determines corresponding music style type according to the heart rate information of user, it is determined that can obtain sound after the music style type Music file, and further filter out from the music file for obtaining and broadcast with the music file of the music style type matching Put, it is to avoid user obtains music file manually, selects the music file or music style type of broadcasting, has provided the user side Just;Obtain and screen the music file being adapted to which simultaneously to play out according to the heart rate information of user, to music control More intelligent and hommization.
Description of the drawings
Fig. 1 is a kind of process chart of music control method embodiment that the application is provided;
Fig. 2 is a kind of schematic diagram of music play control apparatus embodiment that the application is provided.
Specific embodiment
Elaborate many details in order to fully understand the application in the following description.But the application can be with Much it is different from alternate manner described here to implement, those skilled in the art can be in the situation without prejudice to the application intension Under do similar popularization, therefore the application is not embodied as being limited by following public.
The application provides a kind of music control method, and the application also provides a kind of music play control apparatus.Below The accompanying drawing of the embodiment provided respectively in connection with the application is described in detail one by one, and each step to method is said It is bright.
A kind of music control method embodiment that the application is provided is as follows:
Referring to the drawings 1, a kind of process chart of music control method embodiment of the application offer is it illustrates. Additionally, the relation between each step of the music control method embodiment, please 1 determination with reference to the accompanying drawings.
Step S101, obtains the heart rate information of user.
The heart rate information of the user obtained in this step, including the palmic rate of the user.In the specific implementation, The palmic rate of the user can be obtained by the wearable device worn, such as by being built-in with that user A wears The Intelligent bracelet or intelligent watch of heart rate sensor or pulse transducer detects heart beatings of the user A in current 1min time Number is 75 times, then the palmic rate of user A is 75 times/min.Further, it is also possible to arrange detect and obtain described heart rate information Heart rate detection obtain the cycle, such as can by heart rate detection acquisition the cycle be set to 30min, i.e., detect and obtain every 30min Take the palmic rate of a user.
Step S102, it is interval according to the heart rate threshold of heart rate information matching, determine the interval correspondence of the heart rate threshold First music stylistic category.
Above-mentioned steps S101 get the heart rate information of the user, the institute that this step is got according to above-mentioned steps S101 State heart rate information and determine that the heart rate threshold of the heart rate information matching is interval, and further determine that the interval correspondence of the heart rate threshold First music stylistic category.
In the specific implementation, can pass through to determine the heart rate information in the heart rate threshold interval and first music for pre-setting In stylistic category correspondence table, residing heart rate threshold is interval, and further determines that the heart rate threshold interval in the heart rate threshold area Between corresponding first music stylistic category in table corresponding with first music stylistic category.
For example, the interval table corresponding with first music stylistic category of heart rate threshold:
Heart rate threshold interval (secondary/min) First music stylistic category
60~70 Releive type
70~80 Normal type
80~90 Lucid and lively type
90~100 Impassioned type
Wherein, the first music stylistic category of type of releiving includes the music that light music, absolute music equal rhythm are more releived Type, the first music stylistic category of normal type include prevalence, allusion, the normal music type of rural equal rhythm, lucid and lively class The first music stylistic category of type includes the more lucid and lively music type of electronics, Chinese musical telling equal rhythm, the first music of impassioned type Stylistic category includes the more impassioned music type of rock and roll, metal equal rhythm.
Step S103, obtains music file, and the music to getting according to default music file acquisition approach File is scanned, and obtains the musical features information of the music file.
In this step, the default music file acquisition approach is obtained first, obtained according to the music file for obtaining Take path and obtain music file, and the music file to getting is scanned, the music for obtaining the music file is special Reference ceases.
In general, when music is carried out, the main source of the music file of broadcasting has locally stored music text Part and the music file by Network Capture, based on this, music file acquisition approach described in the present embodiment includes following at least one :The file read path of locally stored music file is read, from the file download path of data source download music files.Example Such as, the locally stored catalogue of the music file that is stored with is set to file read path by user A, or, by Online Music platform The music file download address of offer is used as file download path.But the music file acquisition approach is not limited to this, such as The music file broadcast address that Online Music platform is provided is used as the music file acquisition approach.
The musical features information include it is following at least one:Musical designation, the lyrics, composer, songwriter and singer. It should be noted that the musical features information is not limited to this, user can also be directed to sound by Online Music player The information such as the review information of music file, star evaluation and label are used as the musical features information.
Step S104, determines the corresponding second music style type of the music file according to the musical features information.
This step and above-mentioned steps S103 are realized determining the corresponding second music wind of the music file for getting jointly Lattice type, above-mentioned steps S103 obtain music file, and the institute to getting according to the default music file acquisition approach State music file to be scanned, obtain the musical features information of the music file, this step is obtained according to above-mentioned steps S103 The musical features information of the music file determine the corresponding second music style type of the music file.
In the specific implementation, this step determines corresponding second music of the music file according to the musical features information Stylistic category, can be realized in the following way:
The musical features information is inquired about in preset musical data base, and according to the sound stored in the musical database The corresponding relation of happy characteristic information and the second music style type, determines corresponding second music style of the musical features information Type.
For example, the singer that the music file for currently getting is searched in musical database, and the musical database Middle record has the corresponding relation of singer and the second music style type, then can according to the singer found in musical database To determine the corresponding second music style type of music file for currently getting.
Step S105, filters out the second music style type from the music file with the first music style The consistent music file of type.
Above-mentioned steps S101 and step S102 get user's heart rate information, and determine the heart rate information of the user The interval corresponding first music stylistic category of residing heart rate threshold;Above-mentioned steps S103 and step S104, according to default Music file acquisition approach determines the music according to the musical features information of the music file for getting obtaining music file The corresponding second music style type of file;This step on the basis of above-mentioned steps S101 to step S104, from above-mentioned steps The second music style type is filtered out in the music file that S103 is obtained consistent with the first music stylistic category Music file, i.e.,:The music matched with the current self information of the user is filtered out from the music file for getting File.
In the specific implementation, it is above-mentioned that the second music style type is screened from the music file with first sound During the consistent music file of happy stylistic category, can preferentially be filtered out with the broadcasting record according to the user that prestore Singer, songwriter and the corresponding music file of/composer recorded in the broadcasting record.The broadcasting is preferentially screened such as The corresponding music file of singer recorded in record, i.e., preferentially screen the corresponding sound of singer that the user played in the past Music file.On this basis, after above-mentioned steps filter out the music file, can also be by the music text for filtering out Part according to its it is screened go out time be ranked up according to the clooating sequence from after arriving first, and according to the sequence of the music file It is sequentially generated the playlist of the music file.Based on this, when following step S106 plays the music file for filtering out, Can play out according to the playlist, the music text filtered out according to the playlist successively played in order Part.
Step S106, plays the music file for filtering out.
Above-mentioned steps S105 filter out the second music style type and described first in filtering out the music file After the consistent music file of music style type, this step plays the music file that above-mentioned steps S105 are filtered out.
In the specific implementation, the music file for filtering out is played described in this step, can be realized in the following way:
1) scenario parameters that the user is presently in scene are obtained;
The scenario parameters include it is following at least one:Temporal information, geographical location information, noise information and displacement speed Degree information;The velocity of displacement information is calculated according to the temporal information and the geographical location information and is obtained.
2) scenario parameters are compared with scene type mapping relations with default scenario parameters, ties according to comparing Fruit determines that the user is presently in the scene type of scene;
The scene type is moving scene or rest scene.Further, it is also possible to arrange operative scenario and/leisure scene Scene type, implement with the moving scene and the rest scene realize it is similar, referring to the moving scene With the realization of the rest scene.
For example, temporal information and scene type mapping relations:The 22 of Sunday to Thursday:00- next day 06:00 time range pair The scene type answered for rest scene, Saturday and Sunday 08:00-12:00 and 14:00-18:000 the two time range Corresponding scene type is moving scene.
Velocity of displacement information and scene type mapping relations:The corresponding scene type of velocity interval of 0-0.1m/s is rest Scene, the corresponding scene type of velocity interval of 2m/s-10m/s is moving scene.
Geographical location information, noise information and scene type mapping relations:Geographical position is residence ground, 0-30 decibel noises The corresponding scene type of scope is rest scene;Geographical position for outdoor, the corresponding scene type of 20-70 decibel noise ranges is Moving scene;Geographical position is public place of entertainment, the corresponding scene type of 30-70 decibel noise ranges is moving scene.
Geographical location information, velocity of displacement information and scene type mapping relations:Geographical position is residence ground, 0-0.1m/s The corresponding scene type of velocity interval be rest scene;Geographical position is park, the velocity interval of 2m/s-10m/s is corresponding Scene type is moving scene;Geographical position is the corresponding scene type of velocity interval of sports center, 2m/s-10m/s to transport Dynamic scene.
3) volume that the scene type matching of scene is presently according to the user plays the music text for filtering out Part.
The volume of the scene type matching can be the volume value of setting, and described stopping can be set in by the user The volume value of the music file for filtering out is played under breath scene and the moving scene, for example, under rest scene, sound is played The volume of music file for max volume 10%, the volume of playing music for max volume 60% under moving scene.Remove Outside this, the volume of the scene type matching can also be volume range, the volume range of such as described rest scene matching For the 5%-20% of max volume, the volume range of the moving scene matching is the 30%-70% of max volume.It is specifically chosen Which volume value in the middle of volume range plays the music file for filtering out, and may be referred to be presently in the scene ginseng of scene Count to determine, the noise ratio under such as current rest scene is larger, select 20% institute filtered out as broadcasting of max volume State the volume value of music file;Noise for another example under current kinetic scene is smaller, selects 50% conduct of max volume to broadcast Put the volume value of the music file for filtering out.
Additionally, in the specific implementation, the scenario parameters that the user is presently in scene can also be obtained, according to the field The volume of scape parameter matching plays the music file for filtering out, and the noise ratio that such as user is presently in scene is larger, choosing Select the 70% of max volume as playing music volume value;Current time is 23 for another example:00, and the geography of user Position is residence ground, then volume value of the 10% of selection max volume as playing music.
In the specific implementation, if it is moving scene that the user is presently in the scene type of scene, perform in this step Before, that is, before playing the music file for filtering out, can be according to the speed of the displacement residing for the velocity of displacement information of the user The interval corresponding 3rd music style type of degree, judge the music style type of the music file that filters out whether with it is described 3rd music style type is consistent, if so, performs the music file step played and filter out;If it is not, by current sound Music file is weeded out from the middle of the music file for filtering out.The velocity of displacement of such as 0~0.1m/s the interval corresponding 3rd Music style type is type of releiving, and the interval corresponding 3rd music style type of velocity of displacement of 0.1~2m/s is normal class Type, the interval corresponding 3rd music style type of the velocity of displacement of 2~5m/s is lucid and lively type, the velocity of displacement area of 5~10m/s Between corresponding 3rd music style type be impassioned type.
If additionally, it is rest scene that the user is presently in the scene type of scene, after this step is performed, that is, playing After the music file step for filtering out is performed, following step is performed:The user in the preset time period that judgement gets Velocity of displacement information whether be less than preset displacement threshold value, if so, suspend and play the music file for filtering out, or, eventually The music file for filtering out is played only.Such as under rest scene, after the broadcasting of previous music file terminates, judge Whether velocity of displacement of the user in 10min be less than displacement threshold value 0.1m/s, and if so, very big is probably that the user has entered Sleep, therefore suspend playing music.
In sum, the music control method that the application is provided, according to the heart rate information of the user for obtaining The heart rate threshold matched somebody with somebody is interval, determines the interval corresponding first music stylistic category of the heart rate threshold, determines the first music Music file is obtained according to default music file acquisition approach after stylistic category, and further according to the music file for getting Musical features information determine its corresponding second music style type, so as to according to the second music style type, from obtaining Filter out the music file matched with the first music stylistic category to play out in the music file got.The music is broadcast Place control method, determines corresponding music style type according to the heart rate information of user, it is determined that energy after the music style type Enough obtain music file, and the music file with the music style type matching is further filtered out from the music file for obtaining Play out, it is to avoid user obtains music file manually, selects the music file or music style type of broadcasting, is that user carries Convenience is supplied;Obtain and screen the music file being adapted to which simultaneously to play out according to the heart rate information of user, music is broadcast Put the more intelligent and hommization of control.
A kind of music play control apparatus embodiment that the application is provided is as follows:
In the above-described embodiment, there is provided a kind of music control method, corresponding, the application is also provided A kind of music play control apparatus, are illustrated below in conjunction with the accompanying drawings.
Referring to the drawings 2, a kind of schematic diagram of music play control apparatus embodiment of the application offer is it illustrates.
Due to device embodiment it is mutually corresponding with the embodiment of the method for above-mentioned offer, so the present embodiment describes simpler Single, the content for reading the present embodiment refer to the correspondence explanation of said method embodiment.Device embodiment described below is only It is schematic.
The application provides a kind of music play control apparatus, including:
Heart rate information unit 201 is obtained, for obtaining the heart rate information of user;
First music stylistic category determining unit 202, the heart rate threshold for being matched according to the heart rate information are interval, really Determine the interval corresponding first music stylistic category of the heart rate threshold;
Musical features information acquisition unit 203, for obtaining music file according to default music file acquisition approach, and The music file to getting is scanned, and obtains the musical features information of the music file;
Second music style type determining units 204, for determining the music file according to the musical features information Corresponding second music style type;
Music file screening unit 205, for filter out from the music file the second music style type with The consistent music file of the first music stylistic category;
Music file broadcast unit 206, for playing the music file for filtering out.
Optionally, the music file broadcast unit 206, including:
Scenario parameters obtain subelement, and the scenario parameters of scene are presently in for obtaining the user;
Scene type determination subelement, for the scenario parameters are closed with scene type mapping with default scenario parameters System compares, and determines that the user is presently in the scene type of scene according to comparison result;
Music file plays subelement, and the volume that the scene type for scene is presently according to the user is matched is broadcast Put the music file for filtering out.
Optionally, the scenario parameters include it is following at least one:Temporal information, geographical location information, noise information with And velocity of displacement information;The velocity of displacement information is calculated according to the temporal information and the geographical location information and is obtained.
Optionally, the first music stylistic category determining unit 202, specifically for determining the heart rate information advance In the interval table corresponding with first music stylistic category of the heart rate threshold of setting, residing heart rate threshold is interval, and determines the heart rate threshold The interval corresponding first music stylistic category in the interval table corresponding with first music stylistic category of the heart rate threshold of value.
Optionally, the music file acquisition approach include it is following at least one:Read locally stored music file File read path, from the file download path of data source download music files.
Optionally, the musical features information include it is following at least one:Musical designation, the lyrics, composer, songwriter and Singer.
Optionally, the second music style type determining units 204, specifically for inquiring about in preset musical data base The musical features information, and according to the musical features information stored in the musical database and the second music style type Corresponding relation, determines the corresponding second music style type of the musical features information.
Optionally, the music file screening unit is screened according to following screening rule:According to the institute for prestoring The broadcasting record of user is stated, singer, songwriter and the corresponding sound of/composer recorded in preferentially filtering out the broadcasting record Music file.
Optionally, the music play control apparatus, including:
Playlist signal generating unit, for by the music file for filtering out according to its it is screened go out time according to from Clooating sequence after arriving first is ranked up, and the played column of the music file is generated according to the clooating sequence of the music file Table.
Optionally, the music file broadcast unit 206, including:
Playlist plays subelement, for the music text filtered out according to the playlist successively played in order Part.
Optionally, the scene type is moving scene or rest scene.
Optionally, if it is moving scene that the user is presently in the scene type of scene, the music control dress Put including:
3rd music style type determines judging unit, for the displacement residing for the velocity of displacement information according to the user The corresponding 3rd music style type of speed interval, judge the music style type of the music file that filters out whether with institute State the 3rd music style type consistent, if so, run the music file broadcast unit.
Optionally, if it is rest scene that the user is presently in the scene type of scene, the music control dress Put including:
Velocity of displacement information judging unit, for judging the velocity of displacement letter of the user in the preset time period for getting Whether breath is less than preset displacement threshold value, and if so, operation suspends broadcast unit or terminates broadcast unit;Described time-out plays single Unit, plays the music file for filtering out for suspending, and the termination broadcast unit is played for termination described in filtering out Music file.
Although the application is disclosed as above with preferred embodiment, which is not for limiting the application, any this area skill Art personnel can make possible variation and modification, therefore the guarantor of the application in without departing from spirit and scope The scope that shield scope should be defined by the application claim is defined.

Claims (26)

1. a kind of music control method, it is characterised in that include:
Obtain the heart rate information of user;
It is interval according to the heart rate threshold of heart rate information matching, determine the interval corresponding first music style of the heart rate threshold Type;
Music file is obtained according to default music file acquisition approach, and the music file to getting is scanned, Obtain the musical features information of the music file;
The corresponding second music style type of the music file is determined according to the musical features information;
The second music style type sound consistent with the first music stylistic category is filtered out from the music file Music file;
The music file that broadcasting is filtered out.
2. music control method according to claim 1, it is characterised in that the music that the broadcasting is filtered out File, is realized in the following way:
Obtain the scenario parameters that the user is presently in scene;
The scenario parameters are compared with scene type mapping relations with default scenario parameters, is determined according to comparison result The user is presently in the scene type of scene;
The volume that the scene type matching of scene is presently according to the user plays the music file for filtering out.
3. music control method according to claim 2, it is characterised in that the scenario parameters include it is following at least One:
Temporal information, geographical location information, noise information and velocity of displacement information;The velocity of displacement information according to it is described when Between information and the geographical location information calculate and obtain.
4. music control method according to claim 3, it is characterised in that described to be matched according to the heart rate information Heart rate threshold it is interval, determine the interval corresponding first music stylistic category of the heart rate threshold, realize in the following way:
Determine the heart rate information residing in the interval table corresponding with first music stylistic category of the heart rate threshold that pre-sets Heart rate threshold is interval, and determines that the heart rate threshold is interval in the interval table corresponding with first music stylistic category of the heart rate threshold Corresponding first music stylistic category.
5. music control method according to claim 4, it is characterised in that the music file acquisition approach includes It is following at least one:
The file read path of locally stored music file is read, from the file download path of data source download music files.
6. music control method according to claim 5, it is characterised in that the musical features information includes following At least one:
Musical designation, the lyrics, composer, songwriter and singer.
7. music control method according to claim 6, it is characterised in that described according to the musical features information Determine the corresponding second music style type of the music file, realize in the following way:
The musical features information is inquired about in preset musical data base, and it is special according to the music stored in the musical database Reference ceases the corresponding relation with the second music style type, determines the corresponding second music style class of the musical features information Type.
8. music control method according to claim 7, it is characterised in that described to screen from the music file During the second music style type music file consistent with the first music stylistic category, sieved according to following rule Choosing:
Recorded according to the broadcasting of the user for prestoring, preferentially filter out singer, the work recorded during the broadcasting is recorded Word person and the/corresponding music file of composer.
9. music control method according to claim 8, it is characterised in that described to screen from the music file Go out after the second music style type music file step consistent with the first music stylistic category perform, and described broadcast Before putting the music file step execution for filtering out, following step is performed:
By the music file for filtering out according to its it is screened go out time be ranked up according to the clooating sequence from after arriving first, And the playlist of the music file is generated according to the clooating sequence of the music file.
10. music control method according to claim 9, it is characterised in that the sound that the broadcasting is filtered out Music file, is realized in the following way:
The music file filtered out according to the playlist successively played in order.
11. music control methods according to claim 3, it is characterised in that the scene type is moving scene Or rest scene.
12. music control methods according to claim 11, it is characterised in that if the user is presently in scene Scene type be moving scene, it is described that the second music style type and described first is filtered out from the music file After the consistent music file step of music style type is performed, and the music file step for filtering out of playing is performed Before, perform following steps:
The interval corresponding 3rd music style type of velocity of displacement according to residing for the velocity of displacement information of the user, judges sieve Whether the music style type of the music file selected is consistent with the 3rd music style type, if so, performs described The music file step that broadcasting is filtered out.
13. music control methods according to claim 11, it is characterised in that if the user is presently in scene Scene type be rest scene, after the music file step that the broadcasting is filtered out is performed, perform following step:
In the preset time period that judgement gets, whether the velocity of displacement information of the user is less than preset displacement threshold value, if so, Suspend and play the music file for filtering out, or, terminate playing the music file for filtering out.
14. a kind of music play control apparatus, it is characterised in that include:
Heart rate information unit is obtained, for obtaining the heart rate information of user;
First music stylistic category determining unit, the heart rate threshold for being matched according to the heart rate information are interval, it is determined that described The interval corresponding first music stylistic category of heart rate threshold;
Musical features information acquisition unit, for obtaining music file according to default music file acquisition approach, and to obtaining To the music file be scanned, obtain the musical features information of the music file;
Second music style type determining units, for determining the music file corresponding according to the musical features information Two music style types;
Music file screening unit, for the second music style type and described first is filtered out from the music file The consistent music file of music style type;
Music file broadcast unit, for playing the music file for filtering out.
15. music play control apparatus according to claim 14, it is characterised in that the music file broadcast unit, Including:
Scenario parameters obtain subelement, and the scenario parameters of scene are presently in for obtaining the user;
Scene type determination subelement, for the scenario parameters are entered with scene type mapping relations with default scenario parameters Row is compared, and determines that the user is presently in the scene type of scene according to comparison result;
Music file plays subelement, and the volume that the scene type for scene is presently according to the user is matched plays sieve The music file selected.
16. music play control apparatus according to claim 15, it is characterised in that the scenario parameters include it is following extremely One item missing:
Temporal information, geographical location information, noise information and velocity of displacement information;The velocity of displacement information according to it is described when Between information and the geographical location information calculate and obtain.
17. music play control apparatus according to claim 16, it is characterised in that the first music stylistic category is true Order unit, specifically for determining that the heart rate information is interval corresponding with first music stylistic category in the heart rate threshold for pre-setting In table, residing heart rate threshold is interval, and determines that the heart rate threshold is interval in heart rate threshold interval and first music style class Corresponding first music stylistic category in type correspondence table.
18. music play control apparatus according to claim 17, it is characterised in that the music file acquisition approach bag Include it is following at least one:
The file read path of locally stored music file is read, from the file download path of data source download music files.
19. music play control apparatus according to claim 18, it is characterised in that under the musical features information includes State at least one:
Musical designation, the lyrics, composer, songwriter and singer.
20. music play control apparatus according to claim 19, it is characterised in that the second music style type is true Order unit, specifically for the musical features information is inquired about in preset musical data base, and according in the musical database The musical features information of storage and the corresponding relation of the second music style type, determine the musical features information corresponding second Music style type.
21. music play control apparatus according to claim 20, it is characterised in that the music file screening unit is pressed Screened according to following screening rule:
Recorded according to the broadcasting of the user for prestoring, preferentially filter out singer, the work recorded during the broadcasting is recorded Word person and the/corresponding music file of composer.
22. music play control apparatus according to claim 21, it is characterised in that include:
Playlist signal generating unit, for by the music file for filtering out according to its it is screened go out time according to from arriving first Clooating sequence afterwards is ranked up, and the playlist of the music file is generated according to the clooating sequence of the music file.
23. music play control apparatus according to claim 22, it is characterised in that the music file broadcast unit, Including:
Playlist plays subelement, for the music file filtered out according to the playlist successively played in order.
24. music play control apparatus according to claim 16, it is characterised in that the scene type is moving scene Or rest scene.
25. music play control apparatus according to claim 24, it is characterised in that if the user is presently in scene Scene type be moving scene, including:
3rd music style type determines judging unit, for the velocity of displacement residing for the velocity of displacement information according to the user Whether interval corresponding 3rd music style type, judge the music style type of the music file that filters out with described the Three music style types are consistent, if so, run the music file broadcast unit.
26. music play control apparatus according to claim 24, it is characterised in that if the user is presently in scene Scene type be rest scene, including:
Velocity of displacement information judging unit, in the preset time period got for judgement, the velocity of displacement information of the user is It is no less than preset displacement threshold value, if so, operation suspends broadcast unit or terminates broadcast unit;
The time-out broadcast unit, plays the music file for filtering out, the termination broadcast unit, for end for suspending The music file for filtering out is played only.
CN201611082831.3A 2016-11-30 2016-11-30 Music playing control method and device CN106527734A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611082831.3A CN106527734A (en) 2016-11-30 2016-11-30 Music playing control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611082831.3A CN106527734A (en) 2016-11-30 2016-11-30 Music playing control method and device

Publications (1)

Publication Number Publication Date
CN106527734A true CN106527734A (en) 2017-03-22

Family

ID=58353642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611082831.3A CN106527734A (en) 2016-11-30 2016-11-30 Music playing control method and device

Country Status (1)

Country Link
CN (1) CN106527734A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085512A (en) * 2017-04-24 2017-08-22 广东小天才科技有限公司 A kind of audio frequency playing method and mobile terminal
CN107249083A (en) * 2017-07-27 2017-10-13 广东小天才科技有限公司 A kind of method, device, equipment and the storage medium of the tinkle of bells switching at runtime
CN107301871A (en) * 2017-05-25 2017-10-27 武汉云信众汇通讯科技有限公司 A kind of adaptive method for playing music
CN107493641A (en) * 2017-08-23 2017-12-19 三星电子(中国)研发中心 A kind of lamp light control method and device driven using music
CN107817965A (en) * 2017-12-07 2018-03-20 北海威德电子科技有限公司 A kind of music adjusting method
CN108491539A (en) * 2018-04-02 2018-09-04 Oppo广东移动通信有限公司 terminal control method, device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100312724A1 (en) * 2007-11-02 2010-12-09 Thomas Pinckney Inferring user preferences from an internet based social interactive construct
CN204360780U (en) * 2015-01-21 2015-05-27 天津松下汽车电子开发有限公司 A kind of intelligent vehicle-carried sound equipment Play System
CN104867506A (en) * 2015-04-08 2015-08-26 小米科技有限责任公司 Music automatic control method and device
CN105204633A (en) * 2015-09-15 2015-12-30 陆俊 Control method of mobile terminal music play and mobile terminal
CN105335507A (en) * 2015-10-29 2016-02-17 维沃移动通信有限公司 Method and device for pushing music
CN105549740A (en) * 2015-12-10 2016-05-04 广州酷狗计算机科技有限公司 Method and device for playing audio data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100312724A1 (en) * 2007-11-02 2010-12-09 Thomas Pinckney Inferring user preferences from an internet based social interactive construct
CN204360780U (en) * 2015-01-21 2015-05-27 天津松下汽车电子开发有限公司 A kind of intelligent vehicle-carried sound equipment Play System
CN104867506A (en) * 2015-04-08 2015-08-26 小米科技有限责任公司 Music automatic control method and device
CN105204633A (en) * 2015-09-15 2015-12-30 陆俊 Control method of mobile terminal music play and mobile terminal
CN105335507A (en) * 2015-10-29 2016-02-17 维沃移动通信有限公司 Method and device for pushing music
CN105549740A (en) * 2015-12-10 2016-05-04 广州酷狗计算机科技有限公司 Method and device for playing audio data

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107085512A (en) * 2017-04-24 2017-08-22 广东小天才科技有限公司 A kind of audio frequency playing method and mobile terminal
CN107301871A (en) * 2017-05-25 2017-10-27 武汉云信众汇通讯科技有限公司 A kind of adaptive method for playing music
CN107249083A (en) * 2017-07-27 2017-10-13 广东小天才科技有限公司 A kind of method, device, equipment and the storage medium of the tinkle of bells switching at runtime
CN107493641A (en) * 2017-08-23 2017-12-19 三星电子(中国)研发中心 A kind of lamp light control method and device driven using music
CN107493641B (en) * 2017-08-23 2020-06-12 三星电子(中国)研发中心 Light control method and device driven by music
CN107817965A (en) * 2017-12-07 2018-03-20 北海威德电子科技有限公司 A kind of music adjusting method
CN108491539A (en) * 2018-04-02 2018-09-04 Oppo广东移动通信有限公司 terminal control method, device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US10880591B2 (en) Digital jukebox device with karaoke and/or photo booth features, and associated methods
US10425725B2 (en) Methods, systems, and media for ambient background noise modification based on mood and/or behavior information
KR102038809B1 (en) Intelligent automated assistant for media search and playback
JP6537795B2 (en) Method and system for providing haptic effects based on information complementary to multimedia content
US20170316782A1 (en) User profiling for voice input processing
US9152677B2 (en) Shared metadata for media files
US9626695B2 (en) Automatically presenting different user experiences, such as customized voices in automated communication systems
US9407958B2 (en) Methods and apparatus to determine engagement levels of audience members
US8816179B2 (en) Methods and systems for disambiguation of an identification of a sample of a media stream
JP6046783B2 (en) Digital jukebox device with improved user interface and related techniques
KR20200011555A (en) Intelligent automated assistant in a media environment
Goto A chorus section detection method for musical audio signals and its application to a music listening station
US8661151B2 (en) Dynamic playlist for mobile computing device
US9959012B2 (en) Digital jukebox device with improved karaoke-related user interfaces, and associated methods
US7831112B2 (en) Sports video retrieval method
DE60310014T2 (en) Music Search Method, Music Searcher, and Music Search Program
Gjerdingen et al. Scanning the dial: The rapid recognition of music genres
US7888582B2 (en) Sound sequences with transitions and playlists
Vongpaisal et al. Song recognition by children and adolescents with cochlear implants
CN105025415B (en) A kind of audio switching method and user terminal
KR101194163B1 (en) Methods and apparatus for selecting items from a collection of items
AU2018214121B2 (en) Real-time digital assistant knowledge updates
JP5181089B2 (en) Localized audio network and associated digital accessories
US7696427B2 (en) Method and system for recommending music
JP4695853B2 (en) Music search device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322