Summary of the invention
It is mutual during increase psychological counseling the object of the present invention is to provide a kind of psychological venting exchange method and its device
Dynamic property.
The solution that the present invention solves its technical problem is: on the one hand, a kind of psychological venting friendship based on scream sound
Mutual method, comprising:
Step 1, the mood intensity grade for obtaining user's selection;
Step 2, pop-up starts instruction selection interface of shouting loudly in screen;
Step 3 obtains the instruction selection interface that starts to shout loudly that user persistently triggers;
Step 4, the scream voice signal for obtaining user;
Step 5 extracts tone, loudness and scream voice signal duration from the scream voice signal, wherein
Scream voice signal duration is denoted as time T;
Step 6 updates mood intensity grade;
Step 7, the first object set of creation and the second object set;
First object set and the second object set are displayed on the screen by step 8;
Step 9, when start shout loudly instruction selection interface stop triggering when, then screen pop-up continue shout loudly instruction selection connect
Mouth and end, which shout loudly to instructing, selects interface, after user's triggering, which continues scream instruction, selects interface, then enters step 10, works as user
After triggering terminates scream instruction selection interface, then 11 are entered step;
Step 10 judges whether mood intensity grade reaches highest, when mood intensity grade reaches the superlative degree, then returns
Step 2 is then returned to when mood degree does not reach the superlative degree to step 1;
Step 11 shows in screen and shares current mood intensity grade to the operation interface of social software;
Wherein, first object set includes the identical subobject of multiple appearances, in first object set, son
The quantity of object is determined by mood intensity grade;It include the identical object module of multiple appearances in second object set,
In second object set, the quantity of object module is determined by the grade classification of tone, the longitudinal ruler of the object module
Degree is determined that the scream sound refers to >=70 decibels of sound by the grade classification of loudness.
Further, in step 6, the method for updating mood intensity grade includes: to incite somebody to action when the time T reaches 20 seconds
Mood intensity grade increases level-one, and later time T is every to be increased by 10 seconds, and mood intensity grade then increases level-one.
Further, in step 6, the method for updating mood intensity grade includes: when loudness reaches 90 decibels, by mood
Intensity grade increases level-one, and later time T is every to be increased by 10 seconds, and mood intensity grade increases level-one.
Further, second object set further includes background, image the holding according to scream voice signal of the background
Continuous constantly switching.
Further, the background is the lantern slide or video flowing played.
Further, the social software includes: one of wechat, QQ or Sina weibo.
Further, in step 4, the scream voice signal of acquisition is lasting signal, and the lasting signal refers to
Interruption between scream voice signal is no more than 2 seconds.
Further, start shout loudly instruction selection interface, continue shout loudly instruction selection interface and terminate shout loudly instruction selection connect
The face shaping of the interactive interface of mouth is button-like.
Further, the mood intensity grade is divided into 11 grades.
On the other hand, a kind of psychological venting interactive device based on scream sound, comprising: mood intensity grade obtains mould
Block starts to shout loudly instruction selection interface module, scream sound acquisition module, scream sound processing module, mood intensity grade more
New module, object set creation module, continuing to shout loudly to instruct selects interface module, end scream instruction to select interface module and divide
Enjoy operation interface module;
The mood degree obtains the mood intensity grade that module is used to obtain user's selection;
The instruction selection interface module that starts to shout loudly is for receiving the lasting triggering of user;
The scream sound obtains the scream voice signal that module is used to obtain user;
The scream sound processing module is used to extract tone, loudness and hubbub message from the scream voice signal
Number duration, wherein scream voice signal duration is denoted as time T;
The mood grade update module is for updating mood intensity grade;
The object set creation module is for creating the first object set and the second object set;
The instruction selection interface module that continues to shout loudly is for receiving the triggering of user;
The instruction selection interface module that terminates to shout loudly is for receiving the triggering of user;
The sharing operation interface module is used to receive the triggering of user;
Wherein, first object set includes the identical subobject of multiple appearances, in first object set, son
The quantity of object is determined by mood intensity grade;It include the identical object module of multiple appearances in second object set,
In second object set, the quantity of object module is determined by the grade classification of tone, the longitudinal ruler of the object module
Degree is determined that the scream sound refers to >=70 decibels of sound by the grade classification of loudness.
The beneficial effects of the present invention are: by psychological venting exchange method and device based on scream sound, by people and machine
Device is interacted, and user is facilitated to carry out psychological venting, increases entertainment.
Specific embodiment
It is carried out below with reference to technical effect of the embodiment to design of the invention, specific structure and generation clear, complete
Ground description, to be completely understood by the purpose of the present invention, feature and effect.Obviously, described embodiment is of the invention one
Section Example, rather than whole embodiments, based on the embodiment of the present invention, those skilled in the art are not paying creativeness
Other embodiments obtained, belong to the scope of protection of the invention under the premise of labour.In addition, what is be previously mentioned in text is all
/ connection relationship is connect, not singly refers to that component directly connects, and referring to can be according to specific implementation situation, by adding or reducing connection
Auxiliary, Lai Zucheng more preferably coupling structure.Each technical characteristic in the invention, under the premise of not conflicting conflict
It can be with combination of interactions.
A kind of psychological venting exchange method based on scream sound, wherein this method comprises:
Step 1, the mood intensity grade for obtaining user's selection;
Specifically, the mood intensity grade that user selects input can be obtained from human-computer interaction interface, as initial
Mood intensity grade.Wherein, initial mood intensity grade can be selected by the option pre-set, in certain realities
It applies in mode, mood intensity grade is divided into 11 grades, therefore, in the option pre-set, has 11 mood intensity grade
Option is selected by the scale of 0-10, and 0 indicates that mood is excessively poor, and scale is higher, and mood intensity grade is higher, wherein scale
10 indicate in high spirits.
Step 2, pop-up starts instruction selection interface of shouting loudly in screen;
After initial mood intensity grade obtains, pop-up starts instruction selection interface of shouting loudly in screen.This connects
Mouth is presented in screen in the form of button, so that user triggers.
Step 3 obtains the instruction selection interface that starts to shout loudly that user persistently triggers;
Specifically, user, in the form of sustained hold button, triggering starts instruction selection interface of shouting loudly.
Step 4, the scream voice signal for obtaining user;
Specifically, obtaining the voice signal that user shouts loudly from microphone, wherein the sound of the scream refers to >=70
The sound of decibel.
Step 5 extracts tone, loudness and scream voice signal duration from the scream voice signal, wherein
Scream voice signal duration is denoted as time T;
Step 6 updates mood intensity grade;
Specifically, update mood intensity grade method can there are two types of, first method are as follows: when the time T reaches
At 20 seconds, mood intensity grade is increased into level-one, later time T is every to be increased by 10 seconds, and mood intensity grade then increases level-one.Second
Kind method are as follows: when loudness reaches 90 decibels, mood intensity grade is increased into level-one, later time T is every to be increased by 10 seconds, mood journey
It spends grade and increases level-one.Two methods alternative.
Step 7, the first object set of creation and the second object set;
Wherein, first object set includes the identical subobject of multiple appearances, in first object set, son
The quantity of object is determined by mood intensity grade.
In the present embodiment, the first object set is the big tree-model that several leaf models are constituted, wherein subobject
For leaf model, the first object set embodies big tree from no leaf to the process of luxuriant leaf.Wherein, the quantity of subobject is by mood
Intensity grade is determined that in the present embodiment, mood intensity grade is divided into 11 grades.When mood intensity grade is 0 grade, leaf mould
The quantity of type is 0, and when mood intensity grade is 1 grade, the quantity of leaf model is 5;When mood intensity grade is 2 grades, leaf
The quantity of submodel is 10;When mood intensity grade is 3 grades, the quantity of leaf model is 15;When mood intensity grade is 4 grades
When, the quantity of leaf model is 20;When mood intensity grade is 5 grades, the quantity of leaf model is 25;When mood intensity grade
When being 6 grades, the quantity of leaf model is 30;When mood intensity grade is 7 grades, the quantity of leaf model is 35;When mood journey
When degree grade is 8 grades, the quantity of leaf model is 40;When mood intensity grade is 9 grades, the quantity of leaf model is 45;When
When mood intensity grade is 10 grades, the quantity of leaf model is 50.
Second object set includes the identical object module of multiple appearances, in second object set, object
The quantity of module is determined that the vertical scale of the object module is determined by the grade classification of loudness by the grade classification of tone.
In the present embodiment, the second object set is the fountain model that several water column models are constituted, wherein object mould
Block is water column model.
The quantity of water column model is determined by the grade classification of current pitch in the fountain model, in the present embodiment, institute
The rank division method for stating tone includes: that tone is divided into 11 grades, be respectively as follows: the first estate tone be less than≤
1000Hz, the second grade tone > 1000Hz and≤2000Hz, tertiary gradient tone > 2000Hz and≤3000Hz, the fourth estate
Tone > 3000Hz and≤4000Hz, the 5th grade tone > 4000Hz and≤5000Hz, the 6th grade tone > 5000Hz and
≤ 6000Hz, the 7th grade tone > 6000Hz and≤7000Hz, the 8th grade tone > 7000Hz and≤8000Hz, 9th etc.
Grade tone > 8000Hz and≤9000Hz, the tenth grade tone > 9000Hz and≤10000Hz, the 11st grade tone >
10000Hz.The quantity of water column model is depending on the grade of tone, for example, then tonal gradation is when current pitch is 1100Hz
Second grade, the i.e. quantity of water column model are 2;When tone is 12000Hz, then tonal gradation is the 11st grade, i.e. water
The quantity of column model is 11.It corresponds in this way.
The vertical scale of water column model is determined by the grade classification of loudness.In the present embodiment, the grade of the loudness is drawn
Point method includes: that loudness is divided into 5 grades, is respectively as follows: the first estate loudness and is less than≤80db, the second grade loudness >
80db and≤90db, tertiary gradient loudness > 90db and≤100db, fourth estate loudness > 100db and≤110db, 5th etc.
Grade loudness > 110db.The vertical scale of water column model is depending on the grade of loudness.Db is decibel.In the present embodiment, by water
The vertical scale of column model is divided into 5 kinds, respectively 6mm, 12mm, 18mm, 24mm and 30mm, and mm is millimeter.According to loudness etc.
Grade divides the vertical scale for determining water column model, that is, for example, then loudness scale is the first estate when current loudness is 80db,
I.e. the vertical scale of water column model is 6mm;When current loudness is 95db, then loudness scale is the tertiary gradient, i.e. water column model
Vertical scale is 18mm.It corresponds in this way.
First object set and the second object set are displayed on the screen by step 8;
Step 9, when start shout loudly instruction selection interface stop triggering when, then screen pop-up continue shout loudly instruction selection connect
Mouth and end, which shout loudly to instructing, selects interface, after user's triggering, which continues scream instruction, selects interface, then enters step 10, works as user
After triggering terminates scream instruction selection interface, then 11 are entered step;
Step 10 judges whether mood intensity grade reaches highest, when mood intensity grade reaches the superlative degree, then returns
Step 2 is then returned to when mood degree does not reach the superlative degree to step 1.
Step 11 shows in screen and shares current mood intensity grade to the operation interface of social software.Wherein,
The social software includes: one of wechat, QQ or Sina weibo.
Current mood intensity grade can be shared, increase man-machine interactivity by the operation interface of social software.
In the embodiment of certain optimizations, second object set further includes background, the image of the background according to
The constant switching of scream voice signal.Wherein, the image of background can reflect successively from meadow to trees again to blue sky and white cloud
The mood variation of user out.
Wherein, as the embodiment of optimization, the background is the lantern slide or video flowing played.
As the embodiment of optimization, in step 4, the scream voice signal of acquisition is lasting signal, described lasting
Signal refer to the interruption between scream voice signal be no more than 2 seconds.By the way that scream voice signal is set as lasting letter
Number, a restriction can be carried out to user behavior, increase human-computer interaction.
As the embodiment of optimization, starting to shout loudly instructs selection interface, continues shout loudly instruction selection interface and end
The face shaping for crying out the interactive interface of instruction selection interface is button-like.
A kind of psychological venting interactive device based on scream sound, described device are above-mentioned based on scream sound for executing
Psychological venting exchange method, wherein described device include: mood intensity grade obtain module, start shout loudly instruction selection connect
Mouth mold block, scream sound obtain module, scream sound processing module, mood intensity grade update module, object set and create mould
Block continues shout loudly instruction selection interface module, end scream instruction selection interface module and sharing operation interface module.
The mood degree obtains the mood intensity grade that module is used to obtain user's selection;
The instruction selection interface module that starts to shout loudly is for receiving the lasting triggering of user;
The scream sound obtains the scream voice signal that module is used to obtain user;
The scream sound processing module is used to extract tone, loudness and hubbub message from the scream voice signal
Number duration, wherein scream voice signal duration is denoted as time T;
The mood grade update module is for updating mood intensity grade;
The object set creation module is for creating the first object set and the second object set;
The instruction selection interface module that continues to shout loudly is for receiving the triggering of user;
The instruction selection interface module that terminates to shout loudly is for receiving the triggering of user;
The sharing operation interface module is used to receive the triggering of user.
Wherein, first object set includes the identical subobject of multiple appearances, in first object set, son
The quantity of object is determined by mood intensity grade;It include the identical object module of multiple appearances in second object set,
In second object set, the quantity of object module is determined by the grade classification of tone, the longitudinal ruler of the object module
Degree is determined that the scream sound refers to >=70 decibels of sound by the grade classification of loudness
A kind of psychological venting interactive device based on scream sound can run on desktop PC, notebook,
Palm PC and cloud server etc. calculate in equipment.A kind of psychological venting interactive device based on scream sound, can transport
Capable device may include, but be not limited only to, processor, memory.It will be understood by those skilled in the art that the example is only
A kind of example of the psychological venting interactive device based on scream sound, is not constituted to a kind of psychological venting based on scream sound
The restriction of interactive device may include component more more or fewer than example, perhaps combine certain components or different portions
Part, such as a kind of psychological venting interactive device based on scream sound can also include input-output equipment, network insertion
Equipment, bus etc..
Alleged processor can be central processing module (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng, the processor is a kind of control centre of psychological venting interactive device running gear based on scream sound, utilize
The entire a kind of psychological venting interactive device based on scream sound of various interfaces and connection can running gear various pieces.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
A kind of various functions of the psychological venting interactive device based on scream sound.The memory can mainly include storing program area and
Storage data area, wherein storing program area can application program needed for storage program area, at least one function (for example shout loudly
Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone
Such as audio data, phone directory) etc..In addition, memory may include high-speed random access memory, it can also include non-volatile
Property memory, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other
Volatile solid-state part.
Better embodiment of the invention is illustrated above, but the invention is not limited to the implementation
Example, those skilled in the art can also make various equivalent modifications on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent variation or replacement are all included in the scope defined by the claims of the present application.