CN103544060B - A kind of service dispatch system and method based on WEBSERVICE - Google Patents
A kind of service dispatch system and method based on WEBSERVICE Download PDFInfo
- Publication number
- CN103544060B CN103544060B CN201310511424.XA CN201310511424A CN103544060B CN 103544060 B CN103544060 B CN 103544060B CN 201310511424 A CN201310511424 A CN 201310511424A CN 103544060 B CN103544060 B CN 103544060B
- Authority
- CN
- China
- Prior art keywords
- service
- task
- webservice
- dispatch
- calling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000002224 dissection Methods 0.000 claims description 6
- 230000000875 corresponding effect Effects 0.000 claims description 3
- 230000002596 correlated effect Effects 0.000 claims description 2
- 230000007488 abnormal function Effects 0.000 abstract description 3
- 230000008878 coupling Effects 0.000 abstract description 3
- 238000010168 coupling process Methods 0.000 abstract description 3
- 238000005859 coupling reaction Methods 0.000 abstract description 3
- 238000003745 diagnosis Methods 0.000 abstract description 3
- 238000002347 injection Methods 0.000 abstract description 3
- 239000007924 injection Substances 0.000 abstract description 3
- 230000001105 regulatory effect Effects 0.000 abstract description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000344 soap Substances 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of service dispatch system based on WEBSERVICE, mainly it is made up of address of service Registering modules, service register module, scheduler task Registering modules, task scheduling engine and task log management module, the invention also discloses a kind of service scheduling method based on said system。The service dispatch system of the present invention can manage and the schedule registration all services on it, and generates daily record in each stage in the way of file or data base, facilitates real-time query, is provided simultaneously with the abnormal function caught diagnosis, repair and re-execute of service。This system is by simply configuring registration, it is possible to meet most service dispatch regulatory requirement, can reduce system interface exploitation code amount, improves development efficiency;When using this system, owing to service is by configuring injection so that lower coupling between Business Processing and service dispatch, it is simple to the later stage transplants and safeguards。
Description
Technical field
The present invention relates to electric power software system interface field, particularly relate to a kind of service dispatch system and method based on WEBSERVICE。
Background technology
At present, WEBSERVICE is SOA(Service-OrientedArchitecture) a kind of implementation preferably, WEBSERVICE adopts HTTP as host-host protocol, SOAP(SimpleObjectAccessProtocol) as the form transmitting message。A usual WEBSERVICE service is provided that multiple method is for other system request call, generally also can ask multiple methods of multiple service in a system。But too much schedule information needs a good management distribution method and log management。
Summary of the invention
It is an object of the invention 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 kind of service dispatch system based on WEBSERVICE, including following functions module:
Address of service Registering modules, mainly to needing the WEBSERVICE information on services called to describe, describes including address of service WSDL (WebServicesDescriptionLanguage);
Service register module, mainly that Business Processing is relevant program information registration;
Scheduler task Registering modules, mainly registers the schedule information of task, manages in the way of task-set;
Task scheduling engine, corresponding task is performed mainly by polling dispatching plan, qualified scheduler task is resolved, take out its task-set, one by one the service in set is resolved, calling address of service method by log-on message, the data of return are given service calling method again and are carried out dissection process;
Task log management module, produces independent dispatching log for each service。
Further, the program information that the Business Processing that described service register module carries out registering is correlated with includes service name, service describing, service call class, service calling method title, service calling method parameter type, service calling method return type, whether service enables, whether service processing data store。
Further, the schedule information of task that described scheduler task Registering modules carries out registering includes scheduler task title, scheduler task describes, whether scheduling polling cycle, task execution time, task enable, the task parameters time。
Further, the content of described dispatching log includes the plan execution time of task, actual execution time, end time, task place node, current task node execution information, task abnormity capturing information, task abnormity code position。
A kind of service scheduling method based on WEBSERVICE, comprises the following steps:
101) start, by address of service Registering modules to needing the WEBSERVICE information on services called to describe;
102) by service register module, the program information that the Business Processing of the service of calling is relevant is registered;
103) by scheduler task registration, the schedule information of calling task is registered;
104) by task scheduling engine, scheduler task being resolved, take out its task-set, one by one the service in set is resolved, call address of service method by log-on message, the data of return are given service calling method again and are carried out dissection process;
105) service is called;
106) judge that whether the service of calling is successful, dispatch and unsuccessfully then enter step 107, dispatch and successfully then enter step 108;
107) produce the daily record that scheduling is failed, and return step 104;
108) produce to dispatch successful daily record, terminate current task scheduling。
The invention has the beneficial effects as follows:
The service dispatch system based on WEBSERVICE of the present invention can manage and the schedule registration all services on it, and in the way of file or data base, generate daily record in each stage, facilitate real-time query, be provided simultaneously with the abnormal function caught diagnosis, repair and re-execute of service。This system is by simply configuring registration, it is possible to meet most service dispatch regulatory requirement, can reduce system interface exploitation code amount, improves development efficiency;There is provided powerful journal function, it is simple to service interface management and task scheduling are followed the tracks of simultaneously。When using this system, owing to service is by configuring injection so that lower coupling between Business Processing and service dispatch, it is simple to the later stage transplants and safeguards。
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the present invention is further described。
Fig. 1 is the service dispatch system module block diagram of the present invention;
Fig. 2 is the FB(flow block) of the service scheduling method of the present invention。
Detailed description of the invention
With reference to Fig. 1, a kind of service dispatch system based on WEBSERVICE provided by the invention, mainly it is made up of address of service Registering modules 1, service register module 2, scheduler task Registering modules 3, task scheduling engine 4 and task log management module 5。
Address of service Registering modules 1 mainly to needing the WEBSERVICE information on services called to describe, describes including address of service WSDL (WebServicesDescriptionLanguage)。
The program information registration that service register module 2 is mainly relevant to Business Processing, including service name, service describing, service call class, service calling method title, service calling method parameter type, service calling method return type, whether service enables, whether service processing data store。
The schedule information of task is mainly registered by scheduler task Registering modules 3, manages in the way of task-set。Described schedule information includes scheduler task title, scheduler task describes, whether scheduling polling cycle, task execution time, task enable, the task parameters time。
Task scheduling engine 4 is the core of task scheduling, it performs corresponding task by polling dispatching plan, qualified scheduler task is resolved, take out its task-set, one by one the service in set is resolved, calling address of service method by log-on message, the data of return are given service calling method again and are carried out dissection process。
Task log management module 5 runs through the whole process of task scheduling, it produces independent dispatching log for each service, and the plan including task performs time, actual execution time, end time, task place node, current task node execution information, task abnormity capturing information, task abnormity code position。
With reference to Fig. 2, a kind of service scheduling method based on WEBSERVICE, comprise the following steps:
101) start, by address of service Registering modules to needing the WEBSERVICE information on services called to describe;
102) by service register module, the program information that the Business Processing of the service of calling is relevant is registered;
103) by scheduler task registration, the schedule information of calling task is registered;
104) by task scheduling engine, scheduler task being resolved, take out its task-set, one by one the service in set is resolved, call address of service method by log-on message, the data of return are given service calling method again and are carried out dissection process;
105) service is called;
106) judge that whether the service of calling is successful, dispatch and unsuccessfully then enter step 107, dispatch and successfully then enter step 108;
107) produce the daily record that scheduling is failed, and return step 104;
108) produce to dispatch successful daily record, terminate current task scheduling。
The service dispatch system based on WEBSERVICE of the present invention can manage and the schedule registration all services on it, and in the way of file or data base, generate daily record in each stage, facilitate real-time query, be provided simultaneously with the abnormal function caught diagnosis, repair and re-execute of service。This system is by simply configuring registration, it is possible to meet most service dispatch regulatory requirement, can reduce system interface exploitation code amount, improves development efficiency;There is provided powerful journal function, it is simple to service interface management and task scheduling are followed the tracks of simultaneously。When using this system, owing to service is by configuring injection so that lower coupling between Business Processing and service dispatch, it is simple to the later stage transplants and safeguards。
The foregoing is only the preferred embodiments of the present invention, broadly falling within protection scope of the present invention as long as realizing the technical scheme of the object of the invention with essentially identical means。
Claims (5)
1. the service dispatch system based on WEBSERVICE, it is characterised in that include following functions module:
Address of service Registering modules, mainly to needing the WEBSERVICE information on services called to describe, describes including address of service WSDL;
Service register module, mainly that Business Processing is relevant program information registration;
Scheduler task Registering modules, mainly registers the schedule information of task, manages in the way of task-set;
Task scheduling engine, corresponding task is performed mainly by polling dispatching plan, qualified scheduler task is resolved, take out its task-set, one by one the service in set is resolved, calling address of service method by log-on message, the data of return are given service calling method again and are carried out dissection process;
Task log management module, produces independent dispatching log for each service。
2. a kind of service dispatch system based on WEBSERVICE according to claim 1, it is characterised in that: the program information that the Business Processing that described service register module carries out registering is correlated with includes service name, service describing, service call class, service calling method title, service calling method parameter type, service calling method return type, whether service enables, whether service processing data store。
3. a kind of service dispatch system based on WEBSERVICE according to claim 1, it is characterised in that: the schedule information of task that described scheduler task Registering modules carries out registering includes scheduler task title, scheduler task describes, whether 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, it is characterised in that: the content of described dispatching log includes the plan of task and performs time, actual execution time, end time, task place node, current task node execution information, task abnormity capturing information, task abnormity code position。
5. the service scheduling method based on the arbitrary described system of Claims 1-4, it is characterised in that comprise the following steps:
101) start, by address of service Registering modules to needing the WEBSERVICE information on services called to describe;
102) by service register module, the program information that the Business Processing of the service of calling is relevant is registered;
103) by scheduler task registration, the schedule information of calling task is registered;
104) by task scheduling engine, scheduler task being resolved, take out its task-set, one by one the service in set is resolved, call address of service method by log-on message, the data of return are given service calling method again and are carried out dissection process;
105) service is called;
106) judge that whether the service of calling is successful, dispatch and unsuccessfully then enter step 107, dispatch and successfully then enter step 108;
107) produce the daily record that scheduling is failed, and return step 104;
108) produce to dispatch successful daily record, terminate 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 CN103544060A (en) | 2014-01-29 |
CN103544060B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063560B (en) * | 2014-07-08 | 2018-04-17 | 广东轩辕网络科技股份有限公司 | Scheduling system and dispatching method based on cloud computing platform |
CN107797800B (en) * | 2017-10-10 | 2020-12-15 | 平安科技(深圳)有限公司 | Data processing method for multiple associated service systems, electronic device and medium |
CN108172249B (en) * | 2017-12-22 | 2021-09-17 | 湖南国科微电子股份有限公司 | NAND Flash access operation method, device and system |
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 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8484348B2 (en) * | 2004-03-05 | 2013-07-09 | Rockstar Consortium Us Lp | Method and apparatus for facilitating fulfillment of web-service requests on a communication network |
-
2013
- 2013-10-25 CN CN201310511424.XA patent/CN103544060B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103544060A (en) | 2014-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103544060B (en) | A kind of service dispatch system and method based on WEBSERVICE | |
CN103927218B (en) | Event distributing method and system | |
CN103873433A (en) | Service activation-based data processing method, device, server and system | |
WO2020052133A1 (en) | Gateway communication method, gateway, and energy system | |
CN101582041A (en) | Distributed compilation method and system based on web | |
CN102520927B (en) | Method, device and terminal for generation logic business of embedded terminal | |
CN109522386B (en) | Method and system for generating spatial information service across GIS platform | |
CN109462637A (en) | MR expert's remote collaboration method and system based on power equipment 3D model library | |
CN101833449A (en) | Compile processing method and system based on cloud computing | |
CN104378221A (en) | Asynchronous calling method applied to integrated circuit production line monitoring system | |
CN105183299A (en) | Human-computer interface service processing system and method | |
CN104933495A (en) | Work task assessment system on Android-based mobile terminal | |
CN101741746A (en) | Method for realizing communication between two-way CAS gateway and user terminal based on IOCP | |
CN103761235A (en) | Distribution method and application of universal power data platform | |
CN103645959A (en) | Telecom real-time system multi-process SMP (shared memory pool) interaction assembly and method | |
CN104217314A (en) | Routing information capturing method and device | |
CN105205735A (en) | Power dispatching data cloud service system and implementation method | |
CN102984272A (en) | System and method for remotely controlling communication capacity of mobile terminal | |
CN103457926A (en) | Communication method for CMS front-end processor and server | |
CN105070002A (en) | Electricity information acquisition terminal and implementation method thereof | |
CN115410580A (en) | Voice recognition method, device, equipment and medium for command scheduling system | |
CN109858905A (en) | The electronic certificate processing method and processing device of cross-system | |
CN104361437A (en) | Quality inspection and management method of diversified data interfaces and quality inspection and management system of diversified data interfaces | |
CN104102583A (en) | High-availability cluster software distributed automated testing framework | |
CN103269327A (en) | Method for realizing general file data service based on agent mechanism |
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 |