WO2013174315A1 - 文本内容的发送方法和装置 - Google Patents

文本内容的发送方法和装置 Download PDF

Info

Publication number
WO2013174315A1
WO2013174315A1 PCT/CN2013/079735 CN2013079735W WO2013174315A1 WO 2013174315 A1 WO2013174315 A1 WO 2013174315A1 CN 2013079735 W CN2013079735 W CN 2013079735W WO 2013174315 A1 WO2013174315 A1 WO 2013174315A1
Authority
WO
WIPO (PCT)
Prior art keywords
text content
sent
replacement
identifier
replacement identifier
Prior art date
Application number
PCT/CN2013/079735
Other languages
English (en)
French (fr)
Inventor
李家宽
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013174315A1 publication Critical patent/WO2013174315A1/zh

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]

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for transmitting text content.
  • BACKGROUND OF THE INVENTION With the popularization of communication terminals such as mobile phones, it has become a habit for people to contact people through text messages. Especially when the festival is coming, sending each other a message of curse has become a part of the content of life.
  • SMS forwarding and group sending functions a same short message group is often sent to multiple people, and the content of the short message is completely the same, or a message sent by several different people is completely identical, thereby The emotional color expressed by the short message tends to be dull, and the effect of the user contacting the sentiment by sending a text message cannot be achieved.
  • the present invention provides a method and apparatus for transmitting text content, so as to at least solve the technical problem that the information sent when transmitting information to multiple destination terminals at the same time in the prior art is the same and cannot be modified or replaced.
  • a method for transmitting text content including: determining whether a replacement identifier is sent to a text content to be sent sent to one or more destination terminals; if so, replacing the identifier Instead of the character satisfying the predetermined rule, the text content of the completed replacement is transmitted to the destination terminal.
  • the replacing the replacement identifier with the predetermined predetermined character comprises: acquiring a contact number of the destination terminal corresponding to the text content to be sent; determining a pre-stored contact name corresponding to the contact number; The above contact name replaces the above replacement identifier as the above-mentioned character satisfying the predetermined rule.
  • the method further includes: if the contact name corresponding to the contact number is not queried, replacing the text content with a predefined character. Replacement identifier.
  • the method before determining whether there is a replacement identifier in the text content to be sent, the method further includes: receiving an insertion request message inserting the replacement identifier; inserting the replacement identifier at a current position of the text content to be sent , the text content of the above replacement identifier is inserted as the text content to be sent as described above.
  • the text content to be sent above includes short message content.
  • a device for transmitting text content comprising: a determining unit configured to determine whether a replacement identifier is sent to a text content to be sent sent to one or more destination terminals; When it is determined that the above-mentioned replacement identifier is determined, the replacement identifier is replaced with a character that satisfies a predetermined rule, and the text content of the replacement is transmitted to the destination terminal.
  • the sending unit includes: an obtaining module, configured to acquire a contact number of the destination terminal corresponding to the text content to be sent; and a determining module, configured to determine a pre-stored contact name corresponding to the contact number;
  • the first replacement module is configured to replace the contact name as the above-mentioned replacement identifier as the above-mentioned character satisfying the predetermined rule.
  • the sending unit further includes: a second replacement module, configured to: after determining the contact name corresponding to the contact number stored in advance, if the contact name corresponding to the contact number is not queried, use the advance The defined character replaces the replacement identifier in the text content above.
  • the apparatus further includes: a receiving unit, configured to: before determining whether there is a replacement identifier in the text content to be sent, receiving an insertion request message inserting the replacement identifier; the inserting unit is set to be in the to-be-sent The current position of the text content is inserted into the above-described replacement identifier, and the text content of the above-described replacement identifier is inserted as the text content to be transmitted.
  • the text content to be sent above includes short message content.
  • a replacement identifier is added to the text content to be sent, so that when the text content is sent, it is first determined whether there is a replacement identifier to be replaced in the text content to be sent, and if it is, it is replaced by the content identifier.
  • the character content of the predetermined condition is solved in the above manner, thereby realizing the effective replacement of the replacement identifier in the content to be sent, thereby The content of the text is guaranteed to be reasonable.
  • FIG. 1 is a preferred flow chart of a method for transmitting text content according to an embodiment of the present invention
  • FIG. 2 is a preferred flow chart for replacing a replacement identifier with a character satisfying a predetermined specification according to an embodiment of the present invention
  • FIG. 4 is a block diagram showing a preferred structure of a transmitting unit according to an embodiment of the present invention
  • FIG. 5 is a text content transmission according to an embodiment of the present invention.
  • FIG. 6 is a preferred flowchart of a method for sending a short message according to an embodiment of the present invention
  • FIG. 7 is another preferred flowchart of a method for sending a short message according to an embodiment of the present invention.
  • the method includes: Step S102: determining whether a replacement identifier is sent to a text content to be sent sent to one or more destination terminals. Step S104: If yes, replace the replacement identifier with a character that satisfies the predetermined rule, and send the text content of the completed replacement to the destination terminal.
  • a replacement identifier is added to the text content to be sent, so that when the text content is sent, it is first determined whether there is a replacement identifier to be replaced in the text content to be sent, and if there is Character content to satisfy predetermined conditions.
  • the technical problem that the information sent when sending information to multiple destination terminals is the same at the same time and cannot be modified or replaced by the information in the prior art is solved in the above manner, thereby realizing the effective replacement of the replacement identifier in the content to be sent, thereby The content of the text is guaranteed to be reasonable.
  • the above-mentioned replacement identifier may be a pre-defined special character string.
  • the characters defined as identifiers need to be characters that do not appear in the natural context, thereby avoiding due to the normal language. The risk of ambiguity or loss of textual content caused by logical duplication.
  • the replacement identifier can be replaced with the contact's name or nickname to improve the legitimacy of the text content.
  • the replacement of the replacement identifier with the character that satisfies the predetermined rule may include the following steps: Step S202: Acquire a contact number of the destination terminal corresponding to the text content to be sent; Step S204 : determining a contact name corresponding to the contact number stored in advance; Step S206: replacing the contact name with a replacement identifier as a character satisfying the predetermined rule.
  • the method further includes: replacing the text content with a predefined character if the contact name corresponding to the contact number is not queried Replacement identifier in .
  • the following may be implemented as follows: receiving an insertion request message inserting a replacement identifier; inserting a replacement identifier at a current position of the text content to be sent, and waiting for the text content of the replacement identifier to be inserted
  • the text content sent Preferably, a button or a shortcut for inserting a replacement identifier may be preset, and the insertion of the replacement identifier may be implemented as long as such a button or a shortcut is triggered.
  • the text content to be sent may be a short message content.
  • a device for transmitting text content is provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and has not been described again.
  • the term "unit” or “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and conceivable.
  • 3 is a block diagram showing a preferred structure of a text content transmitting apparatus according to an embodiment of the present invention. As shown in FIG. 3, the method includes: a determining unit 302 and a transmitting unit 304, which will be described below.
  • the determining unit 302 is configured to determine whether there is a replacement identifier in the text content to be sent sent to the one or more destination terminals;
  • the sending unit 304 is coupled to the determining unit 302, and is configured to, when the replacement identifier is determined, replace the replacement identifier with a character that satisfies a predetermined rule, and send the text content that has been replaced to the destination terminal.
  • the replacement identifier is determined, replace the replacement identifier with a character that satisfies a predetermined rule, and send the text content that has been replaced to the destination terminal.
  • the sending unit 304 includes: an obtaining module 402, configured to acquire a contact number of a destination terminal corresponding to the text content to be sent; a determining module 404, coupled to the obtaining module 402, It is arranged to determine a pre-stored contact name corresponding to the contact number; the first replacement module 406, coupled with the determination module 404, is arranged to replace the contact name with a replacement identifier as a character that satisfies the predetermined rule.
  • the apparatus further includes: a second replacement module, configured to: after determining a pre-stored contact name corresponding to the contact number, if the contact name corresponding to the contact number is not queried, utilize The predefined character replaces the replacement identifier in the text content.
  • the foregoing apparatus further includes: a receiving unit 502, configured to receive an insertion request message for inserting a replacement identifier before determining whether there is a replacement identifier in the text content to be sent;
  • the inserting unit 504 is coupled to the receiving unit 502, and is configured to insert a replacement identifier at a current position of the text content to be transmitted, and insert the text content of the replacement identifier as the text content to be transmitted.
  • the embodiment of the invention provides a short message sending device, which uses the name in the address book to replace the specific identification character string in the short message before sending the short message, thereby enhancing the emotional color of the short message, so as to achieve the effect of contacting the sentiment through the short message.
  • the short message sending device comprises an identifier input module, a content replacement module and a short message sending module. These modules are described in further detail below.
  • the identifier entry module is configured to insert a predefined identifier in the short message input position through a defined menu item or a function button, wherein the identifier is a defined special string that is clearly distinguished from the short message content, so as to be in the short message Search in the sender or content replacement.
  • the content replacement module is configured to: before the sending of the short message, retrieve whether an identifier exists in the content to be sent, and if so, replace the identifier with a contact name or other characters stored in the mobile phone to generate a corresponding content corresponding to different needs text message content.
  • the short message sending module is configured to send the short message after the replacement content to the target contact.
  • the embodiment of the present invention further provides a short message sending method, as shown in FIG. 6, which mainly includes the following steps: Step S602: Defining a special character string as an identifier, in order to prevent mis-replacement, characters defined as identifiers need characters that do not appear in a natural context, thereby avoiding duplication with normal language logic, resulting in content ambiguity Or the risk of loss; Step S604: Defining and setting a function button or a menu option, wherein the defined identifier can be inserted at the input position of the current content through the defined button or menu option; Step S606: The SMS sending program treats Sending the content of the short message to be retrieved, determining whether the pre-defined identifier is included to determine whether to perform content replacement; Step S608: Extracting the contact number in the destination number of the selected group sending one by one, when the short-
  • the predefined character may be replaced by a predetermined character, for example, may be replaced by a pre-set meaningful character such as "you" or a space; step S610 : Send processed SMS content to the selected target contact.
  • the special identifier is replaced with a name, thereby enhancing the personal emotional color of the short message.
  • the unrecorded number in the address book is processed in the form of a null character, thereby ensuring the rationality of the short message content.
  • the method provided in this embodiment does not need to set replacement content by the user, and preset replacement rules for each target number, which can be simply implemented without adding a new module.
  • the user does not need to set any information, the operation is simple and convenient, and there is no reading ambiguity caused by the presence of a special identifier in the short message content.
  • the preferred embodiment further provides an example of sending a short message based on the short message sending method. As shown in FIG.
  • the workflow of the short message sending method includes the following steps: Step S702: Editing a short message, using a function button or a menu item Inserting the defined identifier into the required location; Step S704: Clicking the short message sending button to trigger the short message sending function; Step S706: Extracting the contact number one by one from the target contact group; Step S708: Retrieving the short message content, if the short message content is included
  • the identifier proceeds to step S710, otherwise proceeds to step S712; Step S710: Retrieving the address book to obtain the contact name string corresponding to the contact number, and replacing the identifier content with the found contact name string; if the corresponding contact is not found, using "you", space, etc.
  • Step S712 Send the replaced short message to the target contact;
  • Step S714 Check whether there is a number of the unsent short message in the target contact group, if yes, proceed to step S706, otherwise perform the step S716;
  • Step S716 The process of sending the short message is completed, and the sending process is exited.
  • the correspondence between the number and the name in the address book is used, and when the short message is sent and replaced, the special identifier is replaced with a name, thereby enhancing the personal emotional color of the short message.
  • the unrecorded number in the address book is processed by a null character, thereby maintaining the rationality of the content of the short message in this case.
  • a replacement rule is set for each target number, which can be easily implemented without adding a new module. At the same time, it does not require the user to set any information, and the operation is simple and convenient. In addition, there are fewer exception scenarios and effective methods of handling, and there is no risk of reading ambiguity due to the inclusion of special identifiers in the content of the message.
  • software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
  • a storage medium is provided, the software being stored, including but not limited to: an optical disk, a floppy disk, a hard disk, a rewritable memory, and the like.
  • the present invention achieves the following technical effects: adding a replacement identifier to the text content to be sent, so that when the text content is sent, it is first determined whether there is a need to replace the text content to be sent.
  • the replacement identifier if any, is replaced with the character content that satisfies the predetermined condition.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. Perform the steps shown or described, or separate them into individual integrated circuit modules, or Multiple of these modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种文本内容的发送方法和装置,其中,该方法包括:确定向一个或多个目的终端发送的待发送的文本内容中是否有替换标识符;如果有,则将替换标识符替换为满足预定规则的字符,将完成替换的文本内容发送给目的终端。本发明解决了现有技术中当同时向多个目的终端发送信息时发送的信息相同而无法对信息进行一定的修改替换的技术问题,实现了对待发送内容中替换标识符的有效替换,从而保证了文本内容的合理性。

Description

文本内容的发送方法和装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种文本内容的发送方法和装置。 背景技术 随着手机等通信终端的普及, 人们通过短信来联络感情已经成为习惯。 尤其是在 节日来临之时, 彼此之间互发祝福短信已经成为生活内容的一部分。 然而, 随着短信转发、 群发功能的出现, 经常会出现一条相同的短信群发给多个 人, 而且短信的内容是完全相同的, 或者是收到若干条不同人发送的内容完全相同的 短信, 从而使得短信所表达的感情色彩趋于平淡, 无法达到用户通过发送短信联络感 情的效果。 主要还是因为在对短信等文本内容进行群发的时候并不能有效实现对内容 的改变或者替换。 针对上述的问题, 目前尚未提出有效的解决方案。 发明内容 本发明提供了一种文本内容的发送方法和装置, 以至少解决了现有技术中当同时 向多个目的终端发送信息时发送的信息相同而无法对信息进行一定的修改替换的技术 问题。 根据本发明的一个方面, 提供了一种文本内容的发送方法, 包括: 确定向一个或 多个目的终端发送的待发送的文本内容中是否有替换标识符; 如果有, 则将上述替换 标识符替换为满足预定规则的字符, 将完成替换的文本内容发送给上述目的终端。 优选地, 将上述替换标识符替换为满足预定规定的字符包括: 获取上述待发送的 文本内容所对应的目的终端的联系人号码; 确定预先存储的对应于上述联系人号码的 联系人姓名; 将上述联系人姓名作为上述满足预定规则的字符替换上述替换标识符。 优选地, 在确定预先存储的对应于上述联系人号码的联系人姓名之后, 上述方法 还包括: 如果未查询到上述联系人号码对应的联系人姓名, 则利用预先定义的字符替 换上述文本内容中的替换标识符。 优选地, 在确定待发送的文本内容中是否有替换标识符之前, 上述方法还包括: 接收到插入上述替换标识符的插入请求消息; 在上述待发送的文本内容的当前位置插 入上述替换标识符, 将插入上述替换标识符的文本内容作为上述待发送的文本内容。 优选地, 上述待发的文本内容包括短信内容。 根据本发明的另一方面, 提供了一种文本内容的发送装置, 包括: 确定单元, 设 置为确定向一个或多个目的终端发送的待发送的文本内容中是否有替换标识符; 发送 单元, 设置为在确定有上述替换标识符的情况下, 将上述替换标识符替换为满足预定 规则的字符, 将完成替换的文本内容发送给目的终端。 优选地, 上述发送单元包括: 获取模块, 设置为获取上述待发送的文本内容所对 应的目的终端的联系人号码; 确定模块, 设置为确定预先存储的对应于上述联系人号 码的联系人姓名; 第一替换模块, 设置为将上述联系人姓名作为上述满足预定规则的 字符替换上述替换标识符。 优选地, 上述发送单元还包括: 第二替换模块, 设置为在确定预先存储的对应于 上述联系人号码的联系人姓名之后,如果未查询到上述联系人号码对应的联系人姓名, 则利用预先定义的字符替换上述文本内容中的替换标识符。 优选地, 上述装置还包括: 接收单元, 设置为在确定待发送的文本内容中是否有 替换标识符之前, 接收到插入上述替换标识符的插入请求消息; 插入单元, 设置为在 上述待发送的文本内容的当前位置插入上述替换标识符, 将插入上述替换标识符的文 本内容作为上述待发送的文本内容。 优选地, 上述待发的文本内容包括短信内容。 在本发明中, 在待发送的文本内容中增加替换标识符, 这样在发送文本内容的时 候, 先确定待发送的文本内容中是否有需要替换的替换标识符, 如果有就将其替换为 满足预定条件的字符内容。 通过上述方式解决了现有技术中当同时向多个目的终端发 送信息时发送的信息相同而无法对信息进行一定的修改替换的技术问题, 实现了对待 发送内容中替换标识符的有效替换, 从而保证了文本内容的合理性。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中- 图 1是根据本发明实施例的文本内容的发送方法的一种优选流程图; 图 2是根据本发明实施例的将替换标识符替换为满足预定规定的字符的一种优选 流程图; 图 3是根据本发明实施例的文本内容的发送装置的一种优选结构框图; 图 4是根据本发明实施例的发送单元的一种优选结构框图; 图 5是根据本发明实施例的文本内容的发送装置的另一种优选结构框图; 图 6是根据本发明实施例的短信发送方法的一种优选流程图; 图 7是根据本发明实施例的短信发送方法的另一种优选流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本发明实施例提供了一种优选的文本内容的发送方法, 如图 1所示, 该方法包括: 步骤 S102:确定向一个或多个目的终端发送的待发送的文本内容中是否有替换标 识符; 步骤 S104: 如果有, 则将替换标识符替换为满足预定规则的字符, 将完成替换的 文本内容发送给目的终端。 在上述优选实施方式中, 在待发送的文本内容中增加替换标识符, 这样在发送文 本内容的时候, 先确定待发送的文本内容中是否有需要替换的替换标识符, 如果有就 将其替换为满足预定条件的字符内容。 通过上述方式解决了现有技术中当同时向多个 目的终端发送信息时发送的信息相同而无法对信息进行一定的修改替换的技术问题, 实现了对待发送内容中替换标识符的有效替换, 从而保证了文本内容的合理性。 优选的, 上述的替换标识可以是预先定义的特殊的字符串, 为了防止产生误替换, 这些定义为标识符的字符需要是在自然语境中不会出现的字符, 从而避免由于与正常 的语言逻辑重复而导致的文本内容出现歧义或者丢失的风险。 为了使得发送给每个联系人的文本内容都不同, 可以将替换标识符替换为该联系 人的姓名或者是昵称, 以提高文本内容的合理性。 在一个优选实施方式中, 如图 2所 示, 将替换标识符替换为满足预定规定的字符可以包括以下步骤: 步骤 S202: 获取待发送的文本内容所对应的目的终端的联系人号码; 步骤 S204: 确定预先存储的对应于联系人号码的联系人姓名; 步骤 S206: 将联系人姓名作为满足预定规则的字符替换替换标识符。 通过上述方式, 实现了基于联系人姓名的文本内容的自动替换, 一方面减少了对 文本内容进行编辑的复杂度, 也使得替换的内容更为符合常规。 考虑到有的时候可能未存储某些人的姓名或者电话, 如果不对这些情况进行处理 的话很容易导致文本内容的发送出现问题, 对于这些情况的发生, 可以将文本内容中 的替换标识符替换为 "空"或者是 "您"等用语, 从而使得文本内容更具合理。 在一个优 选实施方式中, 在确定预先存储的对应于联系人号码的联系人姓名之后, 上述方法还 包括: 如果未查询到联系人号码对应的联系人姓名, 则利用预先定义的字符替换文本 内容中的替换标识符。 对于上的文本内容的编辑, 可以按照以下方式实现包括: 接收到插入替换标识符 的插入请求消息; 在待发送的文本内容的当前位置插入替换标识符, 将插入替换标识 符的文本内容作为待发送的文本内容。 优选的, 可以预先设置了用于插入替换标识符 的按键或者快捷方式, 只要触发这样的按键或者是快捷方式便可以实现替换标识符的 插入。 在上述各个优选实施方式中, 待发的文本内容可以是短信内容。 在本实施例中还提供了一种文本内容的发送装置, 该装置用于实现上述实施例及 优选实施方式, 已经进行过说明的不再赘述。如以下所使用的,术语"单元"或者"模块" 可以实现预定功能的软件和 /或硬件的组合。尽管以下实施例所描述的装置较佳地以软 件来实现, 但是硬件, 或者软件和硬件的组合的实现也是可能并被构想的。 图 3是根 据本发明实施例的文本内容的发送装置的一种优选结构框图, 如图 3所示, 包括: 确 定单元 302和发送单元 304, 下面对该结构进行说明。 确定单元 302, 设置为确定向一个或多个目的终端发送的待发送的文本内容中是 否有替换标识符; 发送单元 304, 与确定单元 302耦合, 设置为在确定有替换标识符的情况下, 将 替换标识符替换为满足预定规则的字符, 将完成替换的文本内容发送给目的终端。 在一个优选实施方式中, 如图 4所示, 发送单元 304包括: 获取模块 402, 设置 为获取待发送的文本内容所对应的目的终端的联系人号码; 确定模块 404, 与获取模 块 402耦合, 设置为确定预先存储的对应于联系人号码的联系人姓名; 第一替换模块 406, 与确定模块 404耦合, 设置为将联系人姓名作为满足预定规则的字符替换替换标 识符。 在一个优选实施方式中, 上述装置还包括: 第二替换模块, 设置为在确定预先存 储的对应于联系人号码的联系人姓名之后, 如果未查询到联系人号码对应的联系人姓 名, 则利用预先定义的字符替换文本内容中的替换标识符。 在一个优选实施方式中, 如图 5所示, 上述装置还包括: 接收单元 502, 设置为 在确定待发送的文本内容中是否有替换标识符之前, 接收到插入替换标识符的插入请 求消息; 插入单元 504, 与接收单元 502耦合, 设置为在待发送的文本内容的当前位 置插入替换标识符, 将插入替换标识符的文本内容作为待发送的文本内容。 本发明实施例提供了一个短信发送装置, 在发送短信前, 使用通讯录中的姓名替 换短信中特定的标识字符串, 从而增强短信的感情色彩, 以达到通过短信联络感情的 效果。 该短信发送装置包括标识符录入模块、 内容替换模块以及短信发送模块。 下面 对这几个模块进行进一步详细说明。 标识符录入模块, 设置为通过定义的菜单项或者功能按钮等在短信输入位置插入 预先定义好的标识符, 其中, 标识符就是定义的与短信内容具有明显区分的特殊字符 串, 以便在短信的发送程序中进行检索或者是内容替换。 内容替换模块, 设置为在短信发送前, 检索待发送的内容中是否存在标识符, 如 果存在, 则利用手机中存储的联系人姓名或者其它的字符替换该标识符, 以生成对应 于不同需求的短信内容。 短信发送模块, 设置为将替换内容后的短信发送给目标联系人。 基于上述的短信发送装置, 本发明实施例还提供了一种短信发送方法, 如图 6所 示, 主要包括以下步骤: 步骤 S602: 定义特殊字符串作为标识符, 为了防止产生误替换, 这些定义为标识 符的字符需要在自然语境中不会出现的字符, 从而避免与正常的语言逻辑重复, 而导 致内容出现歧义或丢失的风险; 步骤 S604: 定义和设定功能按钮或者菜单选项, 其中通过这些定义的按钮或者或 菜单选项, 可以在当前内容的输入位置插入定义好的标识符; 步骤 S606: 短信发送程序对待发送的短信内容进行检索, 判断是否包含预先定义 的标识符, 以确定是否进行内容替换; 步骤 S608: 逐条提取选定的群发的目的号码中的联系人号码, 当短息内容中包含 预先定义的标识符时, 从通讯录中检索联系人号码以确定该联系人号码所对应的联系 人姓名, 并利用该姓名字符替换标识符。优选的, 如果通讯录中不存在该联系人号码, 则可以通过预定的字符来替换该预先定义的字符, 例如可以采用 "您"或者空格等预先 设定的有意义的字符进行替换; 步骤 S610: 将经过处理的短信内容发送给选定的目标联系人。 通过上述描述可知, 在本实施例中利用通讯录中的联系人号码和联系人姓名之间 的对应关系, 在对短信进行替换发送时, 将特殊标识替换成姓名, 从而增强短信的个 人感情色彩, 同时对通讯录中无记录的号码以空字符的形式进行处理, 从而保证了短 信内容的合理性。 与相关技术相比, 本实施例所提供的方法无需用户设置替换内容, 并为每个目标号码预先设置了替换规则, 无需增加新的模块就可以简单实现。 同时, 不需要用户设置任何信息, 操作简单便捷, 也不会出现在短信内容中存在特殊标识而 导致的阅读歧义。 本优选实施例还提供了一种基于该短信发送方法进行短信发送的例子, 如图 7所 示, 该短信发送方法的工作流程包括以下步骤: 步骤 S702:编辑短信,使用功能按钮或菜单项在需要的位置插入定义好的标识符; 步骤 S704: 点击短信发送按钮, 触发短信发送功能; 步骤 S706: 从目标联系人组中逐条提取联系人号码; 步骤 S708: 检索短信内容, 如果短信内容中包含标识符则执行步骤 S710, 否则 转而执行步骤 S712; 步骤 S710: 检索通讯录, 以获取该联系人号码对应的联系人姓名字符串, 利用找 到的联系人姓名字符串替换标识符内容; 如果未找到对应的联系人, 则用"您"、 空格 等预先定义的字符代替; 步骤 S712: 将替换完的短信发送给目标联系人; 步骤 S714: 检查目标联系人组中是否存在未发送短信的号码, 如果存在, 则转而 执行步骤 S706, 否则执行步骤 S716; 步骤 S716: 完成短信发送的过程, 退出发送程序。 在上述优选实施方式中, 利用通讯录中号码与名称的对应关系, 在短信进行替换 发送时, 将特殊标识替换成姓名, 从而增强了短信的个人感情色彩。 同时对通讯录中 无记录的号码以空字符进行处理, 从而保持了该情况下短信内容的合理性。 相对于相 关技术, 无需用户设置替换内容, 并为每个目标号码设置了替换规则, 无需新增模块 就可以简单实现。 同时, 不需要用户设置任何信息, 操作简单便捷。 此外, 出现的异 常场景也比较少, 并提供了有效的处理方法, 不会出现由于短信内容中含有特殊标识, 而导致的阅读歧义的风险。 在另外一个实施例中, 还提供了一种软件, 该软件用于执行上述实施例及优选实 施方式中描述的技术方案。 在另外一个实施例中, 还提供了一种存储介质, 该存储介质中存储有上述软件, 该存储介质包括但不限于: 光盘、 软盘、 硬盘、 可擦写存储器等。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 在待发送的文本内容 中增加替换标识符, 这样在发送文本内容的时候, 先确定待发送的文本内容中是否有 需要替换的替换标识符, 如果有就将其替换为满足预定条件的字符内容。 通过上述方 式解决了现有技术中当同时向多个目的终端发送信息时发送的信息相同而无法对信息 进行一定的修改替换的技术问题, 实现了对待发送内容中替换标识符的有效替换, 从 而保证了文本内容的合理性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种文本内容的发送方法, 包括:
确定向一个或多个目的终端发送的待发送的文本内容中是否有替换标识 符;
如果有, 则将所述替换标识符替换为满足预定规则的字符, 将完成替换的 文本内容发送给所述目的终端。
2. 根据权利要求 1所述的方法, 其中, 将所述替换标识符替换为满足预定规定的 字符包括- 获取所述待发送的文本内容所对应的目的终端的联系人号码; 确定预先存储的对应于所述联系人号码的联系人姓名;
将所述联系人姓名作为所述满足预定规则的字符替换所述替换标识符。
3. 根据权利要求 2所述的方法, 其中, 在确定预先存储的对应于所述联系人号码 的联系人姓名之后, 所述方法还包括:
如果未查询到所述联系人号码对应的联系人姓名, 则利用预先定义的字符 替换所述文本内容中的替换标识符。
4. 根据权利要求 1所述的方法, 其中, 在确定待发送的文本内容中是否有替换标 识符之前, 所述方法还包括:
接收到插入所述替换标识符的插入请求消息;
在所述待发送的文本内容的当前位置插入所述替换标识符, 将插入所述替 换标识符的文本内容作为所述待发送的文本内容。
5. 根据权利要求 1至 4中任一项所述的方法, 其中, 所述待发的文本内容包括短 信内容。
6. 一种文本内容的发送装置, 包括:
确定单元, 设置为确定向一个或多个目的终端发送的待发送的文本内容中 是否有替换标识符; 发送单元, 设置为在确定有所述替换标识符的情况下, 将所述替换标识符 替换为满足预定规则的字符, 将完成替换的文本内容发送给目的终端。 根据权利要求 6所述的装置, 其中, 所述发送单元包括:
获取模块, 设置为获取所述待发送的文本内容所对应的目的终端的联系人 号码;
确定模块, 设置为确定预先存储的对应于所述联系人号码的联系人姓名; 第一替换模块, 设置为将所述联系人姓名作为所述满足预定规则的字符替 换所述替换标识符。 根据权利要求 7所述的装置, 其中, 所述发送单元还包括: 第二替换模块, 设置为在确定预先存储的对应于所述联系人号码的联系人 姓名之后, 如果未查询到所述联系人号码对应的联系人姓名, 则利用预先定义 的字符替换所述文本内容中的替换标识符。 根据权利要求 6所述的装置, 其中, 还包括:
接收单元, 设置为在确定待发送的文本内容中是否有替换标识符之前, 接 收到插入所述替换标识符的插入请求消息;
插入单元, 设置为在所述待发送的文本内容的当前位置插入所述替换标识 符, 将插入所述替换标识符的文本内容作为所述待发送的文本内容。 根据权利要求 6至 9中任一项所述的装置, 其中, 所述待发的文本内容包括短 信内容。
PCT/CN2013/079735 2012-09-11 2013-07-19 文本内容的发送方法和装置 WO2013174315A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210334059.5A CN103685665A (zh) 2012-09-11 2012-09-11 文本内容的发送方法和装置
CN201210334059.5 2012-09-11

Publications (1)

Publication Number Publication Date
WO2013174315A1 true WO2013174315A1 (zh) 2013-11-28

Family

ID=49623166

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079735 WO2013174315A1 (zh) 2012-09-11 2013-07-19 文本内容的发送方法和装置

Country Status (2)

Country Link
CN (1) CN103685665A (zh)
WO (1) WO2013174315A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163291A (zh) * 2015-08-19 2015-12-16 上海斐讯数据通信技术有限公司 一种移动终端及其群发信息的控制方法
WO2017214773A1 (zh) * 2016-06-12 2017-12-21 华为技术有限公司 一种在不同应用程序之间转发内容的方法和装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111049792B (zh) * 2019-10-08 2022-03-22 广州视源电子科技股份有限公司 音频传输方法、装置、终端设备和存储介质
CN111147354B (zh) * 2019-12-25 2022-04-26 广州方硅信息技术有限公司 消息处理方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080003984A1 (en) * 2006-06-29 2008-01-03 Christian Kraft Method and system for improved handling of message templates
CN101237605A (zh) * 2007-02-01 2008-08-06 环达电脑(上海)有限公司 人性化短信群发的方法
CN101345794A (zh) * 2008-08-04 2009-01-14 深圳华为通信技术有限公司 一种短信发送方法及通讯终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873555A (zh) * 2010-06-18 2010-10-27 中兴通讯股份有限公司 一种在短信正文中携带收信人姓名的实现方法及装置
CN101997984A (zh) * 2010-11-25 2011-03-30 北京播思软件技术有限公司 一种基于移动终端通信录编辑群发短信的装置及方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080003984A1 (en) * 2006-06-29 2008-01-03 Christian Kraft Method and system for improved handling of message templates
CN101237605A (zh) * 2007-02-01 2008-08-06 环达电脑(上海)有限公司 人性化短信群发的方法
CN101345794A (zh) * 2008-08-04 2009-01-14 深圳华为通信技术有限公司 一种短信发送方法及通讯终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163291A (zh) * 2015-08-19 2015-12-16 上海斐讯数据通信技术有限公司 一种移动终端及其群发信息的控制方法
WO2017214773A1 (zh) * 2016-06-12 2017-12-21 华为技术有限公司 一种在不同应用程序之间转发内容的方法和装置
US11438298B2 (en) 2016-06-12 2022-09-06 Huawei Technologies Co., Ltd. Method and apparatus for forwarding content between different application programs

Also Published As

Publication number Publication date
CN103685665A (zh) 2014-03-26

Similar Documents

Publication Publication Date Title
EP2891296B1 (en) Systems and methods for sharing data among multiple end user devices
EP2753026B1 (en) Method, apparatus and storage medium for adding friends in social network
JP5480381B2 (ja) モバイルデバイスで実施される連絡先リストデータベースの項目を明確化するためのシステムおよび方法
CN102742231B (zh) 通过社交网络服务显示电信消息收发的系统和方法
US20140349690A1 (en) Method and device for generating contact entry, and storage medium
CN105284168A (zh) 蓝牙警示通知服务
US20120149405A1 (en) Methods and Apparatus for Managing Messages
CN101877737A (zh) 通讯装置及其分享照片的方法
CN101742482B (zh) 一种具有自动更新通信信息功能的手机及自动更新方法
CN102984391B (zh) 移动终端和移动终端中的信息内容回复处理方法
CN105224421B (zh) 一种数据备份方法、装置及电子设备
WO2013174315A1 (zh) 文本内容的发送方法和装置
CN101345794A (zh) 一种短信发送方法及通讯终端
CN104881279A (zh) 一种群发消息的方法及装置
JP5661107B2 (ja) 複数の受信機に電子ショートメッセージを送信するための方法およびシステム
KR101377853B1 (ko) 그룹 채팅에서의 사용자 인터페이스 방법
EP2448226A1 (en) Mobile phone messages processing method and mobile phone
CN105430654A (zh) 号码的归属信息的识别方法及装置
CN103650417B (zh) 在通用即插即用网络环境中管理语音邮件的方法和系统
KR101858544B1 (ko) 정보 처리 방법 및 장치
CN102984679A (zh) 一种呼叫转移和数据操作的方法和终端
US8676166B2 (en) Method, system and apparatus for managing messages at a mobile electronic device
CA2835193A1 (en) Email address and telephone number unification systems and methods
CN104735643A (zh) 一种信息处理的方法及数据服务器
US20100240401A1 (en) Uninterrupted usage and access of physically unreachable managed handheld device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13794015

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13794015

Country of ref document: EP

Kind code of ref document: A1