CN103617210A - Multi-target data service layer dynamic routing system and work method thereof - Google Patents

Multi-target data service layer dynamic routing system and work method thereof Download PDF

Info

Publication number
CN103617210A
CN103617210A CN201310584070.1A CN201310584070A CN103617210A CN 103617210 A CN103617210 A CN 103617210A CN 201310584070 A CN201310584070 A CN 201310584070A CN 103617210 A CN103617210 A CN 103617210A
Authority
CN
China
Prior art keywords
data service
module
dynamic
dynamic routing
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.)
Granted
Application number
CN201310584070.1A
Other languages
Chinese (zh)
Other versions
CN103617210B (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.)
ZHEJIANG CREAWAY AUTOMATION ENGINEERING Co Ltd
State Grid Corp of China SGCC
Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
ZHEJIANG CREAWAY AUTOMATION ENGINEERING Co Ltd
State Grid Corp of China SGCC
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 ZHEJIANG CREAWAY AUTOMATION ENGINEERING Co Ltd, State Grid Corp of China SGCC, Information and Telecommunication Branch of State Grid Zhejiang Electric Power Co Ltd filed Critical ZHEJIANG CREAWAY AUTOMATION ENGINEERING Co Ltd
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

Images

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

The invention discloses a multi-target data service layer dynamic routing system and a work method thereof and relates to a data accessing system. If the existing business logic layer is used to realize parallel access of an original data service layer and a cloud data service layer and the programs and source codes with changed business logic interfaces are used, the stability is poor. The system comprises a view module, a business logic interface, a dynamic router connected with the business logic interface, a data service module and a cloud data service module and used for accessing the data service module or the cloud data service module according to the requests of the business logic interface, a dynamic router configuring module used for configuring the dynamic router and connected with the view module, a common data service module connected with the dynamic router and a common database and used for analyzing and accessing the common database, and the cloud data service module connected with the dynamic router and used for accessing a cloud database. By the system, the business logic layer stability of the original application system is guaranteed.

Description

Dynamic routing system and the method for work thereof of a kind of Multi-target Data service layer
Technical field
The present invention relates to a kind of data access system.
Background technology
The data service layer implementation of existing application system, as shown in Figure 1, user sends data access request through view layer to service logic interface, and service logic interface is connected with data service layer, by accessing database after the parsing of operation code.At present, the development of infosystem cloud data service technology, new approaches are provided to the data access mode of large-scale telematics system, the current data access technology framework of large-scale operating information system cannot, to the smooth transition of cloud data, services, directly adopt a kind of data service technology without fully checking to have the risk of application greatly.Lack in the industry at present a kind of effective strategy and ensureing under the prerequisite of existing system stable operation, fully carry out the checking of cloud data access technology.
If use existing Business Logic, realize the concurrent access of legacy data service layer and cloud data service layer, need to change program and the source code of service logic interface, as shown in Figure 2, between service logic interface and data service layer, need to increase data service layer and select module, data service layer selects the function of module to be realized by software, because relate to the modification of service logic interface routine and source code, easily destroy original program structure and stability, therefore in follow-up modification, improve and in process, lack dirigibility, be unfavorable for the exploration of follow-up all kinds of heterogeneous database and data service layer technology, research and checking.
 
Summary of the invention
The technical assignment of the technical problem to be solved in the present invention and proposition is that prior art scheme is improved and improved, and provides dynamic routing system and the method for work thereof of a kind of Multi-target Data service layer, to reach the object that guarantees system stability.For this reason, the present invention takes following technical scheme.
A dynamic routing system for Multi-target Data service layer, is characterized in that comprising:
Views module, for the input of ordering and the output of data;
Service logic interface, is connected with views module, as man-machine interface;
Dynamic router, is connected with cloud data service module with service logic interface and data service module, for selecting access connection data service module or cloud data service module according to the request of service logic interface;
Dynamic routing configuration module, for completing the configuration of dynamic routing, it is connected with views module, makes user to dynamic routing configuration module, carry out read-write operation by views module;
General data service module, connects dynamic router and general database, for resolving and access general database;
Cloud data service module, connects dynamic router, for accessing cloud database.
The technical program has maintained the implementation of original general technical framework, view and interface definition, service logic interface and the legacy data storehouse service layer of application system.Between service logic interface and data service layer, increase dynamic routing function, by dynamic routing configuration file, act on dynamic routing, the execution that completes data service layer is selected and controls.
As the further of technique scheme improved and supplemented, the present invention also comprises following additional technical feature.
A method of work for the dynamic routing system of Multi-target Data service layer, is characterized in that: comprise the following steps:
1) user sends request by views module;
2) service logic interface is sent to dynamic router by user's request;
3) dynamic router is according to dynamic routing configuration and user's request, and the execution that completes data service module is selected and controls, and data service module comprises general data service module and cloud data service module.
When needs are revised the access of data service module and selected, by views module, revise the relevant parameter in dynamic routing configuration module.
Beneficial effect: the technical program is set up dynamic routing engine between data service layer and Business Logic, by reading dynamic routing configuration file, select different data, services, can select original data service layer to commence business, also can select cloud data service layer, carry out the checking of cloud data service technology.As need are revised the access of data service layer and selection, only need to revise the relevant parameter in dynamic routing configuration file, without revising service logic interface routine and source code, maintain the implementation of original general technical framework, view and interface definition, service logic interface and the legacy data storehouse service layer of application system, guaranteed the stability of original application system Business Logic.
Accompanying drawing explanation
Fig. 1 is a kind of prior art process flow diagram that is only applicable to traditional data services.
Fig. 2 is a kind of prior art process flow diagram that is simultaneously applicable to traditional data services and cloud data, services.
Fig. 3 is process flow diagram of the present invention.
Embodiment
Below in conjunction with Figure of description, technical scheme of the present invention is described in further detail.
A dynamic routing system for Multi-target Data service layer, comprising:
Views module, for the input of ordering and the output of data;
Service logic interface, is connected with views module, as man-machine interface;
Dynamic router, is connected with cloud data service module with service logic interface and data service module, for selecting access connection data service module or cloud data service module according to the request of service logic interface;
Dynamic routing configuration module, for completing the configuration of dynamic routing, it is connected with views module, makes user to dynamic routing configuration module, carry out read-write operation by views module;
General data service module, connects dynamic router and general database, for resolving and access general database;
Cloud data service module, connects dynamic router, for accessing cloud database.
As shown in Figure 3, the method for work of the dynamic routing system of a kind of Multi-target Data service layer comprises the following steps:
1) user sends request by views module;
2) service logic interface is sent to dynamic router by user's request;
3) dynamic router is according to dynamic routing configuration and user's request, and the execution that completes data service module is selected and controls, and data service module comprises general data service module and cloud data service module;
4) when needs are revised the access of data service module and selected, by views module, revise the relevant parameter in dynamic routing configuration module.
Dynamic routing system and the method for work thereof of a kind of Multi-target Data service layer shown in above Fig. 3 are specific embodiments of the invention; substantive distinguishing features of the present invention and progress have been embodied; can be according to actual use needs; under enlightenment of the present invention; it is carried out to the equivalent modifications of the aspects such as shape, structure, all at the row of the protection domain of this programme.

Claims (3)

  1. The dynamic routing system of 1.Yi Zhong Multi-target Data service layer, is characterized in that comprising:
    Views module, for the input of ordering and the output of data;
    Service logic interface, is connected with views module, as man-machine interface;
    Dynamic router, is connected with cloud data service module with service logic interface and data service module, for selecting access connection data service module or cloud data service module according to the request of service logic interface;
    Dynamic routing configuration module, for completing the configuration of dynamic routing, it is connected with views module, makes user to dynamic routing configuration module, carry out read-write operation by views module;
    General data service module, connects dynamic router and general database, for resolving and access general database;
    Cloud data service module, connects dynamic router, for accessing cloud database.
  2. 2. the method for work that adopts the dynamic routing system of a kind of Multi-target Data claimed in claim 1 service layer, is characterized in that: comprise the following steps:
    User sends request by views module;
    Service logic interface is sent to dynamic router by user's request;
    Dynamic router is according to dynamic routing configuration and user's request, and the execution that completes data service module is selected and controls, and data service module comprises general data service module and cloud data service module.
  3. 3. the method for work of the dynamic routing system of a kind of Multi-target Data according to claim 2 service layer, it is characterized in that: when needs are revised the access of data service module and selected, by views module, revise the relevant parameter in dynamic routing configuration module.
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 true CN103617210A (en) 2014-03-05
CN103617210B 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)

Cited By (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
CN111399943A (en) * 2020-03-12 2020-07-10 网易(杭州)网络有限公司 Data processing method, device, storage medium and electronic device

Citations (6)

* 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
US20060136122A1 (en) * 2004-12-16 2006-06-22 General Motors Corporation Method to dynamically select a routing service option
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

Patent Citations (6)

* 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
US20060136122A1 (en) * 2004-12-16 2006-06-22 General Motors Corporation Method to dynamically select a routing service option
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

Cited By (3)

* 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
CN111399943A (en) * 2020-03-12 2020-07-10 网易(杭州)网络有限公司 Data processing method, device, storage medium and electronic device
CN111399943B (en) * 2020-03-12 2022-11-22 网易(杭州)网络有限公司 Data processing method, device, storage medium and electronic device

Also Published As

Publication number Publication date
CN103617210B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN107451214B (en) Non-primary key query method and distributed NewSQL database system
CN103064875B (en) A kind of spatial service data distributed enquiring method
CN104133772A (en) Automatic test data generation method
CN106777101B (en) Data processing engine
WO2017025056A1 (en) Method and system for realizing data tracking by means of software development kit
CN104391749A (en) Resource allocation method and device
CN104123369A (en) CMDB system based on graphic data base and implementation method
CN100474318C (en) Automatic generation system for designing BOM
CN111078702B (en) SQL sentence classification management and unified query method and device
CN102254021A (en) Method for constructing database based on virtual machine management system
CN103455633A (en) Method of distributed analysis for massive network detailed invoice data
US20150269234A1 (en) User Defined Functions Including Requests for Analytics by External Analytic Engines
CN103810203A (en) Connection multiplexing method and connection multiplexing device for database management system
CN110750553A (en) Method for self-defining export of data in service management system
CN102567825B (en) A kind of method and apparatus of work process flow configuration
US20130014082A1 (en) Method of configuring business logic supporting multi-tenancy
CN106919697A (en) A kind of method that data are imported multiple Hadoop components simultaneously
CN105528381A (en) Database data migration method and system
CN105573774A (en) Application parameter managing and configuring method
CN105824926A (en) Method for dynamically selecting and calling external system interface
CN103617210A (en) Multi-target data service layer dynamic routing system and work method thereof
CN103186384A (en) Business-component-oriented software designing and analyzing system and using method thereof
US20160154634A1 (en) Modifying an analytic flow
CN108804710A (en) Method and device for refining label through model tool based on business rule
CN104360899B (en) A kind of process management system and management 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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant