[go: up one dir, main page]

CN101383785A - A Service Flow Management Method Oriented to SIP Application - Google Patents

A Service Flow Management Method Oriented to SIP Application Download PDF

Info

Publication number
CN101383785A
CN101383785A CNA2008102250326A CN200810225032A CN101383785A CN 101383785 A CN101383785 A CN 101383785A CN A2008102250326 A CNA2008102250326 A CN A2008102250326A CN 200810225032 A CN200810225032 A CN 200810225032A CN 101383785 A CN101383785 A CN 101383785A
Authority
CN
China
Prior art keywords
user
sip
service
information
local
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008102250326A
Other languages
Chinese (zh)
Other versions
CN101383785B (en
Inventor
王煜炜
吉勋
刘敏
周北春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Star Earth Communication Engineering Research Institute
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN2008102250326A priority Critical patent/CN101383785B/en
Publication of CN101383785A publication Critical patent/CN101383785A/en
Application granted granted Critical
Publication of CN101383785B publication Critical patent/CN101383785B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种面向SIP应用的业务流管理方法,用户登录本地SIP代理服务器,向该SIP代理服务器发送PUBLISH消息;本地SIP用户发起或者接收通信业务请求,解析SIP业务请求INVITE消息,查询所述PUBLISH消息,发送业务发起通告至网络层数据处理单元;在网络层截获发往对应用户的数据包,根据所述业务发起通告,基于用户的SIP地址维护用户业务流信息管理表,为每个用户的每条业务流通信链路建立对应数据包队列通道,进行数据包队列的调度。本发明采用了针对SIP典型应用的新业务通告机制,以用户SIP地址为关键字进行业务流资源的管理,根据用户接入网络状况的变化,结合用户业务需求等级信息来实时地调配当前业务流的带宽,有效地提高网络资源的利用率和当前网络工作效率。

Figure 200810225032

The invention provides a service flow management method oriented to SIP applications. A user logs in to a local SIP proxy server and sends a PUBLISH message to the SIP proxy server; a local SIP user initiates or receives a communication service request, parses the SIP service request INVITE message, and queries the PUBLISH message, send a service initiation notice to the network layer data processing unit; intercept the data packet sent to the corresponding user at the network layer, initiate the notice according to the service, maintain the user service flow information management table based on the user's SIP address, and provide each user Each service flow communication link establishes a corresponding data packet queue channel to schedule the data packet queue. The present invention adopts a new service announcement mechanism aimed at typical applications of SIP, uses the user's SIP address as a keyword to manage service flow resources, and allocates the current service flow in real time according to changes in user access network conditions and combined with user service demand level information The bandwidth can effectively improve the utilization rate of network resources and the current network work efficiency.

Figure 200810225032

Description

一种面向SIP应用的业务流管理方法 A Service Flow Management Method Oriented to SIP Application

技术领域 technical field

本发明涉及互联网和多媒体通信技术领域,更具体地,本发明涉及在IPv4/IPv6网络环境下的一种面向SIP应用的业务流管理方法。The present invention relates to the technical field of Internet and multimedia communication, and more specifically, the present invention relates to a SIP application-oriented service flow management method under the IPv4/IPv6 network environment.

背景技术 Background technique

当前,网络技术进入一个飞速发展的全新时代,互联网、电信网和广播电视网络日趋融合,下一代网络必将会是固定网络和移动网络融合在一起的全IP网络。与此同时,基于下一代网络的各种新的业务不断涌现,要求支持诸如语音、图像、视频等各种多媒体服务。At present, network technology has entered a new era of rapid development, and the Internet, telecommunication networks, and radio and television networks are increasingly integrated. The next-generation network will definitely be an all-IP network that integrates fixed and mobile networks. At the same time, various new services based on next-generation networks are constantly emerging, requiring support for various multimedia services such as voice, image, and video.

初始会话协议(Session Initiation Protocol,SIP)是当前研究的最多的与下一代网络相关的协议之一,基于SIP能够很容易地建立、维护、修改和终止多媒体会话,由于SIP的简洁灵活、易扩展等特性,使其在下一代互联网中得到越来越广泛的应用。今天,越来越多的运营商和ITSP(IP电话服务商)都在提供基于SIP的应用。Session Initiation Protocol (SIP) is one of the most researched protocols related to next-generation networks. Based on SIP, multimedia sessions can be easily established, maintained, modified, and terminated. Due to SIP's simplicity, flexibility, and easy expansion And other characteristics, making it more and more widely used in the next generation Internet. Today, more and more operators and ITSPs (IP telephony service providers) are providing SIP-based applications.

但是,基于SIP的应用同样存在很多问题。其中,如何针对各种多媒体业务进行有效的业务流的管理,以保证业务的服务质量就是其中亟待解决的问题。传统的业务流管理软件或者方法如Ethereal和L7filter等往往侧重于应用层、网络层基于数据包报文内容或结构特征的识别。因此,此类方法往往建立在对已有应用的数据报文对应的通信协议非常了解的基础之上。然而面向下一代互联网的业务种类剧增,且越来越多的应用软件或系统基于各自私有的通信协议,给业务信息的识别带来一定的困难,采用上述方法所得到的数据包类型识别的准确性较低。另一方面,下一代互联网带来的挑战,特别是IPv6为主的地址结构的转变使得传统的链路信息管理方式具有一定的局限性。However, there are also many problems in the application based on SIP. Among them, how to effectively manage the service flow of various multimedia services to ensure the service quality of the service is an urgent problem to be solved. Traditional business flow management software or methods such as Ethereal and L7filter often focus on the identification of the application layer and network layer based on the content or structural characteristics of the data packet. Therefore, such methods are often based on a good understanding of the communication protocol corresponding to the data message of the existing application. However, the types of business facing the next generation Internet are increasing rapidly, and more and more application software or systems are based on their own proprietary communication protocols, which brings certain difficulties to the identification of business information. Less accurate. On the other hand, the challenges brought by the next generation Internet, especially the transformation of IPv6-based address structure, make the traditional link information management methods have certain limitations.

发明内容 Contents of the invention

为克服现有计算机网络中基于SIP应用的信息识别困难和信息管理受限的缺陷,本发明提出一种面向SIP应用的业务流管理方法。In order to overcome the defects of difficult information identification and limited information management based on SIP applications in the existing computer network, the present invention proposes a SIP application-oriented service flow management method.

根据本发明的一个方面,提出了一种面向SIP应用的业务流管理方法,包括:According to one aspect of the present invention, a kind of business flow management method oriented to SIP application is proposed, comprising:

步骤10)、用户登录本地SIP代理服务器,向该SIP代理服务器发送PUBLISH消息;Step 10), the user logs in to the local SIP proxy server, and sends a PUBLISH message to the SIP proxy server;

步骤20)、本地SIP用户发起或者接收通信业务请求,解析SIP业务请求INVITE消息,查询所述PUBLISH消息,发送业务发起通告;Step 20), the local SIP user initiates or receives a communication service request, parses the SIP service request INVITE message, inquires about the PUBLISH message, and sends a service initiation notice;

步骤30)、所述SIP代理服务器在网络层截获包括所述业务发起通告的数据包,基于用户SIP地址,为每个用户的每条业务流通信链路建立对应数据包队列通道,进行数据包队列的调度。Step 30), the SIP proxy server intercepts at the network layer the data packet comprising the service initiation notification, based on the user SIP address, establishes a corresponding data packet queue channel for each service flow communication link of each user, and performs data packet processing. Queue scheduling.

其中,所述方法还包括:Wherein, the method also includes:

步骤40)、检查所述用户业务流信息管理表中的接入网络信息,确定用户接入网络类型发生改变时,根据所述PUBLISH信息中的用户业务需求等级信息进行链路带宽的调整。Step 40), check the access network information in the user service flow information management table, and adjust the link bandwidth according to the user service demand level information in the PUBLISH information when it is determined that the user access network type changes.

其中,步骤10)中,所述用户包括本地SIP用户和远程通信主机上一个或者多个SIP用户。Wherein, in step 10), the users include a local SIP user and one or more SIP users on the remote communication host.

其中,步骤10)进一步包括:Wherein, step 10) further includes:

步骤110)、用户按照标准SIP流程登录SIP代理服务器,代理服务器回复200OK消息,用户发送PUBLISH消息至本地代理服务器;所述PUBLISH消息包括用户业务需求等级信息和用户接入网络类型;Step 110), the user logs in to the SIP proxy server according to the standard SIP flow process, the proxy server replies with a 200OK message, and the user sends a PUBLISH message to the local proxy server; the PUBLISH message includes the user's service requirement level information and the user's access network type;

步骤120)、本地代理服务器接收所述PUBLISH消息,存储到包括对端SIP地址和对端IP地址的本地数据库;Step 120), the local proxy server receives the PUBLISH message and stores it in a local database comprising the opposite end SIP address and the opposite end IP address;

步骤130)、发布更新的PUBLISH消息来改变业务等级信息并发送至本地SIP代理服务器;其中,如果用户需求等级信息改变、发生网络切换时,实时发送新的PUBLISH消息至本地SIP服务器。Step 130), issue an updated PUBLISH message to change the service level information and send it to the local SIP proxy server; wherein, if the user demand level information changes or a network switch occurs, a new PUBLISH message is sent to the local SIP server in real time.

其中,步骤20)中还包括:发送所述业务发起通告的同时,发送用户信息通告,用于查询并更新本地SIP代理服务器中的用户信息。Wherein, step 20) further includes: while sending the service initiation notification, sending a user information notification for querying and updating user information in the local SIP proxy server.

其中,步骤20)进一步包括:Wherein, step 20) further includes:

步骤210)、本地用户按照SIP流程和其他SIP用户建立多媒体业务,本地代理服务器解析INVITE及200OK消息,从所述200OK消息中解析出当前发起业务的信息;Step 210), the local user establishes a multimedia service with other SIP users according to the SIP process, and the local proxy server parses the INVITE and 200OK messages, and parses out the information of the current service initiation from the 200OK message;

步骤220)、根据所述当前发起业务的信息,组成业务发起通告并发送至系统网络层处理单元的指定处理端口;Step 220), according to the information of the current service initiation, compose a service initiation notice and send it to the designated processing port of the system network layer processing unit;

步骤230)、本地SIP代理服务器根据对方SIP地址查询用户业务需求等级信息和接入网络信息,将其中的用户信息以通告的形式发送至系统底层指定处理端口;Step 230), the local SIP proxy server queries the user's service requirement level information and access network information according to the other party's SIP address, and sends the user information therein to the specified processing port at the bottom of the system in the form of a notification;

步骤240)、当本地SIP代理服务器接收到更新的PUBLISH消息时,提取出本地用户信息,确定信息内容改变后,将原有数据库信息更新,根据用户信息表中的对端用户IP及SIP地址信息及时通知该对端用户。Step 240), when the local SIP proxy server receives the updated PUBLISH message, extract the local user information, after determining that the content of the information changes, update the original database information, according to the peer user IP and SIP address information in the user information table Notify the peer user in time.

其中,步骤210)进一步包括:其他SIP用户发起多媒体业务,本地用户回复200OK消息,从对方发送过来的INVITE消息中解析出当前发起业务的信息。Wherein, step 210) further includes: other SIP users initiate multimedia services, the local user replies with a 200 OK message, and parses out the information of the currently initiated service from the INVITE message sent by the other party.

其中,步骤230)中,所述查询过程包括:Wherein, in step 230), the query process includes:

通信对端用户和本地用户为相同域内的用户,代理服务器将直接在本地数据库中查询相关信息;The communication peer user and the local user are users in the same domain, and the proxy server will directly query the relevant information in the local database;

通信对端用户和本地用户为不同域内的用户,代理服务器根据对方SIP地址发送查询消息至对方域的SIP代理服务器,由对方域内SIP代理服务器执行域内查询。The communication peer user and the local user are users in different domains, and the proxy server sends a query message to the SIP proxy server in the other domain according to the SIP address of the other party, and the SIP proxy server in the other domain executes the intra-domain query.

其中,步骤30)进一步包括:Wherein, step 30) further includes:

步骤310)、在指定端口接收新业务发起通告和用户信息,建立用户业务流信息管理表,其中,表中每一个业务对应一系列新业务发起通告信息,一个用户可以对应若干个业务;Step 310), receiving new service initiation notification and user information at the designated port, and establishing a user service flow information management table, wherein, each service in the table corresponds to a series of new service initiation notification information, and one user may correspond to several services;

步骤320)、本地用户接收到业务发起通告,以用户所在业务的IP地址和端口为依据,在网络层截获数据包,并根据所述用户业务流信息管理表建立数据包管理队列进行业务流管理;Step 320), the local user receives the service initiation notice, based on the IP address and port of the user's service, intercepts the data packet at the network layer, and establishes a data packet management queue according to the user service flow information management table to manage the service flow ;

步骤330)、根据所述数据包管理队列和所述业务发起通告,在不需要进行QoS调节的情况下,数据包管理队列的内、外两层按照轮转的方式进行数据包调度。Step 330), according to the data packet management queue and the service initiation notification, if no QoS adjustment is required, the inner and outer layers of the data packet management queue perform data packet scheduling in a round-robin manner.

其中,步骤320)中,数据包管理队列中,外层队列按照用户进行分类管理,内层队列按用户业务的通信端口进行分类,内外数据包队列的长度相同。Wherein, in step 320), among the data packet management queues, the outer queues are classified and managed according to users, the inner queues are classified according to the communication ports of user services, and the lengths of the inner and outer data packet queues are the same.

其中,步骤40)进一步包括:Wherein, step 40) further includes:

步骤410)、本地用户查询用户业务流信息管理表中远程用户的接入网络状况和业务需求等级信息,实时与前一时刻用户接入网络状况信息进行对比;Step 410), the local user queries the remote user's access network status and service demand level information in the user service flow information management table, and compares it with the user access network status information at the previous moment in real time;

步骤420)、确定用户接入状况信息发生变化且持续一定时间,根据用户业务等级信息调整流向该用户的业务流带宽,包括按照用户业务等级对不同业务对应的队列进行丢包。Step 420), determine that the user access status information has changed for a certain period of time, and adjust the service flow bandwidth to the user according to the user service level information, including dropping packets for queues corresponding to different services according to the user service level.

本方法中借鉴传统业务流管理方法,针对SIP协议发起业务的特殊性,将应用层的业务发起消息同网络层的数据包的管理与调度相结合,准确实现了业务流类别的识别;同时借助于SIP特有的消息扩展方式,实现用户信息的实时发布与更改。本发明采用了针对SIP典型应用的新业务通告机制,以用户SIP地址为关键字进行业务流资源的管理,根据用户接入网络状况的变化,结合用户业务需求等级信息来实时地调配当前业务流的带宽,有效地提高网络资源的利用率和当前网络工作效率。In this method, the traditional service flow management method is used for reference, and the service initiation message of the application layer is combined with the management and scheduling of the data packet of the network layer in view of the particularity of the service initiated by the SIP protocol, so as to accurately realize the identification of the service flow category; Based on the unique message extension method of SIP, real-time release and modification of user information can be realized. The present invention adopts a new service announcement mechanism aimed at typical applications of SIP, uses the user's SIP address as a keyword to manage service flow resources, and allocates the current service flow in real time according to changes in user access network conditions and combined with user service demand level information The bandwidth can effectively improve the utilization rate of network resources and the current network work efficiency.

附图说明 Description of drawings

图1为根据本发明的实施例的网络拓扑结构图;Fig. 1 is a network topology structure diagram according to an embodiment of the present invention;

图2为根据本发明的实施例的业务流管理方法的总体流程图;Fig. 2 is the overall flowchart of the business flow management method according to the embodiment of the present invention;

图3为用户信息发布及业务建立通告发布示意图;Figure 3 is a schematic diagram of user information release and service establishment notice release;

图4为SIP消息结构参考图;Fig. 4 is a reference diagram of SIP message structure;

图5为用户各业务流对应的数据包队列结构示意图;FIG. 5 is a schematic diagram of a data packet queue structure corresponding to each service flow of a user;

图6为数据包队列丢包率调节流程图。Fig. 6 is a flow chart of adjusting the packet loss rate of the data packet queue.

具体实施方式 Detailed ways

下面结合附图和具体实施例对本发明提供的一种面向SIP应用的业务流管理方法进行详细描述。A SIP application-oriented service flow management method provided by the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

在根据本发明的一个实施例中,提供一种在异构网络环境下实时、自动地为多媒体通信业务用户提供业务流管理的方法,该实施例可以应用于运行在Linux操作系统平台上的音视频数据传输的多媒体通信业务上。图1示出具体网络拓扑环境,如图1所示,用户A通过无线方式接入网络(如WLAN),B用户通过无线方式接入网络(假设也为WLAN),C用户通过LAN接入网络。A用户通过核心IP网络同B和C用户进行音视频或文件数据传输。实线表示正在连接的有线链路,闪电符号表示无线链路。A、B和C用户三者均通过登录SIP代理服务器来完成业务的建立和结束,该实施例给出各用户处于同一管理域内的情况,实际网络环境下,各用户可以处于不同的管理域中。根据本发明的方法同时适用于通信双方为异种网络接入环境下的基于IP核心网的多媒体通信业务过程,在异种接入方式的情况下,网络能提供的带宽各有差别,但本发明涉及的探测及调节方式同样适用。In one embodiment of the present invention, a method for automatically providing service flow management for multimedia communication service users in real time under a heterogeneous network environment is provided. Multimedia communication services for video data transmission. Figure 1 shows the specific network topology environment. As shown in Figure 1, user A accesses the network through wireless (such as WLAN), user B accesses the network through wireless (assuming it is also WLAN), and user C accesses the network through LAN . User A transmits audio, video or file data with users B and C through the core IP network. A solid line indicates a wired link being connected, and a lightning symbol indicates a wireless link. All three users of A, B and C complete the establishment and termination of the service by logging into the SIP proxy server. This embodiment provides the situation that each user is in the same management domain. In the actual network environment, each user can be in a different management domain. . According to the method of the present invention, it is applicable to the multimedia communication service process based on the IP core network under the environment where both communication parties are heterogeneous network access. In the case of heterogeneous access methods, the bandwidth that the network can provide is different, but the present invention relates to The same detection and adjustment methods are applicable.

图2示出根据本发明的实施例的一种面向典型SIP应用的业务流管理方法的整体流程图,所述方法可为当前主机的多个SIP通信终端用户提供业务流信息的管理和用户信息的发布,包括:用户登录本地SIP代理服务器,向该SIP代理服务器发送PUBLISH消息(包括用户业务等级信息等);本地SIP用户发起或者接收通信业务请求,解析SIP业务请求INVITE消息,查询所述PUBLISH消息,发送业务发起通告;所述SIP代理服务器建立用户业务流信息管理表,在网络层截获包括所述业务发起通告的数据包,基于用户SIP地址,为每个用户的每条业务流通信链路建立对应数据包队列通道,进行数据包队列的调度;检查所述用户业务流信息管理表中的接入网络信息,确定用户接入网络类型发生改变时,根据所述PUBLISH信息中的用户业务需求等级信息进行链路带宽的调整。Figure 2 shows an overall flow chart of a typical SIP application-oriented service flow management method according to an embodiment of the present invention, the method can provide service flow information management and user information for multiple SIP communication terminal users of the current host Publishing, including: the user logs in to the local SIP proxy server, and sends a PUBLISH message (including user service level information, etc.) to the SIP proxy server; the local SIP user initiates or receives a communication service request, parses the SIP service request INVITE message, and inquires about the PUBLISH message, and send a service initiation notice; the SIP proxy server establishes a user service flow information management table, intercepts a data packet including the service initiation notice at the network layer, and, based on the user SIP address, provides a communication link for each service flow of each user establish the corresponding data packet queue channel, and schedule the data packet queue; check the access network information in the user service flow information management table, and determine that when the user access network type changes, according to the user service in the PUBLISH information Link bandwidth adjustments are made based on demand level information.

如图2和图3所示,当本地SIP用户和远程通信主机上一个或者多个SIP用户进行多媒体通信时,执行以下步骤:As shown in Figure 2 and Figure 3, when the local SIP user and one or more SIP users on the remote communication host carry out multimedia communication, perform the following steps:

(1)、本地SIP用户A,对端SIP用户B、C分别登录本地SIP代理服务器(SIP Proxy),并向该代理服务器发送带有用户业务需求等级信息、用户接入网络类型等信息的PUBLISH消息,代理服务器将该PUBLISH信息存储至本地数据库。如本领域内技术人员公知,PUBLISH消息在SIP协议中详细定义,上述用户发送的PUBLISH消息包括但不限于用户业务需求等级信息、用户接入网络类型。(1) Local SIP user A, peer SIP users B and C log in to the local SIP proxy server (SIP Proxy) respectively, and send a PUBLISH with information such as the user's business demand level information and the user's access network type to the proxy server message, the proxy server stores the PUBLISH information in the local database. As is well known to those skilled in the art, the PUBLISH message is defined in detail in the SIP protocol, and the PUBLISH message sent by the above-mentioned user includes but not limited to user service requirement level information and user access network type.

进一步,所述步骤(1)包括:Further, the step (1) includes:

(10)、用户A、B和C按照标准SIP流程登录所在管理域内的SIP代理服务器,登录过程通过用户发送REGISTER消息至代理服务器来实现,代理服务器将回复包括登录成功湖中耦合失败的对应200OK消息。(10), users A, B, and C log in to the SIP proxy server in the management domain according to the standard SIP process. The login process is realized by the user sending a REGISTER message to the proxy server, and the proxy server will reply with a corresponding 200 OK including the failure of the coupling in the login success lake information.

(11)、各用户登录系统后,发送含有本用户业务等级信息、接入网络信息的用户特有信息的SIP扩展消息PUBLISH至本地代理服务器。(11) After each user logs into the system, send the SIP extended message PUBLISH containing the user's service level information and access network information to the local proxy server.

这里提到的用户特有信息是指除后面步骤(20)中提到的业务建立时的信息以外,针对于某个用户的特有属性消息,特指用户业务需求等级信息以及用户接入网络类型等,消息结构如附图4所示。The user-specific information mentioned here refers to the unique attribute information for a certain user, in addition to the information at the time of service establishment mentioned in the following step (20), specifically referring to the user's service demand level information and the user's access network type, etc. , the message structure is shown in Figure 4.

用户业务需求等级信息,对应于用户对不同业务等级的需求差异,按优先级高低排序。本方法中,将基于SIP的主要业务应用分为以下四种,对应编号如下表所示,用户可以根据实际情况来设定用户等级的顺序,按编号顺序优先级由高到低,例如:1234或者2341。User service demand level information, corresponding to the difference in user demand for different service levels, sorted by priority. In this method, the main business applications based on SIP are divided into the following four types, and the corresponding numbers are shown in the table below. Users can set the order of user levels according to the actual situation, and the priority is from high to low according to the number sequence, for example: 1234 or 2341.

  业务种类 描述 1、AUDIO 对应语音聊天、VOIP以及其它形式的音频会议等 2、VIDEO 对应视频会议、聊天等 3、FILE 对应文件共享、文件传输等 4、OTHER 其他业务,如Message等 business type describe 1. AUDIO Corresponding to voice chat, VOIP and other forms of audio conferencing, etc. 2. VIDEO Compatible with video conferencing, chat, etc. 3. FILE Corresponding to file sharing, file transfer, etc. 4. OTHER Other services, such as Message, etc.

(13)、本地代理服务器接收步骤(12)中的PUBLISH消息,同时将消息体中的用户业务需求等级信息、用户接入网络类型等信息提取,以用户信息统计表的形式存储至本地数据库当中,通常格式参考如下:(13), the local proxy server receives the PUBLISH message in step (12), and simultaneously extracts information such as user service requirement level information and user access network type in the message body, and stores them in the local database in the form of a user information statistics table , the usual format reference is as follows:

  SIP地址1(本地) 业务等级需求信息 接入网络方式 SIP地址1(对端) 对端IP地址1 SIP地址2(本地) 业务等级需求信息 接入网络方式 SIP地址2(对端) 对端IP地址2 SIP address 1 (local) Business Level Requirements Information Access to the network SIP address 1 (peer end) Peer IP address 1 SIP address 2 (local) Business Level Requirements Information Access to the network SIP address 2 (peer end) Peer IP address 2

上述表格右侧的对端SIP地址及对端IP地址为与本地SIP用户建立业务的对端用户信息,由代理服务器根据SIP信令交互内容进行维护和查询,业务结束时及时清空。实际应用中,本地和通信对端主机各自维护上述用户信息统计表,便于信息的提取和查找。The peer SIP address and peer IP address on the right side of the above table are the peer user information for establishing business with local SIP users, which are maintained and queried by the proxy server according to the SIP signaling interaction content, and cleared in time when the business ends. In practical applications, the local host and the communication peer host maintain the above-mentioned user information statistics table, which is convenient for information extraction and search.

在本实施例中,本实例中代理服务器将存储三个用户A、B、C的用户信息,内容如下:In this embodiment, the proxy server will store the user information of three users A, B, and C in this example, and the contents are as follows:

  sip:860106767672@domainl.com 1234 LAN sip:86010applelet@domainl.com 2001:cc0:2026:3::1210 sip:86010applelet@domainl.com 3241 WLAN sip:860106767672@domainl.com 2001:cc0:2026:3::70 sip:86010alice@domainl.com 2341 CDMA sip:86010applelet@domainl.com 2001:cc0:2026:3::333 sip: 860106767672@domainl.com 1234 LAN sip: 86010applelet@domainl.com 2001:cc0:2026:3::1210 sip: 86010applelet@domainl.com 3241 WLAN sip: 860106767672@domainl.com 2001:cc0:2026:3::70 sip: 86010alice@domainl.com 2341 CDMA sip: 86010applelet@domainl.com 2001:cc0:2026:3::333

上述过程中的PUBLISH消息参考附图4,实例中A、B、C各用户业务需求等级顺序分别为1234、3241、2341。Refer to Figure 4 for the PUBLISH message in the above process. In the example, the order of service requirements of users A, B, and C is 1234, 3241, and 2341, respectively.

(14)、上述步骤中,用户根据实际情况,可以随时通过发布更新的PUBLISH消息来改变业务等级信息,并发送至本域内的SIP代理服务器;特别地,如果用户需求等级信息发生改变、发生网络切换或者重新以其他接入网络形式登录SIP服务器时,可以实时发送新的PUBLISH消息至本地SIP服务器。(14), in the above steps, the user can change the service level information at any time by issuing an updated PUBLISH message according to the actual situation, and send it to the SIP proxy server in the domain; When switching or re-login to the SIP server in another access network form, a new PUBLISH message can be sent to the local SIP server in real time.

(2)、本地SIP用户A发送或者接收多媒体通信业务的请求,对SIP业务请求消息(INVITE或200OK)进行解析并整理,同时查询步骤(1)中的用户业务等级字段的信息,发送业务发起通告和用户信息通告至网络层数据处理单元。(2), local SIP user A sends or receives the request of multimedia communication service, SIP service request message (INVITE or 200OK) is analyzed and sorted out, simultaneously inquires about the information of the user's service level field in step (1), sends service initiation The notification and user information are notified to the network layer data processing unit.

进一步,所述步骤(2)包括:Further, the step (2) includes:

(21)、本地用户A按照SIP流程和其他SIP用户(例如用户B)建立多媒体业务;首先发送INVITE消息至代理服务器,然后代理服务器完成中转,将该消息发送到用户B;用户B回复200OK,本地用户A通过代理服务器中转回复ACK,新业务开始建立。同时本地代理服务器提取INVITE及200OK消息中的部分信息,更新用户信息管理表中的远程用户SIP地址和IP地址,消息结构如附图4所示。(21), local user A establishes multimedia services with other SIP users (such as user B) according to the SIP process; first send the INVITE message to the proxy server, then the proxy server completes the transfer, and sends the message to user B; user B replies 200 OK, The local user A relays the reply ACK through the proxy server, and the new service starts to be established. At the same time, the local proxy server extracts part of the information in the INVITE and 200OK messages, and updates the remote user SIP address and IP address in the user information management table. The message structure is as shown in Figure 4.

继续执行下面的(22)步骤;若未得到对方回应的200OK消息,则整个过程不再继续进行,本次新业务建立失败。Continue to execute the following step (22); if no 200 OK message is received from the other party, the whole process will not continue, and the establishment of the new service will fail.

(22)、本地主机从上述步骤(21)中的200OK消息中解析出当前发起业务的相关信息,包括双方SIP地址、IP地址、端口号、业务类型等,然后将业务相关信息组成业务发起通告,通常通告内容参考下表:(22), the local host resolves the relevant information of the current initiated business from the 200OK message in the above step (21), including the SIP address, IP address, port number, business type, etc. of both parties, and then forms the business related information into a business initiation notice , usually refer to the following table for the notice content:

  标志位 用户SIP地址 业务类型 本地IP 远程IP 端口号 flag bit User SIP address business type local IP Remote IP The port number

在本实施例中,业务通告内容参考下表:In this embodiment, the content of the business notification refers to the following table:

  IF s ip:86010applelet@domainl.com 2 2001:cc0:2026:3::1210 2001:cc0:2026:3::70 7981 IF s ip: 86010applelet@domainl.com 2 2001:cc0:2026:3::1210 2001:cc0:2026:3::70 7981

(23)、将步骤(32)中的业务发起通告发送至系统网络层处理单元指定处理端口(例如9111)。对于上述步骤(21)、(22)和(23),存在第二种情况,即本地SIP用户作为业务发起的接受方,由其他终端上的SIP用户首先发起业务的情况。此时,由本地用户回复200OK消息,随即从对方发送过来的INVITE消息中解析出当前发起业务的相关信息。(23) Send the service initiation notification in step (32) to the designated processing port (for example, 9111) of the system network layer processing unit. For the above steps (21), (22) and (23), there is a second situation, that is, the local SIP user is the recipient of the service initiation, and the SIP users on other terminals first initiate the service. At this time, the local user replies with a 200 OK message, and then parses out the relevant information of the currently initiated service from the INVITE message sent by the other party.

上述步骤中叙述的是本地用户主动发起多媒体业务的情况,若业务由对端用户主动发起,此时本地SIP用户A将作为业务发起的接受方。如附图3所示,A用户首先接收来自对端用户C的INVITE消息并进行解析,然后提取其中的SIP地址、IP地址,端口、业务类型等信息组成业务发起通告,同时回复200OK消息。业务通告内容如下:The above steps describe the situation where the local user initiates the multimedia service. If the service is initiated by the peer user, then the local SIP user A will be the recipient of the service initiation. As shown in Figure 3, user A first receives and parses the INVITE message from peer user C, and then extracts information such as SIP address, IP address, port, and service type to form a service initiation notification, and replies with a 200OK message at the same time. The content of the business announcement is as follows:

  IF sip:86010alice@domainl.com 1 2001:cc0:2026:3::1210 2001:cc0:2026:3::70 7743 IF sip: 86010alice@domainl.com 1 2001:cc0:2026:3::1210 2001:cc0:2026:3::70 7743

(24)、代理服务器根据对方SIP地址查询相关用户业务需求等级信息和接入网络信息,并将其中的用户信息以通告的形式发送至系统底层指定处理端口(本例中为9111),消息以标志位加以区分,查询过程分为以下两种情况:(24), the proxy server inquires relevant user service demand level information and access network information according to the other party's SIP address, and sends the user information therein to the designated processing port (9111 in this example) at the bottom of the system in the form of a notification, and the message is in the form of a notification The flag bits are distinguished, and the query process is divided into the following two situations:

(241)第一种情况下,通信对端用户和本地用户为相同域内的用户,此时,代理服务器将直接在本地数据库中查询相关信息,并将结果返回终端查询端口(9102);(241) In the first case, the communication peer user and the local user are users in the same domain. At this time, the proxy server will directly query relevant information in the local database, and return the result to the terminal query port (9102);

本实例中,用户A、B、C均处于同一管理域内,此时代理服务器将直接在本地数据库中查询相关信息,并将结果返回终端系统底层查询端口(9102);实际情况下,亦存在用户位于不同管理域内的情况,此时,代理服务器根据对方SIP地址发送查询消息至对方域的SIP代理服务器,由对方域内代理服务器执行域内查询,将结果返回至本域内代理服务器,查询过程采用消息问询方式,选取特定端口进行通信,如(9103和9104)。In this example, users A, B, and C are all in the same management domain. At this time, the proxy server will directly query the relevant information in the local database, and return the results to the underlying query port (9102) of the terminal system; In the case of being located in different management domains, at this time, the proxy server sends a query message to the SIP proxy server in the other domain according to the SIP address of the other party. Inquiry mode, select a specific port for communication, such as (9103 and 9104).

上述用户信息通告内容参考下表:Please refer to the following table for the content of the above user information notice:

  UI sip:86010applelet@domainl.com 3241 WLAN UI sip: 86010applelet@domainl.com 3241 WLAN

(242)第二种情况下,通信对端用户和本地用户为不同域内的用户,此时,代理服务器根据对方SIP地址发送查询消息至对方域的SIP代理服务器,由对方域内代理服务器执行域内查询,将结果返回至本域内代理服务器,查询过程采用消息问询方式,选取特定端口进行通信,如(9103和9104)。(242) In the second case, the communication peer user and the local user are users in different domains. At this time, the proxy server sends a query message to the SIP proxy server in the other domain according to the SIP address of the other party, and the proxy server in the other domain executes the intra-domain query , and return the result to the proxy server in the local domain. The query process adopts the message query method, and selects a specific port for communication, such as (9103 and 9104).

上述用户信息通告内容通常参考下表:The content of the above user information notice usually refers to the following table:

  标志位 用户SIP地址 业务等级需求信息 接入网络方式 flag bit User SIP address Business Level Requirements Information Access to the network

(25)、结合(14)中提到的情况,通信过程中用户B、C均可能发送更新的PUBLISH消息来通知代理服务器自身信息的变更,当本地代理服务器接收到更新的PUBLISH消息时,首先提取出其中的本地用户的信息,将此时的信息与前面存储的信息进行对比,如果信息相同,则不做任何处理;如果发现信息内容改变,则将原有数据库信息覆盖,并根据用户信息表中的对端用户IP及SIP地址信息及时通知该对端用户(本实例中为本地SIP用户A),通知仍然采用发送消息的方式,格式和端口号不变。(25), in conjunction with the situation mentioned in (14), in the communication process, users B and C may send updated PUBLISH messages to notify the proxy server of the change of its own information. When the local proxy server receives the updated PUBLISH message, first Extract the information of the local user, compare the information at this time with the previously stored information, if the information is the same, do not do any processing; if it is found that the content of the information has changed, the original database information will be overwritten, and according to the user information The peer user IP and SIP address information in the table notifies the peer user (local SIP user A in this example) in time, and the notification still adopts the mode of sending a message, and the format and port number remain unchanged.

(3)、在网络层截获发往对应用户的数据包,根据业务发起通告中的内容,以用户的SIP地址为关键字建立并维护用户业务流信息管理表,并随着通信过程进行实时更新。同时,为每个用户的每条业务流通信链路建立对应数据包队列通道,按照预定方式进行数据包队列的调度。(3) Intercept the data packets sent to the corresponding user at the network layer, establish and maintain the user service flow information management table with the user's SIP address as the keyword according to the content in the service initiation notice, and update it in real time along with the communication process . At the same time, a corresponding data packet queue channel is established for each service flow communication link of each user, and the data packet queue is scheduled according to a predetermined method.

进一步,所述步骤(3)包括:Further, the step (3) includes:

(31)、在指定端口(9111)接收来自应用层的新业务发起通告和用户信息,并将通告中的信息提取出来,同时建立用户业务流信息管理表,表结构参考如下:(31), receive the new service initiation notification and user information from the application layer at the designated port (9111), and extract the information in the notification, and set up the user service flow information management table at the same time. The table structure is referenced as follows:

Figure A200810225032D00141
Figure A200810225032D00141

注:表中每一个业务都对应一系列信息,一个用户可以同时对应若干个业务,具体信息均可以通过新业务发起通告中得到。Note: Each service in the table corresponds to a series of information, and a user can correspond to several services at the same time, and the specific information can be obtained through the notification of new service initiation.

在本实施例中,用户业务流信息管理表如下所示,In this embodiment, the user service flow information management table is as follows,

Figure A200810225032D00151
Figure A200810225032D00151

(32)、本地用户A接收到业务发起通告,标志着该多媒体业务已成功开启。此时将以用户所在业务IP地址和端口为依据,在网络层截获发往用户B、C的音视频等业务对应的数据包,并根据上述用户信息管理表中的内容在本地主机上分别为各用户建立业务流数据包管理队列,进行业务流管理,将根据用户信息表中各业务端口进行分类,进而将同端口数据包进行分类处理。(32) The local user A receives the service initiation notification, which indicates that the multimedia service has been successfully opened. At this time, based on the IP address and port of the user's service, the data packets corresponding to the audio and video services sent to users B and C will be intercepted at the network layer, and according to the contents in the above user information management table, they will be respectively displayed on the local host as Each user establishes a service flow data packet management queue to manage the service flow, and classifies each service port according to the user information table, and then classifies and processes the data packets of the same port.

这里提到的数据包截获机制主要指操作系统提供的实现数据包过滤/处理的功能框架(如Netfilter等),通过这些机制提供的函数将用户A发往用户B、C的数据包进行暂时的捕获和处理。The data packet interception mechanism mentioned here mainly refers to the functional framework (such as Netfilter, etc.) provided by the operating system to realize data packet filtering/processing. captured and processed.

数据包管理队列示意图如附图5所示:数据包采用“双队列”调度机制,首先,外层队列按照用户进行分类管理,内层队列按所在用户业务的通信端口进行分类。内外数据包队列的长度相同,均为2048字节。The schematic diagram of the data packet management queue is shown in Figure 5: the data packet adopts the "double queue" scheduling mechanism. First, the outer queue is classified and managed according to the user, and the inner queue is classified according to the communication port of the user's business. The length of the inner and outer data packet queues is the same, both are 2048 bytes.

(33)、结合步骤(32)中的数据包队列结构,统一进行数据包的调度。在不需要进行QoS调节的情况下(即网络状况良好且未发生移动切换的情况下),内、外两层均按照传统轮转的方式进行数据包调度。当对端用户接入网络信息发生变化时,则根据步骤(4)中的策略进行对应的业务流带宽的调整。(33), in combination with the data packet queue structure in step (32), uniformly perform data packet scheduling. When there is no need for QoS adjustment (that is, when the network is in good condition and no mobile handover occurs), both the inner and outer layers perform data packet scheduling in a traditional round-robin manner. When the access network information of the opposite end user changes, the corresponding service flow bandwidth is adjusted according to the policy in step (4).

(4)、周期性检查用户信息表中的接入网络信息,判断当前用户的接入网络状况是否发生了改变。当用户接入网络的类型发生改变时,结合用户业务需求等级信息进行对应链路带宽的调整。(4) Periodically check the access network information in the user information table to determine whether the access network status of the current user has changed. When the type of the user's access network changes, the corresponding link bandwidth is adjusted in combination with the user's service demand level information.

进一步,所述步骤(4)包括:Further, the step (4) includes:

(41)、本地用户A以T秒(例如2s)为周期查询与当前用户通信的SIP用户B、C的接入网络状况和业务需求等级信息,并实时与t秒前用户的接入状况进行对比,若当前时刻与t秒前用户接入状况发生变化且这一状况持续了一定时间(例如2秒),便认定用户的接入网络状况发生了改变。(41), the local user A takes T seconds (for example 2s) as a period to inquire about the access network status and service demand level information of the SIP users B and C communicating with the current user, and compares the access status of the user before t seconds in real time In contrast, if the user's access status changes between the current moment and t seconds ago and this status lasts for a certain period of time (for example, 2 seconds), it is determined that the user's access network status has changed.

(42)、当用户接入状况发生改变时且这一状况持续了一定时间(例如1.5秒),根据用户当前接入网络状况的情况并结合用户业务等级信息来调整流向这一用户的业务流带宽,将通过调整(32)中建立的数据包队列的丢包率来实现,即按照用户业务等级的顺序来对不同业务对应的队列进行丢包,具体策略参考下表:(42) When the user's access status changes and this status lasts for a certain period of time (for example, 1.5 seconds), adjust the service flow to this user according to the user's current access network status and combined with the user's service level information The bandwidth will be realized by adjusting the packet loss rate of the data packet queue established in (32), that is, according to the order of the user service level, the queues corresponding to different services will be dropped. For specific strategies, refer to the following table:

Figure A200810225032D00161
Figure A200810225032D00161

上表中,各业务等级对应的百分比数字表示的是当前用户从一种接入网络环境变化至另一种接入网络环境时每种业务流对应的数据包队列的丢包率,具体变化值均为基于前一时刻对应丢包率的增加或者减少。例如,当用户从WLAN环境改变为CDMA时,对应每种业务队列丢包率调整的值分别减少20%、32%、40%、55%,反之则采用相反的策略增加对应的丢包率值。In the above table, the percentage numbers corresponding to each service level indicate the packet loss rate of the data packet queue corresponding to each service flow when the current user changes from one access network environment to another, and the specific change value Both are based on the increase or decrease of the corresponding packet loss rate at the previous moment. For example, when a user changes from a WLAN environment to a CDMA environment, the adjusted value of the packet loss rate corresponding to each service queue is reduced by 20%, 32%, 40%, and 55% respectively; otherwise, the opposite strategy is adopted to increase the corresponding packet loss rate value .

下表表明用户B的信息在当前时刻下较前一时刻发生了改变(前一时刻信息以步骤(13)中B用户的用户信息为准)The following table shows that the information of user B has changed at the current moment compared with the previous moment (the information at the previous moment is subject to the user information of user B in step (13))

  sip:86010applelet@domainl.com 3241 CDMA 2001:cc0:2026:3::70 sip: 86010applelet@domainl.com 3241 CDMA 2001:cc0:2026:3::70

当前情况下,用户B由WLAN—CDMA网络中,此时应该将用户对应的业务流数据包队列调整如下,调整过程参考附图6:In the current situation, user B is in the WLAN-CDMA network. At this time, the service flow data packet queue corresponding to the user should be adjusted as follows. Refer to Figure 6 for the adjustment process:

Figure A200810225032D00162
Figure A200810225032D00162

根据本发明的上述方法,可以高效、快捷地对当前用户的业务流信息进行管理,对各业务流对应的数据包对列进行调度;当用户接入网络状况发生变化时,可以通过有效的调节来达到服务质量的保证和资源的合理优化配置。According to the above method of the present invention, the service flow information of the current user can be managed efficiently and quickly, and the data packet pairs corresponding to each service flow can be scheduled; To achieve the guarantee of service quality and the reasonable optimal allocation of resources.

最后应说明的是,以上实施例仅用以描述本发明的技术方案而不是对本技术方法进行限制,本发明在应用上可以延伸为其他的修改、变化、应用和实施例,并且因此认为所有这样的修改、变化、应用、实施例都在本发明的精神和教导范围内。Finally, it should be noted that the above embodiments are only used to describe the technical solutions of the present invention rather than limit the technical methods of the present invention. The present invention can be extended to other modifications, changes, applications and embodiments in application, and therefore it is considered that all such Modifications, changes, applications, and embodiments are all within the spirit and teaching scope of the present invention.

Claims (11)

1、一种面向SIP应用的业务流管理方法,包括:1. A service flow management method for SIP applications, comprising: 步骤10)、用户登录本地SIP代理服务器,向该SIP代理服务器发送PUBLISH消息;Step 10), the user logs in to the local SIP proxy server, and sends a PUBLISH message to the SIP proxy server; 步骤20)、本地SIP用户发起或者接收通信业务请求,解析SIP业务请求INVITE消息,查询所述PUBLISH消息,发送业务发起通告;Step 20), the local SIP user initiates or receives a communication service request, parses the SIP service request INVITE message, inquires about the PUBLISH message, and sends a service initiation notice; 步骤30)、所述SIP代理服务器在网络层截获包括所述业务发起通告的数据包,基于用户SIP地址,为每个用户的每条业务流通信链路建立对应数据包队列通道,进行数据包队列的调度。Step 30), the SIP proxy server intercepts at the network layer the data packet comprising the service initiation notification, based on the user SIP address, establishes a corresponding data packet queue channel for each service flow communication link of each user, and performs data packet processing. Queue scheduling. 2、权利要求1的方法,其中,所述方法还包括:2. The method of claim 1, wherein said method further comprises: 步骤40)、检查所述用户业务流信息管理表中的接入网络信息,确定用户接入网络类型发生改变时,根据所述PUBLISH信息中的用户业务需求等级信息进行链路带宽的调整。Step 40), check the access network information in the user service flow information management table, and adjust the link bandwidth according to the user service demand level information in the PUBLISH information when it is determined that the user access network type changes. 3、权利要求1的方法,其中,步骤10)中,所述用户包括本地SIP用户和远程通信主机上一个或者多个SIP用户。3. The method of claim 1, wherein, in step 10), said users include a local SIP user and one or more SIP users on a remote communication host. 4、权利要求1的方法,其中,步骤10)进一步包括:4. The method of claim 1, wherein step 10) further comprises: 步骤110)、用户按照标准SIP流程登录SIP代理服务器,代理服务器回复200OK消息,用户发送PUBLISH消息至本地代理服务器;所述PUBLISH消息包括用户业务需求等级信息和用户接入网络类型;Step 110), the user logs in to the SIP proxy server according to the standard SIP flow process, the proxy server replies with a 200OK message, and the user sends a PUBLISH message to the local proxy server; the PUBLISH message includes the user's service requirement level information and the user's access network type; 步骤120)、本地代理服务器接收所述PUBLISH消息,存储到包括对端SIP地址和对端IP地址的本地数据库;Step 120), the local proxy server receives the PUBLISH message and stores it in a local database comprising the opposite end SIP address and the opposite end IP address; 步骤130)、发布更新的PUBLISH消息来改变业务等级信息并发送至本地SIP代理服务器;其中,如果用户需求等级信息改变、发生网络切换时,实时发送新的PUBLISH消息至本地SIP服务器。Step 130), issue an updated PUBLISH message to change the service level information and send it to the local SIP proxy server; wherein, if the user demand level information changes or a network switch occurs, a new PUBLISH message is sent to the local SIP server in real time. 5、权利要求1的方法,其中,步骤20)中还包括:发送所述业务发起通告的同时,发送用户信息通告,用于查询并更新本地SIP代理服务器中的用户信息。5. The method of claim 1, wherein, step 20) further comprises: sending the user information notification while sending the service initiation notification, for querying and updating the user information in the local SIP proxy server. 6、权利要求5的方法,其中,步骤20)进一步包括:6. The method of claim 5, wherein step 20) further comprises: 步骤210)、本地用户按照SIP流程和其他SIP用户建立多媒体业务,本地代理服务器解析INVITE及200OK消息,从所述200OK消息中解析出当前发起业务的信息;Step 210), the local user establishes a multimedia service with other SIP users according to the SIP process, and the local proxy server parses the INVITE and 200OK messages, and parses out the information of the current service initiation from the 200OK message; 步骤220)、根据所述当前发起业务的信息,组成业务发起通告并发送至系统网络层处理单元的指定处理端口;Step 220), according to the information of the current service initiation, compose a service initiation notice and send it to the designated processing port of the system network layer processing unit; 步骤230)、本地SIP代理服务器根据对方SIP地址查询用户业务需求等级信息和接入网络信息,将其中的用户信息以通告的形式发送至系统底层指定处理端口;Step 230), the local SIP proxy server queries the user's service requirement level information and access network information according to the other party's SIP address, and sends the user information therein to the specified processing port at the bottom of the system in the form of a notification; 步骤240)、当本地SIP代理服务器接收到更新的PUBLISH消息时,提取出本地用户信息,确定信息内容改变后,将原有数据库信息更新,根据用户信息表中的对端用户IP及SIP地址信息及时通知该对端用户。Step 240), when the local SIP proxy server receives the updated PUBLISH message, extract the local user information, after determining that the content of the information changes, update the original database information, according to the peer user IP and SIP address information in the user information table Notify the peer user in time. 7、权利要求6的方法,其中,步骤210)进一步包括:其他SIP用户发起多媒体业务,本地用户回复200OK消息,从对方发送过来的INVITE消息中解析出当前发起业务的信息。7. The method of claim 6, wherein, step 210) further comprises: other SIP users initiate multimedia services, the local user replies with a 200 OK message, and parses out the information of currently initiating services from the INVITE message sent by the other party. 8、权利要求6的方法,其中,步骤230)中,所述查询过程包括:8. The method of claim 6, wherein, in step 230), the inquiry process comprises: 通信对端用户和本地用户为相同域内的用户,代理服务器将直接在本地数据库中查询相关信息;The communication peer user and the local user are users in the same domain, and the proxy server will directly query the relevant information in the local database; 通信对端用户和本地用户为不同域内的用户,代理服务器根据对方SIP地址发送查询消息至对方域的SIP代理服务器,由对方域内SIP代理服务器执行域内查询。The communication peer user and the local user are users in different domains, and the proxy server sends a query message to the SIP proxy server in the other domain according to the SIP address of the other party, and the SIP proxy server in the other domain executes the intra-domain query. 9、权利要求1的方法,其中,步骤30)进一步包括:9. The method of claim 1, wherein step 30) further comprises: 步骤310)、在指定端口接收新业务发起通告和用户信息,建立用户业务流信息管理表,其中,表中每一个业务对应一系列新业务发起通告信息,一个用户可以对应若干个业务;Step 310), receiving new service initiation notification and user information at the designated port, and establishing a user service flow information management table, wherein, each service in the table corresponds to a series of new service initiation notification information, and one user may correspond to several services; 步骤320)、本地用户接收到业务发起通告,以用户所在业务的IP地址和端口为依据,在网络层截获数据包,并根据所述用户业务流信息管理表建立数据包管理队列进行业务流管理;Step 320), the local user receives the service initiation notice, based on the IP address and port of the user's service, intercepts the data packet at the network layer, and establishes a data packet management queue according to the user service flow information management table to manage the service flow ; 步骤330)、根据所述数据包管理队列和所述业务发起通告,在不需要进行QoS调节的情况下,数据包管理队列的内、外两层按照轮转的方式进行数据包调度。Step 330), according to the data packet management queue and the service initiation notification, if no QoS adjustment is required, the inner and outer layers of the data packet management queue perform data packet scheduling in a round-robin manner. 10、权利要求9的方法,其中,步骤320)中,数据包管理队列中,外层队列按照用户进行分类管理,内层队列按用户业务的通信端口进行分类,内外数据包队列的长度相同。10. The method of claim 9, wherein, in step 320), in the data packet management queue, the outer queue is classified and managed according to the user, the inner queue is classified according to the communication port of the user service, and the length of the inner and outer data packet queues is the same. 11、权利要求2的方法,其中,步骤40)进一步包括:11. The method of claim 2, wherein step 40) further comprises: 步骤410)、本地用户查询用户业务流信息管理表中远程用户的接入网络状况和业务需求等级信息,实时与前一时刻用户接入网络状况信息进行对比;Step 410), the local user queries the remote user's access network status and service demand level information in the user service flow information management table, and compares it with the user access network status information at the previous moment in real time; 步骤420)、确定用户接入状况信息发生变化且持续一定时间,根据用户业务等级信息调整流向该用户的业务流带宽,包括按照用户业务等级对不同业务对应的队列进行丢包。Step 420), determine that the user access status information has changed for a certain period of time, and adjust the service flow bandwidth to the user according to the user service level information, including dropping packets for queues corresponding to different services according to the user service level.
CN2008102250326A 2008-10-24 2008-10-24 Service stream management method oriented to SIP application Expired - Fee Related CN101383785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102250326A CN101383785B (en) 2008-10-24 2008-10-24 Service stream management method oriented to SIP application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102250326A CN101383785B (en) 2008-10-24 2008-10-24 Service stream management method oriented to SIP application

Publications (2)

Publication Number Publication Date
CN101383785A true CN101383785A (en) 2009-03-11
CN101383785B CN101383785B (en) 2011-08-17

Family

ID=40463411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102250326A Expired - Fee Related CN101383785B (en) 2008-10-24 2008-10-24 Service stream management method oriented to SIP application

Country Status (1)

Country Link
CN (1) CN101383785B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873640A (en) * 2010-05-27 2010-10-27 华为终端有限公司 Flow processing method, device and mobile terminal
CN101989993B (en) * 2009-07-31 2013-08-07 中国移动通信集团公司 Method, device and system for determining peer-to-peer (P2P) node
CN105516379A (en) * 2014-09-26 2016-04-20 中国电信股份有限公司 Intelligent speeding-up method, intelligent speeding-up system, and AFTR device in light dual-stack tunnel environment
CN113098864A (en) * 2021-03-31 2021-07-09 杭州海康威视系统技术有限公司 Data transmission system
CN115955467A (en) * 2021-10-08 2023-04-11 中国移动通信集团河南有限公司 A SIP message processing method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100466549C (en) * 2006-08-30 2009-03-04 中国科学院计算技术研究所 A method for identifying VoIP traffic based on SIP protocol process characteristics
CN101150496A (en) * 2006-09-22 2008-03-26 中兴通讯股份有限公司 Method for improving important information network transmission quality
US7742417B2 (en) * 2007-02-16 2010-06-22 International Business Machines Corporation Burst traffic smoothing for SIP processing elements

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989993B (en) * 2009-07-31 2013-08-07 中国移动通信集团公司 Method, device and system for determining peer-to-peer (P2P) node
CN101873640A (en) * 2010-05-27 2010-10-27 华为终端有限公司 Flow processing method, device and mobile terminal
CN101873640B (en) * 2010-05-27 2013-04-24 华为终端有限公司 Flow processing method, device and mobile terminal
CN105516379A (en) * 2014-09-26 2016-04-20 中国电信股份有限公司 Intelligent speeding-up method, intelligent speeding-up system, and AFTR device in light dual-stack tunnel environment
CN105516379B (en) * 2014-09-26 2018-10-02 中国电信股份有限公司 Intelligent accelerating method, system and AFTR equipment under light-duty double stack tunnel environments
CN113098864A (en) * 2021-03-31 2021-07-09 杭州海康威视系统技术有限公司 Data transmission system
CN113098864B (en) * 2021-03-31 2022-07-01 杭州海康威视系统技术有限公司 Data transmission system
CN115955467A (en) * 2021-10-08 2023-04-11 中国移动通信集团河南有限公司 A SIP message processing method and device
CN115955467B (en) * 2021-10-08 2025-02-18 中国移动通信集团河南有限公司 A SIP message processing method and device

Also Published As

Publication number Publication date
CN101383785B (en) 2011-08-17

Similar Documents

Publication Publication Date Title
EP1879327B1 (en) A method for obtaining the qos information of the session
EP2457356B1 (en) Methods and apparatus for optimization of device capability exchange in a network
CA2686876C (en) Group call capability query
US9929879B2 (en) Multipath support of real-time communications
CN101330748B (en) Method for switching control route of IP multimedia subsystem centralized business conversation
EP1976186B1 (en) A method for realizing the legal listening in the next generation network and a system thereof
US20140181312A1 (en) Systems and Methods for Peer-to-Peer IMS
US20140293997A1 (en) Method, Apparatus, and System for Implementing VOIP Call in Cloud Computing Environment
TW201002018A (en) Method for predicting port number of NAT apparatus based on two STUN server inquiry results
CN106105164A (en) Agent interception
US8082580B1 (en) Session layer pinhole management within a network security device
US20140164543A1 (en) Communication System, Application Server and Communication Method for Server Cooperation
CN100466832C (en) A multicast member management method for wireless local area network IP multicast frame transmission
CN103414697A (en) VOIP self-adaptation speech coding method and system and SIP server
CN101383785A (en) A Service Flow Management Method Oriented to SIP Application
CN103634303B (en) A method and system for implementing VoIP calls
CN101212464A (en) Method for realizing pervasive service in integrated network
CN102638382A (en) Method for realizing DLNA (Digital Living Network Alliance) and DLNA agent equipment
EP2220842B1 (en) Ip-based interworking methods and apparatus for voice and data communications
CN101764813B (en) IMS network communication method and device
CN101635672B (en) Device and method for realizing convergence service session in group mode
US20130067083A1 (en) Transmitting Data Over Multiple Networks
WO2013013524A1 (en) Method and system for realizing cross-network terminal communication
CN101938521B (en) Method for transmitting signaling in VoIP system
CN103929436B (en) A kind of method of media negotiation repeatedly in limitation IMS network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161028

Address after: 200031 Shanghai, Hunan Road, No. 121, building 10, building

Patentee after: SHANGHAI YINGLIAN SOMATOSENSORY INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 100190 Haidian District, Zhongguancun Academy of Sciences, South Road, No. 6, No.

Patentee before: Institute of Computing Technology, Chinese Academy of Sciences

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 200031 Shanghai, Hunan Road, No. 121, building 10, building

Patentee after: SHANGHAI YINGLIAN INFORMATION TECHNOLOGY CO.,LTD.

Address before: 200031 Shanghai, Hunan Road, No. 121, building 10, building

Patentee before: SHANGHAI YINGLIAN SOMATOSENSORY INTELLIGENT TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180608

Address after: 201805 No. 1288 Yecheng Road, Jiading Industrial Development Zone, Shanghai

Patentee after: Shanghai star earth Communication Engineering Research Institute

Address before: 200031 Hunan Road, Xuhui District, Xuhui District, Shanghai, 10

Patentee before: SHANGHAI YINGLIAN INFORMATION TECHNOLOGY CO.,LTD.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110817

Termination date: 20211024