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

Protocol-compatible realization method and client Download PDF

Info

Publication number
CN101267438B
CN101267438B CN2008100946323A CN200810094632A CN101267438B CN 101267438 B CN101267438 B CN 101267438B CN 2008100946323 A CN2008100946323 A CN 2008100946323A CN 200810094632 A CN200810094632 A CN 200810094632A CN 101267438 B CN101267438 B CN 101267438B
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.)
Active
Application number
CN2008100946323A
Other languages
Chinese (zh)
Other versions
CN101267438A (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 method for protocol compatibility, comprising: setting a simple object access protocol (SOAP) parser and a synchronous marking language parser, wherein the SOAP parser is used for parsing SOAP format XML massages, a 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 also 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 more is applied to cable network, 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 following:
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 instances node, and the TR069 agreement can only be used the instance of many instances of sign node of 1,2 these natural number orders, and the instance of many instances 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 instance to increase instance; And actions such as edition upgrading, answer Default Value have difference slightly, and 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 possibly support; And the terminal equipment that terminal equipment suppliers is produced possibly sold a plurality of operators, and like this, terminal equipment will be necessary for the compatibility of TR069 agreement and OMA DM agreement; Yet, the present technical scheme that proposes 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, through 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; Carry out the action in the XML message that receives according to the parameter tree after integrating and/or the action of storage, generate 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 and renewal edition code that the shared edition upgrading action of TR069 agreement and OMA DM agreement is required, and define other part of edition upgrading action respectively.
According to another embodiment of the present invention, a kind of realization client of protocol-compliant is provided, has been 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 that TR069 protocol parameter tree after the integration is set with OMA DM protocol parameter 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, the required download version code and renewal edition code of edition upgrading action that memory module storage TR069 agreement and OMADM agreement are shared, and storage defines other part of edition upgrading action respectively.
Through 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 instance 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, a kind of implementation method of protocol-compliant is provided, has been used for realizing the compatible of TR069 agreement and OMA DM agreement in client.Main foundation in these two kinds of agreements of client support is the local common codes that agreement is identical, and 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 to 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 to the difference of the parameter of these two kinds of agreements tree, and the case representation of many instances node is different, through the difference in the integration parameters tree, makes two kinds of shared parameters trees of agreement.
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 instance and the edition upgrading action; Two kinds of agreements have been decided different actions separately, 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 the OMA DM Exec action that to be parameter tree go up the DownloadandUpdate node, at this moment; Can shared download version with upgrade edition code, and other is realized respectively.
Through above-mentioned processing, after the XML message that receives from server, the XML message that receives is resolved through SOAP resolver or SyncML resolver, obtain action and action parameter in the XML message of reception; Carry out the action in the XML message that receives according to the parameter tree after integrating and/or the action of storage, generate 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 can the processing procedure of client 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, a kind of realization client of protocol-compliant is provided, has been 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 that SOAP parameter tree after the integration is set with the OMADM protocol parameter 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, the required download version code and renewal edition code of edition upgrading action that memory module 306 storage TR069 agreements and OMA DM agreement are shared, and storage defines other part of edition upgrading action 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 merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, 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 TR069 agreement and OMA DM agreement are the compatible of operation management maintain device management protocol, it is characterized in that said 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 said Simple Object Access Protocol resolver is used for form, and said 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 said TR069 protocol parameter tree and total parameter and the non-total parameter of said 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; Through said Simple Object Access Protocol resolver or said synchronous mark language resolver the said XML message that receives is resolved, obtain action and action parameter in the said XML message of reception;
Carry out the action in the said XML message that receives according to the said parameter tree after integrating and/or the said action of storage, generate result;
Reply message according to said result structure, and said answer message is carried out corresponding encapsulation according to the form of the said XML message that receives;
Said answer message after the encapsulation is sent to said 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 said edition upgrading action of TR069 agreement and OMA DM agreement is required, and define said other part of edition upgrading action respectively.
5. the realization client of a protocol-compliant is used to realize that TR069 agreement and OMADM agreement are that the operation management maintain device management protocol is the compatible of OMA DM agreement, it is characterized in that said 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 said 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 that TR069 protocol parameter tree after the integration is set with the OMADM protocol parameter and the multiple action of TR069 agreement and OMA DM agreement; Wherein, Said parameter tree after the integration comprises said TR069 protocol parameter tree and total parameter and the non-total parameter of said OMA DM protocol parameter tree, and said 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 said XML message that receives comprises according to the said parameter tree after integrating with by the action of said memory module storage, and generates result, replys message according to said result structure;
Sending module is used for according to the form of said XML message said answer message being encapsulated, and sends the said answer message of encapsulation.
6. client according to claim 5 is characterized in that, by self-defined identical action in the TR069 agreement of said 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; The required download version code and renewal edition code of said edition upgrading action that said memory module storage TR069 agreement and OMA DM agreement are shared, and storage defines said other part of edition upgrading action 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 CN101267438A (en) 2008-09-17
CN101267438B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883355B (en) * 2009-05-06 2015-06-03 中兴通讯股份有限公司 Collocation method and system of terminal parameter 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
US9907014B2 (en) 2012-07-03 2018-02-27 Futurewei Technologies, Inc. System and method for subscription and policy provisioning
CN104079428B (en) * 2014-04-01 2017-12-08 烽火通信科技股份有限公司 The system and method for managing configuration information conflict
CN104268143B (en) * 2014-08-08 2017-10-20 华迪计算机集团有限公司 The treating method and apparatus of XML data
CN113242521B (en) * 2021-07-13 2021-10-19 深圳市艾伯通信有限公司 TR 069-based message optimization processing method and system
CN114817117B (en) * 2022-06-23 2022-10-04 浙江大华技术股份有限公司 Protocol compatibility method, electronic equipment and computer readable storage device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005258791A (en) * 2004-03-11 2005-09-22 Nec Corp Validity verification device
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
CN1791257A (en) * 2005-12-21 2006-06-21 中国移动通信集团公司 Method for testing apparatus management service system

Patent Citations (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
CN1791257A (en) * 2005-12-21 2006-06-21 中国移动通信集团公司 Method for testing apparatus management service system

Also Published As

Publication number Publication date
CN101267438A (en) 2008-09-17

Similar Documents

Publication Publication Date Title
CN101267438B (en) Protocol-compatible realization method and client
CN102185716B (en) Universal management method and system for communication equipment
US7983226B2 (en) Apparatus, and associated method, for retrieving mobile-node logic tree information
EP2914022B1 (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
CN101778486B (en) Equipment management server, client and target operation object positioning method
KR100896942B1 (en) Integrated method and apparatus to manage mobile devices and services
CN100539597C (en) Configuring management method and device
CN101795206B (en) Method and device for realizing SNMP agent on distributed equipment
CN102244666A (en) Message processing method for machine-to-machine/man (M2M) platform and M2M platform system
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
Chu et al. OMA DM v1. x compliant Lightweight Device Management for Constrained M2M devices
CN113051202A (en) Interface adaptation method, device, electronic equipment and computer readable storage medium
CN103491058A (en) TR069 and UPnP protocol conversion method and home network terminal management method and system
CN101192994B (en) A method for conditionally getting data in SNMP
EP3629616A1 (en) Data interaction method, device and equipment
CN102123371B (en) Client end service configuration method, terminal and server
CN101686243A (en) Method, device and system for managing information
CN106330507B (en) CTP generation method and device, and network management server
Popić et al. Efficient Usage of Resources in SDN by Modifying YANG Modules in Linux-based Embedded Systems
Yang et al. A Web Platform for Globally Interconnected 6LoWPANs.

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