CN107194674A - A kind of intelligent distribution scheduling system based on item business rule - Google Patents

A kind of intelligent distribution scheduling system based on item business rule Download PDF

Info

Publication number
CN107194674A
CN107194674A CN201710547560.2A CN201710547560A CN107194674A CN 107194674 A CN107194674 A CN 107194674A CN 201710547560 A CN201710547560 A CN 201710547560A CN 107194674 A CN107194674 A CN 107194674A
Authority
CN
China
Prior art keywords
item
service
interface
intelligent distribution
scheduling system
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.)
Pending
Application number
CN201710547560.2A
Other languages
Chinese (zh)
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.)
Shandong Inspur Cloud Service Information Technology Co Ltd
Original Assignee
Shandong Inspur Cloud Service Information Technology 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 Shandong Inspur Cloud Service Information Technology Co Ltd filed Critical Shandong Inspur Cloud Service Information Technology Co Ltd
Priority to CN201710547560.2A priority Critical patent/CN107194674A/en
Publication of CN107194674A publication Critical patent/CN107194674A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/466Transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

The invention discloses a kind of intelligent distribution scheduling system based on item business rule, belong to business support technical field.Business rule of the intelligent distribution scheduling system based on item business rule of the present invention according to item, define adapter, individual character interface for each item, unified interface standard is externally provided, after the completion of standard interface definition, it is published in intelligent distribution scheduling system, specify unified item traffic criteria, by flexibly dispatching configuration, access the item business of constituent parts, mutually calling between constituent parts item business is realized, each operation system only needs to call the standard interface of scheduling system, and the cooperation between each operation system is completed by scheduling system.The intelligent distribution scheduling system based on item business rule of the invention can effectively solve the problem of docking is difficult, repetition is docked, high cost is docked, with good application value.

Description

A kind of intelligent distribution scheduling system based on item business rule
Technical field
The present invention relates to business support technical field, a kind of intelligent distribution scheduling based on item business rule is specifically provided System.
Background technology
It is to improve Party and government offices' operating efficiency, Government public services level and social city's management to accelerate e-government development The important means of level.During " 12 ", governments at all levels pay much attention to e-government projects and enter adaptive QoS control comprehensively, answer With in-depth, Compact development, the new period promoted comprehensively.With going deep into for the reform of the system of administrative approval, mutually held in the mouth between bar and block The problem of connecing with cooperateing with increasingly protrudes.It is necessary in order to strengthen economic adjustment, market surpervision, social management and public services function Strengthen the effect of the rule, but excessive professional division to governance the problem of but bring new, particularly Basic Government conduct Layer, operation layer and practicable layer are born in party committee, government work, because information island, business barrier cause operating pressure increasingly Greatly, thus solve such problem turn into government reform government affairs services emphasis.
The resources such as place, equipment, system, personnel, funds by integrating existing all kinds of basic unit's public service platforms there is provided Synthesis window accepts service, and the mode of operation of " foreground is accepted flatly, and the backstage division of labor is done jointly " is done step-by-step.But it is due to that each is put down Platform system has the data standard of oneself, and processing is not planned as a whole in calling with each other, and the interface disunity of docking causes appearance pair Difficulty is connect, the problem of repeating to dock, finally because various problems cause not docking.Plateform system between all departments is wanted to forge into Cooperative office system, realizes the slitless connection with all departments' permit business system, implements extremely difficult.
The content of the invention
The technical assignment of the present invention is that there is provided one kind can effectively to solve docking for above-mentioned problem difficult, again The intelligent distribution scheduling system based on item business rule of problem is docked in multiple docking, high cost.
To achieve the above object, the invention provides following technical scheme:
A kind of intelligent distribution scheduling system based on item business rule, the intelligent distribution scheduling system is according to item Business rule, defines adapter, for the individual character interface of each item, externally provides unified interface standard, standard interface definition After the completion of, it is published in intelligent distribution scheduling system, specifies unified item traffic criteria, by flexibly dispatching configuration, connect Enter the item business of constituent parts, realize mutually calling between constituent parts item business, each operation system only needs to call scheduling The standard interface of system, the cooperation between each operation system is completed by scheduling system.
Intelligent distribution scheduling system of the present invention based on item business rule can break each operation system letter Barrier is ceased, can will bid to host, accept data distribution to all departments' self-built systems, all departments directly can also be adjusted by intelligence distribution The docking service acquisition data that degree system is provided, realize that single item, the department that collapses (collapse level) collaboration examination and approval procedure distribution are collected Transmission.
The intelligent distribution scheduling system carries routing function, can be according to each node data stream size control docking number According to flow direction, the problem of solving big concurrent scene service system queuing calling interface.System provides service monitoring, service pair for oneself Account, the secondary submission function of service.
Basic unit of city public service comprehensive platform is public to uniformly accepting application system, (area) department of city approval system, basic unit Service system is integrated, and cooperative scheduling is carried out by dispatching management information system.Dispatching management information system concentrates deployment, realizes urban district Jie She Level Four vertically allocates scheduling.
Preferably, the function of the intelligent distribution scheduling system include item Services Integration, item data cache management, Item telecommunication management, service monitoring, service safe and Interface design, item Services Integration function include item mapping, agreement and turned Change, service orchestration, transaction management and custom adapter;Item data cache management function includes the management of caching time-out, caching Policy definition, caching persistence, cache hit rate and caching index;Item telecommunication management function includes item port addressing, hair Cloth/subscription, interface standard management, synchronous/asynchronous message and response/request;Service monitoring function includes service monitoring, calls system Meter, service valuation and service testing;Service safe function includes certification, mandate, encryption and daily record;Interface design function includes adjusting With flow and interface class.
Preferably, the item of the item Services Integration function, which is mapped as configuration synthesis, accepts item with docking business system Relation between item of uniting, defines item title corresponding relation, item coding corresponding relation, including one-to-one mapping, complicated element Mapping, the mapping of multipair multielement, one to many mappings, more to one mapping.
One-to-one mapping:Source field is directly assigned to aiming field.
Complicated element mapping:The daughter element of same attribute-name is directly mapped to destination object, attribute-name is different to be ignored, If daughter element is array, ignore.
Multipair multielement mapping:The element of same number is created in target, if daughter element is array, is ignored.
One maps more to:Same source element may map to multiple object elements.
More to one mapping:Do not support many-one to map in mapping ruler, if it is desired to by some value of multiple elements and Value, average value are mapped to single object element, then need to use formula rule.If it is desired to by multiple element Select to use, Then need to use filtering rule.
Passed preferably, the protocol conversion of the item Services Integration function is different business systems using different agreements Pass message, dispatching management information system provides different interface types to adapt to different entrance or outlet, and the conversion of agreement is in scheduling Management system enclosed inside is completed, it is not necessary to do too many related amendments at access system end.
Service orchestration is referred to for the purpose of user's request, and various services or key element are carried out to arrangement and the tissue of science, Make each part balance coordination, generation disclosure satisfy that the service that user requires.
One complete composite services or flow services are defined by service analysis and design, this service has complete Service interface and service contract document, and the difference of conventional method are that this composite services is realized by service orchestration Out, without realizing the layout and combination of service by way of program development code.
The emphasis of layout is that service can connect service, therefore toward up one output serviced by as next service Input information, it is after upper one service progress service call and calculating obtain result that output information is direct and next service Input information is mapped, and just reaches the purpose of basic Service Assembly and layout.
Transaction management mainly includes distributed transaction, Two-phase commitment, stage submission, affairs compensation mechanism etc..
Distributed transaction:XA is the specification for the distributed transaction that proposition is organized by X/Open.XA specification main definitions are (complete Office) between task manager (Transaction Manager) and (part) explorer (Resource Manager) Interface.XA interfaces are two-way system interfaces, in task manager (Transaction Manager) and one or more moneys Communication bridge is formed between source manager (Resource Manager).XA why need introduce task manager be because, In a distributed system, theoretically, consistent state is unable to reach on two machine theories, it is necessary to introduce a single-point to enter Row is coordinated.Task manager controls global transaction, manages affairs life cycle, and coordinate resource.Explorer is responsible for control System and management real resource.
Two-phase commitment refers to the first stage:Preparatory stage, second stage:Presentation stage.Submission is divided into two benches to enter Row submits affairs as far as possible lately, allows affairs to complete all work that can be completed as much as possible before submission, so, last carries The friendship stage will be a time-consuming extremely short small operation, and the probability that this operation fails in a distributed system is very small , that is, so-called " network communication critical days " is very of short duration, and this is that Two-phase commitment ensures distributed transaction atomicity Key point.From the point of view of the working method of Two-phase commitment, it is obvious that needed during affairs are submitted in multiple nodes Between coordinated, and each node to lock resource release must be carried until affairs are finally submitted, so compared with a stage Hand over, Two-phase commitment can consume the more time when performing same affairs.The extension that affairs perform the time means to lock resource The probability increase clashed, when the concurrency of affairs reaches certain amount, just occurs that a large amount of affairs overstock even There is deadlock, systematic function will seriously glide.
One stage submitted:It is to send submission from application program to database to ask after completing submission or rollback to database Return result to the process of application program.One stage, which submitted not needing to be not present between " coordinator " role, each node, coordinates Operation, therefore its affairs execution time is shorter than Two-phase commitment, but " critical days " submitted is the reality of each affairs Submission time, compared to Two-phase commitment, a stage submits the probability for appearing in " inconsistent " just to become greatly.
Affairs compensation mechanism:For the high degree of autonomy based on structures such as http/web service/rpc/jms (autonomy) distributed system interface a, stage submits pattern to be helpless, under such scene, affairs compensation mechanism It can realize " final consistency ".
Because the operation system of each unit varies, the data format of various systems is completely different, and this is related to The problem of being recognized to data, more common way is to develop a set of adapter for each data format, than if any database Adapter, file adapter etc., database adapter are divided into ORACLE adapters, SQL SERVER adapters etc. again.
System supports the self-defined exploitation for adapter, can need to carry out self-defined exploitation according to actual extension.
Preferably, the item data that item data cache management function synthesized accepts completion fully enter control centre Cache pool, is uniformly scheduled by control centre, and each operation system is transferred to by docking center.
Caching time-out management:The comprehensive item data for accepting completion enter after control centre's cache pool, and system passes through to thing The monitoring of item data, realizes the monitoring to item data mode.
The scheduled time-out time sent of every item data of default, for not taken more than the time by operation system The item data walked, regular according to setting is handled.
How system is handled after can setting data cached time-out time and time-out.
Cache policy is defined:System sets priority for the scheduling of item data, and the order that can be got ahead according to arriving first is entered Row scheduling, can also carry out urgent scheduling according to actual message parameter.
Cache persistence:For not carrying out persistence processing by the item data of successful dispatch for a long time in cache pool, adopt Timeout datum is stored with the mode of database table or storage hard disk, and the data of persistence are analyzed, is recorded not by success The reason for scheduling, the data of persistence can also continue to complete scheduling by the setting of control centre.
Cache hit rate:System obtains the success rate of item data by recording each operation system service from cache pool, The operation health condition of evaluation services.
Caching index:System provides index for all item data being stored in cache pool, and administrative staff can inquire about Item data, the dispatch situation of monitoring data, it is possible to which data are carried out with manual scheduling.
Preferably, in the interface standard management of the item telecommunication management function, dispatching management information system and operation system Between interacting message carried out by standard interface, realize the messaging between dispatching management information system and operation system, main bag Include transmission interface, state report.
Transmission interface is realized is sent to operation system by item data by dispatching management information system.
State report is used for the delivery situation for reporting the item data sent, and display data is the letter enough normally received Breath.
Item port addressing:A service addressing pattern based on service bus is provided for item service, to be reached for clothes The position of business provides the purpose of transparent support.Using the addressing of service bus, the address that external service running environment is relied on is right Other services on service bus can accomplish fully transparent.
Publish/subscribe:The limitation that destination queue geography is pointed to can be broken through by making the distribution of message, make message according to specific Theme even content is distributed, and user or application program can be according to theme or content receptions to required message.Issue/ Subscribing to function causes the coupled relation between sender and recipients to become more loose, and sender need not be concerned about the mesh of recipient Address, and recipient need not also be concerned about the transmission address of message, and the transmitting-receiving of message is simply carried out according to the theme of message.
Synchronous/asynchronous message:The communication mode of dispatching management information system is divided into synchronized transmission and asynchronous transmission.
Synchronized transmission ensure that every message is all smoothly received and handled, if waiting overtime table after sending message Show that other side may not properly not receive and handle message, sender can carry out the operation such as retransmitting to message.Therefore synchronized transmission Mode ensure that the reliability of message to a certain extent.
There is transmitting-receiving caching in asynchronous system, when receiving terminal process exception is restarted, message may lose in caching due to centre, Therefore the message that sender sends out, which is not ensured that, to be received and is handled.As thread-level it is asynchronous for, it is necessary to receive Increase message SN in the message for sending out both sides, and to the sequence number that every message of transmission, message are sent, the sequence of message sink Row number carries out persistence, and such process can be synchronized after restarting to the sequence number of both sides, is taken out from persistence module The part messages of loss.The reliability that message is sent just is can guarantee that in this way.
Response/request:In response/request message sending mode, an application program sends a piece of news, and (request disappears Breath) request message is arrived again to another response application program (response maker).The application program of generation response obtains request and disappeared Breath, processing request, and send response to request applications.Response is sent to the message header attribute by request message The queue that replyToQueueManager is specified.Request applications can be in request message before message is placed to queue Upper these message header attributes of setting.
Preferably, the service monitoring of the service monitoring function includes scheduling abnormal monitoring, monitoring nodes and scheduling prison Control, for scheduling result inquiry and schedule history record.
Scheduling result is inquired about:Inquired about for the process dispatched in dispatching management information system, and carry out Analysis on Issues Related, The scheduling of all cross-system business can be related to, portfolio is than larger, and work flow is more complicated, these is dispatched herein Journey will be managed effectively, to facilitate the tracking to business and data.
Schedule history is recorded:Recorded for all scheduling operations, to facilitate follow-up data statistic analysis, history Recording, tracking etc..
The scheduling of all cross-system business can be related in dispatching management information system, portfolio is than larger, and work flow is more multiple It is miscellaneous, these scheduling processes to be carried out with effective management and monitoring herein, to facilitate the tracking to business and data.
Call statistics:Counted to dispatching data in dispatching management information system, participate in the application system of service interaction, every time Initiate or receive service, dispatching management information system is all counted to it, and record service request time, service completion time, hair Play service entities ID, service entities ID, service operations, service state etc..Mainly include:Dispatch situation shows that scheduling problem is divided Analysis, schedules traffic analysis etc..Dispatch situation displaying is primarily referred to as showing by scheduling process in scheduling system.
Service valuation:Mainly to the dispatching efficiency of service, scheduling success ratio, influence scheduling the reason for and centralized dispatching system Health status of system etc. is analyzed.Analyze portfolio number, help related personnel for business accept wait carry out accordingly Adjustment.
Service testing:System provides the state verification to registered all services, and function logic is as follows:
A) front end input URL or WSDL document address of service are obtained;
B) the resource connecting object of address of service is created;
C) application resource connecting object is attached with WS services, if successful connection, and service is available, on the contrary then service different Often;
D) service detection the results list is returned, and testing result includes:Service ID, service name, service URL, method name, shape State.
Preferably, there is provided business for the legitimacy of the certification guarantee access dispatching management system of the service safe function Bidirectional identification between application system and dispatching management information system is conscientious, using the certification mode based on certificate.
Authorize:Rights management is carried out to corresponding dispatch service there is provided safely and effectively scheduling mechanism, is made between related system Be invoked at and can be carried out in the range of.
Preferably, the system cryptographic services by the way of certificate that are encrypted as of the service safe function call data, Control centre is using the public spoon of recipient to data encryption, and recipient is then decrypted using the private spoon of oneself.
Daily record:All operations of console flowing water log recording front-end control platform, including login, certification, configuration, modification, The operation such as cancellation.
The overall process trace of routing relation configuration log record routing relation configuration, each step behaviour of record configuration process Make.
Preferably, in the interface class of the Interface design function, the standard interface point in interface applications management system To notify class and service class.
Call flow:
1. city, area unify receiving system interface be published to interface applications management when, interface service and standard interface need to be configured The incidence relation of service.
2. the office of doing of committee receives new business, the standard interface service of interface applications management system is directly invoked, by standard Send required parameter.
3. interface applications management system is received after required parameter, according to " goal systems numbering ", required parameter circulation is arrived City/area unifies receiving system interface service.
4. city/area unifies receiving system return parameters to interface applications management system.
5. " return parameters " are circulated to committee and do office by interface applications management system, complete information and exchange.
Compared with prior art, the intelligent distribution scheduling system of the invention based on item business rule has following prominent Beneficial effect:
(1) standardization of business interface
Pass through the adapter of dispatching management information system, externally provide the interface of standard, it is to avoid interface overlapping development, it is mutually similar The problem of interface standard of type is different, are that there is provided unified standard for interconnecting between item business.
(2) data docking validity is improved
Real time service monitoring and service data buffer service by the system of dispatching, improve data to a certain extent Validity, integrality solved in data docking the problem of lose part.
(3) security of data docking
The service safe mechanism that scheduling system is carried, deepens in terms of certification, mandate, encryption, audit log etc. are several The security maintenance of data, makes the data of docking both sides safer.
Brief description of the drawings
Fig. 1 is the structured flowchart of the intelligent distribution scheduling system of the present invention based on item business rule;
Fig. 2 is the signal of the Two-phase commitment of the intelligent distribution scheduling system of the present invention based on item business rule Figure;
Fig. 3 is the call flow schematic diagram of the intelligent distribution scheduling system of the present invention based on item business rule.
Embodiment
Below in conjunction with drawings and examples, the intelligent distribution scheduling system based on item business rule to the present invention is made It is further described.
Embodiment
As shown in figure 1, the intelligent distribution scheduling system based on item business rule of the present invention, the business according to item is advised Then, adapter is defined, for the individual character interface of each item, unified interface standard is externally provided, after the completion of standard interface definition, It is published in intelligent distribution scheduling system, specifies unified item traffic criteria, by flexibly dispatching configuration, accesses constituent parts Item business, realize mutually calling between constituent parts item business, each operation system only needs to call the mark of scheduling system Quasi- interface, the cooperation between each operation system is completed by scheduling system, and the function of the intelligent distribution scheduling system takes including item Integrated, the item data cache management of business, item telecommunication management, service monitoring, service safe and Interface design.
First, item Services Integration function include item mapping, protocol conversion, service orchestration, transaction management and it is self-defined fit Orchestration.
Item is mapped as configuring integrating and accepts item and dock the relation between operation system item, defines item title correspondence Relation, item coding corresponding relation, including one-to-one mapping, the mapping of complicated element, the mapping of multipair multielement, one to many mappings, More to one mapping.
One-to-one mapping:Source field is directly assigned to aiming field.
Complicated element mapping:The daughter element of same attribute-name is directly mapped to destination object, attribute-name is different to be ignored, If daughter element is array, ignore.
Multipair multielement mapping:The element of same number is created in target, if daughter element is array, is ignored.
One maps more to:Same source element may map to multiple object elements.
More to one mapping:Do not support many-one to map in mapping ruler, if it is desired to by some value of multiple elements and Value, average value are mapped to single object element, then need to use formula rule.If it is desired to by multiple element Select to use, Then need to use filtering rule.
Protocol conversion:Different business systems provide different connect using different agreement transmission message, dispatching management information system Mouthful type is to adapt to different entrance or outlet, and the conversion of agreement is completed in dispatching management information system enclosed inside, it is not necessary to connect Enter system end and do too many related amendments.
Service orchestration:For the purpose of user's request, various services or key element are carried out to arrangement and the tissue of science, make each Part balance coordination, generation disclosure satisfy that the service that user requires.
One complete composite services or flow services are defined by service analysis and design, this service has complete Service interface and service contract document, and the difference of conventional method are that this composite services is realized by service orchestration Out, without realizing the layout and combination of service by way of program development code.
The emphasis of layout is that service can connect service, therefore toward up one output serviced by as next service Input information, it is after upper one service progress service call and calculating obtain result that output information is direct and next service Input information is mapped, and just reaches the purpose of basic Service Assembly and layout.
Transaction management mainly includes distributed transaction, Two-phase commitment, stage submission, affairs compensation mechanism etc..
Distributed transaction:XA is the specification for the distributed transaction that proposition is organized by X/Open.XA specification main definitions are (complete Office) between task manager (Transaction Manager) and (part) explorer (Resource Manager) Interface.XA interfaces are two-way system interfaces, in task manager (Transaction Manager) and one or more moneys Communication bridge is formed between source manager (Resource Manager).XA why need introduce task manager be because, In a distributed system, theoretically, consistent state is unable to reach on two machine theories, it is necessary to introduce a single-point to enter Row is coordinated.Task manager controls global transaction, manages affairs life cycle, and coordinate resource.Explorer is responsible for control System and management real resource.
As shown in Fig. 2 Two-phase commitment refers to the first stage:Preparatory stage and second stage:Presentation stage.It will submit and divide Into two benches carry out it is as far as possible late submit affairs, allow affairs completed as much as possible before submission it is all can completions work, this Sample, last presentation stage will be a time-consuming extremely short small operation, what this operation failed in a distributed system Probability is that very small so-called that is, " network communication critical days " is very of short duration, and this is that Two-phase commitment ensures distribution The key point of formula transaction atomicity.From the point of view of the working method of Two-phase commitment, it is obvious that needed during affairs are submitted To be coordinated among multiple nodes, and each node to lock resource release must until affairs are finally submitted, so, than Play a stage to submit, Two-phase commitment can consume the more time when performing same affairs.Affairs perform the extension meaning of time Taste the probability increase that lock resource is clashed, and when the concurrency of affairs reaches certain amount, a large amount of things just occur Business, which is overstock, even there is deadlock, and systematic function will seriously glide.
One stage submitted:It is to send submission from application program to database to ask after completing submission or rollback to database Return result to the process of application program.One stage, which submitted not needing to be not present between " coordinator " role, each node, coordinates Operation, therefore its affairs execution time is shorter than Two-phase commitment, but " critical days " submitted is the reality of each affairs Submission time, compared to Two-phase commitment, a stage submits the probability for appearing in " inconsistent " just to become greatly.
Affairs compensation mechanism:For the high degree of autonomy based on structures such as http/web service/rpc/jms (autonomy) distributed system interface a, stage submits pattern to be helpless, under such scene, affairs compensation mechanism It can realize " final consistency ".
Because the operation system of each unit varies, the data format of various systems is completely different, and this is related to The problem of being recognized to data, more common way is to develop a set of adapter for each data format, than if any database Adapter, file adapter etc., database adapter are divided into ORACLE adapters, SQL SERVER adapters etc. again.
System supports the self-defined exploitation for adapter, can need to carry out self-defined exploitation according to actual extension.
2nd, item data cache management function includes the management of caching time-out, cache policy definition, caching persistence, caching Hit rate and caching are indexed.
The comprehensive item data for accepting completion fully enter the cache pool of control centre, are unified to be adjusted by control centre Degree, each operation system is transferred to by docking center.The presence of control centre's cache pool, unites between item data and operation system One scheduling, optimizes call flow, and speed is called in raising.Define, cache persistence, delay including caching time-out management, cache policy Deposit hit rate and caching is indexed.
Caching time-out management:The comprehensive item data for accepting completion enter after control centre's cache pool, and system passes through to thing The monitoring of item data, realizes the monitoring to item data mode.
The scheduled time-out time sent of every item data of default, for not taken more than the time by operation system The item data walked, regular according to setting is handled.
How system is handled after can setting data cached time-out time and time-out.
Cache policy is defined:System sets priority for the scheduling of item data, and the order that can be got ahead according to arriving first is entered Row scheduling, can also carry out urgent scheduling according to actual message parameter.
Cache persistence:For not carrying out persistence processing by the item data of successful dispatch for a long time in cache pool, adopt Timeout datum is stored with the mode of database table or storage hard disk, and the data of persistence are analyzed, is recorded not by success The reason for scheduling, the data of persistence can also continue to complete scheduling by the setting of control centre.
Cache hit rate:System obtains the success rate of item data by recording each operation system service from cache pool, The operation health condition of evaluation services.
Caching index:System provides index for all item data being stored in cache pool, and administrative staff can inquire about Item data, the dispatch situation of monitoring data, it is possible to which data are carried out with manual scheduling.
3rd, item telecommunication management function includes item port addressing, publish/subscribe, interface standard management, synchronous/asynchronous Message and response/request.
Item port addressing:A service addressing pattern based on service bus is provided for item service, to be reached for clothes The position of business provides the purpose of transparent support.Using the addressing of service bus, the address that external service running environment is relied on is right Other services on service bus can accomplish fully transparent.
Publish/subscribe:The limitation that destination queue geography is pointed to can be broken through by making the distribution of message, make message according to specific Theme even content is distributed, and user or application program can be according to theme or content receptions to required message.Issue/ Subscribing to function causes the coupled relation between sender and recipients to become more loose, and sender need not be concerned about the mesh of recipient Address, and recipient need not also be concerned about the transmission address of message, and the transmitting-receiving of message is simply carried out according to the theme of message.
In interface standard management, interacting message is carried out by standard interface between dispatching management information system and operation system, real Existing messaging between dispatching management information system and operation system, mainly including transmission interface, state report.
Transmission interface is realized is sent to operation system by item data by dispatching management information system.
State report is used for the delivery situation for reporting the item data sent, and display data is the letter enough normally received Breath.
Synchronous/asynchronous message:The communication mode of dispatching management information system is divided into synchronized transmission and asynchronous transmission.
Synchronized transmission ensure that every message is all smoothly received and handled, if waiting overtime table after sending message Show that other side may not properly not receive and handle message, sender can carry out the operation such as retransmitting to message.Therefore synchronized transmission Mode ensure that the reliability of message to a certain extent.
There is transmitting-receiving caching in asynchronous system, when receiving terminal process exception is restarted, message may lose in caching due to centre, Therefore the message that sender sends out, which is not ensured that, to be received and is handled.As thread-level it is asynchronous for, it is necessary to receive Increase message SN in the message for sending out both sides, and to the sequence number that every message of transmission, message are sent, the sequence of message sink Row number carries out persistence, and such process can be synchronized after restarting to the sequence number of both sides, is taken out from persistence module The part messages of loss.The reliability that message is sent just is can guarantee that in this way.
Response/request:In response/request message sending mode, an application program sends a piece of news, and (request disappears Breath) request message is arrived again to another response application program (response maker).The application program of generation response obtains request and disappeared Breath, processing request, and send response to request applications.Response is sent to the message header attribute by request message The queue that replyToQueueManager is specified.Request applications can be in request message before message is placed to queue Upper these message header attributes of setting.
4th, service monitoring function includes service monitoring, calls statistics, service valuation and service testing.
Service monitoring includes scheduling abnormal monitoring, monitoring nodes and dispatching and monitoring, is gone through for scheduling result inquiry and scheduling The Records of the Historian is recorded.
Scheduling result is inquired about:Inquired about for the process dispatched in dispatching management information system, and carry out Analysis on Issues Related, The scheduling of all cross-system business can be related to, portfolio is than larger, and work flow is more complicated, these is dispatched herein Journey will be managed effectively, to facilitate the tracking to business and data.
Schedule history is recorded:Recorded for all scheduling operations, to facilitate follow-up data statistic analysis, history Recording, tracking etc..
The scheduling of all cross-system business can be related in dispatching management information system, portfolio is than larger, and work flow is more multiple It is miscellaneous, these scheduling processes to be carried out with effective management and monitoring herein, to facilitate the tracking to business and data.
Call statistics:Counted to dispatching data in dispatching management information system, participate in the application system of service interaction, every time Initiate or receive service, dispatching management information system is all counted to it, and record service request time, service completion time, hair Play service entities ID, service entities ID, service operations, service state etc..Mainly include:Dispatch situation shows that scheduling problem is divided Analysis, schedules traffic analysis etc..Dispatch situation displaying is primarily referred to as showing by scheduling process in scheduling system.
Service valuation:Mainly to the dispatching efficiency of service, scheduling success ratio, influence scheduling the reason for and centralized dispatching system Health status of system etc. is analyzed.Analyze portfolio number, help related personnel for business accept wait carry out accordingly Adjustment.
Service testing:System provides the state verification to registered all services, and function logic is as follows:
A) front end input URL or WSDL document address of service are obtained;
B) the resource connecting object of address of service is created;
C) application resource connecting object is attached with WS services, if successful connection, and service is available, on the contrary then service different Often;
D) service detection the results list is returned, and testing result includes:Service ID, service name, service URL, method name, shape State.
5th, service safe function includes certification, mandate, encryption and daily record.
Certification:There is provided between business application system and dispatching management information system for the legitimacy of guarantee access dispatching management system Bidirectional identification it is conscientious, using the certification mode based on certificate.
Authorize:Rights management is carried out to corresponding dispatch service there is provided safely and effectively scheduling mechanism, is made between related system Be invoked at and can be carried out in the range of.
It is encrypted as system cryptographic services by the way of certificate and calls data, control centre uses the public spoon logarithm of recipient According to encryption, and recipient is then decrypted using the private spoon of oneself.
Daily record:All operations of console flowing water log recording front-end control platform, including login, certification, configuration, modification, The operation such as cancellation.
The overall process trace of routing relation configuration log record routing relation configuration, each step behaviour of record configuration process Make.
6th, Interface design function is designed to the interface for dispatching system, including call flow and interface class.
As shown in figure 3, call flow is specific as follows:
1. city, area unify receiving system interface be published to interface applications management when, interface service and standard interface need to be configured The incidence relation of service.
2. the office of doing of committee receives new business, the standard interface service of interface applications management system is directly invoked, by standard Send required parameter.
3. interface applications management system is received after required parameter, according to " goal systems numbering ", required parameter circulation is arrived City/area unifies receiving system interface service.
4. city/area unifies receiving system return parameters to interface applications management system.
5. " return parameters " are circulated to committee and do office by interface applications management system, complete information and exchange.
Interface class is divided into notice class and service class, as shown in table 1.
The interface class of table 1
Embodiment described above, is the present invention more preferably embodiment, those skilled in the art is at this The usual variations and alternatives carried out in the range of inventive technique scheme all should be comprising within the scope of the present invention.

Claims (10)

1. a kind of intelligent distribution scheduling system based on item business rule, it is characterised in that:The intelligent distribution scheduling system According to the business rule of item, adapter is defined, for the individual character interface of each item, unified interface standard, mark is externally provided After the completion of quasi- interface definition, it is published in intelligent distribution scheduling system, unified item traffic criteria is specified, by flexibly adjusting Degree configuration, accesses the item business of constituent parts, realizes mutually calling between constituent parts item business, each operation system is only needed to The standard interface of scheduling system is called, the cooperation between each operation system is completed by scheduling system.
2. the intelligent distribution scheduling system according to claim 1 based on item business rule, it is characterised in that:The intelligence Can distribution scheduling system function include item Services Integration, item data cache management, item telecommunication management, service monitoring, Service safe and Interface design, item Services Integration function include item mapping, protocol conversion, service orchestration, transaction management and Custom adapter;Item data cache management function is defined including caching time-out management, cache policy, caches persistence, delayed Deposit hit rate and caching is indexed;Item telecommunication management function is managed, together including item port addressing, publish/subscribe, interface standard Step/asynchronous message and response/request;Service monitoring function includes service monitoring, calls statistics, service valuation and service testing; Service safe function includes certification, mandate, encryption and daily record;Interface design function includes call flow and interface class.
3. the intelligent distribution scheduling system according to claim 1 or 2 based on item business rule, it is characterised in that:Institute State item Services Integration function item be mapped as configuration synthesis accept item and dock the relation between operation system item, definition Item title corresponding relation, item coding corresponding relation, including one-to-one mapping, complicated element map, multipair multielement maps, One maps to many mappings, more to one.
4. the intelligent distribution scheduling system according to claim 3 based on item business rule, it is characterised in that:The thing The protocol conversion of item Services Integration function uses different agreements transmission message, dispatching management information system offer for different business systems Different interface types is to adapt to different entrance or outlet, and the conversion of agreement is completed in dispatching management information system enclosed inside.
5. the intelligent distribution scheduling system according to claim 4 based on item business rule, it is characterised in that:Transaction total The item data for accepting completion according to cache management function synthesized fully enter the cache pool of control centre, are uniformly entered by control centre Row scheduling, each operation system is transferred to by docking center.
6. the intelligent distribution scheduling system according to claim 5 based on item business rule, it is characterised in that:The thing In the interface standard management of item telecommunication management function, interacting message passes through standard interface between dispatching management information system and operation system Carry out, realize the messaging between dispatching management information system and operation system.
7. the intelligent distribution scheduling system according to claim 6 based on item business rule, it is characterised in that:The clothes The service monitoring of business monitoring function includes scheduling abnormal monitoring, monitoring nodes and dispatching and monitoring, inquires about and adjusts for scheduling result Spend historical record.
8. the intelligent distribution scheduling system according to claim 7 based on item business rule, it is characterised in that:The clothes The certification for security function of being engaged in ensure the legitimacy of access dispatching management system there is provided business application system and dispatching management information system it Between bidirectional identification it is conscientious, using the certification mode based on certificate.
9. the intelligent distribution scheduling system according to claim 8 based on item business rule, it is characterised in that:The clothes The system cryptographic services by the way of certificate that are encrypted as of business security function call data, and control centre uses the public spoon of recipient To data encryption, recipient is then decrypted using the private spoon of oneself.
10. the intelligent distribution scheduling system according to claim 9 based on item business rule, it is characterised in that:It is described In the interface class of Interface design function, the standard interface in interface applications management system is divided into notice class and service class.
CN201710547560.2A 2017-07-06 2017-07-06 A kind of intelligent distribution scheduling system based on item business rule Pending CN107194674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710547560.2A CN107194674A (en) 2017-07-06 2017-07-06 A kind of intelligent distribution scheduling system based on item business rule

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710547560.2A CN107194674A (en) 2017-07-06 2017-07-06 A kind of intelligent distribution scheduling system based on item business rule

Publications (1)

Publication Number Publication Date
CN107194674A true CN107194674A (en) 2017-09-22

Family

ID=59882010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710547560.2A Pending CN107194674A (en) 2017-07-06 2017-07-06 A kind of intelligent distribution scheduling system based on item business rule

Country Status (1)

Country Link
CN (1) CN107194674A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846641A (en) * 2018-06-21 2018-11-20 甘肃万维信息技术有限责任公司 A kind of method and system of government affairs service item distribution
CN110782127A (en) * 2019-09-26 2020-02-11 深圳市保臻社区服务科技有限公司 Method, apparatus and computer readable storage medium for unified scheduling system service capability
CN110807542A (en) * 2019-09-26 2020-02-18 深圳市保臻社区服务科技有限公司 Method, apparatus and computer readable storage medium for intelligently orchestrating system business capabilities
CN110807619A (en) * 2019-10-31 2020-02-18 浪潮云信息技术有限公司 Method for supporting business handling in government affair service field
CN110837914A (en) * 2019-09-26 2020-02-25 深圳市保臻社区服务科技有限公司 Method and device for promoting management charge payment rate and computer readable storage medium
CN110912814A (en) * 2019-10-22 2020-03-24 苏宁云计算有限公司 Interface data distribution method and device
CN110969417A (en) * 2019-11-29 2020-04-07 数字广东网络建设有限公司 Government affair item synchronization method, device, system, computer equipment and storage medium
CN111062850A (en) * 2019-12-19 2020-04-24 贵州惠智电子技术有限责任公司 Government affair integration management system for solving interconnection and intercommunication of multi-platform services

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139251A (en) * 2011-11-29 2013-06-05 神州数码信息系统有限公司 Method of city-level data sharing exchange platform technology
CN205721983U (en) * 2016-04-08 2016-11-23 苏州希格玛科技有限公司 A kind of smart city general character service platform
CN106503257A (en) * 2016-11-15 2017-03-15 北京京东金融科技控股有限公司 Distributed transaction server method and system based on binlog compensation mechanism

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139251A (en) * 2011-11-29 2013-06-05 神州数码信息系统有限公司 Method of city-level data sharing exchange platform technology
CN205721983U (en) * 2016-04-08 2016-11-23 苏州希格玛科技有限公司 A kind of smart city general character service platform
CN106503257A (en) * 2016-11-15 2017-03-15 北京京东金融科技控股有限公司 Distributed transaction server method and system based on binlog compensation mechanism

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
段晓瑞: ""互联网+"让政务服务更智慧", 《云南日报》 *
王健: "芜湖市政务服务"一窗式"网上办理平台的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108846641A (en) * 2018-06-21 2018-11-20 甘肃万维信息技术有限责任公司 A kind of method and system of government affairs service item distribution
CN110782127A (en) * 2019-09-26 2020-02-11 深圳市保臻社区服务科技有限公司 Method, apparatus and computer readable storage medium for unified scheduling system service capability
CN110807542A (en) * 2019-09-26 2020-02-18 深圳市保臻社区服务科技有限公司 Method, apparatus and computer readable storage medium for intelligently orchestrating system business capabilities
CN110837914A (en) * 2019-09-26 2020-02-25 深圳市保臻社区服务科技有限公司 Method and device for promoting management charge payment rate and computer readable storage medium
CN110912814A (en) * 2019-10-22 2020-03-24 苏宁云计算有限公司 Interface data distribution method and device
CN110807619A (en) * 2019-10-31 2020-02-18 浪潮云信息技术有限公司 Method for supporting business handling in government affair service field
CN110969417A (en) * 2019-11-29 2020-04-07 数字广东网络建设有限公司 Government affair item synchronization method, device, system, computer equipment and storage medium
CN110969417B (en) * 2019-11-29 2023-06-13 数字广东网络建设有限公司 Government affair item synchronization method, device, system, computer equipment and storage medium
CN111062850A (en) * 2019-12-19 2020-04-24 贵州惠智电子技术有限责任公司 Government affair integration management system for solving interconnection and intercommunication of multi-platform services

Similar Documents

Publication Publication Date Title
CN107194674A (en) A kind of intelligent distribution scheduling system based on item business rule
US8265970B2 (en) Systems and methods for managing business processes in an enterprise
CN105069010B (en) Resource polymerization method based on multi-Agent
US20090299885A1 (en) Billing device and processing method
US20110191217A1 (en) Approval workflow engine for services procurement timesheets, progress logs, and expenses
US10069706B1 (en) Method and system for implementing a network analysis tool for endpoints deployments
WO2000041104A2 (en) A method and system for managing mobile workers
CA2483598A1 (en) System for managing real estate properties
CN107835240A (en) A kind of standard is uniformly accessed into the multi-vendor access system of platform and cut-in method
CN109886656A (en) A kind of workflow engine system for supporting multisystem
US20070192175A1 (en) System and method for deliberating a proposal
CN101471803B (en) Conference service system and method
CN110490559A (en) A kind of mobile law enforcement inspection method, device, system and server
CN110062041A (en) A kind of method and device of the IOT equipment changing based on block chain
CN109067669A (en) Synchronization call method and application based on asynchronous interface
CN103179211A (en) Cloud-computing-based data processing method and system of comprehensive operation support system
CN106302368B (en) Transaction methods and device
CN109600426A (en) One kind being based on SOA business development platform
CN102541539B (en) Method for designing intelligent panel of supply chain based on M2M (Machine to Machine)
US8117334B2 (en) System and methods for workflow management
CN114285876B (en) Application interconnection architecture for industrial manufacturing
CN110321236A (en) A kind of remote method call implementation method based on OpenDDS
US11042514B2 (en) Collaboration computer system
CN102231735A (en) Network information integration system and integration method thereof
CN100524321C (en) System and method for implementing page

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170922