CN109951607A - A kind of content processing method, terminal and computer readable storage medium - Google Patents
A kind of content processing method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109951607A CN109951607A CN201910247220.7A CN201910247220A CN109951607A CN 109951607 A CN109951607 A CN 109951607A CN 201910247220 A CN201910247220 A CN 201910247220A CN 109951607 A CN109951607 A CN 109951607A
- Authority
- CN
- China
- Prior art keywords
- user
- content
- emotional state
- terminal
- instruction
- 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.)
- Granted
Links
Abstract
The embodiment of the invention discloses a kind of content processing methods, are applied to terminal, this method comprises: obtaining the emotional state of user when receiving the permanent delet instruction to terminal content;By the emotional state compared with default mood library pair;Corresponding contents processing rule is determined according to comparison result;Respective handling is carried out to the content according to the contents processing rule.The embodiment of the present invention also discloses a kind of terminal and computer readable storage medium, in the pre- execution permanent delet instruction to content of user, judged using the terminal emotional state current to user, permanent delet instruction only is executed to content in the case where user emotion is in good condition, the problem of effective solution user deletes content when mood is uncontrolled, can not but give for change afterwards.
Description
Technical field
The present invention relates to field of terminal technology more particularly to a kind of content processing methods, terminal and computer-readable storage
Medium.
Background technique
As the rapid development mobile phone of electronic technology has become indispensable a part in people's life, its function
It has not been simply to make a phone call and send short messages, while also carrying the memory in user job and life, has had recorded user in day
Dribs and drabs in normal life and work.
When Android mobile phone deletes the related datas such as user mobile phone photograph album, video at present, such data can be placed on recycle bin
In, and recycle bin has certain retention period, and after being more than the time limit, data in recycle bin are by automatic permanent delet.And
In the time limit, user can enter recycle bin and check the photo deleted recently, the contents such as video, if user is deleted again,
After then this time deleting, this type of information will be permanently deleted, and be not easy to give for change.In particular, relatively swashing when user is currently at mood
It is dynamic, it is angry, when sad, the contents such as photo, the video for deleting related person of acting on impulse are easy, and recycle bin is gone permanently to delete
Except this content, even if regret afterwards, the contents such as the photo of permanent delet, video also will be unable to restore to give for change user under desperation.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of content processing method, terminal and computer-readable storage mediums
Matter, solve the problems in prior art, and effective solution user deletes content when mood is uncontrolled, can not look for afterwards
The problem of returning.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
In a first aspect, providing a kind of content processing method, it is applied to terminal, which comprises
When receiving the permanent delet instruction to terminal content, the emotional state of user is obtained;
By the emotional state compared with default mood library pair;
Corresponding contents processing rule is determined according to comparison result;
Respective handling is carried out to the content according to the contents processing rule.
Optionally, unhealthy emotion state is prestored in the default mood library, it is described by the emotional state and default feelings
Xu Ku is compared to including:
By the emotional state compared with the unhealthy emotion state in the default mood library pair;
Determine whether the emotional state is unhealthy emotion state.
Optionally, described to determine that corresponding contents processing rule includes: according to comparison result
When the emotional state be unhealthy emotion state when, the corresponding contents processing rule be to the content forever
Instruction is deleted long to be adjusted;
When the emotional state is not belonging to unhealthy emotion state, the corresponding contents processing rule is to the content
Execute permanent delet instruction.
Optionally, described when the emotional state is unhealthy emotion state, the corresponding contents processing rule is pair
The permanent delet instruction of the content, which is adjusted, includes:
Crash handling is carried out to the permanent delet instruction of the content;
Or false delete processing is carried out to the content according to permanent delet instruction.
Optionally, the emotional state for obtaining user includes:
Obtain the usage history information of user in preset time range;
The emotional state of user is determined according to the usage history information.
Optionally, the emotional state that user is determined according to the usage history information includes:
Acquire the mood related information of the usage history information;
The emotional state of user is determined according to the mood related information.
Optionally, the usage history information is chat message and/or browsing information.
Optionally, the emotional state for obtaining user includes:
By the camera of the terminal, the facial information of user is obtained;
The emotional state of user is determined according to the facial information of the user.
Second aspect, provides a kind of terminal, and the terminal includes: memory, processor and communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is for executing the content processing program stored in the memory, to realize above-mentioned first aspect institute
The step of content processing method stated.
The third aspect, provides a kind of computer readable storage medium, and the computer-readable recording medium storage has one
Or multiple programs, one or more of programs can be executed by one or more processor, to realize above-mentioned first party
The step of content processing method in face.
The embodiment of the invention provides a kind of content processing method, terminal and computer readable storage medium are applied to eventually
End.By obtaining the emotional state of user when receiving the permanent delet instruction to terminal content;By the emotional state with
Default mood library compared to pair;Corresponding contents processing rule is determined according to comparison result;According to the contents processing rule to institute
It states content and carries out respective handling.In the pre- execution permanent delet instruction to content of user, the terminal mood current to user is utilized
State is judged, only executes permanent delet instruction, effective solution to content in the case where user emotion is in good condition
The problem of user deletes content when mood is uncontrolled, can not give for change afterwards.
Detailed description of the invention
Fig. 1 is a kind of hardware structural diagram of terminal provided in an embodiment of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram one of content processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram two of content processing method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram three of content processing method provided in an embodiment of the present invention;
Fig. 6 is a kind of flow diagram four of content processing method provided in an embodiment of the present invention;
Fig. 7 is a kind of flow diagram five of content processing method provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of terminal of the embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
Referring to Fig. 3, Fig. 3 is a kind of flow chart one of content processing method provided in an embodiment of the present invention, the embodiment
Method once triggered by user, then the process in the embodiment passes through terminal automatic running, wherein each step is in operation
When can be and successively carried out according to the sequence in such as flow chart, be also possible to multiple steps according to the actual situation while carrying out,
Herein and without limitation.As shown in figure 3, method includes the following steps:
Step S301: when receiving the permanent delet instruction to terminal content, the emotional state of user is obtained.
In embodiments of the present invention, when terminal receives the permanent delet instruction to content, the feelings of user are actively obtained
Not-ready status.The content includes picture, photo, chat record, downloading content, cache contents etc..In the prior art, user is in head
When the contents such as secondary deletion picture, photo, which can be placed in recycle bin or dustbin, when user is again from recycle bin or rubbish
When deleting the content in rubbish case, which is permanent delet.Alternatively, some contents will not be placed on back when deleting for the first time
It receives in station or dustbin, but directly deletes, such situation also belongs to permanent delet.Therefore, terminal is receiving deleting for user
When except instruction, whether be permanent delet instruction judge, however, it is determined that deletion instruction is permanent delet if need to instruct to the deletion
Instruction, then obtain the emotional state of user.
In embodiments of the present invention, what terminal obtained is the current or recent emotional state of user, by user's
The judgement of emotional state instructs to be confirmed whether to execute permanent delet, avoids user's permanent delet content under unhealthy emotion state
Afterwards, the later period can not be given for change.
Step S302: by emotional state compared with default mood library couple.
In embodiments of the present invention, the current or recent emotional state of the user that will acquire is compared with default mood library
It is right, a variety of different emotional states are stored in advance in default mood library, and emotional state is subjected to classification according to different type and is deposited
Storage, for example, the moods such as glad, happy, pleasure are stored according to good mood, the moods such as low, sad, sad are according to unhealthy emotion
Storage, tranquil, the moods such as peace and quiet are stored according to normal mood.Terminal by the emotional state of user with carried out the pre- of classification storage
If mood library compared to pair.
Step S303: corresponding contents processing rule is determined according to comparison result.
In embodiments of the present invention, after the emotional state of user being compared with default mood library, terminal is according to comparison
Result determine that corresponding contents processing rule can be true after that is, terminal compares the emotional state of user and default mood library
The emotional state for determining user is the mood of which kind preset in mood library, is matched in different according to different types of mood
Hold processing rule.
Step S304: respective handling is carried out to content according to contents processing rule.
In embodiments of the present invention, after being determined according to the emotional state of user to the processing of content rule, terminal according to
Corresponding processing rule performs corresponding processing content.
Referring to Fig. 4, Fig. 4 is a kind of flow diagram two of content processing method provided in an embodiment of the present invention, such as scheme
Shown, this method can also be refined as following steps:
Step S3021: by emotional state compared with the unhealthy emotion state in default mood library couple.
In embodiments of the present invention, it presets in mood library and is previously stored with this classification of unhealthy emotion state.By user's
Emotional state is compared with the unhealthy emotion state in default mood library.For example, the current emotional state of user is sadness, then
The sad mood and being in a bad mood in unhealthy emotion state in default mood library are compared one by one, confirm the sad mood
Whether in unhealthy emotion state.
Step S3022: determine whether emotional state is unhealthy emotion state.
In embodiments of the present invention, by emotional state compared with the unhealthy emotion state in default mood library to rear, if should
Emotional state can then confirm that the current emotional states of user are unhealthy emotion shape in the unhealthy emotion state in default mood library
State thens follow the steps S3031.If the emotional state is not in the unhealthy emotion state in default mood library, emotional state is not
Belong to unhealthy emotion state, thens follow the steps S3032.
Step S3031: when emotional state is unhealthy emotion state, the permanent delet instruction of content is adjusted.
In embodiments of the present invention, when the emotional state for confirming user is unhealthy emotion state, then terminal is not held directly
Row instructs the permanent delet of user's chosen content, but is adjusted to permanent delet instruction.Specifically, to the permanent of content
It deletes instruction and carries out crash handling, for example, that is, pre- permanent delet should when user deletes the photo in recycle bin or dustbin
When photo, the current mood of user is detected as sad, sad mood, then terminal can forbid user to use the photo permanent
Delete function.
In other embodiments of the present invention, being adjusted to the permanent delet instruction of content further includes being referred to according to permanent delet
It enables and false delete processing is carried out to content.For example, when detecting the mood that the current mood of user is sad, sad, eventually
End still executes permanent delet instruction, but before executing permanent delet instruction, the content that user selectes is backed up in advance, and hidden
It conceals, after a certain time, such as a week, after one month, then the content of backup is shown.The present invention other
In embodiment, when detecting the mood that the current mood of user is sad, sad, backstage is automatically by permanent delet instruction modification
For hide instruction, but still by permanent delet instruction in the form of or entrance or description display, i.e., when user to content execute forever
When deleting instruction long, because user is unhappy at this time, then what is executed on surface is in permanent delet instruction, and reality is to the content
It is hidden, after a certain time, such as a week, after one month, then hiding content is shown.
In other embodiments of the present invention, when detect user under unhealthy emotion state to content execute permanent delet refer to
When enabling, terminal can repeatedly remind user, to confirm whether user has to execute permanent delet instruction.For example, terminal
User can be reminded to carry out permanent delet instruction with the incremental tone, in user's selection permanent delet instruction for the first time,
It being reminded with " whether carrying out permanent delet ", user selects "Yes", then is reminded with " whether really carrying out permanent delet ",
If user's reselection "Yes", reminded etc. with " whether adhering to carrying out permanent delet ".
Step S3032: when emotional state is not belonging to unhealthy emotion state, permanent delet instruction is executed to content.
In embodiments of the present invention, when the current emotional state of user is not belonging to unhealthy emotion state, then according to normal
Process flow executes permanent delet instruction to content.
In other embodiments of the present invention, to avoid user from accidentally deleting, before executing permanent delet instruction, terminal can be to user
It is reminded, can not be given for change to avoid after deletion, this process has been the prior art, and details are not described herein.
Referring to Fig. 5, Fig. 5 is a kind of flow diagram three of content processing method provided in an embodiment of the present invention, such as scheme
It is shown, it is described obtain user emotional state when, this method is further comprising the steps of:
Step S3011: the usage history information of user in preset time range is obtained.
In embodiments of the present invention, terminal determines the mood of user by the historical information of the using terminal of acquisition user
State, for the accuracy for improving the emotional state obtained, terminal obtains the usage history information of user in preset time range.
The preset time range can be 2 hours, half a day, one day etc..It can be by user's self-setting or adjustment.
Step S3012: the emotional state of user is determined according to usage history information.
In embodiments of the present invention, usage history information is chat message and/or browsing information.It is then recent according to user
Chat message and/or browsing information determine the emotional state of user.Chat message includes the chat content of all communication softwares, clear
Information of looking at includes the webpage of user's browsing, the song of browsing, video etc..
Referring to Fig. 6, Fig. 6 is a kind of flow diagram four of content processing method provided in an embodiment of the present invention, step
S3012 further include:
Step S401: the mood related information of acquisition usage history information.
In embodiments of the present invention, it acquires chat message and/or browses the mood related information of information.Mood association letter
Breath is all relevant informations that can obtain mood.For example, the mood related information of chat message may include in chat process
Picture, expression indicate that the word or sentence of mood can also then obtain the tone etc. in voice messaging if voice messaging,
Even if call or chat message with other people videos, also the tone in available language and indicate mood word or
Sentence.The current emotional state of user is determined by the mood related information in above-mentioned chat message.
In other embodiments of the present invention, the mood related information for browsing information may include the sum occurred in browsing content
The related word of mood, picture, label, comment information etc., if browsing is song, also available tune, style of song etc., if
Video can also obtain barrage information etc..For example, browsing information is microblogging, then in the available microblogging text and mood
Word related with mood, expression in related word, expression, and comment.Browsing information is song, then obtains in the lyrics
The word for stating mood, to the expression etc. in the definition and comment of song.Browsing information is video, then obtains to video style
Definition, word related with mood, expression etc. in net exploxer comment.
Step S402: the emotional state of user is determined according to mood related information.
In embodiments of the present invention, after acquisition chat message and/or the mood related information of browsing information, according to mood
Related information determines the current emotional state of user.For example, obtaining the expression in chat message is " face of crying ", have in word similar
When the words such as " ", " unhappy ", " tired ", then it can determine that the emotional state of user is the emotional state of the low class of mood;It is clear
When information of looking at is video, the barrage in the video of acquisition be " heartily ha ha ha ", " making laugh to death ", video style are view of making laughs
Frequently, then the emotional state that can determine user is the emotional state of mood happiness class;It is bent where the song when browsing information is song
Library is the words such as type " calmness ", " peace and quiet " occur similar in " peace and quiet are fallen asleep " label, comment, then can determine the mood shape of user
State is the emotional state of calm class.
Referring to Fig. 7, Fig. 7 is a kind of flow diagram five of content processing method provided in an embodiment of the present invention, it is described
When obtaining the emotional state of user, this method is further comprising the steps of:
Step S501: by the camera of terminal, the facial information of user is obtained.
In embodiments of the present invention, in the pre- execution permanent delet instruction to content of user, terminal is detecting the instruction
When, terminal camera can be started, the face of user is directed at by camera, the face of user is taken pictures or imaged, from
The face-image of user is obtained in photo or video recording.The facial information of user is obtained by the analysis to user images.This portion
Dividing has been the prior art, and this will not be repeated here.
Step S502: the emotional state of user is determined according to the facial information of user.
In embodiments of the present invention, terminal presets mood-facial information corresponding relationship library, the table of typing in advance in the relationship library
Show the corresponding facial information of various moods, it, then can basis after obtaining the facial information of user by the analysis to user images
The mood-facial information corresponding relationship library determines the current emotional state of user.For example, the facial information of user includes " eyes
It is red and swollen " ", " tears " and " mouth sagging ", in mood-facial information corresponding relationship library " inflamed eyes " ", " tears " and " mouth
Angle is sagging " corresponding mood is " sad ", then it can determine that the emotional state of user is the emotional state of sad class.
The embodiment of the invention provides a kind of content processing method, terminal and computer readable storage medium are applied to eventually
End.By obtaining the emotional state of user when receiving the permanent delet instruction to terminal content;By the emotional state with
Default mood library compared to pair;Corresponding contents processing rule is determined according to comparison result;According to the contents processing rule to institute
It states content and carries out respective handling.In the pre- execution permanent delet instruction to content of user, the terminal mood current to user is utilized
State is judged, only executes permanent delet instruction, effective solution to content in the case where user emotion is in good condition
The problem of user deletes content when mood is uncontrolled, can not give for change afterwards.
Embodiment two
According to a second aspect of the embodiments of the present invention, a kind of terminal is additionally provided, Fig. 8 is in provided in an embodiment of the present invention
The structural schematic diagram of the terminal 100 of content processing method, including processor 110, memory 109 and communication bus 112;
Communication bus 112 is for realizing the connection communication between processor 110 and memory 109;
Processor 110 is for executing the content processing program stored in memory 109, to perform the steps of
When receiving the permanent delet instruction to terminal content, the emotional state of user is obtained;
By the emotional state compared with default mood library pair;
Corresponding contents processing rule is determined according to comparison result;
Respective handling is carried out to the content according to the contents processing rule.
Optionally, unhealthy emotion state is prestored in the default mood library, it is described by the emotional state and default feelings
Xu Ku is compared to including:
By the emotional state compared with the unhealthy emotion state in the default mood library pair;
Determine whether the emotional state is unhealthy emotion state.
Optionally, described to determine that corresponding contents processing rule includes: according to comparison result
When the emotional state be unhealthy emotion state when, the corresponding contents processing rule be to the content forever
Instruction is deleted long to be adjusted;
When the emotional state is not belonging to unhealthy emotion state, the corresponding contents processing rule is to the content
Execute permanent delet instruction.
Optionally, described when the emotional state is unhealthy emotion state, the corresponding contents processing rule is pair
The permanent delet instruction of the content, which is adjusted, includes:
Crash handling is carried out to the permanent delet instruction of the content;
Or false delete processing is carried out to the content according to permanent delet instruction.
Optionally, the emotional state for obtaining user includes:
Obtain the usage history information of user in preset time range;
The emotional state of user is determined according to the usage history information.
Optionally, the emotional state that user is determined according to the usage history information includes:
Acquire the mood related information of the usage history information;
The emotional state of user is determined according to the mood related information.
Optionally, the usage history information is chat message and/or browsing information.
Optionally, the emotional state for obtaining user includes:
By the camera of the terminal, the facial information of user is obtained;
The emotional state of user is determined according to the facial information of the user.
The embodiment of the invention provides a kind of content processing method, terminal and computer readable storage medium are applied to eventually
End.By obtaining the emotional state of user when receiving the permanent delet instruction to terminal content;By the emotional state with
Default mood library compared to pair;Corresponding contents processing rule is determined according to comparison result;According to the contents processing rule to institute
It states content and carries out respective handling.In the pre- execution permanent delet instruction to content of user, the terminal mood current to user is utilized
State is judged, only executes permanent delet instruction, effective solution to content in the case where user emotion is in good condition
The problem of user deletes content when mood is uncontrolled, can not give for change afterwards.
Embodiment three
According to a third aspect of the embodiments of the present invention, a kind of computer readable storage medium is additionally provided, which can
It reads storage medium and is stored with one or more program, one or more program can be executed by one or more processor,
To perform the steps of
When receiving the permanent delet instruction to terminal content, the emotional state of user is obtained;
By the emotional state compared with default mood library pair;
Corresponding contents processing rule is determined according to comparison result;
Respective handling is carried out to the content according to the contents processing rule.
Optionally, unhealthy emotion state is prestored in the default mood library, it is described by the emotional state and default feelings
Xu Ku is compared to including:
By the emotional state compared with the unhealthy emotion state in the default mood library pair;
Determine whether the emotional state is unhealthy emotion state.
Optionally, described to determine that corresponding contents processing rule includes: according to comparison result
When the emotional state be unhealthy emotion state when, the corresponding contents processing rule be to the content forever
Instruction is deleted long to be adjusted;
When the emotional state is not belonging to unhealthy emotion state, the corresponding contents processing rule is to the content
Execute permanent delet instruction.
Optionally, described when the emotional state is unhealthy emotion state, the corresponding contents processing rule is pair
The permanent delet instruction of the content, which is adjusted, includes:
Crash handling is carried out to the permanent delet instruction of the content;
Or false delete processing is carried out to the content according to permanent delet instruction.
Optionally, the emotional state for obtaining user includes:
Obtain the usage history information of user in preset time range;
The emotional state of user is determined according to the usage history information.
Optionally, the emotional state that user is determined according to the usage history information includes:
Acquire the mood related information of the usage history information;
The emotional state of user is determined according to the mood related information.
Optionally, the usage history information is chat message and/or browsing information.
Optionally, the emotional state for obtaining user includes:
By the camera of the terminal, the facial information of user is obtained;
The emotional state of user is determined according to the facial information of the user.
The embodiment of the invention provides a kind of content processing method, terminal and computer readable storage medium are applied to eventually
End.By obtaining the emotional state of user when receiving the permanent delet instruction to terminal content;By the emotional state with
Default mood library compared to pair;Corresponding contents processing rule is determined according to comparison result;According to the contents processing rule to institute
It states content and carries out respective handling.In the pre- execution permanent delet instruction to content of user, the terminal mood current to user is utilized
State is judged, only executes permanent delet instruction, effective solution to content in the case where user emotion is in good condition
The problem of user deletes content when mood is uncontrolled, can not give for change afterwards.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of content processing method is applied to terminal, which is characterized in that the described method includes:
When receiving the permanent delet instruction to terminal content, the emotional state of user is obtained;
By the emotional state compared with default mood library pair;
Corresponding contents processing rule is determined according to comparison result;
Respective handling is carried out to the content according to the contents processing rule.
2. content processing method according to claim 1, which is characterized in that prestore bad feelings in the default mood library
Not-ready status, it is described by the emotional state compared with default mood library to including:
By the emotional state compared with the unhealthy emotion state in the default mood library pair;
Determine whether the emotional state is unhealthy emotion state.
3. content processing method according to claim 2, which is characterized in that described to be determined in corresponding according to comparison result
Holding processing rule includes:
When the emotional state is unhealthy emotion state, the corresponding contents processing rule is permanently deleting to the content
Except instruction is adjusted;
When the emotional state is not belonging to unhealthy emotion state, the corresponding contents processing rule is to execute to the content
Permanent delet instruction.
4. content processing method according to claim 3, which is characterized in that described when the emotional state is unhealthy emotion
When state, the corresponding contents processing rule is to be adjusted to include: to the permanent delet instruction of the content
Crash handling is carried out to the permanent delet instruction of the content;
Or false delete processing is carried out to the content according to permanent delet instruction.
5. content processing method according to claim 1, which is characterized in that it is described obtain user emotional state include:
Obtain the usage history information of user in preset time range;
The emotional state of user is determined according to the usage history information.
6. content processing method according to claim 5, which is characterized in that described to be determined according to the usage history information
The emotional state of user includes:
Acquire the mood related information of the usage history information;
The emotional state of user is determined according to the mood related information.
7. content processing method according to claim 5, which is characterized in that the usage history information is chat message
And/or browsing information.
8. content processing method according to claim 1, which is characterized in that it is described obtain user emotional state include:
By the camera of the terminal, the facial information of user is obtained;
The emotional state of user is determined according to the facial information of the user.
9. a kind of terminal, which is characterized in that the terminal includes: memory, processor and communication bus;
The communication bus is for realizing the connection communication between the processor and the memory;
The processor is any in claim 1 to 8 to realize for executing the content processing program stored in the memory
The step of item content processing method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize in claim 1 to 8
The step of any one content processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910247220.7A CN109951607B (en) | 2019-03-29 | 2019-03-29 | Content processing method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910247220.7A CN109951607B (en) | 2019-03-29 | 2019-03-29 | Content processing method, terminal and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109951607A true CN109951607A (en) | 2019-06-28 |
CN109951607B CN109951607B (en) | 2021-01-26 |
Family
ID=67012760
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910247220.7A Active CN109951607B (en) | 2019-03-29 | 2019-03-29 | Content processing method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109951607B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011139552A3 (en) * | 2010-04-26 | 2012-03-01 | Yahoo! Inc. | Searching a user's online world |
CN102986200A (en) * | 2010-07-01 | 2013-03-20 | 诺基亚公司 | Responding to changes in emotional condition of a user |
CN103903627A (en) * | 2012-12-27 | 2014-07-02 | 中兴通讯股份有限公司 | Voice-data transmission method and device |
CN105187630A (en) * | 2015-07-31 | 2015-12-23 | 惠州Tcl移动通信有限公司 | Mobile terminal music saving method and system based on emotion recognition |
CN105354527A (en) * | 2014-08-20 | 2016-02-24 | 南京普爱射线影像设备有限公司 | Negative expression recognizing and encouraging system |
CN106202170A (en) * | 2016-06-24 | 2016-12-07 | 乐视控股(北京)有限公司 | Photo management method and photo management systems |
CN106791121A (en) * | 2016-12-27 | 2017-05-31 | 努比亚技术有限公司 | A kind of mobile terminal and file recovery method |
US20180019862A1 (en) * | 2016-07-15 | 2018-01-18 | New Jersey Institute Of Technology | Asynchronous wireless sensing |
US20180121045A1 (en) * | 2016-11-01 | 2018-05-03 | Hewlett Packard Enterprise Development Lp | Toggling application feature flags based on user sentiment |
JP2018157435A (en) * | 2017-03-17 | 2018-10-04 | ヤマハ株式会社 | Propagation path editing apparatus, impulse response calculating apparatus, propagation path editing method, and impulse response calculating method |
CN109299267A (en) * | 2018-10-16 | 2019-02-01 | 山西大学 | A kind of Emotion identification and prediction technique of text conversation |
-
2019
- 2019-03-29 CN CN201910247220.7A patent/CN109951607B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011139552A3 (en) * | 2010-04-26 | 2012-03-01 | Yahoo! Inc. | Searching a user's online world |
CN102986200A (en) * | 2010-07-01 | 2013-03-20 | 诺基亚公司 | Responding to changes in emotional condition of a user |
CN103903627A (en) * | 2012-12-27 | 2014-07-02 | 中兴通讯股份有限公司 | Voice-data transmission method and device |
CN105354527A (en) * | 2014-08-20 | 2016-02-24 | 南京普爱射线影像设备有限公司 | Negative expression recognizing and encouraging system |
CN105187630A (en) * | 2015-07-31 | 2015-12-23 | 惠州Tcl移动通信有限公司 | Mobile terminal music saving method and system based on emotion recognition |
CN106202170A (en) * | 2016-06-24 | 2016-12-07 | 乐视控股(北京)有限公司 | Photo management method and photo management systems |
US20180019862A1 (en) * | 2016-07-15 | 2018-01-18 | New Jersey Institute Of Technology | Asynchronous wireless sensing |
US20180121045A1 (en) * | 2016-11-01 | 2018-05-03 | Hewlett Packard Enterprise Development Lp | Toggling application feature flags based on user sentiment |
CN106791121A (en) * | 2016-12-27 | 2017-05-31 | 努比亚技术有限公司 | A kind of mobile terminal and file recovery method |
JP2018157435A (en) * | 2017-03-17 | 2018-10-04 | ヤマハ株式会社 | Propagation path editing apparatus, impulse response calculating apparatus, propagation path editing method, and impulse response calculating method |
CN109299267A (en) * | 2018-10-16 | 2019-02-01 | 山西大学 | A kind of Emotion identification and prediction technique of text conversation |
Also Published As
Publication number | Publication date |
---|---|
CN109951607B (en) | 2021-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109343775A (en) | Double screen terminal screen switching method, terminal and computer readable storage medium | |
CN109656371A (en) | Mobile terminal eye care method, device, mobile terminal and storage medium | |
CN110209456A (en) | Method, mobile terminal and the computer readable storage medium of the long screenshot of screen interface | |
CN109219004A (en) | Short message unsubscription method, device, mobile terminal and readable storage medium storing program for executing | |
CN108762631A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN109584897A (en) | Vedio noise reduction method, mobile terminal and computer readable storage medium | |
CN109729267A (en) | Filter selection method, mobile terminal and computer readable storage medium | |
CN109375846A (en) | Spirogram target display methods and device, mobile terminal and readable storage medium storing program for executing | |
CN108829302A (en) | A kind of interaction regulation method, equipment and computer readable storage medium | |
CN110347306A (en) | A kind of multi-screen display method, terminal and computer readable storage medium | |
CN109547637A (en) | A kind of message treatment method of mobile terminal, mobile terminal and storage medium | |
CN110020551A (en) | One kind preventing the method for divulging a secret, terminal and computer readable storage medium | |
CN109992156A (en) | A kind of false-touch prevention method, mobile terminal and computer readable storage medium | |
CN109522276A (en) | Application icon management method, terminal and computer readable storage medium | |
CN109101301A (en) | A kind of display control method, mobile terminal and computer readable storage medium | |
CN108196746A (en) | A kind of document presentation method and terminal, storage medium | |
CN109766211A (en) | Method, terminal and the storage medium of shuangping san false-touch prevention | |
CN110012155A (en) | A kind of call recording method, terminal and computer readable storage medium | |
CN109889646A (en) | A kind of call processing method, mobile terminal and storage medium | |
CN109711198A (en) | Application management method, mobile terminal and storage medium | |
CN109947523A (en) | Replicate method of attaching, terminal and computer readable storage medium | |
CN109683741A (en) | Function triggering method, device and computer readable storage medium | |
CN109918348A (en) | Method for cleaning, terminal and the computer readable storage medium of application-browsing record | |
CN108900696A (en) | A kind of data processing method, terminal and computer readable storage medium | |
CN109147006A (en) | A kind of image processing method, mobile terminal and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |