[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103401945B - A kind of service combination dynamic reconstruction method - Google Patents

A kind of service combination dynamic reconstruction method Download PDF

Info

Publication number
CN103401945B
CN103401945B CN201310352564.7A CN201310352564A CN103401945B CN 103401945 B CN103401945 B CN 103401945B CN 201310352564 A CN201310352564 A CN 201310352564A CN 103401945 B CN103401945 B CN 103401945B
Authority
CN
China
Prior art keywords
service
user
network
module
request
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 - Fee Related
Application number
CN201310352564.7A
Other languages
Chinese (zh)
Other versions
CN103401945A (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.)
Qingdao University
Original Assignee
Qingdao University
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 Qingdao University filed Critical Qingdao University
Priority to CN201310352564.7A priority Critical patent/CN103401945B/en
Publication of CN103401945A publication Critical patent/CN103401945A/en
Application granted granted Critical
Publication of CN103401945B publication Critical patent/CN103401945B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention belongs to Internet service technical field, relate to a kind of service combination dynamic reconstruction method, first the dynamic requests of user and the event request of ISP being sent to reconstructs event analyser and is analyzed, it may be judged whether for reconstruct event;Reconstructed operation according to reconfiguration rule perform after according to analyze reconstruct event information, change reconstruct needed for serviced component, information service table is carried out inquire about serviced component;Readjust application configuration further according to the service component information inquired and form new application structure;Finally call the serviced component readjusted to implement to run in addition system, or application service assembly evacuation system, or carry out serviced component replacement, continue executing with user task, it is achieved Services Composition dynamic restructuring;Its method is easy, and principle is reliable, strengthens the adaptive ability of oriented systems, improves reliability and safety, it is ensured that the quality of service.

Description

A kind of service combination dynamic reconstruction method
Technical field:
The invention belongs to Internet service technical field, relate in the distributed system of a kind of service-oriented computing Dynamic reconfiguration method, particularly a kind of service combination dynamic reconstruction method.
Background technology:
Along with the development of service-oriented computing technology, make full use of internet on various Service Sources build towards The distributed-distribution system of Services Integration has become research and development focus, Service Source include calculate resource, software resource, Data resource and information resources, service oriented computing pattern is to be collected Service Source by Intel Virtualization Technology Become and management, Service Source is converted into the reliable warp that can be obtained by link terminal unit on the internet The calculating of Ji and service ability, the Intel Virtualization Technology of computer can be by Service Source according to the interface of standard criterion Pack, and use the functional module that expansible description language is described, facilitates user to call, these merits Module can be referred to as service, have realized that in information industry circle and build the extensive net sharing Distributed Services network Network application and the value and significance of commercial service network system.The system providing network service provides WWW Various network services are combined layout and form service with better function, applying to using of this network service While benefit is brought at family, there is also challenging problem urgently to be resolved hurrily, i.e. at user's request or clothes During business network environment generation change at random, system, how in the case of not interrupting application execution, rebuilds clothes The application that business network provides, completes the task that user submits to, and this reconstructed operation should be transparent to user 's.It is complicated, in dynamic network environment at one, it is provided that the network of service itself may change at any time, The demand of user also can change at any time, the Services Composition structure that therefore system designs under quiescent conditions, the most not Possess the function of self-adaptative adjustment, cause service result delivery delay, or execution task is forced to be interrupted, root Originally cannot complete task, these problems belong to the virtual of the dynamic management area of the virtual organization of service-oriented computing Change technology, if service-oriented network system can support network service dynamic pipe according to the change at any time of network Reason, so that it may so that network service has the highest adaptation function, it is ensured that the quality of network service.Existing at hardware It is called " reconstruct and weight design problem during operation " such issues that of in field programmable gate array technology, from host computer Being called " calculating system self management problem " such issues that of in field, the essence of such problem is internal system tool Having and carry out oneself with the change of external condition dynamically and adjust function, making system ensure, user submits to times Business.In distributed network environment dynamic, complicated and changeable, dynamic restructuring service problem is service-oriented meter Calculating a key issue of environment lower network Services Composition technology, serviced component and network environment change, and one Kind of situation refers to that the network at certain serviced component place that system calls may interrupt because of fault, or service group Part needs to safeguard, redeploying, the serviced component that such network application selects is the most unavailable, for not interrupting user Task, need system to reselect available serviced component and re-start the adjustment of Services Composition;Another kind of feelings Condition refers to that the demand of user changes, existing Services Composition need readjust after to adapt to user's request Change.
At present, Chinese scholars launched many-sided theoretical research about service network dynamic restructuring technology, and one Aspect research concentrates on which assumed condition is analysis network dynamic restructuring process should meet, and service network can be carried out Dynamic restructuring, mainly carries out general analysis and proof to network dynamic restructuring service;On the other hand research is The process of Services Composition is studied, such as with minimum time complexity and service quality in dynamic environment Carry out services selection and the correlational study of mapping and analysis and demonstration;But not yet propose in network environment and When serviced component and user's request occurrence dynamics change, how to the Services Composition that service-oriented computing is applied Structure carries out the solution of self-adaptative adjustment, makes the service network dynamically change according to demand with environment come dynamically The application that reconstruct is set up, to ensure service quality.
Summary of the invention:
It is an object of the invention to the shortcoming overcoming prior art to exist, seeking design provides a kind of sing on web The service combination dynamic reconstruction method of service, by dynamic restructuring Services Composition, in user's request and network application When the serviced component state provided changes, the application that reconstruct Services Composition is set up, it is ensured that network service system Provide a user with reliable, transparent, continuous, consistent service, improve the network service service quality to user.
To achieve these goals, the service combination dynamic reconstruction method that the present invention relates to is at network service dynamic weight Dynamic restructuring service module in construction system realizes, dynamic restructuring service module include user's request management module, Serviced component request management module, reconstruct event analyser, dynamic restructuring controller and network application configuration module Five part compositions, reconstruct event refers to needs of network users and the network environment occurrence dynamics providing with using service Situation about changing, the step of its Services Composition dynamic restructuring is as follows:
(1), dynamic restructuring event is received: what the reception of user's request management module and storage user sent dynamically please Asking, serviced component request management module receives and the event request of storage serviced component, and moving user respectively The event request of state request and ISP is sent to reconstruct event analyser;
(2), reconstruct event is analyzed: the user's request received is analyzed by reconstruct event analyser, it is judged that Whether it is reconstruct event, if reconstruct event is then submitted to dynamic restructuring controller and initiated reconstructed operation;If not Reconstruct event does not the most initiate reconstructed operation, application service combination will be maintained the most constant, continue executing with appointing of user Business;
(3) dynamic restructuring operation, is performed: reconstructed operation enters step (4) after performing according to reconfiguration rule;
(4), Query Information agent list: according to the reconstruct event information analyzed, change the service group needed for reconstruct Part, carries out information service table inquiring about serviced component;
(5) application configuration, is readjusted: readjust application configuration shape according to the service component information inquired The application structure of Cheng Xin;
(6), call the serviced component readjusted and implement to run in addition system, or application service assembly removes From system, or carry out serviced component replacement, continue executing with user task, it is achieved Services Composition dynamic restructuring.
User's request that the reconstruct event analyser that the present invention relates to receives has two types: one is to use network The client of service, this reconfiguration request carries out degree of depth tune to the Logical Configuration of application in network service configuration module Whole, i.e. the serviced component in Services Composition is re-started portfolio restructuring, its semantic description is:
NetApp((AR1,AR2,AR3.....)((AR1,AR2)(AR1,AR3).......))→NetdApp((ARa,ARb, ARc.....)((ARa,ARb)(ARb,ARc).......));Another kind is the ISP of network application, and network should The RECONFIGURATION REQUEST that sends of ISP be that the configuration to web services component is adjusted, physical set State is the upstate of the serviced component of actual distribution, and reconstructed operation includes the addition of serviced component, withdraws and replace Changing, its reconstruct semantic description is: NetApp ((AR1,AR2,AR3.....)((AR1,AR2)(AR1,AR3).......)) →NetApp((AR1,AR2’,AR3.....)((AR1,AR2’)(AR1,AR3).......))。
The detailed process that the serviced component that the present invention relates to adds is: user, after submission task, sends again new Service request time, system obtain need add COS after enter service register center search perform these clothes The assembly of business;Judging whether current task completes again, if not completing, system is in network application configuration module Middle increase sends service request again after having needed the information needed that this service is asked;Otherwise, system is again Generate single network application configuration module, send service request again;Serviced component in dynamic restructuring adds Enter to perform flow process to terminate.
The detailed process that the serviced component that the present invention relates to is withdrawn is: when user sends and cancels task requests, be System obtain need the COS cancelled laggard enter network set of applications state module searches perform this serviced component, and root State according to serviced component, it is judged that whether service completes, if service does not completes, system-kill network application configuration Send after module performs all information of this task and cancel service request;Otherwise system queries the service that obtains are tied Fruit and the information of ISP, according to the information of the ISP inquired, send the request of the service of cancelling, After ISP accepts, the related data information of amendment data base, the serviced component in dynamic restructuring is withdrawn and is held Row flow process terminates.
The detailed process that the serviced component that the present invention relates to is replaced is: when needing to replace serviced component, system queries Network application configuration module obtains the type of required service, searches the service group with type further according to Query Result Part, re-emits clothes after the same type serviced component found is placed into the position that network application configuration module is corresponding Business request, the serviced component in dynamic restructuring is replaced execution flow process and is terminated.
The service combination dynamic reconstruction system that the present invention relates to support the network application of Service-Oriented Architecture Based deployment, Running and monitoring is managed, the main body of its system includes network service portal module, service agent module, moves State reconstruct service module, safety and Service Quality Management module, network service resource module and information service module Six funtion parts;Network service portal module provides unified interactive interface for the network user, and user passes through IE browser or the system interface of other browser logging in network services portal module, selected by this system interface Selecting the various network applications that service agent module provides, user arranges the concrete ginseng of mission requirements when submitting task to Number, the mission requirements of submission use extensible markup language to describe, and system is automatically by Simple Object Access Protocol Transmission task is to service agent module, and the execution result of service agent module is returned to use by network service portal module Family;Service agent module accepts user asks and analyzes the user task using extensible markup language to describe, root According to user, the description of service request and COS being inquired about and called will execution after corresponding network service performs Result sends the network user to by network service portal module;The process of application is performed in service agent module In, if user and network environment occur random change, then reconstruct event will activate dynamic restructuring service module; Dynamic restructuring service module includes that user's request management module, serviced component request management module, reconstruct event are divided Parser, dynamic restructuring controller and network application configuration module;Wherein, user's request management module receives and deposits The dynamic requests of storage user, serviced component request management module receives and the event request of storage serviced component, weight Structure event analyser analyzes user's request management module or the task kimonos of serviced component request management module submission Business request;Dynamic restructuring controller is submitted to according to user's request management module or serviced component request management module Task and service requesting query information service module also carry out the reconstructed operation of network application;Network application configuration mould Block represents the presence of a web services component being carrying out, and this presence includes Logical Configuration and thing Reason configuration two parts, configuration therein represents the configuration shape of active service assembly in network offering services combination Condition, Logical Configuration represents that user submits the logic requirement state of task to;In application running, dynamic restructuring Service module controls the change of network set of applications morphotype block and operates real according to the configuration of network application configuration module Now apply the reconstruct of configuration, when needs reconstruct service, dynamic restructuring service module appointing according to the submission of user Business, generates service group by the service register center in Query Information service module in network application configuration module The application configuration closed, uses network application configuration module that application configuration is monitored management, and according to dynamically weight The dynamic restructuring operation that structure rule treatments network change at random causes;Information service module include service routing table and Service register center, service routing table is a uniform service routing table to distributed information of network service, Quick search Network Services Center is provided, preserves the information of network service of network application acquiescence;Service register center Complete the inquiry of service in network application environment, register and revise;Safety controls with Service Quality Management module With management service agent module secure access, and to service register center service availability carry out real-time tracking And record, according to the credit record of service, network service level is ranked up, before high-quality service comes, Service that can choose in time when reconstruct service, that meet requirement, improves service execution efficiency and success Rate;The service that network service resource module is provided by the network web resource server being distributed in different geographical Resource forms, it is provided that the real resource of service.
The running environment of the service combination dynamic reconstruction system that the present invention relates to includes client, proxy server end With network resource server end three part, client operational network service door system, it is responsible for showing service interface, Update service interface at any time, accept the request of user, and accessed by network be distributed on network numerous by The available service that network resource server end provides, meets the various requirement of user;Client includes that user registers Submodule, information on services display sub-module, user log in submodule and user's services selection submodule;User notes Book module completes user's registration, information on services display sub-module display information on services and the letter of certain customers Breath;User logs in submodule verification ID, login password and completes user and log into registration Users panel; User's services selection submodule is used for filling in user's request, clicks on and submits to button to complete;Proxy server end runs Service agent module, be responsible for process user's request, have service registry management, service discovery, Prestige Management, Dynamic restructuring, service dispatch and result treatment function;The task of proxy server end is submitted to submodule to obtain and is submitted to User's request and complete task, the task analyzing sub-module in proxy server end resolves user according to service logic Demand and service parameter, the Service Matching submodule in proxy server end is the service request that can independently dispatch Join suitably service;Service binding implementation sub-module in proxy server end or referred to as task scheduling submodule tuber Service binding, task deployment and service execution is carried out according to service relation;Dynamic restructuring in proxy server end Module monitors service operation situation, it is provided that component-level dynamic restructuring;Result parsing in proxy server end/ Combination submodule is according to service logic composite services result;Credit record in proxy server end adjusts submodule The credit record of main body in capture credit event adjustment system;Job enquiry submodule side in proxy server end Just user's query task state, service result and bill;Task management submodule management in proxy server end Task in system, accept the task amendment request of system and user;Bill management in proxy server end The bill generated in module management system and the cancellation of bill, payment and reimbursement process;In proxy server end Service registry submodule according to service registration request and credit record, service is added resource service pond;Network provides Source server end provides network service, is the set of the Service Source of whole system;In network resource server end Attendant sub-module the main body of service is provided, and submodule of transferring accounts accepts agency's request of paying a bill.
The operation workflow of the service agent module for user that the present invention relates to is as follows:
(1), identity judges: first judges whether user is member, if not member, then needs registration and using Family information stores User Information Database, in case carrying out information comparison when next time logs in;If member, then enter Row register;
(2), log in: after user inputs username and password, the automatic information with User Information Database of system is entered OK, if comparison success, then user logins successfully;If the code error of input, then need again to log in;If it is aobvious Show that user name does not exists, then need registration;
(3), demand for services is inputted: after user logins successfully, according to operation pages prompting input demand for services, And submit demand for services to;
(4), analysis service demand: system of users submit to demand for services resolve, if resolving unsuccessful, User is then pointed out " to re-enter service request ";If successfully resolved, then enter step (5), and information is deposited Storage, to service information data storehouse, arrives the credit situation of credit record this user of data base querying simultaneously;
(5) Service Matching: needed for system is according to scheduling in the information of successfully resolved to system service resource pool Service, carries out service binding;
(6), service execution: after service binding success, performing service request, if performing failure, then producing clothes Business dynamic restructuring event, and adjust credit record, again carry out Service Matching;If running succeeded, then enter step Suddenly (7);
(7), service result is returned: return after service execution success and perform result, and after result is combined Return user to confirm;
(8) user confirms: the result that system is returned by user confirms, will update information on services after confirmation Data base and credit record data base, the se ce request procedure of user completes.
The operation workflow of the service agent module for ISP that the present invention relates to is as follows:
(1), prepare: ISP prepares service registry after the information package encapsulation required for service registry;
(2), identity judges: judge that whether this ISP is the member of this system, if not member, then Need registration and the information of this ISP is stored Service provider information data base, in case next time logs in Shi Jinhang information comparison;If member, then carry out register;
(3), log in: ISP inputs after username and password system automatically and the information of information database Compare, if comparison success, then submit service registration request to;If input code error, then service is needed to carry Donor logs in again;If display user name does not exists, then need service provider registers;
(4), submit service registration request to: after ISP logins successfully, submit to according to operation pages prompting Registration request, system arrives the credit situation of credit record this ISP of data base querying automatically;
(5), analysis service describes information: the service registration request that ISP is submitted to by system is described Information analysis, carries out service registry after successfully resolved;Otherwise, returning step (4), ISP revises clothes Business registration request also resubmits;
(6) service registry: successfully resolved is followed by being asked by service, and registers service;
(7), system service resource pool: when after service registry success, services migrating to system service resource pool In, convenient service is dispatched, and ISP's issuing service performs flow process and terminates.
The present invention compared with prior art, makes up the defect of service-oriented computing prior art, and its method is easy, Principle is reliable, when network environment and user's request occurrence dynamics change, strengthens the adaptive of oriented systems Should be able to power, improve the reliability of system and safety;Make service network according to user's request and the dynamic change of environment Change the application that dynamic restructuring is set up, it is ensured that the quality of service.
Accompanying drawing illustrates:
Fig. 1 is that the Services Composition dynamic restructuring that the present invention relates to runs workflow schematic block diagram.
Fig. 2 is the service combination dynamic reconstruction system agent structure schematic block diagram that the present invention relates to.
Fig. 3 is the dynamic restructuring service module internal structure schematic block diagram that the present invention relates to.
Fig. 4 is that the serviced component that the present invention relates to adds schematic process flow diagram.
Fig. 5 is that the serviced component that the present invention relates to withdraws schematic process flow diagram.
Fig. 6 is that the serviced component that the present invention relates to replaces schematic process flow diagram.
Fig. 7 is that the service agent module that the present invention relates to runs workflow structure schematic block diagram.
Fig. 8 is the system structure schematic block diagram of the embodiment of the present invention.
Fig. 9 is the system actor interactive structure schematic block diagram of the embodiment of the present invention.
Detailed description of the invention:
Below by embodiment and combine accompanying drawing and be described further.
Dynamic in network service dynamic reconfiguration system of the service combination dynamic reconstruction method that the present embodiment relates to Reconstruct service module realizes, and dynamic restructuring service module includes user's request management module, serviced component request pipe Reason module, reconstruct event analyser, dynamic restructuring controller and network application configuration module five part composition, weight Structure event refers to the situation that the needs of network users and network environment occurrence dynamics that provide with use service change, its The step of Services Composition dynamic restructuring is as follows:
(1), dynamic restructuring event is received: what the reception of user's request management module and storage user sent dynamically please Asking, serviced component request management module receives and the event request of storage serviced component, and moving user respectively The event request of state request and ISP is sent to reconstruct event analyser;
(2), reconstruct event is analyzed: the user's request received is analyzed by reconstruct event analyser, it is judged that Whether it is reconstruct event, if reconstruct event is then submitted to dynamic restructuring controller and initiated reconstructed operation;If not Reconstruct event does not the most initiate reconstructed operation, application service combination will be maintained the most constant, continue executing with appointing of user Business;
(3) dynamic restructuring operation, is performed: reconstructed operation enters step (4) after performing according to reconfiguration rule;
(4), Query Information agent list: according to the reconstruct event information analyzed, change the service group needed for reconstruct Part, carries out information service table inquiring about serviced component;
(5) application configuration, is readjusted: readjust application configuration shape according to the service component information inquired The application structure of Cheng Xin;
(6), call the serviced component readjusted and implement to run in addition system, or application service assembly removes From system, or carry out serviced component replacement, continue executing with user task, it is achieved Services Composition dynamic restructuring.
User's request that the reconstruct event analyser that the present embodiment relates to receives has two types: one is to use net The client of network service, this reconfiguration request carries out degree of depth tune to the Logical Configuration of application in network service configuration module Whole, i.e. the serviced component in Services Composition is re-started portfolio restructuring, its semantic description is:
NetApp((AR1,AR2,AR3.....)((AR1,AR2)(AR1,AR3).......))→NetdApp((ARa,ARb, ARc.....)((ARa,ARb)(ARb,ARc).......));Another kind is the ISP of network application, and network should The RECONFIGURATION REQUEST that sends of ISP be that the configuration to web services component is adjusted, physical set State is the upstate of the serviced component of actual distribution, and reconstructed operation includes the addition of serviced component, withdraws and replace Changing, its reconstruct semantic description is: NetApp ((AR1,AR2,AR3.....)((AR1,AR2)(AR1,AR3).......)) →NetApp((AR1,AR2’,AR3.....)((AR1,AR2’)(AR1,AR3).......))。
The detailed process that the serviced component that the present embodiment relates to adds is: user, after submission task, sends again When new service is asked, system enters service register center lookup and performs to be somebody's turn to do after obtaining the COS that needs add The assembly of service;Judging whether current task completes again, if not completing, system is at network application configuration mould Service request is sent again after block increases the information needed having needed this service to ask;Otherwise, system weight Newly-generated single network application configuration module, sends service request again;Serviced component in dynamic restructuring Add execution flow process to terminate.
The detailed process that the serviced component that the present embodiment relates to is withdrawn is: when user sends and cancels task requests, System obtain need the COS cancelled laggard enter network set of applications state module searches perform this serviced component, and State according to serviced component, it is judged that whether service completes, if service does not completes, system-kill network application group Send after morphotype block performs all information of this task and cancel service request;Otherwise system queries obtain service Result and the information of ISP, according to the information of the ISP inquired, send asking of the service of cancelling Asking, after ISP accepts, the related data information of amendment data base, the serviced component in dynamic restructuring is removed Terminate from performing flow process.
The detailed process that the serviced component that the present embodiment relates to is replaced is: when needing to replace serviced component, system is looked into Ask network application configuration module and obtain the type of required service, search the service group with type further according to Query Result Part, re-emits clothes after the same type serviced component found is placed into the position that network application configuration module is corresponding Business request, the serviced component in dynamic restructuring is replaced execution flow process and is terminated.
The service combination dynamic reconstruction system that the present embodiment relates to is for the network application to Service-Oriented Architecture Based Disposing, run and monitoring is managed, the main body of its system includes network service portal module, service broker's mould Block, dynamic restructuring service module, safety and Service Quality Management module, network service resource module and information clothes Business six funtion parts of module;Network service portal module provides unified interactive interface, user for the network user By IE browser or the system interface of other browser logging in network services portal module, by this system circle Face selects the various network applications that service agent module provides, and user arranges the concrete of mission requirements when submitting task to Parameter, the mission requirements of submission use extensible markup language to describe, and system is assisted automatically by simple object access The execution result of service agent module is returned to by view transmission task to service agent module, network service portal module User;Service agent module accepts user asks and analyzes the user task using extensible markup language to describe, According to user, the description of service request and COS is inquired about and called after corresponding network service performs and will hold Row result sends the network user to by network service portal module;The process of application is performed in service agent module In, if user and network environment occur random change, then reconstruct event will activate dynamic restructuring service module; Dynamic restructuring service module includes that user's request management module, serviced component request management module, reconstruct event are divided Parser, dynamic restructuring controller and network application configuration module;Wherein, user's request management module receives and deposits The dynamic requests of storage user, serviced component request management module receives and the event request of storage serviced component, weight Structure event analyser analyzes user's request management module or the task kimonos of serviced component request management module submission Business request;Dynamic restructuring controller is submitted to according to user's request management module or serviced component request management module Task and service requesting query information service module also carry out the reconstructed operation of network application;Network application configuration mould Block represents the presence of a web services component being carrying out, and this presence includes Logical Configuration and thing Reason configuration two parts, configuration therein represents the configuration shape of active service assembly in network offering services combination Condition, Logical Configuration represents that user submits the logic requirement state of task to;In application running, dynamic restructuring Service module controls the change of network set of applications morphotype block and operates real according to the configuration of network application configuration module Now apply the reconstruct of configuration, when needs reconstruct service, dynamic restructuring service module appointing according to the submission of user Business, generates service group by the service register center in Query Information service module in network application configuration module The application configuration closed, uses network application configuration module that application configuration is monitored management, and according to dynamically weight The dynamic restructuring operation that structure rule treatments network change at random causes;Information service module include service routing table and Service register center, service routing table is a uniform service routing table to distributed information of network service, Quick search Network Services Center is provided, preserves the information of network service of network application acquiescence;Service register center Complete the inquiry of service in network application environment, register and revise;Safety controls with Service Quality Management module With management service agent module secure access, and to service register center service availability carry out real-time tracking And record, according to the credit record of service, network service level is ranked up, before high-quality service comes, Service that can choose in time when reconstruct service, that meet requirement, improves service execution efficiency and success Rate;The service that network service resource module is provided by the network web resource server being distributed in different geographical Resource forms, it is provided that the real resource of service.
The running environment of the service combination dynamic reconstruction system that the present embodiment relates to includes client, proxy server End and network resource server end three part, client operational network service door system, it is responsible for showing service circle Face, updates service interface at any time, accepts the request of user, and is accessed be distributed on network numerous by network The available service provided by network resource server end, meet the various requirement of user;Client includes user Registration submodule, information on services display sub-module, user log in submodule and user's services selection submodule;With Family registration submodule completes user's registration, information on services display sub-module display information on services and certain customers Information;User log in submodule verification ID, login password and complete user log into registration user face Plate;User's services selection submodule is used for filling in user's request, clicks on and submits to button to complete;Proxy server end Operation service proxy module, is responsible for processing user's request, has service registry management, service discovery, prestige pipe Reason, dynamic restructuring, service dispatch and result treatment function;The task of proxy server end submits to submodule to obtain Submitting user's request to and complete task, the task analyzing sub-module in proxy server end resolves according to service logic User's request and service parameter, the Service Matching submodule in proxy server end is that the service that can independently dispatch please Ask coupling suitably service;Service binding implementation sub-module in proxy server end or referred to as task scheduling submodule Tuber carries out service binding, task deployment and service execution according to service relation;Dynamic weight in proxy server end Structure submodule monitoring service operation situation, it is provided that component-level dynamic restructuring;Result solution in proxy server end Analysis/combination submodule is according to service logic composite services result;Credit record in proxy server end adjusts son The credit record of main body in module capture credit event adjustment system;Job enquiry submodule in proxy server end Block facilitates user's query task state, service result and bill;Task management submodule in proxy server end Task in management system, accept the task amendment request of system and user;Bill pipe in proxy server end The bill generated in reason submodule management system and the cancellation of bill, payment and reimbursement process;Proxy server Service is added resource service pond according to service registration request and credit record by the service registry submodule in end;Net Network Resource Server end provides network service, is the set of the Service Source of whole system;Network resource server Attendant sub-module in end provides the main body of service, and submodule of transferring accounts accepts agency's request of paying a bill.
The operation workflow of the service agent module for user that the present embodiment relates to is as follows:
(1), identity judges: first judges whether user is member, if not member, then needs registration and using Family information stores User Information Database, in case carrying out information comparison when next time logs in;If member, then enter Row register;
(2), log in: after user inputs username and password, the automatic information with User Information Database of system is entered OK, if comparison success, then user logins successfully;If the code error of input, then need again to log in;If it is aobvious Show that user name does not exists, then need registration;
(3), demand for services is inputted: after user logins successfully, according to operation pages prompting input demand for services, And submit demand for services to;
(4), analysis service demand: system of users submit to demand for services resolve, if resolving unsuccessful, User is then pointed out " to re-enter service request ";If successfully resolved, then enter step (5), and information is deposited Storage, to service information data storehouse, arrives the credit situation of credit record this user of data base querying simultaneously;
(5) Service Matching: needed for system is according to scheduling in the information of successfully resolved to system service resource pool Service, carries out service binding;
(6), service execution: after service binding success, performing service request, if performing failure, then producing clothes Business dynamic restructuring event, and adjust credit record, again carry out Service Matching;If running succeeded, then enter step Suddenly (7);
(7), service result is returned: return after service execution success and perform result, and after result is combined Return user to confirm;
(8) user confirms: the result that system is returned by user confirms, will update information on services after confirmation Data base and credit record data base, the se ce request procedure of user completes.
The operation workflow of the service agent module for ISP that the present embodiment relates to is as follows:
(1), prepare: ISP prepares service registry after the information package encapsulation required for service registry;
(2), identity judges: judge that whether this ISP is the member of this system, if not member, then Need registration and the information of this ISP is stored Service provider information data base, in case next time logs in Shi Jinhang information comparison;If member, then carry out register;
(3), log in: ISP inputs after username and password system automatically and the information of information database Compare, if comparison success, then submit service registration request to;If input code error, then service is needed to carry Donor logs in again;If display user name does not exists, then need service provider registers;
(4), submit service registration request to: after ISP logins successfully, submit to according to operation pages prompting Registration request, system arrives the credit situation of credit record this ISP of data base querying automatically;
(5), analysis service describes information: the service registration request that ISP is submitted to by system is described Information analysis, carries out service registry after successfully resolved;Otherwise, returning step (4), ISP revises clothes Business registration request also resubmits;
(6) service registry: successfully resolved is followed by being asked by service, and registers service;
(7), system service resource pool: when after service registry success, services migrating to system service resource pool In, convenient service is dispatched, and ISP's issuing service performs flow process and terminates.
Embodiment:
Various ticket-booking service devices that the system running environment of the present embodiment includes being distributed on network, Unify legislation, Find and integrated service register center, service agent module and client;Mutual role when system is run includes User, e-bank, service broker's platform and ISP;The ticket-booking service device being distributed on network can Carry out train ticket, hotel and the reservation of sight spot admission ticket;The clothes that these Web services are provided by service broker's platform Business resource carries out homogeneous classification, describes and manage, when client logs in this service broker's platform by IE browser, And when sending predetermined air ticket, hotel guest room and the request of one, sight spot admission ticket, the process step of service broker system is such as Under: system receives the service request that user submits to the SOAP bag resolving generation, obtains information on services and user Information, user profile includes user identity card number and account No., and information on services includes service content and Service Quality Amount information, on the premise of the account No. that checking user is legal, inputs generation Services Composition work according to user Stream, carries out service execution;Concrete interaction is: first submitted to service by client user to service agent module Request, service agent module accepts user's request, i.e. calls required service to ISP, and performing Service result return to the user of client, user prepares to pay;User logs in electronic silver by service broker Row system, the correctness of checking user account;Finally by e-bank, pay expense to ISP, Interaction terminates;If system performs user task, certain serviced component called is due to the network facilities etc. When reason is unavailable, service broker automatically inquires about same type of serviced component and carries out the service group that dynamic restructuring is new Close, without interrupting the execution of user task, return until the service request completing user's submission will perform result To the user of client, thus ensure the service quality of network service.

Claims (9)

1. a service combination dynamic reconstruction method, it is characterised in that in network service dynamic reconfiguration system Dynamic restructuring service module realizes, and dynamic restructuring service module includes that user's request management module, serviced component please Ask management module, reconstruct event analyser, dynamic restructuring controller and network application configuration module five part composition, Reconstruct event refers to the situation that the needs of network users and network environment occurrence dynamics that provide with use service change, The step of its Services Composition dynamic restructuring is as follows:
(1), dynamic restructuring event is received: what the reception of user's request management module and storage user sent dynamically please Asking, serviced component request management module receives and the event request of storage serviced component, and moving user respectively The event request of state request and ISP is sent to reconstruct event analyser;
(2), reconstruct event is analyzed: the user's request received is analyzed by reconstruct event analyser, it is judged that Whether it is reconstruct event, if reconstruct event is then submitted to dynamic restructuring controller and initiated reconstructed operation;If not Reconstruct event does not the most initiate reconstructed operation, application service combination will be maintained the most constant, continue executing with appointing of user Business;
(3) dynamic restructuring operation, is performed: reconstructed operation enters step (4) after performing according to reconfiguration rule;
(4), Query Information agent list: according to the reconstruct event information analyzed, change the service group needed for reconstruct Part, carries out information service table inquiring about serviced component;
(5) application configuration, is readjusted: readjust application configuration shape according to the service component information inquired The application structure of Cheng Xin;
(6), call the serviced component readjusted and implement to run in addition system, or application service assembly removes From system, or carry out serviced component replacement, continue executing with user task, it is achieved Services Composition dynamic restructuring.
Service combination dynamic reconstruction method the most according to claim 1, it is characterised in that the reconstruct related to User's request that event analyser receives has a two types: a kind of client being to use network service, this reconstruct Require the Logical Configuration of application in network service configuration module is carried out degree of depth adjustment, i.e. to the clothes in Services Composition Business assembly re-starts portfolio restructuring, and its semantic description is:
NetApp((AR1,AR2,AR3…..)((AR1,AR2)(AR1,AR3).......))→NetdApp((ARa,ARb, ARc…..)((ARa,ARb)(ARb,ARc).......));Another kind is the ISP of network application, and network should The RECONFIGURATION REQUEST that sends of ISP be that the configuration to web services component is adjusted, physical set State is the upstate of the serviced component of actual distribution, and reconstructed operation includes the addition of serviced component, withdraws and replace Changing, its reconstruct semantic description is: NetApp ((AR1,AR2,AR3…..)((AR1,AR2)(AR1,AR3).......)) →NetApp((AR1,AR2’,AR3…..)((AR1,AR2’)(AR1,AR3).......))。
Service combination dynamic reconstruction method the most according to claim 1, it is characterised in that the service related to The detailed process that assembly adds is: user is after submission task, and when sending again new service request, system obtains Enter service register center after taking the COS needing to add and search the assembly performing this service;Judge current again Task whether complete, if not completing, system increases in network application configuration module has needed this service Service request is sent again after the information needed of request;Otherwise, system regenerates single network application group Morphotype block, sends service request again;Serviced component in dynamic restructuring adds execution flow process to be terminated.
Service combination dynamic reconstruction method the most according to claim 1, it is characterised in that the service related to The detailed process that assembly is withdrawn is: when user sends and cancels task requests, and system obtains the service needing to cancel Type laggard enter network set of applications state module searches perform this serviced component, and according to the state of serviced component, Whether the service of judging completes, if service does not completes, performs this task in system-kill network application configuration module Send after all information and cancel service request;Otherwise system queries obtain the letter of service result and ISP Breath, according to the information of the ISP inquired, sends the request of the service of cancelling, after ISP accepts, The related data information of amendment data base, the serviced component in dynamic restructuring is withdrawn execution flow process and is terminated.
Service combination dynamic reconstruction method the most according to claim 1, it is characterised in that the service related to The detailed process that assembly is replaced is: when needing to replace serviced component, and system queries network application configuration module obtains The type of required service, searches the serviced component with type, the same type of service that will find further according to Query Result Assembly re-emits service request, the clothes in dynamic restructuring after being placed into the position that network application configuration module is corresponding Business assembly is replaced execution flow process and is terminated.
Service combination dynamic reconstruction method the most according to claim 1, it is characterised in that the service related to Combination dynamic reconfiguration system support to the deployment of the network application of Service-Oriented Architecture Based, run and monitoring is managed Reason, the main body of its system include network service portal module, service agent module, dynamic restructuring service module, Safety and Service Quality Management module, network service resource module and six funtion parts of information service module;Net Network services portal module provides unified interactive interface for the network user, and user is by IE browser or other are clear Look at the system interface of device logging in network services portal module, select service agent module to provide by this system interface Various network applications, user arranges the design parameter of mission requirements when submitting task to, the mission requirements of submission make Describing with extensible markup language, system sends task to service broker's mould automatically by Simple Object Access Protocol Block, the execution result of service agent module is returned to user by network service portal module;Service agent module accepts User asks and analyzes the user task using extensible markup language to describe, according to user to service request kimonos Corresponding network service is inquired about and is called in the description of service type, will perform result by network service door after execution Module sends the network user to;During service agent module performs application, if user and network environment Random change occurs, then reconstruct event will activate dynamic restructuring service module;Dynamic restructuring service module includes using Family request management module, serviced component request management module, reconstruct event analyser, dynamic restructuring controller and Network application configuration module;Wherein, user's request management module receives and the dynamic requests of storage user, service Assembly request management module receives and the event request of storage serviced component, and reconstruct event analyser analyzes user please Task of asking management module or serviced component request management module to submit to is asked with service;Dynamic restructuring controller root Submitting to according to user's request management module or serviced component request management module of task and service requesting query information Service module also carries out the reconstructed operation of network application;Network application configuration module represents a net being carrying out The presence of network serviced component, this presence includes Logical Configuration and configuration two parts, thing therein Reason configuration represents the configuration state of active service assembly in network offering services combination, and Logical Configuration represents that user carries The logic requirement state of friendship task;In application running, dynamic restructuring service module controls network set of applications The change of morphotype block the reconstruct of the configuration operation realization application configuration according to network application configuration module, work as needs During reconstruct service, dynamic restructuring service module is according to the task of the submission of user, by Query Information service module In service register center in network application configuration module, generate the application configuration of Services Composition, use the network should By configuration module, application configuration is monitored management, and draws according to dynamic restructuring rule treatments network change at random The dynamic restructuring operation sent out;Information service module includes service routing table and service register center, service routing table It is a uniform service routing table to distributed information of network service, it is provided that in quick search network service The heart, preserves the information of network service of network application acquiescence;Service register center completes to take in network application environment Business inquiry, register and revise;Safety and Service Quality Management module control and the peace of management service agent module Full access, and the availability of service register center service is carried out real-time tracking record, according to the credit of service Network service level is ranked up by record, before high-quality service comes, and can be timely when reconstruct service The service required that choose, satisfied, improves service execution efficiency and success rate;Network service resource module The Service Source provided by the network web resource server being distributed in different geographical forms, it is provided that service Real resource.
Service combination dynamic reconstruction method the most according to claim 1, it is characterised in that the service related to The running environment of combination dynamic reconfiguration system includes client, proxy server end and network resource server end three Part, client operational network service door system, it is responsible for showing service interface, updates service interface at any time, Accept the request of user, and accessed numerous being proposed by network resource server end being distributed on network by network The available service of confession, meets the various requirement of user;Client includes that user registers submodule, information on services shows Show that submodule, user log in submodule and user's services selection submodule;User registers submodule and completes user's note Volume, information on services display sub-module display information on services and the information of certain customers;User logs in submodule core To ID, login password with complete user and log into registration Users panel;User's services selection submodule For filling in user's request, click on and submit to button to complete;Proxy server end operation service proxy module, is responsible for Process user's request, there is service registry management, service discovery, Prestige Management, dynamic restructuring, service dispatch With result treatment function;The task of proxy server end submits to submodule obtain and submit to user's request and complete to appoint Business, the task analyzing sub-module in proxy server end resolves user's request and service parameter according to service logic, Service Matching submodule in proxy server end is the service request coupling suitably service that can independently dispatch;Generation Service binding implementation sub-module or referred to as task scheduling submodule in reason server end are carried out according to service relation Service binding, task deployment and service execution;Dynamic restructuring submodule monitoring service fortune in proxy server end Market condition, it is provided that component-level dynamic restructuring;Result in proxy server end resolve/combine submodule according to Service logic composite services result;Credit record in proxy server end adjusts submodule capture credit event and adjusts The credit record of main body in whole system;Job enquiry submodule in proxy server end facilitates user's query task State, service result and bill;The task in task management submodule management system in proxy server end, Accept the task amendment request of system and user;In bill management submodule management system in proxy server end The bill generated and the cancellation of bill, payment and reimbursement process;Service registry submodule in proxy server end Service is added resource service pond according to service registration request and credit record by tuber;Network resource server end provides Network service, is the set of the Service Source of whole system;Attendant sub-module in network resource server end carries For the main body of service, and submodule of transferring accounts accepts agency's request of paying a bill.
8. according to the service combination dynamic reconstruction method described in claim 6 or 7, it is characterised in that relate to Service agent module is as follows for the operation workflow of user:
(1), identity judges: first judges whether user is member, if not member, then needs registration and using Family information stores User Information Database, in case carrying out information comparison when next time logs in;If member, then enter Row register;
(2), log in: after user inputs username and password, the automatic information with User Information Database of system is entered Row comparison, if comparison success, then user logins successfully;If the code error of input, then need again to log in; If display user name does not exists, then need registration;
(3), demand for services is inputted: after user logins successfully, according to operation pages prompting input demand for services, And submit demand for services to;
(4), analysis service demand: system of users submit to demand for services resolve, if resolving unsuccessful, User is then pointed out " to re-enter service request ";If successfully resolved, then enter step (5), and information is deposited Storage, to service information data storehouse, arrives the credit situation of credit record this user of data base querying simultaneously;
(5) Service Matching: needed for system is according to scheduling in the information of successfully resolved to system service resource pool Service, carries out service binding;
(6), service execution: after service binding success, performing service request, if performing failure, then producing clothes Business dynamic restructuring event, and adjust credit record, again carry out Service Matching;If running succeeded, then enter step Suddenly (7);
(7), service result is returned: return after service execution success and perform result, and after result is combined Return user to confirm;
(8) user confirms: the result that system is returned by user confirms, will update information on services after confirmation Data base and credit record data base, the se ce request procedure of user completes.
9. according to the service combination dynamic reconstruction method described in claim 6 or 7, it is characterised in that relate to Service agent module is as follows for the operation workflow of ISP:
(1), prepare: ISP prepares service registry after the information package encapsulation required for service registry;
(2), identity judges: judge that whether this ISP is the member of this system, if not member, then Need registration and the information of this ISP is stored Service provider information data base, in case next time logs in Shi Jinhang information comparison;If member, then carry out register;
(3), log in: ISP inputs after username and password system automatically and the information of information database Compare, if comparison success, then submit service registration request to;If input code error, then service is needed to carry Donor logs in again;If display user name does not exists, then need service provider registers;
(4), submit service registration request to: after ISP logins successfully, submit to according to operation pages prompting Registration request, system arrives the credit situation of credit record this ISP of data base querying automatically;
(5), analysis service describes information: the service registration request that ISP is submitted to by system is described Information analysis, carries out service registry after successfully resolved;Otherwise, returning step (4), ISP revises clothes Business registration request also resubmits;
(6) service registry: successfully resolved is followed by being asked by service, and registers service;
(7), system service resource pool: when after service registry success, services migrating to system service resource pool In, convenient service is dispatched, and ISP's issuing service performs flow process and terminates.
CN201310352564.7A 2013-08-14 2013-08-14 A kind of service combination dynamic reconstruction method Expired - Fee Related CN103401945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310352564.7A CN103401945B (en) 2013-08-14 2013-08-14 A kind of service combination dynamic reconstruction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310352564.7A CN103401945B (en) 2013-08-14 2013-08-14 A kind of service combination dynamic reconstruction method

Publications (2)

Publication Number Publication Date
CN103401945A CN103401945A (en) 2013-11-20
CN103401945B true CN103401945B (en) 2016-08-10

Family

ID=49565468

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310352564.7A Expired - Fee Related CN103401945B (en) 2013-08-14 2013-08-14 A kind of service combination dynamic reconstruction method

Country Status (1)

Country Link
CN (1) CN103401945B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063442A (en) * 2014-06-13 2014-09-24 中国科学院计算技术研究所 Service processing method and system of information center network
CN104618477B (en) * 2015-01-29 2018-01-16 中国航空无线电电子研究所 A kind of new aviation self-organizing contract network framework towards " service "
CN105427146A (en) * 2015-10-10 2016-03-23 邹晓鸥 On-line delegation service matching system and method with balanced delegation service resources
CN109361719B (en) * 2016-12-13 2021-03-09 上海仪电(集团)有限公司中央研究院 Micro-service-based automatic integration method for SaaS application of operating system
CN109040152B (en) * 2017-06-08 2022-05-31 创新先进技术有限公司 Service request and providing method and device based on service arrangement and electronic equipment
CN108681580B (en) * 2018-05-11 2019-06-28 郑州轻工业学院 A kind of Services Composition recommended method based on link prediction
CN112765365A (en) * 2020-09-01 2021-05-07 张富平 Big data processing method and system based on block chain offline payment and pushing platform
CN114168573A (en) * 2020-09-10 2022-03-11 广东电网有限责任公司东莞供电局 Data quality governance technology based on programmable assembly
CN112434917B (en) * 2020-11-09 2023-06-27 西安交通大学 Service-oriented twin manufacturing workshop system reconstruction method
CN112887149B (en) * 2021-01-29 2023-06-23 中汽创智科技有限公司 Service visual management system and management method thereof
CN113821750B (en) * 2021-11-23 2022-03-04 北京交研智慧科技有限公司 Page data processing method and system, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101103612A (en) * 2005-02-23 2008-01-09 国际商业机器公司 Dynamic extensible lightweight access to web services for pervasive devices
CN101676855A (en) * 2008-09-11 2010-03-24 美国日本电气实验室公司 Scalable secondary storage systems and methods
CN102158498A (en) * 2011-05-26 2011-08-17 东南大学 Implementation method for network node structure supporting service customization and expansion

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101103612A (en) * 2005-02-23 2008-01-09 国际商业机器公司 Dynamic extensible lightweight access to web services for pervasive devices
CN101676855A (en) * 2008-09-11 2010-03-24 美国日本电气实验室公司 Scalable secondary storage systems and methods
CN102158498A (en) * 2011-05-26 2011-08-17 东南大学 Implementation method for network node structure supporting service customization and expansion

Also Published As

Publication number Publication date
CN103401945A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
CN103401945B (en) A kind of service combination dynamic reconstruction method
CN103401944B (en) A kind of service combination dynamic reconstruction system
US7957999B2 (en) Electronic acquisition system and method
US11182746B2 (en) Systems and methods for integrating third-party services with a client instance
US8606644B1 (en) Order queue management in event ticket network systems
EP3306473B1 (en) Cloud federation as a service
Li et al. Business processes oriented heterogeneous systems integration platform for networked enterprises
US20040133460A1 (en) Electronic acquisition system and method using a portal to facilitate data validation and to provide a universal client interface
US20160205202A1 (en) Service broker for computational offloading and improved resource utilization
AU2018298059A1 (en) Data reconciliation based on computer analysis of data
CN106575305A (en) Services within reverse proxy servers
CN110069380A (en) A kind of evolution of Web distributed software and monitoring method based on micro services
CN107643927A (en) A kind of united portal method, apparatus and system
Souri et al. Formal modeling and verification of a service composition approach in the social customer relationship management system
WO2012082726A2 (en) Hybrid cloud broker
US10997559B1 (en) Resource management system
US20190387063A1 (en) Dynamic generation of network routing configuration with service requirements
CN108415710A (en) The method and system of API is issued, called in Intelligent dialogue development platform
Paul et al. A Framework for e-government interoperability in Indian perspective
Lau et al. Designing fault tolerant web services using bpel
Chou et al. Telecommunication e‐services orchestration enabling business process management
Belhajjame et al. Defining and coordinating open-services using workflows
Rak Performance analysis of cluster-based web system using the QPN models
Zhang et al. Service-oriented enterprise interoperability in automobile supply chain management
Aggarwal et al. Migration aspects from monolith to distributed systems using software code build and deployment time and latency perspective

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160810

CF01 Termination of patent right due to non-payment of annual fee