CN101924818A - A method and device for replying short messages - Google Patents
A method and device for replying short messages Download PDFInfo
- Publication number
- CN101924818A CN101924818A CN2009101472579A CN200910147257A CN101924818A CN 101924818 A CN101924818 A CN 101924818A CN 2009101472579 A CN2009101472579 A CN 2009101472579A CN 200910147257 A CN200910147257 A CN 200910147257A CN 101924818 A CN101924818 A CN 101924818A
- Authority
- CN
- China
- Prior art keywords
- short message
- user
- communication number
- portable terminal
- communication
- 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.)
- Pending
Links
Images
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了一种回复短消息的方法,该方法为:发送方传送短消息时,通过对该短消息内的指定字段进行字符串扩容,从而将所有指示接收方回复的通讯号码携带在短消息内传送至各接收方,这样,接收方在回复接收到的短消息时,便可以从接收到的通讯号码列表中选择全部/部分通讯号码进行短消息回复,这在一定程度上优化了短消息回复流程,提高了短消息回复流程的执行效率,进而大大提升了用户体验;另一方面,采用本申请实施例提供的技术方案,无需对系统或终端进行改造,这在很大程度上节省了系统成本。本申请同时公开了相应的移动终端。
This application discloses a method for replying to a short message. The method is as follows: when the sender transmits a short message, the specified field in the short message is expanded to carry all the communication numbers instructing the receiver to reply in the short message. In this way, when the receiver replies to the received short message, he can select all/part of the communication numbers from the received communication number list to reply the short message, which optimizes the short message to a certain extent. The message reply process improves the execution efficiency of the short message reply process, thereby greatly improving the user experience; on the other hand, adopting the technical solution provided by the embodiment of the application does not need to modify the system or terminal, which saves a lot system cost. The application discloses the corresponding mobile terminal at the same time.
Description
技术领域technical field
本申请涉及通信领域,特别涉及一种回复短消息的方法及装置。The present application relates to the communication field, in particular to a method and device for replying short messages.
背景技术Background technique
目前,收发短消息已经成为移动通讯设备(例如,手机)的必备功能。据全球移动通讯系统协会(The GSM Association)的统计资料,全球每日传送至移动通讯设备的文字信息已达10亿条,且每月需求量还在不断增长中。使用短消息进行通讯具有价格低廉、实时性强、携带方便和便于存储记录等优点,因此,短消息通讯在多种场合特别是移动办公环境中得到了广泛的应用。At present, sending and receiving short messages has become an essential function of mobile communication devices (eg, mobile phones). According to the statistics of The GSM Association, the number of text messages sent to mobile communication devices worldwide has reached 1 billion per day, and the monthly demand is still growing. The use of short messages for communication has the advantages of low price, strong real-time performance, convenient portability, and convenient storage and recording. Therefore, short message communication has been widely used in various occasions, especially in mobile office environments.
现有技术下,移动通信网络(GSM)短消息技术支持短信群发业务,即发送方在一次发送中,可以将一条短信内容同时发送至多个接收方。但是,在实际应用场景中,一个团队或者一个小组使用短信群发业务集体讨论一些简单事宜时,每次向群组成员回复短消息之前,发送方都需要逐个添加群组成员的通讯号码(如,手机号码),再将短消息群发至各个群组成员,这在很大程度上增加了短消息回复流程的繁琐程度,大大降低了其执行效率。Under the prior art, the short message technology of the mobile communication network (GSM) supports the short message group sending service, that is, the sender can send the contents of one short message to multiple receivers at the same time during one sending. However, in an actual application scenario, when a team or a group uses the SMS group sending service to collectively discuss some simple matters, before replying a short message to the group members each time, the sender needs to add the communication numbers of the group members one by one (such as, mobile phone number), and then send short messages to each group member, which greatly increases the complexity of the short message reply process and greatly reduces its execution efficiency.
有鉴于此,需要提供一种新的短消息回复方式,以提高短消息回复流程的执行效率。In view of this, it is necessary to provide a new short message reply method to improve the execution efficiency of the short message reply process.
发明内容Contents of the invention
本申请实施例提供一种回复短消息的方法及装置,用以提高短消息回复流程的执行效率。The embodiment of the present application provides a method and device for replying a short message, so as to improve the execution efficiency of the short message reply process.
本申请实施例提供的具体技术方案如下:The specific technical scheme that the embodiment of the present application provides is as follows:
一种发送短消息的方法,包括:A method for sending short messages, comprising:
移动终端根据用户指示获取用户选定的通讯号码,所述选定的通讯号码为所述用户指示接收方回复的对象;The mobile terminal acquires the communication number selected by the user according to the user's instruction, and the selected communication number is the object to which the user instructs the receiver to reply;
所述移动终端将获得的通讯号码,以及本移动终端的通讯号码封装在用户指示传送的第一短消息内的指定字段中;The mobile terminal encapsulates the obtained communication number and the communication number of the mobile terminal in a specified field in the first short message sent by the user;
所述移动终端将封装完毕的第一短消息传送至相应的接收方。The mobile terminal transmits the encapsulated first short message to a corresponding receiver.
一种移动终端,包括:A mobile terminal, comprising:
用户接口单元,用于根据用户指示获取用户选定的通讯号码,所述选定的通讯号码为所述用户指示接收方回复的对象;The user interface unit is used to obtain the communication number selected by the user according to the user's instruction, and the selected communication number is the object to which the user instructs the receiver to reply;
处理单元,用于将获得的通讯号码,以及本移动终端的通讯号码封装在用户指示传送的第一短消息内的指定字段中;The processing unit is used to encapsulate the obtained communication number and the communication number of the mobile terminal in a specified field in the first short message instructed by the user to transmit;
发送单元,用于将封装完毕的第一短消息传送至相应的接收方。A sending unit, configured to send the encapsulated first short message to a corresponding receiver.
一种回复短消息的方法,包括:A method of replying to a short message, comprising:
移动终端接收发送方传送的第一短消息,该第一短消息中携带发送方指示本移动终端需回复的通讯号码,以及所述发送方的通讯号码;The mobile terminal receives the first short message sent by the sender, and the first short message carries the communication number that the sender instructed the mobile terminal to reply to, and the communication number of the sender;
所述移动终端对所述第一短消息进行解析,获取该第一短消息携带的全部通讯号码,并将其呈现给用户;The mobile terminal parses the first short message, obtains all communication numbers carried in the first short message, and presents them to the user;
所述移动终端根据用户指示从获取的通讯号码中选定全部/部分通讯号码,并将选定的全部/部分通讯号码封装在用户回复的第二短消息内的指定字段中,以及将封装完毕的第二短消息分别发送至所述选定的全部/部分通讯号码对应的接收方。The mobile terminal selects all/part of the communication numbers from the obtained communication numbers according to the user's instructions, and encapsulates the selected all/part of the communication numbers in the specified field in the second short message replied by the user, and completes the packaging The second short message is sent to the recipients corresponding to all/part of the selected communication numbers.
一种移动终端,包括A mobile terminal, comprising
接收单元,用于接收发送方传送的第一短消息,该第一短消息中携带发送方指示本移动终端需回复的通讯号码,以及所述发送方的通讯号码;The receiving unit is used to receive the first short message sent by the sender, the first short message carries the communication number that the sender instructed the mobile terminal to reply to, and the communication number of the sender;
解析单元,用于对所述第一短消息进行解析,获取该第一短消息携带的全部通讯号码;A parsing unit, configured to parse the first short message and obtain all communication numbers carried in the first short message;
用户接口单元,用于将所述解析单元获得的全部通讯号码呈现给用户;a user interface unit, configured to present all communication numbers obtained by the parsing unit to the user;
处理单元,用于根据用户指示从获取的通讯号码中选定全部/部分通讯号码,并将选定的全部/部分通讯号码封装在用户回复的第二短消息内的指定字段中;A processing unit, configured to select all/part of the communication numbers from the obtained communication numbers according to the user's instruction, and encapsulate all/part of the selected communication numbers in a specified field in the second short message replied by the user;
发送单元,用于将封装完毕的第二短消息分别发送至所述选定的全部/部分通讯号码对应的接收方。The sending unit is configured to send the encapsulated second short message to the receivers corresponding to all/part of the selected communication numbers.
综上所述,本申请实施例中,发送方传送短消息时,通过对该短消息内的指定字段进行字符串扩容,从而将所有指示接收方回复的通讯号码携带在群发的短消息内传送至各接收方,这样,接收方在回复接收到的短消息时,便可以从接收到的通讯号码列表中选择全部/部分通讯号码进行短消息回复,这在一定程度上优化了短消息回复流程,提高了短消息回复流程的执行效率,进而大大提升了用户体验;另一方面,采用本申请实施例提供的技术方案,无需对系统或终端进行改造,这在很大程度上节省了系统成本。To sum up, in the embodiment of this application, when the sender transmits a short message, the specified field in the short message is expanded to carry all the communication numbers indicating the receiver's reply in the group-sent short message. To each receiver, in this way, when the receiver replies to the received short message, he can select all/part of the communication numbers from the received communication number list to reply the short message, which optimizes the short message reply process to a certain extent , improving the execution efficiency of the short message reply process, thereby greatly improving the user experience; on the other hand, adopting the technical solution provided by the embodiment of the application does not need to modify the system or terminal, which greatly saves the system cost .
附图说明Description of drawings
图1为本申请实施例中手机功能结构图;Fig. 1 is the functional structural diagram of the mobile phone in the embodiment of the present application;
图2为本申请实施例中手机A根据用户A的指示向群组成员群发短消息流程图;Fig. 2 is the flow chart of sending short messages to group members by mobile phone A according to the instruction of user A in the embodiment of the present application;
图3为本申请实施例中手机B根据用户B的指示进行短消息回复流程图。FIG. 3 is a flow chart of mobile phone B responding to short messages according to user B's instruction in the embodiment of the present application.
具体实施方式Detailed ways
为了提高短消息回复业务的执行效率,本申请实施例中,采用以下方式加以解决:In order to improve the execution efficiency of the short message reply service, in the embodiment of the present application, the following methods are adopted to solve the problem:
在发送短消息时,When sending a short message,
移动终端根据用户指示获取用户选定的通讯号码,所述选定的通讯号码为所述用户指示接收方回复的对象;所述移动终端将获得的通讯号码,以及本移动终端的通讯号码封装在用户指示传送的第一短消息内的指定字段中;所述移动终端将封装完毕的第一短消息传送至相应的接收方。The mobile terminal obtains the communication number selected by the user according to the user's instruction, and the selected communication number is the object to which the user instructs the recipient to reply; the mobile terminal encapsulates the obtained communication number and the communication number of the mobile terminal in the The user instructs to transmit the specified field in the first short message; the mobile terminal transmits the encapsulated first short message to the corresponding receiver.
本实施例中,发送方可以以群组形式或非群组形式发送上述第一短消息,在以群组形式发送第一短消息时,第一短消息内携带的通讯号码可以为接收第一短消息的全部/部分群组成员的通讯号码,也可以是单独指示回复的非群组成员的通讯号码。In this embodiment, the sender can send the above-mentioned first short message in a group form or in a non-group form. When sending the first short message in a group form, the communication number carried in the first short message can be The communication numbers of all/part of the group members in the short message may also be the communication numbers of non-group members who individually indicate the reply.
而在回复短消息时,And when replying to a short message,
移动终端接收发送方传送的第一短消息,该第一短消息中携带发送方指示本移动终端需回复的通讯号码,以及所述发送方的通讯号码;所述移动终端对所述第一短消息进行解析,获取该第一短消息携带的全部通讯号码,并将其呈现给用户;所述移动终端根据用户指示从获取的通讯号码中选定全部/部分通讯号码,并将选定的全部/部分通讯号码封装在用户回复的第二短消息内的指定字段中,以及将封装完毕的第二短消息分别发送至所述选定的全部/部分通讯号码对应的接收方。The mobile terminal receives the first short message sent by the sender, and the first short message carries the communication number that the sender instructed the mobile terminal to reply to, and the communication number of the sender; the mobile terminal responds to the first short message The message is analyzed, and all the communication numbers carried by the first short message are obtained, and presented to the user; the mobile terminal selects all/part of the communication numbers from the obtained communication numbers according to the user's instruction, and selects all/part of the selected communication numbers Encapsulate/part of the communication numbers in specified fields in the second short message replied by the user, and send the encapsulated second short message to recipients corresponding to the selected all/part of the communication numbers.
下面结合附图对本申请优选的实施方式进行详细说明。Preferred embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
本申请实施例中,以移动终端为手机,并且手机以群发形式传输短消息为例进行介绍。In the embodiment of the present application, the mobile terminal is a mobile phone, and the mobile phone transmits short messages in the form of group sending as an example for introduction.
参阅图1所示,本申请实施例中,手机包含接收单元10、解析单元11、用户接口单元12、处理单元13和发送单元14,其中1, in the embodiment of the present application, the mobile phone includes a
在发送短消息时,When sending a short message,
用户接口单元12,用于根据用户指示获取用户选定的通讯号码,所述选定的通讯号码为所述用户指示接收方回复的对象;The user interface unit 12 is used to obtain the communication number selected by the user according to the user's instruction, and the selected communication number is the object to which the user instructs the receiver to reply;
处理单元13,用于将获得的通讯号码,以及本手机的通讯号码封装在用户指示传送的第一短消息内的指定字段中;The processing unit 13 is used to encapsulate the obtained communication number and the communication number of the mobile phone in a specified field in the first short message instructed by the user to transmit;
发送单元14,用于将封装完毕的第一短消息传送至相应的接收方。The sending unit 14 is configured to send the encapsulated first short message to a corresponding receiver.
在接收短消息时,When receiving a short message,
接收单元10,用于接收发送方以群发形式传送的第一短消息,该第一短消息中携带发送方指示本手机需回复的通讯号码,以及所述发送方的通讯号码;The receiving
解析单元11,用于对所述第一短消息进行解析,获取该第一短消息携带的全部通讯号码;An analysis unit 11, configured to analyze the first short message, and obtain all communication numbers carried by the first short message;
用户接口单元12,用于将所述解析单元获得的全部通讯号码呈现给用户;A user interface unit 12, configured to present all communication numbers obtained by the parsing unit to the user;
处理单元13,用于根据用户指示从获取的通讯号码中选定全部/部分通讯号码,并将选定的全部/部分通讯号码封装在用户回复的第二短消息内的指定字段中;The processing unit 13 is configured to select all/part of the communication numbers from the obtained communication numbers according to the user's instructions, and encapsulate all/part of the selected communication numbers in the specified field in the second short message replied by the user;
发送单元14,用于将封装完毕的第二短消息分别发送至所述选定的全部/部分通讯号码对应的手机。The sending unit 14 is configured to send the packaged second short message to the mobile phones corresponding to all/part of the selected communication numbers.
基于上述设备,本申请实施例中,假设用户A、用户B、用户C、用户D、用户E和用户F是归属于同一群组的6个成员,此时,用户A计划周末聚会,并将聚会的时间、地点通过短消息方式群发至其他成员的手机上,那么,参阅图2所示,手机A根据用户A的指示向群组成员群发短消息的详细流程如下:Based on the above equipment, in the embodiment of this application, it is assumed that user A, user B, user C, user D, user E, and user F are 6 members belonging to the same group. At this time, user A plans to have a weekend party, and The time and place of the party are sent to the mobile phones of other members through short messages. Then, as shown in Figure 2, the detailed process of mobile phone A sending short messages to group members according to the instructions of user A is as follows:
步骤200:接收用户A通过操作界面输入的短消息文字内容,以下称为内容A。Step 200: Receive the text content of the short message input by user A through the operation interface, hereinafter referred to as content A.
步骤210:接收用户A通过操作界面,逐个添加的此次群发短消息所针对的群组成员的手机号码,即用户B-F的手机号码。Step 210: Receive the mobile phone numbers of the group members targeted for sending the group short message added one by one by user A through the operation interface, that is, the mobile phone numbers of users B-F.
在实际应用中,步骤200和步骤210的执行顺序也可以颠倒,在此不再赘述。In practical applications, the execution order of
步骤220:将用户A输入的内容A进行报文组装,携带在向群组成员发送的短消息中,以下称为短消息1。Step 220: Assemble the content A input by user A into a message, and carry it in a short message sent to group members, hereinafter referred to as short message 1.
步骤230:对短消息1内的指定字段进行字符串扩容,将用户A输入的群组成员的手机号码以及用户A的手机号码封装在短消息1内的扩容字段中。Step 230: Expand the specified field in the short message 1, and encapsulate the mobile phone numbers of the group members and user A's mobile phone number input by user A into the expanded field in the short message 1.
实际应用中,手机A在短消息1中是否封装群组成员的手机号码可以根据用户A的指示而执行:若用户A指示无需群组成员回复,则手机A可以不在短消息1中封装群组成员的手机号码;若用户A指示回复全部/部分群组成员,则手机A可以在短消息1中封装全部/部分群组成员的手机号码。本实施例仅以用户A指示回复全部群组成员为例进行介绍,在此不再赘述。另一方面,也可以在短消息1内封装非群组成员的手机号码作为指示接收方回复的对象,在此亦不再赘述。In practical applications, whether mobile phone A encapsulates the mobile phone number of the group member in the short message 1 can be executed according to the instruction of user A: if user A indicates that no reply from the group member is required, then mobile phone A does not need to encapsulate the group member in the short message 1 The mobile phone numbers of the members; if user A indicates to reply to all/part of the group members, mobile phone A can encapsulate the mobile phone numbers of all/part of the group members in the short message 1. In this embodiment, the user A instructs to reply to all group members as an example for introduction, and details will not be repeated here. On the other hand, the mobile phone number of the non-group member can also be packaged in the short message 1 as an object to indicate the recipient to reply, which will not be repeated here.
上述步骤220和步骤230的执行顺序可以颠倒,或者,也可以同时进行,在此亦不再赘述。The order of execution of the
步骤240:将封装完毕的短消息1发送至用户A指示的各个群组成员,即用户B、用户C、用户D、用户E和用户F。Step 240: Send the encapsulated short message 1 to each group member indicated by user A, namely user B, user C, user D, user E and user F.
在上述实施例步骤230中,手机A将群组成员的手机号码封装在短消息1内时,可以采用的方法包含但不限于以下:In
将群组成员的手机号码封装在短消息内的由短消息协议定义的保留字段中,例如,GSM短消息传送协议数据单元(Transport Protocol Data Unit,TPDU的第一个字节的第3或第4位;又例如,消息体部分地址和认证码(Message Body)之后的第三个字段(有8个字节)。Encapsulate the mobile phone number of the group member in the reserved field defined by the short message protocol in the short message, for example, the GSM short message transfer protocol data unit (Transport Protocol Data Unit, the third or third byte of the first byte of the TPDU) 4 bits; another example, the third field (8 bytes) after the part address of the message body and the authentication code (Message Body).
在短消息服务(Short Message Service,SMS)中,短信息的发送和接收模式共有三种:禁用模式(Block模式)、基于AT命令(ATCommands)的文本(Text)模式和基于AT命令的协议数据单元(Protocol Data Unit,PDU)模式,而发送中英文短信息时,通常使用PDU模式。In Short Message Service (SMS), there are three modes for sending and receiving short messages: disabled mode (Block mode), text mode based on AT commands (ATCommands) and protocol data based on AT commands Unit (Protocol Data Unit, PDU) mode, and when sending short messages in Chinese and English, PDU mode is usually used.
本申请实施例中,采用PDU模式发送短消息时,采用的主要函数是:In the embodiment of this application, when using the PDU mode to send a short message, the main function used is:
*SubmitSM(long&*p_1SeqNum,int*p_iPkTotal,int*p_iPkNumber,int*p_iRegisteredDelivery,*SubmitSM(long&*p_1SeqNum, int*p_iPkTotal, int*p_iPkNumber, int*p_iRegisteredDelivery,
int*p_iMsgLevel,string*p_strServiceId,int*p_iFeeUserType,string*p_strFeeTerminalId,int*p_iMsgLevel, string*p_strServiceId, int*p_iFeeUserType, string*p_strFeeTerminalId,
int*p_iFeeTerminalType,*//(3.0中添加字段)int*p_iFeeTerminalType, *//(add field in 3.0)
*int*p_iTPpid,int*p_iTPudhi,int*p_iMsgFmt,*int*p_iTPpid, int*p_iTPudhi, int*p_iMsgFmt,
string*p_strMsgSrc,string*p_strMsgSrc,
*string*p_strFeeType,string*p_strFeeCode,string*p_strValidTime,*string*p_strFeeType, string*p_strFeeCode, string*p_strValidTime,
string*p_strAtTime,string*p_strAtTime,
*string*p_strSrcId,string*p_strDestTerminalId,*int*p_iDestTerminalType,*//(3.0中添加字段)。*string*p_strSrcId, string*p_strDestTerminalId, *int*p_iDestTerminalType, *// (field added in 3.0).
其中,*p_iPkNumber是进行字符串扩容的字段,即携带群组成员手机号码的字段,根据实际应用场景,进行字符串扩容字段的大小可以在8-64个比特之间,从而可以携带1-8个手机号码,当然,为了接收方使用方便,较佳地,可以将发送方(即用户A)手机号码排列在第一个。Among them, *p_iPkNumber is the field for string expansion, that is, the field carrying the mobile phone number of the group member. According to the actual application scenario, the size of the string expansion field can be between 8-64 bits, so that it can carry 1-8 Of course, for the convenience of the receiver, preferably, the mobile phone number of the sender (ie user A) can be arranged first.
这样,用户B、用户C、用户D、用户E和用户F便可以接收到用户A通过手机A发送的携带有群组成员手机号码的短消息1了。以用户B为例,用户B接收到短消息1后,通过手机操作界面除了可以看到短消息1的文字内容(即内容A)外,还可以看到短消息1的发送方以及全部发送对象(即全部群组成员)的手机号码列表,那么,用户B便可以从中选择全部/部分群组成员进行短消息回复。参阅图3所示,以用户B为例,手机B接收到短消息1后,根据用户B的指示进行短消息回复的详细流程如下:In this way, user B, user C, user D, user E and user F can receive the short message 1 carrying the mobile phone numbers of group members sent by user A through mobile phone A. Taking user B as an example, after receiving short message 1, user B can not only see the text content of short message 1 (that is, content A), but also see the sender and all senders of short message 1 through the mobile phone operation interface (that is, the mobile phone number list of all group members), then user B can select all/part of the group members to reply to the short message. Referring to Fig. 3, taking user B as an example, after mobile phone B receives short message 1, the detailed process of replying short message according to user B's instruction is as follows:
步骤300:接收到用户A通过手机A发送的短消息1。Step 300: Receive short message 1 sent by user A through mobile phone A.
步骤310:对短消息1进行解析,根据解析结果,将短消息1的文字内容(即内容A)和用户A-F的手机号码通过操作界面呈现给用户B。Step 310: Analyze the short message 1, and present the text content of the short message 1 (ie content A) and the mobile phone numbers of users A-F to user B through the operation interface according to the result of the analysis.
本申请实施例中,手机B采用以下方式对短消息1进行报文解析:In the embodiment of the present application, mobile phone B performs message analysis on short message 1 in the following manner:
MakeDeliverRespPDU(long p_1SeqNum,char*p_pMsgId,long p_cResult,Octstr&p_OctStr)(调用m_PduCode.Pdu_Encode_Deliver_Resp(p_1SeqNum,PDUDeliverResp,p_OctStr);信息打包)。MakeDeliverRespPDU(long p_1SeqNum, char*p_pMsgId, long p_cResult, Octstr&p_OctStr) (call m_PduCode.Pdu_Encode_Deliver_Resp(p_1SeqNum, PDUDeliverResp, p_OctStr); information packing).
另一方面,由于用户B无需对自己的手机号码进行回复,因此,针对步骤310,较佳地,手机B还可以在解析短消息1的过程中,对获取的一系列手机号码内的手机B的手机号码进行识别,并将其删除,只将其余群组成员的手机号码呈现给用户B。本实施例仅以呈现全部群组成员(即用户A-F)的手机号码为例进行介绍,在此不再赘述。On the other hand, since user B does not need to reply to his mobile phone number, for
步骤320:根据用户B的指示,从用户A-F的手机号码中选择除自身之外的其余群组成员的手机号码进行短消息回复,即对用户A、用户C、用户D、用户E和用户F进行短消息回复。Step 320: According to the instruction of user B, select the mobile phone numbers of other group members except oneself from the mobile phone numbers of users A-F to reply the short message, that is, to user A, user C, user D, user E and user F Reply with a short message.
步骤320的操作流程可以通过修改发送短信命令的long&p_1SeqNum参数来实现,例如:发件人的号码是保存在long&p_1SeqNum的首位,其余抄送号码顺序排在后面,若只解析前8bit字符则只回复发件人,若解析所有字符位,则回复全部。The operation process of
这样,便可以将用户B选择的所有手机号码添加至收件人一栏中。In this way, all mobile phone numbers selected by user B can be added to the column of recipients.
步骤330:接收用户B输入的短消息文字内容,以下称为内容B,并对内容B进行报文组装,携带在向其他群组成员回复的短消息中,以下称为短消息2。Step 330: Receive the text content of the short message input by user B, hereinafter referred to as content B, and assemble the content B into a message, and carry it in the short message replied to other group members, hereinafter referred to as short message 2.
步骤340:对短消息2内的指定字段进行字符串扩容,并将用户B选择回复的群组成员的手机号码,以及用户B的手机号码封装在短消息2内的扩容字段中。Step 340: Expand the specified field in the short message 2, and encapsulate the mobile phone number of the group member that user B chooses to reply and the mobile phone number of user B in the expanded field in the short message 2.
当然,步骤330和步骤340的执行顺序也可以颠倒,或者,也可以同时执行,在此不再赘述。Of course, the order of execution of
与步骤230同理,手机B也可以采用以下函数对短消息2的字段进行字符串扩容:Similar to step 230, mobile phone B can also use the following function to expand the string size of the field of short message 2:
*SubmitSM(long&*p_1SeqNum,int*p_iPkTotal,int*p_iPkNumber,int*p_iRegisteredDelivery,*SubmitSM(long&*p_1SeqNum, int*p_iPkTotal, int*p_iPkNumber, int*p_iRegisteredDelivery,
int*p_iMsgLevel,string*p_strServiceId,int*p_iFeeUserType,string*p_strFeeTerminalId,int*p_iMsgLevel, string*p_strServiceId, int*p_iFeeUserType, string*p_strFeeTerminalId,
int*p_iFeeTerminalType,*//(3.0中添加字段)int*p_iFeeTerminalType, *//(add field in 3.0)
*int*p_iTPpid,int*p_iTPudhi,int*p_iMsgFmt,*int*p_iTPpid, int*p_iTPudhi, int*p_iMsgFmt,
string*p_strMsgSrc,string*p_strMsgSrc,
*string*p_strFeeType,string*p_strFeeCode,string*p_strValidTime,*string*p_strFeeType, string*p_strFeeCode, string*p_strValidTime,
string*p_strAtTime,string*p_strAtTime,
*string*p_strSrcId,string*p_strDestTerminalId,*int*p_iDestTerminalType,*//(3.0中添加字段)*string*p_strSrcId, string*p_strDestTerminalId, *int*p_iDestTerminalType, *//(add field in 3.0)
int*p_iMsgLength,string*p_strMsgContentHex,string*p_strLinkID)int*p_iMsgLength, string*p_strMsgContentHex, string*p_strLinkID)
其中,*p_iPkNumber即是短消息2内进行字符串扩容的字段,也就是携带群组成员手机号码的字段,根据实际应用场景,进行字符串扩容字段的大小可以设置在8-64个比特之间,从而可以携带1-8个手机号码;当然,为了接收方使用方便,较佳地,可以将发送方(即用户B)手机号码排列在第一个。Among them, *p_iPkNumber is the string expansion field in the short message 2, that is, the field carrying the mobile phone number of the group member. According to the actual application scenario, the size of the string expansion field can be set between 8-64 bits , so that 1-8 mobile phone numbers can be carried; of course, for the convenience of the receiving party, preferably, the mobile phone number of the sending party (that is, user B) can be arranged first.
步骤350:将封装完毕的短消息2回复至用户B指示的各个群组成员。Step 350: Reply the encapsulated short message 2 to each group member indicated by user B.
通过上述实施例,用户B便将短消息2成功地回复给了用户A、用户C、用户D、用户E和用户F这5个群组成员,从而成功地完成了一轮群发短消息和群回短消息的操作。Through the above-mentioned embodiment, user B has successfully replied the short message 2 to the five group members of user A, user C, user D, user E and user F, thereby successfully completing a round of group sending of short messages and Group reply short message operation.
另一方面,在步骤320中,若用户B选择仅回复短消息1的发送方用户A,则手机B不需要对短消息2的字段进行字符串扩容,即不需要修改long&p_1SeqNum参数,只需按照传统的短消息回复方式执行便可完成回复操作,在此不再赘述。即可进行正常操作。On the other hand, in
综上所述,本申请实施例中,发送方传送短消息时,通过对该短消息内的指定字段进行字符串扩容,从而将所有指示接收方回复的通讯号码携带在群发的短消息内传送至各接收方,这样,接收方在回复接收到的短消息时,便可以从接收到的通讯号码列表中选择全部/部分通讯号码进行短消息回复,这在一定程度上优化了短消息回复流程,提高了短消息回复流程的执行效率,进而大大提升了用户体验;另一方面,采用本申请实施例提供的技术方案,无需对系统或终端进行改造,这在很大程度上节省了系统成本。To sum up, in the embodiment of this application, when the sender transmits a short message, the specified field in the short message is expanded to carry all the communication numbers indicating the receiver's reply in the group-sent short message. To each receiver, in this way, when the receiver replies to the received short message, he can select all/part of the communication numbers from the received communication number list to reply the short message, which optimizes the short message reply process to a certain extent , improving the execution efficiency of the short message reply process, thereby greatly improving the user experience; on the other hand, adopting the technical solution provided by the embodiment of the application does not need to modify the system or terminal, which greatly saves the system cost .
显然,本领域的技术人员可以对本申请中的实施例进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请实施例中的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请中的实施例也意图包含这些改动和变型在内。Apparently, those skilled in the art can make various changes and modifications to the embodiments of the application without departing from the spirit and scope of the application. In this way, if the modifications and variations in the embodiments of the present application fall within the scope of the claims of the present application and equivalent technologies, the embodiments of the present application are also intended to include these modifications and variations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009101472579A CN101924818A (en) | 2009-06-17 | 2009-06-17 | A method and device for replying short messages |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2009101472579A CN101924818A (en) | 2009-06-17 | 2009-06-17 | A method and device for replying short messages |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN101924818A true CN101924818A (en) | 2010-12-22 |
Family
ID=43339451
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2009101472579A Pending CN101924818A (en) | 2009-06-17 | 2009-06-17 | A method and device for replying short messages |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101924818A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102056109A (en) * | 2010-12-28 | 2011-05-11 | 北京握奇数据系统有限公司 | Methods for group sending and returning short message services (SMSs) and telecom smart card |
| CN102271315A (en) * | 2011-07-26 | 2011-12-07 | 深圳市易联盛世科技有限公司 | Short message enhancement function realization method and device |
| CN102769707A (en) * | 2011-05-06 | 2012-11-07 | 中兴通讯股份有限公司 | Method and device for processing multimedia message |
| CN102780643A (en) * | 2011-05-11 | 2012-11-14 | 中兴通讯股份有限公司 | Method and system for exchanging messages |
| CN103379212A (en) * | 2012-04-24 | 2013-10-30 | 宇龙计算机通信科技(深圳)有限公司 | Method for rapidly replying message and mobile terminal |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040111612A1 (en) * | 2002-12-10 | 2004-06-10 | International Business Machines Corporation | Method and apparatus for anonymous group messaging in a distributed messaging system |
| CN101022632A (en) * | 2007-01-26 | 2007-08-22 | 华为技术有限公司 | Message monitoring method and device |
| CN101031096A (en) * | 2006-03-02 | 2007-09-05 | 中兴通讯股份有限公司 | Method and system for packet transmitting SMS |
| CN101252700A (en) * | 2008-04-10 | 2008-08-27 | 黄柯淳 | Sms cluster sending method and system for system to look up cluster group numbers |
| CN101272527A (en) * | 2007-03-21 | 2008-09-24 | 北京三星通信技术研究有限公司 | Method for realizing message group application and mobile terminal |
-
2009
- 2009-06-17 CN CN2009101472579A patent/CN101924818A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040111612A1 (en) * | 2002-12-10 | 2004-06-10 | International Business Machines Corporation | Method and apparatus for anonymous group messaging in a distributed messaging system |
| CN101031096A (en) * | 2006-03-02 | 2007-09-05 | 中兴通讯股份有限公司 | Method and system for packet transmitting SMS |
| CN101022632A (en) * | 2007-01-26 | 2007-08-22 | 华为技术有限公司 | Message monitoring method and device |
| CN101272527A (en) * | 2007-03-21 | 2008-09-24 | 北京三星通信技术研究有限公司 | Method for realizing message group application and mobile terminal |
| CN101252700A (en) * | 2008-04-10 | 2008-08-27 | 黄柯淳 | Sms cluster sending method and system for system to look up cluster group numbers |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102056109A (en) * | 2010-12-28 | 2011-05-11 | 北京握奇数据系统有限公司 | Methods for group sending and returning short message services (SMSs) and telecom smart card |
| CN102769707A (en) * | 2011-05-06 | 2012-11-07 | 中兴通讯股份有限公司 | Method and device for processing multimedia message |
| CN102780643A (en) * | 2011-05-11 | 2012-11-14 | 中兴通讯股份有限公司 | Method and system for exchanging messages |
| WO2012151841A1 (en) * | 2011-05-11 | 2012-11-15 | 中兴通讯股份有限公司 | Message interaction method and system |
| CN102271315A (en) * | 2011-07-26 | 2011-12-07 | 深圳市易联盛世科技有限公司 | Short message enhancement function realization method and device |
| CN102271315B (en) * | 2011-07-26 | 2014-01-22 | 深圳市易联盛世科技有限公司 | Short message enhancement function realization method and device |
| CN103379212A (en) * | 2012-04-24 | 2013-10-30 | 宇龙计算机通信科技(深圳)有限公司 | Method for rapidly replying message and mobile terminal |
| CN103379212B (en) * | 2012-04-24 | 2015-06-24 | 宇龙计算机通信科技(深圳)有限公司 | Method for rapidly replying message and mobile terminal |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Ma et al. | General application research on GSM module | |
| CN108429670B (en) | Message sending method, message receiving method and terminal | |
| CN103236968B (en) | The conversation managing method of pocket transmission news, device and system | |
| CN107105414A (en) | A kind of income system and method for Big Dipper RDSS short messages and SMS | |
| CN102215179A (en) | Instant messaging registering device and method | |
| CN102158819A (en) | Process method for mobile device to display E-mail, server and mobile device | |
| CN104835025A (en) | Delivery data processing method and system | |
| CN101815267A (en) | Method for encrypting short message of mobile communication terminal | |
| CN101924818A (en) | A method and device for replying short messages | |
| KR100678235B1 (en) | System and method for short message transmission in mobile communication system | |
| CN116170756A (en) | Information transmission method and terminal | |
| CN101621769A (en) | Method for intercommunicating short message signals and short message service center | |
| CN101115260B (en) | Mobile communication terminal and method for playing message in real time thereof | |
| CN102404248B (en) | The method of converged message and mail applications and device | |
| CN103888264A (en) | Inter-mobile-phone data transferring method based on background data exchange, terminal and system | |
| CN102281516B (en) | Short message processing method and short message processing terminal | |
| CN103067054A (en) | Delivering and receiving method in bulk of contact person information, device and mobile terminal | |
| EP2899945B1 (en) | Method for an enhanced communication between a first network node and a second network node of a telecommunications network, and telecommunications network | |
| CN102970661A (en) | Method and device for code conversion of short messages | |
| CN110719573B (en) | Information transmission method and device, terminal equipment and storage medium | |
| CN101945360B (en) | Wireless terminal configuration method and system | |
| CN114222258B (en) | Method for realizing multimedia message communication between 5G message mobile phone and Beidou terminal | |
| CN102264044A (en) | Video short message sending method, apparatus thereof and system thereof | |
| WO2012155464A1 (en) | A terminal for protecting short message, system and method thereof | |
| CN101925021B (en) | Method/system for processing messages and convergence service system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101222 |