CN101047668A - Extend information transmitting method - Google Patents
Extend information transmitting method Download PDFInfo
- Publication number
- CN101047668A CN101047668A CN 200710088294 CN200710088294A CN101047668A CN 101047668 A CN101047668 A CN 101047668A CN 200710088294 CN200710088294 CN 200710088294 CN 200710088294 A CN200710088294 A CN 200710088294A CN 101047668 A CN101047668 A CN 101047668A
- Authority
- CN
- China
- Prior art keywords
- extend information
- instant message
- message
- flag bit
- server
- 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.)
- Granted
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
This invention provides a transmitting method for enlarged information including: 1, a transmitting end generates prompt information, 2, adding the enlarged information into the prompt information to form new prompt information to be sent to a prompt information server, 3, the server resolves the enlarged information from the new prompt information and deals with it relatively, therefore, control information of users to services is added in the transmitted information, thus the structure of prompt information is not broken only information is increased and users can experience different individual services.
Description
Technical field
The present invention relates to the instant messaging of mobile communication and internet arena, more specifically, relate to a kind of extend information transmitting method, it can adopt conversation initialized protocol/instant message and exist in the immediate news systems that utilizes expansion session protocol (SIP/SIMPLE agreement), makes the user send extend information by carry relevant professional extend information in the instant message that sends.
Background technology
Instant messaging belong to a kind of based on the individual who has professional (Presence) to individual and individual mobile data services to the classes of messages of group, it can operate in any networking based on the IP technology, such as existing GPRS network, 3g mobile network (3G) network, Internet network and the IP multimedia subsystem, IMS (IMS) in future.
OMA International Standards Organization has defined two class mobile instant message systems in current standard.First kind is based on the immediate news systems that HTML (Hypertext Markup Language)/wireless access protocol/short message sends agreement (HTTP/WAP/SMS), and second class is based on session initiation protocol (SIP)/instant message and what have professional expansion conversation initialized protocol (SIMPLE) promptly is message system.
Exist one group of such client to use scene in the immediate news systems based on SIP/SIMPLE: transmit leg wishes that server sends message to the recipient in the time of regulation; Whether transmit leg wishes that server can return one and send report, receive to inform this message receiver of transmit leg; Transmit leg wishes to transfer immediate news in the mode of anonymity; The system message that server sends to the user; And other value-added service of providing to the user of operation service provider.
Fig. 1 is the view of the transmission flow of instant message in the prior art (SIP MESSAGE), as shown in Figure 1, may further comprise the steps:
The request that step 1, customer end A 102 send based on SIP MESSAGE to core net A 104, request sends IM message.The IM server address that has comprised customer end A 102 in Request-URI has comprised the address of customer end B and the particular content that has carried instant message in the message of SIP MESSAGE in the TO field of SIP MESSAGE message header the inside;
Step 2, core net A 104 give IM server A 106 with the SIP MESSAGE forwards that receives;
Step 3, IM server A 106 send the IM server B of message to the customer end B place, are transmitted to customer end B by the IM server B;
Step 4, IM server A 106 are received affirmation 200 OK from the IM server B, show that customer end B received instant message;
Step 5, IM server A 106 return to core net A with SIP acknowledge message 200 OK; And
Step 6, core net A 104 are transmitted to customer end A 102 to this acknowledge message.
As can be seen, in the prior art, the instant message based on SIP MESSAGE has only related to common individual to the individual, individual transmission to group, but do not relate to a kind of processing scheme of foregoing description scene, have no idea to realize the value-added service that operator is specific yet.Therefore, be badly in need of a kind of extend information transmitting method and solve the problems referred to above.
Summary of the invention
In order to address the above problem, the present invention proposes a kind of extend information transmitting method, it has added the extended message body in existing SIP MESSAGE method can be widely used in adopting session initiation protocol (SIP)/instant message and exist in the immediate news systems that utilizes expansion conversation initialized protocol (SIMPLE).
The invention provides a kind of extend information transmitting method, it can may further comprise the steps: step S202, and transmitting terminal generates instant message; Step S204 adds extend information in the instant message new instant message of formation, and new instant message is sent to server of instant message; And step S206, server of instant message parses extend information from new instant message, and carries out respective handling.
According to the present invention, in step S204, can also may further comprise the steps: for extend information is provided with flag bit.Respective handling among the step S206 can comprise: steps A, judge whether be provided with flag bit in the extend information; And step B, according to judged result, carry out respective handling.
According to the present invention, it is one of following that flag bit can comprise: timer flag bit, report flag bit, preserve flag bit as mass-sending flag bit and server.
Wherein, when in the extend information timer flag bit not being set, the respective handling among the step B can for: directly instant messages is sent to receiving terminal.
In addition, when being provided with the timer flag bit in the extend information, the respective handling among the step B can comprise: instant message is stored in the message stores entity, and starts timer; When the time of timer arrives, from the message stores entity, obtain instant message; And instant messages sent to receiving terminal.And when being provided with the report flag bit in the extend information, step B can also may further comprise the steps: receiving terminal sends the reception response to server of instant message after receiving instant message; And after instant message server receives the reception response, send successful delivery report to transmitting terminal.
When being provided with the report flag bit in the extend information, step B can also may further comprise the steps: if in the given time, the transmission that server of instant message does not receive from receiving terminal receives response, then sends the failed delivery report to transmitting terminal.
According to the present invention, extend information is based on the RFC3862 agreement, and instant message is based on the SIP/SIMPLE agreement, and instant message comprise following any one: non-conversation modes instant message and conversation modes instant message.
Thereby, by the present invention, in the message that sends, added the control information of user to business, do not destroy the structure of instant message like this, just increased information simply, just make the user can experience various personalized service.In addition, operator also can carry out value-added service for the various business of the customization of oneself.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the view of the transmission flow of instant message in the prior art (SIP MESSAGE);
Fig. 2 is the flow chart according to extend information transmitting method of the present invention;
Fig. 3 is the complete business process map according to the SIP MESSAGE of the embodiment of the invention; And
Fig. 4 is the flow chart of terminal processes extend information of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
In the present invention, adopted session initiation protocol (SIP)/instant message and had the immediate news systems that utilizes expansion conversation initialized protocol (SIMPLE), basic ideas are as follows:
1. client is carried out the SIP registration;
2. client is carried out the generation of SIP MESSAGE message;
3. client joins the special extend information that needs in the message body of SIP MESSAGE, and SIP MESSAGE just has two message bodies like this, and one is extend information, and one is the message content that the user really need send;
4. client sends to the IM server to final SIP MESSAGE message;
5.IM server therefrom extracts the information of expansion and handles.And transmit message and give final recipient.Whether decision is returned transmission and is reported to client according to extend information simultaneously; And
6. client is further handled (if 200 OK, then think process ends, then handle if send report) according to the message that the IM server returns.
Like this, method of the present invention is not only applicable to non-conversation modes and transfers immediate news (SIPMESSAGE), and is applicable to the instant message (use SIP INVITE to hold consultation, come message transfer by MSRP) of conversation modes.Describe extend information transmitting method of the present invention in detail below with reference to Fig. 2 to Fig. 4.
Fig. 2 is the flow chart according to extend information transmitting method of the present invention.As shown in Figure 2, extend information transmitting method may further comprise the steps: step S202, and transmitting terminal generates instant message; Step S204 adds extend information in the instant message new instant message of formation, and new instant message is sent to server of instant message; And step S206, server of instant message parses extend information from new instant message, and carries out respective handling.
It is in step S204, further comprising the steps of: for extend information is provided with flag bit.
Respective handling among the step S206 comprises: steps A, judge whether be provided with flag bit in the extend information; And step B, according to judged result, carry out respective handling.
Wherein, flag bit comprises one of following: timer flag bit, report flag bit, preserve flag bit as mass-sending flag bit and server.
When in the extend information timer flag bit not being set, the respective handling among the step B is: directly instant messages is sent to receiving terminal.
When being provided with the timer flag bit in the extend information, the respective handling among the step B comprises: instant message is stored in the message stores entity, and starts timer; When the time of timer arrives, from the message stores entity, obtain instant message; And instant messages sent to receiving terminal.
When being provided with the report flag bit in the extend information, step B is further comprising the steps of: receiving terminal sends the reception response to server of instant message after receiving instant message; And after instant message server receives the reception response, send successful delivery report to transmitting terminal.
In addition, when being provided with the report flag bit in the extend information, step B is further comprising the steps of: if in the given time, the transmission that server of instant message does not receive from receiving terminal receives response, then sends the failed delivery report to transmitting terminal.
According to the present invention, extend information is based on the RFC3862 agreement, and instant message is based on the SIP/SIMPLE agreement, and instant message comprise following any one: non-conversation modes instant message and conversation modes instant message.
Fig. 3 is the complete business process map according to the SIP MESSAGE of the embodiment of the invention.As shown in Figure 3, adopt in the immediate news systems of SIP/SIMPLE agreement, the complete business procedure that has the SIP MESSAGE of extend information may further comprise the steps:
Step 1, customer end A 302 add the extend information of corresponding with service device in will sending to the instant message structure of customer end B 310.Then extend information is all sent to IM server A 304 together with real message content;
Step 2, IM server A 304 judge that recipient's customer end B 310 is to belong to IM server B 306, so forward the message to IM server B 306;
Step 3,306 pairs of message of IM server B are resolved, parse extend information wherein, then extend information is made judgement, if the sign of timed sending is arranged in the extend information, so the message content that sends is stored in the message stores entity 308, starts timer then, and if do not have a timed sending sign, IM server B 308 directly sends to message content in the customer end B 310 so, and flow process is leapt to step 6 and carried out;
Step 4, IM server B 306 can be judged the time of timer, if arrive for the timer time of this message, with the triggering following process;
Step 5, timer arrive the back extracts this message according to label from the message stores entity particular content;
Step 6, IM server B 306 send to customer end B 310 to message content;
Step 7, customer end B 306 provide the 200OK response according to the message of receiving, send to IM server B 306;
Step 8, IM server B 306 are according to the extend information of receiving in the step 3, if there is the delivery report sign, then the response according to 200OK sends successful delivery report, if step 7 sends and has failed, IM server B 306 will provide the delivery report of failure so, and IM server B 306 will send to delivery report the IM server A 304 of customer end A 302 ownership; And
Step 9,304 pairs of these delivery reports of IM server A are transmitted to customer end A 302.
Like this, just finished the complete operation flow of SIP MESSAGE.
Fig. 4 is the flow chart of terminal processes extend information of the present invention, as shown in Figure 4, may further comprise the steps:
Step S401, user initiate an instant message flow process on client;
Step S402, initialization SIP MESSAGE, and finish the group bag of a SIP MESSAGE according to the transmission address that the user provides;
Step S403 the message body of user's message content to be sent as SIP MESSAGE, joins among the SIP MESSAGE;
Step S404, initialization extend information structure is for the extend information setting of back is prepared;
Step S405 judges whether the user needs to send timed message, then forwards step S406 if desired to, carries out ensuing judgement if do not need then forward step S407 to;
Step S406 carries out timing setting to the structure of extend information, comprises time and flag bit that timed sending is set;
Step S407 judges whether the user needs delivery report, then forwards step S408 if desired to and handles, and carries out ensuing judgement if do not need then forward step S409 to;
Step S408 carries out the setting of delivery report flag bit to the structure of extend information;
Step S409 is provided with other extend informations, indicates such as operator etc.;
Step S410 according to final structure, generates extend information;
Step S411 joins extend information among the SIP MESSAGE as message body, and revising SIP MESSAGE simultaneously is multi-section message body type; And
Step S412 sends SIP MESSAGE to the IM server, has so just finished a flow tasks.
In sum, method of the present invention has as can be seen added the control information of user to business in the message that sends, do not destroy the structure of instant message like this, has just increased information simply, just makes the user can experience various personalized service.In addition, operator also can carry out value-added service for the various business of the customization of oneself.
Be the preferred embodiments of the present invention only below, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (11)
1. an extend information transmitting method is characterized in that, may further comprise the steps:
Step S202, transmitting terminal generates instant message;
Step S204 adds extend information in the described instant message new instant message of formation, and described new instant message is sent to server of instant message; And
Step S206, described server of instant message parses described extend information from described new instant message, and carries out respective handling.
2. extend information transmitting method according to claim 1 is characterized in that, and is in described step S204, further comprising the steps of:
For described extend information is provided with flag bit.
3. extend information transmitting method according to claim 2 is characterized in that, the respective handling among the described step S206 comprises:
Steps A judges whether be provided with described flag bit in the described extend information; And
Step B according to judged result, carries out respective handling.
4. according to claim 2 or 3 described extend information transmitting methods, it is characterized in that it is one of following that described flag bit comprises: timer flag bit, report flag bit, preserve flag bit as mass-sending flag bit and server.
5. extend information transmitting method according to claim 4 is characterized in that, when described timer flag bit was not set in the described extend information, the respective handling among the described step B was:
Directly described instant messages is sent to receiving terminal.
6. extend information transmitting method according to claim 4 is characterized in that, when being provided with described timer flag bit in the described extend information, the respective handling among the described step B comprises:
Described instant message is stored in the message stores entity, and starts timer;
When the time of described timer arrives, from described message stores entity, obtain described instant message; And
Described instant messages is sent to receiving terminal.
7. according to claim 5 or 6 described extend information transmitting methods, it is characterized in that when being provided with described report flag bit in the described extend information, described step B is further comprising the steps of:
Described receiving terminal sends the reception response to described server of instant message after receiving described instant message; And
After described server of instant message receives described reception response, send successful delivery report to described transmitting terminal.
8. according to claim 5 or 6 described extend information transmitting methods, it is characterized in that when being provided with described report flag bit in the described extend information, described step B is further comprising the steps of:
If in the given time, the transmission that described server of instant message does not receive from described receiving terminal receives response, then sends the failed delivery report to described transmitting terminal.
9. extend information transmitting method according to claim 1 is characterized in that, described extend information is based on the RFC3862 agreement.
10. extend information transmitting method according to claim 1 is characterized in that, described instant message is based on the SIP/SIMPLE agreement.
11. extend information transmitting method according to claim 1 is characterized in that, described instant message comprise following any one: non-conversation modes instant message and conversation modes instant message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100882948A CN101047668B (en) | 2007-03-22 | 2007-03-22 | Extend information transmitting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100882948A CN101047668B (en) | 2007-03-22 | 2007-03-22 | Extend information transmitting method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101047668A true CN101047668A (en) | 2007-10-03 |
CN101047668B CN101047668B (en) | 2011-04-13 |
Family
ID=38771890
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100882948A Active CN101047668B (en) | 2007-03-22 | 2007-03-22 | Extend information transmitting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101047668B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487666A (en) * | 2016-12-21 | 2017-03-08 | 北京奇虎科技有限公司 | A kind of instant messaging sending method, control method, transmitting terminal and receiving terminal |
CN108039966A (en) * | 2017-12-08 | 2018-05-15 | 北京奇艺世纪科技有限公司 | A kind of method and system of control message server in real time |
CN108337215A (en) * | 2017-01-20 | 2018-07-27 | 中兴通讯股份有限公司 | A kind of document transmission method and system, device, electronic equipment |
-
2007
- 2007-03-22 CN CN2007100882948A patent/CN101047668B/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487666A (en) * | 2016-12-21 | 2017-03-08 | 北京奇虎科技有限公司 | A kind of instant messaging sending method, control method, transmitting terminal and receiving terminal |
CN108337215A (en) * | 2017-01-20 | 2018-07-27 | 中兴通讯股份有限公司 | A kind of document transmission method and system, device, electronic equipment |
CN108337215B (en) * | 2017-01-20 | 2021-07-27 | 中兴通讯股份有限公司 | File transmission method, system and device and electronic equipment |
CN108039966A (en) * | 2017-12-08 | 2018-05-15 | 北京奇艺世纪科技有限公司 | A kind of method and system of control message server in real time |
Also Published As
Publication number | Publication date |
---|---|
CN101047668B (en) | 2011-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5090459B2 (en) | Method and system for managing message threads in an integrated IP messaging service | |
EP1962461B1 (en) | Method for realizing group-sending message service, device and system for the same | |
CN1794722A (en) | Method of transfering off-line message | |
US20090181705A1 (en) | Mail transmission system and method and push mail server | |
CN102006571A (en) | Report terminal function for supporting short message service | |
CN101374118A (en) | Information interconnect method, system and apparatus | |
EP1971090A1 (en) | A method, system and device for transmitting ims instant messages | |
CN1957578A (en) | Communications method and apparatus, database information retrieval method and apparatus | |
CN1889536A (en) | Processing method for limiting multimedia information center retransmitting times of multimedia information | |
CN1801811A (en) | Mobile mail terminal adapting method and system | |
WO2009000212A1 (en) | A message processing apparatus and terminal, a system and method for transmiting messages | |
CN1859368A (en) | Method and system for realizing information transfer service and a terminal | |
CN1921480A (en) | Method and system for realizing application business | |
CN103379017B (en) | Voice leaving method and system, converged message server and client | |
CN101047668A (en) | Extend information transmitting method | |
CN101047669A (en) | Method for preventing contact person transmitting immediate message based on dynamic phone book | |
CN101647253A (en) | Submit report handling in SMSIP | |
CN1879396A (en) | Method for retrieving and delivering multimedia messages using the session initiation protocol | |
CN100466760C (en) | Method for realizing news service based on IP network domain | |
CN1852468A (en) | Method for processing message in multimedia message service system | |
CN101077018A (en) | Report terminal capacity for supporting brief service | |
CN102026112B (en) | Method and system for sending converged IP messaging | |
CN103139731A (en) | Method, device and system of message interconnection | |
WO2008148355A1 (en) | Charging method, system and apparatus | |
CN1801785A (en) | Multimedia content interaction system based on instantaneous communication and its realizing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |