CN105262906B - A kind of processing method and processing device notifying the tinkle of bells - Google Patents

A kind of processing method and processing device notifying the tinkle of bells Download PDF

Info

Publication number
CN105262906B
CN105262906B CN201510816272.3A CN201510816272A CN105262906B CN 105262906 B CN105262906 B CN 105262906B CN 201510816272 A CN201510816272 A CN 201510816272A CN 105262906 B CN105262906 B CN 105262906B
Authority
CN
China
Prior art keywords
tinkle
bells
message
notice
mute
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.)
Expired - Fee Related
Application number
CN201510816272.3A
Other languages
Chinese (zh)
Other versions
CN105262906A (en
Inventor
韦宇杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510816272.3A priority Critical patent/CN105262906B/en
Publication of CN105262906A publication Critical patent/CN105262906A/en
Application granted granted Critical
Publication of CN105262906B publication Critical patent/CN105262906B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of processing method and processing device for notifying the tinkle of bells, comprising: receives the message that sending side terminal is sent;Message content is obtained from the message;Judge in the message content whether to include preset keyword;If it is judged that including preset keyword in the message content, then set mute for the notice the tinkle of bells of the message.Whether it is mute that the present invention can be controlled by sender user after this information reaches receiving side terminal, it is mute without being tuned into mobile terminal system of recipient user's active, so that mobile terminal is more humanized, the usage experience of user is greatly improved.

Description

A kind of processing method and processing device notifying the tinkle of bells
Technical field
The present invention relates to message the tinkle of bells processing technology field more particularly to a kind of processing method and processing devices for notifying the tinkle of bells.
Background technique
It in the prior art, can be by logical when mobile terminal such as mobile phone is when receiving short message and wechat message The tinkle of bells is known to remind mobile phone user to be currently received new information, it is noted that is checked.However, in certain occasions, for example, when meeting, stop When breath, when work etc., when a new message is received, mobile phone can give notice the tinkle of bells, will influence mobile phone user in this way, from And the place of inconvenience is brought to mobile phone user.To solve the above problems, currently, mobile phone user can only active it is prior by hand Machine is tuned into mute, i.e., the tinkle of bells of cell phone system is set to 0, sound will not all be had by no matter how receiving message in this way.
However, the recipient user of above scheme must actively go to adjust it is mute, when recipient user forgets in special occasions In advance by mobile phone be tuned into it is mute if, then when a new message is received, mobile phone can give notice the tinkle of bells, will influence in this way Mobile phone user.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of processing method and processing devices for notifying the tinkle of bells, it is intended to solve existing There is recipient user present in technology that must actively go to adjust mute, sound will not all be had by no matter how receiving message in this way;But Be when recipient user special occasions forget in advance to be tuned into mobile phone it is mute if, then when a new message is received, mobile phone Can give notice the tinkle of bells, will influence mobile phone user in this way, thus the problem of bringing inconvenience to mobile phone user.
In order to solve the above technical problems, the embodiment of the invention provides following technical schemes:
It is a kind of notify the tinkle of bells processing method, it is described notice the tinkle of bells processing method the following steps are included:
Receive the message that sending side terminal is sent;
Message content is obtained from the message;
Judge in the message content whether to include preset keyword;
If it is judged that including preset keyword in the message content, then set the notice the tinkle of bells of the message to It is mute.
In order to solve the above technical problems, the embodiment of the invention also provides following technical schemes:
A kind of processing unit notifying the tinkle of bells, the processing unit for notifying the tinkle of bells include:
Message reception module, for receiving the message of sending side terminal transmission;
Content obtains module, for obtaining message content from the message;
Judgment module, for judging in the message content whether to include preset keyword;
Mute control module is used for if it is judged that then disappearing described including preset keyword in the message content The notice the tinkle of bells of breath is set as mute.
Compared with the existing technology, the processing method and processing device of notice the tinkle of bells of the invention, receiving side terminal pass through judgement hair It whether include preset keyword in the message content that the side's of sending terminal is sent;If it is judged that including default in the message content Keyword, then set mute for the notice the tinkle of bells of the message.The present invention can be controlled this letter by sender user Breath reach receiving side terminal after whether be it is mute, it is mute without being tuned into mobile terminal system of recipient user's active, So that mobile terminal is more humanized, the usage experience of user is greatly improved.
Detailed description of the invention
Fig. 1 is the implementation process schematic diagram of the processing method for the notice the tinkle of bells that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of the processing method of notice the tinkle of bells provided by Embodiment 2 of the present invention;
Fig. 3 is the module diagram of the processing unit for the notice the tinkle of bells that the embodiment of the present invention three provides;
Fig. 4 is the module diagram of the processing unit for the notice the tinkle of bells that the embodiment of the present invention four provides.
Specific embodiment
Please refer to the schema in attached drawing, wherein identical component symbol represents identical component, the principle of the present invention be with Implement to illustrate in a computing environment appropriate.The following description is based on exemplified specific implementation of the invention Example is not construed as the limitation present invention other specific embodiments not detailed herein.
The principle of the invention illustrates that be not represented as a kind of limitation, those skilled in the art can with above-mentioned text Solving plurality of step and operation as described below also may be implemented in hardware.The principle of the present invention uses many other wide usages Or specific purpose operation, communication environment or configuration are operated.
It is provided by the invention notice the tinkle of bells processing method and processing device, be mainly used in terminal device, such as: mobile phone, computer, Personal digital assistant (Personal Digital Assistant, PDA) etc..
It will be described in detail respectively below.
Embodiment one
Referring to Fig. 1, showing the processing method of notice the tinkle of bells provided in an embodiment of the present invention.
The processing method of the notice the tinkle of bells, is applied in terminal device, specifically comprises the following steps:
In step s101, the message that sending side terminal is sent is received;
In embodiments of the present invention, the message can be short message, wechat message, QQ message, MSN message, SKYPE Message etc. is not limited to above-mentioned message.
In step s 102, message content is obtained from the message;
In embodiments of the present invention, it is described reception sending side terminal send message the step of after, further includes: will connect The message received is added into notice the tinkle of bells management queue.
So, it described the step of obtaining message content from the message, specifically includes: managing team from the notice the tinkle of bells The message content of the message is obtained in column.
In step s 103, judge in the message content whether to include preset keyword;
It is understood, however, that the keyword can be text either symbol etc..It can be required certainly according to user Row definition.
In step S104, if it is judged that including preset keyword in the message content, then by the message Notice the tinkle of bells is set as mute.
In embodiments of the present invention, described to set mute step for the notice the tinkle of bells of the message, it specifically includes: will The corresponding notification.sound of notice the tinkle of bells of the message is set as null.
It is understood, however, that if it is judged that do not include preset keyword in the message content, then it will be described The notice the tinkle of bells of message is set as corresponding the tinkle of bells.
From the foregoing, it will be observed that the processing method for the notice the tinkle of bells that the present embodiment one provides, receiving side terminal is by judging sender It whether include preset keyword in the message content that terminal is sent;If it is judged that including preset pass in the message content Key word then sets mute for the notice the tinkle of bells of the message.The present invention can be controlled by sender user this information to After up to receiving side terminal whether be it is mute, it is mute without being tuned into mobile terminal system of recipient user's active, thus So that mobile terminal is more humanized, the usage experience of user is greatly improved.
Embodiment two
Referring to Fig. 2, showing the processing method of notice the tinkle of bells provided in an embodiment of the present invention.
The processing method of the notice the tinkle of bells, is applied in terminal device, specifically comprises the following steps:
In step s 201, the message that sending side terminal is sent is received;
In embodiments of the present invention, the message can be short message, wechat message, QQ message, MSN message, SKYPE Message etc. is not limited to above-mentioned message.
In step S202, message content is obtained from the message;
In embodiments of the present invention, it is described reception sending side terminal send message the step of after, further includes: will connect The message received is added into notice the tinkle of bells management queue.
So, it described the step of obtaining message content from the message, specifically includes: managing team from the notice the tinkle of bells The message content of the message is obtained in column.
In step S203, judge the message content whether with mute beginning;
In step S204, if it is judged that the message content is with mute beginning, then by the notice bell of the message Sound is set as mute.
In embodiments of the present invention, described to set mute step for the notice the tinkle of bells of the message, it specifically includes: will The corresponding notification.sound of notice the tinkle of bells of the message is set as null.
It is understood, however, that if it is judged that the message content is not with mute beginning, then by the message Notice the tinkle of bells is set as corresponding the tinkle of bells.
From the foregoing, it will be observed that the processing method for the notice the tinkle of bells that the present embodiment two provides, receiving side terminal is by judging sender Whether the message content that terminal is sent is with mute beginning;If it is judged that the message content be with mute beginning, then will be described The notice the tinkle of bells of message is set as mute.After the present invention can be controlled this information arrival receiving side terminal by sender user Whether be it is mute, it is mute without being tuned into mobile terminal system of recipient user's active so that mobile terminal is more Add hommization, greatly improves the usage experience of user.
It is described below in detail by the system layer of terminal device come the specific implementation of amendment advice the tinkle of bells.
It is well known that when such as short message or other chat messages reach mobile phone, if mobile phone is in short message interface Or when chat interface, then mobile phone will not issue the tinkle of bells, this is because short message and chat application itself do not have Notice Notification is initiated, as long as so there is sound, then being that short message and chat application itself receive information certainly After initiated notice Notification remind user.So emphasis herein seeks to handle such notice, allow in this way Notify it is noiseless, it is mute to achieve the purpose that.Here is specific step:
1 first from notice Notification start with, notice Notification include notice title, notice it is interior Hold, notify light, notice vibration, the application etc. that the tinkle of bells and notice of notice can star is as follows:
Notification.defaults |=Notification.DEFAULT_LIGHTS;// notice light
Notification.defaults |=Notification.DEFAULT_VIBRATE;The vibration of // notice
Notification.sound=media;The tinkle of bells of // notice
CharSequence contentTitle=" notice title ";The title of // notice
CharSequence contentText=" content of announcement ";// content of announcement
From the above, it can be seen that have the tinkle of bells of notice, then notification.sound can be directly disposed as null, So just without the tinkle of bells.But this is the notice that short message or chat application issue, and is needed certainly by these software developers It goes to modify, on the market so more chat tools, we can not require one by one these software developers to do so.So the present invention is only It can go to modify this tinkle of bells notification.sound notified from system layer, it is set to from the system layer of mobile phone Null achievees the effect that mute.
2 system modifications notice the tinkle of bells place be in notificationManager because NotificationManager is exactly the manager of all notice the tinkle of bells of a management, each notice can pass through NotificationManager.notify method allows the notice of itself to be added to notificationManager management queue In, specific code are as follows:
Notification notification=new Notification ();// create a notice
NotificationManager.notify (NOTIFICATION_ID, notification) // be put into notice notificationManager
Notice the tinkle of bells can be set as by modification notificationManager.notify method by null now, Allow notice the tinkle of bells be it is mute, be implemented as follows:
public void notify(String tag,int id,Notification notification)
{
Bundle extras=notification.extras;
String content=extras.getCharSequence (" android.text ");// obtain message Content
If (content.startwith (" mute ")) // judge message content whether with mute beginning
{
Notification.sound=null;// if it is judged that the message content is then arranged with mute beginning Notice the tinkle of bells is null, that is, mute
}
It, can be them from annotation above it is recognised that all notice the tinkle of bells sent can be controlled in system layer Be set to null, achieve the purpose that it is mute, the present invention be controlled whether by sender this information reach recipient's mobile phone after is Mute, receiving side terminal may determine that the message content that sender sends over, if message content is with mute at the very start Beginning, then the processing of recipient's mobile phone is exactly that the notice the tinkle of bells of this message is directly set as null, reaches mute mesh 's.After simply sender sends message, after message is sent on recipient's mobile phone, mobile phone can do one to message content Judgement includes " mute " this two words if it is message content beginning, and the notice the tinkle of bells of this message is just set as null by that, It is namely mute.
From the foregoing, it will be observed that a scene can be simulated here, 12 points at night, when wanting to friend's photos and sending messages, but carry on a shoulder pole Her heart rested, this information passes to her bell rings afterwards over there, she is waken up, in this case, can use The processing method of notice the tinkle of bells provided in an embodiment of the present invention, after this information arrival friend is controlled by sender user over there Whether there is the tinkle of bells, just will not worry that this information passes to her and there are bell rings afterwards over there in this way, she is waken up.
Embodiment three
Referring to Fig. 3, the module diagram of the processing unit for notifying the tinkle of bells provided for the embodiment of the present invention three;In order to just In explanation, only parts related to embodiments of the present invention are shown.The processing unit of the notice the tinkle of bells includes: message sink mould Block 101, content obtain module 102, judgment module 103 and mute control module 104.The processing unit of the notice the tinkle of bells It can be the unit of the software unit being built in mobile terminal, hardware cell either software and hardware combining.
Message reception module 101, for receiving the message of sending side terminal transmission;
Content obtains module 102, for obtaining message content from the message;
Judgment module 103, for judging in the message content whether to include preset keyword;
Mute control module 104 is used for if it is judged that include preset keyword in the message content, then will be described The notice the tinkle of bells of message is set as mute.
In embodiments of the present invention, the mute control module 104, specifically for the notice the tinkle of bells of the message is corresponding Notification.sound be set as null.
As a preferred embodiment of the present invention, the processing unit of the notice the tinkle of bells further include: the tinkle of bells control module.
The tinkle of bells control module, for if it is judged that do not include preset keyword in the message content, then will The notice the tinkle of bells of the message is set as corresponding the tinkle of bells.
As another preferred embodiment of the present invention, the processing unit of the notice the tinkle of bells further include: module is added.
The addition module, for being added the message received into notice the tinkle of bells management queue;
The content obtains module 102, specifically for obtaining disappearing for the message from notice the tinkle of bells management queue Cease content.
From the foregoing, it will be observed that the processing unit for the notice the tinkle of bells that the present embodiment three provides, receiving side terminal is by judging sender It whether include preset keyword in the message content that terminal is sent;If it is judged that including preset pass in the message content Key word then sets mute for the notice the tinkle of bells of the message.The present invention can be controlled by sender user this information to After up to receiving side terminal whether be it is mute, it is mute without being tuned into mobile terminal system of recipient user's active, thus So that mobile terminal is more humanized, the usage experience of user is greatly improved.
Example IV
Referring to Fig. 4, the module diagram of the processing unit for notifying the tinkle of bells provided for the embodiment of the present invention four;In order to just In explanation, only parts related to embodiments of the present invention are shown.The processing unit of the notice the tinkle of bells includes: message sink mould Module 202, content acquisition module 203, judgment module 204 and mute control module 205 is added in block 201.The notice bell The processing unit of sound can be the unit of the software unit being built in mobile terminal, hardware cell either software and hardware combining.
Message reception module 201, for receiving the message of sending side terminal transmission;
The addition module 202, for being added the message received into notice the tinkle of bells management queue;
The content obtains module 203, specifically for obtaining disappearing for the message from notice the tinkle of bells management queue Cease content.
Whether the judgment module 204 is specifically used for judging the message content with mute beginning;
The mute control module 205, specifically for if it is judged that the message content is with mute beginning, then by institute The notice the tinkle of bells for stating message is set as mute.
In embodiments of the present invention, the mute control module 205, specifically for the notice the tinkle of bells of the message is corresponding Notification.sound be set as null.
As a preferred embodiment of the present invention, the processing unit of the notice the tinkle of bells further include: the tinkle of bells control module.
The tinkle of bells control module, for if it is judged that the message content is then disappeared described with mute beginning The notice the tinkle of bells of breath is set as corresponding the tinkle of bells.
In conclusion the processing method and processing device of notice the tinkle of bells of the invention, receiving side terminal is by judging sender's end Whether hold in the message content sent includes preset keyword;If it is judged that including preset key in the message content Word then sets mute for the notice the tinkle of bells of the message.The present invention can be controlled the arrival of this information by sender user After receiving side terminal whether be it is mute, it is mute without being tuned into mobile terminal system of recipient user's active, to make Mobile terminal it is more humanized, greatly improve user usage experience.
The processing method and processing device of notice the tinkle of bells provided in an embodiment of the present invention belongs to same design, implements process It is detailed in specification full text, details are not described herein again.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (4)

1. it is a kind of notify the tinkle of bells processing method, which is characterized in that it is described notice the tinkle of bells processing method the following steps are included:
Receive the message that sending side terminal is sent;
Whether judgement is currently chat interface, if otherwise the message received is added into notice the tinkle of bells management queue;
The message content of the message is obtained from the notice the tinkle of bells management queue;
Judge the message content whether with mute beginning;
If it is judged that the message content is with mute beginning, then by the message in notificationManager The corresponding notification.sound of notice the tinkle of bells be set as null.
2. the processing method of notice the tinkle of bells as described in claim 1, which is characterized in that the processing method of the notice the tinkle of bells is also Include:
If it is judged that not including preset keyword in the message content, then phase is set by the notice the tinkle of bells of the message The tinkle of bells answered.
3. it is a kind of notify the tinkle of bells processing unit, which is characterized in that it is described notice the tinkle of bells processing unit include:
Message reception module, for receiving the message of sending side terminal transmission;
Module is added, for judging whether be currently chat interface, if otherwise the message received is added to notice bell Sound pipe is managed in queue;
Content obtains module, for obtaining the message content of the message from the notice the tinkle of bells management queue;
Judgment module, for judging the message content whether with mute beginning;
Mute control module, for if it is judged that the message content is then existed with mute beginning The corresponding notification.sound of notice the tinkle of bells of the message is set in notificationManager null。
4. the processing unit of notice the tinkle of bells as claimed in claim 3, which is characterized in that the processing unit of the notice the tinkle of bells is also Include:
The tinkle of bells control module, for if it is judged that not including preset keyword in the message content, then by the message Notice the tinkle of bells be set as corresponding the tinkle of bells.
CN201510816272.3A 2015-11-20 2015-11-20 A kind of processing method and processing device notifying the tinkle of bells Expired - Fee Related CN105262906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510816272.3A CN105262906B (en) 2015-11-20 2015-11-20 A kind of processing method and processing device notifying the tinkle of bells

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510816272.3A CN105262906B (en) 2015-11-20 2015-11-20 A kind of processing method and processing device notifying the tinkle of bells

Publications (2)

Publication Number Publication Date
CN105262906A CN105262906A (en) 2016-01-20
CN105262906B true CN105262906B (en) 2019-04-16

Family

ID=55102409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510816272.3A Expired - Fee Related CN105262906B (en) 2015-11-20 2015-11-20 A kind of processing method and processing device notifying the tinkle of bells

Country Status (1)

Country Link
CN (1) CN105262906B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847573A (en) * 2016-04-19 2016-08-10 乐视控股(北京)有限公司 Mobile phone and method for adjusting volume of ringtone intelligently

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756395A (en) * 2004-09-28 2006-04-05 国际商业机器公司 Mobile phone and its control method
CN101026793A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Method and device for realizing short message prompt
CN101335911A (en) * 2007-06-26 2008-12-31 华为技术有限公司 Message processing method, user terminal and server
CN101448250A (en) * 2002-05-08 2009-06-03 诺基亚有限公司 Method for changing operating characteristics of communication equipment in a remote way
CN104254056A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Do-not-disturb message transmission method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448250A (en) * 2002-05-08 2009-06-03 诺基亚有限公司 Method for changing operating characteristics of communication equipment in a remote way
CN1756395A (en) * 2004-09-28 2006-04-05 国际商业机器公司 Mobile phone and its control method
CN101026793A (en) * 2007-02-02 2007-08-29 华为技术有限公司 Method and device for realizing short message prompt
CN101335911A (en) * 2007-06-26 2008-12-31 华为技术有限公司 Message processing method, user terminal and server
CN104254056A (en) * 2013-06-27 2014-12-31 腾讯科技(深圳)有限公司 Do-not-disturb message transmission method, device and system

Also Published As

Publication number Publication date
CN105262906A (en) 2016-01-20

Similar Documents

Publication Publication Date Title
KR102427983B1 (en) Methods and systems for processing an ephemeral content message
US10136285B2 (en) Bluetooth alert notification service
US8769418B2 (en) Enhanced message handling
CN108886472A (en) cross-mode communication
CN106470148A (en) Group chatting content display method and device
US20230208897A1 (en) Custom content insertion for user groups
US8219628B2 (en) Method to change instant messaging status based on text entered during conversation
US9141944B2 (en) Synchronization of alarms between devices
CN102769640B (en) The update method of user profile, server and system
ES2813372T3 (en) Integration of additional information in a telecommunications call
US11165899B1 (en) Techniques to manage contact records
US20140324994A1 (en) Method and device for transmitting and forwarding a message
US9021033B2 (en) Method to change instant messaging status based on text entered during conversation
EP2701371A1 (en) Constructing a Contact Sharing History
CN105262906B (en) A kind of processing method and processing device notifying the tinkle of bells
US20150163181A1 (en) Multipurpose internet mail extensions ("mime") metadata for group messaging
US20230300092A1 (en) Multichannel messaging system and method
US10326727B2 (en) Methods and systems of application message addressing
CN103927646A (en) Information processing method and electronic equipment
CN103490984A (en) Method and device for obtaining user information
US11283934B1 (en) Providing a unified communication history of a multi-modal communication
US9129025B2 (en) Automatically granting access to content in a microblog
US9876765B2 (en) Transmitting a hidden communication
EP3298808B1 (en) Mms delivery system
WO2015112315A1 (en) Selecting a communication mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190416