CN107645557A - A kind of integrated application system based on Service Component - Google Patents

A kind of integrated application system based on Service Component Download PDF

Info

Publication number
CN107645557A
CN107645557A CN201710907988.3A CN201710907988A CN107645557A CN 107645557 A CN107645557 A CN 107645557A CN 201710907988 A CN201710907988 A CN 201710907988A CN 107645557 A CN107645557 A CN 107645557A
Authority
CN
China
Prior art keywords
api
service component
module
service
business
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
CN201710907988.3A
Other languages
Chinese (zh)
Other versions
CN107645557B (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.)
Xiamen Dayuan Technology Co Ltd
Original Assignee
Xiamen Dayuan 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 Xiamen Dayuan Technology Co Ltd filed Critical Xiamen Dayuan Technology Co Ltd
Priority to CN201710907988.3A priority Critical patent/CN107645557B/en
Publication of CN107645557A publication Critical patent/CN107645557A/en
Application granted granted Critical
Publication of CN107645557B publication Critical patent/CN107645557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of integrated application system based on Service Component, including bean engines, the first Service Component and the second Service Component;The bean engines include built-in services device and routing table, and the built-in services device receives user's request, and user request is transmitted into first Service Component according to routing table;First Service Component receives user's request, calls second Service Component to handle the user and asks and return to result, the result is returned to user by first Service Component by the bean engines;Its effect is:Enterprise selects Service Component structure solution, improves the development efficiency of enterprise information system, reduce development cost according to requirement of information system.

Description

A kind of integrated application system based on Service Component
Technical field
The invention belongs to computer software technical field, and in particular to a kind of integrated application system based on Service Component.
Background technology
Corporate boss will be by voluntarily researching and developing, and the mode of purchase or outsourcing development develops enterprise information system.But software development During, cost, the duration, software quality, it is difficult to take into account.Manufacturing resource problem is also faced with from the system of different suppliers purchase. Enterprise for providing software development service, often need with the matter amount of changing, obtain profit, technology is difficult to accumulate.
The content of the invention
In order to solve the above problems, the present invention proposes a kind of integrated application system based on Service Component, by being multiplexed essence The Service Component of heart design, improves software development efficiency, reduces software development cost and risk, while modular construction is easy to replace Change, enterprise is easy to according to business demand, secondary development is carried out to enterprise information system.
The technical scheme that the present invention takes is:A kind of integrated application system based on Service Component, including bean engines, One Service Component and the second Service Component;
The bean engines include built-in services device and routing table, and the built-in services device receives user and asked, and according to User request is transmitted to first Service Component by routing table;
First Service Component receives user's request, and calling second Service Component please to handle the user Ask and return to result, the result is returned to user by first Service Component by the bean engines.
Preferably, in addition to external resource component, the external resource component are used for package outside service, are the business Component provides unified access interface, shields different external resources and realizes;The external service includes database, caches, disappears Breath service, index service, file system, third party cloud service and Legacy System.
Preferably, first Service Component and the second Service Component form by business module, the business module point Module, WEB modules and the type of management module four are realized for API module, API;
The API module output synchronous communication api interface and asynchronous communications message form;
The API realizes that module realizes the api interface of API module statement, realizes that service logic, and triggering message are sent;
The WEB modules export WEB API, WEB page and customized label;For building WEB websites and APP rear ends;
The management module exports backstage API, backstage WEB page and background system menu, for building back-stage management system System;
Preferably, the API module is stated specifically for API, definition API Calls entrance, parameter and return value, described group Part engine, the network call client that the API realizes module is automatically generated based on API statements.
Preferably, the message format includes type of message and business datum, and the API realizes that module passes through the message Service management news release and subscription, realize the asynchronous communication between business module.
Preferably, the WEB modules are specifically used for described self-defined to the template engine registration built in the bean engines Label, the customized label include parameter, tag template and the data by parameter acquiring, and user asks WEB page, passed through The template engine renders the customized label, merges tag template and data to WEB page, and is automatically introduced into described make by oneself The pattern and script of adopted label association, by combining the customized label, realize WEB websites fast integration.
Preferably, the management module is specifically used for registering the background system menu to the bean engines, after described Platform System menu, includes the backstage WEB page entrance of management module output, and user asks background management system homepage, institute State bean engines and show the background system menu, after user clicks on menu, backstage that management module described in on-demand loading exports WEB page, there is provided background system is integrated to be supported.
Preferably, the business module introduces by relying on another business module and is relied on the business module output Function;
The business module relies on the API module or the API realizes module, introduces api interface and message format;
The business module relies on the WEB modules, introduces WEB API, WEB page and customized label;
The business module relies on the management module, introduces backstage API, backstage WEB page and System menu.
Using above-mentioned technical proposal, there is advantages below:Enterprise selects Service Component structure solution party according to business demand Case, the development efficiency of enterprise information system is improved, reduce development cost and risk.
Brief description of the drawings
Fig. 1 is a kind of structural representation for integrated application system based on Service Component that the first embodiment of the present invention provides Figure;
Fig. 2 is a kind of structural representation for integrated application system based on Service Component that the second embodiment of the present invention provides Figure.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail, and description here does not mean that all themes corresponding to the instantiation stated in embodiment All it refer in the claims.
Fig. 1 is refer to, is a kind of integrated application system based on Service Component that the first embodiment of the present invention provides Structural representation, as shown in figure 1, the system includes bean engines, the first Service Component and the second Service Component, service groups in figure Part one is the first Service Component, and Service Component two is the second Service Component in figure;
The bean engines include built-in services device and routing table, and the built-in services device receives user's request, according to road User request is sent to first Service Component by table;
Specifically, the bean engines manage the route that the Service Component is registered to routing table, the built-in services device After receiving user's request, it is route according to the routing table lookup, forwards a request to the corresponding Service Component, the user Request includes WEB page request and API request;
First Service Component receives user's request, and calling second Service Component please to handle the user Ask, obtain result, the result is returned to user by first Service Component by the bean engines.
Specifically, the first Service Component API realizes that module relies on the second Service Component API module, introduces institute The API that the second Service Component API module defines is stated, calls the second Service Component API to realize logic realization packaged in module, Obtain request results and return to user, the type of returning result is that the bean engines are preset, including WEB page, JSON Data or binary data stream;
In practice, according to business demand, pass through component of constantly activating business, composite service component, you can create Different solutions, the development efficiency of enterprise software is improved, reduce software development cost and risk, while Service Component knot Structure is readily replaceable, enterprise is easy to according to business demand, and secondary development is carried out to enterprise information system.
Fig. 2 is refer to, is a kind of integrated application system based on Service Component that the second embodiment of the present invention provides Structural representation, as shown in Fig. 2 second embodiment and a kind of integrated application system based on Service Component described in first embodiment The difference of system is:
Including external resource component, the external resource component is used for package outside service, is provided for the Service Component Unified access interface, shield different external resources and realize, the external resource includes database, buffer service, message, rope Draw, file system, third party cloud service and Legacy System;
Further, first Service Component and the second Service Component include multiple business modules, the business mould Block includes API module, API realizes module, WEB modules and the type of management module four;
The API module output synchronous communication api interface and the message format of asynchronous communication;
Specifically, the API module is stated specifically for API, definition API Calls entrance, parameter and return value, described group Part engine, the network call client that the API realizes module is automatically generated based on API statements;The message format includes Type of message and business datum.
The API realizes that module realizes the api interface of the API module statement, realizes service logic, and triggering message hair Send;
Specifically, the API realizes that module manages news release and subscription by the messenger service, realizes business module Between asynchronous communication.
The WEB modules export WEB API, WEB page and customized label, for building WEB websites and APP rear ends;
Specifically, the WEB modules are specifically used for described self-defined to the template engine registration built in the bean engines Label, the customized label include parameter, tag template and the data by parameter acquiring, and user asks WEB page, passed through The template engine renders the customized label, merges tag template and data to WEB page, and is automatically introduced into described make by oneself The pattern and script of adopted label association, by combining the customized label, realize WEB websites fast integration.
The management module exports backstage API, backstage WEB page and background system menu, for building back-stage management system System.
Specifically, the management module is specifically used for registering the background system menu to the bean engines, after described Platform System menu, includes the backstage WEB page entrance of management module output, and user asks background management system homepage, institute State bean engines and show the background system menu, after user clicks on menu, backstage that management module described in on-demand loading exports WEB page, there is provided background system is integrated to be supported.
Further, the business module is relied on the business module output by relying on another business module, introducing Function;
The business module relies on the API module or the API realizes module, introduces api interface and message format;
The business module relies on the WEB modules, introduces WEB API, WEB page and customized label;
The business module relies on the management module, introduces backstage API, backstage WEB page and System menu.
Specifically, business module calls the external resource component, completes the reading of data according to the demand of service logic And change.For example the API of Service Component two realizes module, database module is relied on, the api interface provided by database module is complete Into the access of data.
In a particular application, it is (i.e. unified by carrying out specification to first, second Service Component and external resource component The definition of business module fuction output, dependence and communication mode), plug in bean engines, turn into enterprise information system One block of building blocks in solution.
API module, API realize that module, WEB modules and management module can be with output functions and definition to the lists of other modules To dependence, the output function that a business module introduces the business module is relied on;For example the API of Service Component one realizes module The API module of Service Component two is relied on, the API of Service Component one realizes that module just introduces the API of Service Component two definition, Jin Ertong Bean engines are crossed, based on code Generation, generation Service Component two API client, the API of Service Component one realizes that module is adjusted With the API clients, you can obtain the result that the API of Service Component two is realized.
The present invention operation principle be:The dependence and output function of each Service Component are managed by bean engines, is advised The structure and communication mode of model Service Component, with system-level code reuse, develop enterprise information system.
Finally it should be noted that foregoing description is the preferred embodiments of the present invention, one of ordinary skill in the art exists Under the enlightenment of the present invention, on the premise of without prejudice to present inventive concept and claim, expression as multiple types can be made, this The conversion of sample is each fallen within protection scope of the present invention.

Claims (8)

1. a kind of integrated application system based on Service Component, it is characterised in that including bean engines, the first Service Component and Two Service Component;
The bean engines include built-in services device and routing table, and the built-in services device receives user's request, and according to route User request is transmitted to first Service Component by table;
First Service Component receives user's request, calls second Service Component to handle the user and asks and return Result is returned, the result is returned to user by first Service Component by the bean engines.
2. a kind of integrated application system based on Service Component according to claim 1, it is characterised in that also include outside Resource component, the external resource component are used for package outside service, unified access interface are provided for the Service Component, screen Different external resources is covered to realize;
The external service includes database, caching, messenger service, index service, and file system and is left third party cloud service System.
A kind of 3. integrated application system based on Service Component according to claim 1, it is characterised in that first industry Business component and the second Service Component include multiple business modules, the business module includes API module, API realizes module, WEB modules and the type of management module four;
The API module output synchronous communication api interface and the message format of asynchronous communication;
The API realizes that module realizes the api interface of the API module statement, realizes that service logic, and triggering message are sent;
The WEB modules export WEB API, WEB page and customized label, for building WEB websites and APP rear ends;
The management module exports backstage API, backstage WEB page and background system menu, for building background management system.
A kind of 4. integrated application system based on Service Component according to claim 3, it is characterised in that the API moulds Block is stated specifically for API, is defined API Calls entrance, parameter and return value, the bean engines, is stated based on API automatic raw Into the network call client that module is realized to the API.
A kind of 5. integrated application system based on Service Component according to claim 3, it is characterised in that the message lattice Formula includes type of message and business datum, and the API realizes that module manages news release and subscription by the messenger service, real Asynchronous communication between existing business module.
A kind of 6. integrated application system based on Service Component according to claim 3, it is characterised in that the WEB moulds Block is specifically used for registering the customized label to the template engine built in the bean engines, and the customized label includes ginseng Number, tag template and the data by parameter acquiring, user ask WEB page, and described make by oneself is rendered by the template engine Adopted label, merge tag template and data to WEB page, and be automatically introduced into the pattern and script of the customized label association, By combining the customized label, WEB websites fast integration is realized.
A kind of 7. integrated application system based on Service Component according to claim 3, it is characterised in that the management mould Block is specifically used for registering the background system menu, the background system menu, including the management mould to the bean engines The backstage WEB page entrance of block output, user ask background management system homepage, and the bean engines show the background system Menu, after user clicks on menu, the backstage WEB page of management module output described in on-demand loading, there is provided the integrated branch of background system Hold.
A kind of 8. integrated application system based on Service Component according to claim 3, it is characterised in that the business mould Block introduces the function of being relied on the business module output by relying on another business module;
The business module relies on the API module or the API realizes module, introduces api interface and message format;
The business module relies on the WEB modules, introduces WEB API, WEB page and customized label;
The business module relies on the management module, introduces backstage API, backstage WEB page and System menu.
CN201710907988.3A 2017-09-29 2017-09-29 Integrated application system based on business components Active CN107645557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710907988.3A CN107645557B (en) 2017-09-29 2017-09-29 Integrated application system based on business components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710907988.3A CN107645557B (en) 2017-09-29 2017-09-29 Integrated application system based on business components

Publications (2)

Publication Number Publication Date
CN107645557A true CN107645557A (en) 2018-01-30
CN107645557B CN107645557B (en) 2020-08-14

Family

ID=61122680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710907988.3A Active CN107645557B (en) 2017-09-29 2017-09-29 Integrated application system based on business components

Country Status (1)

Country Link
CN (1) CN107645557B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343856A (en) * 2018-10-24 2019-02-15 北京奇虎科技有限公司 The generation method and device of custom algorithm component
CN113254100A (en) * 2021-05-25 2021-08-13 四川虹魔方网络科技有限公司 Vue-based multi-level routing dynamic loading implementation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033741A (en) * 2009-09-30 2011-04-27 华为技术有限公司 North interface system and realization method thereof
US20120192064A1 (en) * 2011-01-21 2012-07-26 Oudi Antebi Distributed document processing and management
CN103309674A (en) * 2013-06-25 2013-09-18 深圳中兴网信科技有限公司 Software architecture system
CN103491133A (en) * 2013-08-27 2014-01-01 兴唐通信科技有限公司 System and method for distributed rapid development based on Erlang
CN104899015A (en) * 2014-03-07 2015-09-09 上海高达星软件系统有限公司 Service component management system and method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033741A (en) * 2009-09-30 2011-04-27 华为技术有限公司 North interface system and realization method thereof
US20120192064A1 (en) * 2011-01-21 2012-07-26 Oudi Antebi Distributed document processing and management
CN103309674A (en) * 2013-06-25 2013-09-18 深圳中兴网信科技有限公司 Software architecture system
CN103491133A (en) * 2013-08-27 2014-01-01 兴唐通信科技有限公司 System and method for distributed rapid development based on Erlang
CN104899015A (en) * 2014-03-07 2015-09-09 上海高达星软件系统有限公司 Service component management system and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343856A (en) * 2018-10-24 2019-02-15 北京奇虎科技有限公司 The generation method and device of custom algorithm component
CN113254100A (en) * 2021-05-25 2021-08-13 四川虹魔方网络科技有限公司 Vue-based multi-level routing dynamic loading implementation method
CN113254100B (en) * 2021-05-25 2023-08-01 四川虹魔方网络科技有限公司 Method for realizing dynamic loading of multistage route based on Vue

Also Published As

Publication number Publication date
CN107645557B (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN105187559B (en) A kind of data fusion governing system
CN103491135B (en) Device and method for conducting self-matching on data formats
CN111338812B (en) Data processing method and device
CN101741759B (en) Instant communication-based intelligent interactive system and interactive method
CN103210386B (en) Method, system and the equipment of conglomeration search
CN106445556A (en) Visualized code generation method and system thereof
CN101237457B (en) A service discovery method, system and device
CN103139234B (en) A kind of device and method of data, services encapsulation
CN108305010A (en) A kind of workflow engine system and its flow propulsion method cross-platform, across application
CN104967650A (en) Third-party e-commerce platform unified releasing method
CN101834845A (en) SOAP client protocol encapsulating method based on TCP short connection
CN101692207A (en) Method for achieving system application integration based on SOA architecture
CN106230985B (en) One kind is based on Internet of Things big data processing method, system and service processing end
CN102368716A (en) Data acquisition method of network configuration protocol and network configuration server
CN107645557A (en) A kind of integrated application system based on Service Component
CN102271162A (en) Platform as a service (PAAS)-cloud-based telecommunication comprehensive service platform system and using method
CN108540576A (en) Integration across database interactive service platform
CN104660547B (en) A kind of service platform for realizing telecommunication
CN108229779A (en) A kind of Intelligent Dynamic service combining method and system towards producing line
CN1744638B (en) Advertising issueing system and method for issueing advertising
CN106302368B (en) Transaction methods and device
CN101576922B (en) Access system and access method
CN114416314B (en) Service arrangement method based on API gateway
CN102685153B (en) Resource platform opens the method and resource platform of third party's service
CN107426020A (en) A kind of machine tool equipment high in the clouds access plug-in system and its method of work

Legal Events

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