CN104065519A - Method for improving conversation interactive performance and automatic configuration server - Google Patents

Method for improving conversation interactive performance and automatic configuration server Download PDF

Info

Publication number
CN104065519A
CN104065519A CN201410332541.4A CN201410332541A CN104065519A CN 104065519 A CN104065519 A CN 104065519A CN 201410332541 A CN201410332541 A CN 201410332541A CN 104065519 A CN104065519 A CN 104065519A
Authority
CN
China
Prior art keywords
cpe
acs
request
connection
interactive
Prior art date
Application number
CN201410332541.4A
Other languages
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 CN201410332541.4A priority Critical patent/CN104065519A/en
Publication of CN104065519A publication Critical patent/CN104065519A/en

Links

Abstract

The embodiment of the invention provides a method for improving the conversation interactive performance and an ACS. The method includes the steps that the ACS sends an interactive request instruction to a CPE to enable the CPE to initiate connection to the ACS, wherein the interactive request instruction is a UDP message; the ACS receives a conversation connection request sent by the CPE, wherein the conversation connection request comprises interactive request successful identification, and the interactive request successful identification is used for enabling the ACS to know that the ACS has been connected with the CPE. The ACS and the CPE can be connected by conducting interaction on the one UDP message, and the conversation interactive performance between the ACS and the CPE is accordingly and greatly improved.

Description

提升会话交互性能的方法及自动配置服务器 Ways to improve the performance of the interactive session and automatic configuration server

技术领域 FIELD

[0001] 本发明涉及一种通信技术,尤其涉及一种提升会话交互性能的方法及自动配置服务器(Auto-Configuration Server,简称:ACS)。 Method [0001] The present invention relates to a communication technique, particularly to a conversational interaction enhance performance and automatic configuration server (Auto-Configuration Server, abbreviation: ACS).

背景技术 Background technique

[0002] 终端广域网管理协议(CPE WAN Management Protocol,简称:CWMP)框架的组成主要包含两部分,即ACS和用户端设备(Customer Premises Equipment,简称:CPE),ACS可以通过CWMP实现对远端CPE的动态管理,如,自动配置和提供动态服务、软件/固件镜像文件的管理、状态和性能监控。 [0002] Terminal WAN Management Protocol (CPE WAN Management Protocol, abbreviated: CWMP) consisting framework mainly comprises two parts, i.e., the ACS and the CPE (Customer Premises Equipment, abbreviation: CPE), ACS can CWMP realize the remote CPE dynamic management, such as, auto-configuration and dynamic service, management software / firmware image file, status and performance monitoring.

[0003] 在现有的CWMP管理方案中,若ACS需要管理CPE,执行CPE管理操作,通常先由ACS通过TCP协议向CPE发送反向会话请求以建立反向会话,并发送空的HTTP GET报文通知CPE,ACS需要管理该CPE,该CPE接收到反向会话请求后,处理该反向会话请求,断开连接,然后再向ACS建立正向会话,以使ACS进行管理操作。 [0003] In the conventional CWMP management programs, if the need to manage CPE ACS, CPE management operation performed, typically first by the ACS to the CPE transmit reverse session over TCP session request to set up a reverse, and sending an empty HTTP GET message message to inform the CPE, the ACS needs to manage CPE, the CPE session request after receiving the reverse, the reverse processing session request to disconnect, then forward again ACS session establishment, so that the ACS management operations. 也就是说,在ACS向CPE建立反向会话的过程中,需要交互至少8个报文。 In other words, in the process of establishing a reverse ACS to the CPE session, the need to interact with at least eight messages.

[0004] 由于ACS需要管理大量的CPE,且ACS本身的性能资源也非常有限,而在ACS向CPE 建立反向会话的过程中,没有交互任何有用的信息,却存在多次报文交互,严重影响ACS的性能。 [0004] Since the ACS needs to manage a large number of CPE, and ACS's own performance resources are very limited, and in the process establish a reverse ACS to the CPE session, there is no interaction of any useful information, but there are multiple packet exchange, serious affect the performance of ACS.

发明内容 SUMMARY

[0005] 本发明提供一种提升会话交互性能的方法及ACS,以提升ACS与CPE的会话交互性能。 [0005] The present invention provides a method and a poppet ACS conversational interaction properties, to improve the performance of ACS conversational interaction with the CPE.

[0006] 第一方面,本发明实施例提供一种提升会话交互性能的方法,包括: [0006] In a first aspect, it provides a method to enhance the performance of the interactive session embodiment of the present invention, comprising:

[0007] 自动配置服务器ACS向用户端设备CPE发送交互请求指示,以使所述CPE向所述ACS发起连接;其中,所述交互请求指示为用户数据报协议UDP报文; [0007] Auto-Configuration Server ACS request indication to the transmission side apparatus CPE user interaction, so that the CPE initiates a connection to the ACS; wherein the interaction is a user datagram protocol UDP packet request indication;

[0008] 所述ACS接收所述CPE发送的会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0008] The ACS receives a session connection request of the CPE, the request includes a session connection successful interaction request identifier, the identifier for a successful interaction request between the ACS to the CPE and the ACS learned connection has been established.

[0009] 在第一方面的第一种可能的实现方式中,所述ACS向CPE发送交互请求指示之前, 还包括: Before [0009] In a first possible implementation of the first aspect of the interaction ACS request indication is sent to the CPE, further comprising:

[0010] 所述ACS接收所述CPE发送的通知INFORM消息,所述INFORM消息中包含所述CPE 的统一资源定位符URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述m)P报文; [0010] The ACS INFORM message of the receiving a notification sent by the CPE, the CPE INFORM message includes a Uniform Resource Locator (URL) and the value of the model of the CPE; wherein said model is used to indicate the value of able to resolve whether the CPE m) P packets;

[0011] 所述ACS根据所述模型值判断所述(PE是否能够解析所述UDP报文; [0011] The determination of the ACS (PE able to resolve whether the UDP packet according to the value of said model;

[0012] 若判断结果为是,则所述ACS获取所述URL,并生成所述交互请求指示。 [0012] If the determination result is YES, the ACS acquiring the URL, and generating the interactive request indication.

[0013] 结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE向所述ACS 发起连接。 [0013] with the first aspect or the first possible implementation of the first aspect, in a second possible implementation manner, the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.

[0014] 结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述ACS 向CPE发送交互请求指示之后,还包括: [0014] combination with the second possible implementation of the first aspect, after a third possible implementation, the ACS to the CPE sends the interaction request indication, further comprising:

[0015] 所述ACS启动重传定时器; [0015] The ACS starts a retransmission timer;

[0016] 相应的,所述ACS接收所述CPE发送的会话连接请求,包括: [0016] Accordingly, the ACS receives the session request sent by the CPE connector, comprising:

[0017] 若所述重传定时器超时前,所述ACS接收到所述CPE发送的所述会话连接请求,则删除所述重传定时器; [0017] If before the retransmission timer expires, the session with the ACS to the CPE receives the transmitted connection request, the retransmission timer is deleted;

[0018] 若所述重传定时器超时后,所述ACS没有接收到所述CPE发送的所述会话连接请求,则所述ACS重新发送所述交互请求指示。 [0018] If after the retransmission timer expires, the ACS does not receive the session connection request sent by the CPE, the ACS is resending the interactive request indication.

[0019] 第二方面,本发明实施例提供一种提升会话交互性能的方法,包括: [0019] a second aspect, provides a method to enhance the performance of the interactive session embodiment of the present invention, comprising:

[0020] 用户端设备CPE接收自动配置服务器ACS发送的交互请求指示,所述交互请求指示用于使所述CPE向所述ACS发起连接;其中,所述交互请求指示为用户数据报协议UDP报文; [0020] CPE CPE receives interactive auto-configuration server ACS transmits the request indication, the request indicating the interaction to initiate a connection for the CPE to the ACS; wherein said interaction request indicated as User Datagram Protocol UDP packets Wen;

[0021 ] 所述CPE向所述ACS发送会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0021] The CPE sends a session connection request to the ACS, the request includes a session connection successful interaction request identifier, the interactive requests for the successful identification known between the ACS and the CPE has ACS establish connection.

[0022] 在第二方面的第一种可能的实现方式中,所述CPE接收ACS发送的交互请求指示之前,还包括: Before [0022] In a first possible implementation manner of the second aspect, the CPE receives the interactive request indication sent by the ACS, further comprising:

[0023] 所述CPE向所述ACS发送通知INFORM消息,所述INFORM消息中包含所述CPE的统一资源定位符URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP报文;以使所述ACS根据所述模型值判断所述CPE是否能够解析所述UDP报文。 [0023] The CPE transmits the notification message to the ACS INFORM, the CPE INFORM message comprises a Uniform Resource Locator (URL) and the value of the model of the CPE; wherein the model value for indicating that the CPE It can resolve the UDP packet; whether the ACS is determined based on the value model of the CPE is able to resolve the UDP packet.

[0024] 结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE向所述ACS 发起连接。 [0024] combination with the second aspect or the first possible implementation of the second aspect, in a second possible implementation manner, the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.

[0025] 第三方面,本发明实施例提供一种自动配置服务器ACS,包括: [0025] a third aspect, embodiments of the present invention to provide an automatic configuration server the ACS, comprising:

[0026] 发送模块,用于向用户端设备CPE发送交互请求指示,以使所述CPE向所述ACS发起连接;其中,所述交互请求指示为用户数据报协议UDP报文; [0026] transmitting means for transmitting a request to the user interaction indication Premises Equipment CPE, the CPE to initiate the connection to the ACS; wherein said interaction request indicated as User Datagram Protocol UDP packets;

[0027] 接收模块,用于接收所述CPE发送的会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0027] a receiving module configured to receive the session connection request sent by the CPE, the request includes a session connection successful interaction request identifier, the interactive requests for successfully identifying the ACS ACS and the CPE is informed of the between the connection has been established.

[0028] 在第三方面的第一种可能的实现方式中,所述接收模块还用于: [0028] In a first possible implementation manner of the third aspect, the receiving module is further configured to:

[0029] 接收所述CPE发送的通知INFORM消息,所述INFORM消息中包含所述CPE的统一资源定位符URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述m)P报文; Model values ​​and a uniform resource locator URL of the CPE [0029] INFORM receive the notification message sent by the CPE, the CPE INFORM message comprises; and wherein the model value indicates whether the CPE can be the parsing m) P packets;

[0030] 所述ACS还包括判断模块,用于根据所述模型值判断所述CPE是否能够解析所述UDP报文; [0030] The ACS further comprises a determining module for determining whether the CPE is determined based on the value model of the UDP packet can be resolved;

[0031] 所述ACS还包括获取模块,用于若所述判断模块的判断结果为是,则获取所述CPE 的URL,并生成所述交互请求指示。 [0031] The ACS further includes an obtaining module, configured to determine if the result of the judging module is that the CPE is acquired URL, and sends the generated interaction request indication.

[0032] 结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE向所述ACS 发起连接。 [0032] reference to the third aspect or the first possible implementation of the third aspect, in a second possible implementation manner, the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.

[0033] 结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,还包括: [0033] combination with the second possible implementation of the third aspect, in a third possible implementation, further comprising:

[0034]启动模块,用于启动重传定时器; [0034] The starting module for starting the retransmission timer;

[0035] 相应的,所述接收模块具体用于若所述重传定时器超时前,接收到所述CPE发送的所述会话连接请求,则删除所述重传定时器; [0035] Accordingly, the receiving module is specifically configured to, if the retransmission timer expires prior to the receipt of the CPE sends the session connection request, the retransmission timer is deleted;

[0036] 所述发送模块还用于若所述重传定时器超时后,所述接收模块没有接收到所述CPE发送的所述会话连接请求,则重新发送所述交互请求指示。 After [0036] the sending module is further configured to, if the retransmission timer expires, the receiving module does not receive the CPE sends the session connection request, resending the interactive request indication.

[0037] 第四方面,本发明实施例提供一种用户端设备CPE,包括: [0037] a fourth aspect, embodiments of the present invention provides a CPE the CPE, comprising:

[0038] 接收模块,用于接收自动配置服务器ACS发送的交互请求指示,所述交互请求指示用于使所述CPE向所述ACS发起连接;其中,所述交互请求指示为用户数据报协议UDP报文; [0038] a receiving module, configured to receive auto-configuration server ACS transmits interactive request indication, the request indicating the interaction to initiate a connection for the CPE to the ACS; wherein said interaction request indicated as User Datagram Protocol UDP message;

[0039] 发送模块,用于向所述ACS发送会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0039] transmitting means for transmitting to the ACS session connection request, the request includes a session connection successful interaction request identifier, the interactive requests for the successful identification of the ACS ACS and the CPE is informed of the inter connection has been established.

[0040] 在第四方面的第一种可能的实现方式中,所述发送模块还用于: [0040] In a first possible implementation manner of the fourth aspect, the transmitting module is further configured to:

[0041] 向所述ACS发送通知INFORM消息,所述INFORM消息中包含所述CPE的统一资源定位符URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP 报文;以使所述ACS根据所述模型值判断所述CPE是否能够解析所述UDP报文。 [0041] send the notification to the ACS INFORM message, the CPE INFORM message includes the Uniform Resource Locator (URL) and the value of the model of the CPE; wherein the model value indicates whether the CPE is able to parse the UDP packet; ACS according to the value of said model determining whether the CPE is able to resolve the UDP packet.

[0042] 结合第四方面或第四方面的第一种可能的实现方式,在第二种可能的实现方式中,所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE向所述ACS 发起连接。 [0042] The fourth aspect of the bound or the first possible implementation of the fourth aspect, in a second possible implementation manner, the UDP packet is encapsulated in HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.

[0043] 本发明实施例提供的提升会话交互性能的方法及ACS,通过ACS向CPE发送交互请求指示,以使所述CPE向所述ACS发起连接;其中,所述交互请求指示为UDP报文;所述ACS 接收所述CPE发送的会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0043] improve the performance of conversational interaction method provided in the embodiment, and ACS of the present invention, the interactive request indication is sent by the ACS to the CPE, so that the CPE initiates a connection to the ACS; wherein said interaction request UDP packet indicated as ; ACS receives the session connection request sent from the CPE, the request includes a session connection successful interaction request identifier, the interactive requests for the successful identification has been established between said known ACS ACS and the CPE connection. 使得所述ACS 与所述CPE之间通过交互一个UDP报文即可建立连接,从而极大的提升了所述ACS与所述CPE之间的会话交互性能。 Such that the UDP packet to create a between the ACS and the CPE is connected through the interaction, thereby greatly enhance the performance of the interactive session between the CPE and the ACS.

附图说明 BRIEF DESCRIPTION

[0044] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0044] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, the accompanying drawings for illustrating the prior art described or needed to be used in an embodiment will be briefly introduced hereinafter, the description below the figures show some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, and can obtain other drawings based on these drawings.

[0045] 图1为本发明提升会话交互性能的方法实施例一的流程图; [0045] FIG. 1 is a method to enhance the performance of a conversational interaction flow diagram embodiment of the present invention;

[0046] 图2为本发明提升会话交互性能的方法实施例二的流程图; [0046] FIG. 2 is a method to enhance the performance of the interactive session a flowchart of a second embodiment of the present invention;

[0047] 图3为本发明提升会话交互性能的方法实施例三的流程图; [0047] FIG. 3 is a method to enhance the performance of the interactive session flowchart according to a third embodiment of the present invention;

[0048] 图4为本发明提升会话交互性能的方法的实现过程示意图; [0048] FIG. 4 implementation method to enhance performance of the interactive session schematic diagram of the invention;

[0049] 图5为本发明ACS实施例一的结构示意图; [0049] FIG. 5 ACS schematic structural diagram of an embodiment of the invention;

[0050] 图6为本发明ACS实施例二的结构示意图; [0050] FIG. 6 ACS schematic structural diagram of a second embodiment of the present invention;

[0051] 图7为本发明CPE实施例一的结构示意图。 [0051] FIG. 7 CPE schematic structural diagram of an embodiment of the invention.

具体实施方式 Detailed ways

[0052] 为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。 [0052] In order that the invention object, technical solutions, and advantages of the embodiments more clearly, the following the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described the embodiment is an embodiment of the present invention is a part, but not all embodiments. 基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, those of ordinary skill in the art to make all other embodiments without creative work obtained by, it falls within the scope of the present invention.

[0053] 图1为本发明提升会话交互性能的方法实施例一的流程图。 [0053] FIG. 1 is a method to enhance the performance of a conversational interaction flow diagram embodiment of the present invention. 如图1所示,本实施例提供的方法具体可以由ACS执行,所述ACS具体可以为ACS,本实施例提供的方法具体可以包括: 1, the method provided in this particular embodiment may be performed by ACS, the ACS ACS may be specifically, the method provided in the present embodiment may specifically include:

[0054] 步骤101、ACS向CPE发送交互请求指示,以使所述CPE向所述ACS发起连接;其中,所述交互请求指示为用户数据报协议(User Datagram Protocol,简称:UDP)报文。 [0054] Step 101, ACS requests the CPE indicated interaction, so that the CPE initiates a connection to the the ACS; wherein said interaction request indication to a user datagram protocol (User Datagram Protocol, abbreviated: UDP) packets.

[0055] 在将所述交互请求指示封装为UDP报文时,所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE向所述ACS发起连接,然后,所述ACS通过UDP协议将所述交互请求指示发送给所述CPE。 [0055] When the exchange request indicating a UDP encapsulated packets, the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the the ACS, then, the ACS by the UDP protocol interaction request indication is sent to the CPE.

[0056] 步骤102、所述ACS接收所述CPE发送的会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0056] Step 102, the ACS receives the session connection request sent the CPE, the request includes a session connection successful interaction request identifier, the interactive requests for the successful identification of the ACS and the ACS informed It has established a connection between the CPE.

[0057] 本实施例的技术方案,通过ACS向CPE发送交互请求指示,所述交互请求指示为UDP报文,并接收所述CPE发送的会话连接请求。 [0057] The technical solution of the present embodiment, the request sent by the ACS to the CPE indicated interaction, the interaction request indicating a UDP packet, and receives the session connection request sent by the CPE. 由于本实施例中的交互请求指示是基于UDP协议发送的,由于UDP的工作机制,只需一次报文即可完成有效数据的交互,因此,所述ACS只需向CPE发送一个封装了HTTP GET报文的UDP报文,即可使CPE向ACS发起连接,从而建立ACS与CPE之间的正向连接,而现有技术是基于TCP协议进行的,ACS与CPE建立反向连接的过程需要先由ACS向CPE发送握手信号消息,CPE向ACS发送握手信号响应消息, 然后ACS再向CPE发送一个确认消息后,ACS才可以向CPE发送HTTP GET报文,请求CPE向ACS建立正向连接,在CPE向ACS建立正向连接的过程与建立反向连接的过程类似,S卩,使用现有技术使ACS与CPE之间建立正向连接,需要交互至少八个报文,而本实施例的技术方案,仅需交互一个UDP报文即可,因而极大的提升了ACS与CPE之间的会话交互性能。 Since the present embodiment interaction request indication is sent based on UDP protocol, since the mechanism of UDP, the message can be completed only once valid data interaction, and therefore, the ACS to the CPE only needs to send a HTTP GET encapsulates packet UDP packet, the CPE can initiate connections to the ACS, in order to establish a positive connection between the ACS and the CPE, while the existing technology is based on the TCP protocol, ACS and the CPE process of establishing a reverse connection of the need to sent by the ACS to the CPE handshake message, CPE handshake response message sent to the ACS, ACS and then again after the CPE sends an acknowledgment message, ACS can send an HTTP GET message to the CPE, a request to establish a forward connection to the CPE ACS, in CPE to establish a positive connection with the ACS process similar to the process of establishing a reverse connection, S Jie, between the prior art that the ACS and the CPE to establish a positive connection, need to interact with at least eight packets, and the present embodiment in the art program, only to interact with a UDP packet, and thus greatly improved the performance of the interactive session between the ACS and the CPE.

[0058] 图2为本发明提升会话交互性能的方法实施例二的流程图。 [0058] FIG. 2 is a method to enhance the performance of the interactive session a flowchart of a second embodiment of the present invention. 如图2所示,在上述实施例的基础上,在上述步骤101之前,本实施例提供的方法进一步还可以包括: As shown in FIG method, based on the above-described embodiment, prior to step 101, the present embodiment provides two further embodiment may further comprise:

[0059] 步骤201、所述ACS接收所述CPE发送的INFORM消息,所述INFORM消息中包含所述CPE的统一资源定位符(Uniform Resource Locator,简称:URL)和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP报文。 [0059] Step 201, the ACS receives INFORM message sent by the CPE, the CPE INFORM message includes a Uniform Resource Locator (Uniform Resource Locator, abbreviation: URL) of the CPE and model values; wherein said model values ​​is used to indicate whether the CPE is able to resolve the UDP packet.

[0060] 具体的,为了判断CPE是否能够解析UDP报文,新增一个用于表示所述CPE对该能力的支持情况的数据模型,并定义数据模型存储路径为"Device. ManagementServer. UdpConnectionRequestSupport",该数据模型为String类型的枚举变量,其枚举值为"true/false",即该数据模型的模型值为"true/false",所述模型值在INFORM消息中强制携带,如果INFORM消息中没有携带所述模型值或所述模型值为false,则表示所述CPE不能解析UDP报文,否则表示可以解析UDP报文。 [0060] Specifically, in order to determine whether the CPE is able to resolve UDP packets, data representing a new model supports the case where the capacity of the CPE, and stores the model definition data path "Device. ManagementServer. UdpConnectionRequestSupport", the data model is of type String enumeration which enumeration value "true / false", i.e., the data model is the model "true / false", the force model value carried in INFORM message, if the message INFORM does not carry the model or the model value is false, it indicates that the CPE can not be parsed UDP packet, or that may be parsed UDP packet. 可以理解的是,在实际应用中,还可以通过其他方式表示所述CPE是否能够解析UDP报文,本实施例对此不进行限制。 It will be appreciated that, in practical applications, the CPE may be able to resolve indicating whether UDP packets, according to the present embodiment, which is not limited by other means.

[0061] 步骤202、所述ACS根据所述模型值判断所述CPE是否能够解析所述UDP报文。 [0061] Step 202, the ACS to the CPE can resolve the UDP packet according to the model value determination.

[0062] 步骤203、若判断结果为是,则所述ACS获取所述CPE的URL,并生成所述交互请求指示。 [0062] Step 203, if the judgment result is YES, the CPE obtains the ACS URL, and sends the generated interaction request indication.

[0063] S卩,若判断结果为是,则所述ACS将所述交互请求指示封装为UDP报文,并发送给与宿舍URL对应的所述CPE。 [0063] S Jie, if the judgment result is YES, the ACS interaction request indicating the URL of the package to corresponding CPE UDP packet, and sends the quarters. 可以理解的是,若判断结果为否,则所述ACS按照现有技术的方案与所述CPE进行交互,即将所述交互请求指示封装为TCP报文。 It will be appreciated that, if the judgment result is NO, the ACS interacting with the CPE according to the prior art solutions, i.e. the interaction request indication encapsulate TCP packets.

[0064] 本实施例的技术方案,通过在CPE发送的INFORM消息中强制携带表明所述CPE是否能够解析UDP报文的模型值,使ACS可以根据所述模型值判断将所述交互请求指示封装为m)P报文或TCP报文,使得本实施例的技术方案可以兼容现有的技术方案。 [0064] The technical solution of the present embodiment, by forcibly carried INFORM message sent by the CPE CPE can be indicated whether the value of the analytical model of the UDP packets, so that the ACS model value is determined according to the interactive request indication Package to m) P packets, or TCP packets, so that the technical solution of the present embodiment may be compatible with the existing technical solutions.

[0065] 在上述实施例的基础上,在上述步骤101之后,本实施例提供的方法进一步还可以包括: Method [0065] On the basis of the above-described embodiment, after the step 101, the present embodiment provides further embodiment may further comprise:

[0066] 所述ACS启动重传定时器。 [0066] The retransmission timer starts ACS.

[0067] 需要说明的是,在一种可能的实施方式中,若所述重传定时器超时前,所述ACS接收到所述CPE发送的所述会话连接请求,则删除所述重传定时器。 [0067] Incidentally, in a possible embodiment, when the retransmission timer expires before the ACS receives the session connection request sent by the CPE, the retransmission timing deleting device.

[0068] 在另一种可能的实施方式中,若所述重传定时器超时后,所述ACS没有接收到所述CPE发送的所述会话连接请求,则所述ACS重新发送所述交互请求指示。 After [0068] In another possible embodiment, if the retransmission timer expires, the ACS does not receive the session connection request sent from the CPE, the ACS is the interaction request resending instructions. 可选的,还可以根据实际需要设置重传的次数上限,例如5次。 Alternatively, also can be set according to the actual maximum number of retransmissions, for example, five times.

[0069] 进一步地,为了优化重传机制,所述重传定时器的超时时间可以通过一定的算法进行计算得到,例如TCP形式的2的指数方案。 [0069] Further, in order to optimize the retransmission mechanism, the retransmission timer timeout time may be calculated through a certain algorithm, e.g. in the form of TCP exponential scheme 2. 本实施例不对此进行限制。 The present embodiment is not be limited to this.

[0070] 本实施例的技术方案,通过设置重传定时器,使ACS在重传定时器超时后若还没有接收到所述会话连接请求,则重新向所述CPE发送交互请求指示;或者所述ACS在重传定时器超时前接收到所述会话连接请求,则删除所述重传定时器,从而解决了ACS向失去连接的CPE发起连接而导致的超时连接等待的问题,提高了会话交互的可靠性。 [0070] The technical solution of the present embodiment, by providing the retransmission timer, so that if the ACS has not received after the session connection request retransmission timer expires, the re-transmission request indication to the CPE said interaction; or the said ACS receiving the retransmission timer expires prior to the session connection request, the retransmission timer is deleted, thereby solving the problem of connection waiting timeout ACS to the CPE initiates connection loss caused by the connection, and the session interaction reliability.

[0071] 图3为本发明提升会话交互性能的方法实施例三的流程图。 [0071] FIG. 3 is a method to enhance the performance of the interactive session flowchart according to a third embodiment of the present invention. 如图3所示,本实施例提供的提升会话交互性能的方法具体可以由CPE执行,本实施例提供的方法具体可以包括: 3, a method to enhance the performance of the interactive session provided by the present embodiment may be executed by the CPE particular embodiment, the method provided in this embodiment may specifically include:

[0072] 步骤301、CPE接收ACS发送的交互请求指示,所述交互请求指示用于使所述CPE 向所述ACS发起连接;其中,所述交互请求指示为UDP报文。 [0072] Step 301, the receiving CPE request indication sent by the ACS to interact, the interaction request indication to initiate a connection for the CPE to the ACS; wherein said interactive requests indicated as UDP packets.

[0073] 具体的,所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE 向所述ACS发起连接。 [0073] Specifically, the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.

[0074] 可以理解的是,在上述步骤301之前,所述CPE还可以向所述ACS发送INFORM消息,所述INFORM消息中包含所述CPE的URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP报文;以使所述ACS根据所述模型值判断所述CPE是否能够解析所述UDP报文。 [0074] It will be appreciated that, prior to the above step 301, the CPE can also send the message to the ACS INFORM, INFORM message includes the value of the model of the CPE and the URL of the CPE; wherein said model values ​​indicates whether the CPE is able to resolve the UDP packet; ACS according to the value of said model determining whether the CPE is able to resolve the UDP packet.

[0075] 步骤302、所述CPE向所述ACS发送会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0075] Step 302, the CPE sends a session connection request to the ACS, the request includes a session connection successful interaction request identifier, the interactive requests for successfully identifying the ACS ACS and the CPE is informed of the between the connection has been established.

[0076] 本实施例的技术方案,通过CPE接收ACS发送的交互请求指示,所述交互请求指示用于使所述CPE向所述ACS发起连接;其中,所述交互请求指示为UDP报文;所述CPE向所述ACS发送会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0076] The technical solution of the present embodiment, the receiving CPE ACS transmitted through the interaction request indication indicating a request for the interaction of the CPE initiates a connection to the ACS; wherein said interaction request UDP packet is indicated; the CPE sends a session connection request to the ACS, the request includes a session connection successful interaction request identifier, the interactive requests for successfully identifying the ACS known established connection between the CPE and the ACS. 使得所述ACS与所述CPE之间通过交互一个UDP报文即可建立连接,从而极大的提升了所述ACS与所述CPE之间的会话交互性能。 Such that the UDP packet to create a between the ACS and the CPE is connected through the interaction, thereby greatly enhance the performance of the interactive session between the CPE and the ACS.

[0077] 下面结合图4,对本发明提供的提升会话交互性能的方法的实现过程和原理作进一步的说明,以帮助理解本发明。 [0077] below with reference to FIG. 4, the principle of the method realization and improve the performance of the interactive session of the present invention provides a further explanation, to facilitate understanding of the present invention.

[0078] 首先要说明的是,本实施例提供的方法中,在ACS上增加一个反向会话模块,即, ACS包括反向会话模块和正向会话接收模块;相应的,在CPE上增加一个反向会话接收模块,即,CPE包括反向会话接收模块和正向会话模块。 [0078] First to be described is the method provided in this embodiment, an increase in a reverse session on the ACS module, i.e., the ACS session module comprising a reverse and a forward reception module session; correspondingly, an increase in anti-CPE the receiving module to the session, i.e., the CPE receiving module comprising a reverse and a forward session session module.

[0079] 其中,反向会话模块可以通过UDP协议向CPE发送交互请求指示,同时启动针对该交互请求指示的、用于超时重传交互请求指示的重传定时器。 [0079] wherein the reverse session interaction module may request indication is sent to the CPE through the UDP protocol, the retransmission timer started simultaneously request indication for the interaction, for interacting timeout retransmission request indication. 反向会话接收模块可以接收ACS发送的UDP形式的交互请求指示,执行该交互请求指示并通告给正向会话模块。 The receiving module may receive a reverse UDP session sent by the ACS in the form of interactive request indication, the request indicating execution of the interactive session and notify the forward module. 正向会话模块可以向ACS建立正向会话,即向ACS发送会话连接请求,执行会话操作以及相关动作。 Forward the session establishment module may forward the session to the ACS, ACS sends a session connection request ie, session operations, and perform related actions. 正向会话接收模块可以接收(PE的正向会话模块发送的会话连接请求,执行会话交互, 同时向反向会话模块发送交互请求成功标识,反向会话模块接收到交互请求成功标识后删除对应的重传定时器。 The receiving module may receive the forward session (PE forward session module sent by the session connection request, performing the interactive session, while sending a request to the interactive session module successfully identifies reverse, a reverse module receives the interactive session request removal after successful identification retransmission timer.

[0080] 具体的,反向会话模块用于通过UDP协议向CPE发起交互请求指示,同时针对每个CPE的交互请求指示启动一个重传定时器,重传定时器用于在超时后再次向与该重传定时器对应的CPE发送交互请求指示,从而提高反向请求的可靠性;同时接收正向会话接收模块通告的交互请求成功标识,并在接收到交互请求成功标识后删除重传定时器,表示该交互请求指示已经被CPE成功接收且CPE执行了对应的正向会话交互过程。 [0080] Specifically, the means for initiating reverse interactive session request indication to the CPE through the UDP protocol, while indicating a request to start a retransmission timer, the retransmission timer for the timeout again after the interaction for each CPE CPE sends a retransmission timer corresponding to the interactive request indication, thereby improving the reliability of the backward request; session while receiving module receives the forward request success identification interactive advertisement, and delete retransmission timer after receiving a successful interactive request identifier, this interaction represents a request indication has been successfully received and performed by the CPE CPE corresponding forward interaction session.

[0081] 在ACS上,会话交互的过程具体可以包括五个阶段,分别为: [0081] On the ACS, conversational interaction process may specifically include five stages, namely:

[0082] 反向会话执行决策阶段。 [0082] Reverse session execution decision-making stage. 当用户在ACS上执行操作请求时,该操作请求为用户的操作,便进入反向会话执行决策阶段。 When the user performs the requested operation on the ACS, the operation request for the user's operation, will enter the decision-making stage to perform a reverse Session. 首先ACS确认对端的CPE是否支持本实施例提供的反向会话交互方式,即,是否接收UDP报文,决策依据是CPE通告的INFORM消息中是否携带CPE的模型值,这里之所以要进行决策是为了兼容现有的反向会话交互方式,使设备能够自适应,实现现有方式与本实施例提供的管理方式的兼容统一管理。 First CPE ACS confirm whether the peer support sessions reverse this interaction according to an embodiment, that is, whether the UDP packet is received, the decision is based INFORM message CPE notice whether or not carrying value of CPE model, here is the reason for the decision-making for compatibility with existing session interaction reverse manner, so that the device can be adaptively realized management compatible conventional manner to provide unified management according to the present embodiment. 如果支持本实施例提供的反向会话交互方式,则执行本实施例的反向会话交互方式,否则按照现有方式执行反向会话请求。 If the counter to support the interaction session according to an embodiment, the session is executed interactively reverse this embodiment, otherwise the session request according to the prior reverse manner. 可以理解的是,CPE设备在支持本实施例的反向会话交互方式的同时也可以支持现有反向会话交互方式,使CPE设备可被两种ACS反向会话请求的兼容管理。 It will be appreciated that, while supporting the CPE device of the present embodiment conversational interaction reverse embodiment may also support existing session interaction reverse manner, so that the CPE device can be requested both ACS backward compatible session management. 本实施例不对此进行限制。 The present embodiment is not be limited to this. 需要说明的是,INFORM消息是CPE在上电启动后向ACS发送的。 Incidentally, INFORM message is sent by the CPE to the ACS upon power-up.

[0083] 获取反向请求的CPE的URL阶段。 [0083] to obtain the URL of the reverse phase CPE request. 这个URL在INFORM消息中进行强制通告。 The URL mandatory notice in INFORM message.

[0084] 封装反向请求的消息阶段。 [0084] Reverse phase encapsulation request message. 将交互请求指示封装为UDP报文,将空的HTTP GET请求报文封装在UDP报文中。 The interaction request indication is encapsulated UDP packets, empty HTTP GET request packet is encapsulated in UDP packets.

[0085] 发送反向请求报文阶段。 [0085] request message transmitting reverse phase. 将上述封装为UDP报文的HTTP GET报文通过UDP协议发送给CPE设备。 The package will be sent to the CPE device via the UDP protocol is UDP packets HTTP GET message. 并针对该交互请求指示,启动一个重传定时器,该重传定时器的超时时长可以由用户进行配置,默认暂定15秒,如果重传定时器超时后CPE设备还没有向ACS建立正向会话,即,没有向ACS发送会话连接请求,则ACS针对该CPE设备重新发送交互请求指示, 重复次数可以由用户配置,默认5次。 And a request indication for the interaction starts a retransmission timer length can be configured by the user when the retransmission timer expires, the provisional default 15 seconds, the CPE device to the ACS has not been established after the forward if the retransmission timer expires session, i.e., no transmission session connection request to the ACS, the ACS interacting resend request indication, the number of repetitions can be configured by the user, the default for five times the CPE device. 进一步的,为了优化重试机制,超时时间可以通过一定的算法进行计算,如TCP形式的2的指数方案。 Further, in order to optimize the retry mechanism, the timeout period can be calculated, such as in the form of TCP exponential scheme 2 by a certain algorithm. 本实施例不对此进行限制。 The present embodiment is not be limited to this.

[0086] 基于上述UDP的反向会话,每个反向会话只需要交互一个报文,针对原有反向会话方案在性能上提升了至上8倍,同时采用超时重试机制,大大提高了反向会话的可靠性, 同时新的反向会话方式解决了现有反向会话TCP端口被耗尽的问题。 [0086] Based on the above reverse UDP sessions, each session need only interact with a reverse packet for the original program sessions reverse the increase in performance-oriented 8 times, while using a timeout retry mechanism, greatly improving the anti- the reliability of the session, while the new session of the reverse way to solve the problem of reverse current session TCP port is exhausted.

[0087] 在CPE上,CPE启动完成后便进入反向会话监听状态,在该状态其实是对其反向知名服务端口(7547)通过UDP的方式进行监听。 [0087] In the CPE, CPE start after the completion of the session listening state to enter the reverse, in fact, the state is well-known for its reverse service port (7547) listening through UDP way. 在实际使用时,可以根据需要通过配置修改监听的端口,本实施例不对此进行限制。 In actual use, the port can modify the configuration required by the listener, this embodiment is not to be limiting.

[0088] 当监听到有UDP形式的交互请求指示到来时,便自动接收该交互请求指示,识别出反向请求,并将该交互请求指示通告给正向会话模块,以使正向会话模块向ACS发送会话连接请求。 [0088] When listening to form interactions with a UDP request indication soon, this interaction will automatically receive request indication, the identified backward request, and the interactive advertisement request indication to forward the session module to module so that a forward session ACS sends a session connection request.

[0089] 图5为本发明ACS实施例一的结构示意图。 [0089] FIG. 5 is a schematic structural diagram of ACS embodiment of the present invention. 如图5所示,本实施例提供的ACS10 具体可以包括:发送模块11和接收模块12。 As shown in FIG. 5, ACS10 provided in this embodiment may specifically include: a receiving module 11 and transmitting module 12.

[0090] 其中,发送模块11可以用于向CPE发送交互请求指示,以使所述CPE向所述ACS 发起连接;其中,所述交互请求指示为UDP报文; [0090] wherein the transmitting module 11 may be used to send the interaction request indication to allow the CPE to CPE initiates a connection to the ACS; wherein said interaction request UDP packet is indicated;

[0091] 接收模块12可以用于接收所述CPE发送的会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0091] The receiving module 12 may receive a request for the session connection sent by the CPE, the request includes a session connection successful interaction request identifier, the interactive requests for the successful identification of the ACS and the ACS informed It has established a connection between the CPE.

[0092] 所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE向所述ACS发起连接。 [0092] The UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.

[0093] 需要说明的是,本实施例的发送模块11相当于图4中的反向会话模块,本实施例的接收模块12相当于图4中的正向会话接收模块。 [0093] Incidentally, transmission module 11 of the present embodiment corresponds to the embodiment of FIG. 4 reverse session module, receiving module 12 of the present embodiment corresponds to the embodiment of FIG forward received session module 4.

[0094] 本实施例的技术方案,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。 [0094] The technical solution of the present embodiment, the method may be used to perform the above technical solutions of the embodiments, principles and techniques which achieve a similar effect, are not repeated herein.

[0095] 图6为本发明ACS实施例二的结构示意图。 [0095] FIG. 6 ACS schematic structural diagram of a second embodiment of the present invention. 如图6所示,在上述实施例的基础上, 本实施例提供的ACS20进一步还可以包括:启动模块21、判断模块22和获取模块23。 6, on the basis of the above-described embodiment, ACS20 further provided in this embodiment may further comprise: startup module 21, a determining module 22 and access module 23. [0096] 具体的,所述接收模块12还可以用于接收所述CPE发送的INFORM消息,所述INFORM消息中包含所述CPE的URL和所述CPE的模型值;所述判断模块22可以用于根据所述模型值判断所述CPE是否接收UDP报文;所述获取模块23可以用于若所述判断模块22 的判断结果为是,则获取所述CPE的URL,并生成所述交互请求指示。 [0096] Specifically, the receiving module 12 may also be used to receive the INFORM message sent by the CPE, the INFORM message includes a model value of the URL of the CPE and the CPE; and the determining module 22 may be to the CPE whether the received UDP packet is determined based on the model values; the acquisition module 23 may be used if the judgment result of the judgment module 22 is that the CPE is acquired URL, and sends the generated interaction request instructions.

[0097] 进一步地,启动模块21可以用于启动重传定时器;相应的,所述接收模块12具体用于若所述重传定时器超时前,接收到所述CPE发送的所述会话连接请求,则删除所述重传定时器。 [0097] Further, initiation module 21 can be used to start a retransmission timer; correspondingly, the receiving module is configured to prior the session if the retransmission timer expires, the receiving CPE 12 is connected to the transmission request, the retransmission timer is deleted.

[0098] 在另一种应用场景中,所述发送模块11还可以用于若所述重传定时器超时后,所述接收模块12没有接收到所述CPE发送的所述会话连接请求,则重新发送所述交互请求指/_J、1 〇 [0098] In another application scenario, the sending module 11 may also be used after if the retransmission timer expires, the receiving module 12 does not receive the request for the session connection sent by the CPE, the resending the interactive request indication / _J, 1 billion

[0099] 需要说明的是,本实施例中的启动模块21、判断模块22以及获取模块23均相当于图4中的反向会话模块。 [0099] Incidentally, in the embodiment according to the present embodiment startup module 21, a determining module 22 and access modules 23 are equivalent to the reverse session module 4 in FIG.

[0100] 本实施例的ACS,可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。 [0100] ACS of the present embodiment, the method may be used to perform the above technical solutions of the embodiments, principles and techniques which achieve a similar effect, are not repeated herein.

[0101] 图7为本发明CPE实施例一的结构示意图.如图7所示,本实施例提供的CPE30 具体可以包括:接收模块31和发送模块32。 [0101] FIG. 7 CPE schematic structural diagram of an embodiment of the invention shown in FIG. 7, CPE30 provided in this embodiment may specifically include: a receiving module 31 and transmitting module 32.

[0102] 其中,接收模块31可以用于接收ACS发送的交互请求指示,所述交互请求指示用于使所述CPE向所述ACS发起连接;其中,所述交互请求指示为UDP报文; [0102] wherein, the receiving module 31 may be used to interact with the received request indication sent by the ACS, the interaction request indication to initiate a connection for the CPE to the ACS; wherein said interaction request UDP packet is indicated;

[0103] 发送模块32可以用于向所述ACS发送会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 [0103] The sending module 32 may be configured to send a session connection request to the ACS, the request includes a session connection successful interaction request identifier, the interactive requests for successfully identifying the ACS ACS and the CPE is informed of the between the connection has been established.

[0104] 具体的,所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE 向所述ACS发起连接。 [0104] Specifically, the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.

[0105] 进一步地,所述发送模块32还可以用于向所述ACS发送INFORM消息,所述INFORM 消息中包含所述CPE的URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP报文;以使所述ACS根据所述模型值判断所述CPE是否能够解析所述UDP 报文。 [0105] Further, the transmitting module 32 may also be configured to send the message to the ACS INFORM, INFORM message includes a model value of the URL of the CPE and the CPE; and wherein said model values ​​for It indicates that the CPE is able to resolve whether the UDP packet; whether the ACS is determined based on the value model of the CPE is able to resolve the UDP packet.

[0106] 需要说明的是,本实施例中的接收模块31相当于图4中的反向会话接收模块;本实施例的发送模块32相当于图4中的正向会话模块。 [0106] Incidentally, the receiving module 31 in the present embodiment corresponds to the reverse session receiving module in FIG. 4; the present embodiment corresponds to the transmission module 32 in FIG. 4 forward session module.

[0107] 本实施例的CPE,可用于执行上述方法实施例的技术方案,其实现原理及技术效果类似,此处不再赘述。 [0107] CPE according to the present embodiment, the method may be used to perform the above technical solutions of the embodiments, principles and techniques which achieve a similar effect, are not repeated herein.

[0108] 在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。 [0108] The present invention provides several embodiments, it should be understood that the apparatus and methods disclosed may be implemented in other manners. 例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。 For example, the described apparatus embodiments are merely illustrative of, for example, the unit division is merely logical function division, there may be other division in actual implementation, for example, a plurality of units or components may be combined or It can be integrated into another system, or some features may be ignored or not performed. 另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。 Another point, displayed or coupling or direct coupling or communication between interconnected in question may be through some interface, device, or indirect coupling or communication connection unit, may be electrical, mechanical, or other forms.

[0109] 所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。 [0109] The unit described as separate components may be or may not be physically separate, parts displayed as units may be or may not be physical units, i.e. may be located in one place, or may be distributed to a plurality of networks unit. 可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。 You can select some or all of the units according to actual needs to achieve the object of the solutions of the embodiments.

[0110] 另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。 [0110] Additionally, functional units may be integrated in various embodiments of the present invention in a processing unit, separate units may be physically present, may be two or more units are integrated into one unit. 上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。 The integrated unit may be implemented in the form of hardware, software functional units in hardware may also be implemented.

[0111] 上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。 [0111] integrated unit implemented in the form of a software functional unit described above may be stored in a computer-readable storage medium. 上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。 In a storage medium and includes several instructions that enable a computer device (may be a personal computer, a server, or network device) or (processor) to perform various embodiments of the present invention, the method of storing the software functional unit some of the steps. 而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory, ROM)、随机存取存储器(Random Access Memory, RAM)、磁碟或者光盘等各种可以存储程序代码的介质。 The storage medium comprising: a variety of medium U disk, mobile hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), magnetic disk, or an optical disc capable of storing program code .

[0112] 本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。 [0112] Those skilled in the art may clearly understand that, for convenience and brevity of description, only the division of the functional modules is illustrated, in practice, the above-described functions can be assigned as needed by different functional modules to complete , the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. 上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 Specific working process of the above described apparatus, reference may be the corresponding process in the method embodiment, which is not repeated herein.

[0113] 最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制; 尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 [0113] Finally, it should be noted that: the above embodiments only describe the technical solutions in embodiments of the present invention, rather than limiting;. Although the embodiments of the present invention has been described in detail, those of ordinary skill in the art should appreciated: it still may be made to the technical solutions described embodiments modifications, or to some or all of the technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from embodiments of the present invention range of technical solutions.

Claims (14)

1. 一种提升会话交互性能的方法,其特征在于,包括: 自动配置服务器ACS向用户端设备CPE发送交互请求指示,以使所述CPE向所述ACS 发起连接;其中,所述交互请求指示为用户数据报协议UDP报文; 所述ACS接收所述CPE发送的会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 1. A method to enhance the performance of the interactive session, characterized by comprising: auto-configuration server ACS transmits to the interactive request indication CPE CPE, so that the CPE initiates a connection to the ACS; wherein said interaction request indication user datagram protocol (UDP) packets; ACS receives the session connection request sent from the CPE, the request includes a session connection successful interaction request identifier, the interactive requests for the successful identification of the ACS ACS learned between the CPE and the connection has been established.
2. 根据权利要求1所述的方法,其特征在于,所述ACS向CPE发送交互请求指示之前, 还包括: 所述ACS接收所述CPE发送的通知INFORM消息,所述INFORM消息中包含所述CPE的统一资源定位符URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP报文; 所述ACS根据所述模型值判断所述CPE是否能够解析所述UDP报文; 若判断结果为是,则所述ACS获取所述URL,并生成所述交互请求指示。 2. The method according to claim 1, characterized in that, prior to the ACS to the CPE sends the interaction request indication, further comprising: receiving a notification of the ACS INFORM message sent by the CPE, the INFORM message comprises CPE uniform resource locator (URL) and the value of the model of the CPE; wherein the model value indicates whether the CPE is able to resolve the UDP packet; ACS determining the value of said model according to whether the CPE parsing the UDP packet; if the judgment result is YES, the ACS acquiring the URL, and generating the interactive request indication.
3. 根据权利要求1或2所述的方法,其特征在于,所述UDP报文中封装HTTP GET报文, 所述HTTP GET报文用于请求所述CPE向所述ACS发起连接。 3. The method of claim 1 or claim 2, wherein the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.
4. 根据权利要求2所述的方法,其特征在于,所述ACS向CPE发送交互请求指示之后, 还包括: 所述ACS启动重传定时器; 相应的,所述ACS接收所述CPE发送的会话连接请求,包括: 若所述重传定时器超时前,所述ACS接收到所述CPE发送的所述会话连接请求,则删除所述重传定时器; 若所述重传定时器超时后,所述ACS没有接收到所述CPE发送的所述会话连接请求,则所述ACS重新发送所述交互请求指示。 4. The method according to claim 2, characterized in that, after the ACS to the CPE sends the interaction request indication, further comprising: starting the retransmission timer ACS; correspondingly, the CPE receives the transmitted ACS If after the retransmission timer expires; if before the retransmission timer expires, the ACS receives the session connection request sent by the CPE, the retransmission timer is deleted: session connection request, comprising , the ACS does not receive the session connection request sent from the CPE, the ACS is resending the interactive request indication.
5. -种提升会话交互性能的方法,其特征在于,包括: 用户端设备CPE接收自动配置服务器ACS发送的交互请求指示,所述交互请求指示用于使所述CPE向所述ACS发起连接;其中,所述交互请求指示为用户数据报协议UDP报文; 所述CPE向所述ACS发送会话连接请求,所述会话连接请求中包含交互请求成功标识, 所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 5. - Method improve seed performance conversational interaction, which is characterized in that, comprising: customer premises equipment CPE receives interactive auto-configuration server ACS transmits request indication, indicating the interaction request to the CPE for the connection initiated by the ACS; wherein, said interaction request indicated as user datagram protocol UDP packets; the CPE sends the session connection request to the ACS, the request includes a session connection successful interaction request identifier, the interactive requests for the success identification ACS said known connection has been established between the ACS and the CPE.
6. 根据权利要求5所述的方法,其特征在于,所述CPE接收ACS发送的交互请求指示之前,还包括: 所述CPE向所述ACS发送通知INFORM消息,所述INFORM消息中包含所述CPE的统一资源定位符URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP报文;以使所述ACS根据所述模型值判断所述CPE是否能够解析所述UDP报文。 6. The method according to claim 5, characterized in that, prior to receiving the interactive request indication sent by the ACS to the CPE, further comprising: transmitting the CPE to the ACS notification INFORM message, the message includes the INFORM CPE uniform resource locator (URL) and the value of the model of the CPE; wherein the model value indicates whether the CPE is able to resolve the UDP packet; ACS according to the value of said model to determine whether the CPE It can resolve the UDP packet.
7. 根据权利要求5或6所述的方法,其特征在于,所述UDP报文中封装HTTP GET报文, 所述HTTP GET报文用于请求所述CPE向所述ACS发起连接。 The method according to claim 5 or claim 6, wherein the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.
8. -种自动配置服务器ACS,其特征在于,包括: 发送模块,用于向用户端设备CPE发送交互请求指示,以使所述CPE向所述ACS发起连接;其中,所述交互请求指示为用户数据报协议UDP报文; 接收模块,用于接收所述CPE发送的会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 8. - the ACS kinds of automatic configuration server, characterized by comprising: transmitting means for transmitting to the interactive request indication CPE CPE, so that the CPE initiates a connection to the the ACS; wherein said interactive requests indicated as user datagram protocol (UDP) packets; receiving means for receiving a session connection request sent by the CPE, the request includes a session connection successful interaction request identifier, the interactive requests for the successful identification of the ACS learned connection has been established between the ACS and the CPE.
9. 根据权利要求8所述的ACS,其特征在于,所述接收模块还用于: 接收所述CPE发送的通知INFORM消息,所述INFORM消息中包含所述CPE的统一资源定位符URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP 报文; 所述ACS还包括判断模块,用于根据所述模型值判断所述CPE是否能够解析所述UDP 报文; 所述ACS还包括获取模块,用于若所述判断模块的判断结果为是,则获取所述CPE的URL,并生成所述交互请求指示。 ACS claimed in claim 8, wherein the receiving module is further configured to: receive the notification message sent by the CPE INFORM, INFORM message includes a Uniform Resource Locator (URL) of the CPE and the said model values ​​of CPE; wherein the model value indicates whether the CPE is able to resolve the UDP packet; said ACS module further comprises determining, based on the model value for determining whether the CPE parses said UDP packet; said ACS module further comprises obtaining, for if the judgment result of the judging module is that the CPE is acquired URL, and sends the generated interaction request indication.
10. 根据权利要求8或9所述的ACS,其特征在于,所述UDP报文中封装HTTP GET报文, 所述HTTP GET报文用于请求所述CPE向所述ACS发起连接。 10. ACS 8 or claim 9, wherein the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.
11. 根据权利要求9所述的ACS,其特征在于,还包括: 启动模块,用于启动重传定时器; 相应的,所述接收模块具体用于若所述重传定时器超时前,接收到所述CPE发送的所述会话连接请求,则删除所述重传定时器; 所述发送模块还用于若所述重传定时器超时后,所述接收模块没有接收到所述CPE发送的所述会话连接请求,则重新发送所述交互请求指示。 11. The ACS according to claim 9, characterized in that, further comprising: a starting module for starting the retransmission timer; correspondingly, the receiving module is specifically configured to, if the retransmission timer expires before receiving sent to the CPE of the session connection request, the retransmission timer is deleted; after the sending module is further configured to, if the retransmission timer expires, the receiving module does not receive the transmission of CPE the session connection request, resending the interactive request indication.
12. -种用户端设备CPE,其特征在于,包括: 接收模块,用于接收自动配置服务器ACS发送的交互请求指示,所述交互请求指示用于使所述CPE向所述ACS发起连接;其中,所述交互请求指示为用户数据报协议UDP报文; 发送模块,用于向所述ACS发送会话连接请求,所述会话连接请求中包含交互请求成功标识,所述交互请求成功标识用于使所述ACS获知所述ACS与所述CPE之间已建立连接。 12. - Species CPE CPE, characterized by comprising: receiving means for receiving auto-configuration server ACS transmits interactive request indication, the request indicating the interaction to initiate a connection for the CPE to the ACS; wherein the interaction request indicated as user datagram protocol UDP packets; and a sending module, configured to send the session connection request to the ACS, the request includes a session connection successful interaction request identifier, the interactive requests for successful identification the ACS known established connection between the ACS and the CPE.
13. 根据权利要求12所述的CPE,其特征在于,所述发送模块还用于: 向所述ACS发送通知INFORM消息,所述INFORM消息中包含所述CPE的统一资源定位符URL和所述CPE的模型值;其中,所述模型值用于表明所述CPE是否能够解析所述UDP报文;以使所述ACS根据所述模型值判断所述CPE是否能够解析所述UDP报文。 13. CPE 12 according to the claim, characterized in that the transmission module is further configured to: send the notification to the ACS INFORM message, the CPE INFORM message includes the Uniform Resource Locator (URL) and the CPE model values; and wherein the model value indicates whether the CPE is able to resolve the UDP packet; ACS according to the value of said model determining whether the CPE is able to resolve the UDP packet.
14. 根据权利要求12或13所述的CPE,其特征在于,所述UDP报文中封装HTTP GET报文,所述HTTP GET报文用于请求所述CPE向所述ACS发起连接。 14. CPE 12 or claim 13, wherein the UDP packet encapsulation HTTP GET message, the HTTP GET message for requesting the CPE initiates a connection to the ACS.
CN201410332541.4A 2014-07-14 2014-07-14 Method for improving conversation interactive performance and automatic configuration server CN104065519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410332541.4A CN104065519A (en) 2014-07-14 2014-07-14 Method for improving conversation interactive performance and automatic configuration server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410332541.4A CN104065519A (en) 2014-07-14 2014-07-14 Method for improving conversation interactive performance and automatic configuration server

Publications (1)

Publication Number Publication Date
CN104065519A true CN104065519A (en) 2014-09-24

Family

ID=51553061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410332541.4A CN104065519A (en) 2014-07-14 2014-07-14 Method for improving conversation interactive performance and automatic configuration server

Country Status (1)

Country Link
CN (1) CN104065519A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954187A (en) * 2015-06-30 2015-09-30 杭州华三通信技术有限公司 Method and device for determining state of CPE (customer premise equipment)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859160A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Method and its system for managing user stationed equipment configuration
CN101064625A (en) * 2006-04-27 2007-10-31 中兴通讯股份有限公司 Method for managing user side equipment through network address translation gateway
CN101193125A (en) * 2006-11-20 2008-06-04 华为技术有限公司 A method and device for local device configuration management of user
CN101702718A (en) * 2009-11-18 2010-05-05 中兴通讯股份有限公司 Method and device for managing user terminal equipment
CN101783774A (en) * 2009-01-19 2010-07-21 华为终端有限公司 Network device connection method, system and device
EP2337264A1 (en) * 2009-12-15 2011-06-22 Samsung Electronics Co., Ltd. Method and apparatus for communication between server and customer premise equipment over internet-based network
CN103067422A (en) * 2011-10-19 2013-04-24 华为终端有限公司 Business distribution method, business distribution equipment and business distribution system
CN103441872A (en) * 2013-08-22 2013-12-11 福建星网锐捷网络有限公司 Failure recovery method, device and communication system of user side equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859160A (en) * 2005-04-30 2006-11-08 华为技术有限公司 Method and its system for managing user stationed equipment configuration
CN101064625A (en) * 2006-04-27 2007-10-31 中兴通讯股份有限公司 Method for managing user side equipment through network address translation gateway
CN101193125A (en) * 2006-11-20 2008-06-04 华为技术有限公司 A method and device for local device configuration management of user
CN101783774A (en) * 2009-01-19 2010-07-21 华为终端有限公司 Network device connection method, system and device
CN101702718A (en) * 2009-11-18 2010-05-05 中兴通讯股份有限公司 Method and device for managing user terminal equipment
EP2337264A1 (en) * 2009-12-15 2011-06-22 Samsung Electronics Co., Ltd. Method and apparatus for communication between server and customer premise equipment over internet-based network
CN103067422A (en) * 2011-10-19 2013-04-24 华为终端有限公司 Business distribution method, business distribution equipment and business distribution system
CN103441872A (en) * 2013-08-22 2013-12-11 福建星网锐捷网络有限公司 Failure recovery method, device and communication system of user side equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954187A (en) * 2015-06-30 2015-09-30 杭州华三通信技术有限公司 Method and device for determining state of CPE (customer premise equipment)
CN104954187B (en) * 2015-06-30 2018-11-27 新华三技术有限公司 A method of determining the state of the user-side equipment apparatus and method

Similar Documents

Publication Publication Date Title
CN104429037B (en) A method for connecting to a communication device, system and equipment
JP5986654B2 (en) Enterprise client / server system and method for providing a web application support through the dispersion emulation of web socket communication
KR101169086B1 (en) Verifying and maintaining connection liveliness in a reliable messaging for web services environment
KR101457241B1 (en) Full mesh rates transaction in a network
CN102395115B (en) A method for managing message threads in the integration of business and information systems ip
CN102972068B (en) User terminal power consumption reduction
CN102187620B (en) System and method for transmitting and receiving a call on a home network
KR20100126789A (en) Sip-http application correlator
KR101560601B1 (en) Policy service system architecture for sessions created using stun
CN102340554A (en) Optimal application server selection method and device for domain name system (DNS)
US9774704B2 (en) Home gateway, cloud server, and method for communication therebetween
US20090113067A1 (en) Communicating a selection of a potential configuration
RU2013125953A (en) Multichannel compound filesystem sessions
JP2009231975A (en) Information processing unit, information processing method, client equipment, and information processing system
CN1655552A (en) Managing transmission control protocol (TCP) connections
CN103281327B (en) Multi-device security login method, system and cloud servers
EP2448206A1 (en) Method, system and device for transmitting video data
CN103702238B (en) The multi-screen video sharing method and a terminal server
WO2008147578A1 (en) System and/or method for client- driven server load distribution
CN103441881A (en) Unified device management method
CN101534302B (en) Method for providing TCP service, system and relevant device thereof
JP2009296084A (en) Multipath communication system
CN101588353A (en) Method, system and equipment for sharing files
CN103004147B (en) Message forwarding path determining method, network device and control device
CN101110791A (en) Method and system for implementing short message business bifurcation transmission in multimedia subsystem

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
RJ01