CN103618747B - A kind of method and system realizing SIP information service - Google Patents

A kind of method and system realizing SIP information service Download PDF

Info

Publication number
CN103618747B
CN103618747B CN201310677040.5A CN201310677040A CN103618747B CN 103618747 B CN103618747 B CN 103618747B CN 201310677040 A CN201310677040 A CN 201310677040A CN 103618747 B CN103618747 B CN 103618747B
Authority
CN
China
Prior art keywords
sip
information
sip client
called
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310677040.5A
Other languages
Chinese (zh)
Other versions
CN103618747A (en
Inventor
郑明�
马永亮
杨瑞
王志军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201310677040.5A priority Critical patent/CN103618747B/en
Publication of CN103618747A publication Critical patent/CN103618747A/en
Application granted granted Critical
Publication of CN103618747B publication Critical patent/CN103618747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

This application discloses one and realize conversation initialized protocol (SIP) voice and the method and system of messenger service, caller SIP client via sip proxy server to called SIP client initiate SIP information time, including: when IP address and the port information of called SIP client account are empty, sip proxy server generates the propelling movement request message of the equipment identification information comprising SIP information type, caller SIP client account, called SIP client account and called SIP client place equipment;Fructus Mali pumilae sending out notice service (APNS) is utilized to push to the called SIP client place equipment corresponding with equipment identification information by pushing solicited message;Called SIP client place equipment starts called SIP client to receive SIP information.By the present invention when called SIP client switches to backstage, utilize APNS to pass through equipment identification information and send propelling movement request message, ask message initiated client according to pushing, it is achieved the reception to SIP information.

Description

A kind of method and system realizing SIP information service
Technical field
The application relates to communications applications field, and espespecially one realizes Session initiation protocol SIP information service Method and system.
Background technology
Along with the fast development of mobile Internet, occur in that a class is to provide internet protocol-based (IP) Voice and messenger service, (OTT is " Over in the OTT company of traditional core central server of impact operator The Top " abbreviation, i.e. Internet firm crosses operator, develops based on open the Internet various regard Frequency and data services).Conversation initialized protocol (SIP) is in IP-based voice and messenger service On the multimedia communications system framework agreement that grows up, formulated by internet engineering task group (IETF), Its application target is based on internet environment, it is achieved data, the real-time communication of audio frequency and video.SIP standard complete The structural texture of system is relatively flexible, the realization of terminal and server also relatively easy, cost is relatively low, Service provider utilizes Session Initiation Protocol can quickly build voice and message service system.
At present, voice based on SIP and the system of messenger service, generally by SIP client when registration Report network (IP) address and port information, IP address of equipment is protected by background service system with port information Exist in the registrar server of position, SIP engine according to the positional information in location register system by SIP voice Request (INVITE) or message (MESSAGE) signaling message are sent to client, complete at signaling Reason flow process, it is achieved voice, messenger service function.
But, in Fructus Mali pumilae (iOS) system, when SIP client is switched to backstage, its shared money Source will be discharged by system, and user cannot receive voice and the message request of the SIP after being switched to backstage.By " the most online " state cannot be kept in SIP client, cause user and will be unable to receive in time SIP The problem that information (including voice and information) services.It addition, by IP address of equipment and port information It is saved in location register server, when SIP client is due to the actual failed cluster of sudden network failure, Background service system now will be tasted with port information according to the IP address being saved in location register server Try to send voice and message request to client, called SIP client by lose the voice during fault and Information.
Understanding more than comprehensive, when SIP client is switched to backstage, user will be unable to receive after being in The SIP information request of other caller SIP client during platform;When occurring that sudden network failure etc. causes reality During failed cluster, after called SIP client is networked again, the SIP request information during fault will be lost.
Summary of the invention
In order to solve the problems referred to above, the present invention provides a kind of method and system realizing SIP information service, When client is switched to backstage, the information request of SIP can be pushed;Meanwhile, in network event When again networking after barrier, it is possible to avoid the loss of information.
In order to reach the purpose of the present invention, the application provides one to realize conversation initialized protocol (SIP) letter The method of breath service, caller SIP client is initiated to called SIP client via sip proxy server During SIP information, including:
When network (IP) address of called SIP client account is empty with port information, sip agent takes Business device generates and comprises SIP information type, caller SIP client account, called SIP client account and quilt It is the propelling movement request message of the equipment identification information of SIP client place equipment;
Fructus Mali pumilae sending out notice service (APNS) is utilized propelling movement solicited message to be pushed to and equipment identification information Corresponding called SIP client place equipment;
Called SIP client place equipment starts called SIP client to receive SIP information.
Further, include before the method: when SIP client logs in, preserve in position registrar server The SIP client account IP address corresponding with SIP client account and port information and device identification letter Breath;
When the described called SIP client of sip proxy server acquisition is switched to backstage, location register service IP address corresponding for described called SIP client account and port information are set to sky by device.
Further, when SIP client logs in, when described called SIP client is in foreground, SIP Proxy server carries out SIP according to the IP address that described called SIP client account is corresponding with port information Information service;
The method also includes: preserve the state of described SIP information service in ticket information;
When the IP address of network failure and the called SIP client account of described preservation is still deposited with port information , described caller SIP client account sends the request of SIP information service to called SIP client account During information, determine that the session status code of this session in ticket information is sky;
According to ticket information, sip proxy server is to IP address corresponding to called SIP client and port Information sends the solicited message of SIP information service;
When called SIP client completes to process the solicited message of SIP information, generate corresponding SIP The session status code of information processing.
Further, ticket information includes: caller SIP client account information, called SIP client account The session status code that number information, SIP information service temporal information, SIP information service each time are corresponding.
On the other hand, disclosed herein as well is one and realize conversation initialized protocol (SIP) information service System, at least includes: sip proxy server, location register server, Fructus Mali pumilae sending out notice service (APNS) Relay Server, the equipment initiating the caller SIP client place of SIP information and called SIP client institute Equipment;Wherein,
Location register server, for when SIP client account logs in, stores SIP client account Number and IP address corresponding to this account and port information, the equipment identification information of SIP client place equipment; When SIP client is in backstage, arranging IP address corresponding to SIP client with port information is sky;
Sip proxy server, during for being empty in called SIP client IP address with port information, from Location register server obtains the equipment identification information that called SIP client account is corresponding;Generation comprises SIP Information type, caller SIP client account, called SIP client account and called SIP client equipment The propelling movement request message of identification information;
APNS Relay Server, is used for sending propelling movement request message to APNS, APNS according to called SIP The equipment identification information of client place equipment sends and pushes request message;
The equipment at called SIP client place, is used for starting called SIP client to receive SIP information.
Further, when SIP client is in foreground, by sip proxy server to SIP client IP address and port information that account is corresponding carry out SIP information service, and this system also includes: ticket service Device, for preserving the state of described SIP information service in ticket information;
Still deposit with port information in the IP address of network failure and the called SIP client account of described preservation , described caller SIP client account sends the request of SIP information service to called SIP client account During information, the session status code arranging this session in ticket information is sky;
According to ticket information, send asking of SIP information service to the IP address that called SIP client is corresponding Seek information;When called SIP client completes to process the solicited message of SIP information, generate corresponding The session status code of SIP information processing.
Further, ticket information includes: caller SIP client account information, called SIP client account The session status code that number information, SIP information service temporal information, SIP information service each time are corresponding.
The present invention proposes a kind of method realizing SIP information service, and caller SIP client is via sip agent Server to called SIP client initiate SIP information time, including: when called SIP client account When IP address and port information are empty, sip proxy server generates and comprises SIP information type, caller SIP Client account, called SIP client account and the equipment identification information of called SIP client place equipment Propelling movement request message;APNS is utilized to push to corresponding with equipment identification information by pushing solicited message Called SIP client place equipment;Called SIP client place equipment starts called SIP client to connect Receive SIP information.The invention also discloses the system corresponding with the inventive method, by the present invention at quilt When making SIP client switch to backstage, utilize APNS to send propelling movement request by equipment identification information and disappear Breath, asks message initiated client according to pushing, it is achieved the reception to SIP information.
On the other hand, when client device due to network failure the IP address of called SIP client account Still it is saved with port information, by preserving ticket information, realizes called SIP visitor with session status code The process to the solicited message of SIP information service of the family end, when being not handled by, continuous print is to called SIP IP address corresponding to client sends the solicited message of SIP information service with port information, after processing, Generate corresponding session status code, to stop sending solicited message, thus the SIP during avoiding fault The information dropout of information request.
Accompanying drawing explanation
Accompanying drawing is used for providing being further appreciated by technical scheme, and constitutes one of description Point, for explaining the technical scheme of the application together with embodiments herein, it is not intended that the application The restriction of technical scheme.
Fig. 1 is the flow chart that the present invention realizes the method for SIP information service;
Fig. 2 is the structured flowchart that the present invention realizes the system of SIP information service.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, below in conjunction with accompanying drawing Embodiments herein is described in detail.It should be noted that in the case of not conflicting, this Shen Embodiment in please and the feature in embodiment can mutual combination in any.The present invention is applied to SIP client End place equipment is the situation of IOS system.
Fig. 1 is the flow chart that the present invention realizes the method for SIP information service, as it is shown in figure 1, caller SIP Client via sip proxy server to called SIP client initiate SIP information time, including:
Step 100, when IP address and the port information of called SIP client account be sky, sip agent Server generate comprise SIP information type, caller SIP client account, called SIP client account and The propelling movement request message of the equipment identification information of called SIP client place equipment.
Before this step, the inventive method also includes: when SIP client logs in, in position registrar server Preserve the SIP client account IP address corresponding with SIP client account and port information and equipment mark Knowledge information;When the described called SIP client of sip proxy server acquisition is switched to backstage, location register IP address corresponding for described called SIP client account and port information are set to sky by server.
It should be noted that when carrying out SIP client and logging in, the content of the above-mentioned preservation related to is all Being saved in location register server, this part is prior art, and the present invention differs primarily in that, preserves Content at least add the equipment identification information of SIP client place equipment.
Step 101, utilize Fructus Mali pumilae sending out notice service APNS propelling movement solicited message is pushed to and equipment mark The called SIP client place equipment that knowledge information is corresponding.
It should be noted that in IOS existing system, Fructus Mali pumilae sending out notice service (APNS) can root According to equipment identification information, sending to subscriber equipment and push request message, this part is prior art.This skill The information of application server is received and is saved in the middle of APNS by art, and APNS sets according to Fructus Mali pumilae equipment Standby mark, searches IP address and the port information of target ios device from the list that it is registered, and will push away Breath of delivering letters is sent to this equipment.
Step 102, called SIP client place equipment start called SIP client to receive SIP information.
In this step, when SIP client logs in, when described called SIP client is in foreground, SIP Proxy server carries out SIP according to the IP address that described called SIP client account is corresponding with port information Information service.
It should be noted that in existing SIP information service system, be saved in location register server IP address and port information, upgraded in time due to system within the certain time that network failure occurs Or the SIP client of network failure logs in again, and makes originally to log in the information of preservation still Exist.This part is common knowledge.
Generation based on above-mentioned situation, the inventive method also includes: preserve the shape of described SIP information service State is in ticket information;
When the IP address of network failure and the called SIP client account of described preservation is still deposited with port information , described caller SIP client account sends the request of SIP information service to called SIP client account During information, determine that the session status code of this session in ticket information is sky;
It should be noted that network failure refers to, when location register server has the IP of SIP client Address and port information, and sip proxy server is when this SIP client sends SIP information service request, But any response not receiving this SIP client (includes that SIP information arrives the feedback response of client, connects By responses such as SIP information service and refusal SIP information services), then it is assumed that this SIP client occurs in that net Network fault, this part is common knowledge.
According to ticket information, sip proxy server is to IP address corresponding to called SIP client and port Information sends the solicited message of SIP information service;
When called SIP client completes to process the solicited message of SIP information, generate corresponding SIP The session status code of information processing.
Ticket information includes: ticket information includes: caller SIP client account information, called SIP client The session status code that end account information, SIP information service temporal information, SIP information service each time are corresponding.
It should be noted that existing session status code includes 200OK, CANCEL etc., 200OK generation This session of table is successfully established, and CANCEL represents called party client end refusing incoming call.The present invention sets session shape State code does not obtains the response of called party client end for empty this request of interval scale, after information service request is processed, The corresponding session status code generated, session status code now can be carried out according to communication protocol accordingly Set, certainly, different session status codes can be set for different results, session shape is set State code is the conventional techniques means of those skilled in the art, does not repeats them here.
Fig. 2 is the structured flowchart that the present invention realizes the system of SIP information service, as in figure 2 it is shown, at least Including: sip proxy server, location register server, Fructus Mali pumilae sending out notice service (APNS) relaying Server, the equipment initiating the caller SIP client place of SIP information and called SIP client place Equipment;Wherein,
Location register server, for when SIP client account logs in, stores SIP client account Number and IP address corresponding to this account and port information, the equipment identification information of SIP client place equipment; When SIP client is in backstage, arranging IP address corresponding to SIP client with port information is sky;
Sip proxy server, during for being empty in called SIP client IP address with port information, from Location register server obtains the equipment identification information that called SIP client account is corresponding;Generation comprises SIP Information type, caller SIP client account, called SIP client account and called SIP client equipment The propelling movement request message of identification information;
APNS Relay Server, is used for sending propelling movement request message to APNS, APNS according to called SIP The equipment identification information of client place equipment sends and pushes request message;Called SIP client place Equipment, is used for starting called SIP client to receive SIP information.
When SIP client is in foreground, corresponding to SIP client account by sip proxy server IP address and port information carry out SIP information service, and present system also includes: Record Bill Server, use In preserving the state of SIP information service in ticket information;
When the IP address of network failure and the called SIP client account of described preservation is still deposited with port information , described caller SIP client account sends the request of SIP information service to called SIP client account During information, the session status code arranging this session in ticket information is sky;
According to ticket information, send asking of SIP information service to the IP address that called SIP client is corresponding Seek information;When called SIP client completes to process the solicited message of SIP information, generate corresponding The session status code of SIP information processing.
Ticket information includes: caller SIP client account information, called SIP client account information, The session status code that SIP information service temporal information, SIP information service each time are corresponding.
Although the embodiment disclosed by the application is as above, but described content only readily appreciates the application And the embodiment used, it is not limited to the application.Technology people in any the application art Member, on the premise of without departing from the spirit and scope disclosed by the application, can be in the form implemented and thin Any amendment and change is carried out on joint, but the scope of patent protection of the application, still must be with appended right Claim is defined in the range of standard.

Claims (2)

1. the method realizing Session initiation protocol SIP information service, it is characterised in that caller SIP Client via sip proxy server to called SIP client initiate SIP information time, including:
When SIP client logs in, preserve SIP client account and SIP client in position registrar server IP address corresponding to end account and port information and equipment identification information;Before called SIP client is in During platform, sip proxy server is believed with port according to the IP address that described called SIP client account is corresponding Breath carries out SIP information service;It is switched to backstage when sip proxy server obtains described called SIP client Time, IP address corresponding for described called SIP client account is set by location register server with port information It is set to sky;
When the network ip address of called SIP client account is empty with port information, sip agent service Device generates and comprises SIP information type, caller SIP client account, called SIP client account and called The propelling movement request message of the equipment identification information of SIP client place equipment;
Fructus Mali pumilae sending out notice service APNS is utilized propelling movement solicited message to be pushed to and equipment identification information pair The called SIP client place equipment answered;
Called SIP client place equipment starts called SIP client to receive SIP information;
The method also includes: preserve the state of described SIP information service in ticket information;Described ticket Information includes: caller SIP client account information, called SIP client account information, SIP information take The session status code that business temporal information, SIP information service each time is corresponding;
When the IP address of network failure and the called SIP client account of described preservation is still deposited with port information , described caller SIP client account sends the request of SIP information service to called SIP client account During information, determine that the session status code of this session in ticket information is sky;
According to ticket information, sip proxy server is to IP address corresponding to called SIP client and port Information sends the solicited message of SIP information service;
When called SIP client completes to process the solicited message of SIP information, generate corresponding SIP The session status code of information processing.
2. the system realizing Session initiation protocol SIP information service, it is characterised in that at least wrap Include: sip proxy server, location register server, Fructus Mali pumilae sending out notice service APNS Relay Server, Initiate equipment and the equipment at called SIP client place at the caller SIP client place of SIP information;Its In,
Location register server, for when SIP client account logs in, stores SIP client account Number and IP address corresponding to this account and port information, the equipment identification information of SIP client place equipment; When SIP client is in backstage, arranging IP address corresponding to SIP client with port information is sky;
Sip proxy server, during for being empty in called SIP client IP address with port information, from Location register server obtains the equipment identification information that called SIP client account is corresponding;Generation comprises SIP Information type, caller SIP client account, called SIP client account and called SIP client equipment The propelling movement request message of identification information;
APNS Relay Server, is used for sending propelling movement request message to APNS, APNS according to called SIP The equipment identification information of client place equipment sends and pushes request message;
The equipment at called SIP client place, is used for starting called SIP client to receive SIP information;
When SIP client is in foreground, corresponding to SIP client account by sip proxy server IP address and port information carry out SIP information service, and this system also includes:
Record Bill Server, for preserving the state of described SIP information service in ticket information;Described words Single information includes: caller SIP client account information, called SIP client account information, SIP information Service time information, session status code corresponding to SIP information service each time;
Still deposit with port information in the IP address of network failure and the called SIP client account of described preservation , described caller SIP client account sends the request of SIP information service to called SIP client account During information, the session status code arranging this session in ticket information is sky;
According to ticket information, send asking of SIP information service to the IP address that called SIP client is corresponding Seek information;When called SIP client completes to process the solicited message of SIP information, generate corresponding The session status code of SIP information processing.
CN201310677040.5A 2013-12-11 2013-12-11 A kind of method and system realizing SIP information service Active CN103618747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310677040.5A CN103618747B (en) 2013-12-11 2013-12-11 A kind of method and system realizing SIP information service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310677040.5A CN103618747B (en) 2013-12-11 2013-12-11 A kind of method and system realizing SIP information service

Publications (2)

Publication Number Publication Date
CN103618747A CN103618747A (en) 2014-03-05
CN103618747B true CN103618747B (en) 2016-09-21

Family

ID=50169451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310677040.5A Active CN103618747B (en) 2013-12-11 2013-12-11 A kind of method and system realizing SIP information service

Country Status (1)

Country Link
CN (1) CN103618747B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8843601B1 (en) * 2013-07-12 2014-09-23 Vonage Network, Llc Systems and methods for VOIP communication completion to a mobile device
CN104158884B (en) * 2014-08-20 2018-02-23 北京比邻在线信息技术有限公司 Voice communication method based on mobile internet
CN107689955B (en) * 2017-08-30 2019-04-16 平安科技(深圳)有限公司 SIP information analysis method and server
CN110912885B (en) * 2019-11-21 2020-09-15 国网江苏省电力有限公司信息通信分公司 Method and system for instantly notifying missed calls of multiple accounts in IMS network
CN113206780A (en) * 2021-04-06 2021-08-03 深圳依时货拉拉科技有限公司 Enterprise instant messaging method and device, computer equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953386A (en) * 2006-11-01 2007-04-25 华为技术有限公司 A method to manage the session, universal information client side and server
CN101179630A (en) * 2006-11-10 2008-05-14 上海千首网络技术有限公司 Method of presenting simultaneously calling sign and other information in SIP communication network call
CN103051863A (en) * 2011-10-17 2013-04-17 腾讯科技(深圳)有限公司 Session issuing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8412833B2 (en) * 2010-04-07 2013-04-02 Apple Inc. Apparatus and method for inviting users to online sessions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953386A (en) * 2006-11-01 2007-04-25 华为技术有限公司 A method to manage the session, universal information client side and server
CN101179630A (en) * 2006-11-10 2008-05-14 上海千首网络技术有限公司 Method of presenting simultaneously calling sign and other information in SIP communication network call
CN103051863A (en) * 2011-10-17 2013-04-17 腾讯科技(深圳)有限公司 Session issuing method and system

Also Published As

Publication number Publication date
CN103618747A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
CN104813655B (en) The method of preview caller in videoconference session
CN103618747B (en) A kind of method and system realizing SIP information service
CN104704795A (en) Method and system for creating a virtual sip user agent by use of a webrtc enabled web browser
CN102932364B (en) A kind of register method, Apparatus and system
CN102035813B (en) The implementation method of end-to-end calling, end-to-end calling terminal and system
CA2449184A1 (en) Method for processing session information of session initiation protocol system and recorded medium thereof
CN108781426A (en) Communication session is registered and auxiliary request processing
CN102075737A (en) Video monitoring conversation method
US20110202661A1 (en) Session-based telecommunications
CN103297445A (en) Web terminal communication method and system based on IP multimedia network
EP2874366A1 (en) Network gateway implementing an instance manager function
CN102958107A (en) Capability query method, communication terminal and application server
US20140164543A1 (en) Communication System, Application Server and Communication Method for Server Cooperation
CN107969165A (en) Quickly access telecommunications tunnel clone
CN110679137A (en) Enhanced telephony application server session management
US20070058611A1 (en) Method and system to proxy mobile and network originated call sessions
CN109495854B (en) Method for realizing mobile terminal App offline SIP call function based on Freeswitch
CN104967559A (en) Activity convening device, activity convening method, server, client and activity initiating method
EP2719147B1 (en) Communication system and corresponding method for establishing a real-time communication session
US20130142085A1 (en) Call transfer processing in sip mode
CN103684970A (en) Transmission method and thin terminals for media data streams
CN106921625B (en) Multimedia service processing system, data transmission and reception method and terminal
KR101977670B1 (en) Composite ars service providing method and apparatus
CN103997491A (en) Quantum secret communication telephone subscriber terminal extension gateway system
KR101080383B1 (en) Method for voice over internet protocol call setup and communication system performing the same

Legal Events

Date Code Title Description
PB01 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