CN1996878A - A method for information conversion of the simple object access protocol service management interface - Google Patents

A method for information conversion of the simple object access protocol service management interface Download PDF

Info

Publication number
CN1996878A
CN1996878A CNA200610094825XA CN200610094825A CN1996878A CN 1996878 A CN1996878 A CN 1996878A CN A200610094825X A CNA200610094825X A CN A200610094825XA CN 200610094825 A CN200610094825 A CN 200610094825A CN 1996878 A CN1996878 A CN 1996878A
Authority
CN
China
Prior art keywords
parameter
request message
management interface
service management
soap
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.)
Pending
Application number
CNA200610094825XA
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNA200610094825XA priority Critical patent/CN1996878A/en
Priority to PCT/CN2007/070188 priority patent/WO2008003257A1/en
Publication of CN1996878A publication Critical patent/CN1996878A/en
Pending legal-status Critical Current

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0273Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

This invention discloses one method to transfer information by SOAP business management interface, which comprises the following steps: in the management interface setting match files composed of parameters names and parameter types and the common cokes to convert information; the interface receives requires information to inquire parameters relative types according to the names; converting the require information into message frames by use of common codes to network element; the element receives require message frame into interface and converting the message frame into responding message into network management.

Description

A kind of method of Simple Object Access Protocol service management interface transitional information
Technical field
The present invention relates to the interfacing in the network management, relate in particular to the method for a kind of Simple Object Access Protocol (SOAP) service management interface transitional information.
Background technology
Along with the diversified development of service management, the Web service interface is becoming the general standard interface of NE management because it is cross-platform, stride language, stride advantage such as fire compartment wall.Wherein, based on the Web service interface of SOAP, i.e. the application of SOAP service management interface in network element interface is very extensive.
Generally, the message that webmaster sends and receives is based on extending mark language (XML, eXtensible Markup Language) expression way, and the information that network element can be discerned is based on binary expression-form, can communicate by letter in order to make the two, between webmaster and network element, be provided with the SOAP service management interface, the request message that is used for webmaster is sent to network element converts the request message frame that network element can be discerned to, and the response message frame that network element is sent to webmaster converts the response message that webmaster can be discerned to.
In order to meet Web service interoperability (WS-I) standard, also in order to improve the compatibility of soap message, the soap message that webmaster sends and receives usually adopts document/literal encapsulation format, and this message format only comprises parameter name and parameter value, does not comprise parameter type.For this SOAP service management interface, current general way is: at first, write WSDL (WSDL) interface document; Then, utilize the code Core Generator to generate the code of SOAP service management interface according to the WSDL interface document.The code that is generated is the method call that every order is generated, and carries out corresponding code and carries out corresponding order exactly, and the message and/or the message frame that receive are done conversion process.
Specifically referring to Fig. 1, Fig. 1 illustrates the process of SOAP service management interface transitional information in the prior art.This process comprises:
Step 101-103, webmaster send the SOAP request message to the SOAP service management interface, the SOAP service management interface is carried out corresponding code according to the SOAP request message that webmaster sends, convert the SOAP request message to request message frame that network element can be discerned, and the request message frame is sent to network element;
Every SOAP request message that webmaster sends all has corresponding method call in the SOAP service management interface, the SOAP service management interface is according to the command name that carries in the request message, method name just, call corresponding method and carry out corresponding code, convert the parameter value that carries in the SOAP request message to binary system parameter value that network element can be discerned, and carry out framing, so just realized conversion to request message.
After step 104-106, network element are received the request message frame, be sent to the SOAP service management interface through handling the generation response message frame, the SOAP service management interface is carried out corresponding code response message frame is resolved to the SOAP response message according to the response message frame that network element sends, and is sent to webmaster;
Similarly, the response message frame that network element sends also has corresponding method call in the SOAP service management interface, the SOAP service management interface is carried out corresponding code according to the method name of response message frame, just can realize the conversion from response message frame to the SOAP response message.
As seen, this processing mode is that every order in the SOAP service management interface webmaster and network element being sent all is solidified into code and carries out, when network element updating, the WSDL interface document is inevitable makes amendment along with the upgrading of network element, the SOAP service management interface has to regenerate code according to the WSDL that revises, and does the interlock upgrading.When the WSDL that revises regenerates code, need verify and test, just can be the patch installing of SOAP service management interface at last, form new method call, to adapt to the new interface command that network element updating is brought.Therefore, when network element updating, the processing more complicated of current SOAP service management interface, troublesome poeration, the burden that network element updating brought is heavier.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method of SOAP service management interface transitional information, and when network element updating, the SOAP service management interface can be upgraded thereupon, handles simple.Particularly, adaptation file that comprises parameter name and parameter type corresponding relation and the versatility code that is used for transitional information are set in the SOAP service management interface, this method comprises:
A, SOAP service management interface are received the request message that webmaster sends, according to the parameter name that comprises in the request message, query argument name corresponding parameters type in the adaptation file that is provided utilizes versatility code to convert request message to the request message frame according to parameter type, sends to network element;
The generation response message frame sent to the SOAP service management interface after B, network element were received the request message frame, and the SOAP service management interface utilizes versatility code to convert response message frame to response message and sends to webmaster.
Converting request message to the request message frame described in the steps A comprises:
Convert the parameter value of the text formatting in the request message parameter value of binary format to, and form the request message frame.
Parameter in the described request message is the parameter of simple data type.
The described request message frame comprises parameter name, parameter value and the parameter type of parameter.
Described response message frame support matrix shape structure, the every row in the table all comprise parameter name, parameter value and parameter type.
Described response message support matrix shape structure, the parameter of every row all is a simple data type in the table.
Can see that from above technical scheme the method for SOAP service management interface transitional information provided by the present invention has following beneficial effect:
1, because the SOAP service management interface provides adaptation file that is used for the describing message parameter type and the versatility code that is used for transitional information, so the SOAP service management interface can utilize versatility code to carry out the conversion of information according to the parameter type of adaptation file, when network element updating, do not need to utilize the WSDL SOAP service management interface of upgrading, do not need the SOAP service management interface is verified and tested yet, so handle simply relatively, simultaneously also can alleviate the burden that network element updating brings;
2, during network element updating, SOAP service management interface of the present invention does not need to do any change, and the adaptation file of new network element only need be provided, and the SOAP service management interface just can adapt to new network element interface order, therefore, the highly versatile of SOAP service management interface.
Description of drawings
Fig. 1 is the flow chart of SOAP service management interface transitional information process in the prior art;
Fig. 2 is the flow chart according to SOAP service management interface transitional information process of the present invention.
Embodiment
In order to make the features and advantages of the present invention clearer, the invention will be further described in conjunction with specific embodiments with reference to the accompanying drawings.
Must do the shortcoming of interlock upgrading along with network element updating at SOAP service management interface in the prior art, the present invention proposes a kind of method of SOAP service management interface transitional information, this method is when network element updating, do not need to provide the WSDL interface document of modification for the SOAP service management interface, do not need the SOAP service management interface of upgrading yet, and the adaptation file of network element updating only need be provided and be used for the versatility code of transitional information, the SOAP service management interface utilizes versatility code just can realize information translation between webmaster and the network element according to adaptation file.
The SOAP service management interface mainly is responsible for converting the SOAP request message that webmaster sends to the request message frame and is sent to network element, and the response message frame that network element is sent converts the SOAP response message to and sends to webmaster.Every SOAP request message that webmaster sends can comprise more than one parameter, because the form of request message is the encapsulation style of document/text, so request message includes only the parameter name and the parameter value of each parameter, does not comprise parameter type; And the information that network element can be discerned is binary format, so need know parameter type for the parameter value in the request message that webmaster can be sent convert the binary system parameter value that network element can discern to, here, the adaptation file that network element is provided is to the SOAP service management interface, be used for describing the parameter type information of each parameter of SOAP request message, that is to say, the corresponding relation of adaptation file reflection parameter name and parameter type, this corresponding relation can be referring to table 1.Table 1 only illustrates this corresponding relation for example with two parameters, and during specific implementation, adaptation file is that the expression way with XML reflects this corresponding relation.
Parameter name Parameter type
ResultCode Simple data type
Result Composite data type
Table 1
In addition, in order to convert the parameter value of binary format to the parameter value that XML describes, also comprise versatility code in the SOAP service management interface, be used for the parameter value of request message predefined type is converted to the parameter value of binary format, and form the request message frame; For the response message frame that network element is sent converts the response message of describing with XML to, versatility code also is used for converting the response message frame of predetermined format to response message.
Particularly, referring to Fig. 2, describe the process according to SOAP service management interface transitional information of the present invention, this process comprises:
Step 201, webmaster send the SOAP request message to the SOAP service management interface;
Wherein, the SOAP request message comprises more than one parameter, and each parameter all comprises parameter name and parameter value, and in the present embodiment, each parameter all is exemplified as the parameter of simple data type, rather than the parameter of composite data type.
The parameter of simple data type is meant the parameter that includes only a parameter value; The parameter of composite data type is meant that parameter comprises the parameter of two above simple data types.For example, the parameter of a composite data type, parameter is called Result, ecbatic, the parameter that comprises two simple data types, parameter name are respectively ResultCode and ResultDesc, and ecbatic sign indicating number and result describe respectively, wherein the parameter value of result code is 100000001, and the parameter value that the result describes is to operate successfully (Operation Succeed.).
After step 202-203, SOAP service management interface are received the SOAP request message, read the parameter name of each parameter in the request message successively, and in adaptation file the inquiry each parameter name corresponding parameters type, utilize versatility code the parameter value of the text formatting in the SOAP request message to be converted to the parameter value of the binary format that network element can discern according to parameter type, form the request message frame, send to network element;
Here, obtaining to carry out under the situation of parameter type the parameter value that versatility code just can convert parameter value to the binary format that network element can discern.Different with the code that is generated according to the WSDL interface document in the prior art, here the code of SOAP service management interface is not the method call that generates at every information order, but general code, can convert the parameter value of text formatting the parameter value of the binary format that network element can discern to according to parameter type for the parameter value that belongs to same parameter type, can convert the response message of set form for the response message frame of set form too to.Each parameter all is the parameter of simple data type in the SOAP request message, has single parameter type, therefore, just can realize conversion with simple relatively versatility code.
In an embodiment of the present invention, parameter in the SOAP request message is exemplified as simple data type, in the practical application, each parameter in the SOAP request message is not limited to simple data type, as long as each parameter corresponding parameters type has description in adaptation file, the SOAP service management interface just can find parameter type according to parameter name so, carry out versatility code and realize conversion, only composite data type also will meet certain rule, for example, be that parameter combinations by fixing simple data type forms, only in this way the versatility code of SOAP service management interface could be realized changing.
The request message frame that the SOAP service management interface sends to network element comprises parameter name, parameter value and parameter type.
After step 204-206, network element are received the request message frame, handle it according to the request message frame, generate response message frame and send to the SOAP service management interface, the SOAP service management interface is changed the response message frame of being received, generates the SOAP response message and sends to webmaster.
The SOAP response message that the SOAP service management interface sends to webmaster also is based on the XML expression way, because the result of inquiry class request is a kind of surface knot structure, so also just need the SOAP response message to be defined as the surface knot structure, and every row parameter all is a simple data type in the table.For corresponding with the SOAP response message after the conversion, the response message frame here needs support matrix shape structure, and every row parameter is all carried parameter name, parameter value and parameter type in the table, so, the SOAP service management interface need not to read adaptation file in the process of utilizing versatility code to change, only need change getting final product according to the form execution versatility code of response message.
If response message is non-inquiry class, do not comprise the data of concrete inquiry, can include only result code and result and describe; If the inquiry class, then be the surface knot structure, every row parameter all is a simple data type in the table.
Above with reference to figure 2, the process according to SOAP service management interface transitional information of the present invention has been described, wherein, as long as the adaptation file of network element is provided, the SOAP service management interface just can carry out the conversion of information according to the parameter type of describing in the adaptation file.
The method of the method for this treatment S OAP service management interface and SOAP service management interface transitional information is very convenient in the network element updating process, because only the variation that network element updating brought need be write into adaptation file, and offering the SOAP service management interface, the SOAP service management interface need not to do any variation and just can adapt to network element updating so.Network element updating may be to have revised parameter, also may provide new parameter, but no matter be which kind of situation, only the parameter type of revising or increase need be programmed in the adaptation file, offer the SOAP service management interface, the SOAP service management interface just can be converted to the request message frame with request message according to parameter type, thereby realize network element updating and purpose that the SOAP service management interface is not upgraded and just can be changed, therefore, simple to operate, reduced the burden that network element updating brings, and the versatility of SOAP service management interface is enhanced also.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (6)

1, a kind of method of Simple Object Access Protocol SOAP service management interface transitional information, it is characterized in that, adaptation file that comprises parameter name and parameter type corresponding relation and the versatility code that is used for transitional information are set in the SOAP service management interface, and this method comprises:
A, SOAP service management interface are received the request message that webmaster sends, according to the parameter name that comprises in the request message, query argument name corresponding parameters type in the adaptation file that is provided utilizes versatility code to convert request message to the request message frame according to parameter type, sends to network element;
The generation response message frame sent to the SOAP service management interface after B, network element were received the request message frame, and the SOAP service management interface utilizes versatility code to convert response message frame to response message and sends to webmaster.
2, method according to claim 1 is characterized in that, converts request message to the request message frame described in the steps A and comprises:
Convert the parameter value of the text formatting in the request message parameter value of binary format to, and form the request message frame.
3, method according to claim 1 and 2 is characterized in that, the parameter in the described request message is the parameter of simple data type.
4, method according to claim 1 is characterized in that, the described request message frame comprises parameter name, parameter value and the parameter type of parameter.
5, method according to claim 1 is characterized in that, described response message frame support matrix shape structure, and the every row in the table all comprise parameter name, parameter value and parameter type.
6, method according to claim 1 is characterized in that, described response message support matrix shape structure, and the parameter of every row all is a simple data type in the table.
CNA200610094825XA 2006-06-28 2006-06-28 A method for information conversion of the simple object access protocol service management interface Pending CN1996878A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNA200610094825XA CN1996878A (en) 2006-06-28 2006-06-28 A method for information conversion of the simple object access protocol service management interface
PCT/CN2007/070188 WO2008003257A1 (en) 2006-06-28 2007-06-26 Method, system and device of converting information in transaction managing interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200610094825XA CN1996878A (en) 2006-06-28 2006-06-28 A method for information conversion of the simple object access protocol service management interface

Publications (1)

Publication Number Publication Date
CN1996878A true CN1996878A (en) 2007-07-11

Family

ID=38251826

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200610094825XA Pending CN1996878A (en) 2006-06-28 2006-06-28 A method for information conversion of the simple object access protocol service management interface

Country Status (2)

Country Link
CN (1) CN1996878A (en)
WO (1) WO2008003257A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010078769A1 (en) * 2008-12-29 2010-07-15 成都市华为赛门铁克科技有限公司 Access method and access apparatus for network file system
CN101277301B (en) * 2008-04-24 2012-04-25 华为技术有限公司 Method, device and system for invocation of distributed system interface
CN102497437A (en) * 2011-12-16 2012-06-13 北京邮电大学 Method, equipment and system for realizing load balance
CN101515929B (en) * 2009-03-24 2012-07-04 成都市华为赛门铁克科技有限公司 Message format conversion method, network device and agent device
CN103428019A (en) * 2012-05-24 2013-12-04 中兴通讯股份有限公司 Network service message management method and system
CN104320402A (en) * 2014-10-31 2015-01-28 北京思特奇信息技术股份有限公司 Service interface access control method and system based on binary algorithm
CN105791346A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Cross-platform solution for implementing SOAP (Simple Object Access Protocol) interface, service equipment end and network equipment
CN112579421A (en) * 2019-09-27 2021-03-30 北大方正集团有限公司 Interface testing method, system and computer readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434311B (en) * 2021-06-28 2023-01-31 平安科技(深圳)有限公司 Service data interaction method, device, equipment and storage medium
CN115242829B (en) * 2022-06-14 2023-09-29 交控科技股份有限公司 ITS message stream transmission method, device, equipment and storage medium
CN115373655B (en) * 2022-10-25 2023-02-07 中国人民解放军国防科技大学 Information protocol code automatic generation method based on standardized template

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007504525A (en) * 2003-09-01 2007-03-01 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Interface for transcoding systems
CN100499648C (en) * 2004-07-22 2009-06-10 华为技术有限公司 Adaptive method and device for network element interface protocol

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277301B (en) * 2008-04-24 2012-04-25 华为技术有限公司 Method, device and system for invocation of distributed system interface
WO2010078769A1 (en) * 2008-12-29 2010-07-15 成都市华为赛门铁克科技有限公司 Access method and access apparatus for network file system
CN101515929B (en) * 2009-03-24 2012-07-04 成都市华为赛门铁克科技有限公司 Message format conversion method, network device and agent device
CN102497437A (en) * 2011-12-16 2012-06-13 北京邮电大学 Method, equipment and system for realizing load balance
CN102497437B (en) * 2011-12-16 2015-02-18 北京邮电大学 Method, equipment and system for realizing load balance
CN103428019A (en) * 2012-05-24 2013-12-04 中兴通讯股份有限公司 Network service message management method and system
CN104320402A (en) * 2014-10-31 2015-01-28 北京思特奇信息技术股份有限公司 Service interface access control method and system based on binary algorithm
CN104320402B (en) * 2014-10-31 2017-11-10 北京思特奇信息技术股份有限公司 A kind of service interface access control method and system based on radix-2 algorithm
CN105791346A (en) * 2014-12-22 2016-07-20 中兴通讯股份有限公司 Cross-platform solution for implementing SOAP (Simple Object Access Protocol) interface, service equipment end and network equipment
CN105791346B (en) * 2014-12-22 2020-07-14 中兴通讯股份有限公司 Cross-platform solution method for realizing SOAP interface, service and network equipment
CN112579421A (en) * 2019-09-27 2021-03-30 北大方正集团有限公司 Interface testing method, system and computer readable storage medium

Also Published As

Publication number Publication date
WO2008003257A1 (en) 2008-01-10

Similar Documents

Publication Publication Date Title
CN1996878A (en) A method for information conversion of the simple object access protocol service management interface
US10257160B2 (en) Method and system for resolving internet of things heterogeneous identifiers
DK2914022T3 (en) Device management method, middleware and machine-to-machine communication platform, device and system
CN112511416A (en) Rule-based data communication protocol conversion system, decoding method and encoding method
US7493377B2 (en) Method and apparatus to manage a configuration of clustered computers according to deployment date structures
US9864346B2 (en) Method for connecting a substation automation device according to IEC61850 to any industry automation field bus
CN102065413B (en) Database updating method and system, and base station self-starting method and system
CN111526052B (en) Network element instruction management method, device, network equipment and storage medium
CN101834845A (en) SOAP client protocol encapsulating method based on TCP short connection
CN106257868B (en) Configuration data pushing method and device
CN102447585A (en) Method and device for converting network configuration protocol response message into command line
CN1526104A (en) Parsing structured data
CN107193917A (en) Whole station CONFIG.SYS lossless data update method based on IID
CN111026567A (en) Handle identification coding system and method based on block chain
CN109116828A (en) Model code configuration method and device in a kind of controller
CN101021786A (en) Method for calling universal structure
CN105094787B (en) Method and device for processing enterprise internet application
CA2543557A1 (en) System and method for producing notification based web services
CN102111160A (en) Coding and decoding system and codec for reactive system test
US20110282889A1 (en) Method and Device for Distributed Configuration of Telematics Services in Motor Vehicle Systems
CN110889261A (en) Method for automating electronic official document service processing
JP2009265718A (en) Network device transmitting only difference data of network management information, server, program and method
CN110839022A (en) Vehicle-mounted control software communication protocol analysis method based on xml language
KR100751449B1 (en) STUB BUNDLE PRODUCTION METHOD BASED OSGi SERVICE PLATFORM
CN101126985A (en) System and method for implementing geographical information service based on interpreter and resolver

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20070711