CN105812102B - The call authority management method of distributed voip network - Google Patents

The call authority management method of distributed voip network Download PDF

Info

Publication number
CN105812102B
CN105812102B CN201410850843.0A CN201410850843A CN105812102B CN 105812102 B CN105812102 B CN 105812102B CN 201410850843 A CN201410850843 A CN 201410850843A CN 105812102 B CN105812102 B CN 105812102B
Authority
CN
China
Prior art keywords
call
request
calling
message
authority management
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
CN201410850843.0A
Other languages
Chinese (zh)
Other versions
CN105812102A (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.)
BEIJING DATANG GAOHONG DATA NETWORK TECHNOLOGY Co Ltd
Original Assignee
BEIJING DATANG GAOHONG DATA NETWORK 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 BEIJING DATANG GAOHONG DATA NETWORK TECHNOLOGY Co Ltd filed Critical BEIJING DATANG GAOHONG DATA NETWORK TECHNOLOGY Co Ltd
Priority to CN201410850843.0A priority Critical patent/CN105812102B/en
Publication of CN105812102A publication Critical patent/CN105812102A/en
Application granted granted Critical
Publication of CN105812102B publication Critical patent/CN105812102B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of call authority management method of distributed voip network, by way of introducing multiple call authority management servers in systems, so that the initiation of all-calls is all controlled by call authority management server in voip network system.Processing is simple according to the method for the present invention, can handle a large amount of call request using single call authority management server.And when changing call authority due to Network status changes, or needs because managing, it is only necessary to modify a few call authority management server and configure, well solve distributed voip network and be difficult to the problem of managing and maintaining.

Description

The call authority management method of distributed voip network
Technical field
The present invention relates to this Internet Protocol telephone (Voice over IP, VoIP) technical applications, in particular to one kind is answered Call authority management method for distributed voip network system.
Background technique
VoIP is built upon the technical packetizing of IP, Digital Transmission technology, the basic principle is that: (1) pass through voice Compression algorithm carries out compressed encoding processing to voice data;(2) these voice data are packaged by related protocols such as IP; (3) data packet is transferred to reception ground by IP network;(4) these VoPs are stringed together again;(5) by decoding decompression After processing, original voice signal is reverted to achieve the purpose that transmit voice by IP network.The core of VoIP is set with key Standby is IP phone gateway, and IP phone gateway has the function of routing management, and each department area code is mapped as corresponding area by it Gateway ip address.These address informations are stored in a database, and related processing software is transferred to complete call treatment, digital language The functions such as sound packing, routing management.
VoIP system generally keeps (Gatekeeper), network management by IP phone terminal, gateway (Gateway), gatekeeper/pass at present A few part compositions such as system, charge system.IP phone terminal includes traditional voice call machine, PC, IP telephone machine, is also possible to Integrate the multimedia service terminal of voice, data and image.Since the data source structure that different types of terminal generates is Different, it be in the same transmission over networks, this will either be passed through an adapter by gateway and carry out data conversion, be formed Unified IP data packet
Include the VoIP equipment such as numerous IPPBX, gateway and IAD in the voip network of distributed networking deployment.Each sub-network Between by IP network, realize netted interconnect.IPPBX is a kind of IP-based telephone network system, most significant special Sign is to become an integrated communication system, and voice communication can be integrated into the data network of company, pass through telecommunications network and interconnection Net, it is only necessary to which single equipment can provide the communications such as voice, fax, data and video for user.
Distributed group net mode since it can effectively avoid in system appearance " hot spot " forming properties bottleneck, so as to compared with Easily to support that large capacity is concurrent, realizes better load balancing effect, improve the scalability and fault-tolerance of system entirety Energy.
Typical distributed networking does not have center control nodes at present, when network changes, such as increases new equipment section When increasing new user in point or equipment, each VoIP equipment will adjust separately configuration exhalation routing and exhalation permission etc. in network Configuration, to reflect these variations.As network size expands, the equipment for needing to modify is stepped up, and system administration will increasingly It is complicated.
Summary of the invention
In view of the above-mentioned deficiency of the prior art, the present invention provides a kind of call authority manager of distributed voip network Method effectively simplifies distributed voip network by way of introducing multiple call authority management servers in systems Configuration management.To achieve the goals above, the present invention adopts the following technical scheme:
The call authority management method of distributed voip network, comprising: in voip network IPPBX and gateway match It is equipped with multiple call authority management servers address, when the failure of one of call authority management server cannot provide just Really when response, other call authority management servers are used.
Wherein, call authority request and response steps are as follows:
Step 1, it before the calling device in distributed voip network initiates calling, is first sent out to call authority management server Call request message is sent, message content includes the address ip of calling devicea, numbers of calling and called parties and request ID number;
Step 2, after the call authority management server receives the call request message, configuration database is searched, is determined The device address the VoIP IP that respective call should be sent tobWith signaling port numbers Portb, and response message is sent to the calling device;
Step 3, after the calling device receives response message, to the device address VoIP IPbWith signaling port numbers PortbHair Play calling.
Information receiving and transmitting uses UDP mechanism, to reduce server-side processes load.
Call request datagram format are as follows:
Wherein, type of message: being 1, indicates call request message;Reserved place: it is used for extension;Request ID number: Wei Yibiao Know a request message, and each equipment will ensure that ID number will not conflict in the request message of oneself sending;Requestor IP: it sends The IP address of equipment of request message;Calling number length: calling number length does not include the 0 of character string ending;Called number code length Degree: called number length does not include the 0 of character string ending;Numbers of calling and called parties: two numbers be all with 0 terminate character string, two Extra content is added without among a character string;
Call request reply data report format are as follows:
Wherein, type of message: being 2, indicates call request response message;Reserved place: it is used for extension;Request ID: unique Identify a call request.Each equipment will ensure that ID number will not conflict in the request message of oneself sending;What calling should be sent to VoIP IP address of equipment: associated call should be sent to the specified equipment of this IP address, if value is 0, indicate that this calling is not permitted Perhaps;Call the VoIP equipment end slogan that should be sent to: associated call should be sent to the specified port of this IP address, if value is 0, table Show that this calling is not allowed to.
Further, the address ip of calling deviceaWith request ID number unique identification call request.Preferably, this is only One mark call request is realized using the number of a monotone increasing, when needing to initiate new calling every time, requests ID Number plus 1.
The calling device records it and has issued and not yet by the call request relevant information of response, and is sending calling Start timer after request message, if timer expiry does not receive response, then next call authority management into configuration takes Business device sends the call request message.
After the call authority management server receives call request message, according to the IP in messageaAddress, calling and called number Code and request ID number information, search configuration database, determine the device address the VoIP IP that respective call should be sent tobWith signaling port Number Portb, and response message is sent to request equipment.
It include the request ID number, the device address VoIP IP in the response messagebWith signaling port numbers PortbIf this Calling then calls the VoIP that should be sent to and sets because permission limitation is not allowed to, or because other reasons can not route in response message Standby address ipbWith signaling port numbers PortbIt is all 0.
After the calling device receives response message, first confirm that whether the request ID number in message is currently effective, such as asks ID number is asked to fail, then associated call is processed, should ignore the message;It such as requests ID number effective, searches matched local call The device address the VoIP IP in message is extracted in requestbWith signaling port numbers PortbInformation, then to the device address VoIP IPbWith Signaling port numbers PortbInitiate calling.
To the multiple call authority management servers configured in distributed voip network using the mechanism of synchronous configuration, only match A wherein call authority management server is set, other call authority management servers and its automatic synchronization configure.
Beneficial effects of the present invention: after the mechanism of the method for the present invention, the initiation of all-calls in voip network system It is all controlled by call authority management server, processing is simple, can be handled using single call authority management server A large amount of call request.And when changing call authority due to Network status changes, or needs because managing, it is only necessary to few The several call authority management server modification configurations of number, the management service for having well solved distributed voip network are difficult Topic.In addition, voip network system message transmitting-receiving of the invention uses UDP mechanism, so that server end need not handle a large amount of TCP and connect It connects, improves its treatment effeciency.
Detailed description of the invention
Fig. 1 shows the call authority management in distributed voip network system according to the present invention;
Fig. 2 shows according to the method for the present invention call authority request and response flow chart;
Fig. 3 shows the implementation steps figure of preferred embodiment according to the method for the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Disclosed herein the call authority management method of application distribution Formula V oIP network, networking mode is by being System introduces multiple call authority management servers to guarantee the fault-tolerance of system, when event occurs in some call authority management server The allomeric function of system is not interfered with when barrier.The major function of call authority management server is according to calling/called information and is System setting, judges whether calling is allowed to, and provides response appropriate.Its job order one does not need hold mode, processing letter It is single, therefore can service be provided for large number of equipment simultaneously.
The device configurations such as IPPBX, gateway in application distribution Formula V oIP network system of the invention have multiple call authorities The address of management server, correct response cannot be provided by breaking down when the address of one of call authority management server When, use other call authority management servers.
Illustrate call authority request and response process, the call authority request of the method for the present invention and response stream in conjunction with Fig. 2 Journey is as follows:
Step 1, in distributed voip network system, each equipment needs first before initiating calling to call authority management Server sends call request message, and message content includes the address ip of equipmenta, calling and called telephone number and request ID number.Disappear Breath transmitting-receiving uses UDP mechanism.
Step 2, after call authority management server receives call request message, configuration database is searched, decision is accordingly exhaled It is the device address the VoIP IP that should be sent tobWith signaling port numbers Portb, and response message is sent to call request equipment.
Step 3, after call request equipment receives response message, to the device address VoIP IPbWith signaling port numbers PortbHair Play calling.
The datagram of above-mentioned specific embodiment is defined as follows:
(1) call request datagram format:
Type of message: being 1, indicates call request message
Reserved place: it is used for extension
Request ID number: one request message of unique identification.Each equipment will ensure ID number in the request message of oneself sending It will not conflict.
Requestor IP: the IP address of equipment of request message is sent.
Calling number length: calling number length does not include the 0 of character string ending.
Called number length: called number length does not include the 0 of character string ending.
Numbers of calling and called parties: two numbers are all the character strings terminated with 0, are added without extra content among two character strings.
(2) call request reply data report format:
Type of message: being 2, indicates call request response message;
Reserved place: it is used for extension;
Request ID: one call request of unique identification.Each equipment will ensure that ID number is not in the request message of oneself sending It can conflict.
Call the VoIP IP address of equipment that should be sent to: associated call should be sent to the specified equipment of this IP address.Such as value It is 0, indicates that this calling is not allowed to.
Call the VoIP equipment end slogan that should be sent to: associated call should be sent to the specified port of this IP address.Such as value It is 0, indicates that this calling is not allowed to.
The call authority administrative skill embodiment party of preferred embodiment according to the present invention is further illustrated below in conjunction with Fig. 3 Case.
The first step sends call request message
The not direct configuration call routing of the equipment such as IPPBX, gateway in distributed voip network, is needing to initiate calling When, it needs first to send call request message to call authority management server, so that calling should be initiated to which equipment by knowing.
Information receiving and transmitting uses UDP mechanism, so that call authority management server end need not handle a large amount of TCP connections, improves Its treatment effeciency.Message content includes device address IPa, calling and called telephone number and request ID number etc..Wherein, device address IPa It can the request of unique identification call with request ID number.In a specific embodiment, the number that a monotone increasing can be used comes This unique identification call request is realized, so that call request ID number adds 1 when needing to initiate new calling every time.
Equipment should record oneself and issue and not yet disappear by the call request relevant information of response, and having sent call request Start timer after breath.If timer expiry does not receive response, then next call authority management server into configuration is sent out Give the call request message.If being only configured with a call authority management server, then when time-out is unresponsive to the server Repeat transmission request.
In a preferred embodiment, it is assumed that extension set 6000 requires calling under IPPBX equipment 192.168.1.100 in network 18600 initiate calling, and call request message content is as follows:
Second step, call request message processing and response
After call authority management server receives call request message, according to the IP in messageaAddress, numbers of calling and called parties and The information such as ID number are requested, configuration database is searched, determine the device address the VoIP IP that respective call should be sent tobWith signaling port numbers Portb, and response message is sent to request equipment.It include original call request ID number, the device address VoIP in response message IPbWith signaling port numbers Portb.If this calling is not because permission limitation is allowed to, or because other reasons can not route, then answers Answer the device address the VoIP IP that calling should be sent in messagebWith signaling port numbers PortbIt is all 0.
It is assumed that extension set 6000 is allowed to calling 18600 under aforementioned IPPBX equipment 192.168.1.100, should be set to gateway Calling is initiated in 5060 ports of standby 192.168.1.200, then it is as follows to correspond to response message content:
Third step after call request equipment receives response message, first confirms that whether the request ID number in message currently has Effect.Such as ID number is requested to fail, then associated call is (calling has been initiated, or calling has been abandoned) processed, should ignore the message. It such as requests ID number effective, searches matched local call request, extract the device address the VoIP IP in messagebWith signaling port numbers PortbInformation, then to the device address VoIP IPbWith signaling port numbers PortbInitiate calling.
After above-mentioned mechanism, the initiation of all-calls is all controlled by call authority management server, therefore works as Network status When changing call authority due to changing, or need because managing, it is only necessary to be repaired to a few call authority management server Change configuration, well solves the management service problem of distributed voip network system.
Because processing is simple, single call authority management server can handle a large amount of call request, therefore general In the case of call authority number of servers it is limited, configure also be acceptable scheme one by one.But if in order to enhance fault-tolerance Deng the call authority number of servers configured in distributed voip network system is more, then it is contemplated that design configurations are synchronous Mechanism, only configure a server, other servers and its automatic synchronization configure, and are further simplified system configuration.
It is the description of this invention above, without departing from the spirit of the design of the present invention, this field ordinary skill skill Art personnel's various modifications and substitutions to the technical solution of the present invention should all fall into the guarantor that claim of the invention determines It protects in range.

Claims (10)

1. the call authority management method of distributed voip network characterized by comprising in voip network IPPBX and Gateway is configured with multiple call authority management servers address, when one of call authority management server breaks down When cannot provide correct response, other call authority management servers are used, wherein call authority request and response steps are such as Under:
Step 1, it before the calling device in distributed voip network initiates calling, is first exhaled to the transmission of call authority management server It is request message, message content includes the address ip of calling devicea, numbers of calling and called parties and request ID number;
Step 2, after the call authority management server receives the call request message, configuration database is searched, is determined corresponding Call the device address the VoIP IP that should be sent tobWith signaling port numbers Portb, and response message is sent to the calling device;
Step 3, after the calling device receives response message, to the device address VoIP IPbWith signaling port numbers PortbInitiation is exhaled It cries.
2. the call authority management method of distribution voip network according to claim 1, which is characterized in that information receiving and transmitting Using UDP mechanism.
3. the call authority management method of distribution voip network according to claim 1, which is characterized in that call request Datagram format are as follows:
Wherein, type of message: being 1, indicates call request message;Reserved place: it is used for extension;Request ID number: unique identification one A request message, and each equipment will ensure that ID number will not conflict in the request message of oneself sending;Requestor IP: request is sent The IP address of equipment of message;Calling number length: calling number length does not include the 0 of character string ending;Called number length: Called number length does not include the 0 of character string ending;Numbers of calling and called parties: two numbers be all with 0 terminate character string, two Extra content is added without among character string.
4. the call authority management method of distribution voip network according to claim 1, which is characterized in that call request Reply data report format are as follows:
Wherein, type of message: being 2, indicates call request response message;Reserved place: it is used for extension;Request ID: unique identification One call request, each equipment will ensure that ID number will not conflict in the request message of oneself sending;Call the VoIP that should be sent to IP address of equipment: associated call should be sent to the specified equipment of this IP address, if value is 0, indicate that this calling is not allowed to;It exhales Be the VoIP equipment end slogan that should be sent to: associated call should be sent to the specified port of this IP address, if value is 0, indicate this Calling is not allowed to.
5. the call authority management method of distribution voip network according to claim 1, which is characterized in that calling device Address ipaWith request ID number unique identification call request;The unique identification call request uses a dullness The number of growth is realized, when needing to initiate new calling every time, request ID number adds 1.
6. the call authority management method of distribution voip network according to claim 1, which is characterized in that the calling Equipment records it and has issued and not yet by the call request relevant information of response, and start after having sent call request message it is fixed When device, if timer expiry does not receive response, then next call authority management server into configuration sends the calling and asks Seek message.
7. the call authority management method of distribution voip network according to claim 1, which is characterized in that call authority After management server receives call request message, according to the IP in messageaAddress, numbers of calling and called parties and request ID number information, are looked into Configuration database is looked for, determines the device address the VoIP IP that respective call should be sent tobWith signaling port numbers Portb, and to request equipment Send response message.
8. the call authority management method of distribution voip network according to claim 1, which is characterized in that the response It include the request ID number, the device address VoIP IP in messagebWith signaling port numbers PortbIf this calling limits not because of permission It is allowed to, or because other reasons can not route, then calls the device address the VoIP IP that should be sent in response messagebAnd signaling side Slogan PortbIt is all 0.
9. the call authority management method of distribution voip network according to claim 1, which is characterized in that the calling After equipment receives response message, first confirms that whether the request ID number in message currently effective, such as request ID number failure, then it is related Calling is processed, should ignore the message;It such as requests ID number effective, searches matched local call request, extract in message The device address VoIP IPbWith signaling port numbers PortbInformation, then to the device address VoIP IPbWith signaling port numbers PortbHair Play calling.
10. the call authority management method of distribution voip network according to claim 1, which is characterized in that distribution The multiple call authority management servers configured in Formula V oIP network are using the mechanism of synchronous configuration, only a configuration wherein calling Right management server, other call authority management servers and its automatic synchronization configure.
CN201410850843.0A 2014-12-31 2014-12-31 The call authority management method of distributed voip network Active CN105812102B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410850843.0A CN105812102B (en) 2014-12-31 2014-12-31 The call authority management method of distributed voip network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410850843.0A CN105812102B (en) 2014-12-31 2014-12-31 The call authority management method of distributed voip network

Publications (2)

Publication Number Publication Date
CN105812102A CN105812102A (en) 2016-07-27
CN105812102B true CN105812102B (en) 2019-10-25

Family

ID=56421421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410850843.0A Active CN105812102B (en) 2014-12-31 2014-12-31 The call authority management method of distributed voip network

Country Status (1)

Country Link
CN (1) CN105812102B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201616310D0 (en) * 2016-09-26 2016-11-09 Microsoft Technology Licensing Llc Communication System

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522012A (en) * 2003-01-30 2004-08-18 华为技术有限公司 A routing method for IP telephone system
CN1533145A (en) * 2003-03-21 2004-09-29 华为技术有限公司 Route method for calling control in IP telephone system
CN1571575A (en) * 2004-04-23 2005-01-26 宋海儒 A call information processing method and call information processing system
CN1581781A (en) * 2004-05-20 2005-02-16 北京比特视通科技有限公司 IP technology-based dispatch interconnecting and connecting method and dispatch interconnecting device
CN1798197A (en) * 2004-12-20 2006-07-05 北京佳讯飞鸿电气有限责任公司 Implement method for restricting VoIP service going out of bureau in foreign land
CN1867000A (en) * 2005-11-12 2006-11-22 华为技术有限公司 Call authority control method and system
CN1956476A (en) * 2005-10-24 2007-05-02 广东省电信有限公司研究院 System and method for implementing integral managing user data of fixed telephone network
CN101572892A (en) * 2009-06-17 2009-11-04 杭州华三通信技术有限公司 Call establishment method and network equipment
CN101888454A (en) * 2010-07-22 2010-11-17 杭州华三通信技术有限公司 Calling method and device of network telephone

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1522012A (en) * 2003-01-30 2004-08-18 华为技术有限公司 A routing method for IP telephone system
CN1533145A (en) * 2003-03-21 2004-09-29 华为技术有限公司 Route method for calling control in IP telephone system
CN1571575A (en) * 2004-04-23 2005-01-26 宋海儒 A call information processing method and call information processing system
CN1581781A (en) * 2004-05-20 2005-02-16 北京比特视通科技有限公司 IP technology-based dispatch interconnecting and connecting method and dispatch interconnecting device
CN1798197A (en) * 2004-12-20 2006-07-05 北京佳讯飞鸿电气有限责任公司 Implement method for restricting VoIP service going out of bureau in foreign land
CN1956476A (en) * 2005-10-24 2007-05-02 广东省电信有限公司研究院 System and method for implementing integral managing user data of fixed telephone network
CN1867000A (en) * 2005-11-12 2006-11-22 华为技术有限公司 Call authority control method and system
CN101572892A (en) * 2009-06-17 2009-11-04 杭州华三通信技术有限公司 Call establishment method and network equipment
CN101888454A (en) * 2010-07-22 2010-11-17 杭州华三通信技术有限公司 Calling method and device of network telephone

Also Published As

Publication number Publication date
CN105812102A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
JP4276568B2 (en) Router and SIP server
Hartpence Packet Guide to Voice over IP: A system administrator's guide to VoIP technologies
CN109831548B (en) Virtual content delivery network vCDN node establishment method and server
WO2012016536A1 (en) Service communication method and system for access network apparatus
US20100175122A1 (en) System and method for preventing header spoofing
RU2430478C2 (en) Device authentication with personal computer for real-time data transmission
CN102594672A (en) Method and system applicable to high-quality internet communication in low-reliability network environment
RU2003124305A (en) METHOD FOR CALLING A VIDEO COMMUNICATION SERVICE USING A VIDEO COMMUNICATION TERMINAL AND AN APPROPRIATE FORM OF MESSAGE DATA
Ohrtman Voice Over 802.11
CN105812102B (en) The call authority management method of distributed voip network
CN103916489B (en) The many IP of a kind of single domain name domain name analytic method and system
JP5926164B2 (en) High-speed distribution method and connection system for session border controller
CN110740287B (en) Data processing method and device for autonomous network
EP2449723B1 (en) System and method for setting up a call using a global registry
CN102158477A (en) Communication system and information interaction method
CN101471954A (en) Method for implementing network service, network service entity and intelligent network system
CN101106611A (en) Voip inter-network switching system based on H323 protocol
US8014304B1 (en) Method and system for decoding tokenized session initiated protocol packets
CN102123151B (en) Implementation method for lightweight communication platform supporting multi-data communication
CN110098993A (en) A kind for the treatment of method and apparatus of signaling message
CN106921624A (en) Session border controller and data transmission method
Battu New telecom networks: Enterprises and security
JP4750046B2 (en) Communication control processing providing system and apparatus
CN104184570A (en) Communication system and method
CN103813037B (en) Call information method for pushing and system

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
GR01 Patent grant
GR01 Patent grant