CN103617210B - A kind of dynamic routing system and its working method of Multi-target Data service layer - Google Patents

A kind of dynamic routing system and its working method of Multi-target Data service layer Download PDF

Info

Publication number
CN103617210B
CN103617210B CN201310584070.1A CN201310584070A CN103617210B CN 103617210 B CN103617210 B CN 103617210B CN 201310584070 A CN201310584070 A CN 201310584070A CN 103617210 B CN103617210 B CN 103617210B
Authority
CN
China
Prior art keywords
data service
module
dynamic routing
dynamic
service module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310584070.1A
Other languages
Chinese (zh)
Other versions
CN103617210A (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
Zhejiang Huayun Information Technology Co Ltd
Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Zhejiang Huayun Information Technology Co Ltd
Information and Telecommunication Branch of State Grid Zhejiang Electric Power 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, Zhejiang Huayun Information Technology Co Ltd, Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201310584070.1A priority Critical patent/CN103617210B/en
Publication of CN103617210A publication Critical patent/CN103617210A/en
Application granted granted Critical
Publication of CN103617210B publication Critical patent/CN103617210B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Abstract

A kind of dynamic routing system and its working method of Multi-target Data service layer, are related to a kind of data access system.If realizing the concurrent access of legacy data service layer and cloud data service layer using existing Business Logic, using the program and source code of change service logic interface, stability is poor.The present invention includes: views module;Service logic interface;Dynamic router is connected with service logic interface and data service module and cloud data service module, for accessing connection data service module or cloud data service module according to the request selecting of service logic interface;Dynamic routing configuration module is connected for completing the configuration of dynamic routing with views module;General data service module connects dynamic router and general database, for parsing and accessing general database;Cloud data service module connects dynamic router, for accessing cloud database.The technical program guarantees the stability of original application system Business Logic.

Description

A kind of dynamic routing system and its working method of Multi-target Data service layer
Technical field
The present invention relates to a kind of data access systems.
Background technique
The data service layer implementation of existing application system, as shown in Figure 1, user is through view layer to service logic interface Data access request is issued, service logic interface is connected with data service layer, by accessing data after the parsing to operation code Library.Currently, the development of information system cloud data service technology, provides newly to the data access mode of large-scale telematics system Thinking, the current data access technology framework of large-scale operating information system are directlyed adopt without normal direction cloud data service smooth transition It is a kind of that without the data service technology sufficiently verified, there are great application risks.At present lack in the industry it is a kind of it is effective strategy exist Under the premise of ensureing existing system stable operation, sufficiently carry out the verifying of cloud data access technology.
If realizing the concurrent access of legacy data service layer and cloud data service layer using existing Business Logic, Need to change the program and source code of service logic interface, as shown in Fig. 2, needing between service logic interface and data service layer Increase data service layer selecting module, the function of data service layer selecting module is patrolled by software realization because being related to business The modification of volume interface routine and source code, is easily destroyed original program structure and stability, therefore in subsequent modification, perfect Lack flexibility in journey, is unfavorable for exploration, research and the verifying of subsequent all kinds of heterogeneous databases and data service layer technology.
Summary of the invention
The technical problem to be solved in the present invention and the technical assignment of proposition are to be improved and improved to prior art, The dynamic routing system and its working method of a kind of Multi-target Data service layer are provided, to reach the mesh for guaranteeing system stability 's.For this purpose, the present invention takes following technical scheme.
A kind of dynamic routing system of Multi-target Data service layer, characterized by comprising:
Views module, for the input of order and the output of data;
Service logic interface is connected with views module, as man-machine interface;
Dynamic router is connected with service logic interface and data service module and cloud data service module, is used for basis The request selecting access connection data service module or cloud data service module of service logic interface;
Dynamic routing configuration module is connected with views module for completing the configuration of dynamic routing, enables users to pass through Views module is written and read dynamic routing configuration module;
General data service module connects dynamic router and general database, for parsing and accessing general database;
Cloud data service module connects dynamic router, for accessing cloud database.
The technical program maintains original general technical framework, view and the interface definition of application system, service logic connects The implementation of mouth and legacy data library service layer.Increase dynamic routing function between service logic interface and data service layer Can, dynamic routing is acted on by dynamic routing configuration file, completes the execution selection and control of data service layer.
As further improving and supplementing to above-mentioned technical proposal, the invention also includes following additional technical features.
A kind of working method of the dynamic routing system of Multi-target Data service layer, it is characterised in that: the following steps are included:
1) user is issued by views module and is requested;
2) user's request is sent to dynamic router by service logic interface;
3) dynamic router is requested according to dynamic routing configuration and user, completes the execution selection and control of data service module System, data service module includes general data service module and cloud data service module.
When needing to modify the access and selection to data service module, dynamic routing is modified by views module and configures mould Relevant parameter in block.
The utility model has the advantages that the technical program adds dynamic routing engine between data service layer and Business Logic, pass through Dynamic routing configuration file is read to select different data services, original data service layer may be selected and commence business, it can also To select cloud data service layer, the verifying of cloud data service technology is carried out.If you need to modify access and selection to data service layer, only The relevant parameter in dynamic routing configuration file need to be modified, it is not necessary to modify service logic interface program and source codes, maintain Original general technical framework, view and the interface of application system defines, service logic interface and legacy data library service layer Implementation guarantees the stability of original application system Business Logic.
Detailed description of the invention
Fig. 1 is a kind of prior art flowchart for being only applicable to traditional data services.
Fig. 2 is prior art flowchart that is a kind of while being suitable for traditional data services and cloud data service.
Fig. 3 is flow chart of the invention.
Specific embodiment
Technical solution of the present invention is described in further detail below in conjunction with Figure of description.
A kind of dynamic routing system of Multi-target Data service layer, comprising:
Views module, for the input of order and the output of data;
Service logic interface is connected with views module, as man-machine interface;
Dynamic router is connected with service logic interface and data service module and cloud data service module, is used for basis The request selecting access connection data service module or cloud data service module of service logic interface;
Dynamic routing configuration module is connected with views module for completing the configuration of dynamic routing, enables users to pass through Views module is written and read dynamic routing configuration module;
General data service module connects dynamic router and general database, for parsing and accessing general database;
Cloud data service module connects dynamic router, for accessing cloud database.
As shown in figure 3, a kind of working method of the dynamic routing system of Multi-target Data service layer the following steps are included:
1) user is issued by views module and is requested;
2) user's request is sent to dynamic router by service logic interface;
3) dynamic router is requested according to dynamic routing configuration and user, completes the execution selection and control of data service module System, data service module includes general data service module and cloud data service module;
4) when needing to modify the access and selection to data service module, dynamic routing configuration is modified by views module Relevant parameter in module.
The dynamic routing system and its working method of a kind of Multi-target Data service layer shown in figure 3 above are of the invention Specific embodiment has embodied substantive distinguishing features of the present invention and progress, can use needs according to actual, open in of the invention Under showing, the equivalent modifications of shape, structure etc., the column in the protection scope of this programme are carried out to it.

Claims (1)

1. a kind of dynamic routing system of Multi-target Data service layer, characterized by comprising:
Views module, for the input of order and the output of data;
Service logic interface is connected with views module, as man-machine interface;
Dynamic router is connected with service logic interface and data service module and cloud data service module, for according to business The request selecting access connection data service module or cloud data service module of logic interfacing;
Dynamic routing configuration module is connected with views module for completing the configuration of dynamic routing, enables users to pass through view Module is written and read dynamic routing configuration module;
General data service module connects dynamic router and general database, for parsing and accessing general database;
Cloud data service module connects dynamic router, for accessing cloud database;
Dynamic routing engine is added between data service layer and Business Logic, is selected by reading dynamic routing configuration file Different data services is selected, original data service layer may be selected and commence business, also can choose cloud data service layer, carries out cloud Data service technology verifying;If you need to modify access and selection to data service layer, need to only modify in dynamic routing configuration file Relevant parameter, it is not necessary to modify service logic interface program and source codes, maintain original general technical of application system Framework, view and interface defines, the implementation of service logic interface and legacy data library service layer, guarantees original application system The stability of Business Logic;
Its work the following steps are included:
User is issued by views module and is requested;
User's request is sent to dynamic router by service logic interface;
Dynamic router is requested according to dynamic routing configuration and user, completes the execution selection and control of data service module, number It include general data service module and cloud data service module according to service module;
When needing to modify the access and selection to data service module, modified in dynamic routing configuration module by views module Relevant parameter.
CN201310584070.1A 2013-11-20 2013-11-20 A kind of dynamic routing system and its working method of Multi-target Data service layer Active CN103617210B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310584070.1A CN103617210B (en) 2013-11-20 2013-11-20 A kind of dynamic routing system and its working method of Multi-target Data service layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310584070.1A CN103617210B (en) 2013-11-20 2013-11-20 A kind of dynamic routing system and its working method of Multi-target Data service layer

Publications (2)

Publication Number Publication Date
CN103617210A CN103617210A (en) 2014-03-05
CN103617210B true CN103617210B (en) 2019-03-12

Family

ID=50167913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310584070.1A Active CN103617210B (en) 2013-11-20 2013-11-20 A kind of dynamic routing system and its working method of Multi-target Data service layer

Country Status (1)

Country Link
CN (1) CN103617210B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282019B (en) * 2014-12-29 2018-11-02 中国科学院沈阳自动化研究所 Data gateway based on service can configure method and system
CN111399943B (en) * 2020-03-12 2022-11-22 网易(杭州)网络有限公司 Data processing method, device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438100B1 (en) * 1998-08-07 2002-08-20 Alcatel Canada Inc. Method and apparatus for routing server redundancy in a network having carrier scale internetworking
CN102045385A (en) * 2010-10-21 2011-05-04 李斌 System and equipment for realizing personal cloud computing
CN102594661A (en) * 2012-01-19 2012-07-18 北京神州数码思特奇信息技术股份有限公司 Invocation method for providing and obtaining dynamic routing and static routing based on cloud computing deployment
CN102811252A (en) * 2011-05-19 2012-12-05 西门子公司 Method and system for apparatus means for providing a service requested by a client
CN103384272A (en) * 2013-07-05 2013-11-06 华中科技大学 Cloud service distributed data center system and load dispatching method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8527195B2 (en) * 2004-12-16 2013-09-03 General Motors Llc. Method to dynamically select a routing service option

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6438100B1 (en) * 1998-08-07 2002-08-20 Alcatel Canada Inc. Method and apparatus for routing server redundancy in a network having carrier scale internetworking
CN102045385A (en) * 2010-10-21 2011-05-04 李斌 System and equipment for realizing personal cloud computing
CN102811252A (en) * 2011-05-19 2012-12-05 西门子公司 Method and system for apparatus means for providing a service requested by a client
CN102594661A (en) * 2012-01-19 2012-07-18 北京神州数码思特奇信息技术股份有限公司 Invocation method for providing and obtaining dynamic routing and static routing based on cloud computing deployment
CN103384272A (en) * 2013-07-05 2013-11-06 华中科技大学 Cloud service distributed data center system and load dispatching method thereof

Also Published As

Publication number Publication date
CN103617210A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
CN105653644B (en) A kind of page constructor and page building method
CN102034152B (en) The method for integrating of heterogeneous software system data and system based on SOA framework
CN103761080B (en) Structured query language (SQL) based MapReduce operation generating method and system
CN101789045B (en) Realization method of MDA modeling tool orienting to manufacturing field
Molcho et al. Computer aided manufacturability analysis: Closing the knowledge gap between the designer and the manufacturer
CN104978411A (en) Train model development method and apparatus for high-speed train
CN102801565A (en) Method for carrying out centralized management on service configuration in network management system
CN110489812A (en) Multilayer level netlist processing method, device, computer equipment and storage medium
CN102981827B (en) A kind of display interface data processing method based on middleware and platform
CN107491399A (en) The upper computer software architecture design method of hardware bottom layer rapid configuration
CN101673358A (en) Method and device for managing authority in workflow component based on authority component
CN103049431A (en) ICD (IED Capability Description) inspection method based on objectified module semantics
CN104361025A (en) Method for fusing and integrating multi-source spatial data
CN102455903B (en) Method for generating user application interface
CN106951254A (en) The method and device that similar traffic functional module is multiplexed in payment system
CN105718601A (en) Dynamic business integrating model and application method thereof
CN103617210B (en) A kind of dynamic routing system and its working method of Multi-target Data service layer
CN102520963B (en) Method and system for realizing service logic processing based on strongly-typed relation mapping
CN104991874B (en) A kind of multi-controller storage device ALUA collocation methods based on SCST
CN102722601A (en) Implementation method of formal semantic integration framework for model transformation of numerical control system
CN103677841B (en) IETM code generation method and device based on element-level template
CN107728994A (en) A kind of computer software design system
CN111414725A (en) Software wiring structure modeling method and device for FPGA (field programmable Gate array) capable of being dynamically expanded
CN102929817A (en) Heterogeneous model information automatic configuring method based on GPIO (general purpose input/output)
CN103064885B (en) One realizes the synchronous input system of multi-key word and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100031 West Chang'an Avenue, Xicheng District, Xicheng District, Beijing

Applicant after: State Grid Corporation of China

Applicant after: Information communication branch office of Guo Wang Zhejiang Electric Power Company

Applicant after: Zhejiang Huayun Information Technology Co., Ltd.

Address before: 100031 West Chang'an Avenue, Xicheng District, Xicheng District, Beijing

Applicant before: State Grid Corporation of China

Applicant before: Information communication branch office of Guo Wang Zhejiang Electric Power Company

Applicant before: Zhejiang Creaway Automation Engineering Co., Ltd.

GR01 Patent grant
GR01 Patent grant