CN108416004A - electronic equipment, music control method and related product - Google Patents

electronic equipment, music control method and related product Download PDF

Info

Publication number
CN108416004A
CN108416004A CN201810164504.5A CN201810164504A CN108416004A CN 108416004 A CN108416004 A CN 108416004A CN 201810164504 A CN201810164504 A CN 201810164504A CN 108416004 A CN108416004 A CN 108416004A
Authority
CN
China
Prior art keywords
music
brain wave
user
determining
wave information
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.)
Pending
Application number
CN201810164504.5A
Other languages
Chinese (zh)
Inventor
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810164504.5A priority Critical patent/CN108416004A/en
Publication of CN108416004A publication Critical patent/CN108416004A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/015Input arrangements based on nervous system activity detection, e.g. brain waves [EEG] detection, electromyograms [EMG] detection, electrodermal response detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • Biomedical Technology (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Business, Economics & Management (AREA)
  • Dermatology (AREA)
  • Neurology (AREA)
  • Neurosurgery (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Business, Economics & Management (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Physiology (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of electronic equipment, music control method and Related product, including:When detecting that music is applied in front stage operation, the brain wave information of user is obtained by brain wave sensor;Corresponding target music playlist is determined according to the brain wave information;Control the music track in target music playlist described in the music application plays.It is that user plays the music for being adapted to user's brain wave information that the embodiment of the present application, which is conducive to control music according to the brain wave information of user and apply,.

Description

Electronic equipment, music control method and related product
Technical Field
The application relates to the technical field of mobile terminals, in particular to an electronic device, a music control method and a related product.
Background
Along with the popularization of smart phones, the interaction between people and the smart phones is more and more diversified, such as voice, fingerprints, irises, human faces, images and the like, but the information sent by the engine brain of a human body is not related at present. In fact, the human brain is formed by interlacing tens of thousands of nerves with needle points, and when the nerves interact with each other, an electroencephalogram mode is expressed as a thinking state, such as an emotional state like concentration in mathematics calculation. The human brain generates an average of 7 million thoughts per day, and each neural activity generates a slight electrical discharge, and the discharged electricity is measured by electroencephalography (medically known as electroencephalogram). The electrical discharge produced by a single nerve is difficult to measure from outside the scalp. However, the collective electric wave generated by the common discharge of a plurality of nerves can be measured, and the brain wave signals generated by the common discharge of a plurality of nerves of the brain can be tested to interact with the intelligent equipment so as to control and influence the intelligent equipment.
Disclosure of Invention
The embodiment of the application provides electronic equipment, a music control method and a related product, and aims to improve convenience and reliability of operation control of the electronic equipment.
In a first aspect, an embodiment of the present application provides an electronic device, which includes a controller, a brain wave sensor, and a memory, where the brain wave sensor and the memory are connected to the controller; wherein,
the brain wave sensor is used for collecting brain wave information of a user;
the memory is used for storing brain wave information of the user;
the controller is used for acquiring brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in a foreground; the target music play list is used for determining a corresponding target music play list according to the brain wave information; and the control module is used for controlling the music playing application to play the music tracks in the target music playlist.
In a second aspect, an embodiment of the present application provides a music control method, applied to an electronic device including a brain wave sensor, including:
when detecting that the music playing application runs in the foreground, acquiring brain wave information of a user through a brain wave sensor;
determining a corresponding target music play list according to the brain wave information;
and controlling the music playing application to play the music tracks in the target music playing list.
In a third aspect, an embodiment of the present application provides a brain wave processing apparatus, including a collecting unit, a determining unit, and a control unit, wherein:
the acquisition unit is used for acquiring brain wave information of a user through a brain wave sensor when detecting that the music playing application runs in a foreground;
the determining unit is used for determining a corresponding target music play list according to the brain wave information;
and the control unit is used for controlling the music playing application to play the music tracks in the target music playing list.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a controller, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the controller, and the program includes instructions for executing the steps of any of the methods in the second aspect of the embodiment of the present application.
In a fifth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods in the second aspect of the present application.
In a sixth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in any one of the methods of the second aspect of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, the electronic device first obtains brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in the foreground, then determines a corresponding target music playlist according to the brain wave information, and finally controls the music playing application to play music tracks in the target music playlist. The electronic equipment can determine the target music play list of the music play application according to the collected current brain wave information of the user, and the tracks in the target music play list are matched with the current brain wave information of the user, so that the music play application can be controlled to play music matched with the brain wave information of the user for the user according to the brain wave information of the user.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a reference schematic diagram of a head-worn brain wave sensor according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a music control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another music control method provided in the embodiment of the present application;
fig. 4 is a schematic flowchart of another music control method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a block diagram showing functional units of an electroencephalogram processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic device according to the embodiment of the present application may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, which have wireless communication functions, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and the like. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic structural diagram of an electronic device 100 according to an embodiment of the present invention, where the electronic device 100 includes: a case 110, a display 120 provided on the case 110, a circuit board 130 provided in the case 110, a controller 140, a memory 150 connected to the controller 140, a brain wave sensor 160, a plurality of sensors 170 except the brain wave sensor 160, etc. provided on the circuit board 130, the controller 140 being connected to the display 120, the electronic device 100 further comprising a radio frequency system 180, the radio frequency system 180 comprising a transmitter 181, a receiver 182, a signal controller 183, wherein,
the brain wave sensor 160 is used for collecting brain wave information of a user;
the memory 150 is used for storing brain wave information of the user;
the controller 140 is configured to, when it is detected that the music playing application runs in the foreground, obtain brain wave information of the user through the brain wave sensor; the target music play list is used for determining a corresponding target music play list according to the brain wave information; and the control module is used for controlling the music playing application to play the music tracks in the target music playlist.
The brain wave sensor collects brain wave information of a user and sends the brain wave information to a controller of the electronic equipment, and the brain wave sensor can perform data transmission with the electronic equipment in a wired communication mode or in a wireless communication mode. In the future, the brain wave sensor may be more mini, light, portable and concealed, for example, may be integrated with a bluetooth headset, or may be in the form of a hair band, a hair clip, or the like. Fig. 1B is a reference schematic diagram of a head-worn brain wave sensor provided in the present application, wherein the brain wave sensor may be placed on a scalp, earlobe, forehead, etc. of a user.
Because the voltage amplitude of the brain wave signal is very small, the magnitude is microvolt, the frequency is as low as tens of hertz, the output current of the brain wave signal is also very weak, and an amplifier with high amplification factor and high input impedance is required to collect and amplify the brain wave signal.
It can be seen that, in the embodiment of the present application, the electronic device first obtains brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in the foreground, then determines a corresponding target music playlist according to the brain wave information, and finally controls the music playing application to play music tracks in the target music playlist. The electronic equipment can determine the target music play list of the music play application according to the collected current brain wave information of the user, and the tracks in the target music play list are matched with the current brain wave information of the user, so that the music play application can be controlled to play music matched with the brain wave information of the user for the user according to the brain wave information of the user.
In one possible example, the brain wave information includes frequency characteristic data of the brain waves; in the aspect of determining the corresponding target music playlist according to the brain wave information, the controller 140 is specifically configured to: determining the emotion of the user according to the brain wave frequency characteristic data; and for determining a first music playlist according to the user mood, the first playlist comprising at least one music track adapted to the user mood; the historical song listening record of the electronic equipment is obtained and comprises a historical song listening list and song listening times; and the target music play list is determined according to the first music play list and the historical song listening records.
In one possible example, in the aspect of determining the target music playlist according to the first music playlist and the historical listening records, the controller 140 is specifically configured to: determining at least one song that is simultaneously present in the first music playlist and the historical song playlist; and the system is used for sequencing the at least one song according to the playing times of the at least one song and forming the target music play list.
In one possible example, the controller 140 is further configured to: acquiring historical brain wave information of a user; and the system is used for determining various emotions of the user when the user listens to music according to the historical brain wave information; and a music track for determining to play by the electronic device upon detection of each of the plurality of emotions; and the system is used for establishing a plurality of music play lists corresponding to the plurality of emotions, wherein the music play lists comprise music tracks played when the corresponding emotions are detected.
In one possible example, in the aspect of determining the corresponding target music playlist according to the brain wave information, the controller 140 is specifically configured to: determining the current emotion of the user according to the brain wave information; and the music play list corresponding to the emotion is determined to be a target music play list.
Referring to fig. 2, fig. 2 is a flowchart illustrating a music control method according to an embodiment of the present application, applied to the electronic device shown in fig. 1A, where the music control method includes:
s201, when detecting that the music playing application runs in the foreground, the electronic equipment acquires brain wave information of a user through a brain wave sensor.
S202, the electronic equipment determines a corresponding target music play list according to the brain wave information.
The music playing application comprises a music playing list, the historical song listening records of the user comprise brain wave information of the user when the user listens to the songs, and the emotion of the user can be determined according to the brain wave information of the user, so that the mapping relation between the emotion of the user and at least one song to be listened to can be established, and the at least one song to be listened to forms the music playing list.
For example, the brain wave information includes brain wave frequency information, the brain wave frequency fluctuation range of the user is divided into a plurality of frequency bands according to the brain wave frequency, each frequency band can correspond to one emotion of the user, and a music playlist is formed by songs listened when the brain waves of the user are detected to be in a certain frequency band, so that the mapping relationship between the brain wave information of the user and the music playlist can be determined.
S203, the electronic device controls the music playing application to play the music tracks in the target music playlist.
After the target music playlist is determined, the music playing application can be controlled to play the tracks in the target music playlist.
It can be seen that, in the embodiment of the present application, the electronic device first obtains brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in the foreground, then determines a corresponding target music playlist according to the brain wave information, and finally controls the music playing application to play music tracks in the target music playlist. The electronic equipment can determine the target music play list of the music play application according to the collected current brain wave information of the user, and the tracks in the target music play list are matched with the current brain wave information of the user, so that the music play application can be controlled to play music matched with the brain wave information of the user for the user according to the brain wave information of the user.
In one possible example, the brain wave information includes frequency characteristic data of the brain waves; the determining of the corresponding target music playlist according to the brain wave information includes: determining the emotion of the user according to the brain wave frequency characteristic data; determining a first music playlist according to the user emotion, the first playlist including at least one music track adapted to the user emotion; acquiring historical song listening records of the electronic equipment, wherein the historical song listening records comprise a historical song listening list and song listening times; and determining a target music play list according to the first music play list and the historical song listening records.
The brain wave information comprises frequency characteristic information of the brain waves, the emotion of the current user can be determined according to the frequency characteristic information, and therefore a first music play list is determined, and the first music play list comprises at least one song matched with the emotion of the user.
For example, when the current emotion of the user is detected to be happy according to the brain wave information of the user, a first music playlist may be determined, and the first music playlist includes at least one song suitable for listening when the mood is happy.
The electronic equipment can acquire the historical song listening records of the user, the historical song listening records comprise songs listened by the user in history and the listening times of the corresponding songs, and the target music playlist can be determined by combining the first playlist and the historical song listening records.
As can be seen, in this example, the target music playlist can be determined through the first music playing list adapted to the emotion of the user and the historical song listening records of the user, where the historical song listening records are song listening records of the user in a recent period of time, which is beneficial to making the music tracks in the determined target music playlist more accurate and reliable.
In one possible example, the determining a target music playlist from the first music playlist and the historical listening records comprises: determining at least one song that is simultaneously present in the first music playlist and the historical song playlist; and sequencing the at least one song according to the playing times of the at least one song and forming the target music play list.
When the target music playlist is determined according to the first music playlist and the historical song listening records, at least one song in the first music playlist and the historical playlist can be acquired at first, then the at least one song is sorted according to the playing times of each song in the at least one song, and the songs with more playing times are sorted more in front.
For example, the first music playlist includes track 1, track 2, track 3, and track 4, and the history playlist includes track 1(3 times), track 3(4 times), track 4(2 times), and track 5(1 time), so that the target music playlist may be determined to be track 3, track 1, and track 4.
As can be seen, in this example, the target music list is determined according to the first music playlist and the historical listening records, and each track in the target music list is sorted according to the historical listening times, which is beneficial for the user to preferentially listen to the frequently listened music tracks.
In one possible example, the method further comprises: acquiring historical brain wave information of a user; determining various emotions of the user when listening to music according to the historical brain wave information; determining a music track played by the electronic device upon detection of each of the plurality of emotions; and establishing a plurality of music play lists corresponding to the plurality of emotions, wherein the music play lists comprise music tracks played when the corresponding emotions are detected.
The emotion of the user can be determined through brain waves of the user, the music list is established according to the music tracks listened to when the corresponding emotion of the user is detected, so that the mapping relation between the emotion of the user and the music play list is formed, and the music play list corresponding to the emotion can be determined to be the target music play list when certain emotion of the user is detected.
As can be seen, in the present example, the brain waves of the user are detected when the user listens to a song, and since the emotion of the user can be determined according to the brain wave information of the user, song tracks that the user listens to when different emotions occur can be obtained, and thus the target music playlist can be determined.
In one possible example, the determining a corresponding target music playlist according to the brain wave information includes: determining the current emotion of the user according to the brain wave information; and determining the music playlist corresponding to the emotion as a target music playlist.
Each emotion of the user corresponds to a music play list, and the music play list is obtained according to the song listening big data of the user, so that the song suitable for listening to the user can be determined when the user is in different emotions.
Therefore, in this example, according to the brain wave information of the user, the emotion of the user is determined first, and the music playlist corresponding to the emotion is determined to be the target music playlist, so that the music playing application can be controlled to play the tracks in the target phonetic symbol music playlist, which is beneficial to improving the experience of listening to songs of the user.
In one possible example, the method further comprises: when the fact that the music tracks in the target music play list are played completely is detected, whether the electronic equipment is connected to the Internet or not is detected; searching music tracks similar to the music tracks in the target music play list when the electronic equipment is detected to be connected to the Internet; and adding the similar music tracks to the target music playlist and playing.
As can be seen, in this example, when the music tracks in the target music playlist are played, whether the electronic device is connected to the internet is detected, when the electronic device is connected to the internet, music tracks similar to the music tracks in the target music playlist are searched online, and these music tracks can be added to the target music playlist, so as to update the target music playlist.
Referring to fig. 3, fig. 3 is a schematic flowchart of a music control method according to an embodiment of the present application, applied to the electronic device shown in fig. 1A, where as shown in the diagram, the music control method includes:
s301, when detecting that the music playing application runs in the foreground, the electronic equipment acquires brain wave information of a user through a brain wave sensor, wherein the brain wave information comprises frequency characteristic data of brain waves.
S302, the electronic equipment determines the emotion of the user according to the brain wave frequency characteristic data.
S303, the electronic equipment determines a first music play list according to the emotion of the user, wherein the first music play list comprises at least one music track matched with the emotion of the user.
S304, the electronic equipment acquires the historical song listening records of the electronic equipment, and the historical song listening records comprise a historical song listening list and song listening times.
S305, the electronic equipment determines a target music play list according to the first music play list and the historical song listening records.
S306, the electronic device controls the music playing application to play the music tracks in the target music playlist.
It can be seen that, in the embodiment of the present application, the electronic device first obtains brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in the foreground, then determines a corresponding target music playlist according to the brain wave information, and finally controls the music playing application to play music tracks in the target music playlist. Because the electronic equipment can determine the target music play list of the music play application according to the collected current brain wave information of the user, and the tracks in the target music play list are adaptive to the current brain wave information of the user, the electronic equipment is favorable for controlling the music play application to play the adaptive user brain wave information and music for the user according to the brain wave information of the user.
In addition, the target music play list can be determined through the first music playing list matched with the emotion of the user and the historical song listening records of the user, and the historical song listening records are the song listening records of the user in a recent period of time, so that the music tracks in the determined target music play list are more accurate and reliable.
Referring to fig. 4, fig. 4 is a flowchart illustrating a music control method according to an embodiment of the present application, and the method is applied to the electronic device shown in fig. 1A. As shown in the figure, the music control method includes:
s401, when detecting that the music playing application runs in the foreground, the electronic equipment acquires brain wave information of a user through a brain wave sensor, wherein the brain wave information comprises frequency characteristic data of brain waves.
S402, the electronic equipment determines the emotion of the user according to the brain wave frequency characteristic data.
S403, the electronic device determines a first music playlist according to the user emotion, wherein the first playlist includes at least one music track adapted to the user emotion.
S404, the electronic equipment acquires historical song listening records of the electronic equipment, and the historical song listening records comprise a historical song listening list and song listening times.
S405, the electronic equipment determines at least one song appearing in the first music playlist and the historical song playlist at the same time.
S406, the electronic equipment sorts the at least one song according to the playing times of the at least one song and forms the target music playlist.
S407, the electronic device controls the music playing application to play the music tracks in the target music playlist.
It can be seen that, in the embodiment of the present application, the electronic device first obtains brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in the foreground, then determines a corresponding target music playlist according to the brain wave information, and finally controls the music playing application to play music tracks in the target music playlist. Because the electronic equipment can determine the target music play list of the music play application according to the collected current brain wave information of the user, and the tracks in the target music play list are adaptive to the current brain wave information of the user, the electronic equipment is favorable for controlling the music play application to play the adaptive user brain wave information and music for the user according to the brain wave information of the user.
In addition, the target music play list can be determined through the first music playing list matched with the emotion of the user and the historical song listening records of the user, and the historical song listening records are the song listening records of the user in a recent period of time, so that the music tracks in the determined target music play list are more accurate and reliable.
In addition, the target music list is determined according to the first music play list and the historical listening records, and each song in the target music list is sorted according to the historical listening times, so that the user can preferentially listen to the normally listened music songs.
In accordance with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device includes a controller, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the controller, and the programs include instructions for performing the following steps;
when detecting that the music playing application runs in the foreground, acquiring brain wave information of a user through a brain wave sensor;
determining a corresponding target music play list according to the brain wave information;
and controlling the music playing application to play the music tracks in the target music playing list.
It can be seen that, in the embodiment of the present application, the electronic device first obtains brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in the foreground, then determines a corresponding target music playlist according to the brain wave information, and finally controls the music playing application to play music tracks in the target music playlist. Because the electronic equipment can determine the target music play list of the music play application according to the collected current brain wave information of the user, and the tracks in the target music play list are adaptive to the current brain wave information of the user, the electronic equipment is favorable for controlling the music play application to play the adaptive user brain wave information and music for the user according to the brain wave information of the user.
In one possible example, the brain wave information includes frequency characteristic data of the brain waves; in the aspect of determining a corresponding target music playlist according to the brain wave information, the instructions in the program are specifically configured to: determining the emotion of the user according to the brain wave frequency characteristic data; determining a first music playlist according to the user emotion, the first playlist including at least one music track adapted to the user emotion; acquiring historical song listening records of the electronic equipment, wherein the historical song listening records comprise a historical song listening list and song listening times; and determining a target music play list according to the first music play list and the historical song listening records.
In one possible example, in the determining a target music playlist from the first music playlist and the historical listening records, the instructions in the program are specifically configured to: determining at least one song that is simultaneously present in the first music playlist and the historical song playlist; and sequencing the at least one song according to the playing times of the at least one song and forming the target music play list.
In one possible example, the instructions in the program are further to perform the following operations: acquiring historical brain wave information of a user; determining various emotions of the user when listening to music according to the historical brain wave information; determining a music track played by the electronic device upon detection of each of the plurality of emotions; and establishing a plurality of music play lists corresponding to the plurality of emotions, wherein the music play lists comprise music tracks played when the corresponding emotions are detected.
In one possible example, in the determining a corresponding target music playlist from the brain wave information, the instructions in the program are specifically configured to: determining the current emotion of the user according to the brain wave information; and determining the music playlist corresponding to the emotion as a target music playlist.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one control unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram of functional unit components of the brain wave processing apparatus 600 according to the embodiment of the present application. The brain wave processing apparatus 600 is applied to an electronic device, and the brain wave processing apparatus 600 includes an acquisition unit 601, a determination unit 602, and a control unit 603, in which:
the acquisition unit 601 is configured to acquire brain wave information of a user through a brain wave sensor when detecting that the music playing application runs in a foreground;
the determining unit 602 is configured to determine a corresponding target music playlist according to the brain wave information;
the control unit 603 is configured to control the music playing application to play the music tracks in the target music playlist.
It can be seen that, in the embodiment of the present application, the electronic device first obtains brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in the foreground, then determines a corresponding target music playlist according to the brain wave information, and finally controls the music playing application to play music tracks in the target music playlist. Because the electronic equipment can determine the target music play list of the music play application according to the collected current brain wave information of the user, and the tracks in the target music play list are adaptive to the current brain wave information of the user, the electronic equipment is favorable for controlling the music play application to play the adaptive user brain wave information and music for the user according to the brain wave information of the user.
In one possible example, the brain wave information includes frequency characteristic data of the brain waves; in the aspect of determining a corresponding target music playlist according to the brain wave information, the determining unit 602 is specifically configured to: determining the emotion of the user according to the brain wave frequency characteristic data; and for determining a first music playlist according to the user mood, the first playlist comprising at least one music track adapted to the user mood; the historical song listening record of the electronic equipment is obtained and comprises a historical song listening list and song listening times; and the target music play list is determined according to the first music play list and the historical song listening records.
In one possible example, in the aspect of determining the target music playlist according to the first music playlist and the historical listening records, the determining unit 602 is specifically configured to: determining at least one song that is simultaneously present in the first music playlist and the historical song playlist; and the system is used for sequencing the at least one song according to the playing times of the at least one song and forming the target music play list.
In one possible example, the control unit 603 is further configured to: acquiring historical brain wave information of a user; and the system is used for determining various emotions of the user when the user listens to music according to the historical brain wave information; and a music track for determining to play by the electronic device upon detection of each of the plurality of emotions; and the system is used for establishing a plurality of music play lists corresponding to the plurality of emotions, wherein the music play lists comprise music tracks played when the corresponding emotions are detected.
In one possible example, in terms of the determining the corresponding target music playlist according to the brain wave information, the determining unit 602 is specifically configured to: determining the current emotion of the user according to the brain wave information; and the music play list corresponding to the emotion is determined to be a target music play list.
Among them, the acquisition unit 601 may be a controller and a brain wave sensor, and the determination unit 602 and the control unit 603 may be a controller.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated into one control unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (13)

1. An electronic device is characterized by comprising a controller, a brain wave sensor and a memory, wherein the brain wave sensor and the memory are connected with the controller; wherein,
the brain wave sensor is used for collecting brain wave information of a user;
the memory is used for storing brain wave information of the user;
the controller is used for acquiring brain wave information of a user through the brain wave sensor when detecting that the music playing application runs in a foreground; the target music play list is used for determining a corresponding target music play list according to the brain wave information; and the control module is used for controlling the music playing application to play the music tracks in the target music playlist.
2. The electronic device according to claim 1, wherein the brain wave information includes frequency characteristic data of brain waves; in the aspect of determining the corresponding target music playlist according to the brain wave information, the controller is specifically configured to: determining the emotion of the user according to the brain wave frequency characteristic data; and for determining a first music playlist according to the user mood, the first playlist comprising at least one music track adapted to the user mood; the historical song listening record of the electronic equipment is obtained and comprises a historical song listening list and song listening times; and the target music play list is determined according to the first music play list and the historical song listening records.
3. The electronic device of claim 2, wherein, in determining a target music playlist from the first music playlist and the historical listening records, the controller is specifically configured to: determining at least one song that is simultaneously present in the first music playlist and the historical song playlist; and the system is used for sequencing the at least one song according to the playing times of the at least one song and forming the target music play list.
4. The electronic device of claim 1, wherein the controller is further configured to: acquiring historical brain wave information of a user; and the system is used for determining various emotions of the user when the user listens to music according to the historical brain wave information; and a music track for determining to play by the electronic device upon detection of each of the plurality of emotions; and the system is used for establishing a plurality of music play lists corresponding to the plurality of emotions, wherein the music play lists comprise music tracks played when the corresponding emotions are detected.
5. The electronic device according to any of the claims 1 to 4, wherein in said determining a corresponding target music playlist from the brain wave information, the controller is specifically configured to: determining the current emotion of the user according to the brain wave information; and the music play list corresponding to the emotion is determined to be a target music play list.
6. A music control method applied to an electronic device including a brain wave sensor, the method comprising:
when detecting that the music playing application runs in the foreground, acquiring brain wave information of a user through a brain wave sensor;
determining a corresponding target music play list according to the brain wave information;
and controlling the music playing application to play the music tracks in the target music playing list.
7. The method according to claim 6, wherein the brain wave information includes frequency characteristic data of the brain waves; the determining of the corresponding target music playlist according to the brain wave information includes:
determining the emotion of the user according to the brain wave frequency characteristic data;
determining a first music playlist according to the user emotion, the first playlist including at least one music track adapted to the user emotion;
acquiring historical song listening records of the electronic equipment, wherein the historical song listening records comprise a historical song listening list and song listening times;
and determining a target music play list according to the first music play list and the historical song listening records.
8. The method of claim 7, wherein determining a target music playlist from the first music playlist and the historical listening records comprises:
determining at least one song that is simultaneously present in the first music playlist and the historical song playlist;
and sequencing the at least one song according to the playing times of the at least one song and forming the target music play list.
9. The method of claim 6, further comprising:
acquiring historical brain wave information of a user;
determining various emotions of the user when listening to music according to the historical brain wave information;
determining a music track played by the electronic device upon detection of each of the plurality of emotions;
and establishing a plurality of music play lists corresponding to the plurality of emotions, wherein the music play lists comprise music tracks played when the corresponding emotions are detected.
10. The method according to any one of claims 6 to 9, wherein the determining a corresponding target music playlist from the brain wave information comprises:
determining the current emotion of the user according to the brain wave information;
and determining the music playlist corresponding to the emotion as a target music playlist.
11. A brain wave processing apparatus comprising a collecting unit, a determining unit, and a control unit, wherein:
the acquisition unit is used for acquiring brain wave information of a user through a brain wave sensor when detecting that the music playing application runs in a foreground;
the determining unit is used for determining a corresponding target music play list according to the brain wave information;
and the control unit is used for controlling the music playing application to play the music tracks in the target music playing list.
12. An electronic device comprising a controller, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the controller, the programs comprising instructions for performing the steps in the method of any of claims 6-10.
13. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any of the claims 6-10.
CN201810164504.5A 2018-02-27 2018-02-27 electronic equipment, music control method and related product Pending CN108416004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810164504.5A CN108416004A (en) 2018-02-27 2018-02-27 electronic equipment, music control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810164504.5A CN108416004A (en) 2018-02-27 2018-02-27 electronic equipment, music control method and related product

Publications (1)

Publication Number Publication Date
CN108416004A true CN108416004A (en) 2018-08-17

Family

ID=63129149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810164504.5A Pending CN108416004A (en) 2018-02-27 2018-02-27 electronic equipment, music control method and related product

Country Status (1)

Country Link
CN (1) CN108416004A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462943A (en) * 2020-12-07 2021-03-09 北京小米松果电子有限公司 Control method, device and medium based on brain wave signal
CN112969117A (en) * 2021-02-02 2021-06-15 深圳市宏智力科技有限公司 Multifunctional brain wave intelligent equipment and multifunctional brain wave earphone
CN114827339A (en) * 2022-04-02 2022-07-29 维沃移动通信有限公司 Message output method and device and electronic equipment
CN112462943B (en) * 2020-12-07 2024-10-25 北京小米松果电子有限公司 Control method, device and medium based on brain wave signals

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446533A (en) * 2010-10-15 2012-05-09 盛乐信息技术(上海)有限公司 Music player
US8430806B2 (en) * 2009-12-30 2013-04-30 Shenzhen Futaihong Precision Industry Co., Ltd. Electronic device and hypnosis method utilizing the same
CN104376855A (en) * 2014-10-16 2015-02-25 上海天奕达电子科技有限公司 Intelligent information processing method and system and intelligent handset
CN105232038A (en) * 2015-10-21 2016-01-13 深圳市冠旭电子有限公司 Brain wave analysis method and apparatus based on intelligent headset
CN105719646A (en) * 2016-01-22 2016-06-29 史唯廷 Voice control music playing method and voice control music playing apparatus
CN105824888A (en) * 2016-03-10 2016-08-03 深圳创达云睿智能科技有限公司 Music playing control method and device based on brain waves
CN106302678A (en) * 2016-08-08 2017-01-04 北京谱思科技有限公司 A kind of music recommends method and device
CN106557156A (en) * 2015-09-29 2017-04-05 复旦大学 A kind of intelligent music Play System based on emotion

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8430806B2 (en) * 2009-12-30 2013-04-30 Shenzhen Futaihong Precision Industry Co., Ltd. Electronic device and hypnosis method utilizing the same
CN102446533A (en) * 2010-10-15 2012-05-09 盛乐信息技术(上海)有限公司 Music player
CN104376855A (en) * 2014-10-16 2015-02-25 上海天奕达电子科技有限公司 Intelligent information processing method and system and intelligent handset
CN106557156A (en) * 2015-09-29 2017-04-05 复旦大学 A kind of intelligent music Play System based on emotion
CN105232038A (en) * 2015-10-21 2016-01-13 深圳市冠旭电子有限公司 Brain wave analysis method and apparatus based on intelligent headset
CN105719646A (en) * 2016-01-22 2016-06-29 史唯廷 Voice control music playing method and voice control music playing apparatus
CN105824888A (en) * 2016-03-10 2016-08-03 深圳创达云睿智能科技有限公司 Music playing control method and device based on brain waves
CN106302678A (en) * 2016-08-08 2017-01-04 北京谱思科技有限公司 A kind of music recommends method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112462943A (en) * 2020-12-07 2021-03-09 北京小米松果电子有限公司 Control method, device and medium based on brain wave signal
CN112462943B (en) * 2020-12-07 2024-10-25 北京小米松果电子有限公司 Control method, device and medium based on brain wave signals
CN112969117A (en) * 2021-02-02 2021-06-15 深圳市宏智力科技有限公司 Multifunctional brain wave intelligent equipment and multifunctional brain wave earphone
CN112969117B (en) * 2021-02-02 2022-05-17 深圳市宏智力科技有限公司 Multifunctional brain wave intelligent equipment and multifunctional brain wave earphone
CN114827339A (en) * 2022-04-02 2022-07-29 维沃移动通信有限公司 Message output method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107085512A (en) Audio playing method and mobile terminal
CN108509033B (en) Information processing method and related product
CN108491076B (en) Display control method and related product
JP2012210476A (en) Device and method for detecting electrical activity in tissue
CN108499111B (en) Game difficulty adjusting method and related product
CN111798852A (en) Voice wake-up recognition performance test method, device and system and terminal equipment
CN108363530B (en) Electronic device, method for playing music and Related product
CN108416004A (en) electronic equipment, music control method and related product
CN109147764A (en) Voice interactive method, device, equipment and computer-readable medium
CN108494952B (en) Voice call processing method and related equipment
CN108766416B (en) Speech recognition method and related product
CN108279777B (en) Brain wave control method and related equipment
CN108392201A (en) Brain training method and relevant device
CN111613246A (en) Audio classification prompting method and related equipment
CN108418962A (en) Information response's method based on brain wave and Related product
CN112735382B (en) Audio data processing method and device, electronic equipment and readable storage medium
CN106782498A (en) Voice messaging player method, device and terminal
CN108594992B (en) Electronic equipment, application control method and related product
CN113517000A (en) Echo cancellation test method, terminal and storage device
CN108459718A (en) Electronic equipment, application control method and related product
CN108594989B (en) Brain wave acquisition method and related equipment
CN108495186B (en) Video marking method, video marking device, electronic equipment and computer readable storage medium
CN108882112A (en) Audio play control method, device, storage medium and terminal device
KR20200105344A (en) Music recommendation system based on user information and space information and music recommendation method
CN108391010A (en) Alarm clock control method and related product

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817

RJ01 Rejection of invention patent application after publication