CN109302459A - The service scheduling apparatus and method of service-oriented smart grid Dispatching Control System - Google Patents

The service scheduling apparatus and method of service-oriented smart grid Dispatching Control System Download PDF

Info

Publication number
CN109302459A
CN109302459A CN201811060277.8A CN201811060277A CN109302459A CN 109302459 A CN109302459 A CN 109302459A CN 201811060277 A CN201811060277 A CN 201811060277A CN 109302459 A CN109302459 A CN 109302459A
Authority
CN
China
Prior art keywords
service
parameter
establishment
unit
services
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
Application number
CN201811060277.8A
Other languages
Chinese (zh)
Other versions
CN109302459B (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.)
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
NARI Group Corp
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
NARI Group Corp
Nari Technology Co Ltd
NARI Nanjing Control System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, NARI Group Corp, Nari Technology Co Ltd, NARI Nanjing Control System Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201811060277.8A priority Critical patent/CN109302459B/en
Publication of CN109302459A publication Critical patent/CN109302459A/en
Application granted granted Critical
Publication of CN109302459B publication Critical patent/CN109302459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses the service scheduling apparatus and method of a kind of service-oriented smart grid Dispatching Control System, wherein device includes: service establishment modular unit, for carrying out the standardization of format to the parameter and call relation that are used to involved service, parameterized template is formed;Wherein, being used to involved service is several, and single service indicates a function of smart grid Dispatching Control System, and each service is the background program that can be reused;Organizational tool unit is serviced, for carrying out operation requests for client, and service procedure is converted to after the operation of user is parsed according to parameterized template, generates service procedure file;Service establishment engine unit, for parsing and executing service procedure file, export new composite services to user according to parameterized template.It realizes on-demand flexible combination service, allows application developer by forming new composite services to the establishment combination of existing smart grid Dispatching Control System service, to meet new demand.

Description

The service scheduling apparatus and method of service-oriented smart grid Dispatching Control System
Technical field
The present invention relates to services to work out, more particularly to a kind of service of service-oriented smart grid Dispatching Control System Scheduling apparatus and method belong to power system information technical field.
Background technique
Enterprise SOA (SOA, Service Oriented Architecture) is in smart grid scheduling controlling It is widely applied in system, by the way that function package at service, is realized the demand of business function.In the function using service realization business When energy, single service is often unable to complete whole demands, it is necessary to it can be only achieved purpose by one group of mutual cooperation of service, Service establishment (SO, Service Orchestration) is business function as the important method for realizing flexible, fast integration It is integrated to provide effective support.
In Enterprise SOA, service establishment is completed by a central coordinator.This central coordinator is according to stream Calling between the service of journey Coordination by planning difference, to complete set business function, and the service for participating in process is not aware that stream The overall picture of journey.Services Composition language is exactly the language for working out the flow layout of service call, which also there is service to connect Mouthful, it shows in the form of services, referred to as composite service.
Currently, Business Process Execution Language (BPEL, Business Process Execution usually used in industry Language) establishment is serviced to realize.But existing Business Process Execution Language is also known as BPEL4WS(Business Process Execution Language For Web Services), be aim at integrate Web Services and formulate one Item codes and standards.For non-Web Services system as smart grid Dispatching Control System, then Business Stream is not available Cheng Zhihang language carries out service establishment.Therefore the service for providing a kind of service-oriented smart grid Dispatching Control System is needed to compile Method processed, to be preferably suitable for smart grid Dispatching Control System.
Summary of the invention
It is a primary object of the present invention to overcome deficiency in the prior art, provide a kind of service-oriented smart grid The service scheduling apparatus and method of Dispatching Control System realize on-demand flexible combination service, application developer are led to It crosses the establishment combination to existing smart grid Dispatching Control System service and forms new composite services, to meet new function Demand.
In order to achieve the above object, the technical scheme adopted by the invention is that:
The present invention provides a kind of service scheduling apparatus of service-oriented smart grid Dispatching Control System, comprising:
Service establishment modular unit, for carrying out the specification of format to the parameter and call relation that are used to involved service Change, forms parameterized template;Wherein, being used to involved service is several, and single service indicates smart grid scheduling controlling One function of system, each service are the background programs being reused for completing different function for client by network;
Organizational tool unit is serviced, for carrying out operation requests for client, and the operation of user is carried out according to parameterized template Service procedure is converted to after parsing, generates service procedure file;
Service establishment engine unit, for parsing and executing service procedure file, export new composite services according to parameterized template To user.
The device of the invention is further arranged to: the format that the service establishment modular unit is defined using protobuf into The description of professional etiquette generalized, including information on services, parameter list and three layer model;Wherein, information on services is to involved service The information being described, parameter list define parameter information used in involved service, and three layer model defines group Close the input and output parameter of service and the call relation of service.
The device of the invention is further arranged to: the information on services include Service name, serve port, service release number and Service describing, the parameter information include parameter name, parameter ID, parameter type, parameter length and parameter value.
The device of the invention is further arranged to: the three layer model includes top layer, middle layer and bottom, wherein top layer For describing the input parameter of composite services, middle layer is used to describe the calling information on services and call relation of composite services, Bottom is used to describe the output parameter of composite services;The calling information on services includes the parameter in information on services and parameter information Name, parameter type, parameter length and parameter value, that the call relation records is the parameter ID in parameter information.
The device of the invention is further arranged to: the service organizational tool unit includes visualization tool and generation service Flow elements;
The visualization tool provides dragging means and allows user's energy for showing all involved services and data type It is enough that the placement position of service is pulled, and setting call relation, and corresponding parameter ID is generated for each service, pass through The similarities and differences of parameter ID value represent the relationship of parameter transmitting between the superior and the subordinate's service;
The generation service procedure unit is for providing a kind of mapping mode, and the content that visualization tool is shown is according to parameter Template Map becomes service procedure file, and is saved.
The device of the invention is further arranged to: the service establishment engine unit includes reading unit, input area processing Unit, service area processing unit and output area processing unit;
The reading unit is used for the service procedure file that reading service organizational tool unit generates, and according to service procedure file Call parameters template;
The input area processing unit is used to request to parse according to parameterized template to the input area of client, and saves parsing Parameter value afterwards;
The service area processing unit is used to carry out service execution to the service in every layer of service area layered, will execute Service response information afterwards is saved according to parameterized template;
The output area processing unit is used for the extracting parameter value from service response information, according to parameterized template to the parameter of extraction Value is encoded, and response results, that is, new composite services of establishment service are generated, and exports new composite services.
The present invention also provides a kind of service preparation method of service-oriented smart grid Dispatching Control System, including it is following Step:
1) visual service establishment scene is shown by service organizational tool unit, the service work out scene display component and Work out coverage;
Wherein, component is the data source for client drag operation, including parameter, service and process;Establishment coverage is For the target area of client drag operation, including input area, service area and output area;
2) by the reading unit reading service flow file in service establishment engine unit, and according to service procedure file institute The service procedure call parameters template of description;
Wherein, service procedure file is generated by service organizational tool unit, and parameterized template passes through service establishment modular unit shape At;
3) client receives the drag operation of user, and parameter according to practical dragging selection parameter and is dragged to input by client Area is dragged to output area according to practical dragging selection parameter and by parameter and selects service and process to drag according to practical pull It is pulled to service area;
Wherein, the input area request of client is received and is deposited by the top layer of three layer model in service establishment modular unit The service area request of storage, client is received and stored by the middle layer of three layer model in service establishment modular unit, visitor The output area request at family end is received and stored by the bottom of three layer model in service establishment modular unit;
4) input area of client is requested according to parameterized template by the input area processing unit in service establishment engine unit It is parsed, and saves the parameter value after parsing to parameter list;
Wherein, parameter list is formed by service establishment modular unit;
5) by the service area processing unit in service establishment engine unit to the service in every layer of service area layered Service execution is carried out, the service response information after execution is saved according to parameterized template;
6) by the output area processing unit in service establishment engine unit, according to the content of parameter of output area, after execution Extracting parameter value in service response information, as last service response as a result, according to parameterized template to the parameter value of extraction into Row coding, generates response results, that is, new composite services of establishment service, and exports new composite services;
Wherein, extracting parameter value output parameter according to described in the bottom of three layer model in service establishment modular unit is from parameter List carries out information extraction.
Method of the invention is further arranged to: the service procedure include parallel process, serial process, circulation process and Branch's process, it is nested between different processes to place or tiling is placed;
Wherein, parallel process refers to the service in process while concurrently executing;Serial process refers to the service in process sequentially It is serial to execute;Circulation process refers to the service executed in process serial first, and judgement is entered after the completion of the last one service execution The execution of process, according to judge process implementing result determine be return circulation process starting end re-executed or moved back The end of the circulation process out;Branch's process, which refers to, is first carried out judgement process, further according to judge process implementing result determine be The no branch that enters executes.
Method of the invention is further arranged to: the service execution the specific steps are,
A) this layer of service is handled;
According to calling information on services and call relation tune described in the middle layer of three layer model in service establishment modular unit With service;
B) parameter coding is inputted;
The parameter value after corresponding parsing is searched from parameter list according to itself input parameter of service, then according to the volume of service Code mode encodes input parameter, by the parameter value write parameters list after coding;
C) positioning service and calling;
By information on services described in service establishment modular unit, the specific location of positioning service, and pass through smart grid Service bus in Dispatching Control System realizes service call;
Wherein, the specific location of service includes IP address and serve port;
D) output parameter decoding, preservation intermediate result;
For it is being returned after service call as a result, i.e. service output content, according to the codec format of service serviced from The decoding of body output parameter;Each output parameter is resolved into service output, and each output parameter of decomposition is saved in parameter In list;
E) next layer of service is carried out, repeats step a) to step e);
Until having executed all layers of service, the final parameter list for generating itself output parameter comprising all layers of service is to execute Service response information afterwards.
Compared with prior art, the invention has the advantages that:
The service scheduling apparatus of the service-oriented smart grid Dispatching Control System of one kind provided by the invention and method, realization are pressed Flexible combination service is needed, application developer is allowed to pass through the establishment to existing smart grid Dispatching Control System service Combination forms new composite services, to meet new functional requirement.
Above content is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, under In conjunction with attached drawing, the invention will be further described in face.
Detailed description of the invention
Fig. 1 is the block diagram of service scheduling apparatus of the invention;
Fig. 2 is service organizational tool display diagram of the invention;
Fig. 3 is selection import of services Parameter Map of the invention;
Fig. 4 is establishment service execution process figure of the invention.
Specific embodiment
With reference to the accompanying drawings of the specification, the present invention is further illustrated.
The present invention provides a kind of service scheduling apparatus of service-oriented smart grid Dispatching Control System, as shown in Figure 1, Include:
Service establishment modular unit, for carrying out the specification of format to the parameter and call relation that are used to involved service Change, forms parameterized template;Wherein, being used to involved service is several, and single service indicates smart grid scheduling controlling One function of system, each service are the background programs being reused for completing different function for client by network;
Organizational tool unit is serviced, for carrying out operation requests for client, and the operation of user is carried out according to parameterized template Service procedure is converted to after parsing, generates service procedure file;
Service establishment engine unit, for parsing and executing service procedure file, export new composite services according to parameterized template To user.
The service establishment modular unit carries out standardization description, including service letter using the format that protobuf is defined Breath, parameter list and three layer model;The parameterized template of formation, as follows:
message Sot
{
required string sname = 1;
optional int port = 2;
optional int64 version = 3 [default = 1];
optional string desc = 4;
repeated Para paras = 5;
required Floor floors = 6;
}
Wherein, information on services is the information that involved service is described, and parameter list defines involved clothes Parameter information used in being engaged in, three layer model define the input and output parameter of composite services and the calling of service Relationship.
The information on services includes Service name, serve port, service release number and service describing, and the parameter information includes Parameter name, parameter ID, parameter type, parameter length and parameter value.
For a design parameter, it is described in detail below shown:
message Para
{
required int64 id = 1;
optional string name = 2;
optional string type = 3;
optional int32 length = 4;
optional bytes value = 5;
}
The three layer model includes top layer, middle layer and bottom, is the model framework of service establishment modular unit, specifically describes It is as follows:
message Floor
{
required TopFloor top = 1;
repeated MidFloor mid = 2;
required Bottom bot = 3;
}
Wherein, top layer is used to describe the input parameter of composite services, and middle layer is used to describe the calling information on services of composite services And call relation, bottom are used to describe the output parameter of composite services;The calling information on services includes information on services and ginseng Parameter name, parameter type, parameter length and parameter value in number information, what the call relation recorded is the ginseng in parameter information Number ID.
Being described in detail below for middle layer is shown:
message MidFloor
{
optional int32 index = 1;
repeated WorkServer servers= 2;
required int32 ExeOrder = 3;
}
message WorkServer
{
optional int32 index = 1;
optional int32 type = 2 [default = 1];
required string name = 3;
repeated int64 inputIds = 4;
repeated int64 outputIds = 5;
optional EncodedMode incoding= 6;
optional EncodedMode outcoding= 7;
optional string node = 8;
optional int32 port = 9;
optional int32 timeout = 10[default = 60];
optional string protocol= 11;
}
The service organizational tool unit includes visualization tool and generation service procedure unit.
The visualization tool provides dragging means and allows use for showing all involved services and data type Family can pull the placement position of service, and setting call relation, and generate corresponding parameter ID for each service, The relationship of parameter transmitting between the superior and the subordinate's service is represented by the similarities and differences of parameter ID value.
For example: each service has 0 or multiple input/output parameters, and each parameter corresponds to a parameter ID; If the parameter ID of two services is identical, illustrate relevant between the two.For example, service A, there are two output parameter, ID is respectively 1,2;B is serviced also there are two parameter is inputted, and ID is respectively 1,3;Then illustrate that the output parameter 1 for servicing A will be passed to service B, makees For first parameter of its input.
The generation service procedure unit for providing a kind of mapping mode, the content that visualization tool is shown according to Parameterized template mapping becomes service procedure file, and is saved.
The service establishment engine unit includes reading unit, input area processing unit, service area processing unit and output Area's processing unit.
The reading unit is used for the service procedure file that reading service organizational tool unit generates, and according to service procedure File call parameters template.
The input area processing unit is used to request to parse according to parameterized template to the input area of client, and saves Parameter value after parsing.
The service area processing unit is used to carry out service execution to the service in every layer of service area layered, will Service response information after execution is saved according to parameterized template.
The output area processing unit is used for the extracting parameter value from service response information, according to parameterized template to extraction Parameter value is encoded, and response results, that is, new composite services of establishment service are generated, and exports new composite services.
The present invention also provides a kind of service preparation method of service-oriented smart grid Dispatching Control System, including it is following Step:
1) visual service establishment scene is shown by service organizational tool unit, the service work out scene display component and Coverage is worked out, as shown in Fig. 2, left side is the available component of user, right side is establishment coverage.
Wherein, component is the data source for client drag operation, including parameter, service and process;Work out service area Domain is the target area for client drag operation, including input area, service area and the area of output area three;Three areas are figures The display area of shape interface form, for client input operation, operation data is then stored in three layer model.
User selects component from left side, drags to the corresponding region on right side, and completes the association of inter-module, to realize clothes The establishment for process of being engaged in.
Parameter component includes all fundamental type parameters, such as int, short, string, can also be on this basis Define some compound type parameters being combined by fundamental type.
Serviced component includes registered service in all systems, and it is that user completes different function that service, which is by network, The background program that can be reused.Service by service management center register complete service publishing process, service organizational tool from Service management center obtains information on services, and is shown in serviced component.Information on services includes Service name, import of services output ginseng The contents such as number.
A series of process of service executions is defined in flow component, such as parallel process, serial process, circulation process and point Zhi Liucheng.Parallel process refers to the service in process while concurrently executing;Serial process refers to that the service in process is sequentially gone here and there Row executes;Circulation process refers to the service executed in process serial first, and judgement stream is entered after the completion of the last one service execution The execution of journey, according to judge process implementing result determine be return circulation process starting end re-executed or exited The end of the circulation process;Branch's process, which refers to, is first carried out judgement process, decides whether further according to the implementing result for judging process It is executed into branch.Can be mutually nested between each process, multiple strings are realized as serial process can be put into parallel process Capable service and the parallel execution of other services;Parallel process can be put into circulation process to be made to service parallel execution.
The establishment coverage on right side is for defining specific service procedure, and input (output) area therein is for defining group Close input (output) parameter of service.User can according to need pulls any number and type from the parameter component in left side Parameter is put into input (output) area, input (output) parameter as composite services.Coded format file in input area needs It wants user to select the coded format of an input/output argument, is that can carry out service parameter according to this document executing service procedure Encoding and decoding.
Service area default is serial process, and user can select one or more needs from the flow component in left side Process is put into service area, nested can place between process, can also tile placement.After placing process, user needs will service Component is put into corresponding process, can place multiple services in a process, suitable according to the execution of flow specification between service Sequence carries out.After placing service, user needs for the corresponding input parameter of services selection, as shown in figure 3, the input ginseng that can choose Number includes the parameter of input area and the output parameter of top service.
2) by the reading unit reading service flow file in service establishment engine unit, and according to service procedure text Service procedure call parameters template described in part, as shown in Figure 4.
Wherein, service procedure file is generated by service organizational tool unit, and parameterized template passes through service establishment template list Member is formed.
3) client receives the drag operation of user, and client is dragged to defeated according to practical dragging selection parameter and by parameter Enter area, be dragged to output area according to practical dragging selection parameter and by parameter and pull selection service and process according to practical It is dragged to service area.
Wherein, the input area request of client is received simultaneously by the top layer of three layer model in service establishment modular unit The service area request of storage, client is received and stored by the middle layer of three layer model in service establishment modular unit, The output area request of client is received and stored by the bottom of three layer model in service establishment modular unit.
4) input area of client is requested according to parameter by the input area processing unit in service establishment engine unit Template is parsed, and saves the parameter value after parsing to parameter list;Wherein, parameter list passes through service establishment modular unit It is formed.
5) by the service area processing unit in service establishment engine unit in every layer of service area layered Service carries out service execution, and the service response information after execution is saved according to parameterized template.
Wherein, service execution is specifically,
A) this layer of service is handled;
According to calling information on services and call relation tune described in the middle layer of three layer model in service establishment modular unit With service;
B) parameter coding is inputted;
The parameter value after corresponding parsing is searched from parameter list according to itself input parameter of service, then according to the volume of service Code mode encodes input parameter, by the parameter value write parameters list after coding;
C) positioning service and calling;
By information on services described in service establishment modular unit, the specific location of positioning service, and pass through smart grid Service bus in Dispatching Control System realizes service call;
Wherein, the specific location of service includes IP address and serve port;
D) output parameter decoding, preservation intermediate result;
For it is being returned after service call as a result, i.e. service output content, according to the codec format of service serviced from The decoding of body output parameter;Each output parameter is resolved into service output, and is tied each output parameter of decomposition as centre Fruit is saved;
E) next layer of service is carried out, repeats step a) to step e);
Until having executed all layers of service, the final parameter list for generating itself output parameter comprising all layers of service is to execute Service response information afterwards.
6) by the output area processing unit in service establishment engine unit, according to the content of parameter of output area, from execution Middle extracting parameter value in service response information afterwards, encodes according to parameter value of the parameterized template to extraction, generates establishment clothes The composite services of response results of business, that is, new, and export new composite services.
Wherein, extracting parameter value according to service establishment modular unit in three layer model bottom described in output parameter from Parameter list carries out information extraction.
The innovation of the invention consists in that realize that a business function needed the software of certain procedures development ability originally Developer realizes by writing program, and the service preparation method that can be provided through the invention now, which not have program, to be opened The personnel of hair ability also can directly realize same business function by interface operation;Moreover, realizing on-demand flexible combination clothes Business allows application developer by being formed newly to the establishment combination of existing smart grid Dispatching Control System service Composite services, to meet new functional requirement.
Basic principles and main features and advantage of the invention have been shown and described above.The technical staff of the industry should Understand, the present invention is not limited to the above embodiments, and the above embodiments and description only describe originals of the invention Reason, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes and improvements It all fall within the protetion scope of the claimed invention.The claimed scope of the invention is by appended claims and its equivalent circle It is fixed.

Claims (9)

1. a kind of service scheduling apparatus of service-oriented smart grid Dispatching Control System characterized by comprising
Service establishment modular unit, for carrying out the specification of format to the parameter and call relation that are used to involved service Change, forms parameterized template;Wherein, being used to involved service is several, and single service indicates smart grid scheduling controlling One function of system, each service are the background programs being reused for completing different function for client by network;
Organizational tool unit is serviced, for carrying out operation requests for client, and the operation of user is carried out according to parameterized template Service procedure is converted to after parsing, generates service procedure file;
Service establishment engine unit, for parsing and executing service procedure file, export new composite services according to parameterized template To user.
2. the service scheduling apparatus of service-oriented smart grid Dispatching Control System according to claim 1, feature Be: the service establishment modular unit carries out standardization description, including information on services, ginseng using the format that protobuf is defined Ordered series of numbers table and three layer model;Wherein, information on services is the information that involved service is described, and parameter list defines Parameter information used in involved service, three layer model define composite services input and output parameter, with And the call relation of service.
3. the service scheduling apparatus of service-oriented smart grid Dispatching Control System according to claim 2, feature Be: the information on services includes Service name, serve port, service release number and service describing, and the parameter information includes ginseng Several, parameter ID, parameter type, parameter length and parameter value.
4. the service scheduling apparatus of service-oriented smart grid Dispatching Control System according to claim 3, feature Be: the three layer model includes top layer, middle layer and bottom, wherein and top layer is used to describe the input parameter of composite services, in Interbed is used to describe the calling information on services and call relation of composite services, and bottom is used to describe the output ginseng of composite services Number;The calling information on services includes parameter name, parameter type, parameter length and parameter in information on services and parameter information Value, that the call relation records is the parameter ID in parameter information.
5. the service scheduling apparatus of service-oriented smart grid Dispatching Control System according to claim 1, feature Be: the service organizational tool unit includes visualization tool and generation service procedure unit;
The visualization tool provides dragging means and allows user's energy for showing all involved services and data type It is enough that the placement position of service is pulled, and setting call relation, and corresponding parameter ID is generated for each service, pass through The similarities and differences of parameter ID value represent the relationship of parameter transmitting between the superior and the subordinate's service;
The generation service procedure unit is for providing a kind of mapping mode, and the content that visualization tool is shown is according to parameter Template Map becomes service procedure file, and is saved.
6. the service scheduling apparatus of service-oriented smart grid Dispatching Control System according to claim 1, feature Be: the service establishment engine unit includes at reading unit, input area processing unit, service area processing unit and output area Manage unit;
The reading unit is used for the service procedure file that reading service organizational tool unit generates, and according to service procedure file Call parameters template;
The input area processing unit is used to request to parse according to parameterized template to the input area of client, and saves parsing Parameter value afterwards;
The service area processing unit is used to carry out service execution to the service in every layer of service area layered, will execute Service response information afterwards is saved according to parameterized template;
The output area processing unit is used for the extracting parameter value from service response information, according to parameterized template to the parameter of extraction Value is encoded, and response results, that is, new composite services of establishment service are generated, and exports new composite services.
7. a kind of service preparation method of service-oriented smart grid Dispatching Control System, which is characterized in that including following step It is rapid:
1) visual service establishment scene is shown by service organizational tool unit, the service work out scene display component and Work out coverage;
Wherein, component is the data source for client drag operation, including parameter, service and process;Establishment coverage is For the target area of client drag operation, including input area, service area and output area;
2) by the reading unit reading service flow file in service establishment engine unit, and according to service procedure file institute The service procedure call parameters template of description;
Wherein, service procedure file is generated by service organizational tool unit, and parameterized template passes through service establishment modular unit shape At;
3) client receives the drag operation of user, and parameter according to practical dragging selection parameter and is dragged to input by client Area is dragged to output area according to practical dragging selection parameter and by parameter and selects service and process to drag according to practical pull It is pulled to service area;
Wherein, the input area request of client is received and is deposited by the top layer of three layer model in service establishment modular unit The service area request of storage, client is received and stored by the middle layer of three layer model in service establishment modular unit, visitor The output area request at family end is received and stored by the bottom of three layer model in service establishment modular unit;
4) input area of client is requested according to parameterized template by the input area processing unit in service establishment engine unit It is parsed, and saves the parameter value after parsing to parameter list;
Wherein, parameter list is formed by service establishment modular unit;
5) by the service area processing unit in service establishment engine unit to the service in every layer of service area layered Service execution is carried out, the service response information after execution is saved according to parameterized template;
6) by the output area processing unit in service establishment engine unit, according to the content of parameter of output area, after execution Extracting parameter value in service response information, as last service response as a result, according to parameterized template to the parameter value of extraction into Row coding, generates response results, that is, new composite services of establishment service, and exports new composite services;
Wherein, extracting parameter value output parameter according to described in the bottom of three layer model in service establishment modular unit is from parameter List carries out information extraction.
8. the service preparation method of service-oriented smart grid Dispatching Control System according to claim 7, feature Be: the service procedure includes parallel process, serial process, circulation process and branch's process, and nesting is put between different processes It sets or tiles placement;
Wherein, parallel process refers to the service in process while concurrently executing;Serial process refers to the service in process sequentially It is serial to execute;Circulation process refers to the service executed in process serial first, and judgement is entered after the completion of the last one service execution The execution of process, according to judge process implementing result determine be return circulation process starting end re-executed or moved back The end of the circulation process out;Branch's process, which refers to, is first carried out judgement process, further according to judge process implementing result determine be The no branch that enters executes.
9. the service preparation method of service-oriented smart grid Dispatching Control System according to claim 7, feature Be: the service execution the specific steps are,
A) this layer of service is handled;
According to calling information on services and call relation tune described in the middle layer of three layer model in service establishment modular unit With service;
B) parameter coding is inputted;
The parameter value after corresponding parsing is searched from parameter list according to itself input parameter of service, then according to the volume of service Code mode encodes input parameter, by the parameter value write parameters list after coding;
C) positioning service and calling;
By information on services described in service establishment modular unit, the specific location of positioning service, and pass through smart grid Service bus in Dispatching Control System realizes service call;
Wherein, the specific location of service includes IP address and serve port;
D) output parameter decoding, preservation intermediate result;
For it is being returned after service call as a result, i.e. service output content, according to the codec format of service serviced from The decoding of body output parameter;Each output parameter is resolved into service output, and each output parameter of decomposition is saved in parameter In list;
E) next layer of service is carried out, repeats step a) to step e);
Until having executed all layers of service, the final parameter list for generating itself output parameter comprising all layers of service is to execute Service response information afterwards.
CN201811060277.8A 2018-09-12 2018-09-12 Service compiling device and method of service-oriented intelligent power grid dispatching control system Active CN109302459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811060277.8A CN109302459B (en) 2018-09-12 2018-09-12 Service compiling device and method of service-oriented intelligent power grid dispatching control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811060277.8A CN109302459B (en) 2018-09-12 2018-09-12 Service compiling device and method of service-oriented intelligent power grid dispatching control system

Publications (2)

Publication Number Publication Date
CN109302459A true CN109302459A (en) 2019-02-01
CN109302459B CN109302459B (en) 2021-04-06

Family

ID=65166613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811060277.8A Active CN109302459B (en) 2018-09-12 2018-09-12 Service compiling device and method of service-oriented intelligent power grid dispatching control system

Country Status (1)

Country Link
CN (1) CN109302459B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636073A (en) * 2019-09-28 2019-12-31 同程网络科技股份有限公司 Distributed asynchronous remote service arranging and calling technology
CN110750271A (en) * 2019-10-21 2020-02-04 珠海格力电器股份有限公司 Service aggregation, method and device for executing aggregated service and electronic equipment
CN111611089A (en) * 2020-02-07 2020-09-01 中国海洋大学 Asynchronous declaration type micro-service scheduling method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050138634A1 (en) * 2003-12-18 2005-06-23 Luty Andrew R. Method and software for publishing a business process orchestration as a web service
CN101267452A (en) * 2008-02-27 2008-09-17 华为技术有限公司 A conversion method and application server for WEB service mixing scheme
CN101777004A (en) * 2010-01-26 2010-07-14 北京邮电大学 Method and system for realizing BPEL sub-process multiplexing based on template in service-oriented environment
CN101826987A (en) * 2010-04-27 2010-09-08 北京邮电大学 System and method for supporting mixed service based on integrated open network
CN104700193A (en) * 2014-11-17 2015-06-10 国家电网公司 Cloud platform service integrated device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050138634A1 (en) * 2003-12-18 2005-06-23 Luty Andrew R. Method and software for publishing a business process orchestration as a web service
CN101267452A (en) * 2008-02-27 2008-09-17 华为技术有限公司 A conversion method and application server for WEB service mixing scheme
CN101777004A (en) * 2010-01-26 2010-07-14 北京邮电大学 Method and system for realizing BPEL sub-process multiplexing based on template in service-oriented environment
CN101826987A (en) * 2010-04-27 2010-09-08 北京邮电大学 System and method for supporting mixed service based on integrated open network
CN104700193A (en) * 2014-11-17 2015-06-10 国家电网公司 Cloud platform service integrated device and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
卜幸杰.: "基于SOA的电力服务集成系统的设计与实现.", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
张光宇 等.: "元数据驱动的多样化服务的混合编排方法.", 《计算机应用研究》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636073A (en) * 2019-09-28 2019-12-31 同程网络科技股份有限公司 Distributed asynchronous remote service arranging and calling technology
CN110750271A (en) * 2019-10-21 2020-02-04 珠海格力电器股份有限公司 Service aggregation, method and device for executing aggregated service and electronic equipment
CN110750271B (en) * 2019-10-21 2021-07-23 珠海格力电器股份有限公司 Service aggregation, method and device for executing aggregated service and electronic equipment
CN111611089A (en) * 2020-02-07 2020-09-01 中国海洋大学 Asynchronous declaration type micro-service scheduling method
CN111611089B (en) * 2020-02-07 2023-06-27 中国海洋大学 Asynchronous declaration-based micro-service scheduling method

Also Published As

Publication number Publication date
CN109302459B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
Dohn et al. The manpower allocation problem with time windows and job-teaming constraints: A branch-and-price approach
CN104216785B (en) General policies task system and its implementation
US7051328B2 (en) Production server architecture and methods for automated control of production document management
CN109302459A (en) The service scheduling apparatus and method of service-oriented smart grid Dispatching Control System
CN101388904B (en) GIS service aggregating method, device and system
CN104468778B (en) A kind of cloud manufacturing execution system and its manufacture execution method based on cloud service
CN108268319A (en) Method for scheduling task, apparatus and system
CN106357739A (en) Two-stage composition and scheduling method specific to lot-sizing cloud service request
CN112558934B (en) Control subtask engine device based on arranging control flow business opening
CN105278960A (en) Process automation method and system in remote sensing application
CN109740849A (en) Structure design work management method, platform and the system quickly delivered
US11100437B2 (en) Method for improving semiconductor back-end factories
CN105809302B (en) A kind of producing line dispatching method and system based on CEP inference engine
CN108388980A (en) A kind of project cost data management system
CN106910004A (en) A kind of overall process blower fan workmanship monitoring system based on workflow
CN109919576A (en) Procreative collaboration method, apparatus and intelligent terminal
CN113949725B (en) Manufacturing resource access platform and method based on cloud edge cooperation
CN109377063A (en) A kind of method for scheduling task, device, equipment and storage medium
CN105094984A (en) Resource scheduling method and system
CN111079997A (en) Modeling and collaborative optimization method
Barlatt et al. Ford motor company implements integrated planning and scheduling in a complex automotive manufacturing environment
He et al. ISA-95 tool for enterprise modeling
Fettermann et al. Mass customization process in companies from the housing sector in Brazil
KR20160105140A (en) Integrated platform management system for collaboration between the manufacturing company
CN101699486A (en) Design method of dynamic menu binding of workflow links in field of government affair

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant