CN108196962B - Method and device for realizing calling of interfaces of different versions - Google Patents

Method and device for realizing calling of interfaces of different versions Download PDF

Info

Publication number
CN108196962B
CN108196962B CN201711484133.0A CN201711484133A CN108196962B CN 108196962 B CN108196962 B CN 108196962B CN 201711484133 A CN201711484133 A CN 201711484133A CN 108196962 B CN108196962 B CN 108196962B
Authority
CN
China
Prior art keywords
interface
server
called
address
version
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
CN201711484133.0A
Other languages
Chinese (zh)
Other versions
CN108196962A (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.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201711484133.0A priority Critical patent/CN108196962B/en
Publication of CN108196962A publication Critical patent/CN108196962A/en
Application granted granted Critical
Publication of CN108196962B publication Critical patent/CN108196962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • 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
    • 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/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/549Remote execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a method and a device for realizing interface calling of different versions. A method for realizing interface calling of different versions comprises the following steps: acquiring an interface to be called and an interface version on a controlled device; judging whether the IP address of the server corresponding to the interface version of the interface to be called can be inquired according to the corresponding relation between the pre-configured interface version and the IP address of the server; if yes, storing the mapping relation among the interface to be called, the interface version and the corresponding IP address of the server; when configuration information is issued to the controlled equipment, inquiring an interface to be called of the controlled equipment and an IP address of a server corresponding to the interface version from the mapping relation; and sending the configuration information to a server of the IP address so that the server calls the interface to be called of the controlled equipment and sends the configuration information to the controlled equipment. The method and the device can realize interface calling of different versions simultaneously under the condition that the service is not interrupted.

Description

Method and device for realizing calling of interfaces of different versions
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for implementing interface calls of different versions.
Background
At present, with the increasingly wide application of the internet, some centralized control devices or network management devices are produced in order to centrally configure a large number of managed devices safely, reliably and in batches, and most network management devices communicate, configure and issue among different application programs or devices in an interface calling mode. However, due to the change of the compiling environment of the managed device, the network management device may have a problem that the network management device cannot be called when calling the interface of the managed device.
Taking the example that the network management device shown in fig. 1 issues the configuration information by calling the interfaces of the controlled devices 1 and 2, if the current network management device only supports calling the interface of the controlled device whose compiling environment is 1.0 version, because the compiling environment of the controlled device may change, for example, the compiling environment of the controlled device 2 is upgraded to 2.0 version, or the controlled device 3 is newly added, and the compiling environment of the newly added controlled device 3 is 2.0 version, the network management device will have the phenomenon of version mismatch when calling the interface of the controlled device 2 or 3, which results in the problem of being unable to call.
In order to solve the above problems, the prior art implements interface calling supporting different versions by a method for upgrading network management equipment. However, in the process of upgrading the network management device, the existing service needs to be stopped, so that the normal service is interrupted.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for implementing interface calls of different versions, so as to ensure that interface calls of different versions can be implemented without service interruption.
Specifically, the method is realized through the following technical scheme:
a method for realizing interface calling of different versions comprises the following steps:
acquiring an interface to be called and an interface version on a controlled device;
judging whether the IP address of the server corresponding to the interface version of the interface to be called can be inquired according to the corresponding relation between the pre-configured interface version and the IP address of the server, wherein the server is provided with a component supporting the corresponding interface version;
if yes, storing the mapping relation among the interface to be called, the interface version and the corresponding IP address of the server;
when configuration information is issued to the controlled equipment, inquiring an interface to be called of the controlled equipment and an IP address of a server corresponding to the interface version from the mapping relation;
and sending the configuration information to the server of the IP address so that the server of the IP address calls the interface to be called of the controlled equipment and sends the configuration information to the controlled equipment.
An apparatus for implementing interface calls of different versions, comprising:
the acquisition module is used for acquiring the interface to be called and the interface version on the controlled equipment;
the judging module is used for judging whether the IP address of the server corresponding to the interface version of the interface to be called can be inquired according to the corresponding relation between the pre-configured interface version and the IP address of the server, and a component supporting the corresponding interface version is configured in the server;
the storage module is used for storing the mapping relation among the interface to be called, the interface version and the corresponding IP address of the server;
the query module is used for querying an interface to be called of the managed and controlled equipment and an IP address of a server corresponding to the interface version from the mapping relation when configuration information is issued to the managed and controlled equipment;
and the sending module is used for sending the configuration information to a server of the IP address after inquiring the IP address of the server corresponding to the interface to be called and the interface version of the controlled equipment so as to enable the server of the IP address to call the interface to be called of the controlled equipment and send the configuration information to the controlled equipment.
In the application, an interface to be called and a version of the interface are acquired from a managed device, an IP address of a server configured with a component supporting the interface version is inquired for the acquired interface of the version according to a corresponding relation between a pre-configured interface version and the IP address of the server, and after the IP address of the corresponding server is inquired, a mapping relation between the interface to be called, the interface version and the IP address of the corresponding server is locally stored. And then when configuration information needs to be issued to the controlled equipment, acquiring the IP address of the server corresponding to the interface to be called on the controlled equipment from the mapping relation stored locally, and sending the configuration information needing to be issued to the server, so that the server calls the interface to be called on the controlled equipment, and issues the configuration information to the controlled equipment.
Compared with the prior art, the technical scheme of the application realizes the issuing of the configuration information by configuring the servers supporting the components with different interface versions and calling the interface to be called of the controlled equipment by using the server supporting the interface calling of the version, so that the services of the controlled equipment can be independently performed, and when the network management equipment and certain controlled equipment cannot issue the configuration due to the fact that the interface versions are not matched, the services of other controlled equipment can still be normally performed. Therefore, the interface calls of different versions can be realized simultaneously under the condition of uninterrupted service.
Drawings
Fig. 1 is a network management device networking diagram shown in the prior art;
FIG. 2 is a flow chart of a method for implementing interface calls of different versions according to an exemplary embodiment of the present application;
fig. 3 is a network management device networking diagram according to an exemplary embodiment of the present application;
fig. 4 is a hardware structure diagram of a network management device according to an exemplary embodiment of the present application;
fig. 5 is a schematic structural diagram illustrating an apparatus for implementing interface calls of different versions according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
At present, with the increasingly wide application of the internet, some centralized control devices or network management devices are produced in order to centrally configure a large number of managed devices safely, reliably and in batches, and most network management devices communicate, configure and issue among different application programs or devices in an interface calling mode. However, due to the change of the compiling environment of the managed device, the network management device may have a problem that the network management device cannot be called when calling the interface of the managed device.
Taking the example that the network management device shown in fig. 1 issues the configuration information by calling the interfaces of the controlled devices 1 and 2, if the current network management device only supports calling the interface of the controlled device whose compiling environment is 1.0 version, because the compiling environment of the controlled device may change, for example, the compiling environment of the controlled device 2 is upgraded to 2.0 version, or the controlled device 3 is newly added, and the compiling environment of the newly added controlled device 3 is 2.0 version, the network management device will have the phenomenon of version mismatch when calling the interface of the controlled device 2 or 3, which results in the problem of being unable to call.
In order to solve the above problems, the prior art implements interface calling supporting different versions by a method for upgrading network management equipment. However, in the process of upgrading the network management device, the existing service needs to be stopped, so that the normal service is interrupted.
Therefore, in order to solve the above problems, the present application provides a method for implementing interface calling of different versions, which obtains an interface to be called and a version of the interface from a managed and controlled device, queries, according to a correspondence between a preconfigured interface version and an IP address of a server, an IP address of the server configured with a component supporting the interface version corresponding to the obtained version of the interface, and locally stores a mapping relationship between the interface to be called, the interface version, and the IP address of the corresponding server after querying the IP address of the corresponding server. And then when configuration information needs to be issued to the controlled equipment, acquiring the IP address of the server corresponding to the interface to be called on the controlled equipment from the mapping relation stored locally, and sending the configuration information needing to be issued to the server, so that the server calls the interface to be called on the controlled equipment, and issues the configuration information to the controlled equipment.
Compared with the prior art, the technical scheme of the application realizes the issuing of the configuration information by configuring the servers supporting the components with different interface versions and calling the interface to be called of the controlled equipment by using the server supporting the interface calling of the version, so that the services of the controlled equipment can be independently performed, and when the network management equipment and certain controlled equipment cannot issue the configuration due to the fact that the interface versions are not matched, the services of other controlled equipment can still be normally performed. Therefore, the interface calls of different versions can be realized simultaneously under the condition of uninterrupted service.
The following describes an implementation process of the present application with reference to specific embodiments.
Referring to fig. 2, fig. 2 is a flowchart of a method for implementing interface calls of different versions according to an embodiment of the present application, where the method is applicable to a network management device. Wherein, the method can comprise the following steps:
s201, obtaining an interface to be called and an interface version on the managed and controlled equipment.
In this embodiment, the network management device may separate the function of calling the interface to a plurality of pre-configured intermediate devices, such as a server, where a component supporting a certain interface version is configured on the server. The network management equipment can locally record the interface version and the IP address of the server supporting the interface version.
It is assumed that a user configures a component 1 supporting a 1.0 interface version in a server 1 having an IP address of x.x.x.x.x, and configures a component 2 supporting a 2.0 interface version in a server 2 having an IP address of y.y.y.y, and a correspondence between an interface version locally recorded by a network management device and an IP address of the server supporting the interface version may be as shown in table 1.
Interface version Server IP address
1.0 X.X.X.X
2.0 Y.Y.Y.Y
TABLE 1
After the configuration is completed, the network management device may periodically obtain the interface to be called and the interface version on the managed device, where the period may be set by a user, and may be 30 minutes or 1 hour, and the period is not limited herein.
S202, judging whether the IP address of the server corresponding to the interface version of the interface to be called can be inquired.
S203, storing the mapping relation of the interface to be called, the interface version and the corresponding IP address of the server.
S204, reminding the user to expand the server provided with the component supporting the interface version.
After the network management equipment acquires the interface to be called and the interface version on the managed and controlled equipment, whether a server supporting the acquired interface version can be inquired or not can be judged according to the corresponding relation between the locally recorded interface version and the IP address of the server supporting the interface version, if so, the IP address of the server is acquired, and step S203 can be executed to store the mapping relation between the acquired interface to be called, the interface version and the IP address of the corresponding server; if not, step S204 may be executed to remind the user to expand the server configured with the component supporting the interface version.
Referring to fig. 3, taking the networking shown in fig. 3 as an example, the network management device periodically obtains the interfaces to be called, such as the Web Service interface, and the interface version on the managed devices 1, 2, and 3, and it is assumed that the network management device t1And acquiring Web Service interfaces of 1.0, 2.0 and 3.0 interface versions from managed and controlled devices 1, 2 and 3 respectively at any moment. Referring to Table 1, the Web Service interface of 1.0 interface versionThe corresponding server IP address is X.X.X.X.X, the server IP address corresponding to the Web Service interface of the 2.0 interface version is Y.Y.Y.Y, and for the Web Service interface of the 3.0 interface version, the server capable of supporting the 3.0 interface version is not inquired, at this time, a prompt can be sent to the user to inform the user that the server supporting the 3.0 interface version does not exist currently, and the user can be prompted to expand the server 3 provided with the component supporting the 3.0 interface version.
Thus t1The mapping table of the Web Service interface, the interface version, and the server IP address of the managed device, which is locally stored by the network management device at the moment, can be shown in table 2.
Managed and controlled equipment Interface to be called Interface version Server IP address
1 Web Service interface 1.0 X.X.X.X
2 Web Service interface 2.0 Y.Y.Y.Y
3 Web Service interface 3.0 Is free of
TABLE 2
In addition, it should be noted that, when the network management device t2The interface version of the Web Service interface of the managed device acquired at the time is different from that shown in table 2, for example, when the environment in which the WSDL (Web services description Language) file is originally compiled in the managed device 1 is changed from the 1.0 version to the 2.0 version, or the server 3 configured with a component supporting the 3.0 interface version has been extended, the table 2 needs to be updated at this time, so as to store the interface version of the latest Web Service interface acquired currently and the IP address of the corresponding server.
S205, when configuration information is issued to the managed device, the IP address of the server corresponding to the interface to be called and the interface version of the managed device is inquired from the mapping relation.
In this embodiment, when the subsequent network management device needs to issue the configuration information to the managed device, the interface version of the managed device and the IP address of the server corresponding to the interface version may be queried locally.
For example, when the network management device needs to issue the configuration information to the managed device 1, the IP address x.x.x.x of the server corresponding to the Web Service interface of the 1.0 interface version of the managed device 1 may be queried from the table 2.
S206, sending the configuration information to the server of the IP address.
S207, receiving response information of the managed device to the configuration information, which is sent by the server of the IP address.
After inquiring the interface to be called of the controlled device and the IP address of the corresponding server, the network management device may send the configuration information to be issued to the server, and the server then calls the interface to be called of the controlled device and issues the configuration information to the controlled device. After receiving the configuration information, the managed and controlled device may send response information to the server, for example, may send response information such as characters "OK", "NO", and the like to the server to inform whether the server has successfully received the configuration information, or may also send a return value to the server, where the return value is 1 to indicate that the configuration information has been successfully received; a return value of 0 indicates that the configuration information was not successfully received.
The managed device may return what kind of response message according to the configuration information may be preset by the user, and may also adopt other forms besides the above 2 forms of response messages, which is not limited herein.
In addition, the server may send a response message of the controlled device to the network management device, and the network management device may determine whether the configuration of the controlled device has been successfully completed after receiving the response message of the controlled device to the configuration information sent by the server.
According to the method and the device, the interface to be called and the version of the interface are acquired from the managed and controlled device periodically, the IP address of the server which is correspondingly provided with the component supporting the interface version is inquired for the acquired interface of the version according to the corresponding relation between the pre-configured interface version and the IP address of the server, and the mapping relation among the interface to be called, the interface version and the IP address of the corresponding server can be stored locally after the IP address of the corresponding server is inquired. Or when the IP address of the corresponding server is not inquired, reminding the user to expand the server provided with the component supporting the new interface version. When configuration information needs to be issued to the controlled device, the IP address of the server corresponding to the interface to be called on the controlled device can be obtained from the locally stored mapping relationship, and the configuration information needs to be issued is sent to the server, so that the server calls the interface to be called on the controlled device, and the configuration information is issued to the controlled device.
Compared with the prior art, the technical scheme of the application realizes the issuing of the configuration information by configuring the servers supporting the components with different interface versions and calling the interface to be called of the controlled equipment by using the server supporting the interface calling of the version, so that the services of the controlled equipment can be independently performed, and when the network management equipment and certain controlled equipment cannot issue the configuration due to the fact that the interface versions are not matched, the services of other controlled equipment can still be normally performed. Therefore, the interface calls of different versions can be realized simultaneously under the condition of uninterrupted service.
Corresponding to the embodiment of the method for realizing the interface calling of different versions, the application also provides an embodiment of a device for realizing the interface calling of different versions.
The embodiment of the device for realizing interface calling of different versions can be applied to network management equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a device in a logical sense, a processor of the network management device reads corresponding computer program instructions in the nonvolatile memory to the memory for operation. In terms of hardware, as shown in fig. 4, a hardware structure diagram of a network management device where a device for implementing interface calling of different versions is located according to the present application is shown, except for the processor, the memory, the network output interface, and the nonvolatile memory shown in fig. 4, the network management device where the device is located in the embodiment may further include other hardware according to the actual function of the network management device, which is not described again.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an apparatus for implementing interface calls of different versions according to an embodiment of the present application, where the apparatus may include: an acquisition module 510, a judgment module 520, a saving module 540, a query module 550 and a sending module 560.
The obtaining module 510 is configured to obtain an interface to be called and an interface version on the managed and controlled device;
a determining module 520, configured to determine whether an IP address of a server corresponding to an interface version of the interface to be called can be queried according to a correspondence between a preconfigured interface version and an IP address of the server, where a component supporting the corresponding interface version is configured in the server;
the saving module 540 is configured to save a mapping relationship between the interface to be called, the interface version, and the IP address of the corresponding server;
the query module 550 is configured to query, from the mapping relationship, an IP address of a server corresponding to an interface to be called and an interface version of the managed device when the configuration information is issued to the managed device;
the sending module 560 is configured to send the configuration information to the server of the IP address after querying the IP address of the server corresponding to the interface to be called and the interface version of the controlled device, so that the server of the IP address calls the interface to be called of the controlled device, and sends the configuration information to the controlled device.
In an embodiment of the present application, the apparatus further includes:
and a reminding module 530, configured to remind a user to expand a server configured with a component supporting the interface version when the IP address of the server corresponding to the interface version and the interface to be called of the managed and controlled device cannot be obtained from the mapping relationship.
In an embodiment of the present application, the apparatus further includes:
the receiving module 570 is configured to receive response information of the managed device for the configuration information, which is sent by the server of the IP address, after the configuration information is sent to the server of the IP address.
In the embodiment of the application, the interface to be called and the interface version on the managed and controlled device are periodically acquired.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (8)

1. A method for realizing interface calling of different versions is characterized in that the method is applied to network management equipment, and the method comprises the following steps:
acquiring an interface to be called on a managed and controlled device and an interface version of the interface to be called; judging whether the IP address of the first server corresponding to the interface version of the interface to be called can be inquired or not according to the corresponding relation between the pre-configured interface version and the IP address of the server; the server of the IP address identifier of the server corresponding to the interface version is provided with a component supporting the interface version; if yes, storing the mapping relation among the interface to be called, the interface version of the interface to be called and the IP address of the first server;
when configuration information is issued to the managed and controlled equipment, the IP address of a second server corresponding to the interface to be called of the managed and controlled equipment and the interface version of the interface to be called is inquired from the mapping relation;
and sending the configuration information to a server identified by the IP address of the second server, so that the server calls the interface to be called of the controlled device, and sends the configuration information to the controlled device.
2. The method of claim 1, further comprising:
and if the IP address of the server corresponding to the interface version of the interface to be called cannot be inquired, reminding a user to expand the server provided with the component supporting the interface version of the interface to be called.
3. The method of claim 1, further comprising:
and after the configuration information is sent to the server identified by the IP address of the second server, receiving response information of the managed and controlled device to the configuration information sent by the server.
4. The method according to claim 1, wherein the interface to be called on the managed device and the interface version of the interface to be called are obtained periodically.
5. A device for realizing interface calling of different versions is characterized in that the device is applied to network management equipment, and the device comprises:
the acquiring module is used for acquiring an interface to be called on the controlled equipment and an interface version of the interface to be called;
the judging module is used for judging whether the IP address of the first server corresponding to the interface version of the interface to be called can be inquired according to the corresponding relation between the pre-configured interface version and the IP address of the server; the server of the IP address identifier of the server corresponding to the interface version is provided with a component supporting the interface version;
the storage module is used for storing the mapping relation among the interface to be called, the interface version of the interface to be called and the IP address of the first server;
the query module is used for querying the IP address of the second server corresponding to the interface to be called of the controlled equipment and the interface version of the interface to be called from the mapping relation when configuration information is issued to the controlled equipment;
and the sending module is used for sending the configuration information to a server identified by the IP address of the second server after inquiring the IP address of the second server corresponding to the interface to be called of the controlled device and the interface version of the interface to be called, so that the server calls the interface to be called of the controlled device and sends the configuration information to the controlled device.
6. The apparatus of claim 5, further comprising:
and the reminding module is used for reminding a user of expanding the server provided with the component supporting the interface version of the interface to be called when the IP address of the server corresponding to the interface version of the interface to be called cannot be inquired.
7. The apparatus of claim 5, further comprising:
and the receiving module is used for receiving response information of the managed and controlled device to the configuration information, which is sent by the server, after the configuration information is sent to the server identified by the IP address of the second server.
8. The apparatus according to claim 5, wherein the interface to be called on the managed device and the interface version of the interface to be called are obtained periodically.
CN201711484133.0A 2017-12-29 2017-12-29 Method and device for realizing calling of interfaces of different versions Active CN108196962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711484133.0A CN108196962B (en) 2017-12-29 2017-12-29 Method and device for realizing calling of interfaces of different versions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711484133.0A CN108196962B (en) 2017-12-29 2017-12-29 Method and device for realizing calling of interfaces of different versions

Publications (2)

Publication Number Publication Date
CN108196962A CN108196962A (en) 2018-06-22
CN108196962B true CN108196962B (en) 2020-09-08

Family

ID=62586722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711484133.0A Active CN108196962B (en) 2017-12-29 2017-12-29 Method and device for realizing calling of interfaces of different versions

Country Status (1)

Country Link
CN (1) CN108196962B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109684103A (en) * 2018-12-17 2019-04-26 上海曼恒数字技术股份有限公司 A kind of interface call method, device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855820A (en) * 2005-04-29 2006-11-01 华为技术有限公司 Method for providing business according to its type
US7260816B2 (en) * 2003-10-09 2007-08-21 Lsi Corporation Method, system, and product for proxy-based method translations for multiple different firmware versions
CN101540799A (en) * 2009-04-23 2009-09-23 深圳市融创天下科技发展有限公司 Mobile terminal software upgrading method
US9021510B2 (en) * 2009-12-04 2015-04-28 International Business Machines Corporation Remote procedure call (RPC) bind service with physical interface query and selection
CN104881304A (en) * 2015-05-13 2015-09-02 小米科技有限责任公司 Resource downloading method and device
CN105993147A (en) * 2014-07-23 2016-10-05 华为技术有限公司 Terminal upgrade method and related device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7260816B2 (en) * 2003-10-09 2007-08-21 Lsi Corporation Method, system, and product for proxy-based method translations for multiple different firmware versions
CN1855820A (en) * 2005-04-29 2006-11-01 华为技术有限公司 Method for providing business according to its type
CN101540799A (en) * 2009-04-23 2009-09-23 深圳市融创天下科技发展有限公司 Mobile terminal software upgrading method
US9021510B2 (en) * 2009-12-04 2015-04-28 International Business Machines Corporation Remote procedure call (RPC) bind service with physical interface query and selection
CN105993147A (en) * 2014-07-23 2016-10-05 华为技术有限公司 Terminal upgrade method and related device
CN104881304A (en) * 2015-05-13 2015-09-02 小米科技有限责任公司 Resource downloading method and device

Also Published As

Publication number Publication date
CN108196962A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN102333029B (en) Routing method in server cluster system
CN105049252A (en) Method and device for managing configuration information
CN101257406B (en) Method and system for discovering net elements
CN105373428A (en) Task scheduling method and system
EP2541868A1 (en) Method and device for terminal management based on right control
US11763219B2 (en) Titanium task-engine system
CN110391940A (en) Response method, device, system, equipment and the storage medium of address of service
US9819545B2 (en) Telecommunications node configuration management
CN115562757A (en) Data processing method, configuration center system, electronic device, and storage medium
CN108196962B (en) Method and device for realizing calling of interfaces of different versions
CN104410511A (en) Server management method and system
US9612822B2 (en) Telecommunications node configuration management
US9871699B2 (en) Telecommunications node configuration management
CN111404978B (en) Data storage method and cloud storage system
CN109324914B (en) Service calling method, service calling device and central server
CN106686031B (en) Method and device for upgrading application to SaaS mode
CN105306243A (en) Stale data collection method, device and system
CN112087327A (en) Information state acquisition method and apparatus, storage medium, and electronic apparatus
CN106375132B (en) Cloud server system and management method thereof
EP3174322A1 (en) Method for deleting notification resource, and common service entity
CN109922482B (en) OMC system deployment method, OMC system, electronic device and storage medium
CN114048028A (en) Service calling method and device, storage medium and electronic equipment
CN110769462B (en) Network access control method and device
CN111181772A (en) Network protocol issuing method, device and system
CN110691001A (en) Equipment unified management method and device

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
GR01 Patent grant
GR01 Patent grant