CN102118390B - Method for linkage of application systems of multi-network card equipment and equipment thereof - Google Patents

Method for linkage of application systems of multi-network card equipment and equipment thereof Download PDF

Info

Publication number
CN102118390B
CN102118390B CN201110002541.4A CN201110002541A CN102118390B CN 102118390 B CN102118390 B CN 102118390B CN 201110002541 A CN201110002541 A CN 201110002541A CN 102118390 B CN102118390 B CN 102118390B
Authority
CN
China
Prior art keywords
url
address
application system
network card
application systems
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
CN201110002541.4A
Other languages
Chinese (zh)
Other versions
CN102118390A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C 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 H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110002541.4A priority Critical patent/CN102118390B/en
Publication of CN102118390A publication Critical patent/CN102118390A/en
Application granted granted Critical
Publication of CN102118390B publication Critical patent/CN102118390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for the linkage of a plurality of application systems of multi-network card equipment and equipment thereof. The method comprises that: any one of the plurality of application systems receives an access request from a client, and acquires an Internet protocol (IP) address, carried in the access request, of the multi-network card equipment; and the application system constructs universal resource locators (URL), comprising the IP address, of the other application systems according to the acquired IP address, and performs linkage with the other application systems according to the constructed URLs. In the embodiment of the invention, any application system of the multi-network card equipment acquires the corresponding IP address of the multi-network card equipment according to the request of the client, constructs the URLs by using the IP address and performs the linkage with the other application systems according to the URLs, thereby realizing the linkage of the plurality of application systems of the multi-network card equipment.

Description

The method and apparatus of the multi-application system interlock of many network card equipments
Technical field
The present invention relates to the communications field, particularly relate to a kind of method and apparatus of multi-application system interlock of many network card equipments.
Background technology
Current Network application is a lot, and various different application system respectively has speciality, and the situation that user disposes multiple application system on the same device gets more and more.Such as, the mode same server configuring multiple network management system is widely adopted.In order to realize the interlock between multiple network management system, most network management system all achieves external access interface, wherein directly provides the URL mode that (Universal Resource Locator, URL(uniform resource locator)) conducts interviews to be widely adopted.
As shown in Figure 1, network management system A and network management system B is comprised in server.Network management system A can obtain by accessing the concrete URL of network management system B the function and data that network management system B provides.Such as, network management system B provides " http: // host ip: 9090/port.jsf? deviceId=1 " directly show the port data of network management system B, namely arrange on the displayed page of network management system A link " http: // host ip: 9090/port.jsf? deviceId=1 ", click this link and just redirect can enter the port data displayed page of network management system B.Or, network management system A by " http: // host ip: 9090/xml/listPort? deviceId=1 " obtain the port data of network management system B, network management system A uses that the network management data got is self-defined to be shown in the page of oneself.
In prior art, in order to realize the communication between network management system, the port numbers of the machine IP and each network management system can be stored in configuration file by server.Network management system A and B generates respective URL according to the machine IP in configuration file and corresponding end slogan.But, when server ip address changes, if configuration file does not upgrade in time, URL can be caused to access unsuccessfully.When server comprises multiple network interface card, as shown in Figure 2, server has multiple IP address, and network management system cannot determine store which IP address at configuration file, or which IP address should be selected to build URL.
A kind of mode generating URL is also provided in prior art.The mode of the acquisition local IP address that network management system provides according to its programming language, Dynamic Acquisition local IP address, then generates corresponding URL according to the IP address got.But when server has multiple IP address, network management system gets multiple IP addresses of the machine, cannot distinguish and select which IP address to build URL.
Summary of the invention
The invention provides a kind of method and apparatus of multi-application system interlock of many network card equipments, make equipment that appropriate IP address can be selected in multiple IP address to generate URL.
The invention provides a kind of method of multi-application system interlock of many network card equipments, be applied to the equipment comprising multiple network interface card and multiple application system, comprise:
Arbitrary application system in described multiple application system receives the access request that client sends, and obtains in described access request the IP address of the described many network card equipments carried;
Described arbitrary application system according to described in the IP address that gets build the URL comprising other application systems of this IP address, according to building the URL that obtains and other application systems link.
Described arbitrary application system according to described in the IP address that gets build the URL comprising other application systems of this IP address, link comprise according to building the URL that obtains and other application systems:
Described arbitrary application system builds the URL of other application systems and shows in described client;
The URL that described client is shown according to described arbitrary application system sends access request to described many network card equipments;
The application system corresponding with the URL of described displaying is at described client exhibiting data information.
Described arbitrary application system according to described in the IP address that gets build the URL of other application systems, link comprise according to building the URL that obtains and other application systems:
Described arbitrary application system builds the URL of other application systems and shows in described client;
The URL that described client is shown according to described arbitrary application system sends access request to described many network card equipments;
Described arbitrary application system obtains the data message of other application systems corresponding to the URL of described displaying according to described access request;
The data message of other application systems that described arbitrary application system gets described in described client displaying.
The IP address obtaining in described access request the described equipment carried comprises: using the IP address of the object IP address of described access request as described many network card equipments.
The port corresponding with other application systems described is also comprised in the URL that described structure obtains.
The invention provides a kind of many network card equipments, comprise multiple application system, the arbitrary application system in described multiple application system comprises:
Receiving element, for receiving the access request that client sends;
Acquiring unit, is connected with described receiving element, for obtaining in described access request the IP address of the described many network card equipments carried;
URL construction unit, is connected with described acquiring unit, builds for the IP address obtained according to described acquiring unit the URL comprising other application systems of this IP address;
Linkage unit, is connected with described URL construction unit, for building the URL that obtains according to described URL construction unit and other application systems link.
Described linkage unit also for: show in described client the URL that described URL construction unit obtains; When described client sends access request according to the URL of described displaying to described many network card equipments, show the data message of the application system that described URL is corresponding in described client.
Described linkage unit also for:
The URL of other application systems described is shown in described client;
Receive access request that described client sends according to described URL and obtain the data message of other application systems corresponding to described URL;
The data message of other application systems that the described URL that gets is corresponding is shown in described client.
Described acquiring unit also for:
Using the IP address of the object IP address of described access request as described many network card equipments.
Described URL construction unit builds in the URL obtained and also comprises the port corresponding with other application systems described.
Compared with prior art, the embodiment of the present invention at least has the following advantages:
In the embodiment of the present invention, arbitrary application system of many network card equipments is according to the IP address of this many network card equipment corresponding to the acquisition request of client, use this IP address build URL and link according to this URL and other application systems, thus realize the multi-application system interlock of many network card equipments.
Accompanying drawing explanation
Fig. 1 is the server intention of multi-application system in prior art;
Fig. 2 is the server intention of many network interface cards multi-application system in prior art;
Fig. 3 is the schematic flow sheet of the method for the multi-application system interlock of many network card equipments provided by the invention;
Fig. 4 is the structural representation of many network card equipments provided by the invention.
Embodiment
Core concept of the present invention is: the arbitrary application system in many network interface cards multi-application system equipment, according to the IP address that this application system of client-access uses, determines to use this IP address to generate URL, carries out the interlock between other application systems.
Concrete, system shown in composition graphs 2, wherein, server is many network interface cards multi-application system equipment, server comprises application system A and application system B, and server comprises network interface card A (IP address is 192.168.0.1), network interface card B (IP address is 10.10.0.1) and network interface card X (IP address is x.x.x.x).By the mutual data message each other of URL access between application system A and B.Each network interface card has different IP addresses respectively, and client can by the application system A of each network interface card access server or B.Such as, in Fig. 2, PCA, by network interface card A access services device, can pass through network interface card A access application system A and/or application system B.PCB, by network interface card B access services device, can pass through network interface card B access application system A and/or application system B.
In the present invention, arbitrary application system of server shown in Fig. 2, after receiving the access request of client, obtains the IP address of the server of client-access, generates the URL connecting other application systems according to this IP address.Such as, PCA, by network interface card A access services device, carries the IP address 192.168.0.1 of network interface card A in access request.Assuming that first the access request of PCA arrives application system A.After application system A receives this access request, obtain the object IP address 192.168.0.1 in access request, does IP address according to this acquisition build URL:http: // 192.168.0.1:9090/port.jsf? deviceId=1,192.168.0.1 in this URL is the IP address of network interface card A, and 9090 is the port numbers of application system B.The URL that PCA provides according to application system A, access application system B, obtain the data message of application system B.
Concrete, the method for the multi-application system interlock of many network card equipments provided by the invention, as shown in Figure 3, comprises the following steps:
Step 301, client rs PC A sends request to server according to the IP address of network interface card A, request access application system A.
Step 302, application system A is according to the IP address of the server used in this request of the acquisition request of PCA.
Concrete, request, the same client of different clients transmission may be different to the request that different application systems or server send, but, usually all carry in these requests and ask header, requesting method, required parameter and object IP address information etc.After application system A receives request, obtain the IP address of server according to the object IP address information in request.
Step 303, application system A builds the URL of application system B according to the IP address of the server obtained.
Concrete, does the URL that application system A builds comprise the IP address of server and the port numbers of application system B, such as http: // 192.168.0.1:9090/port.jsf? deviceId=1.
Step 304, client is according to the data message of the URL access application system B of application system B.
Concrete, user end to server sends the access request of the URL of application system B, and server returns the displayed page of application system B to client.Or, user end to server sends the access request of the URL of application system B, application system A communicates with application system B according to the URL of application system B, obtains the data message of application system B, by the data message that gets by the page presentation of application system A to client.
In the embodiment of the present invention, arbitrary application system of many network card equipments is according to the IP address of this many network card equipment corresponding to the acquisition request of client, use this IP address build URL and link according to this URL and other application systems, thus realize the multi-application system interlock of many network card equipments.
Based on the technical conceive identical with said method embodiment, the invention provides a kind of many network card equipments, comprise multiple application system, as shown in Figure 4, the arbitrary application system in described multiple application system comprises:
Receiving element 11, for receiving the access request that client sends;
Acquiring unit 12, is connected with described receiving element 11, for obtaining in described access request the IP address of the described many network card equipments carried;
URL construction unit 13, is connected with described acquiring unit 12, builds for the IP address obtained according to described acquiring unit the URL comprising other application systems of this IP address;
Linkage unit 14, is connected with described URL construction unit 13, for building the URL that obtains according to described URL construction unit and other application systems link.
Described linkage unit 14 also for: show in described client the URL that described URL construction unit obtains; When described client sends access request according to the URL of described displaying to described many network card equipments, show the data message of the application system that described URL is corresponding in described client.
Described linkage unit 14 is also for the URL that shows other application systems described in described client; Receive access request that described client sends according to described URL and obtain the data message of other application systems corresponding to described URL; The data message of other application systems that the described URL that gets is corresponding is shown in described client.
Described acquiring unit 12 also for:
Using the IP address of the object IP address of described access request as described many network card equipments.
Described URL construction unit 13 builds in the URL obtained and also comprises the port corresponding with other application systems described.
In the embodiment of the present invention, arbitrary application system of many network card equipments is according to the IP address of this many network card equipment corresponding to the acquisition request of client, use this IP address build URL and link according to this URL and other application systems, thus realize the multi-application system interlock of many network card equipments.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (6)

1. a method for the multi-application system interlock of network card equipment more than, is applied to the equipment comprising multiple network interface card and multiple application system, it is characterized in that, comprising:
Arbitrary application system in described multiple application system receives the access request that client sends, and obtains in described access request the IP address of the described many network card equipments carried; Wherein, the IP address obtaining in described access request the described equipment carried comprises: using the IP address of the object IP address of described access request as described many network card equipments;
Described arbitrary application system according to described in the IP address that gets build the URL comprising other application systems of this IP address, according to building the URL that obtains and other application systems link;
The port corresponding with other application systems described is also comprised in the URL that described structure obtains.
2. the method for claim 1, is characterized in that, described arbitrary application system according to described in the IP address that gets build the URL comprising other application systems of this IP address, link comprise according to building the URL that obtains and other application systems:
Described arbitrary application system builds the URL of other application systems and shows in described client;
The URL that described client is shown according to described arbitrary application system sends access request to described many network card equipments;
The application system corresponding with the URL of described displaying is at described client exhibiting data information.
3. the method for claim 1, is characterized in that, described arbitrary application system according to described in the IP address that gets build the URL of other application systems, link comprise according to building the URL that obtains and other application systems:
Described arbitrary application system builds the URL of other application systems and shows in described client;
The URL that described client is shown according to described arbitrary application system sends access request to described many network card equipments;
Described arbitrary application system obtains the data message of other application systems corresponding to the URL of described displaying according to described access request;
The data message of other application systems that described arbitrary application system gets described in described client displaying.
4. a network card equipment more than, comprises multiple application system, it is characterized in that, the arbitrary application system in described multiple application system comprises:
Receiving element, for receiving the access request that client sends;
Acquiring unit, is connected with described receiving element, for obtaining in described access request the IP address of the described many network card equipments carried; Also for using the IP address of the object IP address of described access request as described many network card equipments;
URL construction unit, is connected with described acquiring unit, builds for the IP address obtained according to described acquiring unit the URL comprising other application systems of this IP address;
Linkage unit, is connected with described URL construction unit, for building the URL that obtains according to described URL construction unit and other application systems link;
Described URL construction unit builds in the URL obtained and also comprises the port corresponding with other application systems described.
5. many network card equipments as claimed in claim 4, is characterized in that,
Described linkage unit also for: show in described client the URL that described URL construction unit obtains; When described client sends access request according to the URL of described displaying to described many network card equipments, show the data message of the application system that described URL is corresponding in described client.
6. many network card equipments as claimed in claim 4, is characterized in that, described linkage unit also for:
The URL of other application systems described is shown in described client;
Receive access request that described client sends according to described URL and obtain the data message of other application systems corresponding to described URL;
The data message of other application systems that the described URL that gets is corresponding is shown in described client.
CN201110002541.4A 2011-01-07 2011-01-07 Method for linkage of application systems of multi-network card equipment and equipment thereof Active CN102118390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110002541.4A CN102118390B (en) 2011-01-07 2011-01-07 Method for linkage of application systems of multi-network card equipment and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110002541.4A CN102118390B (en) 2011-01-07 2011-01-07 Method for linkage of application systems of multi-network card equipment and equipment thereof

Publications (2)

Publication Number Publication Date
CN102118390A CN102118390A (en) 2011-07-06
CN102118390B true CN102118390B (en) 2015-07-22

Family

ID=44216979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110002541.4A Active CN102118390B (en) 2011-01-07 2011-01-07 Method for linkage of application systems of multi-network card equipment and equipment thereof

Country Status (1)

Country Link
CN (1) CN102118390B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1408089A (en) * 1999-09-24 2003-04-02 阿坎巴公司 System and method for managing connections between client and server
CN1836223A (en) * 2003-06-02 2006-09-20 美国在线服务公司 Page views for proxy servers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005115A1 (en) * 2001-06-27 2003-01-02 Walker Philip M. System and method for providing access to a resource

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1408089A (en) * 1999-09-24 2003-04-02 阿坎巴公司 System and method for managing connections between client and server
CN1836223A (en) * 2003-06-02 2006-09-20 美国在线服务公司 Page views for proxy servers

Also Published As

Publication number Publication date
CN102118390A (en) 2011-07-06

Similar Documents

Publication Publication Date Title
CN104335523B (en) A kind of authority control method, client and server
CN100556007C (en) A kind of method and system of integrating the E-mail address that a plurality of service providers provide
KR20100048571A (en) Method, apparatus and system for providing muti user-multi service
CN102904765B (en) The method and apparatus that data report
CN104869143A (en) Data sharing method and device, client and server
CN102291243A (en) Service processing server, system and method
CN106603593A (en) HTTP calling method and device based on adaption
CN106549989A (en) A kind of data transmission method and its system, user terminal, application server
CN103888540A (en) Login information synchronization method, synchronized network servers and synchronizing network servers
CN109561167A (en) A kind of domain name analytic method and device
CN108880923A (en) The method and apparatus that policer operation applied to application server is requested
CN108282455A (en) Web-page requests method, apparatus and domain-name information analysis result processing method, device
EP3096492A1 (en) Page push method, device, server and system
CN105139217A (en) Method, apparatus and system used for acquiring user information
CN103678332A (en) System, browser and method for displaying page
KR20130072907A (en) Method and system for shortening url
CN105721398A (en) Data access method and device
CN102118390B (en) Method for linkage of application systems of multi-network card equipment and equipment thereof
CN111953718A (en) Page debugging method and device
CN106210176B (en) Information-pushing method, apparatus and system
CN109508278A (en) Middleware monitoring system and method
KR102340976B1 (en) Deep learning-based customized content provision system using web service user experience
CN112231566B (en) Information pushing method, device, system and readable storage medium
CN106487861B (en) Network data providing method and device
CN103490985A (en) Method and device for processing picture messages

Legal Events

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

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address