CN107479848A - Method for playing music and terminal device - Google Patents
Method for playing music and terminal device Download PDFInfo
- Publication number
- CN107479848A CN107479848A CN201710484918.1A CN201710484918A CN107479848A CN 107479848 A CN107479848 A CN 107479848A CN 201710484918 A CN201710484918 A CN 201710484918A CN 107479848 A CN107479848 A CN 107479848A
- Authority
- CN
- China
- Prior art keywords
- user
- vehicle
- music
- terminal device
- status
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/167—Audio in a user interface, e.g. using voice commands for navigating, audio feedback
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
The embodiment of the invention discloses a kind of method for playing music and terminal device, wherein method includes:Terminal device judges whether the vehicle is in driving condition when detecting that user enters corresponding to the terminal device in vehicle;When the vehicle is in driving condition, control plays music using the music player in the vehicle.Using the embodiment of the present invention, automatic, intelligently music can be realized.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to method for playing music and terminal device.
Background technology
With expanding economy, people's material life is increasingly abundanter, and automobile has progressively been changed into popular consumer products, and
Car ownership increases year by year.
However, it has been found in practice that user wants to play hand by using the music player on automobile in startup procedure
During song on machine, it is necessary first to which the bluetooth connection that user establishes between mobile phone and vehicle manually, after successful connection, user is also
The sequence of operations such as manually opened music player, selection music, broadcasting music are needed just to hear music.Such operation is numerous
It is trivial, whole to need artificial active control operation, and in vehicle travel process, also in the presence of certain potential safety hazard.
The content of the invention
The embodiment of the present invention provides method for playing music and terminal device, can intelligently be matched according to User Status for user
Corresponding music in playing terminal equipment, lift practicality.
In a first aspect, the embodiments of the invention provide a kind of method for playing music, this method includes:
Terminal device obtains the work of the vehicle when detecting that user enters in vehicle corresponding with the terminal device
Make state;
It is driving condition in the working condition of the vehicle, the terminal device control uses the player in the vehicle
Play music.
In some possible embodiments, terminal device control using the player plays music in the vehicle it
Before, in addition to:Determine the User Status of the user;
The terminal device control uses the player plays music in the vehicle, including:According to the use of the user
Family state, control play target music using the music player in the vehicle, and the target music is the terminal device
Interior music corresponding with the User Status.
Second aspect, the embodiments of the invention provide a kind of terminal device, the terminal device includes:
Acquiring unit, for when detecting that user enters in vehicle corresponding with terminal device, obtaining the vehicle
Working condition;
Processing unit, for when the working condition of the vehicle is driving condition, controlling using broadcasting in the vehicle
Put device and play music.
In some possible embodiments, the terminal device also includes:
Determining unit, for determining the User Status of the user;
The processing unit, for the User Status according to the user, control uses the music in the vehicle
Device plays target music, and the target music is music corresponding with the User Status in the terminal device.
The third aspect, the embodiments of the invention provide another terminal device, the terminal device includes processor, input is set
Standby, output equipment and memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, it is described to deposit
Reservoir is used to storing the application code for supporting terminal to perform the above method, and the processor is arranged to perform above-mentioned the
The method of one side.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
The method for stating the above-mentioned first aspect of computing device.
Terminal device obtains when detecting that user enters corresponding to the terminal device in vehicle in the embodiment of the present invention
The working condition of the vehicle, when the working condition of the vehicle is driving condition, control uses the music in the vehicle
Player plays music;It can be automatically, intelligently so the music in user's playing terminal equipment, lift practicality, carry
High Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of music broadcasting method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram for music broadcasting method that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow diagram for music broadcasting method that another embodiment of the present invention provides;
Fig. 4 is a kind of schematic block diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram for terminal device that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It is a kind of schematic flow diagram of method for playing music of the embodiment of the present invention referring to Fig. 1, method as shown in Figure 1
It may include step is implemented as follows:
Step S101, terminal device is when detecting that user enters corresponding to the terminal device in vehicle, described in acquisition
The working condition of vehicle.
In the embodiment of the present invention, usual vehicle supports short-distance wireless communication to connect with terminal device, such as bluetooth, WiFi
Deng.It is described when the terminal device detects that the terminal device establishes short-distance wireless communication with the vehicle and is connected
The car owner user that terminal device can be defaulted as holding the terminal device enters in the vehicle.Or in some application-specifics
In scene, such as in house, working environment, whether the detectable vehicle being connected with the terminal equipment in communication of the terminal device
In default geographic range (such as home address scope, office unit scope etc.), if so, then the same terminal device can write from memory
Recognize the user for determining to hold the terminal device or vehicle to enter in the vehicle.
In certain embodiments, short-distance wireless communication is established in the terminal device and the vehicle (or car-mounted terminal)
When (such as bluetooth, WiFi), when the vehicle detection is to predetermined registration operation, it can be sent a notification message to the terminal device, institute
State notification message be used for notify hold the user of the vehicle and have been enter into the vehicle.Here predetermined registration operation can include but
It is not limited to following:User opens car door, user contacts footfeed etc..Correspondingly, the terminal device can be according to described logical
Know that information determines whether user enters in the vehicle.
Further, when the terminal device, which determines user, to be entered in the vehicle, the work of the vehicle can be obtained
Make state.Here working condition can include but is not limited to the operation conditions of the vehicle, transport condition etc..Specifically, institute
The operational factor of correlation can directly be obtained by network from the vehicle by stating terminal device, determine the work shape of the vehicle
State.Such as can be determined according to the Vehicle Speed got the vehicle whether be in driving condition in etc..
Step S102, when it is determined that the working condition to the vehicle is driving condition, control uses described terminal device
Player plays music in the vehicle.
Specifically, the terminal device can receive the information that the vehicle is sent, described information may include but be not limited to
At least one of in lower:Car speed, vehicle acceleration, vehicle driving state etc..The terminal device can be according to the letter
Cease to judge whether the current working condition of the vehicle is in driving condition.In certain embodiments, if described information can
The information such as drive route or vehicle location including the vehicle, then the terminal device can also continue to whether judge the vehicle
Driven in predetermined paths, the predetermined paths can be that user is set, such as working route, route etc. of coming off duty.
Be in when the terminal device determines the vehicle under driving condition, or the terminal device determine it is described
After vehicle drives in predetermined paths, the player plays music in the vehicle can be enabled.The music can be collection sound
Music in music or broadcasting record storehouse in music storehouse etc., the embodiment of the present invention does not limit.
It is that another embodiment of the present invention provides a kind of schematic flow diagram of method for playing music, as shown in Figure 2 referring to Fig. 2
Method may include step is implemented as follows:
Step S201, terminal device is when detecting that user enters corresponding to the terminal device in vehicle, described in acquisition
The working condition of vehicle.
In the embodiment of the present invention, terminal device is successfully established bluetooth with vehicle (or car-mounted terminal in vehicle) and led to
After letter, the terminal device can give tacit consent to the user for being defined as holding the terminal device or vehicle and enter the terminal device bluetooth
In the vehicle of communication connection.Or in some application-specific scenes, such as in house, working environment, the terminal device can
The vehicle that be connected with the terminal equipment in communication is detected whether in default geographic range (such as home address scope, list of handling official business
Position scope etc.), if so, then the same terminal device can give tacit consent to the user for determining to hold the terminal device or vehicle and enter
Enter in the vehicle.
In certain embodiments, short-distance wireless communication is established in the terminal device and the vehicle (or car-mounted terminal)
When (such as bluetooth, WiFi), when the vehicle detection is to predetermined registration operation, it can be sent a notification message to the terminal device, institute
State notification message be used for notify hold the user of the vehicle and have been enter into the vehicle.Here predetermined registration operation can include but
It is not limited to following:User opens car door, user contacts footfeed etc..
After the terminal device judges to user to enter in the vehicle, the terminal device can obtain the vehicle
Working condition.Here working condition can include but is not limited to the operation conditions of the vehicle, transport condition etc..Specifically,
The terminal device can directly obtain the operational factor of correlation by network from the vehicle, determine the work shape of the vehicle
State.Such as can be determined according to the Vehicle Speed got the vehicle whether be in driving condition in etc..
Specifically, the terminal device can receive the information that the vehicle is sent, described information may include but be not limited to
At least one of in lower:Car speed, vehicle acceleration, vehicle driving state etc..The terminal device can be according to the letter
Cease to judge whether the current working condition of the vehicle is in driving condition.In certain embodiments, if described information can
The information such as drive route or vehicle location including the vehicle, then the terminal device can also continue to whether judge the vehicle
Driven in predetermined paths, the predetermined paths can be that user is set, such as working route, route etc. of coming off duty.
After the terminal device determines and meets conditions above, step S202 can be continued executing with;Otherwise flow is terminated.
Step S202, when the working condition of the vehicle is driving condition, the User Status of the user is determined.
As one embodiment of the present of invention, the User Status for determining the user includes:Obtained by camera
Image of the user in the vehicle, and to the image carry out image procossing, obtain the user countenance and/
Or limb action;According to the countenance and/or limb action of the user, the User Status of the user is determined.
Specifically, the vehicle can enable camera and shoot and gather institute after detecting that user enters in the vehicle
State image of the user in the vehicle.Alternatively, the image that the vehicle can be by the user of collection in the vehicle
It is sent to the terminal device.Or the terminal device can receive server or roadside monitoring device is sent by network
Image of the user in the vehicle.Or the terminal device detect user enter the vehicle in, can open
Shadow of the user in the vehicle is obtained with the camera of itself or the camera shooting of calling other equipment (such as vehicle)
As etc..
After the terminal device gets image of the user in the vehicle, image can be carried out to the image
Processing, to obtain the countenance of the user and/or limb action.The terminal device can be to the countenance of the user
And/or limb action is analyzed, so as to obtain the User Status of the user.For example, the countenance of user is happy big
Laugh at, then can determine that the User Status of the user is in happiness state.
As an alternative embodiment of the invention, the User Status for determining the user includes:Receiving intelligence can wear
User's sign information of equipment transmission is worn, user's sign information includes user's body information and vital sign information;According to
The user's body information and vital sign information, determine the User Status of the user.
Specifically, when user wears intelligent wearable device, the use is monitored using the intelligent wearable device
User's sign information at family.Here user's sign information may include user's body information, such as height, body weight etc., can also wrap
Include vital sign information, such as heart rate, pulse, breathing, body temperature, sleep etc. Monitoring Data.Exemplarily such as, intelligence is wearable
Equipment can utilize the temperature data of built-in temperature sensor detection user, and for example detect user using respiratory frequen
Heart rate and the data such as respiratory rate.Said temperature sensor and respiratory frequen are merely illustrative, do not form restriction.
Further, user's sign information of detection can be sent to the end by the intelligent wearable device by network
End equipment.The terminal device can analyze the User Status of the user according to user's sign information.Such as user cries
When tears are sobbed, the respiratory rate of the user is in the first respiration threshold, and the heart rate of the user is in the first heart rate threshold, then
The terminal device can determine that the user is in sad state according to this.
In certain embodiments, the User Status of the user includes but is not limited at least one in the following:Sleep shape
State, happiness state, tranquility, sad state, angry state.
In certain embodiments, the terminal device can combining to judge the user by above two mode
User Status, i.e., the image one that described terminal device can be according to user's sign information and the user in the vehicle
Act the User Status for judging the user.
Step S203, mesh is played using the music player in the vehicle according to the User Status of the user, control
Mark with phonetic symbols is found pleasure in, and the target music is music corresponding with the User Status in the terminal device.
In the embodiment of the present invention, the terminal device can determine that the target matched with the User Status of the user should
With, and control and enable the music player in the vehicle to play the target music.
As in one embodiment of the present of invention, the User Status according to the user, control uses the vehicle
Interior music player plays target music, including:From the music libraries that prestore, inquiry is with the presence or absence of user's shape with the user
The target music for the music type that state matches;If it is, enable music player in the vehicle play it is described with it is described
The target music for the music type that the User Status of user matches;If it has not, by network inquiry and enable in the vehicle
Music player described in the target music of music type that matches with the User Status of the user.
Specifically, the terminal device search inquiry can whether there is with the user's from the application library that prestores of itself
The target music for the music type that User Status is matched;If it is present the music player enabled in the vehicle is broadcast
Put the target music.If it does not exist, then the sound to be matched by the User Status of network search query and the user
The target music of happy type, and enable the music player in the vehicle and play the target music.
As in an alternative embodiment of the invention, the music libraries that prestore can include but is not limited to it is following in any
:Local music storehouse, that is, include all music for downloading storage in advance;Or collection music libraries, i.e., collected including the user
Love music.
As in an alternative embodiment of the invention, the target music can include one or more.When the target
When music is multiple, the terminal device can be played out with the more music of prioritizing selection broadcasting time;Secondly play
The less music of number.Or when the target music is multiple, the terminal device can be played in receipts with prioritizing selection
The music in music libraries is hidden, i.e., it is to like that prioritizing selection, which is played by user's mark, or the music with higher priority is carried out
Play, rear selection plays those not by user's mark or the music with lower priority plays out, and the embodiment of the present invention is not
Limit.
Terminal device judges when detecting that user enters corresponding to the terminal device in vehicle in the embodiment of the present invention
Whether the vehicle is in driving condition, if it has, then the User Status of the user is determined, then according to the use of the user
Family state, control play target music using the music player in the vehicle, and the target music is the terminal device
Interior music corresponding with the User Status;It can be automatically, intelligently so the music in user's playing terminal equipment, carry
Practicality is risen, improves Consumer's Experience.
It is that another embodiment of the present invention provides a kind of schematic flow diagram of method for playing music, as shown in Figure 3 referring to Fig. 3
Method may include step is implemented as follows:
Step S301, terminal device is when detecting that user enters corresponding to the terminal device in vehicle, described in acquisition
The working condition of vehicle.
Step S302, when the working condition of the vehicle is driving condition, the user is obtained in the vehicle
Image, and image procossing is carried out to the image, obtain the countenance and/or limb action of the user.
Step S303, according to the countenance and/or limb action of the user, the User Status of the user is determined.
Step S304, when the working condition of the vehicle is driving condition, the use that intelligent wearable device is sent is received
Family sign information, user's sign information include user's body information and vital sign information.
Step S305, according to the user's body information and vital sign information, the User Status of the user is determined.
In the embodiment of the present invention, step S302- steps S303 and step S304- steps S305 is two kinds of alternative implementations
Mode.Or the terminal device can comprehensively utilize user's sign information, the Yi Jisuo in step S302 and step S303
State the countenance of user and/or limb action comes together to determine the User Status of the user.
Step S306, from the music libraries that prestore, inquiry whether there is the music to match with the User Status of the user
The target music of type, the target music are music corresponding with the User Status in the terminal device.
In the embodiment of the present invention, when the terminal device inquires the User Status with the user from the music libraries that prestore
During the target music of the music type to match, step S307 is continued executing with;Otherwise step S308 is performed.
Step S307, the broadcasting of the music player in the vehicle User Status with the user is enabled to match
Music type target music.
Step S308, by the target sound of the music type to match described in network inquiry with the User Status of the user
It is happy, and enable the music player in the vehicle and play the target music.
It should be noted that the unshowned description of the embodiment of the present invention can be found in the associated description in embodiment described in Fig. 1,
Here repeat no more.
It is a kind of schematic block diagram of terminal device provided in an embodiment of the present invention referring to Fig. 4.As shown in figure 4, the terminal
Equipment 30 may include acquiring unit 301, processing unit 303;Wherein,
Acquiring unit 301, for when detecting that user enters in vehicle corresponding with terminal device, obtaining the vehicle
Working condition;
Processing unit 302, for when the working condition of the vehicle is driving condition, then control to be used in the vehicle
Player plays music.
In certain embodiments, the terminal device also includes determining unit 302;
The determining unit 302, for when the working condition of the vehicle is driving condition, determining the use of the user
Family state;
The processing unit 303, for the User Status according to the user, control and broadcast using the music in the vehicle
Put device and play target music, the target music is music corresponding with the User Status in the terminal device.
In certain embodiments, the determining unit 302 is specifically used for obtaining the user in the car by camera
Image in, and image procossing is carried out to the image, obtain the countenance and/or limb action of the user;According to
The countenance and/or limb action of the user, determine the User Status of the user.
In certain embodiments, the determining unit 302 is specifically used for receiving the user's body that intelligent wearable device is sent
Reference ceases, and user's sign information includes user's body information and vital sign information;According to the user's body information and
Vital sign information, determine the User Status of the user.
In certain embodiments, the User Status includes any one of following:Sleep state, happiness state, calmness
State, sad state, angry state.
In certain embodiments, the processing unit 303 is specifically used for from the music libraries that prestore, and inquiry whether there is and institute
State the target music for the music type that the User Status of user matches;If it is, enable the music player in the vehicle
Play the target music for the music type that the User Status with the user matches;If it has not, by network inquiry simultaneously
Enable the target music of the music type to match described in the music player in the vehicle with the User Status of the user.
It should be noted that the unshowned description of the embodiment of the present invention can be found in the associated description in embodiment described in Fig. 2,
Here repeat no more.
It is a kind of schematic block diagram for terminal device that another embodiment of the present invention provides referring to Fig. 5.This reality as depicted
The terminal device 30 applied in example can include:One or more processors 801;One or more input equipments 802, one or more
Individual output equipment 803 and memory 804.Above-mentioned processor 801, input equipment 802, output equipment 803 and memory 804 pass through
Bus 805 connects.Memory 802 is used for store instruction, and processor 801 is used for the instruction for performing the storage of memory 802.Wherein,
Processor 801 is used for:
When detecting that user enters in vehicle corresponding with terminal device, the working condition of the vehicle is obtained;
When the working condition of the vehicle is driving condition, control uses the player plays music in the vehicle.
In certain embodiments, the processor 801 is used for the User Status for determining the user, and according to the user
User Status, control plays target music using the music player in the vehicle, and the target music is the terminal
Music corresponding with the User Status in equipment.
In certain embodiments, the processor 801 is used to obtain image of the user in the vehicle, and to institute
State image and carry out image procossing, obtain the countenance and/or limb action of the user;According to the countenance of the user
And/or limb action, determine the User Status of the user.
In certain embodiments, the processor 801 is used to receive user's sign information that intelligent wearable device is sent,
User's sign information includes user's body information and vital sign information;According to the user's body information and vital sign
Information, determine the User Status of the user.
In certain embodiments, the User Status includes any one of following:Sleep state, happiness state, calmness
State, sad state, angry state.
In certain embodiments, the processor 801 is used for from the music libraries that prestore, and inquiry whether there is and the user
The target music of music type that matches of User Status;If it is, the music player enabled in the vehicle plays institute
State the target music of the music type to match with the User Status of the user;If it has not, by network inquiry and enable institute
State the target music of the music type to match described in the music player in vehicle with the User Status of the user.
It should be appreciated that in embodiments of the present invention, alleged processor 801 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 802 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone etc., output equipment 803 can include display (LCD etc.), loudspeaker etc..
The memory 804 can include read-only storage and random access memory, and to processor 801 provide instruction and
Data.The a part of of memory 804 can also include nonvolatile RAM.For example, memory 804 can also be deposited
Store up the information of device type.
In the specific implementation, processor 801, input equipment 802, the output equipment 803 described in the embodiment of the present invention can
Perform the realization side described in the first embodiment and second embodiment of the method for music provided in an embodiment of the present invention
Formula, the implementation of the terminal described by the embodiment of the present invention is also can perform, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention
Matter is stored with computer program, and the computer program realizes any in embodiment of the method as described above when being executed by processor
Item step.
The computer-readable recording medium can be the internal storage unit of the terminal described in foregoing any embodiment, example
Such as the hard disk or internal memory of terminal.The computer-readable recording medium can also be the External memory equipment of the terminal, such as
The plug-in type hard disk being equipped with the terminal, intelligent memory card (Smart Media Card, SMC), secure digital (Secure
Digital, SD) card, flash card (Flash Card) etc..Further, the computer-readable recording medium can also be wrapped both
Including the internal storage unit of the terminal also includes External memory equipment.The computer-readable recording medium is described for storing
Other programs and data needed for computer program and the terminal.The computer-readable recording medium can be also used for temporarily
When store the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the end of foregoing description
End and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed terminal and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit
Connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of method for playing music, it is characterised in that methods described includes:
When detecting that user enters in vehicle corresponding with terminal device, the working condition of the vehicle is obtained;
When the working condition of the vehicle is driving condition, control uses the player plays music in the vehicle.
2. according to the method for claim 1, it is characterised in that the control uses the player plays sound in the vehicle
Before pleasure, in addition to:Determine the User Status of the user;
The control uses the player plays music in the vehicle, including:
According to the User Status of the user, control plays target music, the mesh using the music player in the vehicle
Mark with phonetic symbols pleasure is music corresponding with the User Status in the terminal device.
3. according to the method for claim 2, it is characterised in that the User Status for determining the user includes:
Image of the user in the vehicle is obtained, and image procossing is carried out to the image, obtains the face of the user
Portion's expression and/or limb action;
According to the countenance and/or limb action of the user, the User Status of the user is determined.
4. according to the method for claim 2, it is characterised in that the User Status for determining the user includes:
User's sign information that intelligent wearable device is sent is received, user's sign information includes user's body information and life
Order sign information;
According to the user's body information and vital sign information, the User Status of the user is determined.
5. according to the method described in claim 2 claim, it is characterised in that the User Status according to the user,
Control plays target music using the music player in the vehicle, including:
From the music libraries that prestore, inquiry whether there is the target sound of the music type to match with the User Status of the user
It is happy;
If it is, the music player enabled in the vehicle plays the music that the User Status with the user matches
The target music of type;
If it has not, by the target music of the music type to match described in network inquiry with the User Status of the user, and
The music player enabled in the vehicle plays the target music.
6. a kind of terminal device, it is characterised in that the terminal device includes:
Acquiring unit, for when user enters in vehicle corresponding with terminal device, obtaining the working condition of the vehicle;
Processing unit, for when the working condition of the vehicle is driving condition, control to use the player in the vehicle
Play music.
7. terminal device according to claim 6, it is characterised in that the terminal device also includes:
Determining unit, for determining the User Status of the user;
The processing unit, for the User Status according to the user, control and broadcast using the music player in the vehicle
Target music is put, the target music is music corresponding with the User Status in the terminal device.
8. terminal device according to claim 7, it is characterised in that
The determining unit, specifically for obtaining image of the user in the vehicle by camera, and to the shadow
As carrying out image procossing, the countenance and/or limb action of the user is obtained;According to the countenance of the user and/
Or limb action, determine the User Status of the user.
9. a kind of terminal device, it is characterised in that including memory, processor and be stored in the memory and can be in institute
The computer program run on processor is stated, realizes such as claim 1 to 5 times described in the computing device during computer program
One methods described.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists
In realization such as any one of claim 1 to 5 methods described when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710484918.1A CN107479848A (en) | 2017-06-22 | 2017-06-22 | Method for playing music and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710484918.1A CN107479848A (en) | 2017-06-22 | 2017-06-22 | Method for playing music and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107479848A true CN107479848A (en) | 2017-12-15 |
Family
ID=60594801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710484918.1A Withdrawn CN107479848A (en) | 2017-06-22 | 2017-06-22 | Method for playing music and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107479848A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108766474A (en) * | 2018-06-04 | 2018-11-06 | 深圳市沃特沃德股份有限公司 | Vehicle-mounted music playback method and mobile unit |
CN114078487A (en) * | 2020-08-11 | 2022-02-22 | Oppo广东移动通信有限公司 | Music playing method and device, electronic equipment and computer readable storage medium |
CN116074734A (en) * | 2021-10-30 | 2023-05-05 | 华为技术有限公司 | Position acquisition method, address processing method and related equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484045A (en) * | 2014-12-26 | 2015-04-01 | 小米科技有限责任公司 | Audio play control method and device |
CN104750685A (en) * | 2013-12-25 | 2015-07-01 | 上海博泰悦臻网络技术服务有限公司 | Music recommendation method and device of vehicle-mounted system |
CN105245956A (en) * | 2015-09-30 | 2016-01-13 | 上海车音网络科技有限公司 | Audio and video data recommendation method, device and system |
CN105868330A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Music recommendation method and device of internet of vehicles |
CN106649843A (en) * | 2016-12-30 | 2017-05-10 | 上海博泰悦臻电子设备制造有限公司 | Media file recommending method and system based on vehicle-mounted terminal and vehicle-mounted terminal |
-
2017
- 2017-06-22 CN CN201710484918.1A patent/CN107479848A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104750685A (en) * | 2013-12-25 | 2015-07-01 | 上海博泰悦臻网络技术服务有限公司 | Music recommendation method and device of vehicle-mounted system |
CN104484045A (en) * | 2014-12-26 | 2015-04-01 | 小米科技有限责任公司 | Audio play control method and device |
CN105245956A (en) * | 2015-09-30 | 2016-01-13 | 上海车音网络科技有限公司 | Audio and video data recommendation method, device and system |
CN105868330A (en) * | 2016-03-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Music recommendation method and device of internet of vehicles |
CN106649843A (en) * | 2016-12-30 | 2017-05-10 | 上海博泰悦臻电子设备制造有限公司 | Media file recommending method and system based on vehicle-mounted terminal and vehicle-mounted terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108766474A (en) * | 2018-06-04 | 2018-11-06 | 深圳市沃特沃德股份有限公司 | Vehicle-mounted music playback method and mobile unit |
CN114078487A (en) * | 2020-08-11 | 2022-02-22 | Oppo广东移动通信有限公司 | Music playing method and device, electronic equipment and computer readable storage medium |
CN114078487B (en) * | 2020-08-11 | 2023-10-13 | Oppo广东移动通信有限公司 | Music playing method, device, electronic equipment and computer readable storage medium |
CN116074734A (en) * | 2021-10-30 | 2023-05-05 | 华为技术有限公司 | Position acquisition method, address processing method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2804178A1 (en) | Reproduction of file series | |
EP3660645A1 (en) | Method and device for message processing | |
CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
CN108521521A (en) | volume adjusting method, mobile terminal and computer readable storage medium | |
CN107544670A (en) | The computing device of non-vision response with power triggering | |
CN109582821A (en) | A kind of music object recommendation method, terminal and computer readable storage medium | |
CN107493389A (en) | Singlehanded mode implementation method, terminal and computer-readable medium | |
CN106776036A (en) | A kind of resource allocation methods and device | |
CN106200970B (en) | The method and terminal of a kind of split screen display available | |
CN109522278B (en) | File storage method and terminal equipment | |
CN107729115A (en) | A kind of display methods, equipment and computer-readable storage medium | |
CN107315516A (en) | A kind of icon player method, mobile terminal and computer-readable recording medium | |
CN107181858A (en) | A kind of method and terminal for showing notification message | |
CN107479848A (en) | Method for playing music and terminal device | |
CN110830368B (en) | Instant messaging message sending method and electronic equipment | |
CN109224436A (en) | Virtual key based on interface defines method, terminal and storage medium | |
CN108958680A (en) | Display control method, device, display system and computer readable storage medium | |
CN108170438A (en) | A kind of application program automatic installation method, terminal and computer-readable medium | |
CN109144580A (en) | A kind of application progress control method, double screen terminal and computer readable storage medium | |
EP2806332A2 (en) | Method for controlling state change and executing function and electronic device supporting the same | |
CN108230014A (en) | Electronic device and the method that webpage is shown using electronic device | |
CN108200278A (en) | A kind of application operation condition control method and mobile terminal | |
CN106874057A (en) | A kind of information input method and its equipment | |
CN114827972A (en) | Method for establishing connection with stylus pen and electronic equipment | |
CN109840125A (en) | A kind of terminal control method, terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171215 |