CN109120421A - A kind of method for interface adaptation, device, system and storage medium - Google Patents

A kind of method for interface adaptation, device, system and storage medium Download PDF

Info

Publication number
CN109120421A
CN109120421A CN201710486112.6A CN201710486112A CN109120421A CN 109120421 A CN109120421 A CN 109120421A CN 201710486112 A CN201710486112 A CN 201710486112A CN 109120421 A CN109120421 A CN 109120421A
Authority
CN
China
Prior art keywords
interface
network element
version
list
response message
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
CN201710486112.6A
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.)
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 CN201710486112.6A priority Critical patent/CN109120421A/en
Publication of CN109120421A publication Critical patent/CN109120421A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0859Retrieval of network configuration; Tracking network configuration history by keeping history of different configuration generations or by rolling back to previous configuration versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0873Checking configuration conflicts between network elements

Landscapes

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

Abstract

The invention discloses a kind of method for interface adaptation, device, system and storage mediums, belong to communication technique field.The described method includes: the first network element is to the second network element transmission interface version negotiation request;First network element receives the response message that second network element returns, and the response message carries at least one interface version information that second network element is supported;First network element selects and the interface of the interface matches version information from the interface version that itself is supported.Using the present invention, interface version negotiation can be carried out between different network elements, according to interface used in itself adaptively selected initiation communication request of the interface version of Correspondent Node, to solve same interface different editions interface adaptation issues between network element, the interface of compatible multiple and different versions simultaneously, is not necessarily to manual intervention.

Description

A kind of method for interface adaptation, device, system and storage medium
Technical field
The present invention relates to communication technique field more particularly to a kind of method for interface adaptation, device, system and storage mediums.
Background technique
The raising of network bandwidth and the development of 4G (Fourth Generation) wireless communication technique are telecommunication network development Value-added services businesses based on media content provide possibility.Stream media technology provides a kind of transmission video, sound in a network Frequently, the mode of the media contents such as picture, therefore obtained extensively in multi-media service system, especially mobile multi-media service Application.Meanwhile with the development of telecommunication network technology, the developing multimedia service in telecommunication network, such as IPTV network electricity A kind of trend has been increasingly becoming depending on, multimedia services such as video monitoring, mobile TV, mobile phone-downloaded.
In media service system, when a usual system upgrade, it is not all network elements in system while upgrades, network element The new early version of software has very long one and period coexists, between new early version co-existence periods, the same function of the same network element Interface may be different in new early version, such as data communication interface.Such as content delivery network (Content Delivery Network, CND) data communication between node, it can communication customer end and server-side each other between node.When the old and new's interface version When existing simultaneously, traditional method can only be compatible with client in server-side, and can only be new version to the simultaneous of early version Hold, and early version can not be compatible with new version.It is there are also a kind of way plus configuration switchs, but need manual identified, in version Determine communication objective end version when this upgrading, corresponding interface opened according to destination version, but cannot be adapted to simultaneously two kinds or Person's miscellaneous editions interface.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of method for interface adaptation, device, system and storage medium, with Same interface different editions interface is adapted between solving the problems, such as the network element of the network system of the prior art.
It is as follows that the present invention solves technical solution used by above-mentioned technical problem:
According to the first aspect of the invention, a kind of method for interface adaptation is provided, which comprises
First network element is to the second network element transmission interface version negotiation request;
First network element receives the response message that second network element returns, and the response message carries second net At least one interface version information that member is supported;
First network element selects and the interface of the interface matches version information from the interface version that itself is supported.
Preferably, first network element selects interface according to the response message, comprising:
First network element inquires the interface version list of itself support;
The interface with the interface matches version information is searched in the interface version list;
Available interface is selected from matched interface according to preset version priority orders.
Preferably, the method also includes:
Second network element starts signaling monitoring function;
After listening to the first network element interface version negotiation request, the interface version list of itself support is inquired;
The response message is returned to first network element according to preset version priority orders.
Preferably, the interface version list that the inquiry is supported itself, comprising:
The interface list that itself version is supported is inquired to interface configured list server.
Preferably, after first network element selects interface according to the response message, the method also includes:
First network element and second network element, which are established, to be communicated.
According to the second aspect of the invention, a kind of interface adaptive device, the network element suitable for communication system, institute are provided Stating device includes:
Sending module, for initiating interface version negotiation request to other network elements;
Receiving module, the response message returned for receiving other described network elements, the response message carry described second At least one interface version information that network element is supported;
Selecting module, for selecting the interface with the interface matches version information from the interface version that itself is supported.
Preferably, described device further include:
Enquiry module, for inquiring the interface version list of itself support;
The selecting module, is also used to search in the interface version list and connects with the interface matches version information Mouthful, the interface of highest priority is selected from matched interface according to preset priority.
Preferably, described device further include:
Module is monitored, for starting signaling monitoring function;
The enquiry module is also used to after the interface version negotiation request for receiving the transmission of other network elements, inquires itself The interface version list of support;
The sending module is also used to according to preset version priority orders to sending the interface version negotiation request Other network elements send response message, the response message carries at least one interface version information.
Preferably, described device further includes interface configured list server:
The enquiry module is also used to inquire the interfaces column of itself version support to the interface configured list server Table.
Preferably, described device further include:
Communication module is communicated for establishing with other described network elements.
According to the third aspect of the present invention, a kind of interface adaption system is provided, which is characterized in that the system comprises One network element and the second network element, first network element and second network element are used to establish communication after the success of interface version negotiation;
Wherein first network element and second network element include foregoing interface adaptive device.
According to the fourth aspect of the present invention, a kind of storage medium is provided, which is characterized in that the storage medium is stored with One or more program, one or more of programs can be executed by one or more processor, to realize such as first Step described in aspect.
A kind of method for interface adaptation, device, system and the storage medium of the embodiment of the present invention, can be between different network elements Line interface version negotiation, according to the interface version of Correspondent Node it is adaptively selected itself initiate communication request used in interface, To solve same interface different editions interface adaptation issues between network element, while the interface of compatible multiple and different versions, it is not necessarily to Manual intervention.
Detailed description of the invention
Fig. 1 is a kind of flow chart for method for interface adaptation that the embodiment of the present invention one provides;
Fig. 2 is a kind of modular structure schematic diagram of interface adaptive device provided by Embodiment 2 of the present invention;
Fig. 3 is the schematic diagram of the connection relationship of client network element and server-side network element that the embodiment of the present invention three provides:
Fig. 4 is a kind of flow chart for method for interface adaptation that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural schematic diagram for interface adaption system that the embodiment of the present invention five provides.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
In order to be clearer and more clear technical problems, technical solutions and advantages to be solved, tie below Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only To explain the present invention, it is not intended to limit the present invention.
The embodiment of the present invention one provides a kind of method for interface adaptation, the network element suitable for server-side or client.It please join Fig. 1 is read, this method comprises:
S101, the first network element are to the second network element transmission interface version negotiation request;
S102, first network element receive the response message of second network element return, which carries second network element At least one the interface version information supported;
S103, first network element select and the interface of the interface matches version information from the interface version that itself is supported.
In a feasible scheme, which selects interface according to the response message, comprising:
First network element inquires the interface version list of itself support;
The interface with the interface matches version information is searched in the interface version list;
Available interface is selected from matched interface according to preset version priority orders.
In a feasible scheme, this method further include:
Second network element starts signaling monitoring function;
After listening to the first network element interface version negotiation request, the interface version list of itself support is inquired;
The response message is returned to first network element according to preset version priority orders.
In practical application, the second network element, can be preferential according to preset version when to the first network element returning response message Grade sequence returns to interface version information.
In a feasible scheme, the interface version list of the inquiry itself support, comprising:
The interface list that itself version is supported is inquired to interface configured list server.
In a feasible scheme, after which selects interface according to the response message, this method further include:
First network element and second network element, which are established, to be communicated.
In practical application, the first network element and the second network element can escort client, can during interface version negotiation Once to return to the version information of multiple interfaces, the version information for only returning to an interface can also be negotiated every time.
The communications protocol that interface protocol negotiation can be used includes: hypertext transfer protocol (Hyper Text Transfer Protocol, http), session initiation protocol (Session Initiation Protocol, SIP) etc..
The method for interface adaptation of the present embodiment can carry out interface version negotiation between different network elements, according to Correspondent Node Interface version it is adaptively selected itself initiate communication request used in interface, thus same interface difference version between solving network element This interface adaptation issues, while the interface of compatible multiple and different versions, are not necessarily to manual intervention.
On the basis of previous embodiment, second embodiment of the present invention provides a kind of interface adaptive devices, are suitable for communication The network element of server-side or client in system, as shown in Fig. 2, the device includes:
Sending module 201, for initiating interface version negotiation request to other network elements;
Receiving module 202, for receiving the response message of other network elements return, which carries the second network element branch At least one the interface version information held;
Selecting module 203, for selecting the interface with the interface matches version information from the interface version that itself is supported.
In a feasible scheme, the device further include:
Enquiry module, for inquiring the interface version list of itself support;
The selecting module is also used to search the interface with the interface matches version information, root in the interface version list The interface of highest priority is selected from matched interface according to preset priority.
In a feasible scheme, the device further include:
Module is monitored, for starting signaling monitoring function;
The enquiry module is also used to after the interface version negotiation request for receiving the transmission of other network elements, inquires itself branch The interface version list held;
The sending module, be also used to according to preset version priority orders to send the interface version negotiation request its He sends response message by network element, which carries at least one interface version information.
In practical application, in returning response message, interface version can be returned to according to preset version priority orders Information.
In a feasible scheme, which further includes interface configured list server:
The enquiry module is also used to inquire the interface list of itself version support to the interface configured list server.
In a feasible scheme, the device further include:
Communication module is communicated for establishing with other network elements.
The interface adaptive device of the present embodiment can carry out interface version negotiation between different network elements, according to Correspondent Node Interface version it is adaptively selected itself initiate communication request used in interface, thus same interface difference version between solving network element This interface adaptation issues, while the interface of compatible multiple and different versions, are not necessarily to manual intervention.
On the basis of previous embodiment, the embodiment of the present invention three provides another method for interface adaptation.It needs to illustrate , in the present embodiment, interface adapter and interface adaptation listserv can be set in network elements.It is somebody's turn to do in embodiment two Sending module, receiving module, selecting module and the enquiry module of interface adaptive device can be set on interface adapter.Client Hold network element and server-side network element connection relationship such as Fig. 3, at this time as in the network element of client interface adapter and interface fit The function of realizing with listserv is as follows:
Interface adapter initiates interface version negotiation request function for providing, according to the interface version of server-side network element Adaptively selected interface suitable is communicated;
Interface configured list server, the interface for providing local terminal network element configure store function, receive local terminal network element The inquiry request of interface adapter provides corresponding interface polls result.
Function as interface adapter and interface adaptation listserv realization in the network element of server-side is as follows:
Interface adapter: providing interface version negotiation communication port snoop function, receives the interface version of client network element Negotiate request, inquires the interface list that version is supported to this end interface configured list server, according to priority returning response.
Interface configured list server: the interface for providing local terminal network element configures store function, receives the interface of local terminal network element The inquiry request of adapter provides corresponding interface polls result.
Using the first network element as client network element in the present embodiment, the second network element is as server-side network element.Referring to Fig. 4, The method for interface adaptation of the present embodiment includes:
S401, the first network element interface adapter initiate interface version negotiation request to the interface adapter of the second network element.
The interface configured list server of S402, the second network element interface adapter inquiry local terminal, obtain connecing for the second network element Mouth version information.
S403, the second network element interface adapter return to the response of interface version negotiation to the first network element interface adapter.
In practical application the interface version negotiation response in can carry the first network element interface version list and also only Return to one or more interface version informations in wherein interface version list.
In practical application, version priority orders which can be configured with interface adapter according to interface are to first Network element returns to interface adapter response.
After S404, the first network element interface adapter receive the response of interface version negotiation, to the interface configured list of local terminal Server obtains the interface version list of the first network element.
S405, the first network element interface adapter select optimum interface to the second network element initiate data communication.
Specifically, the interfaces column that the first network element interface adapter is returned using the interface list and the second network element itself supported Table is matched according to priority, selects interface suitable, communication request is initiated to server-side, to carry out communication interaction.
In practical application, when the first network element receive the second network element return interface version information or interface version list it Afterwards, received interface version information or interface version list storage can also be stored.
The method for interface adaptation of the present embodiment can carry out interface version negotiation between different network elements, according to Correspondent Node Interface version it is adaptively selected itself initiate communication request used in interface, thus same interface difference version between solving network element This interface adaptation issues, while the interface of compatible multiple and different versions, are not necessarily to manual intervention.
On the basis of previous embodiment, the embodiment of the present invention four provides a kind of interface adaption system, referring to Fig. 5, The system includes the first network element 501 and the second network element 502, and first network element 501 and second network element 502 are used in interface version Communication is established after negotiating successfully.
First network element 501 and second network element 502 include interface adaptive device described in second embodiment, this Place is not repeating.
The interface adaption system of the present embodiment can carry out interface version negotiation between different network elements, according to Correspondent Node Interface version it is adaptively selected itself initiate communication request used in interface, thus same interface difference version between solving network element This interface adaptation issues, while the interface of compatible multiple and different versions, are not necessarily to manual intervention.
On the basis of previous embodiment, the embodiment of the present invention five provides a kind of storage medium, and the storage medium is deposited One or more program is contained, one or more of programs can be executed by one or more processor, to realize such as Step described in embodiment one or embodiment three.
Preferred embodiments of the present invention have been described above with reference to the accompanying drawings, not thereby limiting the scope of the invention.This Field technical staff without departing from the scope and spirit of the invention in made by any modifications, equivalent replacements, and improvements, should all this Within the interest field of invention.

Claims (12)

1. a kind of method for interface adaptation, which is characterized in that the described method includes:
First network element is to the second network element transmission interface version negotiation request;
First network element receives the response message that second network element returns, and the response message carries the second network element branch At least one the interface version information held;
First network element selects and the interface of the interface matches version information from the interface version that itself is supported.
2. the method as described in claim 1, which is characterized in that first network element selects interface according to the response message, Include:
First network element inquires the interface version list of itself support;
The interface with the interface matches version information is searched in the interface version list;
Available interface is selected from matched interface according to preset version priority orders.
3. the method as described in claim 1, which is characterized in that the method also includes:
Second network element starts signaling monitoring function;
After listening to the first network element interface version negotiation request, the interface version list of itself support is inquired;
The response message is returned to first network element according to preset version priority orders.
4. method as claimed in claim 2 or claim 3, which is characterized in that the interface version list that the inquiry is supported itself, packet It includes:
The interface list that itself version is supported is inquired to interface configured list server.
5. method as claimed in claim 4, which is characterized in that first network element according to the response message select interface it Afterwards, the method also includes:
First network element and second network element, which are established, to be communicated.
6. a kind of interface adaptive device, the network element suitable for communication system, which is characterized in that described device includes:
Sending module, for initiating interface version negotiation request to other network elements;
Receiving module, the response message returned for receiving other described network elements, the response message carry second network element At least one the interface version information supported;
Selecting module, for selecting the interface with the interface matches version information from the interface version that itself is supported.
7. device as claimed in claim 6, which is characterized in that described device further include:
Enquiry module, for inquiring the interface version list of itself support;
The selecting module is also used to search the interface with the interface matches version information in the interface version list, The interface of highest priority is selected from matched interface according to preset priority.
8. device as claimed in claim 6, which is characterized in that described device further include:
Module is monitored, for starting signaling monitoring function;
The enquiry module is also used to after the interface version negotiation request for receiving the transmission of other network elements, is inquired itself and is supported Interface version list;
The sending module, be also used to according to preset version priority orders to send the interface version negotiation request its He sends response message by network element, and the response message carries at least one interface version information.
9. device as claimed in claim 7 or 8, which is characterized in that described device further includes interface configured list server:
The enquiry module is also used to inquire the interface list of itself version support to the interface configured list server.
10. device as claimed in claim 9, which is characterized in that described device further include:
Communication module is communicated for establishing with other described network elements.
11. a kind of interface adaption system, which is characterized in that the system comprises the first network element and the second network element, first net First and described second network element is used to establish communication after the success of interface version negotiation;
Wherein first network element and second network element include such as the described in any item interface adaptation dresses of claim 6 to 10 It sets.
12. a kind of storage medium, which is characterized in that the storage medium is stored with one or more program, it is one or The multiple programs of person can be executed by one or more processor, to realize step as described in any one in claim 1-5.
CN201710486112.6A 2017-06-22 2017-06-22 A kind of method for interface adaptation, device, system and storage medium Pending CN109120421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710486112.6A CN109120421A (en) 2017-06-22 2017-06-22 A kind of method for interface adaptation, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710486112.6A CN109120421A (en) 2017-06-22 2017-06-22 A kind of method for interface adaptation, device, system and storage medium

Publications (1)

Publication Number Publication Date
CN109120421A true CN109120421A (en) 2019-01-01

Family

ID=64733279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710486112.6A Pending CN109120421A (en) 2017-06-22 2017-06-22 A kind of method for interface adaptation, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN109120421A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225018A (en) * 2019-10-23 2020-06-02 上海艾融软件股份有限公司 Request message processing method and device and electronic equipment
CN112698955A (en) * 2021-01-15 2021-04-23 广东唯仁医疗科技有限公司 USB resource allocation method and system
CN113572695A (en) * 2020-04-28 2021-10-29 中国移动通信集团浙江有限公司 Link aggregation method and device, computing equipment and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913524A (en) * 2005-08-11 2007-02-14 华为技术有限公司 Method of network management system interface consulation and its device
US7466659B1 (en) * 2005-04-29 2008-12-16 Network Appliance, Inc. System and method for performing version negotiation of a network protocol and associated interfaces
CN101582804A (en) * 2009-06-16 2009-11-18 中兴通讯股份有限公司 Method of automatic abutment joint of interfaces of network equipment management systems and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7466659B1 (en) * 2005-04-29 2008-12-16 Network Appliance, Inc. System and method for performing version negotiation of a network protocol and associated interfaces
CN1913524A (en) * 2005-08-11 2007-02-14 华为技术有限公司 Method of network management system interface consulation and its device
CN101582804A (en) * 2009-06-16 2009-11-18 中兴通讯股份有限公司 Method of automatic abutment joint of interfaces of network equipment management systems and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111225018A (en) * 2019-10-23 2020-06-02 上海艾融软件股份有限公司 Request message processing method and device and electronic equipment
CN113572695A (en) * 2020-04-28 2021-10-29 中国移动通信集团浙江有限公司 Link aggregation method and device, computing equipment and computer storage medium
CN113572695B (en) * 2020-04-28 2023-11-14 中国移动通信集团浙江有限公司 Link aggregation method, device, computing equipment and computer storage medium
CN112698955A (en) * 2021-01-15 2021-04-23 广东唯仁医疗科技有限公司 USB resource allocation method and system

Similar Documents

Publication Publication Date Title
CN101627601B (en) A method and apparatus for remote access to a home network
EP2163065B1 (en) Audiovisual session handover from a first access network to a second access network
US20040125757A1 (en) Streaming media
US9503586B2 (en) Online charging method, apparatus, and system based on number portability service
CN109120421A (en) A kind of method for interface adaptation, device, system and storage medium
CN101237475B (en) Information push system, method and device
CN103813185B (en) A kind of method that segment programs are quickly distributed, server and client
CN101540886B (en) Realization method and system of video-on-demand business and home streaming server
US20150326943A1 (en) Method and apparatus for using internet protocol television service based on application received in multicast session
US20070118656A1 (en) Inter-server multimodal network communications
CN102739779A (en) DLNA (Digital Living Network Alliance)-based digital family interaction method and system and corresponding device
US8635275B2 (en) Session application records
JP7237117B2 (en) Terminal device, data processing device and method
CN104426956A (en) Terminal status subscription method, apparatus and system
US8041823B2 (en) Optimization of media flows in a telecommunications system
US9467381B2 (en) Choice of initialization technique for load balancing attempts
CN101557381A (en) Method and equipment for obtaining user equipment capability
EP1597880B1 (en) Multi-supplier multi-domain mediation element between an application service provider and resource provider in a telecommunication network
CN110187903A (en) A kind of upgrade method and device
CN105100147A (en) Controlmethod and device based on separation of content provider and service provider
CN101552721B (en) Convergence service system and service implementation method thereof
US20160173612A1 (en) Peer-to-Peer Interconnection between Service Providers
CN102404283A (en) Communication method and system of internet protocol (IP) multimedia subsystem (IMS)
CN102227898B (en) Method of and mobile user equipment for handling media types of communication session in ims communication system and ims node
KR20140117977A (en) N-Screen Service System for ASMD support and the method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination