CN103118346B - A kind of send the method for note, device and terminal - Google Patents

A kind of send the method for note, device and terminal Download PDF

Info

Publication number
CN103118346B
CN103118346B CN201310025436.1A CN201310025436A CN103118346B CN 103118346 B CN103118346 B CN 103118346B CN 201310025436 A CN201310025436 A CN 201310025436A CN 103118346 B CN103118346 B CN 103118346B
Authority
CN
China
Prior art keywords
nickname
contact
information
field
name field
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
CN201310025436.1A
Other languages
Chinese (zh)
Other versions
CN103118346A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310025436.1A priority Critical patent/CN103118346B/en
Publication of CN103118346A publication Critical patent/CN103118346A/en
Priority to PCT/CN2013/091015 priority patent/WO2014114172A1/en
Application granted granted Critical
Publication of CN103118346B publication Critical patent/CN103118346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/48Message addressing, e.g. address format or anonymous messages, aliases

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses and a kind of send the method for note, device and terminal, belong to communication technical field.Method includes: when sending note, if receiving the request adding the pet name, determines the pet name of described contact person from the description field of the contact person receiving note, and described description field at least includes nickname field, name field and appellation title field;The determined pet name is added to described note, and gives described contact person by the short message sending after the interpolation pet name.Note is automatically added to receive the pet name of the contact person of this note, improves Consumer's Experience first, second have more specific aim when bulk SMS.And the pet name of contact person can be determined from multiple field (nickname field, name field, title field etc.), can be suitably used for plurality of application scenes and (have the pet name/do not have the pet name, name field is English/Chinese, containing nominal key etc. in name field) under the determination of the pet name.

Description

Method, device and terminal for sending short message
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a terminal for sending a short message.
Background
At present, most mobile phones support group sending of short messages, so that users do not need to manually send the same short messages to multiple contacts one by one, and the method is convenient and fast. However, the current function of group sending short messages has a disadvantage that the content of the short messages sent to all the contacts by group is the same and is not called by the recipient. Particularly on holidays, people often greet with short messages and maintain the relationship between clients, and the like, because of numerous contacts, the greeting short message is usually sent by adopting the function of mass texting, but the content of the mass texting is uniform and has no pertinence, so that a receiver can guess that the short message is mass texting at a glance, and the blessing effect can be greatly discounted. For example, there is a blessing message with contents "wish you happy spring festival and he happy, and the message is sent to zhang san and lie xi respectively, so that according to the current way of sending the message in groups, the contents finally received by zhang san and lie xi are both" wish you happy spring festival and he happy ". Content is the same and lacks pertinence.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a terminal for sending short messages, which are used for solving the problems that the content of the short messages sent in groups is the same and the pertinence is lacked when the existing short messages are sent in groups, and meeting the personalized requirements of users.
The embodiment of the invention provides a method for sending short messages, which comprises the following steps:
when a short message is sent, if a request for adding a nickname is received, determining the nickname of a contact from description fields of the contact receiving the short message, wherein the description fields at least comprise nickname fields, name fields and title fields;
and adding the determined nickname to the short message, and sending the short message added with the nickname to the contact.
The embodiment of the invention provides a device for sending short messages, which comprises:
the nickname determining module is used for determining the nickname of the contact from the description fields of the contact receiving the short message if a request for adding the nickname is received when the short message is sent, wherein the description fields at least comprise nickname fields, name fields and title fields;
and the information sending module is used for adding the determined nickname to the short message and sending the short message added with the nickname to the contact.
The terminal provided by the embodiment of the invention comprises the device for sending the short message.
The embodiment of the invention has the beneficial effects that:
the embodiment of the invention realizes the technical scheme that when a short message is sent, if a request for adding a nickname is received, the nickname of a contact person is determined from a description field of the contact person receiving the short message, the determined nickname is added to the short message, and the short message added with the nickname is sent to the currently traversed contact person, so that the personalized requirement of a user is met on one hand, and on the other hand, the nickname of a receiver is added to the short message sent in groups when the short message is sent in groups, so that the short message sent in groups has pertinence; in addition, the nickname of the contact can be determined from various fields (nickname field, name field, title field and the like), and the method is suitable for determining the nickname under various application scenes (nickname/no nickname, English/Chinese name field, specified keyword contained in the name field and the like). .
Drawings
Fig. 1 is a schematic flow chart of a method for sending a short message according to embodiment 1 of the present invention;
fig. 2 is a schematic flow chart of a method for mass texting according to embodiment 2 of the present invention;
fig. 3 is a schematic structural diagram of a device for sending a short message according to embodiment 3 of the present invention;
fig. 4 is a schematic structural diagram of a device for sending a short message according to embodiment 3 of the present invention;
fig. 5 is a schematic structural diagram of a device for sending a short message according to embodiment 3 of the present invention.
Detailed Description
The following describes in detail specific embodiments of a method, an apparatus, and a terminal for mass texting according to an embodiment of the present invention with reference to the accompanying drawings.
Example 1
The method for sending the short message provided by the embodiment of the invention, as shown in fig. 1, specifically comprises the following steps:
step 101, when sending a short message, if a request for adding a nickname is received, determining the nickname of a contact person receiving the short message from a description field of the contact person receiving the short message, wherein the description field at least comprises a nickname field, a name field and a title field;
and 102, adding the determined nickname to the short message, and sending the short message added with the nickname to a contact person receiving the short message.
Preferably, in this embodiment, the determining the nickname of the contact receiving the short message from the description field of the contact receiving the short message may include:
reading and determining whether a nickname field of a contact receiving the short message is empty;
when the nickname field of the contact receiving the short message is not empty, the information in the nickname field of the contact receiving the short message is used as the nickname of the contact receiving the short message;
when the nickname field of the contact receiving the short message is empty, reading and determining the character type of the information in the name field of the contact receiving the short message, when the determined character type is English, taking the information in the name field of the contact receiving the short message as the nickname of the contact receiving the short message, and when the determined character type is Chinese, determining the nickname of the contact receiving the short message from the name field and the title field of the contact receiving the short message according to a preset rule.
In this example, the title field may be a field describing information such as the title, the unit (work unit or learning unit), and the like of the contact receiving the short message.
It should be noted that, in the specific implementation of this example, when the character type of the information in the name field of the contact person receiving the short message is determined, the information in the name field of the contact person receiving the short message may be used as the nickname of the contact person receiving the short message when the character type is determined to be the first type (such as english), and the nickname of the contact person receiving the short message may be determined from the name field and the title field of the contact person receiving the short message according to a predetermined rule when the character type is determined to be the second type (such as chinese).
In this example, determining the nickname of the contact person receiving the short message from the name field and the title field of the contact person receiving the short message according to the predetermined rule may include:
reading and determining whether a first type of preset keywords exist in a name field of a contact person receiving the short message;
when the name field of the contact receiving the short message contains a preset first type keyword, processing the information in the name field of the contact receiving the short message according to a first rule and then using the processed information as a nickname of the contact receiving the short message;
when the name field of the contact receiving the short message does not contain the preset first type key words, reading and determining whether the title field of the contact receiving the short message is empty or not;
when the title field of the contact person receiving the short message is not empty, simplifying and combining the information in the name field and the information in the title field of the contact person receiving the short message, and taking the simplified and combined information as a nickname of the contact person receiving the short message;
and when the title field of the contact receiving the short message is empty, processing the information in the name field of the contact receiving the short message according to a second rule and then using the processed information as the nickname of the contact receiving the short message.
Preferably, in this example, the step of reading and determining whether the predetermined first type keyword exists in the name field of the contact person receiving the short message may be:
reading information in a name field of a contact person receiving the short message, matching the read information with each keyword in a pre-stored first type keyword list, and confirming that a preset first type keyword exists in the name field of the contact person receiving the short message when the keyword given in the first type keyword list exists in the read information.
Preferably, in this example, processing information in a name field of a contact receiving the short message according to the first rule, and then using the processed information as a nickname of the contact receiving the short message may include:
determining whether the name field of the contact receiving the short message contains a second type of key words;
when the name field of the contact receiving the short message contains the second type of key words, the second type of key words in the name field information of the contact receiving the short message are removed and used as the nickname of the contact receiving the short message;
and when the name field of the contact receiving the short message does not contain the second type of key words, taking the information in the name field of the contact receiving the short message as the nickname of the contact receiving the short message.
Preferably, in this example, determining whether the information in the name field of the contact receiving the short message includes the second type keyword may be:
reading information in a name field of a contact person receiving the short message, matching the read information with each keyword in a pre-stored second-type keyword list, and confirming that a preset second-type keyword exists in the name field of the contact person receiving the short message when the read information has the keyword given in the second-type keyword list.
Preferably, in this example, the simplifying and combining the information in the name field and the information in the title field of the contact person receiving the short message may include:
extracting a first character in a name field of a contact person receiving the short message;
searching a preset information simplification table to obtain simplified information corresponding to information in a title field of a contact receiving the short message;
and merging the first character with the searched simplified information.
Preferably, in this example, the nickname of the contact receiving the short message after processing the information in the name field of the contact receiving the short message according to the second rule may be:
and taking other information except the first character in the name field of the contact receiving the short message as the nickname of the contact receiving the short message. Or,
determining the number of characters of information in a name field of a contact receiving the short message;
and when the number of characters of the information in the name field of the contact person receiving the short message is not less than a first preset value or not more than a second preset value, taking the information in the name field of the contact person receiving the short message as the nickname of the contact person receiving the short message.
Preferably, in this embodiment, the adding the determined nickname to the short message may include: and directly adding the determined nickname to the starting position of the short message. Alternatively, words such as "respected" or "loved" are inserted in front of the determined nickname.
The embodiment of the invention automatically adds the nickname of the contact person receiving the short message into the short message when sending the short message, can meet the individual requirements of users, and adds the nickname of the received short message into the sent short message in the application scene of mass texting, thereby enabling the mass texting to have pertinence.
The example specifically determines the nickname of the contact of the received short message, and includes: when the nickname field of the contact exists, the information of the nickname field can be directly adopted as the nickname of the contact; when the nickname of the contact does not exist, if the information in the name field of the contact is English, the information in the name field can be directly used as the nickname of the contact; if the information in the name field of the contact is Chinese and the name field of the contact contains the first type of keywords (such as managers and the like), the information in the name field (such as Liu Xiao' er managers) can be directly used as the nickname of the contact; if the name field of the contact does not contain the first type of keywords and the title field is not empty, simplifying the information in the name field and the title field to obtain the nickname of the contact, wherein if the information in the name field is Zhang III and the information in the title field is engineer, the Zhang III can be simplified into Zhang III and the engineer can be simplified into a worker and then combined into Zhang I to be used as the nickname of the contact; if the name field of the contact does not contain the first type of keywords and the title field is empty, other information except the first character in the information in the name field can be used as the nickname of the contact, and if the information in the name field is 'Lisi', the 'thinking' can be used as the nickname of the contact. The nickname of the contact can be determined from various fields (nickname field, name field, title field and the like), and the method is suitable for determining the nickname under various application scenes (nickname/nickname-free, English/Chinese name field, specified keywords in the name field and the like).
Example 2
The method for sending short messages in a group is described in detail below with reference to an application scenario of sending short messages in a group, and as shown in fig. 2, the method for sending short messages in a group includes the following steps when the embodiment of the present invention is executed:
step 201, a user edits a short message to be sent in a group mode and determines a contact list for receiving the short message;
for example, the short message to be mass-sent edited by the user is "happy spring festival, happy family", 8 contacts receiving the short message, and the names are "three open", "Liquan", "lisa", "Liushi", "Dulala manager (company)", "brother", "Jike meaning", and "langan" in this order.
Step 202, when the mobile phone receives a command of group sending a short message sent by a user, traversing a contact list for receiving the short message, reading and determining whether a nickname field of a currently traversed contact is empty;
when the nickname field of the currently traversed contact is not empty, executing step 203;
when the nickname field of the currently traversed contact is empty, executing step 204;
in the specific implementation of this embodiment, the "intelligent call" button and the "recovery" button may be clicked on the call edit page of the group-sent short message, when the user clicks the "intelligent call button", the nickname of the contact receiving the short message is generated in the manner described in steps 202 to 210, and when the user clicks the "recovery" button, the generation process of the nickname is cancelled.
Step 203, the mobile phone takes the information in the nickname field of the currently traversed contact as the nickname of the currently traversed contact, and step 211 is executed;
for example, if the nickname field of the currently traversed contact "zhang san" is not empty and is "three", then "three" is directly used as the nickname of the currently traversed contact "zhang san".
Step 204, the mobile phone reads and determines the character type of the information in the name field of the currently traversed contact;
when the determined character type is english, go to step 205;
when the determined character type is Chinese, go to step 206;
step 205, the mobile phone takes the information in the name field of the currently traversed contact as the nickname of the currently traversed contact, and step 211 is executed;
for example, the nickname field of the currently traversed contact "lisa" is empty, and the information in the name field of the currently traversed contact "lisa" is "lisa", and the character type is english, at this time, "lisa" is directly used as the nickname of the currently traversed contact "lisa".
Step 206, the mobile phone reads and determines whether preset first-class keywords exist in the name field of the currently traversed contact;
when the preset first type keywords exist in the name field of the currently traversed contact, executing step 207;
when the preset first type keywords do not exist in the name field of the currently traversed contact, executing step 208;
in this example, reading and determining whether the predetermined first type keyword exists in the name field of the currently traversed contact may specifically be:
reading the information in the name field of the currently traversed contact, matching the read information with each keyword in a pre-stored first-class keyword list, and confirming that the preset first-class keyword exists in the name field of the currently traversed contact when the keyword given in the first-class keyword list exists in the read information.
In this example, the first-type keywords in the first-type keyword list may be keywords of a naming class, and specific contents may be as shown in table 1.
TABLE 1
Tai Mr. first Bo et al Bo et al
Brother (a kind of toy) Sister for treatment of disease Brother Sister
Jiu (a Chinese character) Gu (Chinese character of 'Gu') Grandpa Milk
Brother Dong (Dong) Manager Aunt
Tertiary amine Everywhere is grown Local leader Length of the neck
Hall length Korea to Ke Long Country leader Ballast for children
Sail long The city leader Conductor of a truck Master master
Step 207, the mobile phone processes the information in the name field of the currently traversed contact according to a first rule to be used as a nickname of the currently traversed contact, and step 211 is executed;
in this example, the nickname of the currently traversed contact after processing the information in the name field of the currently traversed contact according to the first rule may be:
determining whether the name field of the currently traversed contact contains a second type of keyword;
when the name field of the currently traversed contact contains the second type of key words, the second type of key words in the information in the name field of the currently traversed contact are removed and used as the nickname of the currently traversed contact;
and when the name field of the currently traversed contact does not contain the second type of key words, taking the information in the name field of the currently traversed contact as the nickname of the currently traversed contact.
In this example, determining whether the name field of the currently traversed contact contains the second type keyword may be:
and reading the information in the name field of the currently traversed contact, matching the read information with each keyword in a pre-stored second-type keyword list, and confirming that the preset second-type keyword exists in the name field of the currently traversed contact when the keyword given in the second-type keyword list exists in the read information.
In this example, the keywords in the second type keyword class table may be information such as attribution, unit, number type identifier, and the like, and the specific content may be as shown in table 2.
TABLE 2
Unit of
Move
Are communicated
Fixed telephone
Mobile phone
Company(s)
Beijing
Shanghai province
For example, the name field of the currently traversed contact person "durala manager (company)" contains the first type keyword "manager" and the second type keyword "company", and the "durala manager" with the word of "company" in the contact name field removed is used as the nickname of the currently traversed contact person "durala manager (company)".
For example, if the name field of the currently traversed contact "di" contains the first type of keyword, but does not contain the second type of keyword, the "di" is directly used as the nickname of the currently traversed contact "di".
Step 208, the mobile phone reads and determines whether the title field of the currently traversed contact is empty;
when the title field of the currently traversed contact is not empty, executing step 209;
when the title field of the currently traversed contact is empty, executing step 210;
step 209, the mobile phone simplifies and combines the information in the name field and the information in the title field of the current traversal, takes the simplified and combined information as the nickname of the contact of the current traversal, and executes step 211;
in this example, the simplifying and combining the information in the name field and the information in the title field of the current traversal may include:
extracting a first character in a name field of a currently traversed contact; searching a preset information simplification table to obtain simplified information corresponding to the information in the title field of the currently traversed contact; and merging the first character with the searched simplified information.
In this example, the title field may be a field describing information such as the title, the unit (work unit or learning unit) and the like of the currently traversed contact, and the simplified information corresponding to the information in the title field may be as shown in table 3.
TABLE 3
Title For short
President President
Manager Manager
Hunting head Hunting head
Secretary Secretary
Lawyer Lawyer
Plaiting guide Plaiting guide
Finance affairs Finance affairs
VP General assembly
CEO General assembly
President General assembly
Book-keeping book Book-keeping book
Judge of law Judge of law
Lawyer Lawyer
Consultant Consultant
Main pipe Main pipe
Accountant Accountant
Neglect of Neglect of
Doctor Doctor
Teacher's teacher Teacher
Teacher Teacher
Police officer Police officer
Hunting head Hunting head
Plan for planning Plan for planning
Master and ren Master and ren
Policeman Police officer
Coach Coach
Engineer(s) Worker's tool
Person in charge General assembly
Boss General assembly
For example, if the title field of the currently traversed contact "lie four" is not empty and the content is "person in charge", the nickname obtained by simply combining the content "lie four" of the name field of the currently traversed contact and the content "person in charge" of the title field is "lie total".
Step 210, the mobile phone processes the information in the name field of the currently traversed contact according to a second rule to be used as a nickname of the currently traversed contact, and step 211 is executed;
in this example, the nickname of the currently traversed contact after processing the information in the name field of the currently traversed contact according to the second rule may be:
and taking other information except the first character in the name field of the current traversal as the nickname of the contact of the current traversal. Or,
determining the number of characters of information in a name field traversed currently;
and when the number of characters of the information in the name field of the current traversal is not less than a first preset value of characters or not more than a second preset value of characters, taking the information in the name field of the contact of the current traversal as the nickname of the contact of the current traversal.
In this example, the first predetermined value and the second predetermined value may be set manually or automatically by software, for example, the first predetermined value may be 4, the second predetermined value may be 2, and the like, and this example is not limited.
For example, if the title field of the currently traversed contact person "Liushi" is empty, "poems" other than the first character "Liushi" in the name field may be used as the nickname of the contact person "Liushi";
for example, if the title field of the currently traversed contact "meaning" is empty, the information "meaning" in the name field can be directly used as the nickname of the contact "meaning";
for example, if the title field of the currently traversed contact "lang" is empty, the information "lang" in the name field may be directly used as the nickname of the contact "lang".
And step 211, the mobile phone adds the determined nickname to the starting position of the short message, and sends the short message added with the nickname to the currently traversed contact.
When the short message ' happy spring festival and happy family ' is sent to the contact person in the contact person list in a group way, after the processing of the scheme, the short message sent to the contact person with three opening is ' three, happy spring festival and happy family ', the short message sent to the contact person with four is ' plum sum, happy spring festival and happy family ', the short message sent to the contact person with lisa is ' lisa, happy spring festival and happy family ', the short message sent to the contact person with Liu poet is ' poet, happy spring festival and happy family ', the short message sent to the contact person with Dula manager (company) is ' Dula manager, happy spring festival and happy family ', the short message sent to the contact person with brother is ' brother, happy spring festival and happy family ', the short message sent to the contact person with happy spring festival and happy family ' is ' Jike-happy spring festival, happy spring festival and happy family ', and the short message sent to the contact person with Jike-happy family is ' happy spring festival and happy family '.
When the embodiment of the invention sends the short message in group, the nickname of the contact person receiving the short message is automatically added into the short message sent in group, so that the short message sent in group has more pertinence.
In addition, when the nickname of the contact person receiving the mass-sent short message is specifically determined, the nickname of the contact person can be determined from various fields (nickname field, name field, title field and the like), and the method is suitable for determining the nickname under various application scenes (nickname/no nickname, English/Chinese name field, specified keyword and the like in the name field).
Example 3
Based on the same inventive concept, the embodiment of the invention also provides a device and a terminal for sending the short message, and as the principle of solving the problems of the device and the terminal is similar to the method for sending the short message, the implementation of the device and the terminal can refer to the implementation of the method, and repeated parts are not repeated.
As shown in fig. 3, the apparatus for sending a short message according to an embodiment of the present invention may include:
the nickname determining module 301 may be configured to, when sending a short message, determine, if a request for adding a nickname is received, a nickname of a contact receiving the short message from description fields of the contact receiving the short message, where the description fields at least include a nickname field, a name field, and a title field;
the information sending module 302 may be configured to add the determined nickname to the short message, and send the short message to which the nickname is added to the contact person receiving the short message.
Preferably, referring to fig. 4, the nickname determining module 301 may comprise:
the first determination unit 3011 may be configured to read and determine whether a nickname field of a contact receiving a short message is empty;
the first nickname determining unit 3012 may be configured to, when the nickname field of the contact receiving the short message is not empty, use information in the nickname field of the contact receiving the short message as the nickname of the contact receiving the short message;
the second determination unit 3013 may be configured to, when the nickname field of the contact receiving the short message is empty, read and determine a character type of information in the name field of the contact receiving the short message;
the second nickname determining unit 3014 may be configured to, when the determined character type is english, use information in a name field of a contact receiving the short message as a nickname of the contact receiving the short message;
the third nickname determining unit 3015 may be configured to determine, according to a predetermined rule, a nickname of a contact receiving the short message from a name field and a title field of the contact receiving the short message when the determined character type is chinese.
Preferably, referring to fig. 5, the third nickname determining unit 3015 may include:
the first judging subunit 30151 may be configured to read and determine whether a predetermined first type keyword exists in a name field of a contact receiving a short message;
the first nickname determining subunit 30152 may be configured to, when a predetermined first type of keyword exists in a name field of a contact receiving the short message, process information in the name field of the contact receiving the short message according to a first rule, and then use the processed information as a nickname of the contact receiving the short message;
the second judging subunit 30153 may be configured to, when the predetermined first type keyword does not exist in the name field of the contact receiving the short message, read and determine whether the title field of the contact receiving the short message is empty;
the second nickname determining subunit 30154 may be configured to, when the title field of the contact receiving the short message is not empty, simplify and combine information in the name field and information in the title field of the contact receiving the short message, and use the simplified and combined information as the nickname of the contact receiving the short message;
the third nickname determining subunit 30155 may be configured to, when the title field of the contact receiving the short message is empty, process the information in the name field of the contact receiving the short message according to the second rule, and then use the processed information as the nickname of the contact receiving the short message.
Preferably, the first determining subunit 30151 is configured to read information in a name field of a contact receiving a short message, match the read information with each keyword in a pre-stored first type keyword list, and when there is a keyword in the read information that is given in the first type keyword list, determine that there is a predetermined first type keyword in the name field of the contact receiving the short message.
Preferably, the first nickname determining subunit 30152 may be configured to determine whether a name field of a contact receiving the short message contains a second type of keyword; when the name field of the contact receiving the short message contains the second type of key words, the second type of key words in the name field information of the contact receiving the short message are removed and used as the nickname of the contact receiving the short message; and when the name field of the contact receiving the short message does not contain the second type of key words, taking the information in the name field of the contact receiving the short message as the nickname of the contact receiving the short message.
Preferably, the second judging subunit 30153 is configured to read information in a name field of a contact person receiving the short message, match the read information with each keyword in a pre-stored second-type keyword list, and when there is a keyword in the read information, determine that a predetermined second-type keyword exists in the name field of the contact person receiving the short message.
Preferably, the second nickname determining subunit 30154 may be configured to extract a first character in a name field of a contact receiving the short message; searching a preset information simplification table to obtain simplified information corresponding to information in a title field of a contact receiving the short message; and merging the first character with the searched simplified information.
Preferably, the third nickname determining subunit 30155 may be configured to use information other than the first character in the name field of the contact receiving the short message as the nickname of the contact receiving the short message, or may be configured to determine the number of characters of information in the name field of the contact receiving the short message; and when the number of characters of the information in the name field of the contact receiving the short message is not less than a first preset value or not more than a second preset value, taking the information in the name field of the contact receiving the short message as the nickname of the contact receiving the short message.
When the embodiment of the invention sends the short message, the nickname of the contact person receiving the short message is automatically added into the sent short message, so that the sent short message has more pertinence.
The embodiment of the invention also provides a terminal and the device for sending the short message. The terminal may be a mobile phone.
Through the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present invention may be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments of the present invention.
Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred embodiment and that the blocks or flow diagrams in the drawings are not necessarily required to practice the present invention.
Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (9)

1. A method for sending short messages, the method comprising:
when a short message is sent, if a request for adding a nickname is received, determining the nickname of the currently traversed contact from the description fields of the contact receiving the short message, wherein the description fields at least comprise nickname fields, name fields and title fields;
adding the determined nickname to the short message, and sending the short message added with the nickname to the contact;
wherein the determining the nickname of the contact from the description field of the contact receiving the short message comprises:
reading and determining whether the nickname field of the contact receiving the short message is empty;
when the nickname field is not empty, taking the information in the nickname field as the nickname of the contact;
when the nickname field is empty, reading and determining the character type of the information in the name field of the contact;
when the determined character type is English, taking the information in the name field as a nickname of the contact;
when the determined character type is Chinese, reading and determining whether a preset first type keyword exists in the name field of the contact; wherein, the first kind of keywords are the keywords of the name class;
when a preset first type keyword exists in the name field, determining whether a second type keyword is contained in the name field; when the name field contains second keywords, the second keywords in the information in the name field are removed and used as the nickname of the contact; when the name field does not contain the second type keywords, the information in the name field is used as the nickname of the contact; the second type keywords are at least one of attribution, unit and number type identification;
when no preset first-class keyword exists in the name field, reading and determining whether the title field of the contact is empty;
when the title field is not empty, simplifying and combining the information in the name field and the information in the title field, and taking the simplified and combined information as a nickname of the contact;
when the title field is empty, taking other information except the first character in the name field as the nickname of the contact; or determining the number of characters of the information in the name field, and when the number of characters of the information in the name field is not less than a first preset value of characters or not more than a second preset value of characters, using the information in the name field as the nickname of the contact.
2. The method of claim 1, wherein reading and determining whether a predetermined first type keyword exists in the name field of the contact is:
reading the information in the name field of the contact, matching the read information with each keyword in a pre-stored first-class keyword list, and confirming that the preset first-class keyword exists in the name field of the contact when the keyword given in the first-class keyword list exists in the read information.
3. The method of claim 1, wherein determining whether the information in the name field contains a second type of keyword comprises:
and reading the information in the name field of the contact, matching the read information with each keyword in a pre-stored second-type keyword list, and confirming that the preset second-type keyword exists in the name field of the contact when the keyword given in the second-type keyword list exists in the read information.
4. The method of claim 1, wherein the simplified combining of the information in the name field and the information in the title field comprises:
extracting a first character in the name field;
searching a preset information simplification table to obtain simplified information corresponding to the information in the title field;
and merging the first character with the searched simplified information.
5. An apparatus for sending short messages, the apparatus comprising:
the nickname determining module is used for determining the nickname of the contact from the description fields of the contact receiving the short message if a request for adding the nickname is received when the short message is sent, wherein the description fields at least comprise nickname fields, name fields and title fields;
the information sending module is used for adding the determined nickname to the short message and sending the short message added with the nickname to the contact;
wherein the nickname determining module comprises:
the first judging unit is used for reading and determining whether the nickname field of the contact is empty;
the first nickname determining unit is used for taking the information in the nickname field as the nickname of the contact when the nickname field is not empty;
the second judgment unit is used for reading and determining the character type of the information in the name field of the contact when the nickname field is empty;
the second nickname determining unit is used for taking the information in the name field as the nickname of the contact when the determined character type is English;
the third nickname determining unit is used for determining the nickname of the contact from the name field and the title field of the contact according to a preset rule when the determined character type is Chinese;
wherein the third nickname determining unit comprises:
the first judgment subunit is used for reading and determining whether a preset first type keyword exists in the name field of the contact; wherein, the first kind of keywords are the keywords of the name class;
a first nickname determining subunit configured to determine whether a second type of keyword is included in the name field when a predetermined first type of keyword is present in the name field; when the name field contains second keywords, the second keywords in the information in the name field are removed and used as the nickname of the contact; when the name field does not contain the second type keywords, the information in the name field is used as the nickname of the contact; the second type keywords are at least one of attribution, unit and number type identification;
the second judgment subunit is used for reading and determining whether the title field of the contact is empty or not when the preset first-class key words do not exist in the name field;
the second nickname determining subunit is used for simplifying and combining the information in the name field and the information in the title field when the title field is not empty, and taking the simplified and combined information as the nickname of the contact;
the third nickname determination subunit is used for taking other information except the first character in the name field as the nickname of the contact when the title field is empty; or determining the number of characters of the information in the name field, and when the number of characters of the information in the name field is not less than a first preset value of characters or not more than a second preset value of characters, using the information in the name field as the nickname of the contact.
6. The apparatus of claim 5, wherein the first determining subunit is configured to read information in a name field of the contact, match the read information with keywords in a pre-stored first-type keyword list, and when there is a keyword in the read information that is listed in the first-type keyword list, determine that a predetermined first-type keyword exists in the name field of the contact.
7. The apparatus of claim 5, wherein the second determining subunit is configured to read information in a name field of the contact, match the read information with keywords in a pre-stored second-type keyword list, and when there is a keyword in the read information that is given in the second-type keyword list, determine that a predetermined second-type keyword exists in the name field of the contact.
8. The apparatus of claim 5, wherein the second nickname determining subunit is configured to extract a first character in the name field; searching a preset information simplification table to obtain simplified information corresponding to the information in the title field; and merging the first character with the searched simplified information.
9. A terminal, characterized in that it comprises the apparatus of any of claims 5 to 8.
CN201310025436.1A 2013-01-23 2013-01-23 A kind of send the method for note, device and terminal Active CN103118346B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310025436.1A CN103118346B (en) 2013-01-23 2013-01-23 A kind of send the method for note, device and terminal
PCT/CN2013/091015 WO2014114172A1 (en) 2013-01-23 2013-12-31 Text message transmission method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310025436.1A CN103118346B (en) 2013-01-23 2013-01-23 A kind of send the method for note, device and terminal

Publications (2)

Publication Number Publication Date
CN103118346A CN103118346A (en) 2013-05-22
CN103118346B true CN103118346B (en) 2016-07-06

Family

ID=48416589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310025436.1A Active CN103118346B (en) 2013-01-23 2013-01-23 A kind of send the method for note, device and terminal

Country Status (2)

Country Link
CN (1) CN103118346B (en)
WO (1) WO2014114172A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118346B (en) * 2013-01-23 2016-07-06 小米科技有限责任公司 A kind of send the method for note, device and terminal
CN105704293A (en) * 2014-11-26 2016-06-22 阿里巴巴集团控股有限公司 Method and device for displaying information of short message sender
CN105407214B (en) * 2015-10-23 2018-09-04 小米科技有限责任公司 Generate the method and device of short message
US10673794B2 (en) * 2017-01-23 2020-06-02 Lenovo (Singapore) Pte Ltd Populating a message with personal boilerplate
CN106888160A (en) * 2017-04-05 2017-06-23 深圳天珑无线科技有限公司 A kind of method for sending information and device
CN108897728B (en) * 2018-06-27 2023-04-07 平安科技(深圳)有限公司 Short message splicing processing method and device, computer equipment and storage medium
EP3614628B1 (en) 2018-08-20 2024-04-17 Samsung Electronics Co., Ltd. Electronic apparatus and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127945A (en) * 2007-09-20 2008-02-20 黄家昌 A method and system for adding names of target users in SMS group
CN101237605A (en) * 2007-02-01 2008-08-06 环达电脑(上海)有限公司 Personalized SMS group sending method
CN101631291A (en) * 2009-07-02 2010-01-20 中兴通讯股份有限公司南京分公司 Method and device for group sending of short message
CN102790955A (en) * 2012-08-02 2012-11-21 广东欧珀移动通信有限公司 Message group sending method
CN102883291A (en) * 2012-10-12 2013-01-16 上海量明科技发展有限公司 Method, client and system for massively sending short messages

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI226201B (en) * 2003-06-05 2005-01-01 Inventec Appliances Corp Method of sending individual short message
CN103118346B (en) * 2013-01-23 2016-07-06 小米科技有限责任公司 A kind of send the method for note, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237605A (en) * 2007-02-01 2008-08-06 环达电脑(上海)有限公司 Personalized SMS group sending method
CN101127945A (en) * 2007-09-20 2008-02-20 黄家昌 A method and system for adding names of target users in SMS group
CN101631291A (en) * 2009-07-02 2010-01-20 中兴通讯股份有限公司南京分公司 Method and device for group sending of short message
CN102790955A (en) * 2012-08-02 2012-11-21 广东欧珀移动通信有限公司 Message group sending method
CN102883291A (en) * 2012-10-12 2013-01-16 上海量明科技发展有限公司 Method, client and system for massively sending short messages

Also Published As

Publication number Publication date
WO2014114172A1 (en) 2014-07-31
CN103118346A (en) 2013-05-22

Similar Documents

Publication Publication Date Title
CN103118346B (en) A kind of send the method for note, device and terminal
CN101547249B (en) Mobile termination and information classification management method thereof
CN102769687B (en) Mass texting system and method
US20140108382A1 (en) Assisted memorizing of event-based streams of mobile content
CN101488927A (en) Method for managing literal information by an instant communication device and the instant communication device
CN103425649A (en) Method and device for adding friend information
CN102447773A (en) Intelligent grouping system and method for address book of mobile terminal
CN102811286A (en) Group creation method for address book
CN101719954A (en) Method and device for realizing shot message topping
CN103002103A (en) Short message group sending method and device
CN102158607B (en) Method for processing contact information added to mobilephone and mobilephone
CN104967978A (en) Festival blessing short message sending method
CN104216896A (en) Contact information searching method and device
CN103389976A (en) Searching method and searching system for terminal
CN112307318B (en) Content publishing method, system and device
CN103607515A (en) Short message merging device and method
CN102710850A (en) Method and system for classified management of mobile phone messages and mobile phone
CN102984676B (en) Method and terminal for processing message session
CN102663080A (en) Method for managing mobile equipment data according to affairs
CN105634933B (en) The processing method and intelligent terminal of the history message of public account in converged communication
CN101094436A (en) Information inter-transferring intelligent platform
CN106125956A (en) A kind of information-pushing method based on input method and system
CN103020189A (en) Data processing device and method
CN105120045A (en) Method and device for creating address book according to note information of new contact name
CN101673172A (en) Data synergism method and mobile communication terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant