WO2015117360A1 - Tr069协议方法处理方法、装置及网关设备 - Google Patents
Tr069协议方法处理方法、装置及网关设备 Download PDFInfo
- Publication number
- WO2015117360A1 WO2015117360A1 PCT/CN2014/088774 CN2014088774W WO2015117360A1 WO 2015117360 A1 WO2015117360 A1 WO 2015117360A1 CN 2014088774 W CN2014088774 W CN 2014088774W WO 2015117360 A1 WO2015117360 A1 WO 2015117360A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- parameter
- download
- uploading
- configuration
- upload
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
Definitions
- the present invention relates to the field of communications, and in particular, to a method, an apparatus, and a gateway device for processing a Tr069 protocol method.
- RPC Remote Process Call
- GetRPCMethods Get the list of RPC methods supported by the device; SetParameterValues: Set device parameters; GetParameterValues: Get device parameters; GetParameterNames: Get device parameter names; SetParameterAttributes: Set device parameter properties; GetParameterAttributes: Get device parameter properties; AddObject: Add instances; DeleteObject: Delete the instance; Download: Download the device version or configuration; Upload: Device upload log or configuration; Reboot: Restart the device; TRANSFERCOMPLETE: Device RPC method, used by the device to report the upload or download results and information to the ACS.
- the two methods of Download and Upload are asynchronous commands.
- the parameters involved in the method are many.
- the ACS and the CPE need to interact multiple times. The process is complicated and error-prone when issued. In addition, the parameters are not saved. Diagnostics are not available in the device. The following two methods of uploading and downloading are explained.
- FIG. 1 is a timing diagram of a Download of the Tr069 protocol in the related art. As shown in FIG. 1, the timing of the Download RPC is a standard Tr069 process, and the process includes the following steps:
- S1 The device sends an Inform message.
- the device downloads the configuration or version file from the file service.
- the device repeatedly reports the download result in the process, and the process is complicated.
- FIG. 2 is a timing diagram of the upload of the Tr069 protocol in the related art. As shown in FIG. 2, the timing is a standard Tr069 process. As can be seen from the flow shown in FIG. 2, the device in the process repeatedly reports the upload result. The process is more complicated.
- the Tr069 protocol itself is relatively complicated, and the use and verification are both cumbersome and the accuracy is low.
- the invention provides a method, a device and a gateway device for processing the Tr069 protocol method, so as to at least solve the problems in the related art, the Tr069 protocol itself is relatively complicated, and the use and verification are cumbersome and the accuracy is low.
- a Tr069 protocol method processing method including: determining configuration parameters of an upload method and/or configuration parameters of a download method; and adopting a set parameter method according to the determined configuration parameter of the upload method The method of uploading the method, performing the uploading process; and/or, according to the determined configuration parameter of the downloading method, performing the downloading process by using the setting parameter method instead of the downloading method.
- the method further includes: storing the determined configuration parameter of the uploading method and/or the configuration parameter of the downloading method.
- the method further includes: providing a query for the configuration parameter of the uploading method and/or the configuration parameter of the downloading method.
- the setting parameter method is used instead of the uploading method
- the performing the uploading process includes: receiving the configuration parameter of the uploading method delivered by the automatic configuration server ACS in the setting parameter method And returning the process of setting the parameter value response instead of uploading the RPC in the upload method Returning the process of uploading the response; performing upload processing according to the configuration parameters of the upload method set in the setting parameter method.
- the downloading process is performed according to the determined configuration parameter of the downloading method, and the downloading method is performed by using the setting parameter method, and the downloading method sent by the automatic configuration server ACS is received in the setting parameter method.
- the configuration parameter and the process of returning the setting parameter value response replace the downloading method to download the RPC and return the download response; and execute the download processing according to the configuration parameter of the download method set in the setting parameter method.
- the configuration parameter of the uploading method and/or the configuration parameter of the downloading method include at least one of the following: a file type, a uniform resource locator, a user name, a password, a file size, a target file name, a delay time, and a success. Uniform resource locator, failed uniform resource locator.
- a Tr069 protocol method processing apparatus including: a determining module, configured to determine a configuration parameter of an uploading method and/or a configuration parameter of a downloading method; and a first executing module configured to determine The configuration parameter of the uploading method is performed by using a setting parameter method instead of the uploading method, and/or the second executing module is configured to adopt the setting parameter method according to the determined configuration parameter of the downloading method.
- the download process is performed instead of the download method.
- the apparatus further comprises: a storage module configured to store the determined configuration parameters of the uploading method and/or configuration parameters of the downloading method.
- the apparatus further comprises: a providing module configured to provide a query of configuration parameters of the uploading method and/or configuration parameters of the downloading method.
- a providing module configured to provide a query of configuration parameters of the uploading method and/or configuration parameters of the downloading method.
- the first execution module includes: a first replacement unit, configured to receive, in the setting parameter method, a configuration parameter of the uploading method sent by the automatic configuration server ACS, and a process of returning a setting parameter value response instead of uploading The method of uploading the RPC and returning the upload response in the method; the first execution unit is configured to perform the uploading process according to the configuration parameter of the uploading method set in the setting parameter method.
- a first replacement unit configured to receive, in the setting parameter method, a configuration parameter of the uploading method sent by the automatic configuration server ACS, and a process of returning a setting parameter value response instead of uploading The method of uploading the RPC and returning the upload response in the method
- the first execution unit is configured to perform the uploading process according to the configuration parameter of the uploading method set in the setting parameter method.
- the second execution module includes: a second replacement unit, configured to receive the configuration parameter of the download method delivered by the automatic configuration server ACS in the setting parameter method, and return the process of setting the parameter value response instead of downloading The method downloads the RPC and returns a process of downloading the response; the second execution unit is configured to perform the download process according to the configuration parameter of the download method set in the setting parameter method.
- a second replacement unit configured to receive the configuration parameter of the download method delivered by the automatic configuration server ACS in the setting parameter method, and return the process of setting the parameter value response instead of downloading The method downloads the RPC and returns a process of downloading the response
- the second execution unit is configured to perform the download process according to the configuration parameter of the download method set in the setting parameter method.
- a gateway device comprising the apparatus of any of the above.
- FIG. 3 is a flowchart of a method for processing a Tr069 protocol method according to an embodiment of the present invention
- Tr069 protocol method processing apparatus is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention.
- FIG. 5 is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention.
- FIG. 6 is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention.
- FIG. 7 is a block diagram showing a preferred structure of a first execution module 44 in a Tr069 protocol method processing apparatus according to an embodiment of the present invention.
- FIG. 8 is a block diagram showing a preferred structure of a second execution module 46 in a Tr069 protocol method processing apparatus according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram of a gateway device according to an embodiment of the present invention.
- FIG. 10 is a timing diagram of a modified Download replaced with SetParameterValues in accordance with a preferred embodiment of the present invention
- FIG. 11 is a timing diagram of a modified Upload replaced with SetParameterValues in accordance with a preferred embodiment of the present invention.
- FIG. 3 is a flowchart of a Tr069 protocol method processing method according to an embodiment of the present invention. As shown in FIG. 3, the process includes the following steps:
- Step S302 determining configuration parameters of the uploading method and/or configuration parameters of the downloading method
- Step S304 according to the configuration parameter of the determined uploading method, adopting a setting parameter method instead of the uploading method, and performing an uploading process; and/or, according to the determined configuration parameter of the downloading method, adopting a setting parameter method instead of the downloading method, and executing Download processing.
- the uploading and/or downloading process is performed by using the setting parameter method instead of the uploading method and/or the downloading method, and the RPC is reduced without reducing the function, compared with the Tr069 protocol method in the related art.
- the type makes the protocol simple.
- the above-mentioned alternative method does not need to perform repeated reporting operations, which not only solves the problem that the Tr069 protocol itself in the related technology is complicated, the use and verification are cumbersome, and the accuracy is low.
- the complexity of reducing the Tr069 protocol, the simplification of the interaction process, and the effect of improving accuracy are achieved.
- the configuration parameter of the determined uploading method and/or the configuration parameter of the downloading method may also be stored, and the uploading method may also be provided. Query of configuration parameters and/or configuration parameters of the download method.
- the setting parameter method is used instead of the uploading method.
- the following processing may be adopted: the setting parameter method receives the configuration parameter of the uploading method delivered by the automatic configuration server ACS, And returning the process of setting the parameter value response instead of uploading the RPC and returning the upload response process in the uploading method; performing the uploading process according to the configuration parameter of the uploading method set in the setting parameter method.
- the method of setting the parameter method is used instead of the download method, and when the download processing is executed, the following processing may also be adopted: the method of setting the parameter receives the download method delivered by the automatic configuration server ACS.
- the configuration parameter and the process of returning the setting parameter value response replace the downloading method to download the RPC and return the download response process; perform the download processing according to the configuration parameter of the download method set in the setting parameter method.
- the configuration parameter of the uploading method and/or the configuration parameter of the downloading method may include at least one of the following: a file type, a uniform resource locator, a user name, a password, a file size, a target file name, a delay time, and a successful unified resource. Locator, failed uniform resource locator.
- a Tr069 protocol method processing apparatus is also provided in this embodiment, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
- the term "module” may implement a combination of software and/or hardware of a predetermined function.
- the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
- FIG. 4 is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes a determining module 42, a first executing module 44, and/or a second executing module 46. Be explained.
- the determining module 42 is configured to determine the configuration parameter of the uploading method and/or the configuration parameter of the downloading method.
- the first executing module 44 is connected to the determining module 42 and configured to replace the configuration parameter of the determined uploading method by using the setting parameter method.
- the method of uploading the method performs the uploading process.
- the second executing module 46 is connected to the determining module 42 and configured to perform the downloading process according to the configuration parameter of the determined downloading method and the method of setting the parameter instead of the downloading method.
- FIG. 5 is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a storage module 52 in addition to all the modules shown in FIG. Be explained.
- the storage module 52 is connected to the above determining module 42 and configured to store the configuration parameters of the determined uploading method and/or the configuration parameters of the downloading method.
- FIG. 6 is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention. As shown in FIG. 5, the apparatus includes a providing module 62, and the providing module 62, in addition to all the modules shown in FIG. Be explained.
- a provisioning module 62 coupled to the determination module 42 described above, is configured to provide a query of configuration parameters of the upload method and/or configuration parameters of the download method.
- FIG. 7 is a block diagram showing a preferred structure of a first execution module 44 in a Tr069 protocol method processing apparatus according to an embodiment of the present invention.
- the first execution module 44 includes a first replacement unit 72 and a first execution unit 74.
- the first execution module 44 will be described below.
- the first replacing unit 72 is configured to receive the configuration parameter of the uploading method sent by the automatic configuration server ACS in the setting parameter method, and return the process of setting the parameter value response instead of uploading the RPC and returning the uploading response in the uploading method;
- An execution unit 74 is connected to the first replacement unit 72, and is configured to perform an upload process according to the configuration parameter of the upload method set in the setting parameter method.
- FIG. 8 is a block diagram showing a preferred structure of a second execution module 46 in a Tr069 protocol method processing apparatus according to an embodiment of the present invention.
- the second execution module 46 includes a second replacement unit 82 and a second execution unit 84.
- the second execution module 46 will be described below.
- the second replacing unit 82 is configured to receive the configuration parameter of the download method delivered by the automatic configuration server ACS in the setting parameter method, and return the process of downloading the RPC and returning the download response in the process of returning the setting parameter value response;
- the second execution unit 84 is connected to the second replacement unit 82 described above, and is configured to execute the download processing according to the configuration parameter of the download method set in the setting parameter method.
- FIG. 9 is a structural block diagram of a gateway device according to an embodiment of the present invention. As shown in FIG. 9, the gateway device 90 includes the Tr069 protocol method processing device 92 of any of the above.
- the SetParameterValues method is used instead of the Download and Upload methods, which makes the Tr069 protocol itself simpler, reduces the number of RPC methods, and the complexity of the Download process, and parameters are recorded. It can be used for query diagnosis, which greatly increases the transparency of the protocol.
- the scheme adopts the following processing: the parameters required for the corresponding Dowload RPC and Upload RPC are defined in the Tr069 parameter tree. For example, in the Download RPC method, the following parameters are defined:
- FIG. 10 is a timing diagram of a modified Download replaced with SetParameterValues in accordance with a preferred embodiment of the present invention. As shown in FIG. 10, the timing includes the following steps:
- S1 The device sends an Inform message.
- the device downloads the configuration or version file from the file service.
- the device saves the parameters and immediately triggers the download process.
- the saved parameters can be used for subsequent viewing.
- the replaced process saves two compared to the original process. Interactive steps, and do not need to use the two RPC methods of Download, TRANSFERCOMPLETE, which makes the process more concise and reduces the complexity of the protocol.
- the parameters of the Download RPC method are set to the fixed parameters of the device by using SetParameterValues, which is also the standard Tr069 process, thereby implementing the version upgrade operation.
- the device reports the Inform containing the BOOT and TRANSFERCOMPLETE event codes. A message notifying the ACS of the upgrade result.
- FIG. 11 is a timing diagram of a modified Upload replaced with SetParameterValues according to a preferred embodiment of the present invention.
- the parameters of the Upload RPC method are set by using SetParameterValues.
- the fixed parameter of the device it is also the standard Tr069 process, which implements the configuration or log upgrade operation.
- the device reports an Inform message containing the BOOT and TRANSFERCOMPLETE event codes to notify the ACS to upload the result.
- modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
- the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- Tr069 protocol itself in the related art is complicated, the use and verification are cumbersome and the accuracy is low, and the complexity of the Tr069 protocol is reduced.
- the interaction process is simplified and the accuracy is improved.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
- Stored Programmes (AREA)
Abstract
本发明提供了一种Tr069协议方法处理方法、装置及网关设备,其中,该方法包括:确定上传方法的配置参数和/或下载方法的配置参数;依据确定的上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的下载方法的配置参数,采用设置参数方法替代下载方法的方式,执行下载处理,通过本发明,解决了相关技术中存在的Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题,进而达到了减少Tr069协议的复杂度,交互流程简单化,以及提高准确性的效果。
Description
本发明涉及通信领域,具体而言,涉及一种Tr069协议方法处理方法、装置及网关设备。
远程过程调用(Remote Process Call,简称为RPC),指用Tr069协议规范各种封装方法;在相关技术中,Tr069协议中主要规定了如下RPC方法:
GetRPCMethods:获取设备支持的RPC方法列表;SetParameterValues:设置设备参数;GetParameterValues:获取设备参数;GetParameterNames:获取设备参数名称;SetParameterAttributes:设置设备参数属性;GetParameterAttributes:获取设备参数属性;AddObject:增加实例;DeleteObject:删除实例;Download:下载设备版本或配置;Upload:设备上传日志或者配置;Reboot:重启设备;TRANSFERCOMPLETE:设备RPC方法,用于设备向ACS上报上传或下载的结果和信息。
上述9个RPC方法中,Download和Upload两个方法为异步命令,方法中涉及的参数较多,ACS和CPE需要经过多次交互,流程较为复杂,在下发时容易出错;另外,由于参数没有保存在设备中,无法进行诊断。下面对上传及下载两个方法进行说明。
图1是相关技术中Tr069协议的Download的时序图,如图1所示,该Download RPC的时序是标准的Tr069流程,该流程包括以下步骤:
S1,设备发送Inform报文;
S2,ACS回InformResponse;
S3,设备发送空包;
S4,ACS下发Download RPC;
S5,设备回DownloadResponse;
S6,设备从文件服务中下载配置或版本文件;
S7,设备重启,上报带TRANSFERCOMPLETE时间的Inform报文;
S8,ACS回InformResponse;
S9,设备再次上报TRANSFERCOMPLETE方法;
S10,ACS回TransferCompleteResponse;
S11,设备和ACS互发空包结束。
从图中可以看出,该流程中设备重复上报了下载结果,流程较为复杂。
图2是相关技术中Tr069协议的Upload的时序图,如图2所示,该时序是标准的Tr069流程,由图2所示的流程中可以看出,其中的流程中设备重复上报了上传结果,流程较为复杂。
因此,在相关技术中存在,Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题。
发明内容
本发明提供了一种Tr069协议方法处理方法、装置及网关设备,以至少解决相关技术中存在,Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题。
根据本发明的一个方面,提供了一种Tr069协议方法处理方法,包括:确定上传方法的配置参数和/或下载方法的配置参数;依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理。
优选地,在确定上传方法的配置参数和/或下载方法的配置参数之后,还包括:将确定的所述上传方法的配置参数和/或所述下载方法的配置参数进行存储。
优选地,在确定所述上传方法的配置参数和/或所述下载方法的配置参数之后,还包括:提供对所述上传方法的配置参数和/或所述下载方法的配置参数的查询。
优选地,依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理包括:将设置参数方法中接收到自动配置服务器ACS下发的所述上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及
返回上传响应的流程;依据设置参数方法中设置的所述上传方法的配置参数,执行上传处理。
优选地,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理包括:将设置参数方法中接收到自动配置服务器ACS下发的所述下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;依据设置参数方法中设置的所述下载方法的配置参数,执行下载处理。
优选地,所述上传方法的配置参数和/或所述下载方法的配置参数包括以下至少之一:文件类型、统一资源定位符、用户名、密码、文件大小、目标文件名、延迟时间、成功的统一资源定位符、失败的统一资源定位符。
根据本发明的另一方面,提供了一种Tr069协议方法处理装置,包括:确定模块,设置为确定上传方法的配置参数和/或下载方法的配置参数;第一执行模块,设置为依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,第二执行模块,设置为依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理。
优选地,该装置还包括:存储模块,设置为将确定的所述上传方法的配置参数和/或所述下载方法的配置参数进行存储。
优选地,该装置还包括:提供模块,设置为提供对所述上传方法的配置参数和/或所述下载方法的配置参数的查询。
优选地,所述第一执行模块包括:第一替代单元,设置为将设置参数方法中接收到自动配置服务器ACS下发的所述上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;第一执行单元,设置为依据设置参数方法中设置的所述上传方法的配置参数,执行上传处理。
优选地,所述第二执行模块包括:第二替代单元,设置为将设置参数方法中接收到自动配置服务器ACS下发的所述下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;第二执行单元,设置为依据设置参数方法中设置的所述下载方法的配置参数,执行下载处理。
根据本发明的又一方面,提供了一种网关设备,包括上述任一项所述的装置。
通过本发明,采用确定上传方法的配置参数和/或下载方法的配置参数;依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理,解决了相关技术中存在的Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题,进而达到了减少Tr069协议的复杂度,交互流程简单化,以及提高准确性的效果。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是相关技术中Tr069协议的Download的时序图;
图2是相关技术中Tr069协议的Upload的时序图;
图3是根据本发明实施例的Tr069协议方法处理方法的流程图;
图4是根据本发明实施例的Tr069协议方法处理装置的结构框图;
图5是根据本发明实施例的Tr069协议方法处理装置的结构框图;
图6是根据本发明实施例的Tr069协议方法处理装置的结构框图;
图7是根据本发明实施例的Tr069协议方法处理装置中第一执行模块44的优选结构框图;
图8是根据本发明实施例的Tr069协议方法处理装置中第二执行模块46的优选结构框图;
图9是根据本发明实施例的网关设备的结构框图;
图10是根据本发明优选实施例的改造过的用SetParameterValues替代的Download的时序图;
图11是根据本发明优选实施方式的改造过的用SetParameterValues替代的Upload的时序图。
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
在本实施例中提供了一种Tr069协议方法处理方法,图3是根据本发明实施例的Tr069协议方法处理方法的流程图,如图3所示,该流程包括如下步骤:
步骤S302,确定上传方法的配置参数和/或下载方法的配置参数;
步骤S304,依据确定的上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的下载方法的配置参数,采用设置参数方法替代下载方法的方式,执行下载处理。
通过上述步骤,采用设置参数方法替代上传方法和/或下载方法的方式,来执行上传和/可下载处理,相对于相关技术中的Tr069协议方法,在不减少功能的前提下,减少了RPC的种类,使得协议简单化,另外,采用上述替代的方式,不需要进行重复上报操作,不仅解决了相关技术中存在的Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题,进而达到了减少Tr069协议的复杂度,交互流程简单化,以及提高准确性的效果。
较优地,在确定上传方法的配置参数和/或下载方法的配置参数之后,还可以将确定的上传方法的配置参数和/或下载方法的配置参数进行存储,另外,还可以提供对上传方法的配置参数和/或下载方法的配置参数的查询。
在依据确定的上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理时,可以采用以下处理:将设置参数方法中接收到自动配置服务器ACS下发的上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;依据设置参数方法中设置的上传方法的配置参数,执行上传处理。同样,在依据确定的下载方法的配置参数,采用设置参数方法替代下载方法的方式,执行下载处理时,也可以采用以下处理:将设置参数方法中接收到自动配置服务器ACS下发的下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;依据设置参数方法中设置的下载方法的配置参数,执行下载处理。
其中,上述上传方法的配置参数和/或下载方法的配置参数可以包括以下至少之一:文件类型、统一资源定位符、用户名、密码、文件大小、目标文件名、延迟时间、成功的统一资源定位符、失败的统一资源定位符。
在本实施例中还提供了一种Tr069协议方法处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图4是根据本发明实施例的Tr069协议方法处理装置的结构框图,如图4所示,该装置包括确定模块42、第一执行模块44和/或第二执行模块46,下面对该装置进行说明。
确定模块42,设置为确定上传方法的配置参数和/或下载方法的配置参数;第一执行模块44,连接至上述确定模块42,设置为依据确定的上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;第二执行模块46,连接至上述确定模块42,设置为依据确定的下载方法的配置参数,采用设置参数方法替代下载方法的方式,执行下载处理。
图5是根据本发明实施例的Tr069协议方法处理装置的结构框图,如图5所示,该装置除包括图4所示的所有模块外,还包括存储模块52,下面对该存储模块52进行说明。
存储模块52,连接至上述确定模块42,设置为将确定的上传方法的配置参数和/或下载方法的配置参数进行存储。
图6是根据本发明实施例的Tr069协议方法处理装置的结构框图,如图5所示,该装置除包括图4所示的所有模块外,还包括提供模块62,下面对该提供模块62进行说明。
提供模块62,连接至上述确定模块42,设置为提供对上传方法的配置参数和/或下载方法的配置参数的查询。
图7是根据本发明实施例的Tr069协议方法处理装置中第一执行模块44的优选结构框图,如图7所示,该第一执行模块44包括第一替代单元72和第一执行单元74,下面对该第一执行模块44进行说明。
第一替代单元72,设置为将设置参数方法中接收到自动配置服务器ACS下发的上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;第一执行单元74,连接至上述第一替代单元72,设置为依据设置参数方法中设置的上传方法的配置参数,执行上传处理。
图8是根据本发明实施例的Tr069协议方法处理装置中第二执行模块46的优选结构框图,如图8所示,该第二执行模块46包括第二替代单元82和第二执行单元84,下面对该第二执行模块46进行说明。
第二替代单元82,设置为将设置参数方法中接收到自动配置服务器ACS下发的下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;第二执行单元84,连接至上述第二替代单元82,设置为依据设置参数方法中设置的下载方法的配置参数,执行下载处理。
图9是根据本发明实施例的网关设备的结构框图,如图9所示,该网关设备90包括上述任一项的Tr069协议方法处理装置92。
基于相关技术中的上述问题,在本实施例中,采用SetParameterValues方法替代Download和Upload方法,使得Tr069协议本身更加简单,减少了RPC方法的个数,和Download流程复杂度,且有参数被记录下来,可以供查询诊断使用,使得协议的透明度大大增加。
下面通过对比对本发明优选实施方式进行说明。
该方案采用以下处理:在Tr069参数树中定义好相应的Dowload RPC和Upload RPC所需要的参数,例如,在Download RPC方法中,定义好以下参数:
FileType,URL,Username,Password,FileSize,TargetFileName,DelaySeconds,SuccessURL,FailureURL
可以分别定义为如下参数路径:
InternetGatewayDevice.UserInterface.Download.FileType
InternetGatewayDevice.UserInterface.Download.URL
InternetGatewayDevice.UserInterface.Download.Username
InternetGatewayDevice.UserInterface.Download.Password
InternetGatewayDevice.UserInterface.Download.FileSize
InternetGatewayDevice.UserInterface.Download.TargetFileName
InternetGatewayDevice.UserInterface.Download.DelaySeconds
InternetGatewayDevice.UserInterface.Download.SuccessURL
InternetGatewayDevice.UserInterface.Download.FailureURL
图10是根据本发明优选实施例的改造过的用SetParameterValues替代的Download的时序图,如图10所示,该时序包括的步骤如下:
S1,设备发送Inform报文;
S2,ACS回InformResponse;
S3,设备发送空包;
S4,ACS下发SetParameterValues RPC;
S5,设备回SetParameterValuesResponse;
S6,设备从文件服务中下载配置或版本文件;
S7,设备重启,上报带TRANSFERCOMPLETE时间的Inform报文;
S8,ACS回InformResponse;
S9,设备和ACS互发空包结束。
其中,上述S4步骤的报文例子为:
一旦设置了相关参数,设备会将参数保存,并立即触发下载流程,保存的参数可以供后续查看使用;从时序图中可以看出,与原来的流程相比,替换后的流程节约了两个交互步骤,且不需要用到Download,TRANSFERCOMPLETE两个RPC方法,使得流程更加简洁,减少了协议的复杂度。
通过上述处理,Download RPC方法的参数采用SetParameterValues的方式设置到设备的固定参数中去,也是标准的Tr069流程,从而实现了版本升级的操作,升级完成后,设备上报包含BOOT和TRANSFERCOMPLETE事件码的Inform消息,通知ACS升级结果。
Upload方法也可以采用类似方法实现,不同的是设置的是Upload的相关参数,参数列表如下:
InternetGatewayDevice.UserInterface.Upload.FileType
InternetGatewayDevice.UserInterface.Upload.URL
InternetGatewayDevice.UserInterface.Upload.Username
InternetGatewayDevice.UserInterface.Upload.Password
InternetGatewayDevice.UserInterface.Upload.DelaySeconds
图11是根据本发明优选实施方式的改造过的用SetParameterValues替代的Upload的时序图,如图11所示,Upload RPC方法的参数采用SetParameterValues的方式设置
到设备的固定参数中去,也是标准的Tr069流程,从而实现了配置或日志升级的操作,升级完成后,设备上报包含BOOT和TRANSFERCOMPLETE事件码的Inform消息,通知ACS上传结果。
通过上述实施例及优选实施方式,可以实现以下效果:
(1)用Tr069协议中已有的SetParameterValues方法替代Download方法和Upload方法,减少了RPC的种类(减少了Download,Upload,TRANSFERCOMPLETE三个RPC方法),使协议更加简单;(2)通过SetParameterValues标准流程替换Download的流程,减少了ACS和CPE之间的两次交互,降低了交互失败的风险,使交互流程变得更加简单;(3)设置的参数可以查询得到,可供查询,使协议变得更加透明。
因此,与相关技术比较而言,相关技术中的Download和Upload实现复杂,对CPE和ACS增加了交互失败的风险,采用SetParameterValues方法替代的方式实现,则可以降低此风险。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
如上所述,通过上述实施例及优选实施方式,解决了相关技术中存在的Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题,进而达到了减少Tr069协议的复杂度,交互流程简单化,以及提高准确性的效果。
Claims (12)
- 一种Tr069协议方法处理方法,包括:确定上传方法的配置参数和/或下载方法的配置参数;依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理。
- 根据权利要求1所述的方法,其中,在确定上传方法的配置参数和/或下载方法的配置参数之后,还包括:将确定的所述上传方法的配置参数和/或所述下载方法的配置参数进行存储。
- 根据权利要求1所述的方法,其中,在确定所述上传方法的配置参数和/或所述下载方法的配置参数之后,还包括:提供对所述上传方法的配置参数和/或所述下载方法的配置参数的查询。
- 根据权利要求1所述的方法,其中,依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理包括:将设置参数方法中接收到自动配置服务器ACS下发的所述上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;依据设置参数方法中设置的所述上传方法的配置参数,执行上传处理。
- 根据权利要求1所述的方法,其中,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理包括:将设置参数方法中接收到自动配置服务器ACS下发的所述下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;依据设置参数方法中设置的所述下载方法的配置参数,执行下载处理。
- 根据权利要求1至5中任一项所述的方法,其中,所述上传方法的配置参数和/或所述下载方法的配置参数包括以下至少之一:文件类型、统一资源定位符、用户名、密码、文件大小、目标文件名、延迟时间、成功的统一资源定位符、失败的统一资源定位符。
- 一种Tr069协议方法处理装置,包括:确定模块,设置为确定上传方法的配置参数和/或下载方法的配置参数;第一执行模块,设置为依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,第二执行模块,设置为依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理。
- 根据权利要求7所述的装置,其中,还包括:存储模块,设置为将确定的所述上传方法的配置参数和/或所述下载方法的配置参数进行存储。
- 根据权利要求7所述的装置,其中,还包括:提供模块,设置为提供对所述上传方法的配置参数和/或所述下载方法的配置参数的查询。
- 根据权利要求7所述的装置,其中,所述第一执行模块包括:第一替代单元,设置为将设置参数方法中接收到自动配置服务器ACS下发的所述上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;第一执行单元,设置为依据设置参数方法中设置的所述上传方法的配置参数,执行上传处理。
- 根据权利要求7所述的装置,其中,所述第二执行模块包括:第二替代单元,设置为将设置参数方法中接收到自动配置服务器ACS下发的所述下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;第二执行单元,设置为依据设置参数方法中设置的所述下载方法的配置参数,执行下载处理。
- 一种网关设备,包括权利要求7至11中任一项所述的装置。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410354676.0 | 2014-07-23 | ||
CN201410354676.0A CN105282204B (zh) | 2014-07-23 | 2014-07-23 | Tr069协议方法处理方法、装置及网关设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015117360A1 true WO2015117360A1 (zh) | 2015-08-13 |
Family
ID=53777183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/088774 WO2015117360A1 (zh) | 2014-07-23 | 2014-10-16 | Tr069协议方法处理方法、装置及网关设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105282204B (zh) |
WO (1) | WO2015117360A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106452848A (zh) * | 2016-09-22 | 2017-02-22 | 上海斐讯数据通信技术有限公司 | 一种瘦接入点远程升级的方法和系统 |
CN112751708B (zh) * | 2020-12-29 | 2023-05-23 | 锐捷网络股份有限公司 | 基于tr069协议的网络管理方法及系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859160A (zh) * | 2005-04-30 | 2006-11-08 | 华为技术有限公司 | 用户驻地设备配置管理方法及其系统 |
CN101827003A (zh) * | 2010-04-19 | 2010-09-08 | 杭州华三通信技术有限公司 | Cpe的管理方法和设备 |
CN102082676A (zh) * | 2009-11-26 | 2011-06-01 | 中国电信股份有限公司 | 一种通过tr069实现远程配置cpe业务参数的方法和系统 |
CN102684899A (zh) * | 2011-03-15 | 2012-09-19 | 中兴通讯股份有限公司 | 基于Tr069协议获取设备状态的方法、ACS及系统 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101413297B1 (ko) * | 2010-11-22 | 2014-07-01 | 한국전자통신연구원 | 단말 프로비저닝 관리 시스템 및 그 방법 |
-
2014
- 2014-07-23 CN CN201410354676.0A patent/CN105282204B/zh active Active
- 2014-10-16 WO PCT/CN2014/088774 patent/WO2015117360A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1859160A (zh) * | 2005-04-30 | 2006-11-08 | 华为技术有限公司 | 用户驻地设备配置管理方法及其系统 |
CN102082676A (zh) * | 2009-11-26 | 2011-06-01 | 中国电信股份有限公司 | 一种通过tr069实现远程配置cpe业务参数的方法和系统 |
CN101827003A (zh) * | 2010-04-19 | 2010-09-08 | 杭州华三通信技术有限公司 | Cpe的管理方法和设备 |
CN102684899A (zh) * | 2011-03-15 | 2012-09-19 | 中兴通讯股份有限公司 | 基于Tr069协议获取设备状态的方法、ACS及系统 |
Non-Patent Citations (1)
Title |
---|
"CPE WAN Management Protocol v1.1", THE BROADBAND FORUM,., 31 December 2007 (2007-12-31), pages 44 - 75, XP055216508 * |
Also Published As
Publication number | Publication date |
---|---|
CN105282204A (zh) | 2016-01-27 |
CN105282204B (zh) | 2019-01-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106850402B (zh) | 消息的传输方法和装置 | |
WO2016119631A1 (zh) | 一种接入云服务的方法及接入设备 | |
US20150128103A1 (en) | System and method for automating application programming interface integration | |
WO2015117527A1 (zh) | 升级方法及装置 | |
WO2011006328A1 (zh) | 设备固件升级系统及方法、设备管理服务器及移动终端 | |
US20140115108A1 (en) | Service Provisioning Method, Device, and System | |
KR101528210B1 (ko) | 소프트웨어 다운로드 방법 및 장치 | |
WO2015143794A1 (zh) | 制作、升级方法及服务器、终端、升级系统和存储介质 | |
EP2429225A1 (en) | Method for provisioning parameters of terminal, system thereof, and terminal management device | |
WO2013063950A1 (zh) | 多模通信设备的巡检方法和系统 | |
US20230251910A1 (en) | Visual Cluster Deployment and Operation System and Method | |
CN106789166B (zh) | 一种网元批量配置的方法及装置 | |
WO2016026329A1 (zh) | 终端的升级方法及装置 | |
CN112087327B (zh) | 信息状态获取方法和装置、存储介质和电子装置 | |
WO2015117360A1 (zh) | Tr069协议方法处理方法、装置及网关设备 | |
WO2015117522A1 (zh) | 参数配置的数据处理方法、装置及参数配置方法、装置 | |
US20210274020A1 (en) | Communication method, client device, and server device | |
US9544184B2 (en) | System and method for taking sequence of dynamic recovery actions | |
CN110912725A (zh) | 一种OpenFlow虚拟交换机的配置方法及配置装置 | |
US9374437B2 (en) | Schema validation proxy | |
EP2630750B1 (en) | Quality of service monitoring device and method of monitoring quality of service | |
CN106888132B (zh) | 一种配置信息的管理方法及装置 | |
CN105407133A (zh) | 一种移动应用自动化发布方法和系统 | |
CN105930339B (zh) | 提高消息传输可靠性的方法和系统 | |
US10419368B1 (en) | Dynamic scaling of computing message architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14882027 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14882027 Country of ref document: EP Kind code of ref document: A1 |