WO2015006928A1 - Method, device and system for establishing service data flow - Google Patents

Method, device and system for establishing service data flow Download PDF

Info

Publication number
WO2015006928A1
WO2015006928A1 PCT/CN2013/079479 CN2013079479W WO2015006928A1 WO 2015006928 A1 WO2015006928 A1 WO 2015006928A1 CN 2013079479 W CN2013079479 W CN 2013079479W WO 2015006928 A1 WO2015006928 A1 WO 2015006928A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
message
data flow
cmts
establishment
Prior art date
Application number
PCT/CN2013/079479
Other languages
French (fr)
Chinese (zh)
Inventor
李勇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2013/079479 priority Critical patent/WO2015006928A1/en
Publication of WO2015006928A1 publication Critical patent/WO2015006928A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6168Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving cable transmission, e.g. using a cable modem
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2801Broadband local area networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6118Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving cable transmission, e.g. using a cable modem

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, device, and system for establishing a service data stream.
  • PacketCable is a standard specification for multimedia services such as voice and video over cable television networks, which was developed in 1997. It uses Internet Protocol IP to provide a wide range of multimedia services such as IP telephony, multimedia conferencing, interactive gaming, and Multimedia application.
  • the network mainly includes the client, CM (Cable Modem), CMTS (Cable Modem Termination System), and Policy Server.
  • the application server where the client sends the service request message of the user to the application server, and the application server sends an indication message to the policy server according to the service request message, and the policy server sends a door control message to the CMTS according to the indication message (Gate-Set
  • the CMTS negotiates with the CM to establish a service data flow, and carries the data transmission through the service data flow.
  • the foregoing HFC network may not include a policy server. Therefore, when the HFC network does not include a policy server, the process of establishing a service data flow by using the policy server may not be implemented.
  • Embodiments of the present invention provide a method, device, and system for establishing a service data flow for implementing establishment of a service data flow in the absence of a policy server.
  • a method for establishing a service data flow including:
  • the cable modem management device CMTS obtains the service establishment sent by the application server a message, where the service establishment message is a message sent by the application server to a client;
  • the establishing the service data flow according to the service establishment message and the CM includes:
  • the method before the CMTS obtains a service setup message sent by the application server, the method further includes:
  • the establishing comprises: completing the establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
  • the establishing the service data flow according to the requester interface information and the responder interface information and the CM includes:
  • a service addition request message to the CM, where the service addition request message includes the requester interface information and the responder interface information, so that the CM establishes an uplink service according to the requester interface information and the responder interface information.
  • a data flow where the uplink service data flow is used to carry the transmission data of the CM to the CMT S; and receive a service addition request response message sent by the CM;
  • the information and responder interface information establishes a downlink service data flow and sends a service addition complete message to the CM. And completing the establishment of the service data flow; where the downlink service data flow is used to carry the transmission data of the CMTS to the CM; the service data flow includes the uplink service data flow and the downlink service data flow.
  • the method further includes:
  • the method further includes:
  • the method further includes:
  • the deleting the service data flow according to the service disconnect message and the CM includes:
  • the method further includes: Sending a service release message to the record keeping server, so that the record keeping server releases the service policy according to the service release message.
  • the method further includes:
  • the service disconnection message is sent to the application server.
  • a cable modem management device CMTS including: an obtaining unit, configured to acquire a service establishment message sent by an application server, where the service establishment message is a message sent by the application server to a client;
  • a processing unit configured to complete establishment of a service data flow with the cable modem CM according to the service establishment message, where the service data flow is used to carry transmission data between the CMTS and the CM.
  • the processing unit is specifically configured to: obtain, according to the service establishment message, a requestor interface information, and a responder interface information; according to the requester interface information and the responder The interface information and the CM complete the establishment of the service data flow.
  • the acquiring unit is further configured to: before the CMTS acquires a service setup message sent by the application server, obtain a service request setup message sent by the client, where the service is The request establishment message includes requester interface information and called party identification information;
  • the CMTS further includes: a first sending unit, configured to send the service request establishment message to the application server, so that the application server obtains corresponding called party interface information according to the called party identification information;
  • the processing unit is specifically configured to complete establishment of a service data flow with the CM according to the requestor interface information and the responder interface information.
  • the CMTS further includes: a second sending unit, configured to send a service addition request message to the CM,
  • the service addition request message includes Determining the interface information and the responder interface information, so that the CM establishes an uplink service data flow according to the requester interface information and the responder interface information, where the uplink service data flow is used to carry the CM to the CMTS Transmission data;
  • the obtaining unit is specifically configured to: receive a service add request response message sent by the CM;
  • the processing unit is configured to: after receiving the service addition request response message, establish a downlink service data flow according to the requester interface information and the responder interface information, where the downlink service data flow is used to carry the Transmission data from the CMTS to the CM;
  • the second sending unit is further configured to send a service addition complete message to the CM to complete establishment of a service data flow, where the service data flow includes the uplink service data flow and the downlink service data flow.
  • the second sending unit is further configured to: after sending a service addition complete message to the CM, send a service control message to the record keeping server, So that the record keeping server establishes a corresponding service policy according to the service control message;
  • the obtaining unit is further configured to receive a service control response message sent by the record keeping server according to the service control message.
  • the second sending unit is further configured to: after receiving the service control response message sent by the record keeping server according to the service control message Sending the service establishment message to the client.
  • the acquiring unit is further configured to: obtain a service disconnection message sent by the client;
  • the processing unit is further configured to complete deletion of the service data flow according to the service disconnect message and the CM.
  • the processing unit is specifically configured to: send a service deletion request message to the CM, so as to Deleting the uplink service data flow according to the service deletion request message; receiving a service deletion request response message sent by the CM, and deleting the downlink service data flow according to the service deletion request response message, to complete the The deletion of business data streams.
  • the second sending unit is further configured to complete the message according to the service disconnection and the CM. After the deletion of the service data stream, the service release message is sent to the record keeping server, so that the record keeping server releases the service policy according to the service release message.
  • the second sending unit is further configured to: when the record keeping server releases the service policy according to the service release message, and receive the record After the service release response message sent by the server is maintained, the service disconnection message is sent to the application server.
  • the third aspect provides a system for establishing a service data flow, including a cable modem management device CMTS, a cable modem CM, an application server, and a record keeping server, and a client corresponding to the CM, where
  • the application server is configured to send a service establishment message to the client, where the service establishment message is a message sent by the application server to the client, and is further configured to receive a service disconnection message sent by the CMT S;
  • the CMTS includes the CMTS of any one of claims 1 to 20;
  • the CM is configured to complete establishment and deletion of a service data flow with the CMTS;
  • the record keeping server is configured to receive a service control message sent by the CMTS, and establish a corresponding service policy according to the service control message, And sending a service control response message to the CMT S, and configured to receive a service release message sent by the CMTS, and release the service policy according to the service release message;
  • the client is configured to receive the service setup message sent by the CMT S, and is further configured to send a service disconnect message to the CMT S.
  • the CMTS acquires a service setup message sent by the application server, and completes establishment of a service data flow according to the service setup message and the cable modem CM, where the service data flow is used to carry the transmission data between the CMTS and the CM. .
  • the service establishment message sent by the application server is obtained through the CMTS, thereby realizing the establishment of the service data flow in the absence of the policy server, and because the cost of the policy server is high, the invention further reduces the establishment of the service data.
  • the implementation cost of the stream is the implementation cost of the stream.
  • FIG. 1 is a schematic diagram of a method for establishing a service data flow according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for establishing a service data flow according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a CMTS according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another CMTS according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of another CMTS according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of another CMTS according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a system for establishing a service data flow according to an embodiment of the present invention.
  • the embodiment of the present invention provides a method for establishing a service data flow.
  • the execution entity of the method embodiment is a CMTS, and the method includes:
  • the CMT S acquires a service setup message sent by the application server.
  • the service establishment message is a message sent by the application server to the client.
  • the application server sends a service establishment message to the client, and the CMTS listens to the service establishment message between the application server and the client, and obtains the service establishment message after listening to the service establishment message.
  • the CMTS completes the establishment of the service data flow according to the service establishment message and the CM.
  • the service data stream is used to carry transmission data between the CMTS and the CM.
  • the CMTS obtains the requester interface information (such as the requester's IP address and UDP port parameter information) and the responder interface information (such as the responder's IP address and UDP port parameter information) according to the service setup message, and Establishing a service data flow with the CM according to the requestor interface information and the responder interface information.
  • the client (the client may be a requesting client) sends a service establishment request message to the application server, where the service establishment request message includes response party identification information (such as the number of the responder) and requester interface information.
  • the application server obtains the responder interface information by using the responder identification information, and sends a service establishment message to the CMTS, where the service setup message includes the requestor interface information and the responder interface information, and the CMTS according to the requestor interface information and the response
  • the party interface information completes the establishment of the service data flow with the CM (the CM may be the CM corresponding to the requesting client).
  • the CMT S acquires a service request setup message sent by the client, where the service request setup message includes the requestor interface information and the responder identifier information;
  • the service request setup message is sent to the application server, so that the application server obtains corresponding responder interface information according to the responder identification information, and completes establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
  • the foregoing CMTS may be configured to send a service add request message to the CM according to the requestor interface information and the responder interface information, and the CMT S sends a service add request message to the CM, where
  • the service addition request message includes the requestor interface information and the responder interface information, so that the CM establishes an uplink service data flow according to the requestor interface information and the responder interface information, and receives a service addition request response message sent by the CM, where After receiving the service add request response message, And establishing a downlink service data flow according to the requestor interface information and the responder interface information, and sending a service addition complete message to the CM, to complete establishment of the service data flow.
  • the service data stream includes the uplink service data stream and the downlink service data stream, where the uplink service data stream is used to carry the transmission data of the CM to the CMTS, where the lower service data stream is used to carry the transmission data of the CMTS to the CM.
  • the CMTS listens to the corresponding service message
  • the user under the telecommunication operator opens the VOIP service or the IPTV (IP Television) service
  • the different services are opened differently.
  • Service policy then you need to configure different listening rules. For example, for VOIP service, you only need to listen to CRCX (Create Connection), MDCX (Modify Connection), DLCX (Delete Connection), DLCX (Delete Connection). Message) These messages.
  • IGMP Internet Group Management Protocol
  • packets such as IGMP add messages, IGMP query messages, and IGMP delete messages
  • the corresponding service type can be known.
  • the CMTS After transmitting the service addition complete message to the CM, the CMTS sends a service control message to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message.
  • the CMTS receives the service control response message sent by the record keeping server according to the service control message.
  • the service policy may be a charging service or a call record saving service.
  • the requesting party may be the calling party, and the responding party may be the called party.
  • the responding party picks up the phone and initiates a call to the responding party (for example, dialing the number of the responding party)
  • the requesting party client The terminal sends a service request setup message to the application server, and the CMTS obtains the service request setup message by intercepting, and obtains the service initiated by the requester as a VOIP service by using the service request setup message, and obtains the IP address and UDP port of the requester.
  • the CMTS sends the service request setup message to the application server, and the application server establishes a message according to the service request to obtain the identifier information of the responder (such as the number of the responder), and obtains the IP of the responder through the identifier information.
  • the parameter information such as the address and the UDP port is sent to the requesting client and the responding client, and the responding client starts to ring after receiving the service establishing message; the CMT S listens to the application server.
  • the service establishment message with the requesting client obtains the service establishment message, and obtains parameter information such as the IP address and the UDP port of the called party according to the service establishment message, and the CMTS sends a service addition request message to the CM, where the service
  • the add request message includes parameter information such as the IP address and UDP port of the requester, and parameter information such as the IP address and UDP port of the responder.
  • the CM uses the parameter information such as the IP address and UDP port of the responder and the IP address of the requester and UDP.
  • the parameter information such as the port establishes an uplink service data flow, and sends a service addition request response message to the CMTS.
  • the CMTS After receiving the service addition request response message, the CMTS receives the parameter information such as the IP address and UDP port of the responder and the IP address of the requesting party. And parameter information such as UDP port to establish a downlink service data flow, and send a service add to the CM In the message, the service data flow is established.
  • the application server sends the service establishment message to the requesting client, if the CMTS corresponding to the responder and the requester is the same CMT S, the application server is in the response client.
  • the responder client After the service sends the service establishment message, the responder client also establishes the service data flow according to the process of establishing the service data flow by the requesting party, and details are not described herein.
  • the CMTS sends a service control message (such as a billing service and a call record saving service) to the record keeping server, and the record keeping server sends a service control response message to the CMTS after receiving the service start message.
  • a service control message such as
  • the foregoing establishment of the service data flow may be: after receiving the service establishment message sent by the application server, the CMTS obtains the identifier information of the responder (such as the number of the responder, etc.) according to the service establishment message, and passes the identification information.
  • the CMTS obtains the identifier information of the responder (such as the number of the responder, etc.) according to the service establishment message, and passes the identification information.
  • the responder Parameter information such as an IP address and a UDP port
  • parameter information such as an IP address and a UDP port of the requesting party
  • the parameter information such as the IP address and the UDP port of the party and the parameter information such as the IP address and the UDP port of the requesting party establish a downlink service data flow, and the downlink service data flow
  • a service addition response message is sent to the CM.
  • the CM obtains the parameter information such as the IP address and UDP port of the responder and the parameter information such as the IP address and UDP port of the requester.
  • the uplink service data flow is established to complete the establishment of the service data flow, and the CMTS sends a service control message to the record keeping server, so that the record keeping server establishes a corresponding service such as charging and call record storage according to the service control message.
  • the call After the responder goes off-hook, the call is turned on, the responding client sends a close message to the application server, and the application server sends the connect message to the CMTS, and the CMTS learns that the responder has been notified according to the connect message.
  • a service start message is sent to the record keeping server, so that the record keeping server starts to perform services such as billing and call record saving, and the record keeping server sends a service start response message to the CMTS after receiving the service start message.
  • the above is only an example of the VOIP service, and is not limited.
  • the CMTS After receiving the service control response message sent by the record keeping server according to the service control message, the CMTS sends the service establishment message to the client.
  • the CMTS sends the service establishment message that is intercepted and acquired to the client. It should be noted that, if the CMTS corresponding to the requesting party and the responding party are the same CMTS, the CMTS separately sends the service establishment message sent by the intercepted and acquired application server to the requesting client and the responding client to the requesting party and the response. square.
  • the CMTS obtains a service disconnection message sent by the client, and completes the deletion of the service data flow according to the service disconnect message and the CM.
  • the CMTS sends a service deletion request message to the CM, so that the CM deletes the uplink service data flow according to the service deletion request message, and the CMTS receives the service deletion request response message sent by the CM, and deletes the service deletion request response message according to the service deletion request message.
  • the downlink service data stream is used to complete the deletion of the service data stream.
  • the requesting party may be a calling party, and the responding party may be a called party.
  • the requesting client sends a service disconnection message to the application server, and the CMTS listens and acquires After the service disconnects the message, the service deletion request message is sent to the CM, so that the CM deletes the uplink service data flow, and the CM deletes the After the uplink service data flow, the service deletion request response message is sent to the CMTS, and the CMTS deletes the downlink service data flow according to the service deletion request response message to complete the deletion of the service data flow.
  • the responding client sends a service disconnection message to the application server, and after the CMTS monitors and acquires the service disconnection message, the CMTS sends a disconnection indication message to the CM corresponding to the responding party, and the responder
  • the corresponding CM sends a service deletion request message to the CMTS, so that the CMT S deletes the downlink service data flow, and after deleting the downlink service data flow, the CMTS sends a service deletion request to the CM corresponding to the responding party.
  • Responding to the message so that the CM corresponding to the responding party deletes the uplink service data stream to complete the deletion of the service data stream.
  • the CMTS sends a service release message to the record keeping server, so that the record keeping server releases the service policy according to the service release message.
  • the record keeping server receives the service release message, and stops the monthly service corresponding to the service between the requester and the responder (such as the billing service and the call record saving service).
  • the CMTS sends the service disconnection message to the application server after the record keeping server releases the service policy according to the service release message and receives the service release response message sent by the record keeping server.
  • An embodiment of the present invention provides a method for establishing a service data flow.
  • the embodiment of the present invention uses a VO IP service as an example.
  • the requesting party is the calling party
  • the corresponding client is the calling client.
  • the CM corresponding to the calling client is the calling CM
  • the responding party is the called party
  • the corresponding client is the called client
  • the CM corresponding to the called client is the called CM (not shown), including :
  • the CMTS listens and acquires a service request establishment message between the calling client and the application server. Specifically, after the calling party initiates the call, the calling client sends a service request setup message to the application server, and the CMTS listens for and acquires the service request setup message.
  • the CMTS establishes a message according to the service request to obtain parameter information such as an IP address and a UDP port of the calling party, and sends the service request establishment message to the application server.
  • the CMTS determines, according to the service request establishment message, that the corresponding service is a VOIP service initiated by the calling party, and obtains parameter information such as an IP address and a UDP port of the calling party.
  • the CMTS listens to the corresponding service message
  • the user under the telecommunication operator opens the VOIP service or the IPTV (IP Television) service
  • the different services are opened differently.
  • Service policy then you need to configure different listening rules. For example, for VOIP services, you only need to listen to CRCX, MDCX, and DLCX in the service message.
  • IGMP messages such as IGMP add messages, IGMP query messages, and IGMP delete messages. When these messages are detected, the corresponding service type can be known.
  • the application server establishes a message according to the service request to obtain parameter information such as an IP address and a UDP port of the called party, and sends a service establishment message to the calling client and the called client.
  • the service request setup message includes response party identification information (such as the number of the called party), and the application server obtains parameter information such as an IP address and a UDP port of the called party according to the response party identification information.
  • response party identification information such as the number of the called party
  • parameter information such as an IP address and a UDP port of the called party according to the response party identification information.
  • the called client After receiving the service setup message, the called client causes the called party to start ringing.
  • the CMTS obtains the service setup message, and obtains parameter information such as an IP address and a UDP port of the called party according to the service setup message, and sends a service addition request message to the calling CM.
  • the service addition request message includes parameter information such as an IP address and a UDP port of the calling party, and parameter information such as an IP address and a UDP port of the called party.
  • the CMTS monitors the service between the application server and the calling client.
  • the message is established, and after the service establishment message is monitored, the service establishment message is obtained.
  • the calling CM establishes an uplink service data flow according to parameter information such as an IP address and a UDP port of the calling party, and parameter information such as an IP address and a UDP port of the called party.
  • the uplink service data stream is used to carry the transmission data of the calling CM to the CMTS.
  • the calling CM sends a service addition request response message to the CMTS.
  • the CMTS After receiving the service addition request response message, the CMTS establishes a downlink service data flow according to the parameter information such as the IP address and the UDP port of the calling party, and the parameter information such as the IP address and the UDP port of the called party, thereby completing the service data.
  • the establishment of the flow After receiving the service addition request response message, the CMTS establishes a downlink service data flow according to the parameter information such as the IP address and the UDP port of the calling party, and the parameter information such as the IP address and the UDP port of the called party, thereby completing the service data. The establishment of the flow.
  • the downlink service data stream is used to carry transmission data of the CMTS to the calling CM, where the service data stream includes an uplink service data stream and a downlink service data stream.
  • the CMTS sends a service addition complete message to the calling CM to notify the calling CM that the service data flow has been established.
  • the application server also sends a service establishment message to the called party client, and the called party client also follows the above steps S204 to the step.
  • the process of S208 establishes a service data flow, except that the establishment of the called party service data flow is completed by the CMTS and the called CM. It will not be described here.
  • the CMTS sends a service control message to the record keeping server.
  • the service control message may be a charging service and a call record saving service.
  • the CMTS receives the service control response message sent by the record keeping server.
  • S21K After the called party picks up the phone, the called client sends an open message to the application server.
  • the application server sends the connect message to the CMTS.
  • the CMTS learns that the responder has gone off-hook according to the connection message, and sends a service start message to the record keeping server, so that the record keeping server starts to perform services such as charging and call record saving.
  • the record keeping server After receiving the service start message, the record keeping server sends a service start response message to the CMTS.
  • the CMTS After receiving the service start response message, the CMTS will build the acquired service. A message is sent to the calling client.
  • the calling party can conduct a session with the called party through the service data flow established above, and when the calling party ends the session with the called party (ie, the calling party hangs up), then steps S216 to S220 are performed.
  • the CMTS obtains a service disconnect message sent by the calling client.
  • the calling client sends a service disconnection message to the application server, and the CMTS intercepts the service disconnection message between the calling client and the application server, and listens to the service disconnection message. After that, get the business disconnect message.
  • the CMTS sends a service deletion request message to the calling CM.
  • the calling CM deletes the uplink service data flow according to the service deletion request message, and sends a service deletion request response message to the CMTS.
  • the CMTS deletes the downlink service data flow according to the service deletion request response message, to complete deletion of the service data flow.
  • the called client when the called party ends the session with the calling party (that is, the called party hangs up), the called client sends a service to the application server.
  • the CMTS sends a disconnection indication message to the called CM after receiving the service disconnection message, and after receiving the disconnection indication message, the called CM sends a service deletion request message to the CMTS, so that the The CMTS deletes the downlink service data stream, and after deleting the downlink service data stream, the CMTS sends a service deletion request response message to the called CM, so that the called CM deletes the uplink service data stream to complete the deletion of the service data stream.
  • the CMTS sends a service release message to the record keeping server.
  • the S22K record keeping server sends a service release response message to the CMTS to stop the services between the calling party and the called party (such as the charging service and the call record saving service).
  • the CMTS sends the obtained service disconnection message to the application server, thereby ending the VOIP service between the calling party and the called party.
  • the obtaining unit 31 is configured to obtain a service establishment message sent by the application server.
  • the service establishment message is a message sent by the application server to the client.
  • the application server sends a service establishment message to the client, and the CMTS monitors the service establishment message between the application server and the client, and obtains the service establishment message after listening to the service establishment message.
  • the processing unit 32 is configured to complete the establishment of the service data flow according to the service setup message and the cable modem CM.
  • the service data stream is used to carry transmission data between the CMTS and the CM, where the service data stream includes the uplink service data stream and the downlink service data stream, where the uplink service data stream is used to carry the transmission of the CM to the CMTS. Data; the downlink service data stream is used to carry transmission data of the CMTS to the CM.
  • the processing unit is configured to obtain requester interface information and responder interface information according to the service establishment message, and complete establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
  • the client (the client may be a requesting client) sends a service establishment request message to the application server, where the service establishment request message includes response party identification information (such as the number of the responder) and requester interface information.
  • the application server obtains the responder interface information by using the responder identification information, and sends a service establishment message to the CMTS, where the service setup message includes the requestor interface information and the responder interface information, and the CMTS according to the requestor interface information and the response
  • the party interface information completes the establishment of the service data flow with the CM (the CM may be the CM corresponding to the requesting client).
  • the acquiring unit 31 is further configured to: before the CMTS acquires the service establishment message sent by the application server, obtain a service request setup message sent by the client.
  • the service request setup message includes requester interface information and called party identification information.
  • the CMTS 30 further includes: a first sending unit 33, configured to send the service request setup message to the application server, so that the application server obtains corresponding called party interface information according to the called party identification information.
  • the processing unit is specifically configured to complete the establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
  • the CMTS 30 further includes: a second sending unit 34, configured to send a service add request message to the CM, where the service add request message includes the requester interface information and the responder interface information, So that the CM establishes an uplink service data flow according to the requestor interface information and the responder interface information.
  • a second sending unit 34 configured to send a service add request message to the CM, where the service add request message includes the requester interface information and the responder interface information, So that the CM establishes an uplink service data flow according to the requestor interface information and the responder interface information.
  • the obtaining unit 31 is specifically configured to receive a service addition request response message sent by the CM.
  • the processing unit 32 is specifically configured to: after receiving the service addition request response message, establish a downlink service data flow according to the requestor interface information and the responder interface information.
  • the second sending unit 34 is further configured to send a service addition complete message to the CM to complete establishment of the service data flow.
  • the CMTS listens to the corresponding service message
  • the user under the telecommunication operator opens the VOIP service or the IPTV (IP Television) service
  • the different services are opened differently.
  • Service policy then you need to configure different listening rules. For example, for VOIP services, you only need to listen to CRCX, MDCX, and DLCX in the service message.
  • IGMP messages such as IGMP add messages, IGMP query messages, and IGMP delete messages. When these messages are detected, the corresponding service type can be known.
  • the second sending unit 34 is further configured to: add a service to the CM. After the message is completed, a service control message is sent to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message.
  • the obtaining unit 31 is further configured to receive a service control response message sent by the record keeping server according to the service control message.
  • the service policy may be a charging service or a call record saving service.
  • the requesting party may be the calling party, and the responding party may be the called party.
  • the responding party picks up the phone and initiates a call to the responding party (for example, dialing the number of the responding party)
  • the requesting party client The terminal sends a service request setup message to the application server, and the CMT S obtains the service request setup message by listening, and learns, by using the service request setup message, that the service initiated by the requester is a VO IP service, and obtains the IP address and UDP of the requester.
  • the parameter information such as the port is sent by the CMTS to the application server, and the application server establishes a message according to the service request to obtain identification information of the responder (such as the number of the responder), and obtains the response party by using the identifier information.
  • the parameter information such as the IP address and the UDP port is sent to the requesting client and the responding client, and the responding client starts to ring after receiving the service establishment message; the CMT S monitors the application.
  • the service establishment message between the server and the requesting client obtains the service establishment message And obtaining the parameter information such as the IP address and the UDP port of the called party according to the service establishment message, and the CMTS sends a service addition request message to the CM, where the service addition request message includes parameter information and response such as the IP address and UDP port of the requesting party.
  • the parameter information such as the IP address and UDP port of the party
  • the CM establishes an uplink service data flow according to the parameter information such as the IP address and UDP port of the responder, the IP address of the requester, and the parameter information such as the UDP port, and sends a service addition request to the CMTS.
  • the CMTS After receiving the service addition request response message, the CMTS establishes a downlink service data flow according to the parameter information such as the IP address and the UDP port of the responder, the IP address of the requester, and the parameter information such as the UDP port, and sends the service to the CM.
  • the completion message is added to complete the establishment of the service data flow.
  • the application server sends the service establishment message to the requesting client, if the CMTS corresponding to the responder and the requester is the same CMT S, the application server also responds.
  • the party client sends a service setup message, and the responder client also follows the above request. Process to establish business data stream traffic data The establishment of the flow is not repeated here.
  • the CMTS sends a service control message (such as a billing service and a call record saving service) to the record keeping server, and the record keeping server sends a service control response message to the CMTS after receiving the service start message.
  • a service control message such as a billing service
  • the foregoing establishment of the service data flow may be: after receiving the service establishment message sent by the application server, the CMTS obtains the identifier information of the responder (such as the number of the responder, etc.) according to the service establishment message, and passes the identification information.
  • the CMTS obtains the identifier information of the responder (such as the number of the responder, etc.) according to the service establishment message, and passes the identification information.
  • the responder Parameter information such as an IP address and a UDP port
  • parameter information such as an IP address and a UDP port of the requesting party
  • the parameter information such as the IP address and the UDP port of the party and the parameter information such as the IP address and the UDP port of the requesting party establish a downlink service data flow, and after the downlink service data flow is established, send a service addition response message to the CM, where the CM is After receiving the service add response message, according to the obtained ringing
  • the parameter data such as the IP address and the UDP port of the respondent and the parameter information such as the IP address and the UDP port of the requesting party establish an uplink service data flow, thereby completing the establishment of the service data flow, and the CMTS sends a service control message to the record keeping server for the record.
  • the server is maintained to establish a corresponding service such as charging and call record storage according to the service control message.
  • the responder client After the responder goes off-hook, the call is turned on, the responder client sends a connect message to the application server, and the application server sends the connect message to the CMTS, and the CMTS learns that the responder has been notified according to the connect message.
  • a service start message is sent to the record keeping server, so that the record keeping server starts to perform services such as billing and call record saving, and the record keeping server sends a service start response message to the CMTS after receiving the service start message.
  • the above is only an example of the VO I P service, and is not limited.
  • the second sending unit 34 is further configured to: after receiving the service control response message sent by the record keeping server according to the service control message, send the service establishment message to the client.
  • the CMTS sends the service establishment message that is intercepted and acquired to the client. It should be noted that, if the CMTS corresponding to the requesting party and the responding party are the same CMTS, the CMTS separately sends the service establishment message sent by the intercepted and acquired application server to the requesting client and the responding client to the requesting party and the response. square.
  • the obtaining unit 31 is further configured to acquire a service disconnection message sent by the client.
  • the processing unit 32 is further configured to complete the deletion of the service data flow according to the service disconnect message and the CM.
  • the CMTS sends a service deletion request message to the CM, so that the CM deletes the uplink service data flow according to the service deletion request message, and receives the service deletion request response message sent by the CM, and deletes the service deletion request response message according to the service deletion request message.
  • the downlink service data stream is used to complete the deletion of the service data stream.
  • the requesting party may be a calling party, and the responding party may be a called party.
  • the requesting client sends a service disconnection message to the application server, and the CMTS listens and acquires.
  • the service deletion request message is sent to the CM, so that the CM deletes the uplink service data flow, and after deleting the uplink service data flow, the CM sends a service deletion request response message to the CMTS, and the CMTS deletes the service according to the service.
  • the request response message deletes the downlink service data stream to complete the deletion of the service data stream.
  • the responding client sends a service disconnection message to the application server, and after the CMTS monitors and acquires the service disconnection message, the CMTS sends a disconnection indication message to the CM corresponding to the responding party, and the responder
  • the corresponding CM sends a service deletion request message to the CMTS, so that the CMT S deletes the downlink service data flow, and after deleting the downlink service data flow, the CMTS sends a service deletion request to the CM corresponding to the responding party.
  • Responding to the message so that the CM corresponding to the responding party deletes the uplink service data stream to complete the deletion of the service data stream.
  • the second sending unit 34 is further configured to: after completing the deletion of the service data flow according to the service disconnect message and the CM, send a service release message to the record keeping server, so that the record keeping server is according to the service Release the message to release the service policy.
  • the record keeping server receives the service release message, and stops the monthly service corresponding to the service between the requester and the responder (such as the billing service and the call record saving service).
  • the second sending unit 34 is further configured to: after the record keeping server releases the service policy according to the service release message and receives the service release response message sent by the record keeping server, send the service disconnect message to the application server.
  • the establishment of the service data flow can be realized in the absence of the policy server, and the cost of establishing the service data stream is further reduced due to the high cost of the policy server.
  • the embodiment of the present invention provides a CMTS 60.
  • the CMTS 60 includes:
  • a processor (Rocessor) 61, a communication interface 62, a memory 63, and a communication bus 64; wherein the processor 61, the communication interface 62, and the memory 63 pass through the communication bus 64. Complete communication with each other.
  • the processor 61 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits that have been implemented to implement the embodiments of the present invention.
  • CPU central processing unit
  • ASIC Application Specific Integrated Circuit
  • the memory 63 is for storing program code, and the program code includes computer operation instructions.
  • Memory 63 may contain high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the communication interface 62 is configured to implement connection communication between the devices.
  • the processor 61 executes program code for acquiring a service establishment message sent by the application server, where the service establishment message is a message sent by the application server to the client, and the service data is completed according to the service establishment message and the cable modem CM.
  • the service data stream is used to carry transmission data between the CMT S and the CM.
  • the processor 61 is configured to obtain the requestor interface information and the responder interface information according to the service establishment message, and complete the establishment of the service data flow according to the requestor interface information and the responder interface information. .
  • the processor 61 is further configured to: obtain a service request setup message sent by the client, where the service request setup message includes the requester interface information and the called party identifier information, and send the service request setup message to the The application server, so that the application server obtains corresponding called party interface information according to the called party identification information, and completes establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
  • the processor 61 is specifically configured to send a service add request message to the CM, where the service add request message includes the requester interface information and the responder interface information, so that the CM is configured according to the requestor interface information.
  • send a service add completion message to the CM To complete the establishment of the business data stream.
  • the uplink service data stream is used to carry the CM to the CMTS transmission data; the downlink service data stream is used to carry the CMT S to the CM transmission data; the service data stream includes the uplink service data stream and the downlink service data stream.
  • the processor 61 is further configured to send a service control message to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message, and receives the record keeping server to send according to the service control message.
  • Service control response message is further configured to send a service control message to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message, and receives the record keeping server to send according to the service control message.
  • Service control response message is further configured to send a service control message to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message, and receives the record keeping server to send according to the service control message.
  • the processor 61 is further configured to: after receiving the service control response message sent by the record keeping server according to the service control message, send the service establishment message to the client.
  • the processor 61 is further configured to: obtain a service disconnection message sent by the client, and complete deletion of the service data flow according to the service disconnect message and the CM.
  • the processor 6 is configured to send a service deletion request message to the CM, so that the CM deletes the uplink service data flow according to the service deletion request message, and receives a service deletion request response message sent by the CM, and Deleting the downlink service data flow according to the service deletion request response message to complete deletion of the service data flow.
  • the processor 61 is further configured to: after the disconnecting the service data stream and the CM complete the deletion of the service data stream, send a service release message to the record keeping server, so that the record keeping server is configured according to the The service release message releases the service policy.
  • the processor 61 is further configured to: after the record keeping server releases the service policy according to the service release message, and send the service release response message sent by the record keeping server, send the service disconnect message To the application server.
  • An embodiment of the present invention provides a system for establishing a service data flow. As shown in FIG. 7, the system includes:
  • CMTS 30 a CM 7 1 , an application server 72 and a record keeping server 7 3 and a client 74 corresponding to the CM7 1 , wherein
  • the application server 72 is configured to send a service establishment message to the client 74.
  • the service establishment message is a message sent by the application server to the client, and is also used to receive a service disconnection message sent by the CMTS.
  • the CMTS 30 includes the CMTS described in Figures 3, 4 and 5 above.
  • the CM 7 1 is used to complete the establishment and deletion of a service data flow with the CMT S 30.
  • the record keeping server 73 is configured to receive the service control message sent by the CMTS 30, and establish a corresponding service policy according to the service control message, and send a service control response message to the CMTS 30, and is further configured to receive the CMTS 30 sending The service releases the message and releases the service policy based on the service release message.
  • the client 74 is configured to receive the service setup message sent by the CMTS 30, and is further configured to send a service disconnect message to the CMTS 30.
  • the above system may be an HFC.
  • the above system implements the establishment of the service data flow without including the policy server, and further reduces the establishment due to the high cost of the policy server.
  • the cost of implementing a business data stream is the cost of implementing a business data stream.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Provided are a method, device and system for establishing a service data flow, which relate to the field of communications, and are used for realizing the establishment of a service data flow without a policy server. The method comprises: a CMTS acquiring a service establishment message sent by an application server, wherein the service establishment message is a message sent by the application server to a client; and accomplishing the establishment of a service data flow with a cable modem (CM), according to the service establishment message, wherein the service data flow is used for bearing data transmission between the CMTS and the CM. The embodiments of the present invention are used for the establishment of a service data flow.

Description

一种建立业务数据流的方法、 设备及系统 技术领域  Method, device and system for establishing business data flow
本发明涉及通信领域, 尤其涉及一种建立业务数据流的方法、 设备及系统。  The present invention relates to the field of communications, and in particular, to a method, device, and system for establishing a service data stream.
背景技术 Background technique
分组电缆 ( PacketCable ) 是于 1997 年制定的在有线电视网络 实现语音和视频等多媒体业务的标准规范, 它使用网际协议 IP来提 供宽范围的多媒体服务, 例如 IP电话、 多媒体会议、 互动游戏以及 通常的多媒体应用。  PacketCable is a standard specification for multimedia services such as voice and video over cable television networks, which was developed in 1997. It uses Internet Protocol IP to provide a wide range of multimedia services such as IP telephony, multimedia conferencing, interactive gaming, and Multimedia application.
对于现有的 HFC ( HybridFiber - Coaxial , 混合光纤同轴电缆 网 ) 网络, 该网络主要包括客户端、 CM ( Cable Modem, 电缆调制解 调器)、 CMTS ( Cable Modem Termination System, 电缆调制解调器 管理设备)、 策略服务器和应用服务器, 其中, 客户端将用户的业务 请求消息发送至应用服务器, 应用服务器根据该业务请求消息向策 略服务器发送指示消息, 该策略服务器根据该指示消息向 CMTS发送 门控制消息 ( Gate-Set ), 以便告知该 CMTS 用户请求的业务为多媒 体业务, 该 CMTS 与 CM进行协商, 从而建立业务数据流, 并通过该 业务数据流承载传输数据。  For the existing HFC (Hybrid Fiber Coaxial Network) network, the network mainly includes the client, CM (Cable Modem), CMTS (Cable Modem Termination System), and Policy Server. And the application server, where the client sends the service request message of the user to the application server, and the application server sends an indication message to the policy server according to the service request message, and the policy server sends a door control message to the CMTS according to the indication message (Gate-Set In order to inform the CMTS user that the service requested is a multimedia service, the CMTS negotiates with the CM to establish a service data flow, and carries the data transmission through the service data flow.
但是, 在实际应用中, 上述的 HFC 网络可能不包括策略服务器, 因此, 在上述 HFC 网络不包括策略服务器时, 按照上述通过策略服 务器的方式建立业务数据流的过程无法实现。  However, in an actual application, the foregoing HFC network may not include a policy server. Therefore, when the HFC network does not include a policy server, the process of establishing a service data flow by using the policy server may not be implemented.
发明内容 Summary of the invention
本发明的实施例提供一种建立业务数据流的方法、设备及系统, 以用于在缺少策略服务器的情况下, 实现业务数据流的建立。  Embodiments of the present invention provide a method, device, and system for establishing a service data flow for implementing establishment of a service data flow in the absence of a policy server.
为达到上述目的, 本发明的实施例釆用如下技术方案:  In order to achieve the above object, embodiments of the present invention use the following technical solutions:
第一方面, 提供一种建立业务数据流的方法, 包括:  In a first aspect, a method for establishing a service data flow is provided, including:
电缆调制解调器管理设备 CMTS 获取应用服务器发送的业务建 立消息, 其中, 所述业务建立消息为所述应用服务器向客户端发送 的消息; The cable modem management device CMTS obtains the service establishment sent by the application server a message, where the service establishment message is a message sent by the application server to a client;
根据所述业务建立消息与电缆调制解调器 CM 完成业务数据流 的建立, 其中, 所述业务数据流用于承载所述 CMTS和所述 CM之间 的传输数据。  And establishing, by the cable modem CM, the establishment of the service data flow according to the service establishment message, wherein the service data flow is used to carry transmission data between the CMTS and the CM.
在第一方面第一种可能的实现方式中, 所述根据所述业务建立 消息与 CM完成业务数据流的建立包括:  In a first possible implementation manner of the first aspect, the establishing the service data flow according to the service establishment message and the CM includes:
根据所述业务建立消息获得请求方接口信息和响应方接口信 息;  Obtaining requester interface information and responder interface information according to the service establishment message;
根据所述请求方接口信息和响应方接口信息与所述 CM 完成业 务数据流的建立。  Establishing the service data flow with the CM according to the requestor interface information and the responder interface information.
在第一方面第二种可能的实现方式中, 在所述 CMTS获取应用服 务器发送的业务建立消息前, 所述方法还包括:  In a second possible implementation manner of the first aspect, before the CMTS obtains a service setup message sent by the application server, the method further includes:
获取客户端发送的业务请求建立消息, 其中, 所述业务请求建 立消息包括请求方接口信息和被叫方标识信息;  Obtaining a service request establishment message sent by the client, where the service request establishment message includes requester interface information and called party identification information;
将所述业务请求建立消息发送至所述应用服务器, 以便所述应 用服务器根据所述被叫方标识信息获得对应的被叫方接口信息; 所述根据所述业务建立消息与 CM完成业务数据流的建立包括: 根据所述请求方接口信息和响应方接口信息与所述 CM 完成业 务数据流的建立。  Sending the service request setup message to the application server, so that the application server obtains corresponding called party interface information according to the called party identification information; and the service data flow is completed according to the service establishment message and the CM. The establishing comprises: completing the establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
结合第一种可能的实现方式或第二种可能的实现方式, 在第三 种可能的实现中, 所述根据所述请求方接口信息和响应方接口信息 与所述 CM完成业务数据流的建立包括:  In combination with the first possible implementation manner or the second possible implementation manner, in a third possible implementation, the establishing the service data flow according to the requester interface information and the responder interface information and the CM Includes:
向所述 CM发送业务添加请求消息, 其中, 所述业务添加请求消 息包括所述请求方接口信息和响应方接口信息, 以便所述 CM根据所 述请求方接口信息和响应方接口信息建立上行业务数据流, 其中, 所述上行业务数据流用于承载所述 CM至所述 CMT S的传输数据; 接收所述 C M发送的业务添加请求响应消息;  Sending a service addition request message to the CM, where the service addition request message includes the requester interface information and the responder interface information, so that the CM establishes an uplink service according to the requester interface information and the responder interface information. a data flow, where the uplink service data flow is used to carry the transmission data of the CM to the CMT S; and receive a service addition request response message sent by the CM;
在接收到所述业务添加请求响应消息后, 根据所述请求方接口 信息和响应方接口信息建立下行业务数据流, 并向所述 CM发送业务 添加完成消息。 以完成业务数据流的建立; 其中, 所述下行业务数 据流用于承载所述 CMTS 至所述 CM的传输数据; 该业务数据流包括 所述上行业务数据流和下行业务数据流。 After receiving the service addition request response message, according to the requester interface The information and responder interface information establishes a downlink service data flow and sends a service addition complete message to the CM. And completing the establishment of the service data flow; where the downlink service data flow is used to carry the transmission data of the CMTS to the CM; the service data flow includes the uplink service data flow and the downlink service data flow.
结合第三种可能的实现方式, 在第四种可能的实现方式中, 在 向所述 CM发送业务添加完成消息后, 所述方法还包括:  With reference to the third possible implementation manner, in a fourth possible implementation, after the service adding completion message is sent to the CM, the method further includes:
向记录保持服务器发送服务控制消息, 以便所述记录保持服务 器根据所述服务控制消息建立对应的服务策略;  Sending a service control message to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message;
接收所述记录保持服务器根据所述服务控制消息发送的服务控 制响应消息。  Receiving a service control response message sent by the record keeping server according to the service control message.
结合第四种可能的实现方式, 在第五种可能的实现方式中, 在 接收到所述记录保持服务器根据所述服务控制消息发送的服务控制 响应消息后, 所述方法还包括:  With reference to the fourth possible implementation manner, in a fifth possible implementation, after receiving the service control response message sent by the record keeping server according to the service control message, the method further includes:
将所述业务建立消息发送至所述客户端。  Sending the service establishment message to the client.
结合第一方面至第五种可能的实现方式中的任一种, 在第六种 可能的实现方式中, 所述方法还包括:  With reference to any one of the first aspect to the fifth possible implementation, in a sixth possible implementation, the method further includes:
获取所述客户端发送的业务断开消息;  Obtaining a service disconnection message sent by the client;
根据所述业务断开消息与所述 CM完成所述业务数据流的删除。 结合第六种可能的实现方式, 在第七种可能的实现方式中, 所 述根据所述业务断开消息与所述 CM 完成所述业务数据流的删除包 括:  Deleting the service data stream according to the service disconnect message and the CM. With reference to the sixth possible implementation, in a seventh possible implementation, the deleting the service data flow according to the service disconnect message and the CM includes:
向所述 CM发送业务删除请求消息, 以便所述 CM根据所述业务 删除请求消息删除所述上行业务数据流;  Sending a service deletion request message to the CM, so that the CM deletes the uplink service data flow according to the service deletion request message;
接收所述 CM发送的业务删除请求响应消息, 并根据所述业务删 除请求响应消息删除所述下行业务数据流, 以完成所述业务数据流 的删除。  Receiving a service deletion request response message sent by the CM, and deleting the downlink service data flow according to the service deletion request response message, to complete deletion of the service data flow.
结合第六种可能的实现方式或第七种可能的实现方式, 在第八 种可能的实现方式中, 在所述根据所述业务断开消息与所述 CM完成 所述业务数据流的删除后, 所述方法还包括: 向所述记录保持服务器发送服务释放消息, 以便所述记录保持 服务器根据所述服务释放消息释放所述服务策略。 With reference to the sixth possible implementation manner or the seventh possible implementation manner, in an eighth possible implementation manner, after the deleting the service data flow according to the service disconnection message and the CM The method further includes: Sending a service release message to the record keeping server, so that the record keeping server releases the service policy according to the service release message.
结合第八种可能的实现方式, 在第九种可能的实现方式中, 在 所述记录保持服务器根据所述服务释放消息释放所述服务策略后, 所述方法还包括:  With reference to the eighth possible implementation manner, in a ninth possible implementation manner, after the record keeping server releases the service policy according to the service release message, the method further includes:
在接收到所述记录保持服务器发送的服务释放响应消息后, 将 所述业务断开消息发送至所述应用服务器。  After receiving the service release response message sent by the record keeping server, the service disconnection message is sent to the application server.
第二方面, 提供一种电缆调制解调器管理设备 CMTS , 包括: 获 取单元, 用于获取应用服务器发送的业务建立消息, 其中, 所述业 务建立消息为所述应用服务器向客户端发送的消息;  In a second aspect, a cable modem management device CMTS is provided, including: an obtaining unit, configured to acquire a service establishment message sent by an application server, where the service establishment message is a message sent by the application server to a client;
处理单元, 用于根据所述业务建立消息与电缆调制解调器 CM完 成业务数据流的建立, 其中, 所述业务数据流用于承载所述 CMTS和 所述 CM之间的传输数据。  And a processing unit, configured to complete establishment of a service data flow with the cable modem CM according to the service establishment message, where the service data flow is used to carry transmission data between the CMTS and the CM.
在第二方面第一种可能的实现方式中, 所述处理单元具体用于, 根据所述业务建立消息获得请求方接口信, ¾和响应方接口信息; 根据所述请求方接口信息和响应方接口信息与所述 CM 完成业 务数据流的建立。  In a first possible implementation manner of the second aspect, the processing unit is specifically configured to: obtain, according to the service establishment message, a requestor interface information, and a responder interface information; according to the requester interface information and the responder The interface information and the CM complete the establishment of the service data flow.
在第二方面第二种可能的实现方式中, 所述获取单元还用于, 在所述 CMTS获取应用服务器发送的业务建立消息前, 获取客户端发 送的业务请求建立消息, 其中, 所述业务请求建立消息包括请求方 接口信息和被叫方标识信息;  In a second possible implementation manner of the second aspect, the acquiring unit is further configured to: before the CMTS acquires a service setup message sent by the application server, obtain a service request setup message sent by the client, where the service is The request establishment message includes requester interface information and called party identification information;
所述 CMTS还包括: 第一发送单元, 用于将所述业务请求建立消 息发送至所述应用服务器, 以便所述应用服务器根据所述被叫方标 识信息获得对应的被叫方接口信息;  The CMTS further includes: a first sending unit, configured to send the service request establishment message to the application server, so that the application server obtains corresponding called party interface information according to the called party identification information;
所述处理单元具体用于, 根据所述请求方接口信息和响应方接 口信息与所述 CM完成业务数据流的建立。  The processing unit is specifically configured to complete establishment of a service data flow with the CM according to the requestor interface information and the responder interface information.
结合第一种可能的实现方式或第二种可能的实现方式, 在第三 种可能的实现方式中, 所述 CMTS还包括: 第二发送单元, 用于向所 述 CM发送业务添加请求消息, 其中, 所述业务添加请求消息包括所 述请求方接口信息和响应方接口信息, 以便所述 CM根据所述请求方 接口信息和响应方接口信息建立上行业务数据流, 其中, 所述上行 业务数据流用于承载所述 CM至所述 CMTS的传输数据; In combination with the first possible implementation manner or the second possible implementation manner, in a third possible implementation manner, the CMTS further includes: a second sending unit, configured to send a service addition request message to the CM, The service addition request message includes Determining the interface information and the responder interface information, so that the CM establishes an uplink service data flow according to the requester interface information and the responder interface information, where the uplink service data flow is used to carry the CM to the CMTS Transmission data;
所述获取单元具体用于, 接收所述 CM发送的业务添加请求响应 消息;  The obtaining unit is specifically configured to: receive a service add request response message sent by the CM;
所述处理单元具体用于, 在接收到所述业务添加请求响应消息 后, 根据所述请求方接口信息和响应方接口信息建立下行业务数据 流, 其中, 所述下行业务数据流用于承载所述 CMTS 至所述 CM的传 输数据;  The processing unit is configured to: after receiving the service addition request response message, establish a downlink service data flow according to the requester interface information and the responder interface information, where the downlink service data flow is used to carry the Transmission data from the CMTS to the CM;
所述第二发送单元还用于, 向所述 CM发送业务添加完成消息, 以完成业务数据流的建立, 其中, 该业务数据流包括所述上行业务 数据流和下行业务数据流。  The second sending unit is further configured to send a service addition complete message to the CM to complete establishment of a service data flow, where the service data flow includes the uplink service data flow and the downlink service data flow.
结合第三种可能的实现方式, 在第四种可能的实现方式中, 所 述第二发送单元还用于, 在向所述 CM发送业务添加完成消息后, 向 记录保持服务器发送服务控制消息, 以便所述记录保持服务器根据 所述服务控制消息建立对应的服务策略;  With reference to the third possible implementation manner, in a fourth possible implementation manner, the second sending unit is further configured to: after sending a service addition complete message to the CM, send a service control message to the record keeping server, So that the record keeping server establishes a corresponding service policy according to the service control message;
所述获取单元还用于, 接收所述记录保持服务器根据所述服务 控制消息发送的服务控制响应消息。  The obtaining unit is further configured to receive a service control response message sent by the record keeping server according to the service control message.
结合第四种可能的实现方式, 在第五种可能的实现方式中, 所 述第二发送单元还用于, 在接收到所述记录保持服务器根据所述服 务控制消息发送的服务控制响应消息后, 将所述业务建立消息发送 至所述客户端。  With reference to the fourth possible implementation manner, in a fifth possible implementation manner, the second sending unit is further configured to: after receiving the service control response message sent by the record keeping server according to the service control message Sending the service establishment message to the client.
结合第二方面至第五种可能的实现方式中, 在第六种可能的实 现方式中, 所述获取单元还用于, 获取所述客户端发送的业务断开 消息;  With reference to the second aspect to the fifth possible implementation manner, in a sixth possible implementation manner, the acquiring unit is further configured to: obtain a service disconnection message sent by the client;
所述处理单元还用于, 根据所述业务断开消息与所述 CM完成所 述业务数据流的删除。  The processing unit is further configured to complete deletion of the service data flow according to the service disconnect message and the CM.
结合第六种可能的实现方式, 在第七种可能的实现的方式中, 所述处理单元具体用于, 向所述 CM发送业务删除请求消息, 以便所 述 CM根据所述业务删除请求消息删除所述上行业务数据流; 接收所 述 CM发送的业务删除请求响应消息, 并根据所述业务删除请求响应 消息删除所述下行业务数据流, 以完成所述业务数据流的删除。 With reference to the sixth possible implementation manner, in a seventh possible implementation manner, the processing unit is specifically configured to: send a service deletion request message to the CM, so as to Deleting the uplink service data flow according to the service deletion request message; receiving a service deletion request response message sent by the CM, and deleting the downlink service data flow according to the service deletion request response message, to complete the The deletion of business data streams.
结合第六种可能的实现方式或第七种可能的实现方式, 在第八 种可能的实现方式中, 所述第二发送单元还用于, 在根据所述业务 断开消息与所述 CM完成所述业务数据流的删除后, 向所述记录保持 服务器发送服务释放消息, 以便所述记录保持服务器根据所述服务 释放消息释放所述服务策略。  With the sixth possible implementation or the seventh possible implementation, in the eighth possible implementation, the second sending unit is further configured to complete the message according to the service disconnection and the CM. After the deletion of the service data stream, the service release message is sent to the record keeping server, so that the record keeping server releases the service policy according to the service release message.
结合第八种可能的实现方式, 在第九种可能的实现方式中, 所 述第二发送单元还用于, 在记录保持服务器根据所述服务释放消息 释放所述服务策略且接收到所述记录保持服务器发送的服务释放响 应消息后, 将所述业务断开消息发送至所述应用服务器。  With reference to the eighth possible implementation manner, in a ninth possible implementation manner, the second sending unit is further configured to: when the record keeping server releases the service policy according to the service release message, and receive the record After the service release response message sent by the server is maintained, the service disconnection message is sent to the application server.
第三方面, 提供一种业务数据流建立的系统, 包括电缆调制解 调器管理设备 CMTS、 电缆调制解调器 CM、 应用服务器和记录保持服 务器以及与所述 CM对应的客户端, 其中,  The third aspect provides a system for establishing a service data flow, including a cable modem management device CMTS, a cable modem CM, an application server, and a record keeping server, and a client corresponding to the CM, where
所述应用服务器用于向所述客户端发送业务建立消息; 其中, 所述业务建立消息为所述应用服务器向客户端发送的消息, 还用于 接收所述 CMT S发送的业务断开消息;  The application server is configured to send a service establishment message to the client, where the service establishment message is a message sent by the application server to the client, and is further configured to receive a service disconnection message sent by the CMT S;
所述 CMTS 包括权利要求 1 1至 2 0任一项所述的 CMTS ;  The CMTS includes the CMTS of any one of claims 1 to 20;
所述 CM用于与所述 CMTS之间完成业务数据流的建立和删除; 所述记录保持服务器用于接收所述 CMTS发送的服务控制消息, 并根据所述服务控制消息建立对应的服务策略, 并向所述 CMT S发送 服务控制响应消息, 还用于接收所述 CMTS发送的服务释放消息, 并 根据所述服务释放消息释放所述服务策略;  The CM is configured to complete establishment and deletion of a service data flow with the CMTS; the record keeping server is configured to receive a service control message sent by the CMTS, and establish a corresponding service policy according to the service control message, And sending a service control response message to the CMT S, and configured to receive a service release message sent by the CMTS, and release the service policy according to the service release message;
所述客户端用于接收所述 CMT S发送的所述业务建立消息, 还用 于向所述 CMT S发送业务断开消息。  The client is configured to receive the service setup message sent by the CMT S, and is further configured to send a service disconnect message to the CMT S.
通过釆用上述方案, CMTS获取应用服务器发送的业务建立消息, 并根据该业务建立消息与电缆调制解调器 CM 完成业务数据流的建 立, 其中, 该业务数据流用于承载该 CMTS和 CM之间的传输数据。 这样, 通过 CMTS获取应用服务器发送的业务建立消息, 从而在缺少 策略服务器的情况下, 实现业务数据流的建立, 并且由于策略服务 器的成本较高, 因此, 釆用本发明进一步减少了建立业务数据流的 实现成本。 By using the foregoing solution, the CMTS acquires a service setup message sent by the application server, and completes establishment of a service data flow according to the service setup message and the cable modem CM, where the service data flow is used to carry the transmission data between the CMTS and the CM. . In this way, the service establishment message sent by the application server is obtained through the CMTS, thereby realizing the establishment of the service data flow in the absence of the policy server, and because the cost of the policy server is high, the invention further reduces the establishment of the service data. The implementation cost of the stream.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例中所需要使用的附图作简单地介绍, 显而易见地, 下 面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术 人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获 得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图 1 为本发明实施例提供的一种建立业务数据流的方法示意 图;  FIG. 1 is a schematic diagram of a method for establishing a service data flow according to an embodiment of the present invention;
图 2 为本发明实施例提供的一种建立业务数据流方法的流程示 意图;  FIG. 2 is a schematic flowchart of a method for establishing a service data flow according to an embodiment of the present invention;
图 3为本发明实施例提供的一种 CMTS的结构示意图;  3 is a schematic structural diagram of a CMTS according to an embodiment of the present invention;
图 4为本发明实施例提供的另一种 CMTS的结构示意图; 图 5为本发明实施例提供的另一种 CMTS的结构示意图; 图 6为本发明实施例提供的另一种 CMTS的结构示意图; 图 7 为本发明实施例提供的一种业务数据流建立的系统示意 图。  4 is a schematic structural diagram of another CMTS according to an embodiment of the present invention; FIG. 5 is a schematic structural diagram of another CMTS according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of another CMTS according to an embodiment of the present invention; FIG. 7 is a schematic diagram of a system for establishing a service data flow according to an embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明 一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本 领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他 实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例提供一种建立业务数据流的方法, 如图 1 所示, 该方法实施例的执行主体为 CMTS , 该方法包括:  The embodiment of the present invention provides a method for establishing a service data flow. As shown in FIG. 1 , the execution entity of the method embodiment is a CMTS, and the method includes:
S 1 01、 CMT S获取应用服务器发送的业务建立消息。 其中, 该业务建立消息为该应用服务器向客户端发送的消息。 具体地, 该应用服务器向客户端发送业务建立消息, 该 CMTS监 听应用服务器与客户端之间的业务建立消息, 在监听到该业务建立 消息后, 获取该业务建立消息。 S1 01: The CMT S acquires a service setup message sent by the application server. The service establishment message is a message sent by the application server to the client. Specifically, the application server sends a service establishment message to the client, and the CMTS listens to the service establishment message between the application server and the client, and obtains the service establishment message after listening to the service establishment message.
S 1 02、 CMTS根据该业务建立消息与 CM完成业务数据流的建立。 其中, 该业务数据流用于承载该 CMTS和该 CM之间的传输数据。 可选地, CMTS根据该业务建立消息获得请求方接口信息 (如请 求方的 I P地址和 UDP端口等参数信息) 和响应方接口信息 (如响应 方的 I P地址和 UDP端口等参数信息), 并根据该请求方接口信息和 响应方接口信息与该 CM完成业务数据流的建立。  S102: The CMTS completes the establishment of the service data flow according to the service establishment message and the CM. The service data stream is used to carry transmission data between the CMTS and the CM. Optionally, the CMTS obtains the requester interface information (such as the requester's IP address and UDP port parameter information) and the responder interface information (such as the responder's IP address and UDP port parameter information) according to the service setup message, and Establishing a service data flow with the CM according to the requestor interface information and the responder interface information.
具体地, 客户端 (该客户端可以是请求方客户端) 向应用服务 器发送业务建立请求消息, 其中, 该业务建立请求消息包括响应方 标识信息 (如响应方的号码) 和请求方接口信息, 该应用服务器通 过响应方标识信息得到响应方接口信息, 并向该 CMTS发送业务建立 消息, 其中, 该业务建立消息包括请求方接口信息和响应方接口信 息, 该 CMTS 根据该请求方接口信息和响应方接口信息与该 CM (该 CM可以是请求方客户端对应的 CM ) 完成业务数据流的建立。  Specifically, the client (the client may be a requesting client) sends a service establishment request message to the application server, where the service establishment request message includes response party identification information (such as the number of the responder) and requester interface information. The application server obtains the responder interface information by using the responder identification information, and sends a service establishment message to the CMTS, where the service setup message includes the requestor interface information and the responder interface information, and the CMTS according to the requestor interface information and the response The party interface information completes the establishment of the service data flow with the CM (the CM may be the CM corresponding to the requesting client).
可选地, 在该 CMTS 获取应用服务器发送的业务建立消息前, CMT S获取客户端发送的业务请求建立消息, 其中, 该业务请求建立 消息包括请求方接口信息和响应方标识信息; CMTS将该业务请求建 立消息发送至该应用服务器, 以便该应用服务器根据该响应方标识 信息获得对应的响应方接口信息, 并根据该请求方接口信息和响应 方接口信息与该 CM完成业务数据流的建立。  Optionally, before the CMTS obtains the service setup message sent by the application server, the CMT S acquires a service request setup message sent by the client, where the service request setup message includes the requestor interface information and the responder identifier information; The service request setup message is sent to the application server, so that the application server obtains corresponding responder interface information according to the responder identification information, and completes establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
在本发明一种可能的实现方式中, 上述 CMTS根据该请求方接口 信息和响应方接口信息与该 C M完成业务数据流的建立具体可以是: CMT S 向该 CM 发送业务添加请求消息, 其中, 该业务添加请求消息 包括该请求方接口信息和响应方接口信息, 以便该 CM根据该请求方 接口信息和响应方接口信息建立上行业务数据流, 并接收该 CM发送 的业务添加请求响应消息, 在接收到该业务添加请求响应消息后, 根据该请求方接口信息和响应方接口信息建立下行业务数据流, 并 向该 CM发送业务添加完成消息, 以完成业务数据流的建立。 In a possible implementation manner of the present invention, the foregoing CMTS may be configured to send a service add request message to the CM according to the requestor interface information and the responder interface information, and the CMT S sends a service add request message to the CM, where The service addition request message includes the requestor interface information and the responder interface information, so that the CM establishes an uplink service data flow according to the requestor interface information and the responder interface information, and receives a service addition request response message sent by the CM, where After receiving the service add request response message, And establishing a downlink service data flow according to the requestor interface information and the responder interface information, and sending a service addition complete message to the CM, to complete establishment of the service data flow.
其中, 该业务数据流包括该上行业务数据流和下行业务数据流, 该上行业务数据流用于承载该 CM至该 CMTS 的传输数据, 该下行业 务数据流用于承载该 CMTS至该 CM的传输数据。  The service data stream includes the uplink service data stream and the downlink service data stream, where the uplink service data stream is used to carry the transmission data of the CM to the CMTS, where the lower service data stream is used to carry the transmission data of the CMTS to the CM.
需要说明的是, 运营商开通哪种业务, 则 CMTS就监听对应的业 务消息, 比如电信运营商下面的用户开通 VOIP 业务或者 IPTV ( IP Television, 交互式网络电视) 业务, 开通不同的业务对应不同的 服务策略, 那么就需要配置不同的监听规则, 例如对于 VOIP业务只 需要监听业务消息中 CRCX ( Create Connection, 连接创建消息)、 MDCX ( Modify Connection , 连接修改消 息 ) , DLCX ( Delete Connection, 连接删除消息) 这些报文。 而对于 IPTV业务, 则需要 监听的是 IGMP (Internet Group Management Protocol ,因特网组管 理协议)报文(如 IGMP添加报文、 IGMP查询报文和 IGMP删除报文)。 在监听到这些报文时, 就可以获知对应的业务类型。  It should be noted that, when the service is opened by the operator, the CMTS listens to the corresponding service message, for example, the user under the telecommunication operator opens the VOIP service or the IPTV (IP Television) service, and the different services are opened differently. Service policy, then you need to configure different listening rules. For example, for VOIP service, you only need to listen to CRCX (Create Connection), MDCX (Modify Connection), DLCX (Delete Connection), DLCX (Delete Connection). Message) These messages. For the IPTV service, IGMP (Internet Group Management Protocol) packets (such as IGMP add messages, IGMP query messages, and IGMP delete messages) are required to be monitored. When these messages are monitored, the corresponding service type can be known.
进一步地, 在向该 CM 发送业务添加完成消息后, CMTS 向记录 保持服务器发送服务控制消息, 以便该记录保持服务器根据该服务 控制消息建立对应的服务策略。  Further, after transmitting the service addition complete message to the CM, the CMTS sends a service control message to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message.
CMTS接收该记录保持服务器根据该服务控制消息发送的服务控 制响应消息。  The CMTS receives the service control response message sent by the record keeping server according to the service control message.
其中, 该服务策略可以是计费服务或者通话记录保存服务。 示例地, 对于 VO I P业务, 请求方可以为主叫方, 响应方可以为 被叫方, 当请求方摘机, 并向响应方发起呼叫 (例如拨打响应方的 号码) 时, 则请求方客户端向应用服务器发送业务请求建立消息, CMTS通过监听获取该业务请求建立消息, 并通过该业务请求建立消 息获知该请求方发起的业务为 VOIP业务, 且获得该请求方的 IP地 址和 UDP端口等参数信息, CMTS将该业务请求建立消息发送至应用 服务器, 应用服务器根据该业务请求建立消息获得响应方的标识信 息 (如响应方的号码等信息), 并通过该标识信息获得响应方的 IP 地址和 UDP 端口等参数信息, 然后向请求方客户端和响应方客户端 发送业务建立消息, 响应方客户端在接收到该业务建立消息后, 响 应方开始振铃; CMT S通过监听该应用服务器与请求方客户端之间的 业务建立消息获得该业务建立消息, 并根据该业务建立消息获得被 叫方的 I P地址和 UDP端口等参数信息, CMTS向 CM发送业务添加请 求消息, 其中, 该业务添加请求消息包括请求方的 I P地址和 UDP端 口等参数信息和响应方的 I P 地址和 UDP 端口等参数信息, CM根据 该响应方的 I P地址和 UDP端口等参数信息和请求方的 I P地址以及 UDP端口等参数信息建立上行业务数据流, 并向 CMTS发送业务添加 请求响应消息, CMTS在接收到该业务添加请求响应消息后, 根据响 应方的 I P地址和 UDP端口等参数信息和请求方的 I P地址以及 UDP 端口等参数信息建立下行业务数据流, 并向 CM发送业务添加完成消 息, 从而完成业务数据流的建立, 另外, 在应用服务器向请求方客 户端发送业务建立消息时, 若响应方与请求方对应的 CMTS为同一个 CMT S , 则应用服务器在向响应方客户端发送业务建立消息后, 响应 方客户端也会按照上述请求方建立业务数据流的流程进行业务数据 流的建立, 此处不再赘述了。 CMTS向记录保持服务器发送服务控制 消息 (如计费服务和通话记录保存服务), 记录保持服务器在接收到 该服务开始消息后, 向 CMTS发送服务控制响应消息。 The service policy may be a charging service or a call record saving service. For example, for a VO IP service, the requesting party may be the calling party, and the responding party may be the called party. When the requesting party picks up the phone and initiates a call to the responding party (for example, dialing the number of the responding party), the requesting party client The terminal sends a service request setup message to the application server, and the CMTS obtains the service request setup message by intercepting, and obtains the service initiated by the requester as a VOIP service by using the service request setup message, and obtains the IP address and UDP port of the requester. Parameter information, the CMTS sends the service request setup message to the application server, and the application server establishes a message according to the service request to obtain the identifier information of the responder (such as the number of the responder), and obtains the IP of the responder through the identifier information. The parameter information such as the address and the UDP port is sent to the requesting client and the responding client, and the responding client starts to ring after receiving the service establishing message; the CMT S listens to the application server. The service establishment message with the requesting client obtains the service establishment message, and obtains parameter information such as the IP address and the UDP port of the called party according to the service establishment message, and the CMTS sends a service addition request message to the CM, where the service The add request message includes parameter information such as the IP address and UDP port of the requester, and parameter information such as the IP address and UDP port of the responder. The CM uses the parameter information such as the IP address and UDP port of the responder and the IP address of the requester and UDP. The parameter information such as the port establishes an uplink service data flow, and sends a service addition request response message to the CMTS. After receiving the service addition request response message, the CMTS receives the parameter information such as the IP address and UDP port of the responder and the IP address of the requesting party. And parameter information such as UDP port to establish a downlink service data flow, and send a service add to the CM In the message, the service data flow is established. In addition, when the application server sends the service establishment message to the requesting client, if the CMTS corresponding to the responder and the requester is the same CMT S, the application server is in the response client. After the service sends the service establishment message, the responder client also establishes the service data flow according to the process of establishing the service data flow by the requesting party, and details are not described herein. The CMTS sends a service control message (such as a billing service and a call record saving service) to the record keeping server, and the record keeping server sends a service control response message to the CMTS after receiving the service start message.
当然, 上述业务数据流的建立还可以是: CMTS在接收到应用服 务器发送的业务建立消息后, 根据该业务建立消息获得响应方的标 识信息 (如响应方的号码等信息 ), 通过该标识信息获得响应方的 I P地址和 UDP端口等参数信息, 并将该业务建立消息发送至请求方 客户端, 该请求方客户端将该业务建立消息发送至 CM , 其中, 该业 务建立消息包括响应方的 I P地址和 UDP端口等参数信息以及请求方 的 I P地址和 UDP端口等参数信息, 该 CM根据该业务建立消息向该 CMT S 发送业务添加消息, 该 CMTS 在接收到该业务添加消息后, 根 据响应方的 I P地址和 UDP端口等参数信息以及请求方的 I P地址和 UDP 端口等参数信息建立下行业务数据流, 并在该下行业务数据流 建立完成后, 向 CM发送业务添加响应消息, 该 CM在接收到该业务 添加响应消息后, 根据获得的响应方的 IP地址和 UDP端口等参数信 息以及请求方的 IP 地址和 UDP 端口等参数信息建立上行业务数据 流, 从而完成业务数据流的建立, CMTS向记录保持服务器发送服务 控制消息, 以便该记录保持服务器根据该服务控制消息建立对应的 计费和通话记录保存等服务。 Certainly, the foregoing establishment of the service data flow may be: after receiving the service establishment message sent by the application server, the CMTS obtains the identifier information of the responder (such as the number of the responder, etc.) according to the service establishment message, and passes the identification information. Obtaining parameter information such as an IP address and a UDP port of the responder, and sending the service establishment message to the requesting client, where the requesting client sends the service establishment message to the CM, where the service establishment message includes the responder Parameter information such as an IP address and a UDP port, and parameter information such as an IP address and a UDP port of the requesting party, the CM sends a service addition message to the CMT S according to the service establishment message, and the CMTS receives the service addition message according to the response. The parameter information such as the IP address and the UDP port of the party and the parameter information such as the IP address and the UDP port of the requesting party establish a downlink service data flow, and the downlink service data flow After the establishment is completed, a service addition response message is sent to the CM. After receiving the service addition response message, the CM obtains the parameter information such as the IP address and UDP port of the responder and the parameter information such as the IP address and UDP port of the requester. The uplink service data flow is established to complete the establishment of the service data flow, and the CMTS sends a service control message to the record keeping server, so that the record keeping server establishes a corresponding service such as charging and call record storage according to the service control message.
当响应方摘机后, 则该呼叫接通, 响应方客户端向应用月良务器 发送接通消息, 应用服务器将该接通消息发送至 CMTS, CMTS根据该 接通消息获知该响应方已摘机, 从而向记录保持服务器发送服务开 始消息, 以便记录保持服务器开始执行计费和通话记录保存等服务, 记录保持服务器在接收到该服务开始消息后, 向 CMTS发送服务开始 响应消息。 上述只是以 VOIP业务进行的举例说明, 不作限定。  After the responder goes off-hook, the call is turned on, the responding client sends a close message to the application server, and the application server sends the connect message to the CMTS, and the CMTS learns that the responder has been notified according to the connect message. Off-hook, a service start message is sent to the record keeping server, so that the record keeping server starts to perform services such as billing and call record saving, and the record keeping server sends a service start response message to the CMTS after receiving the service start message. The above is only an example of the VOIP service, and is not limited.
进一步地, CMTS在接收到该记录保持服务器根据该服务控制消 息发送的服务控制响应消息后, 将该业务建立消息发送至该客户端。  Further, after receiving the service control response message sent by the record keeping server according to the service control message, the CMTS sends the service establishment message to the client.
具体地, CMTS将上述监听并获取的业务建立消息发送至客户端。 需要说明的是, 若请求方和响应方对应的 CMTS为同一个 CMTS, 则该 CMTS 分别将监听并获取的应用服务器发送至请求方客户端和 响应方客户端的业务建立消息发送至请求方和响应方。  Specifically, the CMTS sends the service establishment message that is intercepted and acquired to the client. It should be noted that, if the CMTS corresponding to the requesting party and the responding party are the same CMTS, the CMTS separately sends the service establishment message sent by the intercepted and acquired application server to the requesting client and the responding client to the requesting party and the response. square.
当请求方与响应方之间的业务结束时, CMTS获取该客户端发送 的业务断开消息, 并根据该业务断开消息与该 CM完成该业务数据流 的删除。  When the service between the requester and the responder ends, the CMTS obtains a service disconnection message sent by the client, and completes the deletion of the service data flow according to the service disconnect message and the CM.
具体地, CMTS向该 CM发送业务删除请求消息, 以便该 CM根据 该业务删除请求消息删除该上行业务数据流, CMTS 接收该 CM 发送 的业务删除请求响应消息, 并根据该业务删除请求响应消息删除该 下行业务数据流, 以完成该业务数据流的删除。  Specifically, the CMTS sends a service deletion request message to the CM, so that the CM deletes the uplink service data flow according to the service deletion request message, and the CMTS receives the service deletion request response message sent by the CM, and deletes the service deletion request response message according to the service deletion request message. The downlink service data stream is used to complete the deletion of the service data stream.
示例地, 对于 VOIP业务, 该请求方可以为主叫方, 该响应方可 以为被叫方, 当请求方挂机后, 请求方客户端向应用服务器发送业 务断开消息, CMTS 在监听并获取到该业务断开消息后, 向 CM发送 业务删除请求消息, 以便该 CM 删除上行业务数据流, CM 在删除该 上行业务数据流后, 向 CMTS 发送业务删除请求响应消息, 该 CMTS 根据该业务删除请求响应消息删除该下行业务数据流, 以完成该业 务数据流的删除。 For example, for a VOIP service, the requesting party may be a calling party, and the responding party may be a called party. When the requesting party hangs up, the requesting client sends a service disconnection message to the application server, and the CMTS listens and acquires After the service disconnects the message, the service deletion request message is sent to the CM, so that the CM deletes the uplink service data flow, and the CM deletes the After the uplink service data flow, the service deletion request response message is sent to the CMTS, and the CMTS deletes the downlink service data flow according to the service deletion request response message to complete the deletion of the service data flow.
另外, 若响应方挂机, 则响应方客户端向应用服务器发送业务 断开消息, CMTS在监听并获取到该业务断开消息后, 向该响应方对 应的 CM发送断开指示消息, 该响应方对应的 CM在接收到该断开指 示消息后, 向 CMTS发送业务删除请求消息, 以便该 CMT S删除下行 业务数据流, CMTS 在删除下行业务数据流后, 向响应方对应的 CM 发送业务删除请求响应消息, 以便该响应方对应的 CM删除上行业务 数据流, 以完成该业务数据流的删除。  In addition, if the responding party hangs up, the responding client sends a service disconnection message to the application server, and after the CMTS monitors and acquires the service disconnection message, the CMTS sends a disconnection indication message to the CM corresponding to the responding party, and the responder After receiving the disconnection indication message, the corresponding CM sends a service deletion request message to the CMTS, so that the CMT S deletes the downlink service data flow, and after deleting the downlink service data flow, the CMTS sends a service deletion request to the CM corresponding to the responding party. Responding to the message, so that the CM corresponding to the responding party deletes the uplink service data stream to complete the deletion of the service data stream.
进一步地, CMTS向该记录保持服务器发送服务释放消息, 以便 该记录保持服务器根据该服务释放消息释放该服务策略。  Further, the CMTS sends a service release message to the record keeping server, so that the record keeping server releases the service policy according to the service release message.
具体地, 该记录保持服务器在接收到该服务释放消息, 则停止 该请求方和响应方之间的业务对应的月良务 (如计费月良务和通话记录 保存服务)。  Specifically, the record keeping server receives the service release message, and stops the monthly service corresponding to the service between the requester and the responder (such as the billing service and the call record saving service).
CMTS在该记录保持服务器根据该服务释放消息释放该服务策略 且接收到该记录保持服务器发送的服务释放响应消息后, 将该业务 断开消息发送至该应用服务器。  The CMTS sends the service disconnection message to the application server after the record keeping server releases the service policy according to the service release message and receives the service release response message sent by the record keeping server.
这样, 在缺少策略服务器的情况下, 实现了业务数据流的建立, 并且由于策略服务器的成本较高, 进一步减少了建立业务数据流的 实现成本。 本发明实施例提供一种建立业务数据流的方法, 如图 2 所示, 本发明实施例以 VO I P业务为例进行说明, 其中, 请求方为主叫方, 对应的客户端为主叫客户端, 主叫客户端对应的 CM 为主叫 CM , 响 应方为被叫方, 对应的客户端为被叫客户端, 被叫客户端对应的 CM 为被叫 CM ( 图中未表示), 包括:  In this way, in the absence of a policy server, the establishment of the service data flow is realized, and because the cost of the policy server is high, the implementation cost of establishing the service data flow is further reduced. An embodiment of the present invention provides a method for establishing a service data flow. As shown in FIG. 2, the embodiment of the present invention uses a VO IP service as an example. The requesting party is the calling party, and the corresponding client is the calling client. The CM corresponding to the calling client is the calling CM, the responding party is the called party, the corresponding client is the called client, and the CM corresponding to the called client is the called CM (not shown), including :
S 2 0 K 在主叫方摘机发起呼叫后, CMTS监听并获取主叫客户端 与应用服务器之间的业务请求建立消息。 具体地, 当主叫方发起呼叫后, 主叫客户端向应用服务器发送 业务请求建立消息, 该 CMTS监听并获取该业务请求建立消息。 S 2 0 K After the calling party picks up the phone and initiates the call, the CMTS listens and acquires a service request establishment message between the calling client and the application server. Specifically, after the calling party initiates the call, the calling client sends a service request setup message to the application server, and the CMTS listens for and acquires the service request setup message.
S202、 该 CMTS根据该业务请求建立消息获得主叫方的 IP地址 和 UDP 端口等参数信息, 并将该业务请求建立消息发送至应用服务 器。  S202. The CMTS establishes a message according to the service request to obtain parameter information such as an IP address and a UDP port of the calling party, and sends the service request establishment message to the application server.
具体地, 该 CMTS根据该业务请求建立消息确定对应的业务为该 主叫方发起的 VOIP业务, 并获得主叫方的 IP地址和 UDP端口等参 数信息。  Specifically, the CMTS determines, according to the service request establishment message, that the corresponding service is a VOIP service initiated by the calling party, and obtains parameter information such as an IP address and a UDP port of the calling party.
需要说明的是, 运营商开通哪种业务, 则 CMTS就监听对应的业 务消息, 比如电信运营商下面的用户开通 VOIP 业务或者 IPTV ( IP Television, 交互式网络电视) 业务, 开通不同的业务对应不同的 服务策略, 那么就需要配置不同的监听规则, 例如对于 VOIP业务只 需要监听业务消息中 CRCX、 MDCX、 DLCX这些才艮文。 而对于 IPTV业 务, 则需要监听的是 IGMP报文 (如 IGMP添加报文、 IGMP查询报文 和 IGMP 删除报文)。 在监听到这些报文时, 就可以获知对应的业务 类型。  It should be noted that, when the service is opened by the operator, the CMTS listens to the corresponding service message, for example, the user under the telecommunication operator opens the VOIP service or the IPTV (IP Television) service, and the different services are opened differently. Service policy, then you need to configure different listening rules. For example, for VOIP services, you only need to listen to CRCX, MDCX, and DLCX in the service message. For the IPTV service, you need to listen to IGMP messages (such as IGMP add messages, IGMP query messages, and IGMP delete messages). When these messages are detected, the corresponding service type can be known.
S203、应用服务器根据该业务请求建立消息得到被叫方的 IP地 址和 UDP 端口等参数信息, 并向主叫客户端和被叫客户端发送业务 建立消息。  S203. The application server establishes a message according to the service request to obtain parameter information such as an IP address and a UDP port of the called party, and sends a service establishment message to the calling client and the called client.
具体地, 该业务请求建立消息包括响应方标识信息 (如被叫方 的号码), 应用服务器根据该响应方标识信息得到被叫方的 IP 地址 和 UDP端口等参数信息。  Specifically, the service request setup message includes response party identification information (such as the number of the called party), and the application server obtains parameter information such as an IP address and a UDP port of the called party according to the response party identification information.
被叫客户端在接收到该业务建立消息后, 使得被叫方开始振铃。  After receiving the service setup message, the called client causes the called party to start ringing.
S204、 CMTS获取该业务建立消息, 并根据该业务建立消息获得 被叫方的 IP地址和 UDP端口等参数信息, 并向主叫 CM发送业务添 加请求消息。  S204. The CMTS obtains the service setup message, and obtains parameter information such as an IP address and a UDP port of the called party according to the service setup message, and sends a service addition request message to the calling CM.
其中, 该业务添加请求消息包括主叫方的 IP地址和 UDP端口等 参数信息以及被叫方的 IP地址和 UDP端口等参数信息。  The service addition request message includes parameter information such as an IP address and a UDP port of the calling party, and parameter information such as an IP address and a UDP port of the called party.
具体地, 该 CMTS通过监听应用服务器和主叫客户端之间的业务 建立消息, 并在监听到该业务建立消息后, 获取该业务建立消息。Specifically, the CMTS monitors the service between the application server and the calling client. The message is established, and after the service establishment message is monitored, the service establishment message is obtained.
S205、 主叫 CM根据主叫方的 IP地址和 UDP端口等参数信息以 及被叫方的 IP地址和 UDP端口等参数信息建立上行业务数据流。 S205. The calling CM establishes an uplink service data flow according to parameter information such as an IP address and a UDP port of the calling party, and parameter information such as an IP address and a UDP port of the called party.
其中, 该上行业务数据流用于承载主叫 CM至 CMTS的传输数据。 S206、 主叫 CM向 CMTS发送业务添加请求响应消息。  The uplink service data stream is used to carry the transmission data of the calling CM to the CMTS. S206. The calling CM sends a service addition request response message to the CMTS.
S207、 CMTS在接收到该业务添加请求响应消息后, 根据主叫方 的 IP地址和 UDP端口等参数信息以及被叫方的 IP地址和 UDP端口 等参数信息建立下行业务数据流, 从而完成业务数据流的建立。  After receiving the service addition request response message, the CMTS establishes a downlink service data flow according to the parameter information such as the IP address and the UDP port of the calling party, and the parameter information such as the IP address and the UDP port of the called party, thereby completing the service data. The establishment of the flow.
其中, 该下行业务数据流用于承载 CMTS至主叫 CM的传输数据, 该业务数据流包括上行业务数据流和下行业务数据流。  The downlink service data stream is used to carry transmission data of the CMTS to the calling CM, where the service data stream includes an uplink service data stream and a downlink service data stream.
S208、 CMTS 向主叫 CM发送业务添加完成消息, 以告知主叫 CM 该业务数据流已建立完成。  S208. The CMTS sends a service addition complete message to the calling CM to notify the calling CM that the service data flow has been established.
需要说明的是, 若被叫方与主叫方对应的 CMTS为同一个 CMTS, 则应用服务器也会向被叫方客户端发送业务建立消息, 被叫方客户 端也会按照上述步骤 S204 至步骤 S208 的流程进行业务数据流的建 立, 只是被叫方业务数据流的建立是由 CMTS与被叫 CM之间完成的。 此处不再赘述了。  It should be noted that if the CMTS corresponding to the called party and the calling party are the same CMTS, the application server also sends a service establishment message to the called party client, and the called party client also follows the above steps S204 to the step. The process of S208 establishes a service data flow, except that the establishment of the called party service data flow is completed by the CMTS and the called CM. It will not be described here.
S209、 CMTS向记录保持服务器发送服务控制消息。  S209. The CMTS sends a service control message to the record keeping server.
其中, 该服务控制消息可以是计费服务和通话记录保存服务。 S210、 CMTS接收记录保持服务器发送的服务控制响应消息。 S21K 当被叫方用户摘机后, 被叫客户端向应用服务器发送接 通消息。  The service control message may be a charging service and a call record saving service. S210. The CMTS receives the service control response message sent by the record keeping server. S21K After the called party picks up the phone, the called client sends an open message to the application server.
5212、 应用服务器将该接通消息发送至 CMTS。  5212. The application server sends the connect message to the CMTS.
5213、 CMTS根据该接通消息获知该响应方已摘机, 从而向记录 保持服务器发送服务开始消息, 以便记录保持服务器开始执行计费 和通话记录保存等服务。  5213. The CMTS learns that the responder has gone off-hook according to the connection message, and sends a service start message to the record keeping server, so that the record keeping server starts to perform services such as charging and call record saving.
5214、 记录保持服务器在接收到该服务开始消息后, 向 CMTS发 送服务开始响应消息。  5214. After receiving the service start message, the record keeping server sends a service start response message to the CMTS.
5215、 CMTS在接收到该服务开始响应消息后, 将获取的业务建 立消息发送至该主叫客户端。 5215. After receiving the service start response message, the CMTS will build the acquired service. A message is sent to the calling client.
此时, 主叫方可以通过上述建立的业务数据流与被叫方进行会 话, 当主叫方结束与被叫方的会话 ( 即主叫方挂机) 时, 则进行步 骤 S216至 S220。  At this time, the calling party can conduct a session with the called party through the service data flow established above, and when the calling party ends the session with the called party (ie, the calling party hangs up), then steps S216 to S220 are performed.
5216、 CMTS获取主叫客户端发送的业务断开消息。  5216. The CMTS obtains a service disconnect message sent by the calling client.
具体地, 当主叫方挂机后, 主叫客户端向应用服务器发送业务 断开消息, 该 CMTS监听主叫客户端与应用服务器之间的业务断开消 息, 并在监听到该业务断开消息后, 获取该业务断开消息。  Specifically, after the calling party hangs up, the calling client sends a service disconnection message to the application server, and the CMTS intercepts the service disconnection message between the calling client and the application server, and listens to the service disconnection message. After that, get the business disconnect message.
5217、 该 CMTS向该主叫 CM发送业务删除请求消息。  5217. The CMTS sends a service deletion request message to the calling CM.
5218、 该主叫 CM根据该业务删除请求消息删除该上行业务数据 流, 并向该 CMTS发送业务删除请求响应消息。  S218. The calling CM deletes the uplink service data flow according to the service deletion request message, and sends a service deletion request response message to the CMTS.
5219、 CMTS根据该业务删除请求响应消息删除该下行业务数据 流, 以完成该业务数据流的删除。  5219. The CMTS deletes the downlink service data flow according to the service deletion request response message, to complete deletion of the service data flow.
需要说明的是, 在本发明另一种可能的实现方式中, 当由被叫 方结束与主叫方的会话 ( 即被叫方挂机) 时, 则由被叫客户端向应 用服务器发送业务断开消息, CMTS在监听并获取到该业务断开消息 后, 向被叫 CM发送断开指示消息, 该被叫 CM在接收到该断开指示 消息后, 向 CMTS发送业务删除请求消息, 以便该 CMTS删除下行业 务数据流, CMTS 在删除下行业务数据流后, 向被叫 CM 发送业务删 除请求响应消息, 以便该被叫 CM删除上行业务数据流, 以完成该业 务数据流的删除。  It should be noted that, in another possible implementation manner of the present invention, when the called party ends the session with the calling party (that is, the called party hangs up), the called client sends a service to the application server. After the message is sent, the CMTS sends a disconnection indication message to the called CM after receiving the service disconnection message, and after receiving the disconnection indication message, the called CM sends a service deletion request message to the CMTS, so that the The CMTS deletes the downlink service data stream, and after deleting the downlink service data stream, the CMTS sends a service deletion request response message to the called CM, so that the called CM deletes the uplink service data stream to complete the deletion of the service data stream.
5220、 CMTS向记录保持服务器发送服务释放消息。  5220. The CMTS sends a service release message to the record keeping server.
S22K 记录保持服务器向 CMTS发送服务释放响应消息, 以停止 主叫方与被叫方之间的服务 (如计费服务和通话记录保存服务)。  The S22K record keeping server sends a service release response message to the CMTS to stop the services between the calling party and the called party (such as the charging service and the call record saving service).
S222、 CMTS将获取的业务断开消息发送至应用服务器, 从而结 束主叫方与被叫方之间的 VOIP业务。  S222. The CMTS sends the obtained service disconnection message to the application server, thereby ending the VOIP service between the calling party and the called party.
通过釆用上述方案, 在 VOIP业务中, 在缺少策略服务器的情况 下, 实现了业务数据流的建立, 并且由于策略服务器的成本较高, 进一步减少了建立业务数据流的实现成本。 需要说明的是, 对于上述方法实施例, 为了简单描述, 故将其 都表述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发 明并不受所描述的动作顺序的限制, 因为依据本发明, 某些步骤可 以釆用其他顺序或者同时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属于优选实施例, 所涉及的动作和模块 并不一定是本发明所必须的。 本发明实施例提供一种 CMTS 30 , 如图 3所示, 包括: By adopting the above solution, in the VOIP service, in the absence of the policy server, the establishment of the service data flow is realized, and because the cost of the policy server is high, the implementation cost of establishing the service data flow is further reduced. It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence, because In the present invention, certain steps may be performed in other orders or simultaneously. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention. An embodiment of the present invention provides a CMTS 30, as shown in FIG. 3, including:
获取单元 31 , 用于获取应用服务器发送的业务建立消息。  The obtaining unit 31 is configured to obtain a service establishment message sent by the application server.
其中, 该业务建立消息为该应用服务器向客户端发送的消息。 具体地, 该应用服务器向客户端发送业务建立消息, 该 CMTS监 听应用服务器与客户端之间的业务建立消息, 在监听到该业务建立 消息后, 获取该业务建立消息。  The service establishment message is a message sent by the application server to the client. Specifically, the application server sends a service establishment message to the client, and the CMTS monitors the service establishment message between the application server and the client, and obtains the service establishment message after listening to the service establishment message.
处理单元 32 , 用于根据该业务建立消息与电缆调制解调器 CM 完成业务数据流的建立。  The processing unit 32 is configured to complete the establishment of the service data flow according to the service setup message and the cable modem CM.
其中, 该业务数据流用于承载该 CMTS和 CM之间的传输数据, 该业务数据流包括该上行业务数据流和下行业务数据流, 其中, 该 上行业务数据流用于承载该 CM至该 CMTS 的传输数据; 该下行业务 数据流用于承载该 CMTS至该 CM的传输数据。  The service data stream is used to carry transmission data between the CMTS and the CM, where the service data stream includes the uplink service data stream and the downlink service data stream, where the uplink service data stream is used to carry the transmission of the CM to the CMTS. Data; the downlink service data stream is used to carry transmission data of the CMTS to the CM.
可选地, 该处理单元具体用于, 根据该业务建立消息获得请求 方接口信息和响应方接口信息, 并根据该请求方接口信息和响应方 接口信息与该 CM完成业务数据流的建立。  Optionally, the processing unit is configured to obtain requester interface information and responder interface information according to the service establishment message, and complete establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
具体地, 客户端 (该客户端可以是请求方客户端) 向应用服务 器发送业务建立请求消息, 其中, 该业务建立请求消息包括响应方 标识信息 (如响应方的号码) 和请求方接口信息, 该应用服务器通 过响应方标识信息得到响应方接口信息, 并向该 CMTS发送业务建立 消息, 其中, 该业务建立消息包括请求方接口信息和响应方接口信 息, 该 CMTS 根据该请求方接口信息和响应方接口信息与该 CM (该 CM可以是请求方客户端对应的 CM ) 完成业务数据流的建立。 可选地, 如图 4 所示, 该获取单元 31还用于, 在该 CMTS获取 应用服务器发送的业务建立消息前, 获取客户端发送的业务请求建 立消息。 Specifically, the client (the client may be a requesting client) sends a service establishment request message to the application server, where the service establishment request message includes response party identification information (such as the number of the responder) and requester interface information. The application server obtains the responder interface information by using the responder identification information, and sends a service establishment message to the CMTS, where the service setup message includes the requestor interface information and the responder interface information, and the CMTS according to the requestor interface information and the response The party interface information completes the establishment of the service data flow with the CM (the CM may be the CM corresponding to the requesting client). Optionally, as shown in FIG. 4, the acquiring unit 31 is further configured to: before the CMTS acquires the service establishment message sent by the application server, obtain a service request setup message sent by the client.
其中, 该业务请求建立消息包括请求方接口信息和被叫方标识 信息。  The service request setup message includes requester interface information and called party identification information.
该 CMTS30 还包括: 第一发送单元 33, 用于将该业务请求建立 消息发送至该应用服务器, 以便该应用服务器根据该被叫方标识信 息获得对应的被叫方接口信息。  The CMTS 30 further includes: a first sending unit 33, configured to send the service request setup message to the application server, so that the application server obtains corresponding called party interface information according to the called party identification information.
该处理单元具体用于, 根据该请求方接口信息和响应方接口信 息与该 CM完成业务数据流的建立。  The processing unit is specifically configured to complete the establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
进一步地, 如图 5所示, 该 CMTS30还包括: 第二发送单元 34, 用于向该 CM发送业务添加请求消息, 其中, 该业务添加请求消息包 括该请求方接口信息和响应方接口信息, 以便该 CM根据该请求方接 口信息和响应方接口信息建立上行业务数据流。  Further, as shown in FIG. 5, the CMTS 30 further includes: a second sending unit 34, configured to send a service add request message to the CM, where the service add request message includes the requester interface information and the responder interface information, So that the CM establishes an uplink service data flow according to the requestor interface information and the responder interface information.
该获取单元 31 具体用于, 接收该 CM发送的业务添加请求响应 消息。  The obtaining unit 31 is specifically configured to receive a service addition request response message sent by the CM.
该处理单元 32 具体用于, 在接收到该业务添加请求响应消息 后, 根据该请求方接口信息和响应方接口信息建立下行业务数据流。  The processing unit 32 is specifically configured to: after receiving the service addition request response message, establish a downlink service data flow according to the requestor interface information and the responder interface information.
该第二发送单元 34还用于, 向该 CM发送业务添加完成消息, 以完成业务数据流的建立。  The second sending unit 34 is further configured to send a service addition complete message to the CM to complete establishment of the service data flow.
需要说明的是, 运营商开通哪种业务, 则 CMTS就监听对应的业 务消息, 比如电信运营商下面的用户开通 VOIP 业务或者 IPTV ( IP Television, 交互式网络电视) 业务, 开通不同的业务对应不同的 服务策略, 那么就需要配置不同的监听规则, 例如对于 VOIP业务只 需要监听业务消息中 CRCX、 MDCX、 DLCX这些才艮文。 而对于 IPTV业 务, 则需要监听的是 IGMP报文 (如 IGMP添加报文、 IGMP查询报文 和 IGMP 删除报文)。 在监听到这些报文时, 就可以获知对应的业务 类型。  It should be noted that, when the service is opened by the operator, the CMTS listens to the corresponding service message, for example, the user under the telecommunication operator opens the VOIP service or the IPTV (IP Television) service, and the different services are opened differently. Service policy, then you need to configure different listening rules. For example, for VOIP services, you only need to listen to CRCX, MDCX, and DLCX in the service message. For the IPTV service, you need to listen to IGMP messages (such as IGMP add messages, IGMP query messages, and IGMP delete messages). When these messages are detected, the corresponding service type can be known.
可选地, 该第二发送单元 34还用于, 在向该 CM发送业务添加 完成消息后, 向记录保持服务器发送服务控制消息, 以便该记录保 持服务器根据该服务控制消息建立对应的服务策略。 Optionally, the second sending unit 34 is further configured to: add a service to the CM. After the message is completed, a service control message is sent to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message.
该获取单元 31还用于, 接收该记录保持服务器根据该服务控制 消息发送的服务控制响应消息。  The obtaining unit 31 is further configured to receive a service control response message sent by the record keeping server according to the service control message.
其中, 该服务策略可以是计费服务或者通话记录保存服务。 示例地, 对于 VO I P业务, 请求方可以为主叫方, 响应方可以为 被叫方, 当请求方摘机, 并向响应方发起呼叫 (例如拨打响应方的 号码) 时, 则请求方客户端向应用服务器发送业务请求建立消息, CMT S通过监听获取该业务请求建立消息, 并通过该业务请求建立消 息获知该请求方发起的业务为 VO I P业务, 且获得该请求方的 I P地 址和 UDP端口等参数信息, CMTS将该业务请求建立消息发送至应用 服务器, 应用服务器根据该业务请求建立消息获得响应方的标识信 息 (如响应方的号码等信息), 并通过该标识信息获得响应方的 I P 地址和 UDP 端口等参数信息, 然后向请求方客户端和响应方客户端 发送业务建立消息, 响应方客户端在接收到该业务建立消息后, 响 应方开始振铃; CMT S通过监听该应用服务器与请求方客户端之间的 业务建立消息获得该业务建立消息, 并根据该业务建立消息获得被 叫方的 I P地址和 UDP端口等参数信息, CMTS向 CM发送业务添加请 求消息, 其中, 该业务添加请求消息包括请求方的 I P地址和 UDP端 口等参数信息和响应方的 I P 地址和 UDP 端口等参数信息, CM根据 该响应方的 I P地址和 UDP端口等参数信息和请求方的 I P地址以及 UDP端口等参数信息建立上行业务数据流, 并向 CMTS发送业务添加 请求响应消息, CMTS在接收到该业务添加请求响应消息后, 根据响 应方的 I P地址和 UDP端口等参数信息和请求方的 I P地址以及 UDP 端口等参数信息建立下行业务数据流, 并向 CM发送业务添加完成消 息, 从而完成业务数据流的建立, 另外, 在应用服务器向请求方客 户端发送业务建立消息时, 若响应方与请求方对应的 CMTS为同一个 CMT S , 则应用服务器也会向响应方客户端发送业务建立消息, 响应 方客户端也会按照上述请求方建立业务数据流的流程进行业务数据 流的建立, 此处不再赘述了。 CMTS向记录保持服务器发送服务控制 消息 (如计费服务和通话记录保存服务), 记录保持服务器在接收到 该服务开始消息后, 向 CMTS发送服务控制响应消息。 The service policy may be a charging service or a call record saving service. For example, for a VO IP service, the requesting party may be the calling party, and the responding party may be the called party. When the requesting party picks up the phone and initiates a call to the responding party (for example, dialing the number of the responding party), the requesting party client The terminal sends a service request setup message to the application server, and the CMT S obtains the service request setup message by listening, and learns, by using the service request setup message, that the service initiated by the requester is a VO IP service, and obtains the IP address and UDP of the requester. The parameter information such as the port is sent by the CMTS to the application server, and the application server establishes a message according to the service request to obtain identification information of the responder (such as the number of the responder), and obtains the response party by using the identifier information. The parameter information such as the IP address and the UDP port is sent to the requesting client and the responding client, and the responding client starts to ring after receiving the service establishment message; the CMT S monitors the application. The service establishment message between the server and the requesting client obtains the service establishment message And obtaining the parameter information such as the IP address and the UDP port of the called party according to the service establishment message, and the CMTS sends a service addition request message to the CM, where the service addition request message includes parameter information and response such as the IP address and UDP port of the requesting party. The parameter information such as the IP address and UDP port of the party, the CM establishes an uplink service data flow according to the parameter information such as the IP address and UDP port of the responder, the IP address of the requester, and the parameter information such as the UDP port, and sends a service addition request to the CMTS. After receiving the service addition request response message, the CMTS establishes a downlink service data flow according to the parameter information such as the IP address and the UDP port of the responder, the IP address of the requester, and the parameter information such as the UDP port, and sends the service to the CM. The completion message is added to complete the establishment of the service data flow. In addition, when the application server sends the service establishment message to the requesting client, if the CMTS corresponding to the responder and the requester is the same CMT S, the application server also responds. The party client sends a service setup message, and the responder client also follows the above request. Process to establish business data stream traffic data The establishment of the flow is not repeated here. The CMTS sends a service control message (such as a billing service and a call record saving service) to the record keeping server, and the record keeping server sends a service control response message to the CMTS after receiving the service start message.
当然, 上述业务数据流的建立还可以是: CMTS在接收到应用服 务器发送的业务建立消息后, 根据该业务建立消息获得响应方的标 识信息 (如响应方的号码等信息 ), 通过该标识信息获得响应方的 I P地址和 UDP端口等参数信息, 并将该业务建立消息发送至请求方 客户端, 该请求方客户端将该业务建立消息发送至 CM , 其中, 该业 务建立消息包括响应方的 I P地址和 UDP端口等参数信息以及请求方 的 I P地址和 UDP端口等参数信息, 该 CM根据该业务建立消息向该 CMT S 发送业务添加消息, 该 CMTS 在接收到该业务添加消息后, 根 据响应方的 I P地址和 UDP端口等参数信息以及请求方的 I P地址和 UDP 端口等参数信息建立下行业务数据流, 并在该下行业务数据流 建立完成后, 向 CM发送业务添加响应消息, 该 CM在接收到该业务 添加响应消息后, 根据获得的响应方的 I P地址和 UDP端口等参数信 息以及请求方的 I P 地址和 UDP 端口等参数信息建立上行业务数据 流, 从而完成业务数据流的建立, CMTS向记录保持服务器发送服务 控制消息, 以便该记录保持服务器根据该服务控制消息建立对应的 计费和通话记录保存等服务。  Certainly, the foregoing establishment of the service data flow may be: after receiving the service establishment message sent by the application server, the CMTS obtains the identifier information of the responder (such as the number of the responder, etc.) according to the service establishment message, and passes the identification information. Obtaining parameter information such as an IP address and a UDP port of the responder, and sending the service establishment message to the requesting client, where the requesting client sends the service establishment message to the CM, where the service establishment message includes the responder Parameter information such as an IP address and a UDP port, and parameter information such as an IP address and a UDP port of the requesting party, the CM sends a service addition message to the CMT S according to the service establishment message, and the CMTS receives the service addition message according to the response. The parameter information such as the IP address and the UDP port of the party and the parameter information such as the IP address and the UDP port of the requesting party establish a downlink service data flow, and after the downlink service data flow is established, send a service addition response message to the CM, where the CM is After receiving the service add response message, according to the obtained ringing The parameter data such as the IP address and the UDP port of the respondent and the parameter information such as the IP address and the UDP port of the requesting party establish an uplink service data flow, thereby completing the establishment of the service data flow, and the CMTS sends a service control message to the record keeping server for the record. The server is maintained to establish a corresponding service such as charging and call record storage according to the service control message.
当响应方摘机后, 则该呼叫接通, 响应方客户端向应用月良务器 发送接通消息, 应用服务器将该接通消息发送至 CMTS , CMTS根据该 接通消息获知该响应方已摘机, 从而向记录保持服务器发送服务开 始消息, 以便记录保持服务器开始执行计费和通话记录保存等服务, 记录保持服务器在接收到该服务开始消息后, 向 CMTS发送服务开始 响应消息。 上述只是以 VO I P业务进行的举例说明, 不作限定。  After the responder goes off-hook, the call is turned on, the responder client sends a connect message to the application server, and the application server sends the connect message to the CMTS, and the CMTS learns that the responder has been notified according to the connect message. Off-hook, a service start message is sent to the record keeping server, so that the record keeping server starts to perform services such as billing and call record saving, and the record keeping server sends a service start response message to the CMTS after receiving the service start message. The above is only an example of the VO I P service, and is not limited.
进一步地, 该第二发送单元 34还用于, 在接收到该记录保持服 务器根据该服务控制消息发送的服务控制响应消息后, 将该业务建 立消息发送至该客户端。  Further, the second sending unit 34 is further configured to: after receiving the service control response message sent by the record keeping server according to the service control message, send the service establishment message to the client.
具体地, CMTS将上述监听并获取的业务建立消息发送至客户端。 需要说明的是, 若请求方和响应方对应的 CMTS为同一个 CMTS , 则该 CMTS 分别将监听并获取的应用服务器发送至请求方客户端和 响应方客户端的业务建立消息发送至请求方和响应方。 Specifically, the CMTS sends the service establishment message that is intercepted and acquired to the client. It should be noted that, if the CMTS corresponding to the requesting party and the responding party are the same CMTS, the CMTS separately sends the service establishment message sent by the intercepted and acquired application server to the requesting client and the responding client to the requesting party and the response. square.
更进一步地, 该获取单元 31还用于, 获取该客户端发送的业务 断开消息。  Further, the obtaining unit 31 is further configured to acquire a service disconnection message sent by the client.
该处理单元 32还用于, 根据该业务断开消息与该 CM完成该业 务数据流的删除。  The processing unit 32 is further configured to complete the deletion of the service data flow according to the service disconnect message and the CM.
具体地, CMTS向该 CM发送业务删除请求消息, 以便该 CM根据 该业务删除请求消息删除该上行业务数据流, 并接收该 CM发送的业 务删除请求响应消息, 并根据该业务删除请求响应消息删除该下行 业务数据流, 以完成该业务数据流的删除。  Specifically, the CMTS sends a service deletion request message to the CM, so that the CM deletes the uplink service data flow according to the service deletion request message, and receives the service deletion request response message sent by the CM, and deletes the service deletion request response message according to the service deletion request message. The downlink service data stream is used to complete the deletion of the service data stream.
示例地, 对于 VO I P业务, 该请求方可以为主叫方, 该响应方可 以为被叫方, 当请求方挂机后, 请求方客户端向应用服务器发送业 务断开消息, CMTS 在监听并获取到该业务断开消息后, 向 CM发送 业务删除请求消息, 以便该 CM 删除上行业务数据流, CM 在删除该 上行业务数据流后, 向 CMTS 发送业务删除请求响应消息, 该 CMTS 根据该业务删除请求响应消息删除该下行业务数据流, 以完成该业 务数据流的删除。  For example, for a VO IP service, the requesting party may be a calling party, and the responding party may be a called party. When the requesting party hangs up, the requesting client sends a service disconnection message to the application server, and the CMTS listens and acquires. After the service disconnection message is sent, the service deletion request message is sent to the CM, so that the CM deletes the uplink service data flow, and after deleting the uplink service data flow, the CM sends a service deletion request response message to the CMTS, and the CMTS deletes the service according to the service. The request response message deletes the downlink service data stream to complete the deletion of the service data stream.
另外, 若响应方挂机, 则响应方客户端向应用服务器发送业务 断开消息, CMTS在监听并获取到该业务断开消息后, 向该响应方对 应的 CM发送断开指示消息, 该响应方对应的 CM在接收到该断开指 示消息后, 向 CMTS发送业务删除请求消息, 以便该 CMT S删除下行 业务数据流, CMTS 在删除下行业务数据流后, 向响应方对应的 CM 发送业务删除请求响应消息, 以便该响应方对应的 CM删除上行业务 数据流, 以完成该业务数据流的删除。  In addition, if the responding party hangs up, the responding client sends a service disconnection message to the application server, and after the CMTS monitors and acquires the service disconnection message, the CMTS sends a disconnection indication message to the CM corresponding to the responding party, and the responder After receiving the disconnection indication message, the corresponding CM sends a service deletion request message to the CMTS, so that the CMT S deletes the downlink service data flow, and after deleting the downlink service data flow, the CMTS sends a service deletion request to the CM corresponding to the responding party. Responding to the message, so that the CM corresponding to the responding party deletes the uplink service data stream to complete the deletion of the service data stream.
进一步地, 该第二发送单元 34还用于, 在根据该业务断开消息 与该 CM完成该业务数据流的删除后, 向该记录保持服务器发送服务 释放消息, 以便该记录保持服务器根据该服务释放消息释放该服务 策略。 具体地, 该记录保持服务器在接收到该服务释放消息, 则停止 该请求方和响应方之间的业务对应的月良务 (如计费月良务和通话记录 保存服务)。 Further, the second sending unit 34 is further configured to: after completing the deletion of the service data flow according to the service disconnect message and the CM, send a service release message to the record keeping server, so that the record keeping server is according to the service Release the message to release the service policy. Specifically, the record keeping server receives the service release message, and stops the monthly service corresponding to the service between the requester and the responder (such as the billing service and the call record saving service).
该第二发送单元 34还用于, 在记录保持服务器根据该服务释放 消息释放该服务策略且接收到该记录保持服务器发送的服务释放响 应消息后, 将该业务断开消息发送至该应用服务器。  The second sending unit 34 is further configured to: after the record keeping server releases the service policy according to the service release message and receives the service release response message sent by the record keeping server, send the service disconnect message to the application server.
通过釆用上述 CMTS, 能够在缺少策略服务器的情况下, 实现业 务数据流的建立, 并且由于策略服务器的成本较高, 进一步减少了 建立业务数据流的实现成本。  By using the above CMTS, the establishment of the service data flow can be realized in the absence of the policy server, and the cost of establishing the service data stream is further reduced due to the high cost of the policy server.
所属本领域的技术人员可以清楚地了解到, 为描述的方便和简 洁, 上述描述的 CMTS的具体工作过程和描述, 可以参考前述方法实 施例中的对应过程, 在此不再赘述。  It will be apparent to those skilled in the art that, for the convenience and simplicity of the description, the specific working process and description of the CMTS described above may be referred to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
本发明实施例提供一种 CMTS 60, 如图 6 所示, 该 CMTS 60 包 括:  The embodiment of the present invention provides a CMTS 60. As shown in FIG. 6, the CMTS 60 includes:
处理器 ( rocessor )61、通信接口 ( Commun ications Interface ) 62、 存储器 ( memory ) 63 和通信总线 64; 其中, 所述处理器 61、 所述通信接口 62和所述存储器 63通过所述通信总线 64完成相互间 的通信。  a processor (Rocessor) 61, a communication interface 62, a memory 63, and a communication bus 64; wherein the processor 61, the communication interface 62, and the memory 63 pass through the communication bus 64. Complete communication with each other.
处理器 61 可能是一个中央处理器 CPU, 或者是特定集成电路 ASIC ( Application Specific Integrated Circuit ) , 或者是被酉己 置成实施本发明实施例的一个或多个集成电路。  The processor 61 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits that have been implemented to implement the embodiments of the present invention.
存储器 63用于存放程序代码, 所述程序代码包括计算机操作指 令。 存储器 63可能包含高速 RAM存储器, 也可能还包括非易失性存 储器 ( non-volat i le memory ), 例如至少一个磁盘存储器。  The memory 63 is for storing program code, and the program code includes computer operation instructions. Memory 63 may contain high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
所述通信接口 62, 用于实现这些装置之间的连接通信。  The communication interface 62 is configured to implement connection communication between the devices.
所述处理器 61执行程序代码, 用于获取应用服务器发送的业务 建立消息, 其中, 该业务建立消息为该应用服务器向客户端发送的 消息, 并根据该业务建立消息与电缆调制解调器 CM完成业务数据流 的建立。 其中, 该业务数据流用于承载 CMT S与 CM之间的传输数据。 可选地, 该处理器 6 1具体用于, 根据该业务建立消息获得请求 方接口信息和响应方接口信息, 并根据该请求方接口信息和响应方 接口信息与该 CM完成业务数据流的建立。 The processor 61 executes program code for acquiring a service establishment message sent by the application server, where the service establishment message is a message sent by the application server to the client, and the service data is completed according to the service establishment message and the cable modem CM. The establishment of the flow. The service data stream is used to carry transmission data between the CMT S and the CM. Optionally, the processor 61 is configured to obtain the requestor interface information and the responder interface information according to the service establishment message, and complete the establishment of the service data flow according to the requestor interface information and the responder interface information. .
可选地, 该处理器 6 1还用于, 获取客户端发送的业务请求建立 消息, 其中, 该业务请求建立消息包括请求方接口信息和被叫方标 识信息, 将该业务请求建立消息发送至该应用服务器, 以便该应用 服务器根据该被叫方标识信息获得对应的被叫方接口信息, 并根据 该请求方接口信息和响应方接口信息与该 CM 完成业务数据流的建 立。  Optionally, the processor 61 is further configured to: obtain a service request setup message sent by the client, where the service request setup message includes the requester interface information and the called party identifier information, and send the service request setup message to the The application server, so that the application server obtains corresponding called party interface information according to the called party identification information, and completes establishment of the service data flow with the CM according to the requestor interface information and the responder interface information.
可选地, 该处理器 6 1 具体用于, 向该 CM发送业务添加请求消 息, 其中, 该业务添加请求消息包括该请求方接口信息和响应方接 口信息, 以便该 CM根据该请求方接口信息和响应方接口信息建立上 行业务数据流, 接收该 CM发送的业务添加请求响应消息, 并在接收 到该业务添加请求响应消息后, 根据该请求方接口信息和响应方接 口信息建立下行业务数据流, 并向该 CM发送业务添加完成消息。 以 完成业务数据流的建立。  Optionally, the processor 61 is specifically configured to send a service add request message to the CM, where the service add request message includes the requester interface information and the responder interface information, so that the CM is configured according to the requestor interface information. Establishing an uplink service data flow with the responder interface information, receiving a service addition request response message sent by the CM, and after receiving the service addition request response message, establishing a downlink service data flow according to the requester interface information and the responder interface information. And send a service add completion message to the CM. To complete the establishment of the business data stream.
其中, 该上行业务数据流用于承载该 CM至该 CMTS的传输数据; 该下行业务数据流用于承载该 CMT S 至该 CM的传输数据; 该业务数 据流包括该上行业务数据流和下行业务数据流。  The uplink service data stream is used to carry the CM to the CMTS transmission data; the downlink service data stream is used to carry the CMT S to the CM transmission data; the service data stream includes the uplink service data stream and the downlink service data stream. .
可选地, 该处理器 6 1还用于, 向记录保持服务器发送服务控制 消息, 以便该记录保持服务器根据该服务控制消息建立对应的服务 策略, 并接收该记录保持服务器根据该服务控制消息发送的服务控 制响应消息。  Optionally, the processor 61 is further configured to send a service control message to the record keeping server, so that the record keeping server establishes a corresponding service policy according to the service control message, and receives the record keeping server to send according to the service control message. Service control response message.
可选地, 该处理器 6 1还用于, 在接收到该记录保持服务器根据 该服务控制消息发送的服务控制响应消息后, 将该业务建立消息发 送至该客户端。  Optionally, the processor 61 is further configured to: after receiving the service control response message sent by the record keeping server according to the service control message, send the service establishment message to the client.
可选地, 该处理器 6 1还用于, 获取该客户端发送的业务断开消 息, 并根据该业务断开消息与该 CM完成该业务数据流的删除。 可选地, 该处理器 6 1 具体用于, 向该 CM发送业务删除请求消 息, 以便该 CM根据该业务删除请求消息删除该上行业务数据流, 接 收该 CM发送的业务删除请求响应消息, 并根据该业务删除请求响应 消息删除该下行业务数据流, 以完成该业务数据流的删除。 Optionally, the processor 61 is further configured to: obtain a service disconnection message sent by the client, and complete deletion of the service data flow according to the service disconnect message and the CM. Optionally, the processor 6 is configured to send a service deletion request message to the CM, so that the CM deletes the uplink service data flow according to the service deletion request message, and receives a service deletion request response message sent by the CM, and Deleting the downlink service data flow according to the service deletion request response message to complete deletion of the service data flow.
可选地, 该处理器 6 1 还用于, 在该根据该业务断开消息与该 CM完成该业务数据流的删除后, 向该记录保持服务器发送服务释放 消息, 以便该记录保持服务器根据该服务释放消息释放该服务策略。  Optionally, the processor 61 is further configured to: after the disconnecting the service data stream and the CM complete the deletion of the service data stream, send a service release message to the record keeping server, so that the record keeping server is configured according to the The service release message releases the service policy.
可选地, 该处理器 6 1还用于, 在该记录保持服务器根据该服务 释放消息释放该服务策略且在接收到该记录保持服务器发送的服务 释放响应消息后, 将该业务断开消息发送至该应用服务器。 本发明实施例提供一种业务数据流建立的系统, 如图 7 所示, 该系统包括:  Optionally, the processor 61 is further configured to: after the record keeping server releases the service policy according to the service release message, and send the service release response message sent by the record keeping server, send the service disconnect message To the application server. An embodiment of the present invention provides a system for establishing a service data flow. As shown in FIG. 7, the system includes:
CMTS 30、 CM 7 1 、 应用服务器 72和记录保持服务器 7 3以及与 该 CM7 1对应的客户端 74 , 其中,  a CMTS 30, a CM 7 1 , an application server 72 and a record keeping server 7 3 and a client 74 corresponding to the CM7 1 , wherein
该应用服务器 72用于向该客户端 74发送业务建立消息; 其中, 该业务建立消息为该应用服务器向客户端发送的消息, 还用于接收 该 CMTS发送的业务断开消息。  The application server 72 is configured to send a service establishment message to the client 74. The service establishment message is a message sent by the application server to the client, and is also used to receive a service disconnection message sent by the CMTS.
该 CMTS 30 包括上述图 3、 图 4和图 5所述的 CMTS。  The CMTS 30 includes the CMTS described in Figures 3, 4 and 5 above.
该 CM 7 1用于与该 CMT S 30之间完成业务数据流的建立和删除。 该记录保持服务器 7 3用于接收该 CMTS 30发送的服务控制消息 , 并根据该服务控制消息建立对应的服务策略, 并向该 CMTS 30 发送 服务控制响应消息, 还用于接收该 CMTS 30 发送的服务释放消息, 并根据该服务释放消息释放该服务策略。  The CM 7 1 is used to complete the establishment and deletion of a service data flow with the CMT S 30. The record keeping server 73 is configured to receive the service control message sent by the CMTS 30, and establish a corresponding service policy according to the service control message, and send a service control response message to the CMTS 30, and is further configured to receive the CMTS 30 sending The service releases the message and releases the service policy based on the service release message.
该客户端 74用于接收该 CMTS 30发送的该业务建立消息, 还用 于向该 CMTS 30发送业务断开消息。  The client 74 is configured to receive the service setup message sent by the CMTS 30, and is further configured to send a service disconnect message to the CMTS 30.
需要说明的是, 上述系统可以为 HFC。  It should be noted that the above system may be an HFC.
这样, 上述系统在不包括策略服务器的情况下, 实现了业务数 据流的建立, 并且由于策略服务器的成本较高, 进一步减少了建立 业务数据流的实现成本。 In this way, the above system implements the establishment of the service data flow without including the policy server, and further reduces the establishment due to the high cost of the policy server. The cost of implementing a business data stream.
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围 并不局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技 术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围 之内。 因此, 本发明的保护范围应所述以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 claims
1、 一种建立业务数据流的方法, 其特征在于, 包括: 1. A method of establishing business data flow, characterized by including:
电缆调制解调器管理设备 CMTS 获取应用服务器发送的业务建立 消息, 其中, 所述业务建立消息为所述应用服务器向客户端发送的消 息; The cable modem management equipment CMTS obtains the service establishment message sent by the application server, where the service establishment message is a message sent by the application server to the client;
根据所述业务建立消息与电缆调制解调器 CM 完成业务数据流的 建立, 其中, 所述业务数据流用于承载所述 CMTS和所述 CM之间的传 输数据。 The service data flow is established with the cable modem CM according to the service establishment message, where the service data flow is used to carry transmission data between the CMTS and the CM.
2、 根据权利要求 1 所述的方法, 其特征在于, 所述根据所述业 务建立消息与 CM完成业务数据流的建立包括: 2. The method according to claim 1, characterized in that, completing the establishment of the service data flow according to the service establishment message and the CM includes:
根据所述业务建立消息获得请求方接口信息和响应方接口信息; 根据所述请求方接口信息和响应方接口信息与所述 CM 完成业务 数据流的建立。 Obtain the requester interface information and the responder interface information according to the service establishment message; and complete the establishment of the service data flow with the CM according to the requester interface information and the responder interface information.
3、 根据权利要求 1所述的方法, 其特征在于, 在所述 CMTS获取 应用服务器发送的业务建立消息前, 所述方法还包括: 3. The method according to claim 1, characterized in that, before the CMTS obtains the service establishment message sent by the application server, the method further includes:
获取客户端发送的业务请求建立消息, 其中, 所述业务请求建立 消息包括请求方接口信息和被叫方标识信息; Obtain the service request establishment message sent by the client, where the service request establishment message includes the requesting party interface information and the called party identification information;
将所述业务请求建立消息发送至所述应用服务器, 以便所述应用 服务器根据所述被叫方标识信息获得对应的被叫方接口信息; Send the service request establishment message to the application server, so that the application server obtains the corresponding called party interface information according to the called party identification information;
所述根据所述业务建立消息与 CM完成业务数据流的建立包括: 根据所述请求方接口信息和响应方接口信息与所述 CM 完成业务 数据流的建立。 The step of completing the establishment of the service data flow with the CM according to the service establishment message includes: completing the establishment of the service data flow with the CM according to the requester interface information and the responder interface information.
4、 根据权利要求 2或 3所述的方法, 其特征在于, 所述根据所 述请求方接口信息和响应方接口信息与所述 CM 完成业务数据流的建 立包括: 4. The method according to claim 2 or 3, characterized in that, completing the establishment of the service data flow according to the requester interface information and the responder interface information and the CM includes:
向所述 CM发送业务添加请求消息, 其中, 所述业务添加请求消 息包括所述请求方接口信息和响应方接口信息, 以便所述 CM根据所 述请求方接口信息和响应方接口信息建立上行业务数据流, 其中, 所 述上行业务数据流用于承载所述 CM至所述 CMTS的传输数据; 接收所述 CM发送的业务添加请求响应消息; Send a service addition request message to the CM, where the service addition request message includes the requester interface information and the responder interface information, so that the CM establishes an uplink service based on the requester interface information and the responder interface information. Data flow, wherein the uplink service data flow is used to carry transmission data from the CM to the CMTS; Receive the service addition request response message sent by the CM;
在接收到所述业务添加请求响应消息后, 根据所述请求方接口信 息和响应方接口信息建立下行业务数据流, 并向所述 CM发送业务添 加完成消息。 以完成业务数据流的建立; 其中, 所述下行业务数据流 用于承载所述 CMTS至所述 CM的传输数据; 该业务数据流包括所述上 行业务数据流和下行业务数据流。 After receiving the service addition request response message, a downlink service data flow is established based on the requester interface information and the responder interface information, and a service addition completion message is sent to the CM. To complete the establishment of the service data flow; wherein, the downlink service data flow is used to carry the transmission data from the CMTS to the CM; the service data flow includes the uplink service data flow and the downlink service data flow.
5、 根据权利要求 4所述的方法, 其特征在于, 在向所述 CM发送 业务添加完成消息后, 所述方法还包括: 5. The method according to claim 4, characterized in that, after sending a service addition completion message to the CM, the method further includes:
向记录保持服务器发送服务控制消息, 以便所述记录保持服务器 根据所述服务控制消息建立对应的服务策略; Send a service control message to the record keeping server, so that the record keeping server establishes a corresponding service policy based on the service control message;
接收所述记录保持服务器根据所述服务控制消息发送的服务控 制响应消息。 Receive a service control response message sent by the record keeping server according to the service control message.
6、 根据权利要求 5 所述的方法, 其特征在于, 在接收到所述记 录保持服务器根据所述服务控制消息发送的服务控制响应消息后, 所 述方法还包括: 6. The method according to claim 5, wherein after receiving the service control response message sent by the record keeping server according to the service control message, the method further includes:
将所述业务建立消息发送至所述客户端。 Send the service establishment message to the client.
7、 根据权利要求 1 至 6任一项所述的方法, 其特征在于, 所述 方法还包括: 7. The method according to any one of claims 1 to 6, characterized in that the method further includes:
获取所述客户端发送的业务断开消息; Obtain the service disconnection message sent by the client;
根据所述业务断开消息与所述 CM完成所述业务数据流的删除。 The deletion of the service data flow is completed according to the service disconnection message and the CM.
8、 根据权利要求 7 所述的方法, 其特征在于, 所述根据所述业 务断开消息与所述 CM完成所述业务数据流的删除包括: 8. The method according to claim 7, characterized in that, completing the deletion of the service data flow according to the service disconnection message and the CM includes:
向所述 CM发送业务删除请求消息, 以便所述 CM根据所述业务删 除请求消息删除所述上行业务数据流; Send a service deletion request message to the CM, so that the CM deletes the uplink service data flow according to the service deletion request message;
接收所述 CM发送的业务删除请求响应消息, 并根据所述业务删 除请求响应消息删除所述下行业务数据流, 以完成所述业务数据流的 删除。 Receive the service deletion request response message sent by the CM, and delete the downlink service data flow according to the service deletion request response message to complete the deletion of the service data flow.
9、 根据权利要求 7或 8 所述的方法, 其特征在于, 在所述根据 所述业务断开消息与所述 CM 完成所述业务数据流的删除后, 所述方 法还包括: 9. The method according to claim 7 or 8, characterized in that, after the deletion of the service data flow is completed according to the service disconnection message and the CM, the method The law also includes:
向所述记录保持服务器发送服务释放消息, 以便所述记录保持服 务器根据所述服务释放消息释放所述服务策略。 Send a service release message to the record keeping server, so that the record keeping server releases the service policy according to the service release message.
10、 根据权利要求 9所述的方法, 其特征在于, 在所述记录保持 服务器根据所述服务释放消息释放所述服务策略后, 所述方法还包 括: 10. The method according to claim 9, characterized in that, after the record keeping server releases the service policy according to the service release message, the method further includes:
在接收到所述记录保持服务器发送的服务释放响应消息后, 将所 述业务断开消息发送至所述应用服务器。 After receiving the service release response message sent by the record keeping server, the service disconnect message is sent to the application server.
11、 一种电缆调制解调器管理设备 CMTS, 其特征在于, 包括: 获取单元, 用于获取应用服务器发送的业务建立消息, 其中, 所 述业务建立消息为所述应用服务器向客户端发送的消息; 11. A cable modem management device CMTS, characterized in that it includes: an acquisition unit, configured to acquire a service establishment message sent by an application server, wherein the service establishment message is a message sent by the application server to the client;
处理单元, 用于根据所述业务建立消息与电缆调制解调器 CM 完 成业务数据流的建立, 其中, 所述业务数据流用于承载所述 CMTS 和 所述 CM之间的传输数据。 A processing unit, configured to complete the establishment of a service data flow with the cable modem CM according to the service establishment message, wherein the service data flow is used to carry transmission data between the CMTS and the CM.
12、 根据权利要求 11所述的 CMTS, 其特征在于, 所述处理单元 具体用于, 根据所述业务建立消息获得请求方接口信息和响应方接口 信息; 12. The CMTS according to claim 11, wherein the processing unit is specifically configured to obtain requester interface information and responder interface information according to the service establishment message;
根据所述请求方接口信息和响应方接口信息与所述 CM 完成业务 数据流的建立。 Complete the establishment of service data flow with the CM according to the requester interface information and responder interface information.
13、 根据权利要求 11 所应用服务器发送的业务建立消息前, 获 取客户端发送的业务请求建立消息, 其中, 所述业务请求建立消息包 括请求方接口信息和被叫方标识信息; 13. According to claim 11, before the service establishment message sent by the applied server, obtain the service request establishment message sent by the client, wherein the service request establishment message includes the requesting party interface information and the called party identification information;
所述 CMTS 还包括: 第一发送单元, 用于将所述业务请求建立消 息发送至所述应用服务器, 以便所述应用服务器根据所述被叫方标识 信息获得对应的被叫方接口信息; The CMTS also includes: a first sending unit, configured to send the service request establishment message to the application server, so that the application server obtains the corresponding called party interface information according to the called party identification information;
所述处理单元具体用于, 根据所述请求方接口信息和响应方接口 信息与所述 CM完成业务数据流的建立。 The processing unit is specifically configured to complete the establishment of a service data flow with the CM according to the requester interface information and the responder interface information.
14、根据权利要求 12或 13所述的 CMTS, 其特征在于, 所述 CMTS 还包括: 第二发送单元, 用于向所述 CM发送业务添加请求消息, 其 中, 所述业务添加请求消息包括所述请求方接口信息和响应方接口信 息, 以便所述 CM根据所述请求方接口信息和响应方接口信息建立上 行业务数据流, 其中, 所述上行业务数据流用于承载所述 CM 至所述 CMTS的传输数据; 14. The CMTS according to claim 12 or 13, characterized in that, the CMTS further includes: a second sending unit, configured to send a service addition request message to the CM, , the service addition request message includes the requester interface information and the responder interface information, so that the CM establishes an uplink service data flow according to the requester interface information and the responder interface information, wherein, the uplink service data The stream is used to carry transmission data from the CM to the CMTS;
所述获取单元具体用于, 接收所述 CM发送的业务添加请求响应 消息; The acquisition unit is specifically configured to receive the service addition request response message sent by the CM;
所述处理单元具体用于, 在接收到所述业务添加请求响应消息 后, 根据所述请求方接口信息和响应方接口信息建立下行业务数据 流, 其中, 所述下行业务数据流用于承载所述 CMTS至所述 CM的传输 数据; The processing unit is specifically configured to, after receiving the service addition request response message, establish a downlink service data flow according to the requester interface information and the responder interface information, wherein the downlink service data flow is used to carry the Transmission data from CMTS to the CM;
所述第二发送单元还用于, 向所述 CM发送业务添加完成消息, 以完成业务数据流的建立, 其中, 该业务数据流包括所述上行业务数 据流和下行业务数据流。 The second sending unit is also configured to send a service addition completion message to the CM to complete the establishment of a service data flow, where the service data flow includes the uplink service data flow and the downlink service data flow.
1 5、 根据权利要求 1 4所述的 CMTS , 其特征在于, 所述第二发送 单元还用于, 在向所述 CM发送业务添加完成消息后, 向记录保持服 务器发送服务控制消息, 以便所述记录保持服务器根据所述服务控制 消息建立对应的服务策略; 15. The CMTS according to claim 14, wherein the second sending unit is further configured to, after sending a service addition completion message to the CM, send a service control message to the record keeping server, so that the The record keeping server establishes a corresponding service policy according to the service control message;
所述获取单元还用于, 接收所述记录保持服务器根据所述服务控 制消息发送的服务控制响应消息。 The obtaining unit is further configured to receive a service control response message sent by the record keeping server according to the service control message.
1 6、 根据权利要求 1 5所述的 CMTS , 其特征在于, 所述第二发送 单元还用于, 在接收到所述记录保持服务器根据所述服务控制消息发 送的服务控制响应消息后, 将所述业务建立消息发送至所述客户端。 16. The CMTS according to claim 15, wherein the second sending unit is further configured to, after receiving the service control response message sent by the record keeping server according to the service control message, send The service establishment message is sent to the client.
1 7、 根据权利要求 1 1 至 1 6任一项所述的 CMTS , 其特征在于, 所述获取单元还用于, 获取所述客户端发送的业务断开消息; 17. The CMTS according to any one of claims 11 to 16, characterized in that the obtaining unit is also used to obtain the service disconnection message sent by the client;
所述处理单元还用于, 根据所述业务断开消息与所述 CM 完成所 述业务数据流的删除。 The processing unit is also configured to complete deletion of the service data flow according to the service disconnection message and the CM.
1 8、 根据权利要求 1 7所述的 CMTS , 其特征在于, 所述处理单元 具体用于, 向所述 CM发送业务删除请求消息, 以便所述 CM根据所述 业务删除请求消息删除所述上行业务数据流; 接收所述 CM发送的业 务删除请求响应消息, 并根据所述业务删除请求响应消息删除所述下 行业务数据流, 以完成所述业务数据流的删除。 18. The CMTS according to claim 17, wherein the processing unit is specifically configured to send a service deletion request message to the CM, so that the CM deletes the uplink according to the service deletion request message. Business data flow; Receive business data sent by the CM service deletion request response message, and deletes the downlink service data flow according to the service deletion request response message to complete deletion of the service data flow.
1 9、 根据权利要求 1 7 或 1 8 所述的 CMTS , 其特征在于, 所述第 二发送单元还用于, 在根据所述业务断开消息与所述 CM 完成所述业 务数据流的删除后, 向所述记录保持服务器发送服务释放消息, 以便 所述记录保持服务器根据所述服务释放消息释放所述服务策略。 19. The CMTS according to claim 17 or 18, characterized in that the second sending unit is further configured to complete the deletion of the service data flow according to the service disconnection message and the CM. Finally, a service release message is sent to the record keeping server, so that the record keeping server releases the service policy according to the service release message.
20、 根据权利要求 1 9所述的 CMTS , 其特征在于, 所述第二发送 单元还用于, 在记录保持服务器根据所述服务释放消息释放所述服务 策略且接收到所述记录保持服务器发送的服务释放响应消息后, 将所 述业务断开消息发送至所述应用服务器。 20. The CMTS according to claim 19, wherein the second sending unit is further configured to release the service policy according to the service release message at the record keeping server and receive the service policy sent by the record keeping server. After receiving the service release response message, the service disconnect message is sent to the application server.
21、 一种业务数据流建立的系统, 其特征在于, 包括电缆调制解 调器管理设备 CMTS、 电缆调制解调器 CM、 应用服务器和记录保持服 务器以及与所述 CM对应的客户端, 其中, 21. A system for establishing service data flows, characterized by including a cable modem management device CMTS, a cable modem CM, an application server and a record keeping server, and a client corresponding to the CM, where,
所述应用服务器用于向所述客户端发送业务建立消息; 其中, 所 述业务建立消息为所述应用服务器向客户端发送的消息, 还用于接收 所述 CMTS发送的业务断开消息; The application server is used to send a service establishment message to the client; wherein the service establishment message is a message sent by the application server to the client, and is also used to receive a service disconnection message sent by the CMTS;
所述 CMTS 包括权利要求 1 1至 2 0任一项所述的 CMTS ; The CMTS includes the CMTS described in any one of claims 11 to 20;
所述 CM用于与所述 CMTS之间完成业务数据流的建立和删除; 所述记录保持服务器用于接收所述 CMTS 发送的服务控制消息, 并根据所述服务控制消息建立对应的服务策略, 并向所述 CMTS 发送 服务控制响应消息, 还用于接收所述 CMTS 发送的服务释放消息, 并 根据所述服务释放消息释放所述服务策略; The CM is used to complete the establishment and deletion of service data flows with the CMTS; the record keeping server is used to receive the service control message sent by the CMTS, and establish a corresponding service policy according to the service control message, and send a service control response message to the CMTS, and also be used to receive a service release message sent by the CMTS, and release the service policy according to the service release message;
所述客户端用于接收所述 CMTS 发送的所述业务建立消息, 还用 于向所述 CMTS发送业务断开消息。 The client is configured to receive the service establishment message sent by the CMTS, and is also configured to send a service disconnection message to the CMTS.
PCT/CN2013/079479 2013-07-16 2013-07-16 Method, device and system for establishing service data flow WO2015006928A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/079479 WO2015006928A1 (en) 2013-07-16 2013-07-16 Method, device and system for establishing service data flow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/079479 WO2015006928A1 (en) 2013-07-16 2013-07-16 Method, device and system for establishing service data flow

Publications (1)

Publication Number Publication Date
WO2015006928A1 true WO2015006928A1 (en) 2015-01-22

Family

ID=52345693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079479 WO2015006928A1 (en) 2013-07-16 2013-07-16 Method, device and system for establishing service data flow

Country Status (1)

Country Link
WO (1) WO2015006928A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116655A1 (en) * 2001-02-16 2002-08-22 Gemini Networks, Inc. System, method, and computer program product for dynamic bandwidth quality of service (QoS) provisioning
US20060165082A1 (en) * 2005-01-27 2006-07-27 Pfeffer Howard L System and method for facilitating communication between a CMTS and an application server in a cable network
CN101843058A (en) * 2007-10-31 2010-09-22 朗讯科技公司 Method of integrating femtocells in a packet cable multimedia architecture
CN102210132A (en) * 2008-11-10 2011-10-05 捷讯研究有限公司 Method and system for supporting sip session policy using existing authorization architecture and protocols

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020116655A1 (en) * 2001-02-16 2002-08-22 Gemini Networks, Inc. System, method, and computer program product for dynamic bandwidth quality of service (QoS) provisioning
US20060165082A1 (en) * 2005-01-27 2006-07-27 Pfeffer Howard L System and method for facilitating communication between a CMTS and an application server in a cable network
CN101843058A (en) * 2007-10-31 2010-09-22 朗讯科技公司 Method of integrating femtocells in a packet cable multimedia architecture
CN102210132A (en) * 2008-11-10 2011-10-05 捷讯研究有限公司 Method and system for supporting sip session policy using existing authorization architecture and protocols

Similar Documents

Publication Publication Date Title
TWI357749B (en)
US10097693B2 (en) Managing data streams for a communication network
JP2015507901A5 (en)
WO2011088656A1 (en) Method and system for implementing three-party call of videophone by mobile terminals
WO2013097457A1 (en) Method, device, and system for realizing voip call in cloud computing environment
WO2011144080A2 (en) Communication method, system and apparatus
WO2013071893A1 (en) Guaranteeing method, device and system of communication service qos in nat scenario
WO2015062454A1 (en) Audio and video call method, device and system
CN112953925A (en) Real-time audio and video communication system and method based on SIP (Session initiation protocol) and RTC (real time communication) network
CN109429108B (en) IOS mobile terminal watching terminal video microphone connecting method based on socket
CN112073244A (en) TR069 protocol-based message processing method and system
JP2004235778A (en) Response processing control method
WO2017092248A1 (en) Method and device for ending video communication
CN104580983A (en) Method for achieving video communication PTT
CN109218542B (en) Method, apparatus and computer-readable storage medium for call management
JP2015177296A (en) Image communication system, image communication environment providing method, server, server control method, and computer program
TW201743594A (en) System d of dynamically identifying VoIP calling and calling and called subscribers accommodated in the same SBC for NGN/IMS and method thereof capable of effectively banning illegal IP from illegally using telecommunication resources
WO2022090763A1 (en) Interactive calling for internet-of-things
TWI426770B (en) Voip gateway and mothod for establishing call using the voip gateway
WO2013013524A1 (en) Method and system for realizing cross-network terminal communication
EP3073691B1 (en) Method and device for improving qos
US7283624B1 (en) Idle detection for answer supervision
WO2009067944A1 (en) Device management method, system and means
WO2015006928A1 (en) Method, device and system for establishing service data flow
JP2013115639A (en) Telephone device and telephone system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13889640

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13889640

Country of ref document: EP

Kind code of ref document: A1