CN103544060A - WEBSERVICE based service dispatching system and method - Google Patents
WEBSERVICE based service dispatching system and method Download PDFInfo
- Publication number
- CN103544060A CN103544060A CN201310511424.XA CN201310511424A CN103544060A CN 103544060 A CN103544060 A CN 103544060A CN 201310511424 A CN201310511424 A CN 201310511424A CN 103544060 A CN103544060 A CN 103544060A
- Authority
- CN
- China
- Prior art keywords
- service
- task
- webservice
- scheduling
- dispatching
- 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.)
- Granted
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a WEBSERVICE based service dispatching system which is mainly composed of a service address registering module, a service registering module, a dispatching-task registering module, a task dispatching engine and a task log management module. The invention further discloses a service dispatching method based on the service dispatching system. By the WEBSERVICE based service dispatching system, all services registered in the WEBSERVICE based service dispatching system can be managed and dispatched and generated into logs in the form of files or databases in each stage, convenience is brought to real-time inquiry, and functions of capturing, diagnosing, repairing and re-executing of service exceptions are achieved. Through simple configuration registering, most of service dispatching management requirements can be met, the amount of system interface development codes can be decreased, and development efficiency can be improved; when in use of the system, since the services are injected through configuration, business processing and service dispatching are enabled to be in low coupling, and late transplantation and maintenance are facilitated.
Description
Technical field
The present invention relates to electric power software systems interface field, relate in particular to a kind of service dispatch system and method based on WEBSERVICE.
Background technology
At present, WEBSERVICE is SOA(Service-Oriented Architecture) a kind of good implementation, WEBSERVICE adopts HTTP as host-host protocol, SOAP(Simple Object Access Protocol) as the form of message transfer.A common WEBSERVICE service can provide a plurality of methods for other system request call, conventionally also can ask a plurality of methods of a plurality of services in a system.But too much schedule information needs good management distribution method and a log management.
Summary of the invention
The object of the present invention is to provide a kind of service dispatch system and method based on WEBSERVICE, can dispatch and manage each service, form online dispatching log.
The technical solution adopted for the present invention to solve the technical problems is:
A service dispatch system of WEBSERVICE, comprises following functions module:
Address of service Registering modules, is mainly that the WEBSERVICE information on services that needs are called is described, and comprises that address of service WSDL (Web Services Description Language) describes;
Service registry module is mainly the program information registration relevant to business processing;
Scheduler task Registering modules, is mainly the schedule information registration to task, in the mode of task-set, manages;
Task scheduling engine, mainly to carry out corresponding task by polling dispatching plan, qualified scheduler task is resolved, take out its task-set, service in pair set is resolved one by one, by log-on message, call address of service method, the data of returning are given service calling method again and are carried out dissection process;
Task log management module, for each service produces independently dispatching log.
Further, the relevant program information of business processing that described service registry module is registered comprises whether service name, service describing, service call class, service calling method title, service calling method parameter type, service calling method return type, service enable, whether service processing data store.
The schedule information of the task that further, described scheduler task Registering modules is registered comprises whether scheduler task title, scheduler task description, scheduling polling cycle, task execution time, task enable, the task parameters time.
Further, the content of described dispatching log comprises plan execution time, actual execution time, end time, task place node, current task node execution information, task abnormity capturing information, the task abnormity code position of task.
A service scheduling method based on WEBSERVICE, comprises the following steps:
101) start, WEBSERVICE information on services needs being called by address of service Registering modules is described;
102) by service registry module, the relevant program information of the business processing of the service of calling is registered;
103) by scheduler task, register the schedule information of calling task is registered;
104) by task scheduling engine, scheduler task is resolved, take out its task-set, the service in pair set is resolved one by one, by log-on message, calls address of service method, and the data of returning are given service calling method again and carried out dissection process;
105) call service;
106) judge that whether the service of calling is successful, dispatch and unsuccessfully enter step 107, dispatch and successfully enter step 108;
107) produce the daily record that scheduling is failed, and return to step 104;
108) produce the successful daily record of scheduling, finish current task scheduling.
The invention has the beneficial effects as follows:
The all services that are registered on it can be managed and be dispatched to service dispatch system based on WEBSERVICE of the present invention, and in the mode of file or database, generate daily record in each stage, facilitate real-time query, possess the function of extremely catching diagnosis, repair and re-executing serving simultaneously.This system, by simple configuration registry, can meet most service dispatch regulatory requirement, can reduce system interface exploitation code amount, improves development efficiency; Powerful journal function is provided simultaneously, is convenient to service interface management and task scheduling and follows the tracks of.While using this system, because service is to inject by configuration, make low coupling between business processing and service dispatch, be convenient to later stage transplanting and safeguard.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the present invention is further described.
Fig. 1 is service dispatch system module block diagram of the present invention;
Fig. 2 is the FB(flow block) of service scheduling method of the present invention.
Embodiment
With reference to Fig. 1, a kind of service dispatch system based on WEBSERVICE provided by the invention, is mainly comprised of address of service Registering modules 1, service registry module 2, scheduler task Registering modules 3, task scheduling engine 4 and task log management module 5.
Address of service Registering modules 1 is mainly that the WEBSERVICE information on services that needs are called is described, and comprises that address of service WSDL (Web Services Description Language) describes.
Scheduler task Registering modules 3 is mainly the schedule information registration to task, in the mode of task-set, manages.Described schedule information comprises whether scheduler task title, scheduler task description, scheduling polling cycle, task execution time, task enable, the task parameters time.
Task log management module 5 runs through the whole process of task scheduling, it produces independently dispatching log for each service, comprises that plan execution time, actual execution time, end time, task place node, the current task node of task carried out information, task abnormity capturing information, task abnormity code position.
With reference to Fig. 2, a kind of service scheduling method based on WEBSERVICE, comprises the following steps:
101) start, WEBSERVICE information on services needs being called by address of service Registering modules is described;
102) by service registry module, the relevant program information of the business processing of the service of calling is registered;
103) by scheduler task, register the schedule information of calling task is registered;
104) by task scheduling engine, scheduler task is resolved, take out its task-set, the service in pair set is resolved one by one, by log-on message, calls address of service method, and the data of returning are given service calling method again and carried out dissection process;
105) call service;
106) judge that whether the service of calling is successful, dispatch and unsuccessfully enter step 107, dispatch and successfully enter step 108;
107) produce the daily record that scheduling is failed, and return to step 104;
108) produce the successful daily record of scheduling, finish current task scheduling.
The all services that are registered on it can be managed and be dispatched to service dispatch system based on WEBSERVICE of the present invention, and in the mode of file or database, generate daily record in each stage, facilitate real-time query, possess the function of extremely catching diagnosis, repair and re-executing serving simultaneously.This system, by simple configuration registry, can meet most service dispatch regulatory requirement, can reduce system interface exploitation code amount, improves development efficiency; Powerful journal function is provided simultaneously, is convenient to service interface management and task scheduling and follows the tracks of.While using this system, because service is to inject by configuration, make low coupling between business processing and service dispatch, be convenient to later stage transplanting and safeguard.
The foregoing is only preferential embodiment of the present invention, as long as within the technical scheme that realizes the object of the invention with basic identical means all belongs to protection scope of the present invention.
Claims (5)
1. the service dispatch system based on WEBSERVICE, is characterized in that, comprises following functions module:
Address of service Registering modules, is mainly that the WEBSERVICE information on services that needs are called is described, and comprises that address of service WSDL (Web Services Description Language) describes;
Service registry module is mainly the program information registration relevant to business processing;
Scheduler task Registering modules, is mainly the schedule information registration to task, in the mode of task-set, manages;
Task scheduling engine, mainly to carry out corresponding task by polling dispatching plan, qualified scheduler task is resolved, take out its task-set, service in pair set is resolved one by one, by log-on message, call address of service method, the data of returning are given service calling method again and are carried out dissection process;
Task log management module, for each service produces independently dispatching log.
2. a kind of service dispatch system based on WEBSERVICE according to claim 1, is characterized in that: the relevant program information of business processing that described service registry module is registered comprises whether service name, service describing, service call class, service calling method title, service calling method parameter type, service calling method return type, service enable, whether service processing data store.
3. a kind of service dispatch system based on WEBSERVICE according to claim 1, is characterized in that: the schedule information of the task that described scheduler task Registering modules is registered comprises whether scheduler task title, scheduler task description, scheduling polling cycle, task execution time, task enable, the task parameters time.
4. a kind of service dispatch system based on WEBSERVICE according to claim 1, is characterized in that: the content of described dispatching log comprises plan execution time, actual execution time, end time, task place node, current task node execution information, task abnormity capturing information, the task abnormity code position of task.
5. the service scheduling method based on the arbitrary described system of claim 1 to 4, is characterized in that, comprises the following steps:
101) start, WEBSERVICE information on services needs being called by address of service Registering modules is described;
102) by service registry module, the relevant program information of the business processing of the service of calling is registered;
103) by scheduler task, register the schedule information of calling task is registered;
104) by task scheduling engine, scheduler task is resolved, take out its task-set, the service in pair set is resolved one by one, by log-on message, calls address of service method, and the data of returning are given service calling method again and carried out dissection process;
105) call service;
106) judge that whether the service of calling is successful, dispatch and unsuccessfully enter step 107, dispatch and successfully enter step 108;
107) produce the daily record that scheduling is failed, and return to step 104;
108) produce the successful daily record of scheduling, finish current task scheduling.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310511424.XA CN103544060B (en) | 2013-10-25 | 2013-10-25 | A kind of service dispatch system and method based on WEBSERVICE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310511424.XA CN103544060B (en) | 2013-10-25 | 2013-10-25 | A kind of service dispatch system and method based on WEBSERVICE |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103544060A true CN103544060A (en) | 2014-01-29 |
CN103544060B CN103544060B (en) | 2016-06-22 |
Family
ID=49967535
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310511424.XA Active CN103544060B (en) | 2013-10-25 | 2013-10-25 | A kind of service dispatch system and method based on WEBSERVICE |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103544060B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063560A (en) * | 2014-07-08 | 2014-09-24 | 广东轩辕网络科技股份有限公司 | Dispatching system and method based on cloud computing platform |
CN107797800A (en) * | 2017-10-10 | 2018-03-13 | 平安科技(深圳)有限公司 | To data processing method, electronic installation and the medium of multiple associated services systems |
CN108172249A (en) * | 2017-12-22 | 2018-06-15 | 湖南国科微电子股份有限公司 | A kind of NAND Flash access operations method, apparatus and system |
CN108762949A (en) * | 2018-05-21 | 2018-11-06 | 招银云创(深圳)信息技术有限公司 | Centralized dispatching method, system, computer equipment and storage medium |
CN108874536A (en) * | 2018-05-24 | 2018-11-23 | 北京五八信息技术有限公司 | A kind of dispatching method of cloud service, device, cloud service actuator and storage medium |
CN111324426A (en) * | 2018-12-17 | 2020-06-23 | 中国移动通信集团山东有限公司 | ORACLE database task job management scheduling system and method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050198200A1 (en) * | 2004-03-05 | 2005-09-08 | Nortel Networks Limited | Method and apparatus for facilitating fulfillment of web-service requests on a communication network |
CN101246564A (en) * | 2007-12-21 | 2008-08-20 | 浪潮电子信息产业股份有限公司 | Assets management system based on web service for defining assets with XML |
CN102209100A (en) * | 2011-03-15 | 2011-10-05 | 厦门亿力吉奥信息科技有限公司 | Task scheduling cloud processing system and method |
CN102262677A (en) * | 2011-08-15 | 2011-11-30 | 华北电力大学 | Information resource integration method based on Web Service |
CN102571944A (en) * | 2011-12-28 | 2012-07-11 | 东软集团股份有限公司 | Method for analyzing and calling world wide web service |
CN102917032A (en) * | 2012-09-25 | 2013-02-06 | 浙江图讯科技有限公司 | Safety production cloud service platform for industrial and mining enterprises |
-
2013
- 2013-10-25 CN CN201310511424.XA patent/CN103544060B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050198200A1 (en) * | 2004-03-05 | 2005-09-08 | Nortel Networks Limited | Method and apparatus for facilitating fulfillment of web-service requests on a communication network |
CN101246564A (en) * | 2007-12-21 | 2008-08-20 | 浪潮电子信息产业股份有限公司 | Assets management system based on web service for defining assets with XML |
CN102209100A (en) * | 2011-03-15 | 2011-10-05 | 厦门亿力吉奥信息科技有限公司 | Task scheduling cloud processing system and method |
CN102262677A (en) * | 2011-08-15 | 2011-11-30 | 华北电力大学 | Information resource integration method based on Web Service |
CN102571944A (en) * | 2011-12-28 | 2012-07-11 | 东软集团股份有限公司 | Method for analyzing and calling world wide web service |
CN102917032A (en) * | 2012-09-25 | 2013-02-06 | 浙江图讯科技有限公司 | Safety production cloud service platform for industrial and mining enterprises |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063560A (en) * | 2014-07-08 | 2014-09-24 | 广东轩辕网络科技股份有限公司 | Dispatching system and method based on cloud computing platform |
CN104063560B (en) * | 2014-07-08 | 2018-04-17 | 广东轩辕网络科技股份有限公司 | Scheduling system and dispatching method based on cloud computing platform |
CN107797800A (en) * | 2017-10-10 | 2018-03-13 | 平安科技(深圳)有限公司 | To data processing method, electronic installation and the medium of multiple associated services systems |
CN107797800B (en) * | 2017-10-10 | 2020-12-15 | 平安科技(深圳)有限公司 | Data processing method for multiple associated service systems, electronic device and medium |
CN108172249A (en) * | 2017-12-22 | 2018-06-15 | 湖南国科微电子股份有限公司 | A kind of NAND Flash access operations method, apparatus and system |
CN108762949A (en) * | 2018-05-21 | 2018-11-06 | 招银云创(深圳)信息技术有限公司 | Centralized dispatching method, system, computer equipment and storage medium |
CN108762949B (en) * | 2018-05-21 | 2021-07-09 | 招银云创信息技术有限公司 | Centralized scheduling method, system, computer equipment and storage medium |
CN108874536A (en) * | 2018-05-24 | 2018-11-23 | 北京五八信息技术有限公司 | A kind of dispatching method of cloud service, device, cloud service actuator and storage medium |
CN111324426A (en) * | 2018-12-17 | 2020-06-23 | 中国移动通信集团山东有限公司 | ORACLE database task job management scheduling system and method |
Also Published As
Publication number | Publication date |
---|---|
CN103544060B (en) | 2016-06-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103544060A (en) | WEBSERVICE based service dispatching system and method | |
CN111045656A (en) | Method and system for constructing platform system infrastructure in government affair service | |
CN111400326B (en) | Smart city data management system and method thereof | |
CN102546796B (en) | Data updating system and method of service server | |
CN102508919B (en) | Data processing method and system | |
CN109325008A (en) | The cross-domain data synchronous method and system of Message Oriented Middleware | |
CN103092682A (en) | Asynchronous network application program processing method | |
CN103324173A (en) | Multiple-heterogeneous robot cooperation method based on middleware | |
CN103065221A (en) | Multidisciplinary collaborative optimization flow modeling and scheduling method and system based on business process execution language (BPEL) | |
CN104992227A (en) | Intelligent order-bidding system | |
CN103092866B (en) | Data monitoring method and supervising device | |
CN104182846A (en) | Client management system | |
CN112419129A (en) | Method and system for constructing platform system infrastructure in government affair service | |
CN103729742B (en) | A kind of Data Resources Management System based on SOA framework and executing model drive structure | |
CN102088485A (en) | Method and device for acquiring data | |
CN110247981A (en) | A kind of electric power scheduling automatization system application micro services remodeling method | |
CN103544016A (en) | Service registering configuration method and system based on JAVA reflection technology | |
WO2021003843A1 (en) | Method for hierarchical and distributed coordinated control of time sequence for integrated energy system in industrial complex | |
CN105791441A (en) | Method for eliminating server fault through employing cloud platform | |
CN104217314A (en) | Routing information capturing method and device | |
CN103064688A (en) | Workflow universal service method and system | |
CN110007901A (en) | A kind of development system collecting regimental wind-powered electricity generation monitor supervision platform and its operation method and development approach | |
CN109858905A (en) | The electronic certificate processing method and processing device of cross-system | |
CN109508354A (en) | A kind of parallel processing system (PPS) | |
CN103488774A (en) | Processing method for big data log analysis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |