CN102419704A - Method and system for developing loosely-coupled distributed systems - Google Patents
Method and system for developing loosely-coupled distributed systems Download PDFInfo
- Publication number
- CN102419704A CN102419704A CN201110289105XA CN201110289105A CN102419704A CN 102419704 A CN102419704 A CN 102419704A CN 201110289105X A CN201110289105X A CN 201110289105XA CN 201110289105 A CN201110289105 A CN 201110289105A CN 102419704 A CN102419704 A CN 102419704A
- Authority
- CN
- China
- Prior art keywords
- service
- data
- data object
- communication
- xml
- 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
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The invention provides a method for developing loosely-coupled distributed systems. The method comprises the following steps of: arranging service points of a service system to form a service specification document; and according to the service specification document, performing data equivalent transformation on each system by using a structure data object. The invention also provides a system for developing the loosely-coupled distributed systems. By adoption of the method and the system for developing the loosely-coupled distributed systems, information exchange between the loosely-coupled distributed systems can be realized, the system safety of each system is guaranteed, easiness in expansion is realized, and a development mode is easy to maintain.
Description
Technical field
The present invention relates to the application system development technology, especially relate to a kind of development approach and system of loose coupling distributed system.
Background technology
At present, application systems software is through years of development, and a plurality of application system swap datas are frequent day by day, adds that the software development demand is more and more, and the software development scale is increasing, and huge development teams concentrates the exploitation drawback more and more; And, with this development of internet technology, same requirements; The multiple terminal system of different expression form is more and more, and identical business is repeatedly developed not only wasting manpower and material resources, and gives the different experience of user; And there is bigger hidden danger in the security between each system.
So, a kind of development technique of multiple step format system of new loose coupling need to be proposed, to carry out message exchange between the system that satisfies loose coupling, guarantee security of system between each system, easy expansion, the technical matters that development mode is safeguarded easily.
Summary of the invention
The object of the present invention is to provide a kind of development approach and system of loose coupling distributed system, can satisfy and carry out message exchange between the loose coupling distributed system, guarantee security of system between each system, easy expansion, development mode is safeguarded easily.
For solving above technical matters, the present invention provides a kind of development approach of loose coupling distributed system, comprising:
The service point of arrangement operation system forms the service regulation document;
Each system is according to the service regulation document, and utilization structure volume data object carries out data conversion each other of equal value.
Further, the service point of said arrangement operation system forms the service regulation document, specifically comprises:
Service point to operation system is put in order, and the uniquely identified numbering is carried out in each service point;
Become request field and response field to each service point conclusion;
Form strict service regulation document according to request field and response field.
Further, said each system is according to the service regulation document, and utilization structure volume data object carries out data conversion each other of equal value, specifically comprises:
The consumption method, system uses HTTP communication request service method, system;
The service method, system returns to the consumption method, system by service regulation sets of documentation assembling structure volume data object;
The consumption method, system is taken the structure data object apart by the service regulation document, shows data.
Further, said each system is converting the data equivalence to the XML data through HTTP communication modes utilization structure volume data object.
Further, each system carries out encrypted authentication to communication when first time communication, and the mutual data converted of parity price is carried out encrypted transmission.
Further; Each system carries out encrypted authentication to communication when first time communication; The mutual data converted of parity price is carried out encrypted transmission; Specifically comprise: each system adds Request System IP address to the security password of communication and verifies that XML is through encrypting in the data transmission procedure when first time communication.
For solving above technical matters; The present invention also provides a kind of development system of loose coupling distributed system; This system comprises consumption method, system, service method, system and API module; Wherein, said consumption method, system and the HTTP communication modes of equal value each other conversion XML data of service method, system through the API module are realized both data double-way intercommunications.
Further, said consumption method, system is used to construct the requested data object message and gives the service method, system, and from the data object that the service method, system returns, extracts data.
Further, said service method, system is used to receive the request message that the consumption method, system sends; Convert XML message equivalence to data object each other; Carry out business processing according to data object, and convert process result data object equivalence to the XML message each other, return to the consumption method, system.
Further; Said API module is used to verify the communication security between said consumption method, system and the service method, system, and; To encrypting the compressed deciphering through the HTTP communication modes XML data of conversion each other of equal value between two systems, realize both data double-way intercommunications.
Compared with prior art; The present invention provides a kind of development approach and system of loose coupling distributed system; Adopt consumption method, system and service method, system to realize the two-way intercommunication of data conversion each other of equal value through the API module; These two systems can carry out deployment respectively, bear the responsibility of oneself separately, do not disturb mutually; Can exchange the XML data through the communication modes of HTTP again between these two systems simultaneously, thereby reach high cohesion in the system, the Expected Results of low coupling between system; Simultaneously, each engineering is loose coupling each other, and the developer can use the framework of oneself to develop; Design suitable development mode freely, own design database list structure is given full play to individual's advantage; Programmed readability is eager to excel, and it is high to carry out efficient, and the modular design reusability is high; The development mode of using will safeguard easily that easy expansion is for operation system provides good development approach.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes a part of the present invention, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, does not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the structural representation that the present invention provides a kind of development system of loose coupling distributed system;
Fig. 2 describes the functional diagram that the present invention consumes method, system;
Fig. 3 describes the functional diagram that the present invention serves method, system;
Fig. 4 is a functional diagram of describing API module of the present invention;
Fig. 5 is the process flow diagram that the present invention provides a kind of development approach of loose coupling distributed system.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Technical scheme provided by the invention is: the consumption method, system is realized the two-way intercommunication of data conversion each other of equal value with the service method, system through the API module, and these two systems can carry out deployment respectively, bear the responsibility of oneself separately, do not disturb mutually; Can change the XML data each other through the communication modes equivalence of HTTP again between these two systems simultaneously.Thereby reach high cohesion in the system, the Expected Results of low coupling between system also provides good development approach for operation system simultaneously.
As shown in Figure 1; The present invention provides a kind of development system of loose coupling distributed system; This system comprises consumption method, system 10, service method, system 20 and API module 30; This consumption method, system 10 and service method, system 20 pass through API module 30 and realize the data double-way intercommunications, and change the XML data each other through the communication modes equivalence of HTTP between two systems.Wherein:
This consumes method, system 10, and be used to construct the requested data object message and give service method, system 20, the service of far call service method, system, and judge stateful transaction, from the data object that service method, system 20 returns, extract data.As shown in Figure 2.
This serves method, system 20, is used to receive the request message that consumption method, system 10 sends, and converts XML message equivalence to data object each other; Service code and service scenarios according to data object are judged, carry out business processing, and convert process result data object equivalence to the XML message each other, and the message of write response returns to consumption method, system 10.As shown in Figure 3.
This API module 30; Be used to verify the communication security authentication between consumption method, system 10 and the service method, system 20; And, realize both data double-way intercommunications to encrypting the compressed deciphering through the HTTP communication modes XML data of conversion each other of equal value between two systems.As shown in Figure 4.
As shown in Figure 5, the present invention provides a kind of development approach of loose coupling distributed system, comprising:
The service point of steps A, arrangement operation system forms the service regulation document, guarantees the maintainability and the multiplexing functions of system.Specifically comprise:
A1) service point of operation system is put in order, the uniquely identified numbering is carried out in each service point;
A2) become request field and response field to each service point conclusion;
A3) form strict service regulation document according to request field and response field, the developer is by the exploitation of service regulation document.
Step B, each system are according to the service regulation document; Utilization structure volume data object carries out data conversion each other of equal value; Like this; Using this structure data object can realize changing each other with the of equal value of any interface data between each system, is that equivalence converts XML in the data transmission procedure, uses the HTTP communication.Specifically comprise:
B1) the consumption method, system uses HTTP communication request service method, system;
B2) the service method, system returns to the consumption method, system by service regulation sets of documentation assembling structure volume data object;
B3) the consumption method, system is taken the structure data object apart by the service regulation document, shows data.
Wherein, each system carries out encrypted authentication to communication, and the mutual data converted of parity price is carried out encrypted transmission, i.e. need security password to add Request System IP address in the time of each system communication for the first time and verify, XML is through encrypting in the data transmission procedure.Specifically comprise:
The service method, system adds Request System IP address through security password and verifies;
In the data transmission procedure XML is encrypted.
The present invention provides a kind of development approach and system of loose coupling distributed system; Adopt consumption method, system and service method, system to realize the two-way intercommunication of data conversion each other of equal value through the API module; These two systems can carry out deployment respectively, bear the responsibility of oneself separately, do not disturb mutually; Can of equal valuely through the communication modes of HTTP change the XML data each other again between these two systems simultaneously, thereby reach high cohesion in the system, the Expected Results of low coupling between system; Simultaneously, each engineering is loose coupling each other, and the developer can use the framework of oneself to develop; Design suitable development mode freely, own design database list structure is given full play to individual's advantage; Programmed readability is eager to excel, and it is high to carry out efficient, and the modular design reusability is high; The development mode of using will safeguard easily that easy expansion is for operation system provides good development approach.
Above-mentioned explanation illustrates and has described a preferred embodiment of the present invention; But as previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection domain of accompanying claims of the present invention.
Claims (10)
1. the development approach of a loose coupling distributed system is characterized in that, comprising:
The service point of arrangement operation system forms the service regulation document;
Each system is according to the service regulation document, and utilization structure volume data object carries out data conversion each other of equal value.
2. the method for claim 1 is characterized in that, the service point of said arrangement operation system forms the service regulation document, specifically comprises:
Service point to operation system is put in order, and the uniquely identified numbering is carried out in each service point;
Become request field and response field to each service point conclusion;
Form strict service regulation document according to request field and response field.
3. the method for claim 1 is characterized in that, said each system is according to the service regulation document, and utilization structure volume data object carries out data conversion each other of equal value, specifically comprises:
The consumption method, system uses HTTP communication request service method, system;
The service method, system returns to the consumption method, system by service regulation sets of documentation assembling structure volume data object;
The consumption method, system is taken the structure data object apart by the service regulation document, shows data.
4. like claim 1 or 3 described methods, it is characterized in that said each system is converting the data equivalence to the XML data through HTTP communication modes utilization structure volume data object.
5. like each described method of claim 1 to 4, it is characterized in that each system carries out encrypted authentication to communication when first time communication, the mutual data converted of parity price is carried out encrypted transmission.
6. method as claimed in claim 5; It is characterized in that; Each system carries out encrypted authentication to communication when first time communication; The mutual data converted of parity price is carried out encrypted transmission, specifically comprises: each system adds Request System IP address to the security password of communication and verifies that XML is through encrypting in the data transmission procedure when first time communication.
7. the development system of a loose coupling distributed system; It is characterized in that; This system comprises consumption method, system, service method, system and API module; Wherein, said consumption method, system and the HTTP communication modes equivalent exchange XML data of service method, system through the API module are realized both data double-way intercommunications.
8. system as claimed in claim 7 is characterized in that, said consumption method, system is used to construct the requested data object message and gives the service method, system, and from the data object that the service method, system returns, extracts data.
9. system as claimed in claim 7; It is characterized in that said service method, system is used to receive the request message that the consumption method, system sends; Convert XML message equivalence to data object each other; Carry out business processing according to data object, and convert process result data object equivalence to the XML message, return to the consumption method, system.
10. system as claimed in claim 7; It is characterized in that; Said API module; Be used to verify the communication security between said consumption method, system and the service method, system, and, realize both data double-way intercommunications encrypting the compressed deciphering through the XML data of HTTP communication modes conversion of equal value between two systems.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110289105XA CN102419704A (en) | 2011-09-26 | 2011-09-26 | Method and system for developing loosely-coupled distributed systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110289105XA CN102419704A (en) | 2011-09-26 | 2011-09-26 | Method and system for developing loosely-coupled distributed systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102419704A true CN102419704A (en) | 2012-04-18 |
Family
ID=45944126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110289105XA Pending CN102419704A (en) | 2011-09-26 | 2011-09-26 | Method and system for developing loosely-coupled distributed systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102419704A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298490A (en) * | 2013-07-15 | 2015-01-21 | 深圳中兴网信科技有限公司 | Service publication method and device based on service oriented architecture |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1662058A (en) * | 2004-01-30 | 2005-08-31 | 微软公司 | Television web services |
US20090013176A1 (en) * | 2002-04-02 | 2009-01-08 | Alcatel Lucent | Application level integration in support of a distributed network management and service provisioning solution |
CN101441630A (en) * | 2007-11-19 | 2009-05-27 | 上海新纳广告传媒有限公司 | Distribution-based website system |
CN101557426A (en) * | 2009-05-07 | 2009-10-14 | 中兴通讯股份有限公司 | Web service-based and uniformly managed interface message processor, web service component and method thereof |
-
2011
- 2011-09-26 CN CN201110289105XA patent/CN102419704A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090013176A1 (en) * | 2002-04-02 | 2009-01-08 | Alcatel Lucent | Application level integration in support of a distributed network management and service provisioning solution |
CN1662058A (en) * | 2004-01-30 | 2005-08-31 | 微软公司 | Television web services |
CN101441630A (en) * | 2007-11-19 | 2009-05-27 | 上海新纳广告传媒有限公司 | Distribution-based website system |
CN101557426A (en) * | 2009-05-07 | 2009-10-14 | 中兴通讯股份有限公司 | Web service-based and uniformly managed interface message processor, web service component and method thereof |
Non-Patent Citations (1)
Title |
---|
王晓洁等: "《基于XML/web服务的分布式电子商务***的研究》", 《计算机技术与发展》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298490A (en) * | 2013-07-15 | 2015-01-21 | 深圳中兴网信科技有限公司 | Service publication method and device based on service oriented architecture |
CN104298490B (en) * | 2013-07-15 | 2018-03-30 | 深圳中兴网信科技有限公司 | A kind of service issuing method and device based on Enterprise SOA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Komninos | What makes cities intelligent? 1 | |
Komninos | Intelligent cities: Variable geometries of spatial intelligence | |
CN101976199A (en) | Object-oriented middleware distributed system development platform | |
KR101056682B1 (en) | A weapon simulation system and the same method based on the component | |
CN101388904A (en) | GIS service aggregating method, device and system | |
CN101442555A (en) | Artificial resource proxy service system facing HLA | |
CN102255914A (en) | Android network application program information verification method | |
CN102419704A (en) | Method and system for developing loosely-coupled distributed systems | |
Wang et al. | Enabling human-centric smart cities: Crowdsourcing-based practice in China | |
CN103561113A (en) | Web Service interface generating method and device | |
CN104023047A (en) | Car-networked cell benefit community | |
CN103297865B (en) | The method and system of intelligent network service off-line reproduction | |
Honghui et al. | Research of E-learning System Based on SOA | |
CN103778565A (en) | Public-data-resource sharing and exchanging system and method | |
Zhao et al. | ERP System Implementation Based SOA under SaaS Model | |
CN103777956B (en) | A kind of real-time RTI implementation methods | |
Zhao et al. | An agent based wrapper mechanism used in system integration | |
Damavandi et al. | Compressed forensic source image using source pattern map | |
Dong et al. | Advances in robustness of coupled network with different coupling patterns | |
Ma et al. | A process‐driven geo‐analysis engine to support online collaborative geographic experiments | |
Kang | Design a digital campus information system based on SOA | |
Okeke | The influence of network topology on the operational performance of the low voltage grid | |
Kim et al. | OpenAtom: massively-parallel simulations for molecular and electronic dynamics | |
Jiao et al. | Research on the Role of “Mobile Programming” Course in Teaching Curriculum Reform of Computer Science and Technology | |
Piasecki et al. | Use of a Workflow Engine to Create a Hydrologic Community Modeling System |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
DD01 | Delivery of document by public notice |
Addressee: Wu Zhenyu Document name: Notification of Passing Examination on Formalities |
|
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120418 |