CN101267438A - Protocol-compatible realization method and client - Google Patents

Protocol-compatible realization method and client Download PDF

Info

Publication number
CN101267438A
CN101267438A CNA2008100946323A CN200810094632A CN101267438A CN 101267438 A CN101267438 A CN 101267438A CN A2008100946323 A CNA2008100946323 A CN A2008100946323A CN 200810094632 A CN200810094632 A CN 200810094632A CN 101267438 A CN101267438 A CN 101267438A
Authority
CN
China
Prior art keywords
agreement
protocol
action
oma
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008100946323A
Other languages
Chinese (zh)
Other versions
CN101267438B (en
Inventor
范新运
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100946323A priority Critical patent/CN101267438B/en
Publication of CN101267438A publication Critical patent/CN101267438A/en
Application granted granted Critical
Publication of CN101267438B publication Critical patent/CN101267438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The invention discloses an implementation for protocol compatibility, comprising: setting a single object access protocol parser and a synchronous marking language parser, wherein the SOAP parser is used for parsing SOAP format XML massages, the SyncML parser is used for parsing SyncML format XML massages; integrating a TR069 protocol parameter tree with a OMA DM protocol parameter tree, wherein the integrated parameter tree includes the parameters of the TR069 protocol parameter tree and the OMA DM protocol parameter tree, as well as non-common parameters; storing the same self-defined actions in the TR069 protocol and the OMA protocol, and defining and storing the different self-defined actions in the TR069 protocol and the OMA protocol. In addition, the invention discloses a client for implementing protocol compatibility. By using the invention, mutual compatibility between the TR069 protocol and the OMA DM protocol can be implemented on the client, thus enriching the functions of the client and making the usage of the client convenient.

Description

The implementation method of protocol-compliant and client
Technical field
The present invention relates to the communications field, and especially, the implementation method and the client that relate to protocol-compliant are used to realize the compatible of TR069 agreement (CPE WAN Management Protocol, i.e. CPE wide area network management agreement) and operation management maintain device management protocol (OMA DM agreement).
Background technology
Along with the continuous increase of end product quantity, for the ease of operator it to be managed, the remote management protocol of special terminaloriented product has appearred at present.
At present, this agreement mainly comprises TR069 agreement and OMA DM.Wherein, the TR069 agreement cable networks that are applied to more, and OMA DM is applied to wireless network more, and in fact TR069 agreement and OMA DM agreement are all irrelevant with transmission medium.
TR069 agreement and OMA DM agreement have a lot of similar even something in common, and particularly, the TR069 agreement and the OMA DM agreement similarities and differences are as follows:
TR069 agreement and OMA DM agreement are all based on http protocol, different is the Simple Object Access Protocol (soap protocol) of the message employing of TR069 agreement based on HTTP, and OMA DM adopts synchronous mark language (SyncML) agreement based on HTTP, and SOAP and SyncML agreement all are the XML forms;
The parameter set of TR069 agreement and OMA DM all adopts tree structure, all has many examples node, and the TR069 agreement can only be with the example of many examples of sign node of 1,2 these natural numbers order, and the example of many examples of OMA DM node is its name by the user;
TR069 agreement and OMA DM have defined set, wherein, the value of getting parms, parameter value is set, these four basic actions are identical with the deletion example to increase example, and actions such as edition upgrading, answer Default Value have difference slightly, the TR069 protocol specialized has defined these actions, and OMA DM in the parameter centralized definition some nodes have Exec (execution) action authority and realize these actions.
Usually, the different remote management protocol that different operators may support, and the terminal equipment that terminal equipment suppliers is produced may be sold a plurality of operators, like this, terminal equipment will be necessary for the compatibility of TR069 agreement and OMA DM agreement, yet, the present technical scheme that does not propose to realize the compatibility of these two kinds of agreements as yet in client.
Summary of the invention
Consider the problems referred to above and make the present invention, for this reason, main purpose of the present invention is to provide a kind of realization mechanism of protocol-compliant, is that OMA DM agreement can't realize compatible problem with TR069 agreement and operation management maintain device management protocol in the solution correlation technique.
According to embodiments of the invention, a kind of implementation method of protocol-compliant is provided, be used for realizing that in client the TR069 agreement is that CPE wide area network management agreement and OMA DM agreement are the compatible of operation management maintain device management protocol.
This method comprises: the Simple Object Access Protocol resolver is set and marks the language resolver synchronously, wherein, it is that the XML message of Simple Object Access Protocol is resolved that the Simple Object Access Protocol resolver is used for form, marks the language resolver synchronously and is used for form is resolved for the XML message of mark language synchronously; Integrate TR069 protocol parameter tree and OMA DM protocol parameter tree, wherein, the parameter tree after the integration comprises TR069 protocol parameter tree and total parameter and the non-total parameter of OMA DM protocol parameter tree; Self-defined identical action in storage TR069 agreement and the OMA DM agreement, and self-defined action inequality in TR069 agreement and the OMA DM agreement defined respectively and store.
Wherein, after the XML message that receives from server, by the Simple Object Access Protocol resolver or mark the language resolver synchronously the XML message that receives is resolved, obtain action and action parameter in the XML message of reception; Action in the XML message that the action execution of setting and/or storing according to the parameter after integrating receives generates result; Reply message according to the result structure, and carry out corresponding encapsulation to replying message according to the form of the XML message that receives; Answer message after the encapsulation is sent to server.
In addition, in the TR069 agreement of storage and the OMA DM agreement self-defined identical action comprise following one of at least: the value of getting parms, parameter value is set.
In addition, for the edition upgrading action, download version code that the shared edition upgrading action of TR069 agreement and OMA DM agreement is required and renewal edition code, and define edition upgrading action other parts respectively.
According to another embodiment of the present invention, provide a kind of realization client of protocol-compliant, be used to realize that the TR069 agreement is that CPE wide area network management agreement and OMA DM agreement are the compatible of operation management maintain device management protocol.
This client comprises: first resolver, and being used for form is that the XML message of Simple Object Access Protocol is resolved, and obtains action and action parameter in the XML message; Second resolver is used for form is resolved for the XML message that marks language synchronously, obtains action and action parameter in the XML message of being resolved; Memory module, store the Simple Object Access Protocol parameter tree after the integration and OMA DM protocol parameter is set and the multiple action of TR069 agreement and OMA DM agreement, wherein, parameter after integration tree comprises TR069 protocol parameter tree and total parameter and the non-total parameter of OMA DM protocol parameter tree, and multiple action comprises self-defined action identical and inequality in TR069 agreement and the OMA DM agreement; Processing module is used for carrying out the action that the XML message that receives comprises according to the tree of the parameter after integrating with by the action of memory module storage, and generates result, replys message according to the result structure; Sending module is used for encapsulating replying message according to the form of XML message, and sends the answer message of encapsulation.
Wherein, by self-defined identical action in the TR069 agreement of memory module storage and the OMA DM agreement comprise following one of at least: the value of getting parms, parameter value is set.
In addition, for the edition upgrading action, required download version code and the renewal edition code of edition upgrading action that memory module storage TR069 agreement and OMADM agreement are shared, and storage defines edition upgrading action other parts respectively.
By technique scheme of the present invention, can on client, realize the compatible of TR069 agreement and OMA DM agreement, thereby enrich the function of client, and make things convenient for the use of client.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart according to the implementation method of the protocol-compliant of the inventive method embodiment;
Fig. 2 is the flow chart according to the processing example of the implementation method of the protocol-compliant of the inventive method embodiment; And
Fig. 3 is the block diagram according to the realization client of the protocol-compliant of apparatus of the present invention embodiment.
Embodiment
Method embodiment
In the present embodiment, provide a kind of implementation method of protocol-compliant, be used for realizing the compatible of TR069 agreement and OMA DM agreement in client.Support that in client the main foundation of these two kinds of agreements is local common codes that agreement is identical, two cover codes of these two agreements are realized in different places respectively.
As shown in Figure 1, implementation method according to the protocol-compliant of present embodiment comprises: step S102, the Simple Object Access Protocol resolver is set and marks the language resolver synchronously, wherein, it is that the XML message of SOAP is resolved that the SOAP resolver is used for form, and it is that the XML message of SyncML is resolved that the SyncML resolver is used for form; Step S104 integrates TR069 protocol parameter tree and OMA DM protocol parameter tree, and wherein, the parameter tree after the integration comprises TR069 protocol parameter tree and total parameter and the non-total parameter of OMA DM protocol parameter tree; Step S106, self-defined identical action in storage TR069 agreement and the OMA DM agreement, and self-defined action inequality in TR069 agreement and the OMA DM agreement defined respectively and store.
Wherein, in the TR069 agreement of storage and the OMA DM agreement self-defined identical action comprise following one of at least: the value of getting parms, parameter value is set.
That is to say that this method adopts soap protocol at the TR069 protocol, and OMADM adopts SyncML, in client, realize the parsing and the encapsulation of SOAP and these two kinds of XML format messages of SyncML.
And, at the difference of the parameter of these two kinds of agreements tree, and the case representation difference of many examples node,, make two kinds of shared parameters trees of agreement by the difference in the integration parameters tree.
And for the action of two kinds of agreements, except four elemental motion values of getting parms, be provided with parameter value, increase and deletion example and the edition upgrading action, two kinds of agreements have been decided different separately actions, therefore, need realize respectively for each the self-defining different action of these two kinds of agreements.Wherein, and move for edition upgrading, two kinds of also incomplete same TR069 protocol definitions of agreement special action Download and TransferComplete, and OMA DM is the upward Exec action of DownloadandUpdate node of parameter tree, at this moment, can shared download version and upgrade edition code, and other is realized respectively.
By above-mentioned processing, after the XML message that receives from server, the XML message that receives is resolved by SOAP resolver or SyncML resolver, obtain action and action parameter in the XML message of reception; Action in the XML message that the action execution of setting and/or storing according to the parameter after integrating receives generates result; Reply message according to the result structure, and carry out corresponding encapsulation to replying message according to the form of the XML message that receives; Answer message after the encapsulation is sent to server.
Fig. 2 shows the terminal handling process performed to XML message, roughly the processing procedure of client can be divided into following steps:
The first step: when client from the HTTP message, extract send XML message from server after, call SOAP resolver or SyncML resolver according to the form of XML message, resolve this message and obtain action and action parameter;
Second step: call the different disposal function according to type of action, then call the different disposal function according to different agreement for the edition upgrading action;
The 3rd step: after the intact action of client process, encapsulate replying message, send to server then according to the different canned programs of different agreement.
Device embodiment
In the present embodiment, provide a kind of realization client of protocol-compliant, be used to realize the compatible of TR069 agreement and OMA DM agreement.
As shown in Figure 3, comprise according to the realization client of the protocol-compliant of present embodiment: first resolver 302, being used for form is that the XML message of SOAP is resolved, and obtains action and action parameter in the XML message; Second resolver 304, being used for form is that the XML message of SyncML is resolved, and obtains action and action parameter in the XML message of being resolved; Memory module 306, store the SOAP parameter tree after the integration and the OMADM protocol parameter is set and the multiple action of TR069 agreement and OMA DM agreement, wherein, parameter after integration tree comprises TR069 protocol parameter tree and total parameter and the non-total parameter of OMA DM protocol parameter tree, and multiple action comprises self-defined action identical and inequality in TR069 agreement and the OMADM agreement; Processing module 308 is used for carrying out the action that the XML message that receives comprises according to the tree of the parameter after integrating with by the action of memory module 306 storages, and generates result, replys message according to the result structure; Sending module 310 is used for encapsulating replying message according to the form of XML message, and sends the answer message of encapsulation.
Wherein, by self-defined identical action in the TR069 agreement of memory module 306 storage and the OMA DM agreement comprise following one of at least: the value of getting parms, parameter value is set.
In addition, for the edition upgrading action, required download version code and the renewal edition code of edition upgrading action that memory module 306 storage TR069 agreements and OMA DM agreement are shared, and storage defines edition upgrading action other parts respectively.
In sum, by means of technique scheme of the present invention, can on client, realize the compatible of TR069 agreement and OMA DM agreement, thereby enrich the function of client, and make things convenient for the use of client.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the implementation method of a protocol-compliant is used for realizing that in client the TR069 agreement is that CPE wide area network management agreement and OMA DM agreement are the compatible of operation management maintain device management protocol, it is characterized in that described method comprises:
The Simple Object Access Protocol resolver is set and marks the language resolver synchronously, wherein, it is that the XML message of Simple Object Access Protocol is resolved that described Simple Object Access Protocol resolver is used for form, and described synchronous mark language resolver is used for form is resolved for the XML message of mark language synchronously;
Integrate TR069 protocol parameter tree and OMA DM protocol parameter tree, wherein, the parameter tree after the integration comprises described TR069 protocol parameter tree and total parameter and the non-total parameter of described OMA DM protocol parameter tree;
Self-defined identical action in storage TR069 agreement and the OMA DM agreement, and self-defined action inequality in TR069 agreement and the OMA DM agreement defined respectively and store.
2. method according to claim 1, it is characterized in that, after the XML message that receives from server, by described Simple Object Access Protocol resolver or described synchronous mark language resolver the described XML message that receives is resolved, obtain action and action parameter in the described XML message of reception;
Action in the described XML message that the described action execution of setting and/or storing according to the described parameter after integrating receives generates result;
Reply message according to described result structure, and described answer message is carried out corresponding encapsulation according to the form of the described XML message that receives;
Described answer message after the encapsulation is sent to described server.
3. method according to claim 1 is characterized in that, in the TR069 agreement of storage and the OMA DM agreement self-defined identical action comprise following one of at least: the value of getting parms, parameter value is set.
4. method according to claim 1, it is characterized in that, for the edition upgrading action, download version code and renewal edition code that the shared described edition upgrading action of TR069 agreement and OMA DM agreement is required, and define described edition upgrading action other parts respectively.
5. the realization client of a protocol-compliant, be used to realize that the TR069 agreement is that CPE wide area network management agreement and OMA DM agreement are that the operation management maintain device management protocol is the compatible of OMA DM agreement, it is characterized in that, described client comprises: first resolver, being used for form is that the XML message of Simple Object Access Protocol is resolved, and obtains action and action parameter in the described XML message;
Second resolver is used for form is resolved for the XML message that marks language synchronously, obtains action and action parameter in the XML message of being resolved;
Memory module, store the Simple Object Access Protocol parameter tree after the integration and OMA DM protocol parameter is set and the multiple action of TR069 agreement and OMA DM agreement, wherein, described parameter tree after the integration comprises described TR069 protocol parameter tree and total parameter and the non-total parameter of described OMA DM protocol parameter tree, and described multiple action comprises self-defined action identical and inequality in TR069 agreement and the OMA DM agreement;
Processing module is used for carrying out the action that the described XML message that receives comprises according to the described parameter tree after integrating with by the action of described memory module storage, and generates result, replys message according to described result structure;
Sending module is used for according to the form of described XML message described answer message being encapsulated, and sends the described answer message of encapsulation.
6. client according to claim 5 is characterized in that, by self-defined identical action in the TR069 agreement of described memory module storage and the OMA DM agreement comprise following one of at least: the value of getting parms, parameter value is set.
7. client according to claim 5, it is characterized in that, move for edition upgrading, required download version code and the renewal edition code of described edition upgrading action that described memory module storage TR069 agreement and OMA DM agreement are shared, and storage defines described edition upgrading action other parts respectively.
CN2008100946323A 2008-04-24 2008-04-24 Protocol-compatible realization method and client Active CN101267438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100946323A CN101267438B (en) 2008-04-24 2008-04-24 Protocol-compatible realization method and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100946323A CN101267438B (en) 2008-04-24 2008-04-24 Protocol-compatible realization method and client

Publications (2)

Publication Number Publication Date
CN101267438A true CN101267438A (en) 2008-09-17
CN101267438B CN101267438B (en) 2012-03-28

Family

ID=39989574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100946323A Active CN101267438B (en) 2008-04-24 2008-04-24 Protocol-compatible realization method and client

Country Status (1)

Country Link
CN (1) CN101267438B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010127602A1 (en) * 2009-05-06 2010-11-11 中兴通讯股份有限公司 Method for provisioning parameters of terminal, system thereof, and terminal management device
CN101656629B (en) * 2009-09-01 2012-05-23 中兴通讯股份有限公司 Service propaganda advisory system and method
CN102523122A (en) * 2011-12-23 2012-06-27 青岛海信宽带多媒体技术有限公司 Remote management method of terminal equipment in wide area network and management apparatus thereof
WO2014005516A1 (en) * 2012-07-03 2014-01-09 Huawei Technologies Co., Ltd. System and method for subscription and policy provisioning
CN104079428A (en) * 2014-04-01 2014-10-01 烽火通信科技股份有限公司 System and method for managing configuration information conflicts
CN104268143A (en) * 2014-08-08 2015-01-07 华迪计算机集团有限公司 XML (extensible markup language) data processing method and device
CN113242521A (en) * 2021-07-13 2021-08-10 深圳市艾伯通信有限公司 TR 069-based message optimization processing method and system
CN114817117A (en) * 2022-06-23 2022-07-29 浙江大华技术股份有限公司 Protocol compatible method, electronic device and computer readable storage device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6971090B1 (en) * 2001-06-08 2005-11-29 Emc Corporation Common Information Model (CIM) translation to and from Windows Management Interface (WMI) in client server environment
JP2005258791A (en) * 2004-03-11 2005-09-22 Nec Corp Validity verification device
CN100384285C (en) * 2005-12-21 2008-04-23 中国移动通信集团公司 Method for testing apparatus management service system

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010127602A1 (en) * 2009-05-06 2010-11-11 中兴通讯股份有限公司 Method for provisioning parameters of terminal, system thereof, and terminal management device
CN101656629B (en) * 2009-09-01 2012-05-23 中兴通讯股份有限公司 Service propaganda advisory system and method
CN102523122B (en) * 2011-12-23 2014-12-17 青岛海信宽带多媒体技术有限公司 Remote management method of terminal equipment in wide area network and management apparatus thereof
CN102523122A (en) * 2011-12-23 2012-06-27 青岛海信宽带多媒体技术有限公司 Remote management method of terminal equipment in wide area network and management apparatus thereof
US9907014B2 (en) 2012-07-03 2018-02-27 Futurewei Technologies, Inc. System and method for subscription and policy provisioning
WO2014005516A1 (en) * 2012-07-03 2014-01-09 Huawei Technologies Co., Ltd. System and method for subscription and policy provisioning
CN104079428A (en) * 2014-04-01 2014-10-01 烽火通信科技股份有限公司 System and method for managing configuration information conflicts
CN104079428B (en) * 2014-04-01 2017-12-08 烽火通信科技股份有限公司 The system and method for managing configuration information conflict
CN104268143A (en) * 2014-08-08 2015-01-07 华迪计算机集团有限公司 XML (extensible markup language) data processing method and device
CN104268143B (en) * 2014-08-08 2017-10-20 华迪计算机集团有限公司 The treating method and apparatus of XML data
CN113242521A (en) * 2021-07-13 2021-08-10 深圳市艾伯通信有限公司 TR 069-based message optimization processing method and system
CN114817117A (en) * 2022-06-23 2022-07-29 浙江大华技术股份有限公司 Protocol compatible method, electronic device and computer readable storage device
CN114817117B (en) * 2022-06-23 2022-10-04 浙江大华技术股份有限公司 Protocol compatibility method, electronic equipment and computer readable storage device

Also Published As

Publication number Publication date
CN101267438B (en) 2012-03-28

Similar Documents

Publication Publication Date Title
CN101267438B (en) Protocol-compatible realization method and client
JP4713505B2 (en) Apparatus for acquiring logical tree information of mobile node and accompanying method
CN102185716B (en) Universal management method and system for communication equipment
US9331953B2 (en) Device management method, middleware, and machine-to-machine communications platform, device, and system
US20040158583A1 (en) Method and device for defining objects allowing establishment of a device management tree for mobile communication devices
KR101421567B1 (en) Device management server, client and method for locating target operation object
KR100896942B1 (en) Integrated method and apparatus to manage mobile devices and services
CN100539597C (en) Configuring management method and device
EP2637355A1 (en) Method for managing terminal device, proxy device and system
EP2930967A1 (en) Method and device for reporting traffic, and method and device for counting network traffic
US7292846B2 (en) Apparatus, and associated method, for retrieving mobile-node device management tree information
CN102244666A (en) Message processing method for machine-to-machine/man (M2M) platform and M2M platform system
CN101795206A (en) Method and device for realizing SNMP agent on distributed equipment
CN104243198B (en) A kind of network management and system based on network configuration protocol
CN108206864B (en) Vehicle information synchronization real-time query system and information synchronization method based on WeChat
CN114024821A (en) Northbound interface management method and device
CN113992504A (en) Network transmission equipment management method based on industrial internet identification analysis
CN101179444B (en) Configuration take-effective method, configuration system and configuration gateway
CN101889439B (en) Method and device for restoring at least one setting
CN103491058A (en) TR069 and UPnP protocol conversion method and home network terminal management method and system
CN102571390B (en) Equipment management method, equipment and system
Stusek et al. A Novel Application of CWMP: An Operator-grade Management Platform for IoT
CN115103042B (en) System based on CPE wide area network management protocol and wireless communication module
Yang et al. A Web Platform for Globally Interconnected 6LoWPANs.
CN110134467B (en) Parameter configuration processing method and device, storage medium and processor

Legal Events

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