CN104038637B - Ringtone playing method and device and mobile terminal - Google Patents

Ringtone playing method and device and mobile terminal Download PDF

Info

Publication number
CN104038637B
CN104038637B CN201410294465.2A CN201410294465A CN104038637B CN 104038637 B CN104038637 B CN 104038637B CN 201410294465 A CN201410294465 A CN 201410294465A CN 104038637 B CN104038637 B CN 104038637B
Authority
CN
China
Prior art keywords
ring
information
emotion
mobile terminal
individual ring
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.)
Active
Application number
CN201410294465.2A
Other languages
Chinese (zh)
Other versions
CN104038637A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201410294465.2A priority Critical patent/CN104038637B/en
Publication of CN104038637A publication Critical patent/CN104038637A/en
Application granted granted Critical
Publication of CN104038637B publication Critical patent/CN104038637B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a ringtone playing method and device and a mobile terminal, and belongs to the technical field of mobile terminals. The method comprises the following steps: receiving information; judging whether the individual ring function is started or not; when the individual ring function is started, extracting key words of the information content, and determining the corresponding individual ring according to the key words; when the individual ring function is not started, using a default information ring; and playing the determined ring tone. By adopting the invention, the key words of the information content are extracted, and the individual ring related to the information content is determined according to the key words, so that the diversification and the intellectualization of the information ring are realized, the individual requirements of a large number of users are met, and the interestingness of the use of the mobile terminal is also improved.

Description

Ringtone playing method and device and mobile terminal
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a ringtone playing method and apparatus, and a mobile terminal.
Background
With the rapid development of intelligent mobile terminals and mobile internet technologies, the personalized demand in intelligent terminals is increasing, and more users require intelligent mobile terminals to support personalized ring setting for receiving information. For example, according to the grouping of the numbers stored in the mobile terminal, users of different groups come to have information and respond to different information ringtones. The playing of the current information ring can also be determined by setting different contextual models.
However, the ring tone of the new message in the existing mobile terminal can only generate the corresponding message ring tone according to the phone number already stored in the mobile terminal or the current contextual model, and the message ring tone related to the message content cannot be selectively played according to the message content, for example, the message ring tone is classified according to the emotional degree of the keyword response of the message content (the value for reflecting the emotional degree, which can be defined by the user). Therefore, the current individual requirements of the vast users cannot be met.
Disclosure of Invention
In view of this, the technical problem to be solved by the present invention is to provide a ring playing method, device and mobile terminal, so as to solve the technical problem that a user cannot select a personalized ring according to information content.
The technical scheme adopted by the invention for solving the technical problems is as follows:
according to an aspect of the present invention, a ringtone playing method is provided, which includes:
receiving information;
judging whether the individual ring function is started or not;
when the individual ring function is started, extracting key words of the information content, and determining the corresponding individual ring according to the key words; when the individual ring function is not started, using a default information ring;
and playing the determined ring tone.
Preferably, when the personalized ring function is turned on, extracting a keyword of the information content, and determining the corresponding personalized ring according to the keyword further includes:
cutting information content to form a plurality of independent words, matching the words with a word bank one by one, and extracting the matched words as keywords;
distributing weight and emotion degree to each keyword, and calculating the emotion degree of the whole information according to the weight and emotion degree of each keyword;
and determining the corresponding individual ring according to the emotion degree of the whole information.
Preferably, the determining the corresponding personalized ring according to the emotion degree of the whole information further includes:
judging whether the mobile terminal stores the individual ring corresponding to the emotion degree of the whole information, and if so, acquiring the corresponding individual ring; and if not, acquiring the default information ring tone in the mobile terminal.
Preferably, the information is a short message or a multimedia message.
According to another aspect of the present invention, there is provided a ringtone playing apparatus including:
the receiving module is used for receiving information;
the judging module is used for judging whether the individual ring function is started or not;
the processing module is used for extracting key words of information content when the function of the individual ring is started, and determining the corresponding individual ring according to the key words;
and the playing module is used for playing the determined ring tone.
Preferably, the processing module is specifically configured to: extracting received information content, cutting the information content to form a plurality of independent words, matching the words with a word bank one by one, and extracting the matched words as keywords; and distributing weight and emotion to each keyword, calculating the emotion of the whole information according to the weight and emotion of each keyword, and determining a corresponding individual ring according to the emotion.
Preferably, the processing module is further specifically configured to: and judging whether the mobile terminal stores the corresponding individual ring, if so, acquiring the determined individual ring, and otherwise, acquiring the default information ring in the mobile terminal.
Preferably, the information is a short message or a color ring.
According to still another aspect of the present invention, a mobile terminal is provided, which includes the ringtone playing apparatus according to the above technical solution.
Compared with the prior art, the ringtone playing method, the ringtone playing device and the mobile terminal provided by the embodiment of the invention have the advantages that the key words of the information content are extracted, and the personalized ringtone related to the information content is determined according to the key words, so that the diversification and the intellectualization of the personalized ringtone based on the information content are realized, the personalized requirements of a large number of users are met, and the use interest of the mobile terminal is improved.
Drawings
Fig. 1 is a flowchart of a ring tone playing method according to an embodiment of the present invention.
Fig. 2 is a flowchart of emotion level calculation processing according to an embodiment of the present invention.
Fig. 3 is a block diagram of a system for implementing a ring tone playing method according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Example one
As shown in fig. 1, the ring tone playing method provided by the embodiment of the present invention includes the following steps:
and S101, receiving information.
S102, judging whether the individual ring function is started.
S103, when the individual ring function is started, extracting keywords of the information content.
Specifically, the information content is cut to form a plurality of independent words, a word bank for storing keywords is preset in the mobile terminal, the independent words obtained by cutting the information content are matched with the word bank one by one, and the matched words are extracted to serve as the keywords. Specifically, the word stock can be updated and refined step by step according to the requirements of the user.
And S104, calculating the emotion of the whole information according to the keywords.
Specifically, a weight and an emotion degree are assigned to each keyword, and the emotion degree of the entire information is calculated from the weight and emotion degree of each keyword.
And S105, determining the individual ring according to the emotion degree of the information.
S106, judging whether the mobile terminal stores the corresponding personalized ring, and executing the step S107 when the mobile terminal stores the corresponding personalized ring; when the mobile terminal does not have the corresponding personalized ring tone, step S108 is performed.
And S107, acquiring the corresponding individual ring.
And S108, acquiring the default information ring.
And S109, playing the determined ring.
Example two
Referring to fig. 1, the second embodiment is further optimized based on the first embodiment: in step S102, when the personalized ring tone function is not turned on, step S108 is performed.
And S108, acquiring the default information ring.
In the above embodiment, please refer to fig. 2, the process flow of calculating the emotion level of information includes the following steps:
s201, extracting keywords of the information content.
Specifically, the information content is cut to form a plurality of independent words, each independent word is matched with a word in a word bank, and the matched word is extracted to be used as a keyword.
S202, corresponding weight is distributed to each keyword.
Specifically, the user may use the weights of the keywords preset in the system, or may reset the weights of the keywords according to the needs of the user.
S203, obtaining the emotion of each keyword.
Specifically, the user may use the emotion of each keyword preset in the system, or may reset the emotion of the keyword as needed.
And S204, calculating the emotion of the information according to the weight and the emotion of each keyword.
Specifically, the user may use a default formula for calculating the information emotion level in the system, or the user may redefine the formula for calculating the information emotion level by himself/herself.
For example, the following keywords are extracted from the information content: the method comprises the following steps of 1, 2, 1, n, wherein the 1 corresponds to an emotion degree 1 and a weight 1, the 2 corresponds to an emotion degree 2 and a weight 2, the n corresponds to an emotion degree n and a weight n, and a formula for calculating the emotion degree of information is defined as follows:
Figure BDA0000527323360000051
and S205, obtaining the emotion type according to the emotion degree of the information.
Specifically, the client can use the emotion categories preset in the system, and can also redefine the emotion categories by the client. For example, the user can divide the emotion categories into positive emotions and negative emotions, and can further divide the positive emotions into pleasure, trust, excitement, celebration and the like according to different emotion degrees; negative emotions can be classified as painful, dominant, hate, jealousy, and the like. Each emotion corresponds to a range of emotion degrees, so that the emotion type to which the information belongs can be obtained according to the emotion degrees of the information.
And S206, obtaining the individual ring tone corresponding to the emotion category.
According to the ringtone playing method provided by the embodiment of the invention, the keywords of the information content are extracted, the weight and the emotion degree of each keyword are obtained, the emotion degree of the whole information is obtained through calculation, and the emotion category corresponding to the information content is obtained, so that the individual ringtone corresponding to the emotion category of the information is selected and played, the requirement of a user on the diversification of the individual ringtone based on the information content is met, and the interestingness of the use of the mobile terminal is improved.
EXAMPLE III
As shown in fig. 3, the ringtone playing apparatus provided in the embodiment of the present invention includes the following modules:
a receiving module 10, configured to receive information;
the judging module 20 is used for judging whether the individual ring function is started or not;
the processing module 30 is used for extracting the key words of the information content when the function of the individual ring is started, and determining the corresponding individual ring according to the key words;
and a playing module 40 for playing the determined ring tone.
Wherein, the processing module 30 is specifically configured to: extracting information content, cutting the information content to form a plurality of independent words, matching the words with a word bank one by one, and extracting the matched words as keywords; and distributing weight and emotion to each keyword, calculating the emotion of the whole information according to the weight and emotion of each keyword, and determining a corresponding individual ring according to the emotion.
Wherein, the processing module 30 is further specifically configured to: and judging whether the mobile terminal stores the corresponding individual ring, if so, acquiring the corresponding individual ring, and otherwise, acquiring the default information ring in the mobile terminal.
Wherein, the information is short message or color ring.
It should be noted that the technical features of the first and second embodiments of the method can be applied to the present apparatus, and are not repeated here.
Correspondingly, the invention further provides a mobile terminal, which comprises the ringtone playing device in the third embodiment.
According to the ringtone playing method, the ringtone playing device and the mobile terminal, the individual ringtones are not necessarily classified according to the emotion, but also can be classified according to the importance and urgency of information, and can be classified according to whether the information content is public affairs or private affairs, and any classification can be carried out according to the keywords of the information content.
According to the ringtone playing method, the ringtone playing device and the mobile terminal, the weight and the emotion degree are distributed to each keyword by extracting the keyword of the information content, then the final emotion degree of the information is calculated, and the corresponding personalized ringtone is determined according to the emotion degree of the information, so that the requirement of a user on the diversification of the personalized ringtone based on the information content is met, and the interestingness of the use of the mobile terminal is improved.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by controlling the relevant hardware through a program, and the program may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Those skilled in the art can implement the invention in various modifications, such as features from one embodiment can be used in another embodiment to yield yet a further embodiment, without departing from the scope and spirit of the invention. Any modification, equivalent replacement and improvement made within the technical idea of using the present invention should be within the scope of the right of the present invention.

Claims (7)

1. A ring tone playing method, comprising the steps of:
receiving information;
judging whether the individual ring function is started or not;
when the individual ring function is started, extracting key words of the information content, and determining the corresponding individual ring according to the key words;
when the individual ring function is not started, using a default information ring;
playing the determined ring;
wherein, determining the corresponding personalized ring according to the keyword further comprises:
cutting information content to form a plurality of independent words, matching the words with a word bank one by one, and extracting the matched words as keywords;
distributing weight and emotion degree to each keyword, and calculating the emotion degree of the whole information according to the weight and emotion degree of each keyword;
and determining the corresponding individual ring according to the emotion degree of the whole information.
2. The method for playing ringtone according to claim 1, wherein determining the corresponding individual ringtone according to the emotion level of the entire message further comprises:
judging whether the mobile terminal stores the individual ring corresponding to the emotion degree of the whole information, and if so, acquiring the corresponding individual ring;
and if not, acquiring the default information ring tone in the mobile terminal.
3. The ringtone playing method according to any one of claims 1 to 2, wherein the information is a short message or a multimedia message.
4. A ringtone playback apparatus, comprising:
the receiving module is used for receiving information;
the judging module is used for judging whether the individual ring function is started or not;
the processing module is used for extracting key words of information content when the function of the individual ring is started, and determining the corresponding individual ring according to the key words;
the processing module is specifically configured to: extracting received information content, cutting the information content to form a plurality of independent words, matching the words with a word bank one by one, and extracting the matched words as keywords;
distributing weight and emotion to each keyword, calculating the emotion of the whole information according to the weight and emotion of each keyword, and determining a corresponding individual ring according to the emotion;
and the playing module is used for playing the ring tone.
5. The ringtone playback apparatus according to claim 4, wherein:
the processing module is further specifically configured to: and judging whether the mobile terminal stores the corresponding personalized ring, if so, acquiring the determined personalized ring, and otherwise, acquiring the default information ring in the mobile terminal.
6. The ringtone playback apparatus according to any one of claims 4 to 5, wherein: the information is short message or color ring.
7. A mobile terminal, characterized in that it comprises a ringtone playing apparatus according to any one of claims 4 to 6.
CN201410294465.2A 2014-06-25 2014-06-25 Ringtone playing method and device and mobile terminal Active CN104038637B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410294465.2A CN104038637B (en) 2014-06-25 2014-06-25 Ringtone playing method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410294465.2A CN104038637B (en) 2014-06-25 2014-06-25 Ringtone playing method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN104038637A CN104038637A (en) 2014-09-10
CN104038637B true CN104038637B (en) 2020-03-13

Family

ID=51469220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410294465.2A Active CN104038637B (en) 2014-06-25 2014-06-25 Ringtone playing method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN104038637B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917883A (en) * 2015-05-18 2015-09-16 努比亚技术有限公司 Method and device for calling ringtone file
CN106686216A (en) * 2016-12-11 2017-05-17 东莞桐石网络科技有限公司 Personalized ringtone setting method and device
CN108241682B (en) * 2016-12-26 2021-03-30 北京国双科技有限公司 Method and device for determining text emotion
CN107360085A (en) * 2017-08-04 2017-11-17 珠海格力电器股份有限公司 A kind of method for message transmission, apparatus and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753676A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Method, device and mobile terminal for prompting communication services of mobile terminal
CN102752714A (en) * 2012-06-25 2012-10-24 华为终端有限公司 Method and device for setting bell
CN103067603A (en) * 2013-01-17 2013-04-24 广东欧珀移动通信有限公司 Set method and mobile terminal of ring tone
CN103369102A (en) * 2012-03-26 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Incoming-call ringtone control method and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100479535C (en) * 2007-02-05 2009-04-15 华为技术有限公司 Color ring selecting method, apparatus and system
KR100877670B1 (en) * 2007-08-06 2009-01-08 유상규 Method for changing telephone number by analyzing message and mobile phone saving its method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753676A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Method, device and mobile terminal for prompting communication services of mobile terminal
CN103369102A (en) * 2012-03-26 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Incoming-call ringtone control method and mobile terminal
CN102752714A (en) * 2012-06-25 2012-10-24 华为终端有限公司 Method and device for setting bell
CN103067603A (en) * 2013-01-17 2013-04-24 广东欧珀移动通信有限公司 Set method and mobile terminal of ring tone

Also Published As

Publication number Publication date
CN104038637A (en) 2014-09-10

Similar Documents

Publication Publication Date Title
US11032417B2 (en) Collaborative phone reputation system
CN109088995B (en) Method and mobile phone for supporting global language translation
US9047868B1 (en) Language model data collection
US11646026B2 (en) Information processing system, and information processing method
JP2017530431A (en) Nuisance telephone number determination method, apparatus and system
CN104038637B (en) Ringtone playing method and device and mobile terminal
CN110019286B (en) Expression recommendation method and device based on user social relationship
CN114303132B (en) Method and system for context association and personalization using wake words in a virtual personal assistant
US20170064084A1 (en) Method and Apparatus for Implementing Voice Mailbox
CN105960674A (en) Information processing device
CN105940387A (en) Determining strength of association between user contacts
CN107316635B (en) Voice recognition method and device, storage medium and electronic equipment
CN106886296A (en) The treating method and apparatus of the dictionary of input method
CN106356056B (en) Audio recognition method and device
CN106446969B (en) User identification method and device
CN111354350B (en) Voice processing method and device, voice processing equipment and electronic equipment
EP2924623A1 (en) Context based service technology
KR102357620B1 (en) Chatbot integration agent platform system and service method thereof
CN104980396A (en) Communication method and system used for social network
CN107885855A (en) Dynamic caricature generation method and system based on intelligent terminal
CN110931014A (en) Speech recognition method and device based on regular matching rule
CN110176227A (en) A kind of method and relevant apparatus of speech recognition
CN111368099B (en) Method and device for generating core information semantic graph
CN114177621B (en) Data processing method and device
CN116774876A (en) Page display method, page display device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information

Address after: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant after: Nubian Technologies Ltd.

Address before: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant