WO2016101448A1 - Configuration method, device and system - Google Patents

Configuration method, device and system Download PDF

Info

Publication number
WO2016101448A1
WO2016101448A1 PCT/CN2015/076811 CN2015076811W WO2016101448A1 WO 2016101448 A1 WO2016101448 A1 WO 2016101448A1 CN 2015076811 W CN2015076811 W CN 2015076811W WO 2016101448 A1 WO2016101448 A1 WO 2016101448A1
Authority
WO
WIPO (PCT)
Prior art keywords
cpe
configuration
request
acs
response message
Prior art date
Application number
PCT/CN2015/076811
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 WO2016101448A1 publication Critical patent/WO2016101448A1/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

Definitions

  • the present invention relates to the field of communications, and in particular to a configuration method, apparatus, and system.
  • the remote management protocol is CWMP (CPE WAN Management Protocol) defined by DSL (Digital Subscriber Line) for automatic configuration and management of CPE (Customer Premise Equipment). It is mainly used for CPE.
  • CWMP CPE WAN Management Protocol
  • DSL Digital Subscriber Line
  • CPE Customer Premise Equipment
  • ACS Automatic Configuration Server
  • RPC Remote Procedure Call
  • the former informs the ACS side of the result of the RPC operation through the response status, while the latter case responds. An error tells the ACS side why it failed.
  • the embodiment of the invention provides a configuration method, device and system to solve at least the problem that the CPE side is abnormal due to misoperation in the related art.
  • a configuration method including: in a case where an automatic configuration server ACS establishes a session with a client device CPE, the CPE receives a configuration configuration mode request from the ACS; Setting the configuration mode request to set the CPE to a manual application mode; the CPE sends a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE has Set to a manual application mode; the CPE receives a configuration change request from the ACS; the CPE writes the change content in the configuration change request to a temporary submission database; and the CPE sends the ACS to the ACS corresponding to the Configuring a second response message of the change request, the second response message indicating the The change content of the CPE has been successfully submitted but not applied; the CPE receives a configuration operation request from the ACS; and the CPE performs a corresponding operation on the changed content according to the configuration operation request.
  • the CPE performs a corresponding operation on the changed content according to the configuration operation request, including: the CPE will be The change content in the temporary submission database is written into the actual application database. If the configuration operation request instructs the CPE to revoke the changed content, the CPE performs a corresponding operation on the changed content according to the configuration operation request, including: the CPE cancels the location in the temporary submission database. The changes are described.
  • the CPE further includes: the CPE Receiving a call change content request from the ACS; the CPE reads the change content in the temporary submission database, and sends a third response message corresponding to the call change content request to the ACS, The change content is carried in the third response message, so that the ACS checks the changed content.
  • the CPE writes the changed content in the temporary submission database into the actual application database, including: the CPE reads the changed content in the temporary submission database; the CPE The changed content is written to the actual application database.
  • a configuration method including: in a case where an automatic configuration server ACS establishes a session with a client device CPE, the ACS sends a configuration configuration mode request to the CPE, so that the The CPE sets the CPE to a manual application mode according to the setting configuration mode request; the ACS receives a first response message from the CPE corresponding to the setting configuration mode request, where the first response message indicates The CPE has been set to a manual application mode; the ACS sends a configuration change request to the CPE, so that the CPE writes the changed content in the configuration change request to the temporary submission database; the ACS receives the CPE from the CPE Corresponding to the second response message of the configuration change request, the second response message indicates that the change content of the CPE has been successfully submitted but not applied; when the change content needs to be applied, the ACS reports to the The CPE sends a configuration operation request, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request
  • the ACS further includes: the ACS Sending a call change content request to the CPE; the ACS receives a third response message from the CPE corresponding to the call change content request, where the third response message carries the change content; the ACS The content of the change is verified.
  • a client device CPE comprising: a first receiving module configured to receive a setting configuration mode request from an automatic configuration server ACS; a setting module configured to request according to the setting configuration mode Setting the CPE to a manual application mode; the first sending module is configured to send a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE is set to a manual application mode; a second receiving module configured to receive a configuration change request from the ACS; a write module configured to write the changed content in the configuration change request to the temporary submission database; and the second sending module is configured to Sending, to the ACS, a second response message corresponding to the configuration change request, where the second response message indicates that the change content of the CPE has been successfully submitted but not applied; and the third receiving module is configured to receive from the a configuration operation request of the ACS; the processing module is configured to perform a corresponding operation on the changed content according to the configuration operation request
  • the processing module is configured to write the changed content in the temporary submission database into an actual application database;
  • the configuration operation request instructs the CPE to revoke the changed content, and the processing module is configured to revoke the changed content in the temporary submission database.
  • the CPE further includes: a fourth receiving module, configured to receive a call change content request from the ACS; and a third sending module configured to read the foregoing in the temporary submission database Transmitting the content, and sending a third response message corresponding to the call change content request to the ACS, where the third response message carries the change content, so that the ACS checks the changed content .
  • the processing module includes: a reading unit configured to read the changed content in the temporary submission database; and a writing unit configured to write the changed content into the actual application database.
  • an automatic configuration server ACS including: a fourth sending module, configured to send a setting configuration mode request to a client device CPE, so that the CPE requests according to the setting configuration mode, Setting the CPE to a manual application mode; the fifth receiving module is configured to receive a first response message from the CPE corresponding to the setting configuration mode request, the first response message indicating that the CPE is set to a fifth application module, configured to send a configuration change request to the CPE, so that the CPE writes the change content in the configuration change request into a temporary submission database; and the sixth receiving module is configured to receive from the a second response message of the CPE corresponding to the configuration change request, the second response message indicating that the changed content of the CPE has been successfully submitted but not applied; and the sixth sending module is configured to send to the CPE And configuring an operation request, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
  • the ACS further includes: a seventh sending module, configured to send a call change content request to the CPE; and a seventh receiving module, configured to receive a change corresponding to the call from the CPE a third response message of the content request, wherein the third response message carries the changed content; and the verification module is configured to check the changed content.
  • a configuration system comprising a CPE having any of the features described above, and an ACS having any of the above features coupled to the CPE.
  • the CPE when the ACS establishes a session with the CPE, the CPE receives the configuration configuration mode request from the ACS, and the CPE sets the CPE to the manual application mode according to the configuration configuration mode request, and the CPE sends the corresponding configuration to the ACS.
  • the first response message of the mode request indicates that the CPE is set to the manual application mode
  • the CPE receives the configuration change request from the ACS
  • the CPE writes the change content in the configuration change request to the temporary submission database
  • the CPE sends a corresponding response to the ACS.
  • the second response message of the configuration change request indicates that the CPE change content has been successfully submitted but not applied
  • the CPE receives the configuration operation request from the ACS, and the CPE performs a corresponding operation on the changed content according to the configuration operation request, and the related operation is resolved.
  • FIG. 1 is a flowchart of a method of configuring a CPE side according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for configuring an ACS side according to an embodiment of the present invention
  • FIG. 3 is a structural block diagram of a CPE according to an embodiment of the present invention.
  • FIG. 4 is a structural block diagram of another CPE according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a processing module according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of an ACS according to an embodiment of the present invention.
  • FIG. 7 is a structural block diagram of another ACS according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a manual application operation process of changing an object parameter according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a manual application operation flow of a change object according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for configuring a CPE side according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 in the case that the automatic configuration server ACS establishes a session with the client device CPE, the CPE receives the configuration configuration mode request from the ACS;
  • Step S104 the CPE sets the CPE to the manual application mode according to the setting configuration mode request.
  • Step S106 The CPE sends a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE is set to the manual application mode.
  • Step S108 the CPE receives a configuration change request from the ACS
  • Step S110 the CPE writes the change content in the configuration change request into the temporary submission database
  • Step S112 The CPE sends a second response message corresponding to the configuration change request to the ACS, where the second response message indicates that the CPE change content has been successfully submitted but not applied;
  • Step S114 the CPE receives a configuration operation request from the ACS
  • Step S116 the CPE performs a corresponding operation on the changed content according to the configuration operation request.
  • the CPE is set to the manual application mode.
  • the CPE receives the configuration change request
  • the CPE first writes the change content in the configuration change request to the temporary submission database, that is, only the changed content is submitted, and the application is not applied, compared with the related technology.
  • the ACS can flexibly control the submission, revocation, and application of the CPE, and solve the problem that the CPE side is abnormal due to misoperation in the related technology, and the security of the configuration is improved.
  • the CPE performs a corresponding operation on the changed content according to the configuration operation request, including: the CPE writes the changed content in the temporary submission database into the actual application database. If the configuration operation request instructs the CPE to cancel the changed content, the CPE performs a corresponding operation on the changed content according to the configuration operation request, including: the CPE cancels the change content in the temporary submission database. That is, the ACS can flexibly control the revocation and application of the CPE.
  • the CPE after the CPE sends the second response message corresponding to the configuration change request to the ACS, the CPE receives the configuration operation request from the ACS, and further includes: the CPE receives the call change content request from the ACS; and the CPE reads The content of the change in the database is temporarily submitted, and a third response message corresponding to the request for invoking the change content is sent to the ACS, and the third response message carries the changed content, so that the ACS verifies the changed content. That is, after the content verification is successful, the ACS instructs the CPE to apply the changed content to avoid the occurrence of misoperation.
  • the CPE writes the changed content in the temporary submission database into the actual application database, including: the CPE reads the changed content in the temporary submission database; and the CPE writes the changed content into the actual application database. That is to improve the security of the increased configuration.
  • the configuration operation request sent by the ACS to the CPE may be an application change or a change may be cancelled.
  • the former correspondingly writes the changed content to the actual database, and the latter cancels the change content of the temporary database.
  • the ACS obtains the changed content, which is actually the content from the actual database, because the changes in the temporary database are not applied and are revoked.
  • a configuration method is also provided in this embodiment. As shown in FIG. 2, the process includes the following steps:
  • Step S202 in the case that the automatic configuration server ACS establishes a session with the client device CPE, the ACS sends a configuration configuration mode request to the CPE, so that the CPE sets the CPE to the manual application mode according to the setting configuration mode request;
  • Step S204 the ACS receives a first response message from the CPE corresponding to the setting configuration mode request, where the first response message indicates that the CPE has been set to the manual application mode;
  • Step S206 the ACS sends a configuration change request to the CPE, so that the CPE writes the changed content in the configuration change request into the temporary submission database.
  • Step S208 the ACS receives a second response message from the CPE corresponding to the configuration change request, and the second response message indicates that the CPE change content has been successfully submitted but not applied;
  • Step S210 The ACS sends a configuration operation request to the CPE, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
  • the ACS further includes: the ACS sends a call change content request to the CPE; and the ACS receives the CPE from the CPE.
  • the third response message carries the changed content; the ACS checks the changed content.
  • a CPE is also provided in this embodiment, and the CPE 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. 3 is a structural block diagram of a CPE according to an embodiment of the present invention. As shown in FIG. 3, the CPE includes:
  • the first receiving module 302 is configured to receive a configuration configuration mode request from the automatic configuration server ACS;
  • the setting module 304 is connected to the first receiving module 302, and is configured to set the CPE to the manual application mode according to the setting configuration mode request;
  • the first sending module 306 is connected to the foregoing setting module 304, and is configured to send a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE has been set to the manual application mode;
  • the second receiving module 308 is connected to the first sending module 306, and configured to receive a configuration change request from the ACS.
  • the writing module 310 is connected to the second receiving module 308, and configured to write the changed content in the configuration change request into the temporary submission database;
  • the second sending module 312 is connected to the writing module 310, and is configured to send a second response message corresponding to the configuration change request to the ACS, where the second response message indicates that the CPE change content has been successfully submitted but not applied;
  • the third receiving module 314 is connected to the second sending module 312, and is configured to receive a configuration operation request from the ACS.
  • the processing module 316 is connected to the third receiving module 314, and is configured to perform a corresponding operation on the changed content according to the configuration operation request.
  • the processing module 316 if the configuration operation request instructs the CPE to apply the changed content, the processing module 316 is configured to write the changed content in the temporary submission database into an actual application database; If the configuration operation request instructs the CPE to revoke the changed content, the processing module 316 is configured to revoke the changed content in the temporary submission database.
  • FIG. 4 is a structural block diagram of another CPE according to an embodiment of the present invention. As shown in FIG. 4, the device includes: in addition to all the modules shown in FIG.
  • the fourth receiving module 402 is connected to the second sending module 312, and configured to receive a call change content request from the ACS;
  • the third sending module 404 is connected to the fourth receiving module 402, configured to read the change content in the temporary submission database, and send a third response message corresponding to the request for invoking the change content to the ACS, where the third response message carries Change the content so that the ACS can verify the changes.
  • the processing module 316 includes:
  • the reading unit 502 is configured to read the change content in the temporary submission database
  • the writing unit 504 is configured to write the changed content to the actual application database.
  • an ACS is also provided in this embodiment, and the ACS 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. 6 is a structural block diagram of an ACS according to an embodiment of the present invention. As shown in FIG. 6, the ACS includes:
  • the fourth sending module 602 is configured to send a setting configuration mode request to the client device CPE, so that the CPE sets the CPE to the manual application mode according to the setting configuration mode request;
  • the fifth receiving module 604 is connected to the fourth sending module 602, and configured to receive a first response message from the CPE corresponding to the setting configuration mode request, where the first response message indicates that the CPE is set to the manual application mode;
  • the fifth sending module 606 is connected to the fifth receiving module 604, and is configured to send a configuration change request to the CPE, so that the CPE writes the changed content in the configuration change request into the temporary submission database;
  • the sixth receiving module 608 is connected to the fifth sending module 606, and is configured to receive a second response message corresponding to the configuration change request from the CPE, where the second response message indicates that the CPE change content has been successfully submitted but not applied;
  • the sixth sending module 610 is connected to the sixth receiving module 608, and is configured to send a configuration operation request to the CPE, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
  • the ACS further includes:
  • the seventh sending module 702 is connected to the sixth receiving module 608, and is configured to send a call change content request to the CPE.
  • the seventh receiving module 704 is connected to the seventh sending module 702, and is configured to receive a third response message from the CPE corresponding to the call to change the content request, where the third response message carries the changed content;
  • the verification module 706 is connected to the seventh receiving module 704 and configured to verify the changed content.
  • the embodiment of the present invention further provides a configuration system, including a CPE having any of the above features, and an ACS connected to the CPE and having any of the above features.
  • SetConfigMode RPC (equivalent to the above configuration mode request) contains two parameters, Mode and Global, where the Mode parameter type is int[0:1], where 0 is automatically applied to the parameter change, 1 is the parameter change manual application, only the change is submitted.
  • the global parameter type is int[0:1], where 0 is the specified configuration mode and is valid only for the currently established TR-069 session, and 1 is the specified configuration mode for the current and subsequent TR-069 sessions.
  • the RPC response packet does not need parameters. If there is an error during RPC execution, the error code defined by TR-069 is returned.
  • ConfigOperate RPC (equivalent to the above configuration operation request) contains an Operate parameter of type int[0:1], where 0 is the rollback of all changes since the last manual application, and 1 is the manual application since the last manual application. All changes after success.
  • the RPC response packet does not need parameters. If there is an error during RPC execution, the error code defined by TR-069 is returned.
  • the GetParameterNewValues RPC (equivalent to the above-mentioned call change content request) is consistent with the GetParameterValues RPC parameter. The difference is that the former is to view the new value to be changed in the mode of manual application set by SetConfigMode RPC, and the latter is the old value before the change.
  • the GetParameterNewNames RPC (equivalent to the above-mentioned call change content request) is consistent with the GetParameterNames RPC parameter. The difference is that the former is to view the object name to be changed in the mode of manual application set by SetConfigMode RPC, and the latter is the object name to be changed.
  • the configuration mode of the specified CPE is manual application mode and takes effect only for the current session.
  • the changes are set by using ConfigOperate RPC to set Operate to 1. If there is a misoperation in the parameter change, set the Operate to 0 to roll back the changes through ConfigOperate RPC.
  • the configuration mode of the specified CPE is manual application mode and takes effect only for the current session.
  • the change is set by using ConfigOperate RPC to set Operate to 1. If the object change has a misoperation, set the Operate to 0 to roll back the changes through ConfigOperate RPC.
  • the CPE side is required to have a temporary submission database and an actual application database.
  • the corresponding manual application operation is to temporarily submit the database. After the application operation is performed, the changes temporarily submitted to the database are distributed to the actual application database. If the configuration mode of the CPE itself is in the automatic application mode, the submitted changes are directly dispatched to the actual application database without the need to temporarily submit the database relay.
  • the configuration mode of the CPE defaults to the automatic application mode, which means that the automatic application mode is set by the SetConfigMode RPC in the default state without any actual mode change.
  • GetParameterNewValues and GetParameterNewNames RPC are called, and the content of the response message is no different from GetParameterValues and GetParameterNames RPC.
  • ConfigOperate RPC is called to perform manual application or rollback operation without any changes.
  • the Status parameter in the response message of the SetParameterValues, AddObject, and DelObject RPC methods will have a phase.
  • the change should be: in the manual application mode, the status value can only be 1, indicating that all parameters or object changes have been verified and submitted, but not applied, need to be manually applied through ConfigOperate RPC; the status value in the automatic application mode is 0, indicating All parameters or changes to the object have been verified and applied, and the Status value is either 1, indicating that some or all of the changes have not been applied.
  • the ACS side can flexibly submit and apply the CPE side manually, and provide a method for viewing the change data, which avoids the configuration error caused by the misoperation, causes the CPE side to be abnormal, and increases the configuration issued. safety.
  • Step 701 Establish a session between the ACS and the CPE side.
  • the CPE opens an connection with the ACS, the connection starts, the CPE sends a notification request to the ACS, the ACS returns a notification response to the CPE, and the CPE sends an HTTP post (HTTP update) to the ACS.
  • HTTP post HTTP update
  • Step 702 The ACS initiates a SetConfigMode RPC, sets a manual application mode, and only takes effect in the current session.
  • the CPE sends a setup configuration mode request to the ACS.
  • SetConfigMode RPC is equivalent to the above-mentioned setting configuration mode request.
  • Step 703 After receiving the SetConfigMode RPC, the CPE side succeeds in the manual application mode, and responds to the response message to the ACS.
  • the CPE sends a setup configuration mode response to the ACS.
  • the response message is equivalent to the foregoing first response message corresponding to the setting configuration mode request.
  • Step 704 The ACS side initiates a SetParameterValues RPC modification object parameter.
  • the ACS sends a setup parameter value request to the CPE.
  • SetParameterValues RPC is equivalent to the above configuration change request.
  • Step 705 After receiving the SetParameterValues RPC, the CPE side verifies the validity of the parameter, and submits the configuration change to the temporary submission library, and responds to the response message to the ACS side to notify the configuration submission that the submission is successful, but has not been applied yet.
  • the CPE sends a set parameter value response to the ACS.
  • the response message corresponds to the second response message corresponding to the configuration change request.
  • Step 706 The ACS side may call GetParameterNewValues RPC in the subsequent RPC interaction to check whether the parameter change is successfully submitted.
  • the ACS sends a request to the CPE to invoke a new parameter value.
  • GetParameterNewValues RPC is equivalent to the above call change content request.
  • Step 707 The CPE side fills in the response information in the temporary submission database into the response packet and returns it to the ACS.
  • the CPE sends a new parameter value response to the ACS.
  • the response message is equivalent to the foregoing third response message corresponding to the call change content request.
  • Step 708 The ACS side may repeat the step 104, or set a plurality of parameter changes therein, and after all the changes are delivered, and confirm that all the changes meet the expectations, the ConfigOperate RPC is delivered, and the above changes are applied.
  • the ACS sends a configuration operation request to the CPE, and the CPE sends a configuration operation response to the ACS.
  • ConfigOperate RPC is equivalent to the above configuration operation request.
  • Step 709 The CPE side submits all the changes in the temporary submission database to the actual application database, and returns a response message to the ACS side after the success.
  • Step 710 When there is no interactive content on both the CPE side and the ACS side, the session is closed.
  • the ACS sends an HTTP post to the CPE, and the session is closed between the CPE and the ACS.
  • the manual application operation in the change target scenario is similar to that in Figure 8.
  • the difference is that the ACS sends an add object request to the CPE, invokes a new naming request, and the CPE replies with the corresponding added object response and invokes a new naming. Response, no more details here.
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in 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 steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
  • the above-mentioned embodiments and the preferred embodiments solve the problem that the erroneous operation in the related art causes the abnormality on the CPE side, thereby achieving the effect of increasing the security of the configuration.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Disclosed are a configuration method, device and system. The method comprises: under the condition that a session is established between an ACS and a CPE, the CPE receives a setting configuration mode request from the ACS, for the CPE, the CPE is set as a manual application mode according to the setting configuration mode request, the CPE sends to the ACS a first response message corresponding to the setting configuration mode, the first response message indicating that the CPE has already been set as the manual application mode, the CPE receives a configuration change request from the ACS, the CPE writes change content in the configuration change request into a temporary submission database, the CPE sends to the ACS a second response message corresponding to the configuration change request, the second response message indicating that the change content of the CPE has already been submitted successfully but has not been applied, the CPE receives a configuration operation request from the ACS, and the CPE executes a corresponding operation on the change content according to the configuration operation request. At least the problem of abnormality of the CPE side caused by a faulty operation is solved.

Description

配置方法、装置及系统Configuration method, device and system 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种配置方法、装置及系统。The present invention relates to the field of communications, and in particular to a configuration method, apparatus, and system.
背景技术Background technique
远程管理协议是DSL(Digital Subscriber Line,数字用户线程)针对自动配置和CPE(Customer Premise Equipment,客户端设备)的管理而定义的CWMP(CPE WAN Management Protocol,CPE广域网管理协议),主要用于CPE和ACS(Automatic Configuration Server,自动配置服务器)之间进行通信交互的协议。The remote management protocol is CWMP (CPE WAN Management Protocol) defined by DSL (Digital Subscriber Line) for automatic configuration and management of CPE (Customer Premise Equipment). It is mainly used for CPE. A protocol for communication interaction with ACS (Automatic Configuration Server).
RPC(Remote Procedure Call,远程过程调用)要求在一次RPC调用过程中执行的操作必须是完全应用,或者完全不应用,前者通过回应状态告知ACS侧此次RPC操作的结果,而后一种情况通过回应一个错误相应告知ACS侧失败的原因。RPC (Remote Procedure Call) requires that the operation performed during an RPC call must be fully applied or not applied at all. The former informs the ACS side of the result of the RPC operation through the response status, while the latter case responds. An error tells the ACS side why it failed.
然而,例如在以下描述的场景中,直接应用RPC是有一定风险的:改变某些参数的值可能导致与ACS的通信中断;改变错误的值可能导致IP(Internet Protocol,网络之间互联的协议)、路由不可达;修改或者删除参数值可能导致关联删除多个实例。即,RPC的这类操作一旦应用,就是不可逆的,不同协议均有其特殊性,不适当的操作也可能是不可预知的。However, for example, in the scenario described below, there is a certain risk in directly applying RPC: changing the value of some parameters may cause communication interruption with the ACS; changing the value of the error may result in IP (Internet Protocol). ), the route is unreachable; modifying or deleting the parameter value may cause the association to delete multiple instances. That is, once the RPC operation is applied, it is irreversible, and different protocols have their own particularities. Inappropriate operations may also be unpredictable.
针对相关技术中误操作导致CPE侧异常的问题,目前尚未提出有效的解决方案。In view of the problem that the CPE side is abnormal due to misoperation in the related art, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种配置方法、装置及系统,以至少解决相关技术中误操作导致CPE侧异常的问题。The embodiment of the invention provides a configuration method, device and system to solve at least the problem that the CPE side is abnormal due to misoperation in the related art.
根据本发明的一个方面,提供了一种配置方法,包括:在自动配置服务器ACS与客户端设备CPE建立会话的情况下,所述CPE接收来自所述ACS的设置配置模式请求;所述CPE根据所述设置配置模式请求,将所述CPE设置为手动应用模式;所述CPE向所述ACS发送对应于所述设置配置模式请求的第一响应消息,所述第一响应消息指示所述CPE已设置为手动应用模式;所述CPE接收来自所述ACS的配置变更请求;所述CPE将所述配置变更请求中的变更内容写入临时提交数据库;所述CPE向所述ACS发送对应于所述配置变更请求的第二响应消息,所述第二响应消息指示所述 CPE所述变更内容已提交成功但未应用;所述CPE接收来自所述ACS的配置操作请求;所述CPE根据所述配置操作请求对所述变更内容执行对应的操作。According to an aspect of the present invention, a configuration method is provided, including: in a case where an automatic configuration server ACS establishes a session with a client device CPE, the CPE receives a configuration configuration mode request from the ACS; Setting the configuration mode request to set the CPE to a manual application mode; the CPE sends a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE has Set to a manual application mode; the CPE receives a configuration change request from the ACS; the CPE writes the change content in the configuration change request to a temporary submission database; and the CPE sends the ACS to the ACS corresponding to the Configuring a second response message of the change request, the second response message indicating the The change content of the CPE has been successfully submitted but not applied; the CPE receives a configuration operation request from the ACS; and the CPE performs a corresponding operation on the changed content according to the configuration operation request.
在本发明实施例中,若所述配置操作请求指示所述CPE应用所述变更内容,则所述CPE根据所述配置操作请求对所述变更内容执行对应的操作,包括:所述CPE将所述临时提交数据库中的所述变更内容写入实际应用数据库。若所述配置操作请求指示所述CPE撤销所述变更内容,则所述CPE根据所述配置操作请求对所述变更内容执行对应的操作,包括:所述CPE撤销所述临时提交数据库中的所述变更内容。In the embodiment of the present invention, if the configuration operation request instructs the CPE to apply the changed content, the CPE performs a corresponding operation on the changed content according to the configuration operation request, including: the CPE will be The change content in the temporary submission database is written into the actual application database. If the configuration operation request instructs the CPE to revoke the changed content, the CPE performs a corresponding operation on the changed content according to the configuration operation request, including: the CPE cancels the location in the temporary submission database. The changes are described.
在本发明实施例中,在所述CPE向所述ACS发送对应于所述配置变更请求的第二响应消息之后,所述CPE接收来自所述ACS的配置操作请求之前,还包括:所述CPE接收来自所述ACS的调用变更内容请求;所述CPE读取所述临时提交数据库中的所述变更内容,并向所述ACS发送对应于所述调用变更内容请求的第三响应消息,所述第三响应消息中携带有所述变更内容,以使所述ACS对所述变更内容进行校验。In the embodiment of the present invention, after the CPE sends the second response message corresponding to the configuration change request to the ACS, before the CPE receives the configuration operation request from the ACS, the CPE further includes: the CPE Receiving a call change content request from the ACS; the CPE reads the change content in the temporary submission database, and sends a third response message corresponding to the call change content request to the ACS, The change content is carried in the third response message, so that the ACS checks the changed content.
在本发明实施例中,所述CPE将所述临时提交数据库中的所述变更内容写入实际应用数据库,包括:所述CPE读取所述临时提交数据库中的所述变更内容;所述CPE将所述变更内容写入所述实际应用数据库。In the embodiment of the present invention, the CPE writes the changed content in the temporary submission database into the actual application database, including: the CPE reads the changed content in the temporary submission database; the CPE The changed content is written to the actual application database.
根据本发明的另一方面,提供了一种配置方法,包括:在自动配置服务器ACS与客户端设备CPE建立会话的情况下,所述ACS向所述CPE发送设置配置模式请求,以使所述CPE根据所述设置配置模式请求,将所述CPE设置为手动应用模式;所述ACS接收来自所述CPE的对应于所述设置配置模式请求的第一响应消息,所述第一响应消息指示所述CPE已设置为手动应用模式;所述ACS向所述CPE发送配置变更请求,以使所述CPE将所述配置变更请求中的变更内容写入临时提交数据库;所述ACS接收来自所述CPE的对应于所述配置变更请求的第二响应消息,所述第二响应消息指示所述CPE所述变更内容已提交成功但未应用;当需应用所述变更内容时,所述ACS向所述CPE发送配置操作请求,以使所述CPE根据所述配置操作请求对所述变更内容执行对应的操作。According to another aspect of the present invention, a configuration method is provided, including: in a case where an automatic configuration server ACS establishes a session with a client device CPE, the ACS sends a configuration configuration mode request to the CPE, so that the The CPE sets the CPE to a manual application mode according to the setting configuration mode request; the ACS receives a first response message from the CPE corresponding to the setting configuration mode request, where the first response message indicates The CPE has been set to a manual application mode; the ACS sends a configuration change request to the CPE, so that the CPE writes the changed content in the configuration change request to the temporary submission database; the ACS receives the CPE from the CPE Corresponding to the second response message of the configuration change request, the second response message indicates that the change content of the CPE has been successfully submitted but not applied; when the change content needs to be applied, the ACS reports to the The CPE sends a configuration operation request, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
在本发明实施例中,在所述ACS接收来自所述CPE的对应于所述配置变更请求的第二响应消息之后,所述ACS向所述CPE发送配置操作请求之前,还包括:所述ACS向所述CPE发送调用变更内容请求;所述ACS接收来自所述CPE的对应于所述调用变更内容请求的第三响应消息,所述第三响应消息中携带有所述变更内容;所述ACS对所述变更内容进行校验。 In the embodiment of the present invention, after the ACS receives the second response message corresponding to the configuration change request from the CPE, before the ACS sends a configuration operation request to the CPE, the ACS further includes: the ACS Sending a call change content request to the CPE; the ACS receives a third response message from the CPE corresponding to the call change content request, where the third response message carries the change content; the ACS The content of the change is verified.
根据本发明的另一方面,提供了一种客户端设备CPE,包括:第一接收模块,设置为接收来自自动配置服务器ACS的设置配置模式请求;设置模块,设置为根据所述设置配置模式请求,将所述CPE设置为手动应用模式;第一发送模块,设置为向所述ACS发送对应于所述设置配置模式请求的第一响应消息,所述第一响应消息指示所述CPE已设置为手动应用模式;第二接收模块,设置为接收来自所述ACS的配置变更请求;写入模块,设置为将所述配置变更请求中的变更内容写入临时提交数据库;第二发送模块,设置为向所述ACS发送对应于所述配置变更请求的第二响应消息,所述第二响应消息指示所述CPE所述变更内容已提交成功但未应用;第三接收模块,设置为接收来自所述ACS的配置操作请求;处理模块,设置为根据所述配置操作请求对所述变更内容执行对应的操作。According to another aspect of the present invention, a client device CPE is provided, comprising: a first receiving module configured to receive a setting configuration mode request from an automatic configuration server ACS; a setting module configured to request according to the setting configuration mode Setting the CPE to a manual application mode; the first sending module is configured to send a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE is set to a manual application mode; a second receiving module configured to receive a configuration change request from the ACS; a write module configured to write the changed content in the configuration change request to the temporary submission database; and the second sending module is configured to Sending, to the ACS, a second response message corresponding to the configuration change request, where the second response message indicates that the change content of the CPE has been successfully submitted but not applied; and the third receiving module is configured to receive from the a configuration operation request of the ACS; the processing module is configured to perform a corresponding operation on the changed content according to the configuration operation request
在本发明实施例中,若所述配置操作请求指示所述CPE应用所述变更内容,则所述处理模块,设置为将所述临时提交数据库中的所述变更内容写入实际应用数据库;若所述配置操作请求指示所述CPE撤销所述变更内容,则所述处理模块,设置为撤销所述临时提交数据库中的所述变更内容。In the embodiment of the present invention, if the configuration operation request instructs the CPE to apply the changed content, the processing module is configured to write the changed content in the temporary submission database into an actual application database; The configuration operation request instructs the CPE to revoke the changed content, and the processing module is configured to revoke the changed content in the temporary submission database.
在本发明实施例中,所述CPE,还包括:第四接收模块,设置为接收来自所述ACS的调用变更内容请求;第三发送模块,设置为读取所述临时提交数据库中的所述变更内容,并向所述ACS发送对应于所述调用变更内容请求的第三响应消息,所述第三响应消息中携带有所述变更内容,以使所述ACS对所述变更内容进行校验。In the embodiment of the present invention, the CPE further includes: a fourth receiving module, configured to receive a call change content request from the ACS; and a third sending module configured to read the foregoing in the temporary submission database Transmitting the content, and sending a third response message corresponding to the call change content request to the ACS, where the third response message carries the change content, so that the ACS checks the changed content .
在本发明实施例中,所述处理模块包括:读取单元,设置为读取所述临时提交数据库中的所述变更内容;写入单元,设置为将所述变更内容写入所述实际应用数据库。In the embodiment of the present invention, the processing module includes: a reading unit configured to read the changed content in the temporary submission database; and a writing unit configured to write the changed content into the actual application database.
根据本发明的另一方面,提供了一种自动配置服务器ACS,包括:第四发送模块,设置为向客户端设备CPE发送设置配置模式请求,以使所述CPE根据所述设置配置模式请求,将所述CPE设置为手动应用模式;第五接收模块,设置为接收来自所述CPE的对应于所述设置配置模式请求的第一响应消息,所述第一响应消息指示所述CPE已设置为手动应用模式;第五发送模块,设置为向所述CPE发送配置变更请求,以使所述CPE将所述配置变更请求中的变更内容写入临时提交数据库;第六接收模块,设置为接收来自所述CPE的对应于所述配置变更请求的第二响应消息,所述第二响应消息指示所述CPE所述变更内容已提交成功但未应用;第六发送模块,设置为向所述CPE发送配置操作请求,以使所述CPE根据所述配置操作请求对所述变更内容执行对应的操作。 According to another aspect of the present invention, an automatic configuration server ACS is provided, including: a fourth sending module, configured to send a setting configuration mode request to a client device CPE, so that the CPE requests according to the setting configuration mode, Setting the CPE to a manual application mode; the fifth receiving module is configured to receive a first response message from the CPE corresponding to the setting configuration mode request, the first response message indicating that the CPE is set to a fifth application module, configured to send a configuration change request to the CPE, so that the CPE writes the change content in the configuration change request into a temporary submission database; and the sixth receiving module is configured to receive from the a second response message of the CPE corresponding to the configuration change request, the second response message indicating that the changed content of the CPE has been successfully submitted but not applied; and the sixth sending module is configured to send to the CPE And configuring an operation request, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
在本发明实施例中,所述ACS,还包括:第七发送模块,设置为向所述CPE发送调用变更内容请求;第七接收模块,设置为接收来自所述CPE的对应于所述调用变更内容请求的第三响应消息,所述第三响应消息中携带有所述变更内容;校验模块,设置为对所述变更内容进行校验。In the embodiment of the present invention, the ACS further includes: a seventh sending module, configured to send a call change content request to the CPE; and a seventh receiving module, configured to receive a change corresponding to the call from the CPE a third response message of the content request, wherein the third response message carries the changed content; and the verification module is configured to check the changed content.
根据本发明的另一方面,提供了一种配置系统,包括具有上述任意特征的CPE,以及与所述CPE连接的具有上述任意特征的ACS。According to another aspect of the present invention, there is provided a configuration system comprising a CPE having any of the features described above, and an ACS having any of the above features coupled to the CPE.
通过本发明实施例,采用在ACS与CPE建立会话的情况下,CPE接收来自ACS的设置配置模式请求,CPE根据设置配置模式请求,将CPE设置为手动应用模式,CPE向ACS发送对应于设置配置模式请求的第一响应消息,第一响应消息指示CPE已设置为手动应用模式,CPE接收来自ACS的配置变更请求,CPE将配置变更请求中的变更内容写入临时提交数据库,CPE向ACS发送对应于配置变更请求的第二响应消息,第二响应消息指示CPE变更内容已提交成功但未应用,CPE接收来自ACS的配置操作请求,CPE根据配置操作请求对变更内容执行对应的操作,解决了相关技术中误操作导致CPE侧异常的问题,进而达到了增加配置下发的安全性的效果。In the embodiment of the present invention, when the ACS establishes a session with the CPE, the CPE receives the configuration configuration mode request from the ACS, and the CPE sets the CPE to the manual application mode according to the configuration configuration mode request, and the CPE sends the corresponding configuration to the ACS. The first response message of the mode request, the first response message indicates that the CPE is set to the manual application mode, the CPE receives the configuration change request from the ACS, and the CPE writes the change content in the configuration change request to the temporary submission database, and the CPE sends a corresponding response to the ACS. The second response message of the configuration change request, the second response message indicates that the CPE change content has been successfully submitted but not applied, and the CPE receives the configuration operation request from the ACS, and the CPE performs a corresponding operation on the changed content according to the configuration operation request, and the related operation is resolved. The problem of abnormal operation on the CPE side caused by misoperation in the technology, thereby achieving the effect of increasing the security of the configuration.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明实施例的示意性实施例及其说明用于解释本发明实施例,并不构成对本发明实施例的不当限定。在附图中:The accompanying drawings are intended to provide a further understanding of the embodiments of the embodiments of the invention Improper limitations. In the drawing:
图1是根据本发明实施例的CPE侧的配置方法的流程图;1 is a flowchart of a method of configuring a CPE side according to an embodiment of the present invention;
图2是根据本发明实施例的ACS侧的配置方法的流程图;2 is a flowchart of a method for configuring an ACS side according to an embodiment of the present invention;
图3是根据本发明实施例的CPE的结构框图;3 is a structural block diagram of a CPE according to an embodiment of the present invention;
图4是根据本发明实施例的另一CPE的结构框图;4 is a structural block diagram of another CPE according to an embodiment of the present invention;
图5是根据本发明实施例处理模块的结构示意图;FIG. 5 is a schematic structural diagram of a processing module according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的ACS的结构框图;6 is a structural block diagram of an ACS according to an embodiment of the present invention;
图7是根据本发明实施例的另一ACS的结构框图;FIG. 7 is a structural block diagram of another ACS according to an embodiment of the present invention; FIG.
图8是根据本发明实施例的变更对象参数的手动应用操作流程示意图; FIG. 8 is a schematic flowchart of a manual application operation process of changing an object parameter according to an embodiment of the present invention; FIG.
图9是根据本发明实施例的变更对象的手动应用操作流程示意图。FIG. 9 is a schematic diagram of a manual application operation flow of a change object according to an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明实施例。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. 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.
在本实施例中提供了一种配置方法,图1是根据本发明实施例的CPE侧的配置方法的流程图,如图1所示,该流程包括如下步骤:A configuration method is provided in this embodiment. FIG. 1 is a flowchart of a method for configuring a CPE side according to an embodiment of the present invention. As shown in FIG. 1 , the process includes the following steps:
步骤S102,在自动配置服务器ACS与客户端设备CPE建立会话的情况下,CPE接收来自ACS的设置配置模式请求;Step S102, in the case that the automatic configuration server ACS establishes a session with the client device CPE, the CPE receives the configuration configuration mode request from the ACS;
步骤S104,CPE根据设置配置模式请求,将CPE设置为手动应用模式;Step S104, the CPE sets the CPE to the manual application mode according to the setting configuration mode request.
步骤S106,CPE向ACS发送对应于设置配置模式请求的第一响应消息,第一响应消息指示CPE已设置为手动应用模式;Step S106: The CPE sends a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE is set to the manual application mode.
步骤S108,CPE接收来自ACS的配置变更请求;Step S108, the CPE receives a configuration change request from the ACS;
步骤S110,CPE将配置变更请求中的变更内容写入临时提交数据库;Step S110, the CPE writes the change content in the configuration change request into the temporary submission database;
步骤S112,CPE向ACS发送对应于配置变更请求的第二响应消息,第二响应消息指示CPE变更内容已提交成功但未应用;Step S112: The CPE sends a second response message corresponding to the configuration change request to the ACS, where the second response message indicates that the CPE change content has been successfully submitted but not applied;
步骤S114,CPE接收来自ACS的配置操作请求;Step S114, the CPE receives a configuration operation request from the ACS;
步骤S116,CPE根据配置操作请求对变更内容执行对应的操作。Step S116, the CPE performs a corresponding operation on the changed content according to the configuration operation request.
通过上述步骤,CPE设置为手动应用模式,当CPE接收到配置变更请求时,先将配置变更请求中的变更内容写入临时提交数据库,即仅提交了变更内容,未进行应用,相对于相关技术,ACS可以灵活地对CPE进行提交、撤销和应用的控制,解决了相关技术中误操作导致CPE侧异常的问题,提高了增加配置下发的安全性。Through the above steps, the CPE is set to the manual application mode. When the CPE receives the configuration change request, the CPE first writes the change content in the configuration change request to the temporary submission database, that is, only the changed content is submitted, and the application is not applied, compared with the related technology. The ACS can flexibly control the submission, revocation, and application of the CPE, and solve the problem that the CPE side is abnormal due to misoperation in the related technology, and the security of the configuration is improved.
在本发明实施例中,若配置操作请求指示CPE应用变更内容,则CPE根据配置操作请求对变更内容执行对应的操作,包括:CPE将临时提交数据库中的变更内容写入实际应用数据库。若配置操作请求指示CPE撤销变更内容,则CPE根据配置操作请求对变更内容执行对应的操作,包括:CPE撤销临时提交数据库中的变更内容。即ACS可以灵活地对CPE进行撤销和应用的控制。 In the embodiment of the present invention, if the configuration operation request instructs the CPE to apply the changed content, the CPE performs a corresponding operation on the changed content according to the configuration operation request, including: the CPE writes the changed content in the temporary submission database into the actual application database. If the configuration operation request instructs the CPE to cancel the changed content, the CPE performs a corresponding operation on the changed content according to the configuration operation request, including: the CPE cancels the change content in the temporary submission database. That is, the ACS can flexibly control the revocation and application of the CPE.
在本发明实施例中,在CPE向ACS发送对应于配置变更请求的第二响应消息之后,CPE接收来自ACS的配置操作请求之前,还包括:CPE接收来自ACS的调用变更内容请求;CPE读取临时提交数据库中的变更内容,并向ACS发送对应于调用变更内容请求的第三响应消息,第三响应消息中携带有变更内容,以使ACS对变更内容进行校验。即当变更内容校验成功后,ACS才会指示CPE应用该变更内容,避免误操作的产生。In the embodiment of the present invention, after the CPE sends the second response message corresponding to the configuration change request to the ACS, the CPE receives the configuration operation request from the ACS, and further includes: the CPE receives the call change content request from the ACS; and the CPE reads The content of the change in the database is temporarily submitted, and a third response message corresponding to the request for invoking the change content is sent to the ACS, and the third response message carries the changed content, so that the ACS verifies the changed content. That is, after the content verification is successful, the ACS instructs the CPE to apply the changed content to avoid the occurrence of misoperation.
在本发明实施例中,CPE将临时提交数据库中的变更内容写入实际应用数据库,包括:CPE读取临时提交数据库中的变更内容;CPE将变更内容写入实际应用数据库。即提高了增加配置下发的安全性。In the embodiment of the present invention, the CPE writes the changed content in the temporary submission database into the actual application database, including: the CPE reads the changed content in the temporary submission database; and the CPE writes the changed content into the actual application database. That is to improve the security of the increased configuration.
需要说明的是,ACS向CPE发送的配置操作请求,可以是应用变更,也可以撤销变更,前者对应将变更内容写入实际数据库,后者撤销临时数据库的变更内容。撤销后ACS若再获取变更内容,实际是从实际数据库中的内容,因为临时数据库中的变更内容没应用就撤销了。It should be noted that the configuration operation request sent by the ACS to the CPE may be an application change or a change may be cancelled. The former correspondingly writes the changed content to the actual database, and the latter cancels the change content of the temporary database. After the revocation, the ACS obtains the changed content, which is actually the content from the actual database, because the changes in the temporary database are not applied and are revoked.
在本实施例中还提供了一种配置方法,如图2所示,该流程包括如下步骤:A configuration method is also provided in this embodiment. As shown in FIG. 2, the process includes the following steps:
步骤S202,在自动配置服务器ACS与客户端设备CPE建立会话的情况下,ACS向CPE发送设置配置模式请求,以使CPE根据设置配置模式请求,将CPE设置为手动应用模式;Step S202, in the case that the automatic configuration server ACS establishes a session with the client device CPE, the ACS sends a configuration configuration mode request to the CPE, so that the CPE sets the CPE to the manual application mode according to the setting configuration mode request;
步骤S204,ACS接收来自CPE的对应于设置配置模式请求的第一响应消息,第一响应消息指示CPE已设置为手动应用模式;Step S204, the ACS receives a first response message from the CPE corresponding to the setting configuration mode request, where the first response message indicates that the CPE has been set to the manual application mode;
步骤S206,ACS向CPE发送配置变更请求,以使CPE将配置变更请求中的变更内容写入临时提交数据库;Step S206, the ACS sends a configuration change request to the CPE, so that the CPE writes the changed content in the configuration change request into the temporary submission database.
步骤S208,ACS接收来自CPE的对应于配置变更请求的第二响应消息,第二响应消息指示CPE变更内容已提交成功但未应用;Step S208, the ACS receives a second response message from the CPE corresponding to the configuration change request, and the second response message indicates that the CPE change content has been successfully submitted but not applied;
步骤S210,ACS向CPE发送配置操作请求,以使CPE根据配置操作请求对变更内容执行对应的操作。Step S210: The ACS sends a configuration operation request to the CPE, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
在本发明实施例中,在ACS接收来自CPE的对应于配置变更请求的第二响应消息之后,ACS向CPE发送配置操作请求之前,还包括:ACS向CPE发送调用变更内容请求;ACS接收来自CPE的对应于调用变更内容请求的第三响应消息,第三响应消息中携带有变更内容;ACS对变更内容进行校验。 In the embodiment of the present invention, after the ACS receives the second response message corresponding to the configuration change request from the CPE, before the ACS sends the configuration operation request to the CPE, the ACS further includes: the ACS sends a call change content request to the CPE; and the ACS receives the CPE from the CPE. Corresponding to the third response message that invokes the change content request, the third response message carries the changed content; the ACS checks the changed content.
在本实施例中还提供了一种CPE,该CPE用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。A CPE is also provided in this embodiment, and the CPE 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.
图3是根据本发明实施例的CPE的结构框图,如图3所示,该CPE包括:FIG. 3 is a structural block diagram of a CPE according to an embodiment of the present invention. As shown in FIG. 3, the CPE includes:
第一接收模块302,设置为接收来自自动配置服务器ACS的设置配置模式请求;The first receiving module 302 is configured to receive a configuration configuration mode request from the automatic configuration server ACS;
设置模块304,连接至上述第一接收模块302,设置为根据设置配置模式请求,将CPE设置为手动应用模式;The setting module 304 is connected to the first receiving module 302, and is configured to set the CPE to the manual application mode according to the setting configuration mode request;
第一发送模块306,连接至上述设置模块304,设置为向ACS发送对应于设置配置模式请求的第一响应消息,第一响应消息指示CPE已设置为手动应用模式;The first sending module 306 is connected to the foregoing setting module 304, and is configured to send a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE has been set to the manual application mode;
第二接收模块308,连接至上述第一发送模块306,设置为接收来自ACS的配置变更请求;The second receiving module 308 is connected to the first sending module 306, and configured to receive a configuration change request from the ACS.
写入模块310,连接至上述第二接收模块308,设置为将配置变更请求中的变更内容写入临时提交数据库;The writing module 310 is connected to the second receiving module 308, and configured to write the changed content in the configuration change request into the temporary submission database;
第二发送模块312,连接至上述写入模块310,设置为向ACS发送对应于配置变更请求的第二响应消息,第二响应消息指示CPE变更内容已提交成功但未应用;The second sending module 312 is connected to the writing module 310, and is configured to send a second response message corresponding to the configuration change request to the ACS, where the second response message indicates that the CPE change content has been successfully submitted but not applied;
第三接收模块314,连接至上述第二发送模块312,设置为接收来自ACS的配置操作请求;The third receiving module 314 is connected to the second sending module 312, and is configured to receive a configuration operation request from the ACS.
处理模块316,连接至上述第三接收模块314,设置为根据配置操作请求对变更内容执行对应的操作。The processing module 316 is connected to the third receiving module 314, and is configured to perform a corresponding operation on the changed content according to the configuration operation request.
在本发明实施例中,若所述配置操作请求指示所述CPE应用所述变更内容,则所述处理模块316,设置为将所述临时提交数据库中的所述变更内容写入实际应用数据库;若所述配置操作请求指示所述CPE撤销所述变更内容,则所述处理模块316,设置为撤销所述临时提交数据库中的所述变更内容。In the embodiment of the present invention, if the configuration operation request instructs the CPE to apply the changed content, the processing module 316 is configured to write the changed content in the temporary submission database into an actual application database; If the configuration operation request instructs the CPE to revoke the changed content, the processing module 316 is configured to revoke the changed content in the temporary submission database.
图4是根据本发明实施例的另一CPE的结构框图,如图4所示,该装置除包括图3所示的所有模块外,还包括: 4 is a structural block diagram of another CPE according to an embodiment of the present invention. As shown in FIG. 4, the device includes: in addition to all the modules shown in FIG.
第四接收模块402,连接至上述第二发送模块312,设置为接收来自ACS的调用变更内容请求;The fourth receiving module 402 is connected to the second sending module 312, and configured to receive a call change content request from the ACS;
第三发送模块404,连接至上述第四接收模块402,设置为读取临时提交数据库中的变更内容,并向ACS发送对应于调用变更内容请求的第三响应消息,第三响应消息中携带有变更内容,以使ACS对变更内容进行校验。The third sending module 404 is connected to the fourth receiving module 402, configured to read the change content in the temporary submission database, and send a third response message corresponding to the request for invoking the change content to the ACS, where the third response message carries Change the content so that the ACS can verify the changes.
在本发明实施例中,如图5所示,处理模块316包括:In the embodiment of the present invention, as shown in FIG. 5, the processing module 316 includes:
读取单元502,设置为读取临时提交数据库中的变更内容;The reading unit 502 is configured to read the change content in the temporary submission database;
写入单元504,设置为将变更内容写入实际应用数据库。The writing unit 504 is configured to write the changed content to the actual application database.
在本实施例中还提供了一种ACS,该ACS用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。An ACS is also provided in this embodiment, and the ACS 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.
图6是根据本发明实施例的ACS的结构框图,如图6所示,该ACS包括:FIG. 6 is a structural block diagram of an ACS according to an embodiment of the present invention. As shown in FIG. 6, the ACS includes:
第四发送模块602,设置为向客户端设备CPE发送设置配置模式请求,以使CPE根据设置配置模式请求,将CPE设置为手动应用模式;The fourth sending module 602 is configured to send a setting configuration mode request to the client device CPE, so that the CPE sets the CPE to the manual application mode according to the setting configuration mode request;
第五接收模块604,连接至上述第四发送模块602,设置为接收来自CPE的对应于设置配置模式请求的第一响应消息,第一响应消息指示CPE已设置为手动应用模式;The fifth receiving module 604 is connected to the fourth sending module 602, and configured to receive a first response message from the CPE corresponding to the setting configuration mode request, where the first response message indicates that the CPE is set to the manual application mode;
第五发送模块606,连接至上述第五接收模块604,设置为向CPE发送配置变更请求,以使CPE将配置变更请求中的变更内容写入临时提交数据库;The fifth sending module 606 is connected to the fifth receiving module 604, and is configured to send a configuration change request to the CPE, so that the CPE writes the changed content in the configuration change request into the temporary submission database;
第六接收模块608,连接至上述第五发送模块606,设置为接收来自CPE的对应于配置变更请求的第二响应消息,第二响应消息指示CPE变更内容已提交成功但未应用;The sixth receiving module 608 is connected to the fifth sending module 606, and is configured to receive a second response message corresponding to the configuration change request from the CPE, where the second response message indicates that the CPE change content has been successfully submitted but not applied;
第六发送模块610,连接至上述第六接收模块608,设置为向所述CPE发送配置操作请求,以使所述CPE根据所述配置操作请求对所述变更内容执行对应的操作。The sixth sending module 610 is connected to the sixth receiving module 608, and is configured to send a configuration operation request to the CPE, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
在本发明实施例中,如图7所示,ACS还包括: In the embodiment of the present invention, as shown in FIG. 7, the ACS further includes:
第七发送模块702,连接至上述第六接收模块608,设置为向CPE发送调用变更内容请求;The seventh sending module 702 is connected to the sixth receiving module 608, and is configured to send a call change content request to the CPE.
第七接收模块704,连接至上述第七发送模块702,设置为接收来自CPE的对应于调用变更内容请求的第三响应消息,第三响应消息中携带有变更内容;The seventh receiving module 704 is connected to the seventh sending module 702, and is configured to receive a third response message from the CPE corresponding to the call to change the content request, where the third response message carries the changed content;
校验模块706,连接至上述第七接收模块704,设置为对变更内容进行校验。The verification module 706 is connected to the seventh receiving module 704 and configured to verify the changed content.
本发明实施例还提供一种配置系统,包括具有上述任意特征的CPE,以及与CPE连接的具有上述任意特征的ACS。The embodiment of the present invention further provides a configuration system, including a CPE having any of the above features, and an ACS connected to the CPE and having any of the above features.
SetConfigMode RPC(相当于上述的设置配置模式请求)包含Mode和Global两个参数,其中Mode参数类型为int[0:1],其中0为参数变更自动应用,1为参数变更手动应用,仅提交变更;Global参数类型为int[0:1],其中0为指定的配置模式仅对当前建立的TR-069会话生效,1为指定的配置模式对当前以及后续建立的TR-069会话均生效。该RPC回应报文无需参数,如果RPC执行过程中有错误,返回TR-069定义的错误码。SetConfigMode RPC (equivalent to the above configuration mode request) contains two parameters, Mode and Global, where the Mode parameter type is int[0:1], where 0 is automatically applied to the parameter change, 1 is the parameter change manual application, only the change is submitted. The global parameter type is int[0:1], where 0 is the specified configuration mode and is valid only for the currently established TR-069 session, and 1 is the specified configuration mode for the current and subsequent TR-069 sessions. The RPC response packet does not need parameters. If there is an error during RPC execution, the error code defined by TR-069 is returned.
ConfigOperate RPC(相当于上述的配置操作请求)包含一个Operate参数,类型为int[0:1],其中0为回滚自上一次手动应用成功后的所有变更,1为手动应用自上一次手动应用成功后的所有变更。该RPC回应报文无需参数,如果RPC执行过程中有错误,返回TR-069定义的错误码。ConfigOperate RPC (equivalent to the above configuration operation request) contains an Operate parameter of type int[0:1], where 0 is the rollback of all changes since the last manual application, and 1 is the manual application since the last manual application. All changes after success. The RPC response packet does not need parameters. If there is an error during RPC execution, the error code defined by TR-069 is returned.
GetParameterNewValues RPC(相当于上述的调用变更内容请求)与GetParameterValues RPC参数保持一致,区别在于前者为通过SetConfigMode RPC设置了手动应用的模式下查看待变更的新值,而后者为待变更前的旧值。The GetParameterNewValues RPC (equivalent to the above-mentioned call change content request) is consistent with the GetParameterValues RPC parameter. The difference is that the former is to view the new value to be changed in the mode of manual application set by SetConfigMode RPC, and the latter is the old value before the change.
GetParameterNewNames RPC(相当于上述的调用变更内容请求)与GetParameterNames RPC参数保持一致,区别在于前者为通过SetConfigMode RPC设置了手动应用的模式下查看待变更的对象名称,而后者为待变更前的对象名称。The GetParameterNewNames RPC (equivalent to the above-mentioned call change content request) is consistent with the GetParameterNames RPC parameter. The difference is that the former is to view the object name to be changed in the mode of manual application set by SetConfigMode RPC, and the latter is the object name to be changed.
通过以下步骤可以实现针对对象参数的手动应用:Manual application of object parameters can be achieved by the following steps:
建立ACS与CPE之间的连接;Establish a connection between the ACS and the CPE;
打开TR-069会话,通过SetConfigMode RPC设置Mode为1,Global为0,即指定CPE的配置模式为手动应用模式,且只对当前会话生效;Open the TR-069 session and set the Mode to 1 and the Global to 0 through the SetConfigMode RPC. The configuration mode of the specified CPE is manual application mode and takes effect only for the current session.
通过SetParameterValues RPC改变对象模型的某些参数; Change some parameters of the object model through SetParameterValues RPC;
通过GetParameterNewValues RPC查看指定对象模型的某些参数的变更是否符合预期;Checking for changes in certain parameters of the specified object model through GetParameterNewValues RPC;
确认参数的变更符合预期后,通过ConfigOperate RPC设置Operate为1应用这些变更;如果参数变更存在误操作,通过ConfigOperate RPC设置Operate为0回滚这些变更。After confirming that the parameter changes are in line with expectations, the changes are set by using ConfigOperate RPC to set Operate to 1. If there is a misoperation in the parameter change, set the Operate to 0 to roll back the changes through ConfigOperate RPC.
通过以下步骤可以实现针对对象的手动应用:Manual application for objects can be achieved by the following steps:
建立ACS与CPE之间的连接;Establish a connection between the ACS and the CPE;
打开TR-069会话,通过SetConfigMode RPC设置Mode为1,Global为0,即指定CPE的配置模式为手动应用模式,且只对当前会话生效;Open the TR-069 session and set the Mode to 1 and the Global to 0 through the SetConfigMode RPC. The configuration mode of the specified CPE is manual application mode and takes effect only for the current session.
通过AddObject或DelObject RPC变更对象模型的某些对象;Alter some objects of the object model via AddObject or DelObject RPC;
通过GetParameterNewNames或GetParameterNewValues RPC查看指定对象模型的变更或变更对象的默认值是否符合预期;Check whether the default value of the change or change object of the specified object model meets the expected value through GetParameterNewNames or GetParameterNewValues RPC;
确认对象的变更符合预期后,通过ConfigOperate RPC设置Operate为1应用这些变更;如果对象变更存在误操作,通过ConfigOperate RPC设置Operate为0回滚这些变更。After confirming that the change of the object is in line with expectations, the change is set by using ConfigOperate RPC to set Operate to 1. If the object change has a misoperation, set the Operate to 0 to roll back the changes through ConfigOperate RPC.
要支持手动应用模式,客观上要求CPE侧具备临时提交数据库和实际应用数据库,对应手动应用操作的是临时提交数据库,在执行了应用操作后,将临时提交数据库的变更派发至实际应用数据库中。如果CPE的配置模式本身就处于自动应用模式,则提交的变更直接派发至实际应用数据库中,而无需临时提交数据库中转。To support the manual application mode, the CPE side is required to have a temporary submission database and an actual application database. The corresponding manual application operation is to temporarily submit the database. After the application operation is performed, the changes temporarily submitted to the database are distributed to the actual application database. If the configuration mode of the CPE itself is in the automatic application mode, the submitted changes are directly dispatched to the actual application database without the need to temporarily submit the database relay.
CPE的配置模式默认为自动应用模式,也就意味着在默认状态下通过SetConfigMode RPC设置自动应用模式不会有任何实际的模式改变。The configuration mode of the CPE defaults to the automatic application mode, which means that the automatic application mode is set by the SetConfigMode RPC in the default state without any actual mode change.
在自动应用模式下,调用GetParameterNewValues和GetParameterNewNames RPC,其响应报文的内容与GetParameterValues和GetParameterNames RPC没有区别。In the automatic application mode, GetParameterNewValues and GetParameterNewNames RPC are called, and the content of the response message is no different from GetParameterValues and GetParameterNames RPC.
在自动应用模式下,调用ConfigOperate RPC执行手动应用或回滚操作,不会产生任何的变更。In the automatic application mode, ConfigOperate RPC is called to perform manual application or rollback operation without any changes.
通过SetConfigMode RPC设置了手动或者自动应用模式后,对于SetParameterValues、AddObject、DelObject RPC方法的回应报文中Status参数会有相 应的变化:手动应用模式下Status值只能为1,表明所有参数或者对象的改动已经验证并已提交,但是未应用,需通过ConfigOperate RPC手动应用;自动应用模式下Status值或为0,表明所有参数或者对象的改动已经验证并已应用,Status值或为1,表明其变更部分或者全部尚未应用。After the manual or automatic application mode is set by SetConfigMode RPC, the Status parameter in the response message of the SetParameterValues, AddObject, and DelObject RPC methods will have a phase. The change should be: in the manual application mode, the status value can only be 1, indicating that all parameters or object changes have been verified and submitted, but not applied, need to be manually applied through ConfigOperate RPC; the status value in the automatic application mode is 0, indicating All parameters or changes to the object have been verified and applied, and the Status value is either 1, indicating that some or all of the changes have not been applied.
通过SetConfigMode RPC设置了手动应用模式后,如果先调用了AddObject RPC创建了一个实例,随后调用SetParameterValues RPC对该实例的参数进行变更,这种场景下的操作是允许的。因为手动应用模式下,SetParameterValues RPC的变更仅提交至设备的临时提交数据库中待应用。DelObject RPC类似。该场景下,调用GetParameterValues和GetParameterNames RPC仅能查询上次成功手动应用时的配置信息,如果需要查询当前手动配置提交但尚未应用的配置信息时,需要调用GetParameterNewValues和GetParameterNewNames RPC查看。After the manual application mode is set by SetConfigMode RPC, if an instance is created by calling AddObject RPC, then the parameters of the instance are changed by calling SetParameterValues RPC. The operation in this scenario is allowed. Because of the manual application mode, changes to the SetParameterValues RPC are only submitted to the device's temporary submission database for application. DelObject RPC is similar. In this scenario, calling GetParameterValues and GetParameterNames RPC can only query the configuration information when the last successful manual application. If you need to query the configuration information that is currently configured but submitted but not yet applied, you need to call GetParameterNewValues and GetParameterNewNames RPC to view.
通过SetConfigMode RPC设置了Mode=1,Global=1,并且通过一系列的RPC变更了对象,如果此时终止会话,则变更的配置依然保留在临时提交数据库中。下一次新的会话建立后,通过GetParameterNewValues或GetParameterNewNames RPC能够查看到上次会话待应用的配置信息;但如果设置了Mode=1,Global=0,由于手动应用模式只在当前会话生效,因此下一次新的会话将无法查看上次会话待应用的配置信息。相当于在当前会话关闭前隐式执行了ConfigOperate RPC的回滚操作。Mode=1, Global=1 is set by SetConfigMode RPC, and the object is changed through a series of RPCs. If the session is terminated at this time, the changed configuration remains in the temporary submission database. After the next new session is established, the configuration information of the last session to be applied can be viewed through GetParameterNewValues or GetParameterNewNames RPC; however, if Mode=1 is set, Global=0, since the manual application mode is only valid in the current session, the next time The new session will not be able to view the configuration information for the last session to be applied. This is equivalent to implicitly executing the rollback operation of ConfigOperate RPC before the current session is closed.
采用本发明实施例的方法,ACS侧可以很灵活的对CPE侧进行手动提交和应用,并提供查看变更数据的方法,避免了误操作导致的配置错误引起CPE侧异常,增加了配置下发的安全性。With the method of the embodiment of the present invention, the ACS side can flexibly submit and apply the CPE side manually, and provide a method for viewing the change data, which avoids the configuration error caused by the misoperation, causes the CPE side to be abnormal, and increases the configuration issued. safety.
本发明实施例在变更对象参数操作(变更对象与之类似)场景下的手动应用操作步骤如下:The manual application operation steps in the scenario of changing the object parameter operation (changing the object is similar) in the embodiment of the present invention are as follows:
步骤701:建立ACS与CPE侧的会话。Step 701: Establish a session between the ACS and the CPE side.
如图8中,CPE与ACS之间打开连接、连接开始、CPE向ACS发送通知请求、ACS向CPE返回通知响应,以及CPE向ACS发送HTTP post(HTTP更新)。As shown in FIG. 8, the CPE opens an connection with the ACS, the connection starts, the CPE sends a notification request to the ACS, the ACS returns a notification response to the CPE, and the CPE sends an HTTP post (HTTP update) to the ACS.
步骤702:ACS发起SetConfigMode RPC,设置手动应用模式,且仅在当前会话生效。Step 702: The ACS initiates a SetConfigMode RPC, sets a manual application mode, and only takes effect in the current session.
如图8中,CPE向ACS发送设置配置模式请求。As shown in Figure 8, the CPE sends a setup configuration mode request to the ACS.
其中,SetConfigMode RPC相当于上述的设置配置模式请求。 Among them, SetConfigMode RPC is equivalent to the above-mentioned setting configuration mode request.
报文格式举例如下:An example of the message format is as follows:
<SOAP-ENV:Envelope<SOAP-ENV: Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"Xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"Xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"Xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0">Xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<SOAP-ENV:Header><SOAP-ENV:Header>
<cwmp:ID>12</cwmp:ID><cwmp:ID>12</cwmp:ID>
</SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body><SOAP-ENV:Body>
<cwmp:SetConfigMode><cwmp:SetConfigMode>
<Mode>1</Mode><Mode>1</Mode>
<Global>0</Global><Global>0</Global>
</cwmp:SetConfigMode></cwmp:SetConfigMode>
</SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope></SOAP-ENV:Envelope>
步骤703:CPE侧接收到SetConfigMode RPC后,生效手动应用模式成功,并回应response报文给ACS。Step 703: After receiving the SetConfigMode RPC, the CPE side succeeds in the manual application mode, and responds to the response message to the ACS.
如图8中,CPE向ACS发送设置配置模式响应。As shown in Figure 8, the CPE sends a setup configuration mode response to the ACS.
其中,response报文相当于上述的对应于设置配置模式请求的第一响应消息。The response message is equivalent to the foregoing first response message corresponding to the setting configuration mode request.
报文格式举例如下:An example of the message format is as follows:
<SOAP-ENV:Envelope<SOAP-ENV: Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" Xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"Xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"Xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0">Xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<SOAP-ENV:Header><SOAP-ENV:Header>
<cwmp:ID>12</cwmp:ID><cwmp:ID>12</cwmp:ID>
</SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body><SOAP-ENV:Body>
<cwmp:SetConfigModeResponse><cwmp:SetConfigModeResponse>
</cwmp:SetConfigModeResponse></cwmp:SetConfigModeResponse>
</SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope></SOAP-ENV:Envelope>
步骤704:ACS侧发起SetParameterValues RPC修改对象参数。Step 704: The ACS side initiates a SetParameterValues RPC modification object parameter.
如图8中,ACS向CPE发送设置参数值请求。As shown in Figure 8, the ACS sends a setup parameter value request to the CPE.
其中,SetParameterValues RPC相当于上述的配置变更请求。Among them, SetParameterValues RPC is equivalent to the above configuration change request.
报文格式举例如下:An example of the message format is as follows:
<SOAP-ENV:Envelope<SOAP-ENV: Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"Xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"Xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0">Xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<SOAP-ENV:Header><SOAP-ENV:Header>
<cwmp:ID SOAP-ENV:mustUnderstand="1">13</cwmp:ID><cwmp:ID SOAP-ENV:mustUnderstand="1">13</cwmp:ID>
</SOAP-ENV:Header> </SOAP-ENV:Header>
<SOAP-ENV:Body><SOAP-ENV:Body>
<cwmp:SetParameterValues><cwmp:SetParameterValues>
<ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[1]"><ParameterList SOAP-ENC:arrayType="cwmp:ParameterValueStruct[1]">
<ParameterValueStruct><ParameterValueStruct>
<Name>InternetGatewayDevice.ManagementServer.PeriodicInformInterval</Name><Name>InternetGatewayDevice.ManagementServer.PeriodicInformInterval</Name>
<Value xsi:type="xsd:unsignedInt">60</Value><Value xsi:type="xsd:unsignedInt">60</Value>
</ParameterValueStruct></ParameterValueStruct>
</ParameterList></ParameterList>
<ParameterKey>124567</ParameterKey><ParameterKey>124567</ParameterKey>
</cwmp:SetParameterValues></cwmp:SetParameterValues>
</SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope></SOAP-ENV:Envelope>
步骤705:CPE侧接收到SetParameterValues RPC后,验证参数有效性,并提交配置变更至临时提交库,同时回应response报文至ACS侧,告知配置提交成功,但尚未应用。Step 705: After receiving the SetParameterValues RPC, the CPE side verifies the validity of the parameter, and submits the configuration change to the temporary submission library, and responds to the response message to the ACS side to notify the configuration submission that the submission is successful, but has not been applied yet.
如图8中,CPE向ACS发送设置参数值响应。As shown in Figure 8, the CPE sends a set parameter value response to the ACS.
其中,response报文相当于上述的对应于所述配置变更请求的第二响应消息。The response message corresponds to the second response message corresponding to the configuration change request.
报文格式举例如下:An example of the message format is as follows:
<SOAP-ENV:Envelope<SOAP-ENV: Envelope
xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'Xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding'Xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'Xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'Xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>Xmlns:cwmp='urn:dslforum-org:cwmp-1-0'>
<SOAP-ENV:Header> <SOAP-ENV:Header>
<cwmp:ID SOAP-ENV:mustUnderstand='1'>13</cwmp:ID><cwmp:ID SOAP-ENV:mustUnderstand='1'>13</cwmp:ID>
</SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body><SOAP-ENV:Body>
<cwmp:SetParameterValuesResponse><cwmp:SetParameterValuesResponse>
<Status>1</Status><Status>1</Status>
</cwmp:SetParameterValuesResponse></cwmp:SetParameterValuesResponse>
</SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope></SOAP-ENV:Envelope>
步骤706:ACS侧在后续RPC交互中可以调用GetParameterNewValues RPC查看参数变更是否提交成功。Step 706: The ACS side may call GetParameterNewValues RPC in the subsequent RPC interaction to check whether the parameter change is successfully submitted.
如图8中,ACS向CPE发送调用新参数值请求。As shown in Figure 8, the ACS sends a request to the CPE to invoke a new parameter value.
其中,GetParameterNewValues RPC相当于上述的调用变更内容请求。Among them, GetParameterNewValues RPC is equivalent to the above call change content request.
报文格式举例如下:An example of the message format is as follows:
<SOAP-ENV:Envelope<SOAP-ENV: Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"Xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"Xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"Xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0">Xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<SOAP-ENV:Header><SOAP-ENV:Header>
<cwmp:ID>14</cwmp:ID><cwmp:ID>14</cwmp:ID>
</SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body><SOAP-ENV:Body>
<cwmp:GetParameterNewValues><cwmp:GetParameterNewValues>
<ParameterNames SOAP-ENC:arrayType="xsd:string[1]"> <ParameterNames SOAP-ENC:arrayType="xsd:string[1]">
<string>InternetGatewayDevice.ManagementServer.PeriodicInformInterval</string><string>InternetGatewayDevice.ManagementServer.PeriodicInformInterval</string>
</ParameterNames></ParameterNames>
</cwmp:GetParameterNewValues></cwmp:GetParameterNewValues>
</SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope></SOAP-ENV:Envelope>
步骤707:CPE侧将临时提交数据库中的变更信息填入response报文回给ACS。Step 707: The CPE side fills in the response information in the temporary submission database into the response packet and returns it to the ACS.
如图8中,CPE向ACS发送调用新参数值响应。As shown in Figure 8, the CPE sends a new parameter value response to the ACS.
其中,response报文相当于上述的对应于所述调用变更内容请求的第三响应消息。The response message is equivalent to the foregoing third response message corresponding to the call change content request.
报文格式举例如下:An example of the message format is as follows:
<SOAP-ENV:Envelope<SOAP-ENV: Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"Xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"Xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"Xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0">Xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<SOAP-ENV:Header><SOAP-ENV:Header>
<cwmp:ID>14</cwmp:ID><cwmp:ID>14</cwmp:ID>
</SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body><SOAP-ENV:Body>
<cwmp:GetParameterNewValuesResponse><cwmp:GetParameterNewValuesResponse>
<ParameterList xsi:type='SOAP-ENC:Array'<ParameterList xsi:type='SOAP-ENC:Array'
SOAP-ENC:arrayType='cwmp:ParameterValueStruct[1]'>SOAP-ENC:arrayType='cwmp:ParameterValueStruct[1]'>
<ParameterValueStruct><ParameterValueStruct>
<Name>InternetGatewayDevice.ManagementServer.PeriodicInformInterval</Name> <Name>InternetGatewayDevice.ManagementServer.PeriodicInformInterval</Name>
<Value xsi:type='xsd:unsignedInt'>60</Value><Value xsi:type='xsd:unsignedInt'>60</Value>
</ParameterValueStruct></ParameterValueStruct>
</ParameterList></ParameterList>
</cwmp:GetParameterNewValuesResponse></cwmp:GetParameterNewValuesResponse>
</SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope></SOAP-ENV:Envelope>
步骤708:ACS侧可以重复步骤104,或者在其中设置多个参数变更,本次所有变更下发完毕,并且确认所有变更符合预期后,下发ConfigOperate RPC,应用以上变更。Step 708: The ACS side may repeat the step 104, or set a plurality of parameter changes therein, and after all the changes are delivered, and confirm that all the changes meet the expectations, the ConfigOperate RPC is delivered, and the above changes are applied.
如图8中,ACS向CPE发送配置操作请求,CPE向ACS发送配置操作响应。As shown in Figure 8, the ACS sends a configuration operation request to the CPE, and the CPE sends a configuration operation response to the ACS.
其中,ConfigOperate RPC相当于上述的配置操作请求。Among them, ConfigOperate RPC is equivalent to the above configuration operation request.
报文格式举例如下:An example of the message format is as follows:
<SOAP-ENV:Envelope<SOAP-ENV: Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"Xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"Xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"Xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0">Xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<SOAP-ENV:Header><SOAP-ENV:Header>
<cwmp:ID>12</cwmp:ID><cwmp:ID>12</cwmp:ID>
</SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body><SOAP-ENV:Body>
<cwmp:ConfigOperate><cwmp:ConfigOperate>
<Operate>1</Mode><Operate>1</Mode>
</cwmp:ConfigOperate> </cwmp:ConfigOperate>
</SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope></SOAP-ENV:Envelope>
步骤709:CPE侧将临时提交数据库中的所有变更提交至实际应用数据库,成功后返回response报文至ACS侧。Step 709: The CPE side submits all the changes in the temporary submission database to the actual application database, and returns a response message to the ACS side after the success.
报文格式举例如下:An example of the message format is as follows:
<SOAP-ENV:Envelope<SOAP-ENV: Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"Xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"Xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"Xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"Xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cwmp="urn:dslforum-org:cwmp-1-0">Xmlns:cwmp="urn:dslforum-org:cwmp-1-0">
<SOAP-ENV:Header><SOAP-ENV:Header>
<cwmp:ID>12</cwmp:ID><cwmp:ID>12</cwmp:ID>
</SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body><SOAP-ENV:Body>
<cwmp:ConfigOperateResponse><cwmp:ConfigOperateResponse>
</cwmp:ConfigOperateResponse></cwmp:ConfigOperateResponse>
</SOAP-ENV:Body></SOAP-ENV:Body>
</SOAP-ENV:Envelope></SOAP-ENV:Envelope>
步骤710:CPE侧和ACS侧均没有交互内容时,关闭会话。Step 710: When there is no interactive content on both the CPE side and the ACS side, the session is closed.
如图8中,ACS向CPE发送HTTP post,CPE和ACS之间关闭会话。As shown in Figure 8, the ACS sends an HTTP post to the CPE, and the session is closed between the CPE and the ACS.
如图9所示,为变更对象场景下的手动应用操作,与图8类似,区别在于,ACS会向CPE发送增加对象请求、调用新命名请求,CPE会回复对应的增加对象响应、调用新命名响应,此处不再赘述。 As shown in Figure 9, the manual application operation in the change target scenario is similar to that in Figure 8. The difference is that the ACS sends an add object request to the CPE, invokes a new naming request, and the CPE replies with the corresponding added object response and invokes a new naming. Response, no more details here.
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in 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 steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不设置为限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only a 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
如上所述,通过上述实施例及优选实施方式,解决了相关技术中误操作导致CPE侧异常的问题,进而达到了增加配置下发的安全性的效果。 As described above, the above-mentioned embodiments and the preferred embodiments solve the problem that the erroneous operation in the related art causes the abnormality on the CPE side, thereby achieving the effect of increasing the security of the configuration.

Claims (13)

  1. 一种配置方法,包括:A configuration method, including:
    在自动配置服务器ACS与客户端设备CPE建立会话的情况下,所述CPE接收来自所述ACS的设置配置模式请求;In the case that the automatic configuration server ACS establishes a session with the client device CPE, the CPE receives a configuration configuration mode request from the ACS;
    所述CPE根据所述设置配置模式请求,将所述CPE设置为手动应用模式;The CPE sets the CPE to a manual application mode according to the setting configuration mode request;
    所述CPE向所述ACS发送对应于所述设置配置模式请求的第一响应消息,所述第一响应消息指示所述CPE已设置为手动应用模式;Sending, by the CPE, a first response message corresponding to the setting configuration mode request to the ACS, where the first response message indicates that the CPE is set to a manual application mode;
    所述CPE接收来自所述ACS的配置变更请求;The CPE receives a configuration change request from the ACS;
    所述CPE将所述配置变更请求中的变更内容写入临时提交数据库;The CPE writes the changed content in the configuration change request into the temporary submission database;
    所述CPE向所述ACS发送对应于所述配置变更请求的第二响应消息,所述第二响应消息指示所述CPE所述变更内容已提交成功但未应用;Sending, by the CPE, a second response message corresponding to the configuration change request to the ACS, where the second response message indicates that the changed content of the CPE has been successfully submitted but not applied;
    所述CPE接收来自所述ACS的配置操作请求;The CPE receives a configuration operation request from the ACS;
    所述CPE根据所述配置操作请求对所述变更内容执行对应的操作。The CPE performs a corresponding operation on the changed content according to the configuration operation request.
  2. 根据权利要求1所述的方法,其中,The method of claim 1 wherein
    若所述配置操作请求指示所述CPE应用所述变更内容,则所述CPE根据所述配置操作请求对所述变更内容执行对应的操作,包括:If the configuration operation request instructs the CPE to apply the changed content, the CPE performs a corresponding operation on the changed content according to the configuration operation request, including:
    所述CPE将所述临时提交数据库中的所述变更内容写入实际应用数据库;The CPE writes the changed content in the temporary submission database into an actual application database;
    若所述配置操作请求指示所述CPE撤销所述变更内容,则所述CPE根据所述配置操作请求对所述变更内容执行对应的操作,包括:If the configuration operation request instructs the CPE to revoke the changed content, the CPE performs a corresponding operation on the changed content according to the configuration operation request, including:
    所述CPE撤销所述临时提交数据库中的所述变更内容。The CPE revokes the change content in the temporary submission database.
  3. 根据权利要求1所述的方法,其中,在所述CPE向所述ACS发送对应于所述配置变更请求的第二响应消息之后,所述CPE接收来自所述ACS的配置操作请求之前,还包括:The method according to claim 1, wherein after the CPE sends a second response message corresponding to the configuration change request to the ACS, before the CPE receives the configuration operation request from the ACS, the method further includes :
    所述CPE接收来自所述ACS的调用变更内容请求;The CPE receives a call change content request from the ACS;
    所述CPE读取所述临时提交数据库中的所述变更内容,并向所述ACS发送对应于所述调用变更内容请求的第三响应消息,所述第三响应消息中携带有所述变更内容,以使所述ACS对所述变更内容进行校验。 The CPE reads the change content in the temporary submission database, and sends a third response message corresponding to the call change content request to the ACS, where the third response message carries the change content So that the ACS verifies the changed content.
  4. 根据权利要求2所述的方法,其中,所述CPE将所述临时提交数据库中的所述变更内容写入实际应用数据库,包括:The method of claim 2, wherein the CPE writes the changed content in the temporary submission database to an actual application database, including:
    所述CPE读取所述临时提交数据库中的所述变更内容;Reading, by the CPE, the changed content in the temporary submission database;
    所述CPE将所述变更内容写入所述实际应用数据库。The CPE writes the changed content to the actual application database.
  5. 一种配置方法,包括:A configuration method, including:
    在自动配置服务器ACS与客户端设备CPE建立会话的情况下,所述ACS向所述CPE发送设置配置模式请求,以使所述CPE根据所述设置配置模式请求,将所述CPE设置为手动应用模式;In the case that the automatic configuration server ACS establishes a session with the client device CPE, the ACS sends a configuration configuration mode request to the CPE, so that the CPE sets the CPE as a manual application according to the setting configuration mode request. mode;
    所述ACS接收来自所述CPE的对应于所述设置配置模式请求的第一响应消息,所述第一响应消息指示所述CPE已设置为手动应用模式;Receiving, by the ACS, a first response message from the CPE corresponding to the setting configuration mode request, where the first response message indicates that the CPE is set to a manual application mode;
    所述ACS向所述CPE发送配置变更请求,以使所述CPE将所述配置变更请求中的变更内容写入临时提交数据库;Sending, by the ACS, a configuration change request to the CPE, so that the CPE writes the changed content in the configuration change request into a temporary submission database;
    所述ACS接收来自所述CPE的对应于所述配置变更请求的第二响应消息,所述第二响应消息指示所述CPE所述变更内容已提交成功但未应用;The ACS receives a second response message from the CPE corresponding to the configuration change request, where the second response message indicates that the change content of the CPE has been successfully submitted but not applied;
    所述ACS向所述CPE发送配置操作请求,以使所述CPE根据所述配置操作请求对所述变更内容执行对应的操作。The ACS sends a configuration operation request to the CPE, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
  6. 根据权利要求5所述的方法,其中,在所述ACS接收来自所述CPE的对应于所述配置变更请求的第二响应消息之后,所述ACS向所述CPE发送配置操作请求之前,还包括:The method according to claim 5, wherein after the ACS receives the second response message from the CPE corresponding to the configuration change request, before the ACS sends a configuration operation request to the CPE, the method further includes :
    所述ACS向所述CPE发送调用变更内容请求;The ACS sends a call change content request to the CPE;
    所述ACS接收来自所述CPE的对应于所述调用变更内容请求的第三响应消息,所述第三响应消息中携带有所述变更内容;The ACS receives a third response message from the CPE corresponding to the call change content request, where the third response message carries the change content;
    所述ACS对所述变更内容进行校验。The ACS verifies the changed content.
  7. 一种客户端设备CPE,包括:A client device CPE, including:
    第一接收模块,设置为接收来自自动配置服务器ACS的设置配置模式请求;a first receiving module, configured to receive a configuration configuration mode request from an automatic configuration server ACS;
    设置模块,设置为根据所述设置配置模式请求,将所述CPE设置为手动应用模式; Setting a module, configured to set the CPE to a manual application mode according to the setting configuration mode request;
    第一发送模块,设置为向所述ACS发送对应于所述设置配置模式请求的第一响应消息,所述第一响应消息指示所述CPE已设置为手动应用模式;a first sending module, configured to send, to the ACS, a first response message corresponding to the setting configuration mode request, where the first response message indicates that the CPE is set to a manual application mode;
    第二接收模块,设置为接收来自所述ACS的配置变更请求;a second receiving module, configured to receive a configuration change request from the ACS;
    写入模块,设置为将所述配置变更请求中的变更内容写入临时提交数据库;Writing a module, configured to write the changed content in the configuration change request into the temporary submission database;
    第二发送模块,设置为向所述ACS发送对应于所述配置变更请求的第二响应消息,所述第二响应消息指示所述CPE所述变更内容已提交成功但未应用;a second sending module, configured to send a second response message corresponding to the configuration change request to the ACS, where the second response message indicates that the changed content of the CPE has been successfully submitted but not applied;
    第三接收模块,设置为接收来自所述ACS的配置操作请求;a third receiving module, configured to receive a configuration operation request from the ACS;
    处理模块,设置为根据所述配置操作请求对所述变更内容执行对应的操作。The processing module is configured to perform a corresponding operation on the changed content according to the configuration operation request.
  8. 根据权利要求7所述的CPE,其中,The CPE according to claim 7, wherein
    若所述配置操作请求指示所述CPE应用所述变更内容,则所述处理模块,设置为将所述临时提交数据库中的所述变更内容写入实际应用数据库;If the configuration operation request instructs the CPE to apply the changed content, the processing module is configured to write the changed content in the temporary submission database into an actual application database;
    若所述配置操作请求指示所述CPE撤销所述变更内容,则所述处理模块,设置为撤销所述临时提交数据库中的所述变更内容。And if the configuration operation request instructs the CPE to revoke the changed content, the processing module is configured to revoke the changed content in the temporary submission database.
  9. 根据权利要求7所述的CPE,其中,还包括:The CPE of claim 7 further comprising:
    第四接收模块,设置为接收来自所述ACS的调用变更内容请求;a fourth receiving module, configured to receive a call change content request from the ACS;
    第三发送模块,设置为读取所述临时提交数据库中的所述变更内容,并向所述ACS发送对应于所述调用变更内容请求的第三响应消息,所述第三响应消息中携带有所述变更内容,以使所述ACS对所述变更内容进行校验。a third sending module, configured to read the change content in the temporary submission database, and send a third response message corresponding to the call change content request to the ACS, where the third response message carries The content is changed to enable the ACS to verify the changed content.
  10. 根据权利要求8所述的CPE,其中,所述处理模块包括:The CPE of claim 8 wherein said processing module comprises:
    读取单元,设置为读取所述临时提交数据库中的所述变更内容;a reading unit configured to read the changed content in the temporary submission database;
    写入单元,设置为将所述变更内容写入所述实际应用数据库。A write unit is configured to write the changed content to the actual application database.
  11. 一种自动配置服务器ACS,包括:An automatic configuration server ACS that includes:
    第四发送模块,设置为向客户端设备CPE发送设置配置模式请求,以使所述CPE根据所述设置配置模式请求,将所述CPE设置为手动应用模式;a fourth sending module, configured to send a setting configuration mode request to the client device CPE, so that the CPE sets the CPE to a manual application mode according to the setting configuration mode request;
    第五接收模块,设置为接收来自所述CPE的对应于所述设置配置模式请求的第一响应消息,所述第一响应消息指示所述CPE已设置为手动应用模式;a fifth receiving module, configured to receive a first response message from the CPE corresponding to the setting configuration mode request, where the first response message indicates that the CPE is set to a manual application mode;
    第五发送模块,设置为向所述CPE发送配置变更请求,以使所述CPE将所述配置变更请求中的变更内容写入临时提交数据库; The fifth sending module is configured to send a configuration change request to the CPE, so that the CPE writes the changed content in the configuration change request into the temporary submission database;
    第六接收模块,设置为接收来自所述CPE的对应于所述配置变更请求的第二响应消息,所述第二响应消息指示所述CPE所述变更内容已提交成功但未应用;a sixth receiving module, configured to receive a second response message from the CPE corresponding to the configuration change request, where the second response message indicates that the changed content of the CPE has been successfully submitted but not applied;
    第六发送模块,设置为向所述CPE发送配置操作请求,以使所述CPE根据所述配置操作请求对所述变更内容执行对应的操作。The sixth sending module is configured to send a configuration operation request to the CPE, so that the CPE performs a corresponding operation on the changed content according to the configuration operation request.
  12. 根据权利要求11所述的ACS,其中,还包括:The ACS of claim 11 further comprising:
    第七发送模块,设置为向所述CPE发送调用变更内容请求;a seventh sending module, configured to send a call change content request to the CPE;
    第七接收模块,设置为接收来自所述CPE的对应于所述调用变更内容请求的第三响应消息,所述第三响应消息中携带有所述变更内容;a seventh receiving module, configured to receive a third response message from the CPE corresponding to the call change content request, where the third response message carries the change content;
    校验模块,设置为对所述变更内容进行校验。A verification module is configured to verify the changed content.
  13. 一种配置系统,包括如权利要求7至10中任一项所述的CPE,以及与所述CPE连接的如权利要求11或12所述的ACS。 A configuration system comprising the CPE of any one of claims 7 to 10, and the ACS of claim 11 or 12 connected to the CPE.
PCT/CN2015/076811 2014-12-22 2015-04-16 Configuration method, device and system WO2016101448A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410812027.0 2014-12-22
CN201410812027.0A CN105790983A (en) 2014-12-22 2014-12-22 Configuration method, device and system

Publications (1)

Publication Number Publication Date
WO2016101448A1 true WO2016101448A1 (en) 2016-06-30

Family

ID=56149059

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/076811 WO2016101448A1 (en) 2014-12-22 2015-04-16 Configuration method, device and system

Country Status (2)

Country Link
CN (1) CN105790983A (en)
WO (1) WO2016101448A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783737A (en) * 2009-01-21 2010-07-21 华为终端有限公司 Reporting method, acquiring method and device of configuration order application result
CN102349265A (en) * 2009-03-09 2012-02-08 阿尔卡特朗讯公司 Method and system for remote configuration of a device
US20130268578A1 (en) * 2012-04-10 2013-10-10 Arabinda Bose Method And Apparatus For Facilitating Communications With A Managed Client Device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291248B (en) * 2008-05-28 2010-12-08 华为终端有限公司 Important operation protecting method in management system, device and communication system thereof
EP2148470A1 (en) * 2008-07-25 2010-01-27 Alcatel, Lucent TR-069 savepoints
US8880918B2 (en) * 2009-12-15 2014-11-04 Samsung Electronics Co., Ltd. Method and apparatus for communication between server and Customer Premise Equipment over Internet-based network
CN103441872A (en) * 2013-08-22 2013-12-11 福建星网锐捷网络有限公司 Failure recovery method, device and communication system of user side equipment
CN103618617B (en) * 2013-11-13 2017-02-08 深圳市共进电子股份有限公司 Method and system for carrying out PPPOE zero configuration service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783737A (en) * 2009-01-21 2010-07-21 华为终端有限公司 Reporting method, acquiring method and device of configuration order application result
CN102349265A (en) * 2009-03-09 2012-02-08 阿尔卡特朗讯公司 Method and system for remote configuration of a device
US20130268578A1 (en) * 2012-04-10 2013-10-10 Arabinda Bose Method And Apparatus For Facilitating Communications With A Managed Client Device

Also Published As

Publication number Publication date
CN105790983A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
US11496577B2 (en) Broker-based bus protocol and multi-client architecture
US10474449B2 (en) Upgrading a physical security system having multiple server nodes
KR101134059B1 (en) Authentication method, system, server, and client
US11503027B2 (en) Validating configuration changes on a network device
US11917018B2 (en) Broker-based bus protocol and multi-client architecture
US20110058657A1 (en) Network autodiscovery as a lever to decorrelated service activation through event driven architecture
US10541859B2 (en) Systems and methods for registering computer server event notifications
US20230254199A1 (en) Systems and methods for subscribing topics and registering computer server event notifications
CN107835257B (en) Session management method and device
US20200153679A1 (en) Method for enhancing status communications in a sdn-based communication system
US9634883B2 (en) Verifying information stored on a managed network device
WO2016070651A1 (en) Software centre system
US20210218622A1 (en) Dynamic service creation for microservice-based integration service
WO2014038820A1 (en) Method for managing access right of terminal to resource by server in wireless communication system, and device for same
CN113051539A (en) Method and device for calling digital certificate
CN103888415B (en) The nomadic control method and device of IMS user
CN115150113A (en) Method for accessing intranet application and related equipment
WO2016101448A1 (en) Configuration method, device and system
JP6351000B2 (en) Broadcast reception system and broadcast communication cooperation system
JP6044850B2 (en) Information terminal, information processing method, and control program
US20230291577A1 (en) Apparatus and method for managing data certificates in an icn network
WO2016065919A1 (en) Method for transmitting configuration information, mobile terminal and device management server as well as storage medium
WO2016127583A1 (en) Authentication processing method and apparatus
US9553915B2 (en) Method and system for implementing commands
US9836311B2 (en) System and method for management of reboot parameters

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: 15871525

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: 15871525

Country of ref document: EP

Kind code of ref document: A1