CN105813042A - Method and device for realizing phonebook binding and automatic switching - Google Patents

Method and device for realizing phonebook binding and automatic switching Download PDF

Info

Publication number
CN105813042A
CN105813042A CN201410846689.XA CN201410846689A CN105813042A CN 105813042 A CN105813042 A CN 105813042A CN 201410846689 A CN201410846689 A CN 201410846689A CN 105813042 A CN105813042 A CN 105813042A
Authority
CN
China
Prior art keywords
sip
mobile phone
phone terminal
service
extension set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410846689.XA
Other languages
Chinese (zh)
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.)
GRANDSTREAM NETWORKS Inc
SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY Co Ltd
Original Assignee
GRANDSTREAM NETWORKS Inc
SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY 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 GRANDSTREAM NETWORKS Inc, SHENZHEN GRANDSTREAM NETWORKS TECHNOLOGY Co Ltd filed Critical GRANDSTREAM NETWORKS Inc
Priority to CN201410846689.XA priority Critical patent/CN105813042A/en
Publication of CN105813042A publication Critical patent/CN105813042A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for realizing the phonebook binding and the automatic switching. The method mainly comprises the steps of a, registering and configuring an SIP extension number by a handset terminal; downloading the data of a first phonebook from an SIP server side by the handset terminal after the registration and the configuration of the SIP extension number, and automatically updating a second phonebook of the handset terminal based on the corresponding relationship between the SIP extension number and the number of a handset; b, during the callout process of the handset terminal through selecting and calling a contact in the second phonebook, judging whether the SIP extension number of the contact already exists or not; c, on the condition that the SIP extension number of the contact already exists, automatically judging and selecting the SIP service and/or a wireless cellular network to complete the callout based on the state of the SIP service. In this way, in order to ensure the availability and the smoothness of the communication, the snoop operation is enabled during the communication process to automatically associate the wireless communication technology with IP communication technology and realize the seamless joint. Therefore, the automatic switching among different communication technologies is realized.

Description

A kind of method realizing telephone directory binding and automatic switchover and device
Technical field
The invention belongs to communication field, the management that is particularly based on mobile communication equipment telephone directory data and calling.
Background technology
Arrival along with cybertimes, related application and technology Network Based and IP are more and more general, and slowly it is deep into work and the life of people, a wherein critically important part is namely based on the mechanics of communication of IP, including the deployment of the IP communication of general enterprises or operator, and emerging VoLTE(VoiceOverLTE) technology.Different based on Circuit-switched PSTN network from conventional, IP-based mechanics of communication is due to its multiformity and expansibility, it is widely used in different fields, has been not limited solely to PC and pc domain, be also deep into Mobile solution or mobile phone terminal application.
Existing mobile phone terminal is mainly based upon wireless communication mode transmission voice or the video data that cellular network provides, bigger difference is there is in this with IP-based technology, if therefore needing to realize IP communication on mobile phone terminal, then it is first necessary to set up network and connect, and corresponding Communication processing software is used to carry out conversion and the process of IP communication.And owing to current IP mechanics of communication has the features such as compartmentalization, multiformity and customization: the corresponding IP communication that so-called compartmentalization refers to is only effective in specific region or scope, and not unique mark carrys out clearly currently used number, as only used identical number between the office that Administrative Area is effective or different;So-called multiformity refers to according to different demands and business realizing, the IP communication set parts such as voice, video and data process, and different being deployed on concrete function and there is also larger difference;So-called customization refers in deployment process, and based on the consideration of specific transactions or safety, the technology that adopts for IP communication in general deployment process or realize exists customize specific, and after departing from this region, related realization is by invalid or cannot normally use.Based on foregoing, dispose and use IP communication to there is the difference in some technology and understanding at mobile phone terminal, the difference of difference cellular network technologies and IP mechanics of communication it is more difficult to for domestic consumer, and it also is difficult to a certain extent be undertaken both unifying and associating, therefore based on existing technology and implementation, user needs the IP communication setting that memory is relevant, switch to IP mode when being necessary and carry out communication, and cellular network communication is returned in manual switching again when not having network to connect, great inconvenience is brought to daily deployment and use, and also it is unfavorable for making full use of advantage and the characteristic of IP communication.
Summary of the invention
It is an object of the invention to provide and a kind of realize telephone directory binding and the method automatically switched and device so that wireless communication technique and IP mechanics of communication auto-associating also can realize slitless connection.
A kind of method realizing telephone directory binding and automatic switchover disclosed by the invention, including following operation: step a, mobile phone terminal carries out the registration configuration of SIP extension set number, after registration configuration completes, mobile phone terminal downloads the data of the first telephone directory further from sip server end, and according to the corresponding relation of SIP extension set number, home phone number, office telephone, fax telephone and phone number in the first telephone directory, automatically update the second telephone directory on mobile phone terminal;Step b, when mobile phone terminal is by selecting the contact person on described second telephone directory to breathe out, it may be judged whether there is the SIP extension set number of contact person;Step c, when there is the SIP extension set of contact person, automatically judging according further to SIP service state and selecting to adopt SIP service and/or wireless cellular network to breathe out.
Preferably, also include following monitoring step after step a and generate SIP service status information, the foundation selecting as subsequent communications mode and automatically switching: whether mobile phone terminal checks that network connects and can use;If network connects available, then detect SIP service further, i.e. the SIP connection status of mobile phone terminal and described sip server.
Preferably, SIP service status information includes: SIP service state is normal and SIP service abnormal state, wherein, it is mutual that SIP service state is just referring to be normally carried out information between described mobile phone terminal and sip server, and namely network connection is normal can use with SIP service;SIP service abnormal state refers to that cannot to be normally carried out information between described mobile phone terminal and described sip server mutual.SIP service abnormal state includes one or more of situation: network connects disconnection, network service network link abnormal, between mobile phone terminal and sip server is different, server exception cannot normal response request.
Preferably, the first telephone directory includes the user profile of more than at least one and binds for the association realizing mobile phone terminal SIP extension set number and phone number, and this user profile includes: one or more in home phone number, Work Telephone, fax number, phone number.The establishment process of the first telephone directory comprises the steps: that creating SIP extension set number on sip server distributes to a user and use, and select in the input home phone number of user, office telephone, fax telephone or phone number in establishment process one or more, sip server generates the entries of phone book for described unique user according to above-mentioned user profile, and ultimately forms a first complete telephone book data.This first telephone directory can adopt self-defining XML or CSV form, or the Vcard form of the standard of employing, or generate a networking telephone book based on ldap protocol, if selecting to use ldap protocol, then need the requirement according to ldap protocol subsidiary in described first telephone directory on data relevant for LDAP and information so that mobile phone terminal can normally use LDAP to carry out with sip server docking and the download of the first telephone directory.
Preferably, when SIP service abnormal state, described mobile phone terminal reads the phone number of described called contact person, and switching uses described wireless cellular network to breathe out.When SIP service state is normal, mobile phone terminal selects SIP service exhalation pattern, is namely set up IP-based voice and/or video communication by SIP extension set exhalation.
Preferably, following two step operation: step e are still further comprised after step d, while mobile phone terminal is breathed out by described SIP extension set number, read the phone number of contact person, breathed out by wireless cellular network, realize with shaking call model, namely realize ring while the SIP extension set of contact person and phone number;Step f, mobile phone terminal detects that SIP extension set calling or phone number calling are picked up, then stop the call request to the opposing party, finally set up IP-based communication or based on the one in the communication of cellular network.
In addition, the invention also discloses a kind of mobile phone terminal realizing telephone directory binding and automatic switchover, can under the normal state of network service and SIP service, the calling realizing SIP service and/or wireless cellular network communication selects, mobile phone terminal includes outside wireless communication module and mixed-media network modules mixed-media, also include: telephone directory module, communication control module, and SIP communication module, described telephone directory module, being responsible for carrying out inquiry and the download of the first telephone directory data to sip server, the data being analyzed and acquired by also update the second telephone directory on mobile phone terminal simultaneously;Communication control module, for the call request controlled and adapter mobile phone terminal is external, when described telephone directory exists the SIP extension set of contact person, carries out selecting and automatically switching between the calling of SIP service and/or wireless cellular network communication;SIP communication module, for initiating calling to sip server and setting up SIP voice and/or video processing path, processes and transmits network voice and/or video data.
Preferably, mobile phone terminal also includes: status monitoring module, for the SIP service status monitoring of mobile phone terminal and generate SIP service state, calling, for follow-up SIP service and/or wireless cellular network, the foundation selected, SIP service status monitoring includes: the registration of network connection information, SIP extension set and link information.
Preferably, mixed-media network modules mixed-media includes Wi-Fi module and Data connection module, and wherein, Wi-Fi module is for carrying out based on setting up the network connection of Wi-Fi and the data cube computation based on 3G/4G;Data connection module provides network service to telephone directory module, in order to realize inquiry and the download of described first telephone directory data, and the network transmission of IP-based voice and/or video data.
Preferably, the first telephone directory on sip server includes the user profile of more than at least one, including: home phone number, office telephone, fax telephone and phone number, bind for realizing the association with phone number of the mobile phone terminal SIP extension set number, second telephone directory of mobile phone terminal according to the corresponding relation of SIP extension set number, home phone number, office telephone, fax telephone and phone number in described first telephone directory, can be searched for and there is the telephone directory of identical information and carry out automatically updating and binding.
Preferably, the SIP service status monitoring of mobile phone terminal, specifically include following steps: it is whether unimpeded to detect current network connection and SIP communication that mobile phone terminal sends SIPOPTION message to described sip server;If mobile phone terminal receives the response of SIPOPTION message, then it is assumed that SIP service state is normal, if mobile phone terminal does not receive the response of SIPOPTION message, then it is assumed that SIP service abnormal state.
Preferably, SIP service abnormal state includes one or more of situation: network connects disconnection, network service network link abnormal, between mobile phone terminal and described sip server is different, server exception cannot normal response request.
Preferably, when the SIP service state of mobile phone terminal is normal, communication control module controls to start SIP communication module, is used for setting up the IP-based voice with contact person's SIP extension set and/or video data, namely starts SIP service exhalation pattern.
Preferably, start with shaking call model when the SIP service state of mobile phone terminal is normal, namely started described SIP communication module by communication control module to initiate to call with the SIP of described contact person's SIP extension set, start wireless communication module simultaneously, initiate the wireless telecommunications based on cellular network with contact person's phone number and call.
During the SIP service abnormal state of mobile phone terminal, communication control module directly initiates described wireless communication module, reads the phone number of contact person, and switching uses wireless cellular network to breathe out.
A kind of sip server realizing telephone directory binding and automatic switchover disclosed by the invention, the association binding of cell-phone number and SIP extension set number in order to realize mobile phone terminal, this sip server includes: SIP extension set management module, the thin module of IP phone, network service module and SIP communication control module, SIP extension set management module, realize the establishment of at least more than one SIP extension set number, distribution and management, when creating except needing to manage the address name of some necessity, SIP number, authentication information, outside these relevant informations of outgoing call Permission Levels, the also home phone number of alternative input user, office telephone, fax telephone, phone number, all these information are provided to the thin module of described IP phone for generating described first telephone directory;The thin module of described IP phone is according to the relevant information in SIP extension set, select wherein necessary user profile, particularly: these information of SIP extension set number, home phone number, Work Telephone, fax telephone, phone number, for generating the first telephone directory, and inquiry and the download of the first telephone directory data are externally provided, wherein the SIP extension set number of user, home phone number, office telephone, fax telephone, one or more in these information of phone number are to revise the second telephone directory as follow-up mobile phone terminal and bind the foundation of SIP extension set;Network service module, for inquiring about the SIP request of SIP extension set, and externally provides service, supports inquiry and the download of the first telephone directory data;SIP communication control module, for processing and respond the SIP request of described SIP extension set.
Preferably, SIP request includes setup requests, calling splits off request, and the monitoring request of SIP service status information, the snoop procedure of SIP service status information includes: after receiving the SIPOPTION message that mobile phone terminal sends, and sends the response message of 200OK to mobile phone terminal.
Preferably, SIP service status information includes: SIP service state is normal and SIP service abnormal state, and wherein, it is mutual that SIP service state is just referring to be normally carried out information between mobile phone terminal and sip server, and namely network connects and normally can use with SIP service;Described SIP service abnormal state refers to and cannot be normally carried out information between mobile phone terminal and sip server alternately, including one or more of situation: network connects disconnection, network service network link abnormal, between mobile phone terminal and described sip server is different, server exception cannot normal response request.
Technical scheme provided by the invention can make wireless communication technique and IP mechanics of communication auto-associating and carry out slitless connection, realize the automatic switchover of different communication technologies, make full use of the low feature that even there is not expense of IP communication rate, reach rationally to reduce the purpose of communication fee;Simultaneously by the multiformity of IP communication and the characteristic such as highly expansible, it is possible to conveniently carry out deployment and the renewal of miscellaneous service and the extension of follow-up business and function.
Accompanying drawing explanation
Fig. 1 is the functional block diagram of sip server and mobile terminal in the specific embodiment of the invention;
Fig. 2 is the flow chart realizing SIP service exhalation pattern in specific embodiment of the invention scheme one;
Fig. 3 realizes the flow chart one with the call model that shakes in specific embodiment of the invention scheme two;
Fig. 4 realizes the flowchart 2 with the call model that shakes in specific embodiment of the invention scheme two.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the technical scheme in the embodiment of the present invention is carried out clear, complete description.Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtains broadly falls into the scope of protection of the invention.
The present invention mainly sets up the connection of necessity between IP-PBX and mobile phone terminal and carries out data renewal, carries out the Call-Control1 of necessity to reach IP communication and the purpose of wireless telecommunications slitless connection at mobile phone terminal simultaneously.
Fig. 1 is the functional block diagram of sip server and mobile terminal in the specific embodiment of the invention.It can be seen that IP-PBX or sip server comprise with lower module: SIP extension set management module, the thin module of IP phone, network service module and SIP communication control module.
Wherein, SIP extension set management module, is mainly used in SIP extension set is managed, it is achieved the establishment of SIP extension set, editor and deletion, user profile can be selectively input simultaneously, including: these extra information of home phone number, office telephone, fax telephone and phone number.
Telephone directory module, manages module from SIP extension set and obtains relevant setting and information, select wherein necessary user profile, particularly these information of SIP extension set number, home phone number, office telephone, fax telephone and phone number, be used for generating the first telephone directory.Telephone directory in the present invention can support multiple format, including XML, CVS, VCard and based on the telephone directory of LDAP.If selecting to use ldap protocol, then need the requirement according to ldap protocol subsidiary in telephone directory on data relevant for LDAP and information so that mobile phone terminal can normally use LDAP to carry out with sip server docking and the download of telephone directory.
Network service module, main monitoring is asked and externally provides service, the inquiry of supporting telephone book and download.
SIP communication control module, monitors, processes and responds the SIP request of arrival, and these SIP request include status query request, call setup and split off request etc..
Mobile phone terminal is mainly formed by with lower module: mixed-media network modules mixed-media, telephone directory module, communication control module, status monitoring module, SIP communication module and wireless communication module.
Wherein, mixed-media network modules mixed-media, including Wi-Fi module and Data connection module, it is respectively used to carry out based on setting up the network connection of Wi-Fi and the data cube computation based on 3G/4G, and provide network service to other modules, in order to realize inquiry and the download of the telephone directory data of sip server, and the network transmission of IP-based voice and/or video data.
Telephone directory module, primary responsibility controls to initiate inquiry to sip server and download telephone directory, the data that are analyzed and acquired by one or more according in SIP extension set number therein, home phone number, office telephone, fax telephone and phone number, telephone directory on synchronized update mobile phone terminal, and corresponding SIP extension set number is associated with phone number and phone number and binds.
Status monitoring module, for monitoring the various states within mobile phone terminal, including Wi-Fi or data connection state, SIP extension set registration and connection status etc..
Communication control module, for the call request controlled and adapter mobile phone terminal is external, according to current state, switches over automatically between SIP communication and wireless telecommunications, or uses both to realize simultaneous ringing service by communication modes simultaneously, namely with shaking call model.
SIP communication module, for initiating and set up SIP call to sip server, processes and transmits network voice and video data;
Wireless communication module, connects for setting up to cellular network, it is provided that wireless communication services, this module is generally mobile phone terminal and carries module.
In concrete enforcement and use procedure, the availability and the patency that how to guarantee communication are very important indexs, and IP-based communication modes often has the restriction in region or use scope, especially for the such mobile equipment of mobile phone terminal, therefore in mobile phone terminal, existence monitors module, for monitoring network and SIP communication service status in real time or regularly.It addition, need to set up necessary contacting between sip server and mobile phone terminal, and transmission information is to guarantee availability and the stability of IP communication among each other, and contact between the two is based primarily upon completing alternately of Session Initiation Protocol.
Fig. 2 is the flow chart realizing SIP service exhalation pattern in specific embodiment of the invention scheme one.As seen from the figure, it is achieved SIP service exhalation pattern mainly includes below scheme:
(1) the concrete step that processes on sip server is:
Step (1): start SIP service, carries out the service initialisation operation of necessity, starts some necessary services or process program externally to provide IP Communications service.
Step (2): monitor the SIP request arrived in real time, according to the request type received and parameter, gives necessary and clear and definite response.
Step (3): receive SIPREGISTER request response 200OK after necessity authenticates of mobile phone terminal, inform the login state of mobile phone terminal related service;Receiving based on after the communication state inquiry monitoring request of SIPOPTION, response 200OK message is to inform that this service of mobile phone terminal can use, and process and the reliability of association requests and response are ensured by Session Initiation Protocol.
(2) the concrete step that processes on mobile phone terminal is:
Step 201: user's information that manual configuration SIP extension set number is relevant on mobile phone terminal, it is possible to carry out relevant the automatically configuring of extension number by means of some automatic extension number configuring technicals.
Step 202: mobile phone terminal sends log-on message receive response according to the extension number information of configuration to sip server, this step is mainly used in reporting the positional information of mobile phone to sip server and can receiving the request of calling of arrival and some information or state notifying.
Step 203: mobile phone terminal opens regular monitoring mechanism, for detecting current registration and the connection status with sip server, to guarantee the availability of relevant SIP service, the time cycle regularly monitored is determined according to respective needs and network condition by each terminal, is generally detection per minute once.
Step 204: mobile phone terminal first listens to check current network state, Wi-Fi or 3G/4G network connects;If network connects unavailable, then directly exit current detection procedure, wait that detection next time processes;Otherwise enter ensuing detection procedure.
The present invention starts the monitoring to SIP service state by step 203 and step 204, only just can select SIP service exhalation pattern when SIP service state is normal, and carry out the communication with contact person when SIP service abnormal state only by cellular network.SIP service state is just referring to be normally carried out information between described mobile phone terminal and sip server alternately herein, and namely normal the and described SIP service of described network connection can be used;Described SIP service abnormal state refers to that cannot to be normally carried out information between described mobile phone terminal and described sip server mutual.And SIP service abnormal state specifically includes one or more of situation: described network connects disconnection, network service network link abnormal, between described mobile phone terminal and described sip server is different, server exception cannot normal response request.
Step 205: mobile phone terminal, according to the SIP extension set information configured before, sends SIPOPTION message to sip server whether smooth and easy to detect current network connection and communication.
Step 206: whether mobile phone terminal foundation receives carries out judging accordingly and processing from the response of sip server, if receiving response, entering the process of step 207, otherwise entering the process of step 208.
Step 207: mobile phone terminal receives SIPOPTION response, now it is believed that SIP communication modes is normal, related service can be used.
Step 208: mobile phone terminal does not receive SIPOPTION response, now network connect disconnect or and IP-PBX between communication occur abnormal, now it is believed that this SIP Communications service is unavailable.
Step 209: in spite of receiving SIPOPTION response, mobile phone terminal all must update and the service state of buffer memory SIP, and control whether that switching communication modes provides foundation for communication control module.
Fig. 3 realizes the flow chart one with the call model that shakes in specific embodiment of the invention scheme two.As shown in the figure, the specific embodiment based on Wi-Fi for the present invention, mutual and process between sip server and mobile phone terminal that the embodiment of the present invention mainly considers when having Wi-Fi service normal operation, and automatically switch between IP mechanics of communication and wireless communication technique according to the state that mobile phone terminal is current, specific as follows:
Step 301: first create a SIP extension set number on sip server corresponding to specific mobile phone terminal, configuration process inputs user profile, what may include that in home phone number, office telephone, fax telephone and phone number is one or more, and bind with SIP extension set number, in actual use procedure, this step is likely to repeatedly.
Step 302: according to the SIP phone being previously created and relevant information, corresponding telephone directory is generated at sip server, telephone directory can adopt self-defining XML or CSV form or the Vcard form of the standard of employing, also or based on ldap protocol generates a networking telephone book.
Step 303: start telephone directory download service at sip server end, it is provided out inquiry and the download of telephone directory, it is likely the HTTP service of a standard according to this service described before or the HTTPS based on security consideration services, there is provided the download of XML, CVS or VCard format phone book, it is also possible to externally provide LDAP query service for a LDAPServer.
Step 304:SIP startup of server SIP service, carries out the initialization of related resource and service, and these resources and service include follow-up IP communication and have to use for speech data forwarding service or compile transcoding resource.
SIP request that step 305:SIP server is arrived by network monitoring also carries out response accordingly and processes, as set up request and the response etc. of call.
Step 306: in monitoring module before, the mode that mobile phone terminal has already been through manually or automatically has configured SIP extension set number, now only need to open Wi-Fi service and connect to set up network.
Step 307: mobile phone terminal downloads telephone directory according to the URL that configured in advance is good from IP-PBX, can be XML, CSV, VCard or LDAP form according to described telephone directory before.
Step 308: mobile phone terminal resolves the telephone book data downloaded, one or more corresponding relation according to the SIP extension set number in telephone directory, home phone number, office telephone, fax telephone and phone number, automatically update or revise the communication of Related Contact in telephone directory, SIP extension set relevant information in interpolation on mobile phone terminal.
Step 309: mobile phone terminal starts communication control module, this module is mainly used in realizing switching automatically in IP communication and wireless telecommunications.
Step 310: user dials the contact person of correspondence by the telephone directory on mobile phone terminal.
Step 311: now by reading the telephone directory of the machine, communication control module judges whether this contact person exists SIP extension set number, if there is no then directly uses the mode of cellular network to breathe out and sets up wireless telecommunications.
Step 312: the contact person dialed exists SIP extension set, selection and the judgement of IP communication or wireless telecommunications is now carried out according to the SIP service state of status monitoring module institute buffer memory, if SIP service can be with, set up IP communication by SIP extension set exhalation, namely individually enable the exhalation of SIP service pattern, otherwise set up wireless telecommunications by cellular network exhalation.
Step 313:SIP service is available, and now mobile phone terminal is according to the SIP extension set information configured before, starts the SIP extension set that the calling of corresponding processing module is corresponding.
Step 314: mobile phone terminal sends SIPINVITE request to sip server, IP call is set up in request.
Step 315:SIP server receives and processes the SIPINVITE request arrived from mobile phone terminal, and gives and 200OK response.
Step 316: mobile phone terminal, according to information mutual in SIP signaling, sets up speech processes passage, sends the voice based on RTP and/or video data to sip server.
Step 317:SIP server receives the RTP data of mobile phone terminal, forwards these RTP data to called SIP extension set, or is then forwarded to called SIP extension set after the volume transcoding of necessary voice and/or video data.
Step 318: after either one of both call sides terminates call, sip server reclaims corresponding resource the SIP communication request again listened to, and circulation is repeatedly.
Step 319: when called contact person is absent from SIP extension set number or SIP service is unavailable, now communication control module automatic switchover uses cellular network to breathe out.
Step 320: the communication control module phone number by the called contact person of cellular network calls.
Step 321: calling and called set up wireless telecommunications by cellular network.
Step 322: after end of conversation, reenters the handling process of communication module, and when occurring according to calling, the state auto-switching of mobile phone terminal uses IP communication or wireless telecommunications, and circulation is repeatedly.
Fig. 4 realizes the flowchart 2 with the call model that shakes in specific embodiment of the invention scheme two.As it can be seen, be the present invention specific embodiment based on Wi-Fi or 3G/4G real-time performance mobile phone and SIP extension set simultaneous ringing service.Wi-Fi is connected by this invention embodiment and wireless data connection business (such as 4G network) of operator's offer combines, utilize IP mechanics of communication and wireless communication technique to realize SIP extension set and the same of mobile phone shakes, call can be set up by any one mode, avoid incoming call to lose as far as possible, specifically include following steps:
Step 401:SIP server end: first create a SIP extension set number corresponding to specific mobile phone terminal, what input in the home phone number of user, office telephone, fax telephone and phone number in configuration process is one or more, and bind with SIP extension set number, in actual use procedure, this step is likely to repeatedly.
Step 402:SIP server end: according to the SIP phone being previously created and relevant information, sip server generates corresponding telephone directory, telephone directory can adopt self-defining XML or CSV form or the Vcard form of the standard of employing, also or based on ldap protocol generates a networking telephone book.
Step 403:SIP server end: start telephone directory download service, it is provided out inquiry and the download of telephone directory, it is likely the HTTP service of a standard according to this service described before or the HTTPS based on security consideration services, there is provided the download of XML, CVS or VCard format phone book, it is also possible to externally provide LDAP query service for a LDAPServer.
Step 404:SIP server end: start SIP service, carry out the initialization of related resource and service, these resources and service include follow-up IP communication and have to use for speech data forwarding service or compile transcoding resource.
Step 405:SIP server end: the SIP request that arrived by network monitoring is also carried out response accordingly and processes, as set up request and the response etc. of call.
Step 406: in monitoring module before, the mode that mobile phone terminal has already been through manually or automatically has configured SIP extension set number, now only need to open Wi-Fi or 3G/4G data connection service and connect to set up network.
Step 407: judge whether Wi-Fi service can be used, if available, download telephone directory by Wi-Fi from sip server end, if unavailable, determines whether whether 3G/4G data cube computation can be used.
Step 408: judge whether 3G/4G data cube computation can be used, if available, downloads telephone directory by 3G/4G data cube computation from sip server end, and otherwise the download of termination telephone book and handling process, be directly entered communication control module and process.
Step 409: mobile phone terminal downloads telephone directory according to the URL that configured in advance is good from sip server end, can be XML, CSV, VCard or LDAP form according to described telephone directory before.
Step 410: mobile phone terminal resolves the telephone book data downloaded, one or more corresponding relation according to SIP extension set number therein, home phone number, office telephone, fax telephone and phone number, automatically update or revise the communication of Related Contact, SIP extension set relevant information in interpolation.
Step 411: mobile phone terminal starts communication control module, this module is mainly used in realizing switching automatically in IP communication and wireless telecommunications.
Step 412: user dials the contact person of correspondence by the telephone directory on mobile phone terminal.
Step 413: now by reading the telephone directory of the machine, communication control module judges whether this contact person exists SIP extension set, if existed, simultaneously the SIP extension set of call contact and phone number, otherwise directly use the mode of cellular network to breathe out and set up wireless telecommunications.
Step 414: communication control module breathes out first by cellular network.
Step 415: mobile phone terminal calls the phone number of called contact person, and is in ringing phase, meanwhile enters the call flows of SIP extension set.
Step 416: communication control module is by reading the machine telephone directory, it is judged that whether the contact person dialed exists SIP extension set, if carrying out further judging and processing, otherwise terminates SIP call flow.
Step 417: judge whether current SIP service can be used, if according to the SIP extension set information configured before, starting the SIP extension set that the calling of corresponding processing module is corresponding, otherwise terminates SIP call flow.
Step 418: mobile phone terminal sends SIPINVITE request to sip server, initiates calling to the SIP extension set of called contact person.
Step 419: be absent from SIP extension set or the no situation of SIP service contact person, now terminates SIP call flow.
Step 420:SIP server end: sip server receives and process the SIPINVITE request arrived from mobile phone terminal, and forwards a request to called SIP extension set, called SIP extension set ring.
Step 421: the response status of now communication control module detection wireless telecommunications and IP communication, wherein while side's response calling, cancels the call request of the opposing party.
Step 422: first the SIP extension set of called contact person replys calling, now communication control module is cancelled or stops the phone number call flow based on cellular network, to set up IP call.
Step 423: mobile phone terminal, according to information mutual in SIP signaling, sets up speech processes passage, sends the voice based on RTP and/or video data to sip server.
Step 424:SIP server end: receive the RTP data of mobile phone terminal, forwards these RTP data to called SIP extension set, or is then forwarded to called SIP extension set after the volume transcoding of necessary voice and/or video data.
Step 425:SIP server end: after either one of both call sides terminates call, sip server reclaims corresponding resource the SIP communication request again listened to, and circulation is repeatedly.
Step 426: called contact person uses mobile phone response to call, now call processing module cancels the call flows based on SIP.
Step 427: calling and called set up the voice call based on cellular network.
Step 428: after end of conversation, reenters the handling process of communication module, and when occurring according to calling, the state of mobile phone terminal and the priority automatic switchover of response use IP communication or wireless telecommunications, and circulation is repeatedly.
At sip server end, it is one or more that its telephone directory creates that process user can select in input home phone number, office telephone, fax telephone or phone number, described sip server generates the entries of phone book for unique user according to above-mentioned information, and ultimately forms a complete telephone book data.And the telephone directory at this sip server end includes the user profile of more than at least one and binds for the association realizing described mobile phone terminal SIP extension set number and phone number.Mobile phone terminal telephone directory can according to the telephone directory of sip server end in the corresponding relation of SIP extension set number and phone number automatically update.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within protection scope of the present invention.

Claims (25)

1. one kind realizes telephone directory binding and the method automatically switched, it is characterised in that described method includes following operation:
Step a, described mobile phone terminal carries out the registration configuration of SIP extension set number, after described registration configuration completes, described mobile phone terminal downloads the data of the first telephone directory further from sip server end, and according to the corresponding relation of SIP extension set number in described first telephone directory He phone number, automatically update the second telephone directory on described mobile phone terminal;
Step b, when described mobile phone terminal is by selecting the contact person on described second telephone directory to breathe out, it may be judged whether there is the SIP extension set number of described contact person;
Step c, when there is the SIP extension set of described contact person, automatically judging according further to described SIP service state and selecting to adopt SIP service and/or wireless cellular network to breathe out.
2. method according to claim 1, it is characterized in that, after described step a, also include following monitoring step and generate described SIP service status information, the foundation selecting as subsequent communications mode and automatically switching: whether described mobile phone terminal checks that network connects and can use;If described network connects available, then detect SIP service further, i.e. the SIP connection status of described mobile phone terminal and described sip server.
3. method according to claim 2, it is characterized in that, described SIP service status information includes: SIP service state is normal and SIP service abnormal state, wherein, it is mutual that described SIP service state is just referring to be normally carried out information between described mobile phone terminal and sip server, and namely normal the and described SIP service of described network connection can be used;Described SIP service abnormal state refers to that cannot to be normally carried out information between described mobile phone terminal and described sip server mutual.
4. method according to claim 3, it is characterized in that, described SIP service abnormal state includes one or more of situation: described network connects disconnection, network service network link abnormal, between described mobile phone terminal and described sip server is different, server exception cannot normal response request.
5. the method according to claim 1 or 4, it is characterized in that, described first telephone directory includes the user profile of more than at least one and binds for the association realizing described mobile phone terminal SIP extension set number and phone number, and described user profile includes: one or more in home phone number, Work Telephone, fax number, phone number.
6. method according to claim 5, it is characterized in that, the establishment process of described first telephone directory comprises the steps: that creating SIP extension set number on described sip server distributes to a user and use, and select in the input home phone number of described user, office telephone, fax telephone or phone number in establishment process one or more, described sip server generates the entries of phone book for described unique user according to above-mentioned information, and ultimately forms complete described first telephone book data.
7. method according to claim 6, it is characterized in that, described first telephone directory can adopt self-defining XML or CSV form, or the Vcard form of the standard of employing, or generate a networking telephone book based on ldap protocol, if selecting to use ldap protocol, then need the requirement according to ldap protocol subsidiary in described first telephone directory on data relevant for LDAP and information so that described mobile phone terminal can normally use LDAP to carry out with described sip server docking and the download of described first telephone directory.
8. method according to claim 7, it is characterised in that described method is further comprising the steps of, when described SIP service abnormal state, described mobile phone terminal reads the phone number of described called contact person, and switching uses described wireless cellular network to breathe out.
9. method according to claim 7, it is characterized in that, described method also includes step d, when described SIP service state is normal, described mobile phone terminal selects described SIP service exhalation pattern, namely sets up IP-based voice and/or video communication by described SIP extension set exhalation.
10. method according to claim 9, it is characterized in that, following two step operation: step e are still further comprised after described step d, while described mobile phone terminal is breathed out by described SIP extension set number, read the phone number of described contact person, breathed out by described wireless cellular network, it is achieved with shaking call model, namely realize ring while the SIP extension set of described contact person and phone number;Step f, described mobile phone terminal detects that the calling of described SIP extension set or the calling of described phone number are picked up, then stop the call request to the opposing party, finally set up IP-based communication or based on the one in the communication of cellular network.
11. method according to claim 10, it is characterized in that, the exhalation of described SIP service specifically includes below scheme: according to described SIP extension set information, described mobile phone terminal sends SIPINVITE request to described sip server, and ip voice and/or video communication are set up in request;Described sip server receives and processes described SIPINVITE request, and replys 200OK response;Described mobile phone terminal, according to information mutual in SIP signaling, sets up voice and/or video processing path, sends RTP voice and/or video data to described sip server;Described sip server receives described RTP voice and/or video data, is sent to the SIP extension set of described called contact person after encoded.
12. one kind realizes telephone directory binding and the mobile phone terminal automatically switched, can under the normal state of network service and SIP service, the calling realizing SIP service and/or wireless cellular network communication selects, described mobile phone terminal includes wireless communication module and mixed-media network modules mixed-media, it is characterized in that, described mobile phone terminal farther includes: telephone directory module, communication control module, and SIP communication module, described telephone directory module, it is responsible for carrying out inquiry and the download of the first telephone directory data to sip server, the data being analyzed and acquired by the second telephone directory simultaneously updating on described mobile phone terminal;Described communication control module, for controlling and taking over the call request that described mobile phone terminal is external, when described telephone directory exists the SIP extension set of contact person, carry out selecting and automatically switching between the calling of described SIP service and/or described wireless cellular network communication;Described SIP communication module, for initiating calling to described sip server and setting up SIP voice and/or video processing path, processes and transmits network voice and/or video data.
13. mobile phone terminal according to claim 12, it is characterized in that, described mobile phone terminal also includes: status monitoring module, for the monitoring of SIP service state of described mobile phone terminal and generate relevant SIP service status data, described SIP service state calls, in order to follow-up SIP service and/or wireless cellular network, the foundation selected, and described SIP service status monitoring includes: the situation that network connects, SIP extension set is registered and connected.
14. the mobile phone terminal according to claim 12 or 13, it is characterised in that described mixed-media network modules mixed-media includes Wi-Fi module and Data connection module, wherein, described Wi-Fi is for carrying out based on setting up the network connection of Wi-Fi and the data cube computation based on 3G/4G;Described Data connection module provides network service to described telephone directory module, in order to realize inquiry and the download of described first telephone directory data, and the network transmission of IP-based voice and/or video data.
15. mobile phone terminal according to claim 14, it is characterized in that, the first telephone directory include the user profile of more than at least one and bind for the association realizing described mobile phone terminal SIP extension set number and phone number, the second telephone directory of described mobile phone terminal can automatically update according to the corresponding relation of SIP extension set number described in described first telephone directory He described user profile.
16. mobile phone terminal according to claim 15, it is characterized in that, described first telephone directory generates process and comprises the steps: establishment SIP extension set number on described sip server, and distribute to a user and use, establishment process selects input user profile, including: one or more in home phone number, office telephone, fax telephone or phone number, described sip server generates the phone book entries for unique user according to described user profile, and ultimately forms complete described first telephone book data.
17. mobile phone terminal according to claim 16, it is characterized in that, the SIP service status monitoring of described mobile phone terminal, specifically includes following steps: whether described mobile phone terminal sends SIPOPTION message to described sip server unimpeded to detect current network connection and SIP communication;If described mobile phone terminal receives the response of described SIPOPTION message, then it is assumed that described SIP service state is normal, if described mobile phone terminal does not receive the response of described SIPOPTION message, then it is assumed that described SIP service abnormal state.
18. mobile phone terminal according to claim 17, it is characterized in that, described SIP service abnormal state includes one or more of situation: described network connects disconnection, network service network link abnormal, between described mobile phone terminal and described sip server is different, server exception cannot normal response request.
19. mobile phone terminal according to claim 18, it is characterized in that, when the SIP service state of described mobile phone terminal is normal, described communication control module controls to start described SIP communication module, for setting up IP-based voice with described contact person's SIP extension set and/or video data, namely start SIP service exhalation pattern.
20. mobile phone terminal according to claim 19, it is characterized in that, start with shaking call model when the SIP service state of described mobile phone terminal is normal, namely the SIP initiated with described contact person's SIP extension set by the described communication control module described SIP communication module of startup calls, start described wireless communication module simultaneously, initiate the wireless telecommunications based on cellular network with described contact person's phone number and call.
21. mobile phone terminal according to claim 18, it is characterized in that, during the SIP service abnormal state of described mobile phone terminal, described communication control module directly initiates described wireless communication module, reading the phone number of described contact person, switching uses described wireless cellular network to breathe out.
22. one kind realizes telephone directory binding and the sip server automatically switched, the association binding of cell-phone number and SIP extension set number in order to realize mobile phone terminal, it is characterized in that, described sip server includes: SIP extension set management module, the thin module of IP phone, network service module and SIP communication control module, described SIP extension set management module, it is achieved the establishment of at least more than one SIP extension set number, distribution and management;The thin module of described IP phone, is used for generating the first telephone directory, and externally provides inquiry and the download of described first telephone directory data;Described network service module, for inquiring about the SIP request of described SIP extension set, and externally provides service, supports inquiry and the download of described first telephone directory data;Described SIP communication control module, for processing and respond the SIP request of described SIP extension set.
23. sip server according to claim 22, it is characterized in that, described SIP extension set management module, in the establishment process of described SIP extension set number, except needing the user profile managing some necessity to include: except name, SIP number, authentication information, outgoing call Permission Levels, also alternative input user profile, including: home phone number, office telephone, fax telephone, phone number, all these user profile are provided to the thin module of described IP phone for generating described first telephone directory;Described IP phone book module is according to the relevant information in described SIP extension set, select wherein necessary user profile, particularly: the SIP extension set number of user, home phone number, office telephone, fax telephone, phone number, for generating described first telephone directory, wherein the SIP extension set number of user, home phone number, office telephone, fax telephone, one or more in these information of phone number are to revise the second telephone directory as follow-up described mobile phone terminal and bind the foundation of described SIP extension set.
24. sip server according to claim 23, it is characterized in that, described SIP request includes setup requests, calling splits off request, and the monitoring request of SIP service status information, the snoop procedure of described SIP service status information includes: after receiving the SIPOPTION message that described mobile phone terminal sends, and sends the response message of 200OK to described mobile phone terminal.
25. sip server according to claim 24, it is characterized in that, described SIP service status information includes: SIP service state is normal and SIP service abnormal state, wherein, it is mutual that described SIP service state is just referring to be normally carried out information between described mobile phone terminal and sip server, and namely normal the and described SIP service of described network connection can be used;Described SIP service abnormal state refers to and cannot be normally carried out information between described mobile phone terminal and described sip server alternately, including one or more of situation: described network connects disconnection, network service network link abnormal, between described mobile phone terminal and described sip server is different, server exception cannot normal response request.
CN201410846689.XA 2014-12-31 2014-12-31 Method and device for realizing phonebook binding and automatic switching Pending CN105813042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410846689.XA CN105813042A (en) 2014-12-31 2014-12-31 Method and device for realizing phonebook binding and automatic switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410846689.XA CN105813042A (en) 2014-12-31 2014-12-31 Method and device for realizing phonebook binding and automatic switching

Publications (1)

Publication Number Publication Date
CN105813042A true CN105813042A (en) 2016-07-27

Family

ID=56421218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410846689.XA Pending CN105813042A (en) 2014-12-31 2014-12-31 Method and device for realizing phonebook binding and automatic switching

Country Status (1)

Country Link
CN (1) CN105813042A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257323A (en) * 2017-07-14 2019-01-22 中兴通讯股份有限公司 A kind of call method and device
CN109274686A (en) * 2018-11-02 2019-01-25 深圳方位通讯科技有限公司 A kind of SIP hot spot phone interlock method can effectively reduce cost
WO2019090499A1 (en) * 2017-11-08 2019-05-16 深圳传音通讯有限公司 Call method and call system of network-based intelligent terminal
CN113810549A (en) * 2021-08-12 2021-12-17 上海华信长安网络科技有限公司 Method and device for realizing sharing of office telephone system
CN114039987A (en) * 2021-11-05 2022-02-11 光大科技有限公司 Address book synchronization method and device, computer storage medium and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1960411A (en) * 2006-11-08 2007-05-09 华为技术有限公司 Realization method for telephone book of corporation
US20080192732A1 (en) * 2007-02-13 2008-08-14 John Riley Method and system for multi-modal communications
CN101518036A (en) * 2006-09-27 2009-08-26 日本电气株式会社 Communication device, communication method, and information recording medium
US20100303061A1 (en) * 2009-06-01 2010-12-02 Infoaction Technology, Inc. Network communication system for supporting non-specific network protocols and network communication method thereof
CN103200591A (en) * 2012-10-30 2013-07-10 贵阳朗玛信息技术股份有限公司 Method for processing mobile network call requests
CN103888412A (en) * 2012-12-20 2014-06-25 深圳市潮流网络技术有限公司 Address book automatic generation and query method, and phone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101518036A (en) * 2006-09-27 2009-08-26 日本电气株式会社 Communication device, communication method, and information recording medium
CN1960411A (en) * 2006-11-08 2007-05-09 华为技术有限公司 Realization method for telephone book of corporation
US20080192732A1 (en) * 2007-02-13 2008-08-14 John Riley Method and system for multi-modal communications
US20100303061A1 (en) * 2009-06-01 2010-12-02 Infoaction Technology, Inc. Network communication system for supporting non-specific network protocols and network communication method thereof
CN103200591A (en) * 2012-10-30 2013-07-10 贵阳朗玛信息技术股份有限公司 Method for processing mobile network call requests
CN103888412A (en) * 2012-12-20 2014-06-25 深圳市潮流网络技术有限公司 Address book automatic generation and query method, and phone

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257323A (en) * 2017-07-14 2019-01-22 中兴通讯股份有限公司 A kind of call method and device
WO2019090499A1 (en) * 2017-11-08 2019-05-16 深圳传音通讯有限公司 Call method and call system of network-based intelligent terminal
CN109274686A (en) * 2018-11-02 2019-01-25 深圳方位通讯科技有限公司 A kind of SIP hot spot phone interlock method can effectively reduce cost
CN113810549A (en) * 2021-08-12 2021-12-17 上海华信长安网络科技有限公司 Method and device for realizing sharing of office telephone system
CN114039987A (en) * 2021-11-05 2022-02-11 光大科技有限公司 Address book synchronization method and device, computer storage medium and electronic device

Similar Documents

Publication Publication Date Title
US10084914B1 (en) Guard timer to optimize E911 call handling
US10498892B2 (en) Optimized call handling during E911 calls
EP1705856B1 (en) Communication control apparatus
CN105813042A (en) Method and device for realizing phonebook binding and automatic switching
CN104396287A (en) Proximity based transfer
EP2476243B1 (en) Route select service
EP2175606A1 (en) A method, an exchange and a device for conversation handover between the terminals
US9813561B2 (en) Methods and apparatus for transferring an established communication session in a telecommunications network
CN105635494A (en) Method for realizing state exchange of both conversation sides based on DTMF, terminals and system thereof
US20100105396A1 (en) Service routing for communication systems
US9467325B2 (en) Methods and systems for controlling a communication session
JP6933128B2 (en) IP telephone systems, mobile phones and digital telephone exchanges compatible with IP telephone systems, and communication methods
US8983049B2 (en) Methods and systems for controlling a user device in a telecommunication network
EP2770713B1 (en) Enterprise phone that can provide professional services during a communication set up on a private cellular phone
US10462280B2 (en) Device and method for using appropriate telephone number for call connection
EP1542442B1 (en) Communication system
CN106464750A (en) System and method for dialing a telephone number using a VoIP platform and a mobile radio
EP1596566A1 (en) Method of re-directing IP-telephone calls to a mobile telephone
WO2008093068A2 (en) Handover method and apparatus
WO2001015416A1 (en) Method for controlling a personal number service
EP1589738A1 (en) Method of routing a telephone call
JP2008072314A (en) Exchange device, communication system, communication control method
KR20170047992A (en) Method for forwarding call and communication device therefor
JP2012060661A (en) Portable telephone terminal and telephone control method
KR20070048075A (en) Method for emergency calling wifi mobile communication terminal using it

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160727

RJ01 Rejection of invention patent application after publication