Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
In order to achieve the purpose of adjusting the current state of the electronic device according to the state information of the user, the embodiment of the invention provides an application object adjusting method and the electronic device.
First, an application object adjustment method provided in an embodiment of the present invention is described below.
The electronic device to which the present invention is applied is a device having a brain wave acquisition function, for example: the electronic equipment can be a notebook, a mobile phone, an IPAD and the like with brain wave acquisition function. It is understood that the brain wave acquisition may be implemented by a brain wave acquisition device located inside or connected to the electronic equipment, but is not limited thereto.
As shown in fig. 1, an application object adjustment method may include:
s101, collecting brain waves of a user in the process of operating electronic equipment by the user;
when the current state of the electronic equipment needs to be adjusted according to the state information of the user, the brain waves of the user can be collected in the process that the user operates the electronic equipment, so that the subsequent processing steps can be carried out according to the collected brain waves of the user. Of course, the collection of the brain waves of the user may be performed in real time or in a timed collection manner.
S102, determining a parameter value corresponding to the collected brain waves;
when the electroencephalogram wave of the user is collected, the collected information is subjected to specific processing to obtain parameter values which can be compared and analyzed, and subsequent processing is performed.
It can be understood that the parameter value corresponding to the acquired brain wave information may be determined through a real-time analysis manner, or may be obtained by performing a unified analysis on the brain waves acquired within a period of time. It is reasonable that the determined parameter values may be a brain wave frequency value, a brain wave amplitude value, a brain wave period value, etc., according to the characteristics of brain waves.
S103, judging whether the determined parameter value in the preset time period meets a preset condition, if so, executing the step S104; otherwise, not processing;
after determining the parameter value corresponding to the acquired brain wave, it may be determined whether the parameter value within the predetermined time period satisfies a preset condition, and if the preset condition is satisfied, step S104 is executed to perform subsequent adjustment of the current state of the application object.
It is understood that the predetermined time may be set according to an actual application scenario, and may be, for example, 5mim or 10 mim.
And S104, adjusting the current state of the application object corresponding to the preset condition.
When the parameter value in the predetermined time period satisfies the preset condition, the current state of the application object corresponding to the preset condition may be adjusted, so as to achieve the purpose of adjusting the current state of the application object according to the brain wave of the user.
In the embodiment of the invention, in the process of operating an electronic device by a user, the brain wave of the user is collected through the brain wave collecting function of the electronic device, the parameter value corresponding to the collected brain wave is determined, whether the parameter value meets the preset condition in the preset time period is judged, and when the preset condition is met, the current state of the application object corresponding to the preset condition is adjusted. In this embodiment, the current state of the application object in the electronic device is adjusted according to the brain wave information of the user by analyzing the brain waves of the user.
The following describes an application object adjustment method provided by the present invention in detail by taking the determination of the frequency corresponding to the collected brain waves as an example.
The electronic device to which the present invention is applied is a device having a brain wave acquisition function, for example: the electronic equipment can be a notebook, a mobile phone, an IPAD and the like with brain wave acquisition function. It is understood that the brain wave acquisition may be implemented by a brain wave acquisition device located inside or connected to the electronic equipment, but is not limited thereto.
As shown in fig. 2, an application object adjustment method may include:
s201, collecting brain waves of a user in the process of operating electronic equipment by the user;
in this embodiment, step S201 is similar to step S101 of the above embodiment, and is not described herein again.
S202, analyzing the collected brain waves to obtain frequencies corresponding to the collected brain waves;
according to the characteristics of the brain waves, the frequency of the brain waves can be used as a judgment standard of the emotion fluctuation of the user, namely, when the frequency of the brain waves is higher than a threshold value, the emotion of the user can be considered to be excited; and when the brain wave frequency is lower than another threshold value, the emotion of the user can be considered to be stable.
S203, judging whether the frequencies corresponding to the brain waves collected in the preset time period are all larger than a first frequency threshold value, if so, executing a step S204; otherwise, not processing;
wherein the first frequency threshold is determined in advance according to the historical brain wave characteristics of the user. When the frequency of the electroencephalogram of the user is greater than the first frequency threshold, the emotion of the user is excited; conversely, when the brain wave frequency of the user is not greater than the first frequency threshold, it indicates that the emotion of the user is not in an excited state.
Therefore, when the frequencies corresponding to the brain waves of the user in the predetermined time period are all greater than the first frequency threshold, it is indicated that the emotion of the user is excited all the time in the time period, and at this time, in order to conform to the current emotion scene, the current state of an application object of the electronic device may be adjusted, so that the emotion of the user is excited.
It is understood that the predetermined time period can be set according to actual application. Also, the first frequency threshold may be set according to different users, which is reasonable.
And S204, playing music which enables the frequency corresponding to the brain wave of the user to be larger than a first frequency threshold value.
When the frequency corresponding to the user brain wave is judged to be greater than the first frequency threshold value in the preset time period, some music which enables the frequency corresponding to the user brain wave to be greater than the first frequency threshold value can be played, so that the user can be guaranteed that the emotion is continuously excited after the user hears the music, and the current emotion scene is met.
Of course, it will be understood by those skilled in the art that adjusting the state of an application object is not limited to changing music, such as: and changing the current desktop background of the electronic equipment to enable the corresponding frequency of the brain waves of the user to be larger than a first frequency threshold value and the like.
In the embodiment of the invention, in the process of operating an electronic device by a user, the brain waves of the user are collected through a brain wave collecting function of the electronic device, the frequencies corresponding to the collected brain waves are determined, whether the frequency values in a preset time period are all larger than a first frequency threshold value is judged, and if yes, music enabling the frequency corresponding to the brain waves of the user to be larger than the first frequency threshold value is played. Through the analysis of the brain waves of the user, the music played by the electronic equipment is adjusted according to the brain wave information of the user.
Still taking the determination of the frequency corresponding to the collected brain waves as an example, another method for adjusting an application object provided by the present invention is described in detail below.
The electronic device to which the present invention is applied is a device having a brain wave acquisition function, for example: the electronic equipment can be a notebook, a mobile phone, an IPAD and the like with brain wave acquisition function. It is understood that the brain wave acquisition may be implemented by a brain wave acquisition device located inside or connected to the electronic equipment, but is not limited thereto.
As shown in fig. 3, an application object adjustment method may include:
s301, collecting brain waves of a user in the process of operating the electronic equipment by the user;
s302, analyzing the collected brain waves to obtain frequencies corresponding to the collected brain waves;
in this embodiment, steps S301 to S302 are similar to steps S201 to S202 of the above embodiment, and are not repeated herein.
S303, judging whether a frequency value larger than a first frequency threshold value and a frequency value smaller than a second frequency threshold value exist in the frequencies corresponding to the brain waves collected in a preset time period, if so, executing the step S304; otherwise, not processing;
wherein, a first frequency threshold value and a second frequency threshold value are determined in advance according to the historical brain wave characteristics of the user. When the frequency of the electroencephalogram of the user is greater than the first frequency threshold, the emotion of the user is excited; and when the brain wave frequency of the user is smaller than the second frequency threshold, the emotion of the user is stable.
Therefore, when there are frequency values greater than the first frequency threshold value and frequency values less than the second frequency threshold value in the corresponding frequencies of the brain waves collected within the predetermined time period, it indicates that the user is trying to adjust the excited emotion to a stable emotion, and at this time, in order to conform to the current emotion scene, the current state of an application object of the user may be adjusted, so that the emotion of the user tends to be more stable.
And S304, playing music which enables the frequency corresponding to the brain wave of the user to be smaller than a second frequency threshold value.
When the frequency value which is larger than the first frequency threshold value and the frequency value which is smaller than the second frequency threshold value exist in the frequencies corresponding to the brain waves collected in the preset time period, the music which enables the frequency corresponding to the brain waves of the user to be smaller than the second frequency threshold value can be played, so that the emotion of the user tends to be stable after the user hears the music, and the current emotion scene is met.
Of course, it will be understood by those skilled in the art that adjusting the state of an application object is not limited to changing music, such as: changing the current desktop background of the electronic equipment so that the frequency corresponding to the brain waves of the user is smaller than a second frequency threshold.
In the embodiment of the invention, in the process of operating an electronic device by a user, the brain wave of the user is collected through a brain wave collecting function of the electronic device, the frequency corresponding to the collected brain wave is determined, whether a frequency value larger than a first frequency threshold value and a frequency value smaller than a second frequency threshold value exist in the frequency values in a preset time period or not is judged, and if yes, music enabling the frequency corresponding to the brain wave of the user to be smaller than the second frequency threshold value is played. Through the analysis of the brain waves of the user, the music played by the electronic equipment is adjusted according to the brain wave information of the user.
The following describes an applied object adjustment method provided by the present invention in detail by taking the determination of the amplitude corresponding to the collected brain waves as an example.
The electronic device to which the present invention is applied is a device having a brain wave acquisition function, for example: the electronic equipment can be a notebook, a mobile phone, an IPAD and the like with brain wave acquisition function. It is understood that the brain wave acquisition may be implemented by a brain wave acquisition device located inside or connected to the electronic equipment, but is not limited thereto.
As shown in fig. 4, an application object adjustment method may include:
s401, collecting brain waves of a user in the process of operating the electronic equipment by the user;
in this embodiment, step S401 is similar to step S101 of the above embodiment, and is not repeated herein.
S402, analyzing the collected brain waves to obtain the corresponding amplitude of the collected brain waves;
according to the characteristics of the brain waves, the amplitude of the brain waves can be used as a judgment standard of the emotion fluctuation of the user, namely, when the amplitude of the brain waves is higher than a threshold value, the emotion of the user can be considered to be excited; and when the amplitude of the electroencephalogram wave is lower than another threshold value, the emotion of the user can be considered to be stable.
S403, judging whether the amplitudes corresponding to the brain waves collected within a preset time period are all larger than a first amplitude threshold value, if so, executing a step S404; otherwise, not processing;
wherein the first amplitude threshold is determined in advance from the historical brainwave characteristics of the user. When the amplitude of the electroencephalogram of the user is larger than the first amplitude threshold value, the emotion of the user is excited; conversely, when the amplitude of the brain waves of the user is not greater than the first amplitude threshold, it indicates that the emotion of the user is not in an excited state.
Therefore, when the amplitudes corresponding to the brain waves of the user in the preset time period are all larger than the first amplitude threshold value, the emotion of the user is still excited in the preset time period, and at this time, in order to accord with the current emotion scene, the current state of an application object of the user can be adjusted, so that the emotion of the user is excited.
It is understood that the predetermined time period can be set according to actual application. Also, the first amplitude threshold may be set according to different users, which is reasonable.
S404, music with amplitude larger than a first amplitude threshold value corresponding to the brain waves of the user is played.
When the amplitude corresponding to the brain wave of the user is judged to be larger than the first amplitude threshold value in the preset time period, some music which enables the amplitude corresponding to the brain wave of the user to be larger than the first amplitude threshold value can be played, so that the emotion of the user can be kept excited after the user hears the music, and the current emotion scene is met.
Of course, it will be understood by those skilled in the art that adjusting the state of an application object is not limited to changing music, such as: changing the current desktop background of the electronic equipment to enable the corresponding frequency of the brain waves of the user to be larger than a first amplitude threshold value and the like.
In the embodiment of the invention, in the process of operating an electronic device by a user, the brain waves of the user are collected through a brain wave collecting function of the electronic device, the amplitudes corresponding to the collected brain waves are determined, whether the amplitude values in a preset time period are all larger than a first amplitude threshold value is judged, and if yes, music enabling the corresponding amplitude of the brain waves of the user to be larger than the first amplitude threshold value is played. Through the analysis of the brain waves of the user, the music played by the electronic equipment is adjusted according to the brain wave information of the user.
Another method for adjusting an application object provided by the present invention is described in detail below by taking the example of determining the amplitude corresponding to the collected brain waves.
The electronic device to which the present invention is applied is a device having a brain wave acquisition function, for example: the electronic equipment can be a notebook, a mobile phone, an IPAD and the like with brain wave acquisition function. It is understood that the brain wave acquisition may be implemented by a brain wave acquisition device located inside or connected to the electronic equipment, but is not limited thereto.
As shown in fig. 5, an application object adjustment method may include:
s501, collecting brain waves of a user in the process of operating the electronic equipment by the user;
s502, analyzing the collected brain waves to obtain the corresponding amplitude of the collected brain waves;
in this embodiment, steps S501 to S502 are similar to steps S401 to S402 in the above embodiment, and are not repeated herein.
S503, judging whether an amplitude value larger than a first amplitude threshold value and an amplitude value smaller than a second amplitude threshold value exist in the amplitudes corresponding to the brain waves collected in a preset time period, and if so, executing the step S504; otherwise, not processing;
wherein, a first amplitude threshold value and a second amplitude threshold value are determined in advance according to the historical brain wave characteristics of the user. When the amplitude of the electroencephalogram of the user is larger than the first amplitude threshold value, the emotion of the user is excited; and when the amplitude of the brain wave of the user is smaller than the second amplitude threshold value, the emotion of the user is stable.
Therefore, when there are both amplitude values greater than the first amplitude threshold and amplitude values less than the second amplitude threshold in the corresponding amplitudes of the brain waves acquired within the predetermined time period, it indicates that the user is trying to adjust the excited emotion to a stable emotion, and at this time, in order to conform to the current emotion scene, the current state of an application object of the user may be adjusted so that the emotion of the user tends to be more stable.
And S504, playing music with the amplitude corresponding to the brain wave of the user smaller than a second amplitude threshold value.
When the amplitude value which is larger than the first amplitude threshold value and the amplitude value which is smaller than the second amplitude threshold value exist in the amplitude corresponding to the brain waves collected in the preset time period, music which enables the amplitude corresponding to the brain waves of the user to be smaller than the second amplitude threshold value can be played, so that the emotion of the user tends to be stable after the user hears the music, and the current emotion scene is met.
Of course, it will be understood by those skilled in the art that adjusting the state of an application object is not limited to changing music, such as: altering a current desktop background of the electronic device such that the user brain wave corresponding frequency is less than a second amplitude threshold.
In the embodiment of the invention, in the process of operating an electronic device by a user, the brain wave of the user is collected through a brain wave collecting function of the electronic device, the amplitude corresponding to the collected brain wave is determined, whether an amplitude value greater than a first frequency threshold value and an amplitude value less than a second amplitude threshold value exist in an amplitude value in a predetermined time period or not is judged, and if yes, music enabling the amplitude corresponding to the brain wave of the user to be less than the second amplitude threshold value is played. Through the analysis of the brain waves of the user, the music played by the electronic equipment is adjusted according to the brain wave information of the user.
Through the above description of the method embodiments, those skilled in the art can clearly understand that the present invention can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes 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 methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and so on.
Corresponding to the method, the embodiment of the invention also provides the electronic equipment which has a brain wave acquisition function; as shown in fig. 6, the electronic device may include:
the brain wave acquisition module 110 is configured to acquire a brain wave of a user in a process of operating an electronic device by the user;
a parameter value determining module 120, configured to determine a parameter value corresponding to the acquired brain wave;
the judging module 130 is configured to judge whether the parameter value meets a preset condition within a predetermined time period, and when the preset condition is met, trigger the state adjusting module;
the state adjusting module 140 is configured to adjust a current state of the application object corresponding to the preset condition.
In the process of operating the electronic equipment provided by the embodiment of the invention by a user, the brain wave of the user is collected through the brain wave collecting function of the electronic equipment, the parameter value corresponding to the collected brain wave is determined, whether the parameter value meets the preset condition within the preset time period is judged, and when the preset condition is met, the current state of the application object corresponding to the preset condition is adjusted. In this embodiment, the purpose of adjusting the current state of the application object in the electronic device according to the brain wave information of the user is achieved by analyzing the brain waves of the user.
The parameter value determining module 120 may include:
and the frequency determining unit is used for analyzing the collected brain waves to acquire the frequency corresponding to the brain waves.
Accordingly, the determining module 130 may include:
the first frequency judging unit is used for judging whether the frequencies corresponding to the brain waves collected within the preset time are all larger than a first frequency threshold value;
the state adjustment module 140 may include:
a first music adjusting unit, configured to play music with a frequency corresponding to the brain waves of the user greater than a first frequency threshold;
or,
the first desktop adjusting unit is used for changing the current desktop background of the electronic equipment so that the frequency corresponding to the brain waves of the user is greater than a first frequency threshold.
Accordingly, the determining module 130 may include:
the second frequency judging unit is used for judging whether a frequency value larger than the first frequency threshold value and a frequency value smaller than the second frequency threshold value exist in the frequency corresponding to the brain waves collected in the preset time;
the state adjustment module 140 may include:
the second music adjusting unit is used for playing music which enables the frequency corresponding to the brain waves of the user to be smaller than a second frequency threshold;
or,
and the second desktop adjusting unit is used for changing the current desktop background of the electronic equipment so as to enable the frequency corresponding to the brain waves of the user to be smaller than a second frequency threshold.
The parameter value determining module 120 may include:
and the amplitude determining unit is used for analyzing the collected brain waves to acquire the corresponding amplitude of the brain waves.
Accordingly, the determining module 130 may include:
the first amplitude judging unit is used for judging whether the amplitudes corresponding to the brain waves collected within the preset time are all larger than a first amplitude threshold value;
the state adjustment module 140 may include:
a first music adjusting unit for playing music with amplitude corresponding to the brain waves of the user larger than a first amplitude threshold;
or,
the first desktop adjusting unit is used for changing the current desktop background of the electronic equipment so that the corresponding amplitude of the brain waves of the user is larger than a first amplitude threshold value.
Accordingly, the determining module 130 may include:
the second amplitude judgment unit is used for judging whether an amplitude value larger than the first amplitude threshold value and an amplitude value smaller than the second amplitude threshold value exist in the amplitude corresponding to the brain waves collected in a preset time;
the state adjustment module 140 may include:
a second music adjusting unit, configured to play music with an amplitude corresponding to the brain waves of the user smaller than a second amplitude threshold;
or,
and the second desktop adjusting unit is used for changing the current desktop background of the electronic equipment so as to enable the corresponding amplitude of the brain waves of the user to be smaller than a second amplitude threshold value.
For device or system embodiments, as they correspond substantially to method embodiments, reference may be made to the method embodiments for some of their descriptions. The above-described embodiments of the apparatus or system are merely illustrative, and the units described as separate parts may or may not be physically separate, and the 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways without departing from the spirit and scope of the present application. The present embodiment is an exemplary example only, and should not be taken as limiting, and the specific disclosure should not be taken as limiting the purpose of the application. For example, the division of the unit or the sub-unit is only one logical function division, and there may be another division manner in actual implementation, for example, a plurality of units or a plurality of sub-units are combined together. In addition, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
Additionally, the systems, apparatus, and methods described, as well as the illustrations of various embodiments, may be combined or integrated with other systems, modules, techniques, or methods without departing from the scope of the present application. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The foregoing is directed to embodiments of the present invention, and it is understood that various modifications and improvements can be made by those skilled in the art without departing from the spirit of the invention.