WO2015117360A1 - Processing method and device for tr069 protocol method, and gateway device - Google Patents

Processing method and device for tr069 protocol method, and gateway device Download PDF

Info

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
Application number
PCT/CN2014/088774
Other languages
French (fr)
Chinese (zh)
Inventor
殷宝玉
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015117360A1 publication Critical patent/WO2015117360A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration 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.

Abstract

Provided are a processing method and device for a Tr069 protocol method, and a gateway device. The method comprises: determining a configuration parameter of an upload method and/or a configuration parameter of a download method; in accordance with the determined configuration parameter of the upload method, executing upload processing using a manner of replacing the upload method with a parameter setting method; and/or in accordance with the determined configuration parameter of the download method, executing download processing using a manner of replacing the download method with the parameter setting method. By means of the present invention, the problems of relatively complicated Tr069 protocol, relatively complex use and checking and low accuracy existing in the related art are solved, thus achieving the effects of reducing the complexity of the Tr069 protocol, simplifying the interaction flow and improving the accuracy.

Description

Tr069协议方法处理方法、装置及网关设备Tr069 protocol method processing method, device and gateway device 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种Tr069协议方法处理方法、装置及网关设备。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.
背景技术Background technique
远程过程调用(Remote Process Call,简称为RPC),指用Tr069协议规范各种封装方法;在相关技术中,Tr069协议中主要规定了如下RPC方法:Remote Process Call (RPC) refers to the various encapsulation methods specified by the Tr069 protocol. In the related technology, the following RPC methods are mainly specified in the Tr069 protocol:
GetRPCMethods:获取设备支持的RPC方法列表;SetParameterValues:设置设备参数;GetParameterValues:获取设备参数;GetParameterNames:获取设备参数名称;SetParameterAttributes:设置设备参数属性;GetParameterAttributes:获取设备参数属性;AddObject:增加实例;DeleteObject:删除实例;Download:下载设备版本或配置;Upload:设备上传日志或者配置;Reboot:重启设备;TRANSFERCOMPLETE:设备RPC方法,用于设备向ACS上报上传或下载的结果和信息。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.
上述9个RPC方法中,Download和Upload两个方法为异步命令,方法中涉及的参数较多,ACS和CPE需要经过多次交互,流程较为复杂,在下发时容易出错;另外,由于参数没有保存在设备中,无法进行诊断。下面对上传及下载两个方法进行说明。In the above-mentioned nine RPC methods, 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.
图1是相关技术中Tr069协议的Download的时序图,如图1所示,该Download RPC的时序是标准的Tr069流程,该流程包括以下步骤: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,设备发送Inform报文;S1: The device sends an Inform message.
S2,ACS回InformResponse;S2, ACS returns to InformResponse;
S3,设备发送空包;S3, the device sends an empty packet;
S4,ACS下发Download RPC;S4, the ACS sends Download RPC;
S5,设备回DownloadResponse;S5, the device returns to DownloadResponse;
S6,设备从文件服务中下载配置或版本文件; S6. The device downloads the configuration or version file from the file service.
S7,设备重启,上报带TRANSFERCOMPLETE时间的Inform报文;S7, the device restarts, and the Inform message with the TRANSFERCOMPLETE time is reported;
S8,ACS回InformResponse;S8, ACS returns to InformResponse;
S9,设备再次上报TRANSFERCOMPLETE方法;S9, the device reports the TRANSFERCOMPLETE method again;
S10,ACS回TransferCompleteResponse;S10, ACS returns TransferCompleteResponse;
S11,设备和ACS互发空包结束。S11, the device and the ACS mutually send empty packets to end.
从图中可以看出,该流程中设备重复上报了下载结果,流程较为复杂。As can be seen from the figure, the device repeatedly reports the download result in the process, and the process is complicated.
图2是相关技术中Tr069协议的Upload的时序图,如图2所示,该时序是标准的Tr069流程,由图2所示的流程中可以看出,其中的流程中设备重复上报了上传结果,流程较为复杂。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.
因此,在相关技术中存在,Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题。Therefore, in the related art, the Tr069 protocol itself is relatively complicated, and the use and verification are both cumbersome and the accuracy is low.
发明内容Summary of the invention
本发明提供了一种Tr069协议方法处理方法、装置及网关设备,以至少解决相关技术中存在,Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题。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.
根据本发明的一个方面,提供了一种Tr069协议方法处理方法,包括:确定上传方法的配置参数和/或下载方法的配置参数;依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理。According to an aspect of the present invention, a Tr069 protocol method processing method is provided, 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.
优选地,在确定上传方法的配置参数和/或下载方法的配置参数之后,还包括:将确定的所述上传方法的配置参数和/或所述下载方法的配置参数进行存储。Preferably, after determining the configuration parameter of the uploading method and/or the configuration parameter 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.
优选地,在确定所述上传方法的配置参数和/或所述下载方法的配置参数之后,还包括:提供对所述上传方法的配置参数和/或所述下载方法的配置参数的查询。Preferably, after determining the 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.
优选地,依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理包括:将设置参数方法中接收到自动配置服务器ACS下发的所述上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及 返回上传响应的流程;依据设置参数方法中设置的所述上传方法的配置参数,执行上传处理。Preferably, according to the determined configuration parameter of the uploading method, the setting parameter method is used instead of the uploading method, and 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.
优选地,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理包括:将设置参数方法中接收到自动配置服务器ACS下发的所述下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;依据设置参数方法中设置的所述下载方法的配置参数,执行下载处理。Preferably, 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.
优选地,所述上传方法的配置参数和/或所述下载方法的配置参数包括以下至少之一:文件类型、统一资源定位符、用户名、密码、文件大小、目标文件名、延迟时间、成功的统一资源定位符、失败的统一资源定位符。Preferably, 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.
根据本发明的另一方面,提供了一种Tr069协议方法处理装置,包括:确定模块,设置为确定上传方法的配置参数和/或下载方法的配置参数;第一执行模块,设置为依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,第二执行模块,设置为依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理。According to another aspect of the present invention, a Tr069 protocol method processing apparatus is provided, 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.
优选地,该装置还包括:存储模块,设置为将确定的所述上传方法的配置参数和/或所述下载方法的配置参数进行存储。Preferably, 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.
优选地,该装置还包括:提供模块,设置为提供对所述上传方法的配置参数和/或所述下载方法的配置参数的查询。Preferably, 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.
优选地,所述第一执行模块包括:第一替代单元,设置为将设置参数方法中接收到自动配置服务器ACS下发的所述上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;第一执行单元,设置为依据设置参数方法中设置的所述上传方法的配置参数,执行上传处理。Preferably, 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.
优选地,所述第二执行模块包括:第二替代单元,设置为将设置参数方法中接收到自动配置服务器ACS下发的所述下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;第二执行单元,设置为依据设置参数方法中设置的所述下载方法的配置参数,执行下载处理。Preferably, 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.
根据本发明的又一方面,提供了一种网关设备,包括上述任一项所述的装置。 According to still another aspect of the present invention, a gateway device is provided, comprising the apparatus of any of the above.
通过本发明,采用确定上传方法的配置参数和/或下载方法的配置参数;依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理,解决了相关技术中存在的Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题,进而达到了减少Tr069协议的复杂度,交互流程简单化,以及提高准确性的效果。According to the present invention, the configuration parameter of the uploading method and/or the configuration parameter of the downloading method are adopted; according to the determined configuration parameter of the uploading method, the setting parameter method is used instead of the uploading method, and the uploading process is performed; and/or, according to Determining the configuration parameter of the downloading method, using the setting parameter method instead of the downloading method, and performing the downloading process, solving the Tr069 protocol itself in the related technology is relatively complicated, and the use and verification are cumbersome and accurate. The low problem, in turn, reduces the complexity of the Tr069 protocol, simplifies the interaction process, and improves the accuracy.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是相关技术中Tr069协议的Download的时序图;1 is a timing diagram of a Download of the Tr069 protocol in the related art;
图2是相关技术中Tr069协议的Upload的时序图;2 is a timing diagram of an upload of the Tr069 protocol in the related art;
图3是根据本发明实施例的Tr069协议方法处理方法的流程图;3 is a flowchart of a method for processing a Tr069 protocol method according to an embodiment of the present invention;
图4是根据本发明实施例的Tr069协议方法处理装置的结构框图;4 is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention;
图5是根据本发明实施例的Tr069协议方法处理装置的结构框图;FIG. 5 is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的Tr069协议方法处理装置的结构框图;FIG. 6 is a structural block diagram of a Tr069 protocol method processing apparatus according to an embodiment of the present invention; FIG.
图7是根据本发明实施例的Tr069协议方法处理装置中第一执行模块44的优选结构框图;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;
图8是根据本发明实施例的Tr069协议方法处理装置中第二执行模块46的优选结构框图;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;
图9是根据本发明实施例的网关设备的结构框图;9 is a structural block diagram of a gateway device according to an embodiment of the present invention;
图10是根据本发明优选实施例的改造过的用SetParameterValues替代的Download的时序图;10 is a timing diagram of a modified Download replaced with SetParameterValues in accordance with a preferred embodiment of the present invention;
图11是根据本发明优选实施方式的改造过的用SetParameterValues替代的Upload的时序图。 11 is a timing diagram of a modified Upload replaced with SetParameterValues in accordance with a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种Tr069协议方法处理方法,图3是根据本发明实施例的Tr069协议方法处理方法的流程图,如图3所示,该流程包括如下步骤:In this embodiment, a Tr069 protocol method processing method is provided. 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:
步骤S302,确定上传方法的配置参数和/或下载方法的配置参数;Step S302, determining configuration parameters of the uploading method and/or configuration parameters of the downloading method;
步骤S304,依据确定的上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的下载方法的配置参数,采用设置参数方法替代下载方法的方式,执行下载处理。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.
通过上述步骤,采用设置参数方法替代上传方法和/或下载方法的方式,来执行上传和/可下载处理,相对于相关技术中的Tr069协议方法,在不减少功能的前提下,减少了RPC的种类,使得协议简单化,另外,采用上述替代的方式,不需要进行重复上报操作,不仅解决了相关技术中存在的Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题,进而达到了减少Tr069协议的复杂度,交互流程简单化,以及提高准确性的效果。Through the above steps, 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. In addition, 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. In turn, the complexity of reducing the Tr069 protocol, the simplification of the interaction process, and the effect of improving accuracy are achieved.
较优地,在确定上传方法的配置参数和/或下载方法的配置参数之后,还可以将确定的上传方法的配置参数和/或下载方法的配置参数进行存储,另外,还可以提供对上传方法的配置参数和/或下载方法的配置参数的查询。Preferably, after determining the configuration parameter of the uploading method and/or the configuration parameter of the downloading method, 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.
在依据确定的上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理时,可以采用以下处理:将设置参数方法中接收到自动配置服务器ACS下发的上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;依据设置参数方法中设置的上传方法的配置参数,执行上传处理。同样,在依据确定的下载方法的配置参数,采用设置参数方法替代下载方法的方式,执行下载处理时,也可以采用以下处理:将设置参数方法中接收到自动配置服务器ACS下发的下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;依据设置参数方法中设置的下载方法的配置参数,执行下载处理。 In the configuration parameter according to the determined uploading method, the setting parameter method is used instead of the uploading method. When the uploading process is performed, 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. Similarly, in the configuration parameter according to the determined download 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.
在本实施例中还提供了一种Tr069协议方法处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。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. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although 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.
图4是根据本发明实施例的Tr069协议方法处理装置的结构框图,如图4所示,该装置包括确定模块42、第一执行模块44和/或第二执行模块46,下面对该装置进行说明。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.
确定模块42,设置为确定上传方法的配置参数和/或下载方法的配置参数;第一执行模块44,连接至上述确定模块42,设置为依据确定的上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;第二执行模块46,连接至上述确定模块42,设置为依据确定的下载方法的配置参数,采用设置参数方法替代下载方法的方式,执行下载处理。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.
图5是根据本发明实施例的Tr069协议方法处理装置的结构框图,如图5所示,该装置除包括图4所示的所有模块外,还包括存储模块52,下面对该存储模块52进行说明。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.
存储模块52,连接至上述确定模块42,设置为将确定的上传方法的配置参数和/或下载方法的配置参数进行存储。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.
图6是根据本发明实施例的Tr069协议方法处理装置的结构框图,如图5所示,该装置除包括图4所示的所有模块外,还包括提供模块62,下面对该提供模块62进行说明。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.
提供模块62,连接至上述确定模块42,设置为提供对上传方法的配置参数和/或下载方法的配置参数的查询。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.
图7是根据本发明实施例的Tr069协议方法处理装置中第一执行模块44的优选结构框图,如图7所示,该第一执行模块44包括第一替代单元72和第一执行单元74,下面对该第一执行模块44进行说明。 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. As shown in FIG. 7, 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.
第一替代单元72,设置为将设置参数方法中接收到自动配置服务器ACS下发的上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;第一执行单元74,连接至上述第一替代单元72,设置为依据设置参数方法中设置的上传方法的配置参数,执行上传处理。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.
图8是根据本发明实施例的Tr069协议方法处理装置中第二执行模块46的优选结构框图,如图8所示,该第二执行模块46包括第二替代单元82和第二执行单元84,下面对该第二执行模块46进行说明。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. As shown in FIG. 8, 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.
第二替代单元82,设置为将设置参数方法中接收到自动配置服务器ACS下发的下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;第二执行单元84,连接至上述第二替代单元82,设置为依据设置参数方法中设置的下载方法的配置参数,执行下载处理。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.
图9是根据本发明实施例的网关设备的结构框图,如图9所示,该网关设备90包括上述任一项的Tr069协议方法处理装置92。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.
基于相关技术中的上述问题,在本实施例中,采用SetParameterValues方法替代Download和Upload方法,使得Tr069协议本身更加简单,减少了RPC方法的个数,和Download流程复杂度,且有参数被记录下来,可以供查询诊断使用,使得协议的透明度大大增加。Based on the above problems in the related art, in this embodiment, 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.
下面通过对比对本发明优选实施方式进行说明。Preferred embodiments of the invention are described below by comparison.
该方案采用以下处理:在Tr069参数树中定义好相应的Dowload RPC和Upload RPC所需要的参数,例如,在Download RPC方法中,定义好以下参数: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:
FileType,URL,Username,Password,FileSize,TargetFileName,DelaySeconds,SuccessURL,FailureURLFileType, URL, Username, Password, FileSize, TargetFileName, DelaySeconds, SuccessURL, FailureURL
可以分别定义为如下参数路径:Can be defined as the following parameter path:
InternetGatewayDevice.UserInterface.Download.FileTypeInternetGatewayDevice.UserInterface.Download.FileType
InternetGatewayDevice.UserInterface.Download.URLInternetGatewayDevice.UserInterface.Download.URL
InternetGatewayDevice.UserInterface.Download.UsernameInternetGatewayDevice.UserInterface.Download.Username
InternetGatewayDevice.UserInterface.Download.Password InternetGatewayDevice.UserInterface.Download.Password
InternetGatewayDevice.UserInterface.Download.FileSizeInternetGatewayDevice.UserInterface.Download.FileSize
InternetGatewayDevice.UserInterface.Download.TargetFileNameInternetGatewayDevice.UserInterface.Download.TargetFileName
InternetGatewayDevice.UserInterface.Download.DelaySecondsInternetGatewayDevice.UserInterface.Download.DelaySeconds
InternetGatewayDevice.UserInterface.Download.SuccessURLInternetGatewayDevice.UserInterface.Download.SuccessURL
InternetGatewayDevice.UserInterface.Download.FailureURLInternetGatewayDevice.UserInterface.Download.FailureURL
图10是根据本发明优选实施例的改造过的用SetParameterValues替代的Download的时序图,如图10所示,该时序包括的步骤如下: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,设备发送Inform报文;S1: The device sends an Inform message.
S2,ACS回InformResponse;S2, ACS returns to InformResponse;
S3,设备发送空包;S3, the device sends an empty packet;
S4,ACS下发SetParameterValues RPC;S4, the ACS sends SetParameterValues RPC;
S5,设备回SetParameterValuesResponse;S5, the device returns SetParameterValuesResponse;
S6,设备从文件服务中下载配置或版本文件;S6. The device downloads the configuration or version file from the file service.
S7,设备重启,上报带TRANSFERCOMPLETE时间的Inform报文;S7, the device restarts, and the Inform message with the TRANSFERCOMPLETE time is reported;
S8,ACS回InformResponse;S8, ACS returns to InformResponse;
S9,设备和ACS互发空包结束。S9, the device and the ACS send out empty packets at the end.
其中,上述S4步骤的报文例子为:The example of the message in the above step S4 is:
Figure PCTCN2014088774-appb-000001
Figure PCTCN2014088774-appb-000001
Figure PCTCN2014088774-appb-000002
Figure PCTCN2014088774-appb-000002
Figure PCTCN2014088774-appb-000003
Figure PCTCN2014088774-appb-000003
Figure PCTCN2014088774-appb-000004
Figure PCTCN2014088774-appb-000004
一旦设置了相关参数,设备会将参数保存,并立即触发下载流程,保存的参数可以供后续查看使用;从时序图中可以看出,与原来的流程相比,替换后的流程节约了两个交互步骤,且不需要用到Download,TRANSFERCOMPLETE两个RPC方法,使得流程更加简洁,减少了协议的复杂度。Once the relevant parameters are set, the device saves the parameters and immediately triggers the download process. The saved parameters can be used for subsequent viewing. As can be seen from the timing diagram, 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.
通过上述处理,Download RPC方法的参数采用SetParameterValues的方式设置到设备的固定参数中去,也是标准的Tr069流程,从而实现了版本升级的操作,升级完成后,设备上报包含BOOT和TRANSFERCOMPLETE事件码的Inform消息,通知ACS升级结果。Through the above processing, 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. After the upgrade is completed, the device reports the Inform containing the BOOT and TRANSFERCOMPLETE event codes. A message notifying the ACS of the upgrade result.
Upload方法也可以采用类似方法实现,不同的是设置的是Upload的相关参数,参数列表如下:The Upload method can also be implemented in a similar way. The difference is that the relevant parameters of the Upload are set. The parameter list is as follows:
InternetGatewayDevice.UserInterface.Upload.FileTypeInternetGatewayDevice.UserInterface.Upload.FileType
InternetGatewayDevice.UserInterface.Upload.URLInternetGatewayDevice.UserInterface.Upload.URL
InternetGatewayDevice.UserInterface.Upload.UsernameInternetGatewayDevice.UserInterface.Upload.Username
InternetGatewayDevice.UserInterface.Upload.PasswordInternetGatewayDevice.UserInterface.Upload.Password
InternetGatewayDevice.UserInterface.Upload.DelaySecondsInternetGatewayDevice.UserInterface.Upload.DelaySeconds
图11是根据本发明优选实施方式的改造过的用SetParameterValues替代的Upload的时序图,如图11所示,Upload RPC方法的参数采用SetParameterValues的方式设置 到设备的固定参数中去,也是标准的Tr069流程,从而实现了配置或日志升级的操作,升级完成后,设备上报包含BOOT和TRANSFERCOMPLETE事件码的Inform消息,通知ACS上传结果。11 is a timing diagram of a modified Upload replaced with SetParameterValues according to a preferred embodiment of the present invention. As shown in FIG. 11, the parameters of the Upload RPC method are set by using SetParameterValues. In the fixed parameter of the device, it is also the standard Tr069 process, which implements the configuration or log upgrade operation. After the upgrade is complete, the device reports an Inform message containing the BOOT and TRANSFERCOMPLETE event codes to notify the ACS to upload the result.
通过上述实施例及优选实施方式,可以实现以下效果:Through the above embodiments and preferred embodiments, the following effects can be achieved:
(1)用Tr069协议中已有的SetParameterValues方法替代Download方法和Upload方法,减少了RPC的种类(减少了Download,Upload,TRANSFERCOMPLETE三个RPC方法),使协议更加简单;(2)通过SetParameterValues标准流程替换Download的流程,减少了ACS和CPE之间的两次交互,降低了交互失败的风险,使交互流程变得更加简单;(3)设置的参数可以查询得到,可供查询,使协议变得更加透明。(1) Replacing the Download method and the Upload method with the SetParameterValues method already in the Tr069 protocol, reducing the type of RPC (reducing the three RPC methods of Download, Upload, TRANSFERCOMPLETE), making the protocol simpler; (2) passing the SetParameterValues standard flow The process of replacing the Download reduces the two interactions between the ACS and the CPE, reduces the risk of interaction failure, and makes the interaction process easier. (3) The set parameters can be queried and available for query, so that the protocol becomes More transparent.
因此,与相关技术比较而言,相关技术中的Download和Upload实现复杂,对CPE和ACS增加了交互失败的风险,采用SetParameterValues方法替代的方式实现,则可以降低此风险。Therefore, compared with related technologies, the Download and Upload implementations in the related art are complicated, and the risk of interaction failure is increased for the CPE and the ACS, and the SetParameterValues method is used instead, which can reduce the risk.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various 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. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,通过上述实施例及优选实施方式,解决了相关技术中存在的Tr069协议本身较为复杂,使用、校验均较为烦琐,准确性也低的问题,进而达到了减少Tr069协议的复杂度,交互流程简单化,以及提高准确性的效果。 As described above, the 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.

Claims (12)

  1. 一种Tr069协议方法处理方法,包括:A Tr069 protocol method processing method includes:
    确定上传方法的配置参数和/或下载方法的配置参数;Determining configuration parameters of the upload method and/or configuration parameters of the download method;
    依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理。And according to the determined configuration parameter of the uploading method, using a setting parameter method instead of the uploading method, performing an uploading process; and/or, according to the determined configuration parameter of the downloading method, adopting the setting parameter method instead of the downloading method The way to perform the download process.
  2. 根据权利要求1所述的方法,其中,在确定上传方法的配置参数和/或下载方法的配置参数之后,还包括:The method according to claim 1, wherein after determining configuration parameters of the uploading method and/or configuration parameters of the downloading method, the method further comprises:
    将确定的所述上传方法的配置参数和/或所述下载方法的配置参数进行存储。The determined configuration parameters of the upload method and/or configuration parameters of the download method are stored.
  3. 根据权利要求1所述的方法,其中,在确定所述上传方法的配置参数和/或所述下载方法的配置参数之后,还包括:The method according to claim 1, wherein after determining the configuration parameter of the uploading method and/or the configuration parameter of the downloading method, the method further includes:
    提供对所述上传方法的配置参数和/或所述下载方法的配置参数的查询。A query is provided for configuration parameters of the upload method and/or configuration parameters of the download method.
  4. 根据权利要求1所述的方法,其中,依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理包括:The method according to claim 1, wherein, according to the determined configuration parameter of the uploading method, the method of setting the parameter method instead of the uploading method, the performing the uploading process comprises:
    将设置参数方法中接收到自动配置服务器ACS下发的所述上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;The configuration parameter of the uploading method sent by the automatic configuration server ACS is received in the setting parameter method, and the process of returning the setting parameter value response replaces the uploading method in the uploading method and the process of returning the uploading response;
    依据设置参数方法中设置的所述上传方法的配置参数,执行上传处理。The upload processing is executed according to the configuration parameters of the upload method set in the setting parameter method.
  5. 根据权利要求1所述的方法,其中,依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理包括:The method according to claim 1, wherein the downloading process is performed according to the determined configuration parameter of the downloading method, and the downloading method is used to replace the downloading method.
    将设置参数方法中接收到自动配置服务器ACS下发的所述下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;The process of receiving the configuration parameter of the download method delivered by the automatic configuration server ACS in the parameter setting method, and returning the process of setting the parameter value response instead of downloading the RPC and returning the download response in the download method;
    依据设置参数方法中设置的所述下载方法的配置参数,执行下载处理。The download processing is executed according to the configuration parameters of the download method set in the setting parameter method.
  6. 根据权利要求1至5中任一项所述的方法,其中,所述上传方法的配置参数和/或所述下载方法的配置参数包括以下至少之一: The method according to any one of claims 1 to 5, wherein the configuration parameter of the uploading method and/or the configuration parameter of the downloading method comprise at least one of the following:
    文件类型、统一资源定位符、用户名、密码、文件大小、目标文件名、延迟时间、成功的统一资源定位符、失败的统一资源定位符。File type, Uniform Resource Locator, User Name, Password, File Size, Destination File Name, Delay Time, Successful Uniform Resource Locator, Failed Uniform Resource Locator.
  7. 一种Tr069协议方法处理装置,包括:A Tr069 protocol method processing apparatus includes:
    确定模块,设置为确定上传方法的配置参数和/或下载方法的配置参数;Determining a module, configured to determine configuration parameters of the upload method and/or configuration parameters of the download method;
    第一执行模块,设置为依据确定的所述上传方法的配置参数,采用设置参数方法替代上传方法的方式,执行上传处理;和/或,a first execution module, configured to perform an upload process by using a setting parameter method instead of an uploading method according to the determined configuration parameter of the uploading method; and/or,
    第二执行模块,设置为依据确定的所述下载方法的配置参数,采用所述设置参数方法替代下载方法的方式,执行下载处理。The second execution module is configured to perform the download process according to the determined configuration parameter of the download method and adopting the setting parameter method instead of the download method.
  8. 根据权利要求7所述的装置,其中,还包括:The apparatus according to claim 7, further comprising:
    存储模块,设置为将确定的所述上传方法的配置参数和/或所述下载方法的配置参数进行存储。And a storage module, configured to store the determined configuration parameter of the uploading method and/or the configuration parameter of the downloading method.
  9. 根据权利要求7所述的装置,其中,还包括:The apparatus according to claim 7, further comprising:
    提供模块,设置为提供对所述上传方法的配置参数和/或所述下载方法的配置参数的查询。Providing a module arranged to provide a query of configuration parameters of the upload method and/or configuration parameters of the download method.
  10. 根据权利要求7所述的装置,其中,所述第一执行模块包括:The apparatus of claim 7, wherein the first execution module comprises:
    第一替代单元,设置为将设置参数方法中接收到自动配置服务器ACS下发的所述上传方法的配置参数,以及返回设置参数值响应的流程替代上传方法中上传RPC及返回上传响应的流程;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 returning a process of setting a parameter value response, instead of uploading an RPC and returning an uploading response in the uploading method;
    第一执行单元,设置为依据设置参数方法中设置的所述上传方法的配置参数,执行上传处理。The first execution unit is configured to perform an upload process according to the configuration parameter of the upload method set in the setting parameter method.
  11. 根据权利要求7所述的装置,其中,所述第二执行模块包括:The apparatus of claim 7, wherein the second execution module comprises:
    第二替代单元,设置为将设置参数方法中接收到自动配置服务器ACS下发的所述下载方法的配置参数,以及返回设置参数值响应的流程替代下载方法中下载RPC及返回下载响应的流程;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 a process of downloading the RPC and returning the download response in the process of returning the setting parameter value response;
    第二执行单元,设置为依据设置参数方法中设置的所述下载方法的配置参数,执行下载处理。The second execution unit is configured to perform a download process according to the configuration parameter of the download method set in the setting parameter method.
  12. 一种网关设备,包括权利要求7至11中任一项所述的装置。 A gateway device comprising the apparatus of any one of claims 7 to 11.
PCT/CN2014/088774 2014-07-23 2014-10-16 Processing method and device for tr069 protocol method, and gateway device WO2015117360A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410354676.0 2014-07-23
CN201410354676.0A CN105282204B (en) 2014-07-23 2014-07-23 Tr069 protocol method processing method, device and gateway

Publications (1)

Publication Number Publication Date
WO2015117360A1 true WO2015117360A1 (en) 2015-08-13

Family

ID=53777183

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088774 WO2015117360A1 (en) 2014-07-23 2014-10-16 Processing method and device for tr069 protocol method, and gateway device

Country Status (2)

Country Link
CN (1) CN105282204B (en)
WO (1) WO2015117360A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106452848A (en) * 2016-09-22 2017-02-22 上海斐讯数据通信技术有限公司 Method and system for remotely upgrading thin access point
CN112751708B (en) * 2020-12-29 2023-05-23 锐捷网络股份有限公司 Network management method and system based on TR069 protocol

Citations (4)

* 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
CN101827003A (en) * 2010-04-19 2010-09-08 杭州华三通信技术有限公司 Management method and equipment of CPE (Customer Premise Equipment)
CN102082676A (en) * 2009-11-26 2011-06-01 中国电信股份有限公司 Method and system for realizing remote configuration of customer premises equipment (CPE) service parameters by TR069
CN102684899A (en) * 2011-03-15 2012-09-19 中兴通讯股份有限公司 Method, ACS (auto-configuration server) and system for obtaining equipment status based on TR069 protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101413297B1 (en) * 2010-11-22 2014-07-01 한국전자통신연구원 System and method for managing provisioning of terminal device

Patent Citations (4)

* 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
CN102082676A (en) * 2009-11-26 2011-06-01 中国电信股份有限公司 Method and system for realizing remote configuration of customer premises equipment (CPE) service parameters by TR069
CN101827003A (en) * 2010-04-19 2010-09-08 杭州华三通信技术有限公司 Management method and equipment of CPE (Customer Premise Equipment)
CN102684899A (en) * 2011-03-15 2012-09-19 中兴通讯股份有限公司 Method, ACS (auto-configuration server) and system for obtaining equipment status based on TR069 protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
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 (en) 2016-01-27
CN105282204B (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN106850402B (en) Message transmission method and device
WO2016119631A1 (en) Method for accessing cloud service and access device
WO2015117527A1 (en) Upgrade method and device
US10019255B1 (en) Incremental software deployment in a service environment
US20140115108A1 (en) Service Provisioning Method, Device, and System
WO2011006328A1 (en) System and method for updating device firmware, device management server and mobile terminal
KR101528210B1 (en) Software downloading method and device
WO2015143794A1 (en) Creating and upgrading methods, server, terminal, upgrading system, and storage media
WO2013063950A1 (en) Inspection method and system of multimode communication device
EP2429225A1 (en) Method for provisioning parameters of terminal, system thereof, and terminal management device
KR20150119949A (en) Method and device for updating client
CN106789166B (en) Method and device for network element batch configuration
WO2016026329A1 (en) Terminal upgrade method and apparatus
US11853808B2 (en) Visual cluster deployment and operation system and method
CN105656643B (en) Method and equipment for performing compatible management based on network configuration protocol
WO2015117522A1 (en) Parameter configuration data processing method and device, and parameter configuration method and device
WO2015117360A1 (en) Processing method and device for tr069 protocol method, and gateway device
US20210274020A1 (en) Communication method, client device, and server device
CN110912725A (en) Configuration method and configuration device of OpenFlow virtual switch
US9544184B2 (en) System and method for taking sequence of dynamic recovery actions
CN112087327B (en) Information state acquisition method and apparatus, storage medium, and electronic apparatus
US9374437B2 (en) Schema validation proxy
WO2012174838A1 (en) Method and system of parallel transmitting network element messages
EP2630750B1 (en) Quality of service monitoring device and method of monitoring quality of service
CN106888132B (en) Method and device for managing configuration information

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