CN105024833A - Communication method and system based on voice protocol, server, and client - Google Patents

Communication method and system based on voice protocol, server, and client Download PDF

Info

Publication number
CN105024833A
CN105024833A CN201510387534.9A CN201510387534A CN105024833A CN 105024833 A CN105024833 A CN 105024833A CN 201510387534 A CN201510387534 A CN 201510387534A CN 105024833 A CN105024833 A CN 105024833A
Authority
CN
China
Prior art keywords
service end
client
active inquiry
query message
voice protocol
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
CN201510387534.9A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510387534.9A priority Critical patent/CN105024833A/en
Publication of CN105024833A publication Critical patent/CN105024833A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a communication method and system based on a voice protocol, a server, and a client. When the server receives configuration information, an active inquiry period is set, and an inquiry message based on the voice protocol is sent according to the active inquiry period. The client starts a response corresponding to the active inquiry, obtains the address information from the inquiry message of the server after the inquiry message is received, and sends a register requirement to the server. When a network segment is changed, the configuration of the client does not need to be modified, the server can actively query the client, and the client responses to registering, thereby saving the manpower and cost for the configuration of the client.

Description

Based on the communication means of voice protocol, system, service end and client
Technical field
The present invention relates to networking technology area, particularly relate to based on the communication means of voice protocol, system, service end and client.
Background technology
The various inventions related on the market at present, do not comprise the function of voice server end being carried out to active inquiry registration.Current invention and patent concentrate the invention for client part, first carry out alternately for server, reporting information by client.
Invention relevant both at home and abroad at present comprises: for the synchronous method of H.248 User Status, carry out state reporting by client; H.248 the release of protocol resource and control and management; On H.248 next basis, expand H.248 protocol massages, shorten IP address distribute data and organize Review Cycle; And communication terminal is to the register method of server.
Existing technology is all the change for client mostly, is not optimized for server and improves, existing patent, substantially all in optimization client, comprises the mode optimizing registration, optimizes the User Status of more new registration, optimize protocol resource; Or optimize message H.248, save and shorten Internet Assigned Number Authority Review Cycle, decrease the amendment number of times etc. of protocol layer, because client is numerous, to realize this optimization then each client all need each self-configuring, comparatively loaded down with trivial details.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide based on the communication means of voice protocol, system, service end and client, initiate active inquiry based on service end, thus solve in prior art based on the defect only formed for client or packet optimization in the communication mode of H.248 agreement.
For realizing above-mentioned target and other related objectives, the invention provides a kind of communication means based on voice protocol, comprise: when service end receives its configuration information, the active inquiry cycle is set, and issue the query message based on described voice protocol according to the described active inquiry cycle; Client opens the response of corresponding described active inquiry, after receiving described query message, therefrom obtains the address information of described service end, and initiates registration request to described service end.
Optionally, the described active inquiry cycle realizes by periodically starting timer.
Optionally, issuing of described query message is the forms of broadcasting.
For realizing above-mentioned target and other related objectives, the invention provides a kind of communication system based on voice protocol, be applied between service end and the client based on voice protocol and communicate, described system comprises: active inquiry module, for when described service end receives its configuration information, the active inquiry cycle is set, and issues the query message based on described voice protocol according to the described active inquiry cycle; Registering modules, for opening the response of corresponding described active inquiry to described client, after receiving described query message, therefrom obtains the address information of described service end, and initiates registration request to described service end.
Optionally, the described active inquiry cycle realizes by periodically starting timer.
Optionally, issuing of described query message is the forms of broadcasting.
For realizing above-mentioned target and other related objectives, the invention provides a kind of service end, comprising: timing unit, for when described service end receives its configuration information, the active inquiry cycle is set; Processing unit, connects described timing unit, for generating the query message based on predetermined voice protocol according to the described active inquiry cycle and being issued by service end, and receives the registration request of the described query message of response by described service end.
Optionally, issuing of described query message is the forms of broadcasting.
Optionally, described voice protocol is H.248 agreement.
For realizing above-mentioned target and other related objectives, the invention provides a kind of client, comprise: processing unit, during for receiving the query message based on predetermined voice protocol in client, resolve the address information of its source device from described query message, and initiate registration request to described source device.
As mentioned above, the invention provides based on the communication means of voice protocol, system, service end and client, when service end receives its configuration information, the active inquiry cycle is set, and issues the query message based on described voice protocol according to the described active inquiry cycle; Client opens the response of corresponding described active inquiry, after receiving described query message, therefrom obtains the address information of described service end, and initiates registration request to described service end; When there is the situations such as network segment change, can not need to revise the configuration of client, server just can active inquiry client, and namely client responds registration, saves the human cost configuring client.
Accompanying drawing explanation
Fig. 1 is shown as in one embodiment of the invention based on the information interaction schematic diagram in the communication scenes of voice protocol.
Fig. 2 is shown as the handling process schematic diagram of service end in one embodiment of the invention.
Fig. 3 is shown as the handling process schematic diagram of client in one embodiment of the invention.
Fig. 4 is shown as the software logic structural representation based on the communication system of voice protocol in one embodiment of the invention.
Fig. 5 is shown as the hardware configuration schematic diagram based on the communication system of voice protocol in one embodiment of the invention.
Element numbers explanation
1 service end
11 timing units
12 processing units
2 clients
21 processing units
3 based on the communication system of voice protocol
31 active inquiry modules
32 Registering modules
S1 ~ S2, S101 ~ S104, method step
S201~S205
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
As shown in Figure 1, the invention provides the embodiment of the communication scenes based on voice protocol, be applied between service end 1 and the client 2 based on voice protocol and communicate; Specifically, the communication process between service end 1 and client 2 is:
Step S1: when service end 1 receives its configuration information, the active inquiry cycle is set, and issue the query message based on described voice protocol according to the described active inquiry cycle.
In one embodiment, described service end 1 receives configuration information and refers to: be such as configured service end 1 by Local or Remote, triggers with the condition realizing active inquiry; The described active inquiry cycle realizes by periodically starting timer, for example, can arrange and start the timer of timing for T, whenever started timer expiry, send query message, then loop back and again start this timer, then achieve the object sending query message every T time.
In one embodiment, preferably, because client 2 may be multiple, therefore issuing of described query message is the forms of broadcasting.
In one embodiment, concrete, described voice protocol is H.248 agreement; H.248 agreement is the MGCP proposed by ITU-T the 16th work group for 2000, and it MGCP protocol basis in early days improves form.H.248/MeGaCo agreement is the gateway control protocol for connecting MGC (Media Gateway Controller) and MG (media gateway), being applied between media gateway and Softswitch and soft switch and H.248/MeGaCo between terminal, is the important protocol that soft switch should be supported.
Step S2: described client 2 opens the response of corresponding described active inquiry, after receiving described query message, therefrom obtains the address information of described service end 1, and initiates registration request to described service end 1.
Concrete, as shown in Figure 2, the handling process of described service end 1, specifically comprises:
Step S101: when service end 1 receives configuration information, arranges active inquiry T cycle time;
Step S102: judge whether to open active inquiry function, then open if not; If so, then step S103 is entered;
Step S103: opening timing device, duration is T;
Step S104: timer expiry, then broadcast issues query message; And then return step S103.
Concrete, as shown in Figure 3, the handling process of described client 2, specifically comprises:
Step S201: client 2 opens active inquiry response;
Step S202: judge whether to receive message; If do not receive, then continue to judge; If receive, then enter step S203;
Step S203: analytic message;
Step S204: judge whether it is described query message; Such as, by analytic message, judge whether it is identical voice protocol (such as being judged by message structure), as H.248 agreement; If not, then return step S202; If so, then step S205 is proceeded to;
Step S205: obtain service end 1IP address from described query message, and then send registration request to service end 1.
So far, the whole registration process based on voice protocol is completed.
About the specific implementation of message, shown in being exemplified below:
H.248 protocol massages, first can be packaged into UDP message, adds IP packet header, the packet header such as DHCP or PPPOE can also be added, herein, using IP message as explanation: its form is made up of IP field, UDP field and MEGACO field, is issued the message of megaco agreement by the broadcast packet of IP.
For the message of Megaco agreement, introduce the following definitions: when existing customer holds and initiates registration, all use service change; Also this keyword is used herein, the message (with megaco protocol version for 1, port is 2944 is example) of the inquiry megaco agreement that the service end building following structure issues:
MEGACO/1[222.66.65.67]:2944
Version:1
MediagateId:[222.66.65.67]:2944
Transaction=1{
Transaction:Request
Transaction ID:1
Context=-{
Context:NULL
ServiceChange=root{
Command:ServiceChange
Termination ID:root
Services{
Method=RequestRegister,
Reason=″222.66.65.67″}}}}
Client receives above-mentioned message, and being resolved to field in service change is RequestRegister, then by the Ip in Reason, as the Ip address of registration, respond, back message is as follows, after response, then carries out conventional registration:
MEGACO/1[222.66.65.67]:2944
Version:1
MediagateId:[222.66.65.67]:2944
Transaction=1{
Transaction:Reply
Transaction ID:10
Context=-{
Context:NULL
ServiceChange=root{
Command:ServiceChange
Termination ID:root
Services{
Method=ReplyRegister,
Reason=″OK″}}}}
Brief summary foregoing, the present invention relates to the common change of voice H.248 service end 1 and client 2, when configuration service end 1 opens active inquiry function, and after active inquiry cycle time, service end 1 is within the active inquiry cycle of correspondence, and active inquiry is in the online registration state of the client 2 of the same network segment.
For client 2, after the response of unlatching active inquiry, receive service end 1 active inquiry message, namely carry out packet parsing, after obtaining service end 1IP, namely carry out the automatic registration of user, do not need the IP address at client 2 configuration service end 1, that is, in client 2 indefinite service end 1 situation, also can be undertaken inquiring about and succeeding in registration by service end 1.
The present invention relates to service end 1 and client 2 two parts, when there is the situations such as network segment change, can not need to revise the configuration of client 2, service end 1 just can active inquiry client 2, namely client 2 responds registration, saves the human cost of configuration client 2.
For realizing said method, by software simulating, for this reason, as shown in Figure 4, the invention provides and realize the described software logic structure based on the communication system 3 of voice protocol, it comprises: active inquiry module 31 and Registering modules 32.
Described active inquiry module 31, for when described service end 1 receives its configuration information, arranges the active inquiry cycle, and issues the query message based on described voice protocol according to the described active inquiry cycle; Described Registering modules 32, for opening the response of corresponding described active inquiry to described client 2, after receiving described query message, therefrom obtains the address information of described service end 1, and initiates registration request to described service end 1.
It should be noted that, described active inquiry module 31 and Registering modules 32 both can be that the electronics end be equipped on beyond service end 1 and client 2 realizes, and also can be to be equipped on service end 1 respectively and client 2 realizes, and were therefore not limited with diagram.
As shown in Figure 5, for realizing said method, the present invention reoffers the embodiment about service end 1 and client 2 practical structures.
Described service end 1, comprising: timing unit 11, for when described service end 1 receives its configuration information, arranges the active inquiry cycle; Processing unit 12, connects described timing unit 11, for generating the query message based on predetermined voice protocol according to the described active inquiry cycle and being issued by service end 1, and receives the registration request of the described query message of response by described service end 1.
In one embodiment, described service end 1 can be server, server group, PC or mobile terminal (such as mobile phone or panel computer etc.) and be equipped on the software simulating of above-mentioned electronic installation, certainly, also can be that pure software realizes; Realize if soft or hard combines, then described timing unit 11 can be coordinate software simulating by timer hardware circuit, and described processing unit 12 can be that the chip circuits such as MCU, SoC or CPU coordinate software simulating.
Described client 2, comprising: processing unit 21, for when client 2 receives the query message based on predetermined voice protocol, resolves the address information of its source device from described query message, and initiates registration request to described source device.
Described client 2 can be PC or mobile terminal (such as mobile phone or panel computer etc.) and the software simulating being equipped on above-mentioned electronic installation, certainly, also can be that pure software realizes; Realize if soft or hard combines, then the processing unit 21 in described client 2 can be that the chip circuits such as MCU, SoC or CPU coordinate software simulating.
In sum, the invention provides based on the communication means of voice protocol, system, service end and client, when service end receives its configuration information, the active inquiry cycle is set, and issues the query message based on described voice protocol according to the described active inquiry cycle; Client opens the response of corresponding described active inquiry, after receiving described query message, therefrom obtains the address information of described service end, and initiates registration request to described service end; When there is the situations such as network segment change, can not need to revise the configuration of client, server just can active inquiry client, and namely client responds registration, saves the human cost configuring client.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. based on a communication means for voice protocol, it is characterized in that, comprising:
When service end receives its configuration information, the active inquiry cycle is set, and issues the query message based on described voice protocol according to the described active inquiry cycle;
Client opens the response of corresponding described active inquiry, after receiving described query message, therefrom obtains the address information of described service end, and initiates registration request to described service end.
2. communication means according to claim 1, is characterized in that, the described active inquiry cycle realizes by periodically starting timer.
3. communication means according to claim 1, is characterized in that, issuing of described query message is the forms of broadcasting.
4., based on a communication system for voice protocol, be applied between service end and the client based on voice protocol and communicate, it is characterized in that, described system comprises:
Active inquiry module, for when described service end receives its configuration information, arranges the active inquiry cycle, and issues the query message based on described voice protocol according to the described active inquiry cycle;
Registering modules, for opening the response of corresponding described active inquiry to described client, after receiving described query message, therefrom obtains the address information of described service end, and initiates registration request to described service end.
5. communication system according to claim 4, is characterized in that, the described active inquiry cycle realizes by periodically starting timer.
6. communication system according to claim 4, is characterized in that, issuing of described query message is the forms of broadcasting.
7. a service end, is characterized in that, comprising:
Timing unit, for when described service end receives its configuration information, arranges the active inquiry cycle;
Processing unit, connects described timing unit, for generating the query message based on predetermined voice protocol according to the described active inquiry cycle and being issued by service end, and receives the registration request of the described query message of response by described service end.
8. service end according to claim 7, is characterized in that, issuing of described query message is the forms of broadcasting.
9. service end according to claim 7, is characterized in that, described voice protocol is H.248 agreement.
10. a client, is characterized in that, comprising:
Processing unit, during for receiving the query message based on predetermined voice protocol in client, resolves the address information of its source device from described query message, and initiates registration request to described source device.
CN201510387534.9A 2015-07-03 2015-07-03 Communication method and system based on voice protocol, server, and client Pending CN105024833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510387534.9A CN105024833A (en) 2015-07-03 2015-07-03 Communication method and system based on voice protocol, server, and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510387534.9A CN105024833A (en) 2015-07-03 2015-07-03 Communication method and system based on voice protocol, server, and client

Publications (1)

Publication Number Publication Date
CN105024833A true CN105024833A (en) 2015-11-04

Family

ID=54414567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510387534.9A Pending CN105024833A (en) 2015-07-03 2015-07-03 Communication method and system based on voice protocol, server, and client

Country Status (1)

Country Link
CN (1) CN105024833A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677418A (en) * 2016-01-08 2016-06-15 烽火通信科技股份有限公司 Method and system for achieving different voice protocols in access equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816180A (en) * 2004-12-22 2006-08-09 日本电气株式会社 Speech communication system and talker right reservation method
CN101106795A (en) * 2006-07-12 2008-01-16 华为技术有限公司 A registration hiding method for IMS domain
CN101360112A (en) * 2008-09-17 2009-02-04 深圳华为通信技术有限公司 Method, system and apparatus initializing sessions
CN102075545A (en) * 2011-02-18 2011-05-25 杭州华三通信技术有限公司 Registration instruction method and registration method for client and equipment thereof
CN102387268A (en) * 2011-10-18 2012-03-21 深圳市共进电子股份有限公司 Method for H.248 communication terminal to register on server
CN103546491A (en) * 2013-11-08 2014-01-29 烽火通信科技股份有限公司 Communication link abnormity protection method based on H.248 terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816180A (en) * 2004-12-22 2006-08-09 日本电气株式会社 Speech communication system and talker right reservation method
CN101106795A (en) * 2006-07-12 2008-01-16 华为技术有限公司 A registration hiding method for IMS domain
CN101360112A (en) * 2008-09-17 2009-02-04 深圳华为通信技术有限公司 Method, system and apparatus initializing sessions
CN102075545A (en) * 2011-02-18 2011-05-25 杭州华三通信技术有限公司 Registration instruction method and registration method for client and equipment thereof
CN102387268A (en) * 2011-10-18 2012-03-21 深圳市共进电子股份有限公司 Method for H.248 communication terminal to register on server
CN103546491A (en) * 2013-11-08 2014-01-29 烽火通信科技股份有限公司 Communication link abnormity protection method based on H.248 terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677418A (en) * 2016-01-08 2016-06-15 烽火通信科技股份有限公司 Method and system for achieving different voice protocols in access equipment
CN105677418B (en) * 2016-01-08 2018-10-23 烽火通信科技股份有限公司 The method and system of multiple and different voice protocols are realized in access device

Similar Documents

Publication Publication Date Title
US10470103B2 (en) System and method for authentication of a communication device
WO2017211235A1 (en) Client device management method and system, automatic configuration server, and storage medium
RU2010136044A (en) WIRELESS RADIO CONTROL UNITS USING IDENTIFIERS
WO2011026430A1 (en) Method and system for data synchronization in content delivery network
WO2017215492A1 (en) Device detection method and apparatus
EP2707993B1 (en) Method and system for sharing device capabilities of universal plug and play (upnp) devices with a service network entity
WO2010025670A1 (en) Address reporting method and apparatus, connection establishing method and apparatus, and communication system
CN103812900A (en) Data synchronization method, device and system
WO2011160587A1 (en) Method and system for connecting a dual-stack terminal to networks
CN102438015A (en) System and method for node access of internet of things
JP2003318905A (en) Integrated managing method for local area network switching device
EP2693691B1 (en) Method and apparatus for initializing gateway in device management system
CN102917082B (en) Penetrate information push method and the system of network address translation
US9413590B2 (en) Method for management of a secured transfer session through an address translation device, corresponding server and computer program
WO2013185696A2 (en) Data processing method and device
CN104581977B (en) WLAN user management method, apparatus and system
WO2013163847A1 (en) Single-pdp dual-stack serial dialing method and system
EP2810431B1 (en) Video calls for external networks
CN105049404A (en) Dynamic IP addressing method and system for home gateway equipment
CN105024833A (en) Communication method and system based on voice protocol, server, and client
CN103166771A (en) Method and system for managing gateway and under hanging device
CN101465783B (en) Connection method, device and connection network bridge for isomery household network appliances
WO2023010821A1 (en) Host discovery and addition method and apparatus in data center, and device and medium
WO2016180141A1 (en) Virtual machine state management method and device
WO2014008822A1 (en) Method, device and system for setting dns server address

Legal Events

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

Application publication date: 20151104