Summary of the invention
Main purpose of the present invention is for providing a kind of method that realizes the short message enhancement function, promoted the short message transmitting terminal to the initiative that sends the back short message and handle and be not subjected to cross-platform restriction.
The present invention proposes a kind of method that realizes the short message enhancement function, comprises step:
The control command that transmitting terminal will strengthen message function is arranged in the message body of short message;
After receiving terminal receives described short message, resolve the described control command in the message body and carry out respective operations.
Preferably, also comprise after the step of described control command in the described parsing message body and execution:
Receiving terminal sends the control receipt to described transmitting terminal according to control command.
Preferably, described control command comprises:
Message self-destruction, processing receipt, group message, message reclaim, networking is reached the standard grade invites the wherein control command of one or more combinations; Described control command comprises spcial character, control field and parameter.
Preferably, described control command in the described parsing message body and the step of carrying out specifically comprise:
Resolve the control command of subsidiary message self-destruction in the message body, extract control field and parameter;
According to described control field and this short message of parameter auto-destruct.
Preferably, described control command in the described parsing message body and the step of carrying out specifically comprise:
Resolve the subsidiary control command of handling receipt in the message body, extract control field and parameter;
Send the processing receipt according to described control field and parameter.
Preferably, described control command in the described parsing message body and the step of carrying out specifically comprise:
Resolve the control command of subsidiary group message in the message body, extract control field and parameter;
Show group information and/or all receiving terminal information according to described control field and parameter.
Preferably, described control command in the described parsing message body and the step of carrying out specifically comprise:
Resolve the control command that subsidiary message reclaims in the message body, extract control field and parameter;
Destroy according to described control field and the parameter search end message that is complementary.
Preferably, described control command in the described parsing message body and the step of carrying out specifically comprise:
Resolve the control command that subsidiary networking is reached the standard grade and invited in the message body, extract control field and parameter;
According to the operation of reaching the standard grade of networking of described control field and parameter.
The present invention also proposes a kind of device of realizing the short message enhancement function, comprising:
Transmitting terminal, the control command that is used for strengthening message function is arranged at the message body of short message;
Receiving terminal, be used to receive described short message after, the described control command of resolving in the message body is also carried out respective operations.
Preferably, described control command comprises:
Message self-destruction, processing receipt, group message, message reclaim, networking is reached the standard grade invites wherein one or more control command; Described control command comprises spcial character, control field and parameter.
Preferably, described receiving terminal specifically is used for:
Resolve the control command of subsidiary group message in the message body, extract control field and parameter;
Show group information and/or all receiving terminal information according to described control field and parameter.
Preferably, described receiving terminal specifically is used for:
Resolve the control command that subsidiary networking is reached the standard grade and invited in the message body, extract control field and parameter;
According to the operation of reaching the standard grade of networking of described control field and parameter.
The present invention is by being arranged at control command in the message body of short message, can promote in the above-mentioned communication system transmitting terminal to active process that initiates a message or the ability of knowing disposition, and be not subjected to the limitation of communication platform (agreement), go for any SMS communication platform, realize that the note on any communication platform strengthens.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
With reference to Fig. 1, an a kind of embodiment who realizes the method for short message enhancement function of the present invention is proposed.This method comprises:
The control command that step S10, transmitting terminal will strengthen message function is arranged in the message body of short message;
After step S11, receiving terminal receive described short message, resolve the described control command in the message body and carry out respective operations.
The method of above-mentioned realization short message enhancement function can be applicable to the SMS communication of portable terminal, the traffic messages communication in the network and combines short message in the communication system of communication with traffic messages, can promote in the above-mentioned communication system transmitting terminal to active process that initiates a message or the ability of knowing disposition, and be not subjected to the limitation of communication platform (agreement), go for any SMS communication platform, realize that the note on any communication platform strengthens.
As described in step S10, can be in advance in communication system (such as the SMS system), according to the function setting control command of required enhancing.This control command comprises spcial character, control field and parameter etc.When carrying out communication (such as short-message sending time), can select according to the user, insert this control command to short message.The control command that different functional definitions is different.
Short message generally includes message header and message body in the prior art, usually control command is arranged in the message header of short message in the communication.Because different communication systems use different communications protocol, and cause the form difference of message header, as GSM and CDMA message header form difference.In order to realize that better cross-platform (agreement) in the SMS communication interconnects, control field and parameter can be arranged at (with reference to Fig. 2) in the message body in the present embodiment.So, make the cross-platform communication of short message can not be subjected to the restriction of agreement, promote the convenience of communication.
Want to obscure for Content of communciation in this control field of solution and parameter and the message body simultaneously, can before this control field and parameter, add additional character.This additional character is few character (can be the combination of one or several character) that occurs during usual communication exchanges, and avoids identical with Content of communciation; And because the identification mechanism in the communications protocol, even the content also correctly identification identical occur at Content of communciation once in a while with spcial character.Though after above-mentioned control command inserted message body, will occupy message body part capacity, occupied capacity is less, can't exert an influence to normal communication.
As described in step S11, receiving terminal at first can judge in the message body of this short message whether comprise control command after receiving terminal message, promptly whether comprise spcial character.If do not comprise, then press the normal short message breath and handle; If comprise, then from the message body of this short message, extract control command, resolve wherein control field and parameter and execution successively.In order to simplify the operation, spcial character can be in the foremost portion of message body.
With reference to Fig. 3, also can comprise behind the above-mentioned steps S11:
Step S12, receiving terminal send the control receipt to described transmitting terminal according to control command.
After according to above-mentioned control field and parameter execution control command, reply the control receipt to transmitting terminal, inform the implementation status of control command, such as running succeeded or failing.Above-mentioned control command includes but not limited to the message self-destruction, handles receipt, group message, message reclaim, networking is reached the standard grade wherein one or more control command such as invites; Described control command comprises three parts such as spcial character, control field and parameter, spcial character is used for extracting control field and parameter message body, shift to an earlier date characteristic with other content of message body than tool identification, control field has illustrated the operation of making a start and transmitting for receiving end, and parameter then is a control field mirror operation parameters needed.
This control receipt can not send in some cases, is that the execution of this control command is the answer receipt when handling the control command of receipt such as this control command, therefore need not to send once more the control receipt.
Above-mentioned control command can comprise that at least spcial character (can be a character, also can be the combination of several characters), control field and parameter three parts, wherein each control field and relevant parameters have constituted a kind of control mode such as message self-destruction to the short message receiving receiving end together, handle receipt, group's note, message reclaims or networking is reached the standard grade invites etc.Above-mentioned control mode can realize the combination of above-mentioned single control mode such as the control of group message self-destruction etc.Concrete form such as a kind of control command can be:
$+
Control word Section 1+ ", "+
Control field 2+ ", "+...+
Control field n+$+
Control field 1 parameter+ "
,"+
Control field 2 parameters+ "
,"+...+
Control field n parameter+"
,"+
$Wherein $ is a spcial character, "
," be separator.After resolving, control field and the parameter obtained are respectively:
Control field 1+
Control field 1 parameter; Control field 2+
Control field 2 parameters ... control field n+
Control word Section n parameter
This message self-destruction, handle receipt, group message, control command function that message reclaims or networking is reached the standard grade invites etc., mainly by the control field setting, such as the message self-destruction, handle receipt, group message, message reclaims and networking is reached the standard grade invites and can be numbered 001,002,003,004 and 005 respectively, disposes relevant parameter simultaneously.The parameter of this message self-destruction control command is mainly the time of receiving auto-destruct behind the short message, such as 1 minute, just represent 1 minute after this short message auto-destruct.This handles the parameter of receipt control command, be mainly the attribute of determining this processing receipt, this attribute comprises receiving the back receipt, read the back receipt and deleting the back receipt of short message, but by this parameter receiving terminal after receiving short message, behind the read short messages and/or behind the deletion short message, send receipt to transmitting terminal, make transmitting terminal can know receiving terminal for the short message processing mode.The parameter of this group message control command, mainly comprise group's name or sending grouped short message list, make receiving terminal in the group can know the information of other receiving terminals in the group, make the receiving terminal in the sending grouped short message can obtain bigger amount of information, overcome the problem that traditional short message can't be known other receiving terminals of sending grouped short message.This message reclaims the parameter of control command, mainly comprise the crucial match condition that needs recovery information, such as some or all of coupling of message body etc., if being set, parameter is " message body is all mated ", whole short messages are compared in recovery short message that then will send and the system, when the message body of the message body of short message and this recovery short message was all mated, the short message in the receiving terminal auto-destruct system also sent a reply to transmitting terminal.This networking is reached the standard grade and is invited the parameter of control command, can comprise the networking parameters such as expeced time of reaching the standard grade.
With reference to Fig. 4, the idiographic flow that this message self-destroying function is realized is as follows:
Step S20, after the user selects the message self-destroying function, transmitting terminal generates the control field and the parameter of self-destruction note, is inserted in the message body that is sent SMS message together to send with short message;
Whether step S21, receiving terminal are differentiated from message body spcial character; If any, then carry out step S22; Otherwise, carry out step S23;
Step S22, from message body, extract control field and parameter;
Step S23, short message processing routinely;
Step S24, according to this short message of parameter auto-destruct; Such as according to the destruction time of setting in the parameter, can in this destruction time, implement to destroy;
Step S25, send a reply to transmitting terminal; According to concrete needs, send a reply to transmitting terminal.
With reference to Fig. 5, this idiographic flow of handling the response piece functions realization is as follows:
Step S30, after the user selects to handle response piece functions, transmitting terminal generate to be handled the control field and the parameter of receipt, is inserted in the message body that is sent SMS message together to send with short message;
Whether step S31, receiving terminal are differentiated from message body spcial character; If any, then carry out step S32; Otherwise, carry out step S33;
Step S32, from message body, extract control field and parameter;
Step S33, short message processing routinely;
Step S34, send to handle receipt according to parameter; Such as after reading, sending receipt according to what set in the parameter, then can be when the user read this short message, send the receipt read transmitting terminal to short message.
With reference to Fig. 6, the idiographic flow that this group message function realizes is as follows:
Step S40, after the user selects the group message function, transmitting terminal generates the control field and the parameter of group message, is inserted in the message body that is sent SMS message together to send with short message;
Whether step S41, receiving terminal are differentiated from message body spcial character; If any, then carry out step S42; Otherwise, carry out step S43;
Step S42, from message body, extract control field and parameter;
Step S43, short message processing routinely;
Step S44, show group information and/or all receiving terminal information according to parameter; Such as according to the demonstration group information of setting in the parameter and all receiving terminal information, after then receiving terminal receives this short message, can show group user information and all receiving terminal information of this sending grouped short message.
With reference to Fig. 7, the idiographic flow that this message recovery function realizes is as follows:
Step S50, after the user selects message to reclaim function, transmitting terminal generates control field and the parameter that message reclaims, and is inserted in the message body that is sent SMS message together to send with short message;
Whether step S51, receiving terminal are differentiated from message body spcial character; If any, then carry out step S52; Otherwise, carry out step S53;
Step S52, from message body, extract control field and parameter;
Step S53, short message processing routinely;
Step S54, according to parameter search be complementary the end message destroy;
Step S55, send a reply to transmitting terminal; According to concrete needs, send a reply to transmitting terminal.
If the some short messages that sent before transmitting terminal need reclaim then can send to receiving terminal once more with the control command of this short message that be sent before and the recovery of subsidiary message.Receiving terminal is resolved after this message reclaims control command, and existing short message in the message body of this short message and the system is compared, if be complementary, then with existing short message destruction in this system, finishes recovery.This coupling can be part or all of coupling, specifically can be according to parameter setting.Existing short message in this system can be the existing short message of not reading in the system, promptly works as the short message that needs to reclaim and has been read then and can not reclaim.After reclaimer operation is finished, can send a reply to transmitting terminal and inform the recovery result, such as reclaiming successfully or reclaim failure etc.At the recovery of system's short message (such as the SMS system), the short message that the subsidiary message of transmitting terminal reclaims control command can directly be sent to receiving terminal, carries out short message and reclaims.Recovery at the flow short message, because the flow short message needs to carry out transfer by server, then transmitting terminal can be earlier be sent to server and reclaims attaching short message that message reclaims control command, after server confirmed that the short message that need reclaim has been sent to receiving terminal, the short message that will attach message recovery control command again was sent to receiving terminal and reclaims.So can realize the recovery of transmitting terminal, bring advantage to the user short message.
With reference to Fig. 8, this networking idiographic flow that invite function realizes of reaching the standard grade is as follows:
Step S60, select networking to reach the standard grade after the invite function the user, transmitting terminal generates control field and the parameter that networking is reached the standard grade and invited, and is inserted in the message body that is sent SMS message together to send with short message;
Whether step S61, receiving terminal are differentiated from message body spcial character; If any, then carry out step S62; Otherwise, carry out step S63;
Step S62, from message body, extract control field and parameter;
Step S63, short message processing routinely;
Step S64, according to the parameter operation of reaching the standard grade of networking;
Step S65, send a reply to transmitting terminal according to user operation.
Because the method for the realization short message enhancement function in the present embodiment can be applicable to the SMS communication of portable terminal, the traffic messages communication in the network and combines short message in the communication system of communication with traffic messages, then when it is applied to the traffic messages communication in the network or short message is combined in the communication system of communication with traffic messages, if receiving terminal not online (being failed cluster), can reach the standard grade by the subsidiary networking of transmitting terminal transmission and invite the short message of control command, invite receiving terminal to network and reach the standard grade.
At first transmitting terminal is invited the short message of control command by reaching the standard grade to the subsidiary networking of sending of receiving terminal, invites receiving terminal to reach the standard grade.After receiving terminal receives this short message, resolve this networking invitation control command of reaching the standard grade, and reach the standard grade dialog box prompting user definite according to wherein control field and parameter generating networking.The user of this receiving terminal can select that agreeing reaches the standard grade or refuse reaches the standard grade, and after selecting to agree that networking is reached the standard grade, the operation of this receiving terminal can being networked then can be carried out the flow SMS communication with transmitting terminal after networking successfully.In setting-up time, do not confirm to agree to reach the standard grade when this receiving terminal, select perhaps to disagree with and reach the standard grade that then transmitting terminal can pass through off-line traffic messages or system's short message and this receiving terminal communication.Above-mentioned situation is the situation that can network and operate after needing receiving terminal to confirm; Also having a kind of situation can be not need receiving terminal to confirm, this networking reach the standard grade invite control command can be directly to the receiving terminal operation of networking, realize that receiving terminal networks.Can realize that so transmitting terminal invites receiving terminal to reach the standard grade, bring advantage to the user.
With reference to Fig. 9, an a kind of embodiment who realizes the device of short message enhancement function of the present invention is proposed.This device comprises: transmitting terminal 71 and receiving terminal 72.This transmitting terminal 71, the control command that is used for strengthening message function is arranged at the message body of short message; This receiving terminal 72, be used to receive described short message after, the described control command of resolving in the message body is also carried out respective operations.
The device of above-mentioned realization short message enhancement function can be applicable to the SMS communication of portable terminal, the traffic messages communication in the network and combines short message in the communication system of communication with traffic messages, can promote 71 pairs of active process that initiate a message of transmitting terminal in the above-mentioned communication system or know the ability of disposition, and be not subjected to the limitation of communication platform (agreement), go for any SMS communication platform, realize that the note on any communication platform strengthens.
The device of the realization short message enhancement function of present embodiment can place on the mobile communication equipments such as mobile phone, PDA (personal digital assistant) and panel computer usually, its communication can be transmitting terminal 71 or the receiving terminal 72 on the equipment wherein, and the communication between receiving terminal on another equipment 72 or the transmitting terminal 71.The transmitting terminal 71 and the receiving terminal 72 of this device of special circumstances also can be distinguished independent setting.
Above-mentioned control command comprises: the message self-destruction, the wherein control command of one or more combinations such as handle that receipt, group message, message reclaim, networking is reached the standard grade and invite; Described control command comprises spcial character, control field and parameter.
Can be in advance in communication system (such as the SMS system), according to the function setting control command of required enhancing.This control command comprises spcial character, control field and parameter etc.When carrying out communication (such as short-message sending time), can select according to the user, insert this control command to short message.The control command that different functional definitions is different.
Short message generally includes message header and message body in the prior art, usually control command is arranged in the message header of short message in the communication.Because different communication systems use different communications protocol, and cause the form difference of message header, as GSM and CDMA message header form difference.In order to realize that better cross-platform (agreement) in the SMS communication interconnects, control field and parameter can be arranged at (with reference to Fig. 2) in the message body in the present embodiment.So, make the cross-platform communication of short message can not be subjected to the restriction of agreement, promote the convenience of communication.
Want to obscure for Content of communciation in this control field of solution and parameter and the message body simultaneously, can before this control field and parameter, add additional character.This additional character is few character (can be the combination of one or several character) that occurs during usual communication exchanges, and avoids identical with Content of communciation; And because the identification mechanism in the communications protocol, even the content also correctly identification identical occur at Content of communciation once in a while with spcial character.Though after above-mentioned control command inserted message body, will occupy message body part capacity, occupied capacity is less, can't exert an influence to normal communication.
Receiving terminal 72 at first can judge in the message body of this short message whether comprise control command after receiving terminal 72 message, promptly whether comprise spcial character.If do not comprise, then press the normal short message breath and handle; If comprise, then from the message body of this short message, extract control command, resolve wherein control field and parameter and execution successively.In order to simplify the operation, spcial character can be in the foremost portion of message body.
Receiving terminal 72 sends the control receipt to described transmitting terminal 71 according to control command.
After according to above-mentioned control field and parameter execution control command, reply the control receipts to transmitting terminal 71, inform the implementation status of control command, such as running succeeded or failing.Above-mentioned control command includes but not limited to the message self-destruction, handles receipt, group message, message reclaim, networking is reached the standard grade the wherein control command of one or more combinations such as invites; Described control command comprises three parts such as spcial character, control field and parameter, spcial character is used for extracting control field and parameter message body, shift to an earlier date characteristic with other content of message body than tool identification, control field has illustrated the operation of making a start and transmitting for receiving end, and parameter then is a control field mirror operation parameters needed.
This control receipt can not send in some cases, is that the execution of this control command is the answer receipt when handling the control command of receipt such as this control command, therefore need not to send once more the control receipt.
Above-mentioned control command can comprise that at least spcial character (can be a character, also can be the combination of several characters), control field and parameter three parts, wherein each control field and relevant parameters have constituted a kind of control mode such as message self-destruction to short message receiving receiving end 72 together, handle receipt, group's note, message reclaims or networking is reached the standard grade invites etc.Above-mentioned control mode can realize the combination of above-mentioned single control mode such as the control of group message self-destruction etc.Concrete form such as a kind of control command can be:
$+
Control word Section 1+ "
,"+
Control field 2+ "
,"+...+
Control field n+$+
Control field 1 parameter+ "
,"+
Control field 2 parameters+ "
,"+...+
Control field n parameter+"
,"+
$Wherein $ is a spcial character, "
," be separator.After resolving, control field and the parameter obtained are respectively:
Control field 1+
Control field 1 parameter; Control field 2+
Control field 2 parameters ... control field n+
Control word Section n parameter
This message self-destruction, handle receipt, group message, control command function that message reclaims or networking is reached the standard grade invites etc., mainly by the control field setting, dispose relevant parameter simultaneously.The parameter of this message self-destruction control command is mainly the time of receiving auto-destruct behind the short message, such as 1 minute, just represent 1 minute after this short message auto-destruct.This handles the parameter of receipt control command, be mainly the attribute of determining this processing receipt, this attribute comprises receiving the back receipt, read the back receipt and deleting the back receipt of short message, but by this parameter receiving terminal 72 after receiving short message, behind the read short messages and/or behind the deletion short message, send receipt to transmitting terminal 71, make transmitting terminal 71 can know receiving terminal 72 for the short message processing mode.The parameter of this group message control command, mainly comprise group's name or sending grouped short message list, make receiving terminal 72 in the group can know the information of other receiving terminals 72 in the group, make the receiving terminal 72 in the sending grouped short message can obtain bigger amount of information, overcome the problem that traditional short message can't be known other receiving terminals 72 of sending grouped short message.This message reclaims the parameter of control command, mainly comprise the crucial match condition that needs recovery information, such as some or all of coupling of message body etc., if being set, parameter is " message body is all mated ", whole short messages are compared in recovery short message that then will send and the system, when the message body of the message body of short message and this recovery short message was all mated, the short message in the receiving terminal 72 auto-destruct systems also sent a reply to transmitting terminal 71.This networking is reached the standard grade and is invited the parameter of control command, mainly comprises reminder time etc.
Above-mentioned receiving terminal 72 specifically is used for: resolve the control command of the subsidiary message self-destruction of message body, extract control field and parameter; According to described control field and this short message of parameter auto-destruct.
Above-mentioned receiving terminal 72 also specifically is used for: resolve the subsidiary control command of handling receipt of message body, extract control field and parameter; Send the processing receipt according to described control field and parameter.
Above-mentioned receiving terminal 72 also specifically is used for: resolve the control command of the subsidiary group message of message body, extract control field and parameter; Show group information and/or all receiving terminals 72 information according to described control field and parameter.
Above-mentioned receiving terminal 72 also specifically is used for: resolve the control command that the subsidiary message of message body reclaims, extract control field and parameter; Destroy according to described control field and the parameter search end message that is complementary.
Above-mentioned receiving terminal 72 also specifically is used for: resolve the control command that the subsidiary networking of message body is reached the standard grade and invited, extract control field and parameter; According to the operation of reaching the standard grade of networking of described control field and parameter.
This message self-destruction, handle receipt, group message, control command function that message reclaims or networking is reached the standard grade invites etc., can described in above-mentioned method embodiment, not repeat them here.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.