CN100405792C - Adaptive service connector under network enrironment and connecting method - Google Patents

Adaptive service connector under network enrironment and connecting method Download PDF

Info

Publication number
CN100405792C
CN100405792C CNB2004100623390A CN200410062339A CN100405792C CN 100405792 C CN100405792 C CN 100405792C CN B2004100623390 A CNB2004100623390 A CN B2004100623390A CN 200410062339 A CN200410062339 A CN 200410062339A CN 100405792 C CN100405792 C CN 100405792C
Authority
CN
China
Prior art keywords
service
component
address
connection
interactive component
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.)
Expired - Lifetime
Application number
CNB2004100623390A
Other languages
Chinese (zh)
Other versions
CN1588941A (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.)
Chen Xiaotang
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CNB2004100623390A priority Critical patent/CN100405792C/en
Publication of CN1588941A publication Critical patent/CN1588941A/en
Application granted granted Critical
Publication of CN100405792C publication Critical patent/CN100405792C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention relates to an adaptive service connector in network environment in the technical field of computer networks, and a connecting method. The service connector is used as an adjusting and controlling device for service connection in a distributed system and is composed of an interacting component, a service address storing component, a service selecting component, a connection controlling component, a service visiting component and a connection configuring component, wherein the connection controlling component controls the service selecting component to select one service in services stored in the service address storing component to establish service connection relationship, and besides, the connection controlling component controls the service visiting component to invoke the service; after the connection controlling component establishes the connection, the service visiting component triggers the service execution according to the input data transmitted by the interacting component; after the service is invoked and executed, output data is returned to the interacting component, and thus, the connection interaction is accomplished; the connection configuring component can adjust the interacting component, service addresses in the service address storing component, and the service selecting component of the service connector.

Description

Adaptive service connector under network enrironment and method of attachment
Technical field
The present invention relates to technical field of the computer network, particularly a kind of adaptive service connector under network enrironment and method of attachment.
Background technology
Web service is loosely-coupled, reusable network application system member, can be used for encapsulating the required hardware of user, software and data resource.By connection, composite services, can utilize Internet to go up existing Web service and obtain new function, realize having the distributed system of value-added service.Because it is dynamic, variable that network environment has, when user's request, when service changes, the reconstruct of distributed system will expend great amount of manpower, time and fund.Flexible services connector and method can provide effective support for the distributed system under quick establishment, the reconstructed network environment.Along with the development of ecommerce, E-Government, virtual enterprise etc., popularize, also more and more outstanding to the demand of flexible services connector and method.
At present, mainly exchange, control transmission by immediate data between the service and realize connecting, serve connection in a single day, annexation is difficult to reconstruct, adapts to external change.Solved following problem at above-mentioned situation connector of the present invention, method:
(1) prior art requires the user to propose to serve connection well with regard to predefine before the connection request.Yet the service in the network environment has dynamic, autonomous characteristics, and its availability, running status etc. can independently change.When situations such as Network Transmission is stopped up, service is shut down, service replacings take place, pre-designed fixedly connectedly can not adapt to these variations, normal return results, the failure that can cause whole distributed system to be moved.
(2) user's request itself has dynamically changeable characteristics, along with the development of customer service, to the requirement of annexation between service also in continuous variation.Fixing service connects can not satisfy user's demand complicated and changeable, in case demand changes, just must re-construct the service annexation, carries out loaded down with trivial details modification, debugging, expends great amount of manpower, time and fund.
(3) existing service connects in case after setting up, no longer change.When a service is had a large amount of request, will form bottleneck.Since can't the dynamic equilibrium load, this service meeting is collapsed because of load is overweight, causes whole distributed system collapse.
Summary of the invention
The object of the present invention is to provide a kind of adaptive service connector under network enrironment and method of attachment.
The present invention is connector and the method for attachment that service connects, makes up under network environment, be particularly related to Web service adaptability connects, adjusts under a kind of network environment connector and method, can make variation by the synthetic application adaptation user's request and service self of service groups.
The objective of the invention is: solve the three class problems that exist in the above-mentioned existing service connection, improve service connection under the network environment, make up adaptive capacity user's request, service change, reduce cost, improve the availability of system with service construction, reconstructed distribution formula system.
In order to achieve the above object, the invention solves following technical barrier: the service of how adjusting when user's request changes connects; How when service change, to adjust connected service; The service how Kinematic Positioning will connect, with balanced load, it is available that system is continued.
For addressing the above problem, the present invention adopts following technical scheme:
The present invention realizes the indirect connection of service with adjustment, the control device of service adapter as service annexation in the distributed system, the autonomous variation of packing service, and the Kinematic Positioning service, and adjustable syndeton is provided.
Service adapter comprises interactive component, address of service memory unit, services selection parts, connection control unit, service access parts and is connected arrangement components.Wherein interactive component links to each other with connection control unit, service access parts, is used to receive the input and output relevant with service request; The address of service storage component stores can carry out the address of mutual one group of service by interactive component and other services; The services selection parts are responsible for selecting a service according to service load from the memory unit of address of service, in order to connecting, realize load balance; Connection control unit links to each other with interactive component, services selection parts, service access parts, responsible switching is used for the input of service call, control services selection parts are selected service, establish a connection with the service that requires to connect with it, and control service access parts calling service; The service access parts are responsible for connecting the foundation back according to the input data of being imported into by interactive component the service that is connected by connection control unit being called, and service is returned dateout after being called and carrying out; Service adapter also provides the connection arrangement components, it links to each other with interactive component, address of service memory unit and service alternative pack, with its interactive component, address of service and the services selection parts in the memory unit of address of service of configuration service connector easily.Can reach the purpose that changes syndeton, adjusts the service that is connected by configuration operation.Relation between the service adapter each several part and overall structure view are as shown in Figure 1.
In the distributed system under the network environment, use service adapter as distributed system in adjustment, the control device of annexation between the service, only need be according to the demand of service connection, behind the initialization service adapter, connection arrangement components by service adapter is provided with interactive component, address of service memory unit and service alternative pack, be deployed in the network environment it and issue, service adapter can bring into operation.When the needs Connection Service, send the interactive component of requested service by service adapter, mutual request is proposed, connection control unit in the service adapter will be controlled the services selection parts, the service that the location satisfies the demands from the access unit of address of service, transfer to the service access component invocation, and the result returned to by interactive component send requested service, thereby finish mutual between service.
The present invention has following characteristics and beneficial effect:
(1) compares with existing other service interconnection techniques (as: based on the direct connection that is connected, utilizes Simple Object Access Protocol of data sharing), the service adapter conduct that the present invention proposes is based on the connector in the distributed system of service, can between service, set up, adjust annexation neatly, make the service of distributed system dynamically adapting, changes in demand, improved the adaptability of distributed system.
(2) service adapter has encapsulated the variation that participates in mutual service by interactive component and service address storage part spare.By changing the address of service in the memory unit of address of service, the service in the network environment can add dynamically, withdraw from distributed system, and does not influence mutual with it service.When service needs upgrading, when replacing, only needs a re-allocation service address storage part spare to get final product, need not to change system on a large scale, reduced the expense of system maintenance, change, shortened man-hour.
(3) service adapter provides variable syndeton by address of service memory unit, services selection parts.When demand changes, can annexation be adjusted by changing the mode of location, Connection Service, change connected service by update service address storage part spare.Thereby distributed system can be changed according to demand and dynamically change, need not to expend a large amount of man-hours, fund.
(4) when service load is overweight or unavailable, connection control unit control services selection parts Kinematic Positioning available service, and dynamically connect, the assurance system continues available.
Description of drawings
Fig. 1 is the structure chart of the service adapter of the present invention's proposition;
Fig. 2 is that the service adapter that utilizes the present invention to propose is realized the flow chart that service connects;
Fig. 3 is for being used for service adapter of the present invention the schematic diagram of information service system in embodiment of the present invention.
Embodiment
In Fig. 1, service adapter 11 comprises that connecting arrangement components 12, interactive component 13, services selection parts 14, address of service memory unit 15, connection control unit 16 and service access component 17 6 parts forms.
Connect arrangement components 12 and link to each other, can be configured interactive component 13, services selection parts 14 and address of service memory unit 15 by connecting arrangement components 12 with interactive component 13, services selection parts 14 and address of service memory unit 15.Constitute a connector collocation mechanism, can be provided with, adjust interactive component 13, the address of service in the address of service memory unit 15 and the services selection parts 14 of service adapter.
Interactive component 13 links to each other with services selection parts 14, service access parts 17, is used to receive the input and output relevant with service request, provides service adapter 11 external mutual stable interfaces.
Services selection parts 14 link to each other with address of service memory unit 15, constitute a kind of mechanism that serves Kinematic Positioning, can select connected service according to service load, realize the service load balance.
Address of service memory unit 15 has been stored the address that can carry out one group of mutual service by interactive component 13 and other services.
Connection control unit 16 links to each other with services selection parts 14, service access parts 17, interactive component 13, the controlling organization that constitute a services selection, connects, calls, control services selection parts 14 are selected a service and are participated in mutual from the service of address of service memory unit 15 storages, and establish a connection the input data call service that control service access parts 17 transmit according to interactive component 13;
Service access parts 17, be connected with connection control unit 16, form a service execution mechanism, be responsible for connecting the foundation back according to the input data of importing into by interactive component 13, trigger the service that has connected of carrying out, service is performed the back and returns dateout to interactive component 13.
Wherein, interactive component receives the input and output relevant with service request, and externally mutual stable interface of service adapter is provided.
The address of service memory unit can be stored the address of carrying out one group of mutual service by interactive component and other services.
The services selection parts link to each other with the address of service memory unit, constitute a kind of mechanism that serves Kinematic Positioning, can select connected service according to service load, realize the service load balance.
Connection control unit, link to each other with services selection parts, service access parts, interactive component, the controlling organization that constitute a services selection, connects, calls, the service of control services selection parts Kinematic Positioning, set up the service annexation, the service of control service access component invocation, the control interactive component receives input.
The service access parts, be connected with connection control unit, form a service execution mechanism, connecting the foundation back under connection control unit control, according to the input data of importing into by interactive component, triggering is by the execution of the service of services selection parts selection, and service is returned dateout after being called and carrying out.
Connect arrangement components, link to each other with interactive component, address of service memory unit and services selection parts, constitute a connector collocation mechanism, can be provided with, adjust interactive component, the address of service in the memory unit of address of service and the services selection parts of service adapter.
Fig. 2 has illustrated and has utilized the service adapter that the present invention proposes to realize the workflow that service connects.Its key step is:
S1: build-in services connector in distributed system is used, initialization service adapter 11;
S2: by connecting arrangement components 12 configuration interactive parts 13;
S3: by connecting the address of service of storage in the arrangement components 12 configuration service address storage part spares 15;
S4: by connecting arrangement components 12 configuration service alternative packs 14;
S5: after configuration finished, service adapter promptly was in the wait running status, and interactive component 13 can receive the service interaction request;
S6: after interactive component 13 received the service interaction request, connection control unit 16 control services selection parts 14 were selected the mutual service of participation in the service of store according to service load from address of service memory unit 15, establish a connection;
S7:, then go back to the configuration that configuration step is adjusted service adapter, otherwise service access parts 17 trigger the execution of Connection Service if can not participate in mutual service in choosing;
S8: after service is performed,, then return service output result to the requesting party, carry out services selection again otherwise go back to step (S6) by interactive component 13 if normally obtained return results.
3 specifically describe preferred embodiment example of the present invention with reference to the accompanying drawings.
Fig. 3 has showed that the service adapter that the present invention is proposed is used for an example of information service system.The user wishes to obtain the information of interest service by PDA (personal digital assistant) 26 visit information service systems.Cause network congestion for fear of a large amount of concurrent visits, provide information service simultaneously by a plurality of servers 21,22,23 that are distributed in various places.Service adapter 11 is the devices that connect PDA26 and server service.
Service adapter 11 be mounted and initialization after, the connection arrangement components 12 by wherein is configured to accept the Query Information service request with interactive component 13, the return information Query Result; Address stored in the address of service memory unit 15 is configured to the address of server 21,22,23; In order to make system load keep dynamic balance, satisfy the requirement of the concurrent visit of a large number of users, the services selection parts in the service adapter 11 are configured to provide information service according to user's the current place nearest server of Dynamic Selection.User's location information is stored in the user geographical position thesaurus 25, and can move according to the geography of PDA 26 and carry out real-time update.
After having configured service adapter, the request of the Query Information service of PDA 26 is sent to service adapter 11.In the service adapter 11 the services selection parts based on current user geographical position choice of dynamical go out with the nearest server of user distance on service, carry out service call and obtain Query Result and return to PDA 26.

Claims (2)

1. the service method of attachment in the distributed system under the network environment is characterized in that,
By adjustment, the control device of Web service connector as the Web service annexation in the distributed system, its key step is as follows:
S1: the Web service connector is installed in distributed system is used, and initialization Web service connector (11) forms the mechanism, services selection-connect of service Kinematic Positioning-call controlling organization, dynamic Service actuator;
S2: by connecting arrangement components (12) configuration interactive parts (13);
S3:, and make it to be undertaken alternately by interactive component (13) and other service by the Web service address of storage in connection arrangement components (12) the configuration service address storage part spare (15);
S4: by connecting arrangement components (12) configuration service alternative pack (14), and support the change of positioning service, connected mode;
S5: after configuration finished, the Web service connector promptly was in the wait running status, and interactive component (13) receives the service interaction request;
S6: after interactive component (13) received the service interaction request, connection control unit (16) control services selection parts (14) were selected the mutual service of participation in the service of storing according to service load from address of service memory unit (15), establish a connection;
S7: if can not participate in mutual service in choosing, then go back to configuration step and adjust the configuration of Web service connector, otherwise service access parts (17) trigger the execution of Connection Service, the service that will connect with Kinematic Positioning, balanced load, it is available that system is continued;
S8: after service is performed,, then return service output result to the requesting party, carry out services selection again otherwise go back to step S6 by interactive component (13) if normally obtained return results.
2. the service adapter in the distributed system under the network environment is characterized in that, by interactive component, Web service address storage part spare, services selection parts, connection control unit, service access parts be connected several parts of arrangement components and form, wherein:
Interactive component receives the input and output relevant with service request, and externally mutual stable interface of Web service connector is provided;
The address of service memory unit, the address of one group of mutual service is carried out in storage by interactive component and other services, by changing the Web service address in the memory unit of address of service, the Web service in the network environment dynamically adds, when withdrawing from distributed system, and do not influence mutual with it service;
The services selection parts link to each other with the address of service memory unit, constitute a kind of mechanism that serves Kinematic Positioning, select connected service according to service load, in order to connecting, realize the service load balance;
Connection control unit, link to each other with services selection parts, service access parts, interactive component, the controlling organization that constitute a services selection, connects, calls, the service of satisfying the demands of control services selection parts Kinematic Positioning, dynamically set up the service annexation, the assurance system continues available, the service of control service access component invocation, and the control interactive component receives input;
The service access parts, be connected with connection control unit, form a dynamic Service actuator, connecting the foundation back under connection control unit control, according to the input data of importing into by interactive component, triggering is by the execution of the service of services selection parts selection, and service is returned dateout after being called and carrying out;
Connect arrangement components, link to each other with interactive component, address of service memory unit and services selection parts, constitute a connector collocation mechanism, be provided with, adjust interactive component, the address of service in the memory unit of address of service and the services selection parts of Web service connector, change syndeton, adjust connected service.
CNB2004100623390A 2004-07-06 2004-07-06 Adaptive service connector under network enrironment and connecting method Expired - Lifetime CN100405792C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100623390A CN100405792C (en) 2004-07-06 2004-07-06 Adaptive service connector under network enrironment and connecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100623390A CN100405792C (en) 2004-07-06 2004-07-06 Adaptive service connector under network enrironment and connecting method

Publications (2)

Publication Number Publication Date
CN1588941A CN1588941A (en) 2005-03-02
CN100405792C true CN100405792C (en) 2008-07-23

Family

ID=34603689

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100623390A Expired - Lifetime CN100405792C (en) 2004-07-06 2004-07-06 Adaptive service connector under network enrironment and connecting method

Country Status (1)

Country Link
CN (1) CN100405792C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100488153C (en) * 2006-04-06 2009-05-13 中国科学院计算技术研究所 Virtual network service deriving and using method and device
CN101488843A (en) * 2008-01-16 2009-07-22 北京航空航天大学 High availability service combined implementing method based on redundancy mechanism

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1142303A (en) * 1994-03-03 1997-02-05 杰奥内脱有限公司L.P. System for managing networked computer applications
FR2809254A1 (en) * 2000-05-19 2001-11-23 Oreka Method for management of a connection between a user and the Internet using security and management servers associated with a remote server so that targeted messages can be sent to individual users and connection costs reduced
CN1492656A (en) * 2002-10-25 2004-04-28 �Ҵ���˾ Method, device and system for sharing applied program conversation information on multichannels

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1142303A (en) * 1994-03-03 1997-02-05 杰奥内脱有限公司L.P. System for managing networked computer applications
FR2809254A1 (en) * 2000-05-19 2001-11-23 Oreka Method for management of a connection between a user and the Internet using security and management servers associated with a remote server so that targeted messages can be sent to individual users and connection costs reduced
CN1492656A (en) * 2002-10-25 2004-04-28 �Ҵ���˾ Method, device and system for sharing applied program conversation information on multichannels

Also Published As

Publication number Publication date
CN1588941A (en) 2005-03-02

Similar Documents

Publication Publication Date Title
CN113596110B (en) Cloud primary micro-service platform oriented to heterogeneous cloud
CN101171821B (en) System, network device, method, and computer program product for active load balancing using clustered nodes as authoritative domain name servers
JP5789640B2 (en) System for managing program execution by multiple computer systems
CN101374146B (en) Access to virtual representation of physical computer system based on requirement
US7370013B1 (en) Approach for determining an amount to bill a customer for the use of resources
US20100064033A1 (en) Integration of an internal cloud infrastructure with existing enterprise services and systems
JP2015537307A (en) Component-oriented hybrid cloud operating system architecture and communication method thereof
CN103309674A (en) Software architecture system
CN101232626A (en) Business supporting system and method based on business events developing platform
CN108270818A (en) A kind of micro services architecture system and its access method
KR20190116565A (en) Management of multiple clusters of distributed file systems
CN108055333A (en) A kind of NAS-CIFS cluster load balancing methods based on UFS
CN101710281A (en) Dynamic integrated system and method of development platform based on Agent
CN103685572A (en) Method and system for building data center management platform based on SOA (service-oriented architecture)
CN100405792C (en) Adaptive service connector under network enrironment and connecting method
CN101141482B (en) Network resource management system and method
CN105406983A (en) Cloud computing network management control method based on user requirements
CN102664952A (en) Method for managing and monitoring embedded equipment cluster
CN101236510B (en) EJB cluster failure recovery processing method and system
CN114710488B (en) Method, device, equipment and medium for realizing elastic expansion and contraction across available areas
CN112261095B (en) Load distribution realization system and method based on two-stage proxy
CN100429904C (en) A method for implementing dynamic deployment of network client-side application
CN107196800A (en) A kind of overtime hierarchical control method based on configuration
KR100496172B1 (en) Dual web service system using host server in p2p web server configuration
CN117519911B (en) Automatic injection system, method, device, cluster and medium

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
ASS Succession or assignment of patent right

Owner name: BEIJING FENGHUICAIZHI INTELLECTUAL PROPERTY CONSUL

Free format text: FORMER OWNER: INSTITUTE OF COMPUTING TECHNOLOGY, CHINESE ACADEMY OF SCIENCES

Effective date: 20121105

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100080 HAIDIAN, BEIJING TO: 100193 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20121105

Address after: 100193 Beijing City, Haidian District Zhongguancun Software Park incubator room 2A2330

Patentee after: Beijing Feng Hui Choi intellectual property consultant limited liability company

Address before: 100080 No. 6 South Road, Zhongguancun Academy of Sciences, Beijing

Patentee before: Institute of Computing Technology, Chinese Academy of Sciences

ASS Succession or assignment of patent right

Owner name: CHEN XIAOTANG

Free format text: FORMER OWNER: BEIJING FORTUNEHIGH INTELLECTUAL PROPERTY CONSULTANT CO.,LTD.

Effective date: 20130104

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20130104

Address after: 100193 2A2330 room, Zhongguancun Software Park, Haidian District, Beijing

Patentee after: Chen Xiaotang

Address before: 100193 Beijing City, Haidian District Zhongguancun Software Park incubator room 2A2330

Patentee before: Beijing Feng Hui Choi intellectual property consultant limited liability company