CN101651664A - Method, media gateway and system for reporting media recording length information - Google Patents

Method, media gateway and system for reporting media recording length information Download PDF

Info

Publication number
CN101651664A
CN101651664A CN200810142466A CN200810142466A CN101651664A CN 101651664 A CN101651664 A CN 101651664A CN 200810142466 A CN200810142466 A CN 200810142466A CN 200810142466 A CN200810142466 A CN 200810142466A CN 101651664 A CN101651664 A CN 101651664A
Authority
CN
China
Prior art keywords
media gateway
media
incident
recording
detects
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
CN200810142466A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200810142466A priority Critical patent/CN101651664A/en
Priority to PCT/CN2009/073271 priority patent/WO2010017780A1/en
Publication of CN101651664A publication Critical patent/CN101651664A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport

Abstract

The embodiment of the invention discloses a method, a media gateway and a system for reporting media recording length information. The method comprises the following steps that: the media gateway detects a media stream recording operation performed by the media gateway according to an event having a function of detecting the completion of recording; the media gateway detects the completion of therecording of the media stream; and the media gateway reports the event to a media gateway controller (MGC), wherein the reported event carries recording length parameters. In the embodiment of the invention, the MG transmits the length information of the recorded media to the MGC effectively through an extended protocol so that the MGC can perform subsequent treatment according to the media lengthinformation.

Description

Report method, media gateway and the system of media record length information
Technical field
The present invention relates to moving communicating field, relate in particular to the method that the media record length information of MGCP reports.
Background technology
Media Gateway Controller (MGC) and media gateway (MG) are two key members of the packet network under professional and the bearing separation structure.MGC is responsible for service control function, and MG is responsible for the media bearer function, realizes separating of professional control plane and media bearer plane by this, thus abundant shared network resource, simplified apparatus upgrading and professional expansion, reduction development and maintenance cost.
(medium) gateway control protocol is the main agreement of communicating by letter between MG and the MGC, H.248/MeGaCo at present widely used have (gateway control protocol) and two kinds of agreements of MGCP (MGCP), and H.248/MeGaCo be based on the MGCP development and.Wherein, MGCP version 1 is worked out and is revised in January, 2003 in October, 1999 by IETF, H.248/MeGaCo version 1 is revised in common formulation of in November, 2000 and in June, 2003 by ITU and IETF, H.248 version 2 is worked out and is revised in March, 2004 in May, 2002 by ITU, and H.248 version 3 is worked out and revised in May, 2008 in September, 2005 by ITU.
Under the control of MGC, MG can record the specific medium from miscellaneous equipment or user that receives.MGC is necessary to know the length information of the medium of having recorded, to satisfy further storage or charging processing demands.Yet under the MGC-MG separation architecture, also lack effective mechanism and realize how MGC knows the length information of the medium of having recorded at present.
Summary of the invention
Embodiments of the invention provide a kind of method that reports that realizes providing the media record length information by expansion (medium) gateway control protocol.
A kind of method that reports the media record length information, this method has comprised following steps: media gateway is recorded the incident of finishing function according to having to detect, and the Media Stream recording operation that described media gateway is carried out detects; Media gateway detects Media Stream and records and finish; Media gateway reports described incident to Media Gateway Controller, carries the recording length parameter in the wherein said incident that reports.
A kind of media gateway comprises: detecting unit is used for recording the Media Stream recording operation that the incident of finishing function carries out described media gateway and detecting according to having to detect; Report the unit, be used for recording when finishing, report described incident, carry the recording length parameter in the wherein said reported event to Media Gateway Controller when detecting unit detects Media Stream.
A kind of communication system comprises: media gateway, record the incident of finishing function according to having to detect, and the Media Stream recording operation that described MG is carried out detects; Record when finishing when detecting Media Stream, then report described incident, carry the recording length parameter in the wherein said reported event to Media Gateway Controller; Media Gateway Controller, the described incident of carrying the recording length parameter that the receiving media gateway reports.
As seen from the above technical solution, media gateway is according to having the incident of finishing function of recording that detects, the Media Stream recording operation that described media gateway is carried out detects, record and finish when media gateway detects Media Stream, media gateway reports described incident to Media Gateway Controller, carries the recording length parameter in the wherein said reported event.So MG detects the Media Stream recording operation that carries out, and the length information of the medium that will record by Extended Protocol report MGC, thereby MGC can carry out follow-up processing according to the length information of the medium of having recorded.
Description of drawings
Fig. 1 is MG and the MGC networking schematic diagram that the embodiment of the invention adopts;
Fig. 2 is the flow chart that reports the method embodiment one of media record length information of the present invention;
Fig. 3 is the flow chart that reports the method embodiment two of media record length information of the present invention;
Fig. 4 is the system configuration schematic diagram of the embodiment of the invention.
Embodiment
As shown in Figure 1, for the embodiment of the invention professional with bearing separation structure under the networking schematic diagram of media gateway controller MGC and media gateway MG.
(medium) gateway control protocol is the main agreement of communicating by letter between MG and the MGC, present widely used have H.248/MeGaCo (gateway control protocol) and two kinds of agreements of MGCP (MGCP).
To be example H.248, the various resources on the MG are terminal (Termination) by abstract representation.Terminal is divided into physics (Physical) terminal and interim (Ephemeral) terminal again, and the former represents some physical entities with semipermanent existence, TDM time slot etc. for example, the public resource that on behalf of some provisional application, the latter discharge with the back, for example rtp streaming etc.Represent MG integral body with the particular terminal that is called as root (Root) terminal in addition.Association between the terminal is context (Context) by abstract representation.Context can comprise a plurality of terminals, thereby describes the correlation of terminal room with topology (Topology).For also related terminal not taking place, be called as the contextual special context of sky (Null) by one and comprise with other terminal.
Based on above-mentioned abstract link model, mutual in fact just being presented as between business and the carrying towards the operation of Termination and Context.This operation is finished by request (Request) and the response (Reply) of the order between MGC and the MG (Command).Command type comprises increase (Add), revises (Modify), deletes (Subtract), moves (Move), audit value (AuditValue), auditability (AuditCapabilities), circular (Notify), service change (ServiceChange).Command parameter is also referred to as descriptor (Descriptor), is classified as attribute (Property), signal (Signal), incident (Event), statistics (Statistic) etc.For convenience according to professional correlation with parameter from being polymerized to bag (Package) in logic.
MGC can be at the stream on terminal or the terminal to the control of MG.Comprise the distinctive characteristic of non-stream on the terminal by SOT state of termination (TerminationState) descriptor, for example service state (ServiceState), incident buffering control (EventBufferControl) etc.Comprise the distinctive characteristic in terminal upper reaches by medium (Media) descriptor, it can comprise some streams (Stream) descriptor.Each flow descriptors comprises local terminal control (LocalControl), local terminal (Local) and far-end (Remote) descriptor again at single stream.Local terminal control descriptor is used to the control information that comprises that stream is relevant, for example pattern (Mode), reservation group (ReserveGroup) and reserved value (ReserveValue) etc.Local terminal and remote descriptors are respectively applied for the feature of the stream that comprises that local terminal and far-end receive, for example address and port, code decode algorithm etc., and it is concrete that what adopt is the description form of SDP.
As shown in Figure 2, be the method embodiment one that reports the media record length information of the present invention, comprise step:
Step 101, MG record the incident of finishing function according to the detection that has that sets in advance, and the Media Stream recording operation that described MG is carried out detects;
Step 102, MG detect Media Stream and record and finish;
Step 103, MG wherein carry the recording length parameter to the MGC reported event in the reported event.
Incident has simultaneously and issues and reporting functions, but issue with on the parameter of giving the correct time can be different, the incident that reports in the present embodiment issued promptly has the incident of finishing function of recording that detects.
As shown in Figure 3, be the method embodiment two that reports the media record length information of the present invention, comprise step:
Step 201, MGC signalling (Signal) indication MG down carry out recording of particular media stream, for example can be the Record signal.
Step 202, MG record described Media Stream according to described signal.
Step 203, MGC issue incident (Event) indication MG and detect finishing that this Media Stream records, and for example can be the RecordCompletion incident.Wherein, step 203 also can be carried out simultaneously with step 201, and described in addition incident also can set in advance on MG.
Step 204, MG detect the Media Stream recording operation that carries out according to described incident.
Step 205, MG detect Media Stream and record and finish.Wherein recording the reason of finishing can be:
A) MG is in predefined time value, do not detect Media Stream or do not detect subsequent media stream not detect Media Stream.Can be that beginning does not just detect Media Stream, from just not speech of recording beginning, perhaps record after one section, not detect follow-up Media Stream, not retell after having said one section word as the user as: user.
B) MG receives the information that termination is recorded: for example subscriber phone on-hook, perhaps user key-press is imported the DTMF sign indicating number of termination etc.
C) the Media Stream length recorded of MG reaches predefined value.
Step 206, MG wherein carry the length that the parametric representation Media Stream has been recorded to the MGC reported event in the incident.Can be with this parameter called after recording length (Record Length is designated rl), recording length is just to calculate last giving the correct time, perhaps record in recording process.This parameter is integer (Integer) type, and unit is byte (Bytes) or bit (Bits) or integral multiple millisecond (for example 10 milliseconds).Suppose with the byte to be unit, according to the different reasons of finishing, entrained parameter difference, for example:
If a) no longer detect the sound obtain the user after recording these medium 500 bytes in the regular hour threshold value, MG will finish and record and report this incident to MGC, comprise this parameter rl=500 in reporting.
B) if receive suddenly the signal of subscriber phone on-hook after recording these medium 300 bytes, MG will finish and record and report this incident to MGC, comprise this parameter rl=300 in reporting.
C) if the user is still continuing message after recording these medium to reach maximum storage capacity 800 bytes, MG will finish and record and report this incident to MGC, comprise this parameter rl=800 in reporting.
Step 207, MGC receive the incident that MG reports, and the parameter of the length of having recorded according to the presentation medium of carrying in incident stream is further processed, for example storage or charging etc.
As shown in Figure 4, the system configuration schematic diagram for the embodiment of the invention comprises: media gateway 31 and Media Gateway Controller 32.Wherein, media gateway further comprises: preset unit 311, and detecting unit 312 reports unit 313,
Detecting unit 312, be used for recording the Media Stream recording operation that the incident of finishing function carries out described media gateway and detecting according to having to detect, wherein said have to detect record the incident of finishing function and be setting on preset unit 311 in advance, perhaps be handed down to the receiving element (figure does not show, can substitute preset unit 311) of media gateway 31 by Media Gateway Controller 32.
Report unit 313, be used for recording when finishing, report described incident, carry the recording length parameter in the wherein said reported event to Media Gateway Controller 32 when detecting unit 312 detects Media Stream.
Wherein further:
Detecting unit 312 in predefined time value, does not detect Media Stream, then reports unit 313 to report described incident of carrying the recording length parameter to Media Gateway Controller 32;
Perhaps detecting unit 312, detect the information that termination is recorded, and then report unit 313 to report described incident of carrying the recording length parameter to Media Gateway Controller 32;
Perhaps detecting unit 312, detect the media length of having recorded and reach predefined value, then report unit 313 to report described incident of carrying the recording length parameter to Media Gateway Controller 32.
By the foregoing description as can be known MG the Media Stream recording operation that carries out is detected, and the length information of the medium that will record by Extended Protocol report MGC, thereby MGC can carry out follow-up processing according to the length information of the medium of having recorded.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk as computer, hard disk or CD etc., comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of method that reports the media record length information is characterized in that, this method has comprised following steps:
Media gateway is recorded the incident of finishing function according to having to detect, and the Media Stream recording operation that described media gateway is carried out detects;
Media gateway detects Media Stream and records and finish;
Media gateway reports described incident to Media Gateway Controller, carries the recording length parameter in the wherein said incident that reports.
2, the method for claim 1 is characterized in that, described media gateway detects media record and finishes and be specially:
Media gateway does not detect Media Stream in predefined time value;
Perhaps media gateway is received the information that termination is recorded;
Perhaps the media length recorded of media gateway reaches predefined value.
3, the method for claim 1 is characterized in that, described have to detect record the incident of finishing function and on media gateway, preset, perhaps be handed down to media gateway by Media Gateway Controller.
4, the method for claim 1 is characterized in that, the recording length parameter is an integer type, and unit is byte or bit or integral multiple millisecond.
5, a kind of media gateway is characterized in that, comprising:
Detecting unit is used for recording the Media Stream recording operation that the incident of finishing function carries out described media gateway and detecting according to having to detect;
Report the unit, be used for recording when finishing, report described incident, carry the recording length parameter in the wherein said reported event to Media Gateway Controller when detecting unit detects Media Stream.
6, the media gateway shown in claim 5 is characterized in that,
Detecting unit in predefined time value, does not detect Media Stream, then reports the unit to report described incident of carrying the recording length parameter to Media Gateway Controller;
Perhaps detecting unit detects the information that termination is recorded, and then reports the unit to report described incident of carrying the recording length parameter to Media Gateway Controller;
Perhaps detecting unit detects the media length of having recorded and reaches predefined value, then reports the unit to report described incident of carrying the recording length parameter to Media Gateway Controller.
7, method as claimed in claim 5 is characterized in that, described media gateway further comprises,
Preset unit is used to preset and has the incident of finishing function of recording that detects.
8, method as claimed in claim 5 is characterized in that, described media gateway further comprises,
Receiving element, what be used for that the receiving media gateway controller issues describedly has an incident of finishing function of recording that detects.
9, a kind of communication system is characterized in that, comprising:
Media gateway is recorded the incident of finishing function according to having to detect, and the Media Stream recording operation that described MG is carried out detects; Record when finishing when detecting Media Stream, then report described incident, carry the recording length parameter in the wherein said reported event to Media Gateway Controller.
Media Gateway Controller, the described incident of carrying the recording length parameter that the receiving media gateway reports.
10, system as claimed in claim 9 is characterized in that, described have to detect record the incident of finishing function and on media gateway, preset, perhaps be handed down to media gateway by Media Gateway Controller.
CN200810142466A 2008-08-14 2008-08-14 Method, media gateway and system for reporting media recording length information Pending CN101651664A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200810142466A CN101651664A (en) 2008-08-14 2008-08-14 Method, media gateway and system for reporting media recording length information
PCT/CN2009/073271 WO2010017780A1 (en) 2008-08-14 2009-08-14 Method, media gateway and system for reporting media recording length information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810142466A CN101651664A (en) 2008-08-14 2008-08-14 Method, media gateway and system for reporting media recording length information

Publications (1)

Publication Number Publication Date
CN101651664A true CN101651664A (en) 2010-02-17

Family

ID=41668715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810142466A Pending CN101651664A (en) 2008-08-14 2008-08-14 Method, media gateway and system for reporting media recording length information

Country Status (2)

Country Link
CN (1) CN101651664A (en)
WO (1) WO2010017780A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015165269A1 (en) * 2014-04-28 2015-11-05 华为技术有限公司 Media recording method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100342693C (en) * 2005-04-15 2007-10-10 华为技术有限公司 Method of medium gateway monitoring and uploading event
CN100440890C (en) * 2005-12-26 2008-12-03 华为技术有限公司 Method for statistical parameter values of terminal reported from media gateway
CN101212308A (en) * 2006-12-30 2008-07-02 华为技术有限公司 Statistical report method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015165269A1 (en) * 2014-04-28 2015-11-05 华为技术有限公司 Media recording method, device and system

Also Published As

Publication number Publication date
WO2010017780A1 (en) 2010-02-18

Similar Documents

Publication Publication Date Title
CN101156398B (en) Method and system for switching terminal state of media gateway
CN100471328C (en) Call tracking method, system and device
CN101651759B (en) Method, system and equipment for controlling media player
CN100563247C (en) A kind of method for reporting information based on the gateway resource group
CN101567876B (en) Method, media gateway and system for reporting session status
CN101651664A (en) Method, media gateway and system for reporting media recording length information
CN100556021C (en) Next generation network media gate is called out the method that whole process is followed the tracks of
CN101552746B (en) Method and device for controlling publication and application of package
CN101325564B (en) Method, apparatus and system for selecting virtual medium gateway
CN101594554A (en) Called service servers, multi-service access node device and calling and called control implementation method
CN101552700B (en) Report control method and device for matching result
CN101483753A (en) Implementation method and device for recoding service
CN100401730C (en) Method for realizing user's self difined recording by media gate control protocol
CN100514920C (en) Next-generation network system and service quality failure positioning method in next-generation network
CN101552713B (en) Method and device for transferring package base and extending relationship
CN101873238B (en) Method for realizing association of calling control protocol and media control protocol
CN101459631A (en) Virtual media gateway selection method, apparatus and system
CN101552846B (en) Method and device for processing dialing information in media stream
CN100450210C (en) R4 network system and method for provoding medium resource
CN101651638B (en) Method, device and system for reporting media playing information
CN101651663A (en) Method, system, media gateway and controller thereof for controlling signal gain
CN101471902A (en) Method and equipment for implementing signal suspension
CN101471870B (en) Method and device for obtaining resource expiration information
CN101552767B (en) Method, device and system for processing signal tone in media stream
KR20040057146A (en) Megaco Protocol Management Method using Network Adapter

Legal Events

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

Application publication date: 20100217