CN103677975A - System and method for having access to internal objects of application systems - Google Patents
System and method for having access to internal objects of application systems Download PDFInfo
- Publication number
- CN103677975A CN103677975A CN201310661063.7A CN201310661063A CN103677975A CN 103677975 A CN103677975 A CN 103677975A CN 201310661063 A CN201310661063 A CN 201310661063A CN 103677975 A CN103677975 A CN 103677975A
- Authority
- CN
- China
- Prior art keywords
- internal
- request
- service
- administration module
- reference request
- 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
- Stored Programmes (AREA)
Abstract
The invention provides a system for having access to internal objects of application systems. The system is characterized by comprising an ICE bus, a service registration management module, a service delivery module and an internal object management module, wherein the ICE bus is used for forwarding an object calling request sent by the first application system to the service registration management module; the service registration management module is used for dispatching the object calling request to the service delivery module according to a service identifier of the object calling request; the service delivery module is used for obtaining a name of the object calling request after receiving the object calling request, and sending the object calling request to the internal object management module after judging that the object calling request is a legal request; the internal object management module is used for obtaining an instance of an object which is requested to be called from a Spring container and executing a method for calling the object which is requested to be called according to the configuration of the object which is requested to be called, and an execution result of the method of the object is transmitted through the ICE bus to the first application system which sends the object calling request. By means of the system, access to the internal objects of different application systems can be achieved under the condition that an interface is not developed.
Description
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of system and method for access application internal system object.
Background technology
In software information system application, while carrying out message with other softwares, generally all need to distinguish the special interface of design and development with exchange message for business.Mostly these interfaces are to call existing business processing program practical function demand, when the information change of needs exchanges, often need to redesign and development interface; Any new message exchange demand all needs to design and develop separately interface, and the needs that so adaptation business flexibly changes, also have very large input cost.And along with the increase of interface, its maintenance cost also can improve day by day.
Known from the above description, although prior art can meet the demand of message, due to the demand for every kind of message, all need specialized designs development interface, in this case, when the demand of message exchange changes, must cause the adjustment of interface even to redesign exploitation.
Summary of the invention
For the deficiencies in the prior art, the invention provides a kind of system and method for access application internal system object, can the in the situation that of development interface not, realize the internal object access between different application systems.
For achieving the above object, the present invention is achieved by the following technical programs:
A system for access application internal system object, is characterized in that, this system comprises:
ICE bus, is forwarded to service registry administration module for the object reference request that the first application system is sent;
Service registry administration module, for distributing service providing module according to the service identifiers of object reference request object reference request;
Service providing module, for receiving after object reference request, obtains the title of object reference request, after the request of judgement object reference is legitimate request, object reference request is sent to internal object administration module;
Internal object administration module, for obtain the example of request call object from Spring container according to the configuration of request call object, the method of carrying out request call object, the execution result of object method, through ICE bus transfer, sends above-mentioned the first application system of sending object reference request to.
Wherein, described service providing module and internal object administration module are embedded in the second application system.
Wherein, described service registry administration module comprises generic service CommonService and general-purpose interface CommonInterface, and wherein CommonService is for the registration of ICE service; CommonInterface is for creating the agency of application system internal object, by client call.
Wherein, described service providing module comprises service audiomonitor IceListener, ISP ServiceProvider and parameter set Parameters, wherein IceListener is for monitoring and respond the object reference request distributing from service registry administration module, and receive parameter, parameter is passed to Parameters; Parameters is used for the parameter receiving to process, the internal object title of Location Request; ServiceProvider, for according to internal object title, obtains internal object, and carries out internal object and call from internal object administration module, completes the operation of object reference.
Wherein, described internal object administration module comprises ServiceFactory, ServiceFactory is for reading the list object of configuration file appointment, from Spring container, obtain object, if do not find destination object in Spring container, loading classes instantiation from the Classpath path of the second application system, calls for service providing module.
A method for access application internal system object, the method comprises:
The first application system is sent object reference request, ICE bus is forwarded to service registry administration module by object reference request, service registry administration module distributes service providing module according to the service identifiers of object reference request object reference request, service providing module is received after object reference request, obtain the title of object reference request, after the request of judgement object reference is legitimate request, object reference request is sent to internal object administration module, internal object administration module obtains the example of request call object from Spring container according to the configuration of request call object, carry out the method for request call object, the execution result of object method is through ICE bus transfer, send above-mentioned the first application system of sending object reference request to.
Wherein, described service providing module and internal object administration module are embedded in the second application system.
Wherein, described service registry administration module comprises generic service CommonService and general-purpose interface CommonInterface, and wherein CommonService is for the registration of ICE service; CommonInterface is for creating the agency of application system internal object, by client call.
Wherein, described service providing module comprises service audiomonitor IceListener, ISP ServiceProvider and parameter set Parameters, wherein IceListener is for monitoring and respond the object reference request distributing from service registry administration module, and receive parameter, parameter is passed to Parameters; Parameters is used for the parameter receiving to process, the internal object title of Location Request; ServiceProvider, for according to internal object title, obtains internal object, and carries out internal object and call from internal object administration module, completes the operation of object reference.
Wherein, described internal object administration module comprises ServiceFactory, ServiceFactory is for reading the list object of configuration file appointment, from Spring container, obtain object, if do not find destination object in Spring container, loading classes instantiation from the Classpath path of the second application system, calls for service providing module.
The present invention at least has following beneficial effect:
1, in the present invention, while calling service object between different application systems, do not need specialized designs development interface again, thereby workload and cost payout have been reduced, in addition, miscellaneous service is processed object and can is with external system that service is provided by configuration, has brought great dirigibility, significantly reduces the complexity of the system integration.
2, in the present invention, use ICE bus to transmit the request of client and service end, make the object reference process between application system simple, exploitation is higher with the efficiency of operation, can meet object reference and data communication between the application system of all kinds of isomeries.
Certainly, implement either method of the present invention or product and not necessarily need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the structural representation of a kind of system of access application internal system object in one embodiment of the invention.
Fig. 2 is the process flow diagram of a kind of method of access application internal system object in one embodiment of the invention;
Fig. 3 is the process flow diagram of a kind of method of access application internal system object in a preferred embodiment of the present invention;
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is carried out to clear, complete description, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
One embodiment of the present of invention have proposed a kind of system of access application internal system object, and referring to Fig. 1, this system comprises:
ICE bus, as the middleware of message exchange, provides registration, access, the node administration function of service, for ISP provides unified access interface with service caller.
Service registry administration module 102, for distributing service providing module according to the service identifiers of object reference request object reference request;
By the object accesses service that application provides to Java Web, register, the service identifiers of management Java Web application, and distribute according to the service identifiers of Java Web application the object reference request that comes from ICE bus.Service registry administration module consists of CommonService and CommonInterface, the registration that CommonService serves for ICE and corresponding; CommonInterface is for creating the agency of Java Web application internal object, by client call.
Service providing module provides accordant interface service name, is registered in service registry administration module, for service registry module, calls.
IceListener monitors and responds the request distributing from service registry administration module, receives parameter, by Parameters, parameter is processed the internal object title of Location Request.
ServiceProvider, according to the title of internal object, obtains internal object from internal object administration module, and carries out object reference, completes object requests operation.
Internal object administration module 104, for obtain the example of request call object from Spring container according to the configuration of request call object, carry out the method for request call object, the execution result of object method, through ICE bus transfer, sends above-mentioned the first application system of sending object reference request to.
In Java Web application, business object manages by Spring container.ServiceFactory reads the list object of appointment in configuration file, from Spring container, obtain object, if do not find destination object in Spring container, loading classes instantiation from the Classpath path of Java Web application, calls for service providing module.Internal object administration module forms according to the method for Java Web application internal object, and the parameter of external request is encapsulated, main processing parameter form, type.
Wherein, described service providing module and internal object administration module are embedded in the second application system.
Wherein, described service registry administration module comprises generic service CommonService and general-purpose interface CommonInterface, and wherein CommonService is for the registration of ICE service; CommonInterface is for creating the agency of application system internal object, by client call.
Wherein, described service providing module comprises service audiomonitor IceListener, ISP ServiceProvider and parameter set Parameters, wherein IceListener is for monitoring and respond the object reference request distributing from service registry administration module, and receive parameter, parameter is passed to Parameters; Parameters is used for the parameter receiving to process, the internal object title of Location Request; ServiceProvider, for according to internal object title, obtains internal object, and carries out internal object and call from internal object administration module, completes the operation of object reference.
Wherein, described internal object administration module comprises ServiceFactory, ServiceFactory is for reading the list object of configuration file appointment, from Spring container, obtain object, if do not find destination object in Spring container, loading classes instantiation from the Classpath path of the second application system, calls for service providing module.
In embodiments of the present invention, while calling service object between different application systems, do not need specialized designs development interface again, thereby workload and cost payout have been reduced, in addition, miscellaneous service is processed object and can is with external system that service is provided by configuration, has brought great dirigibility, significantly reduces the complexity of the system integration.
Visible, in embodiments of the present invention, use ICE bus to transmit the request of client and service end, make the object reference process between application system simple, exploitation is higher with the efficiency of operation, can meet object reference and data communication between the application system of all kinds of isomeries.
Referring to Fig. 2, an alternative embodiment of the invention has also proposed a kind of method of access application internal system object, comprises the steps:
Step 201: the first application system is sent object reference request.
Step 202:ICE bus is forwarded to service registry administration module by object reference request.
Step 203: service registry administration module distributes service providing module according to the service identifiers of object reference request object reference request.
Step 204: service providing module is received after object reference request, obtains the title of object reference request, after the request of judgement object reference is legitimate request, sends to internal object administration module by object reference request.
Step 205: internal object administration module obtains the example of request call object from Spring container according to the configuration of request call object, carry out the method for request call object, the execution result of object method, through ICE bus transfer, sends above-mentioned the first application system of sending object reference request to.
Visible, in embodiments of the present invention, while calling service object between different application systems, do not need specialized designs development interface again, thereby reduced workload and cost payout, in addition, miscellaneous service is processed object and can is with external system that service is provided by configuration, bring great dirigibility, significantly reduced the complexity of the system integration.
With typical Java Web, be applied as example, carry out the implementation procedure of a more detailed explanation preferred embodiment of the present invention.Referring to Fig. 3, this process comprises the steps:
Step 301: internal object administration module (IOM) and service providing module (SPM) are embedded in Java Web application.
In this step, in concrete application, these two modules jar file of packing respectively, is put into service object's configuration file in the Classpath of Java Web application.
Step 302: write and adapt to the ServiceFactory that embeds Java Web application.
In this step, write and adapt to the ServiceFactory that embeds Java Web application, inherit the ServiceFactory of internal object administration module (IOM), and realize object extraction function for the Spring container (can be also other object container) of the Java Web application embedding, and in service object's configuration file of realizing subclass configuration of ServiceFactory.
Step 303: service is published in ICE bus service registry administration module (SRM) as ICE, and the information of Java Web service is write in registration service configuration file.
Step 304: the service of operation ICE bus, service registry administration module (SRM) is brought in the management of ICE bus as a node service.
Step 305: internal object administration module obtains the example of request call object from Spring container according to the configuration of request call object, carry out the method for request call object, the execution result of object method, through ICE bus transfer, sends above-mentioned the first application system of sending object reference request to.
After step 306:Java Web application start, be configured to object in service object's configuration file and can be used as service and conducted interviews by ICE bus by client.
Visible, in embodiments of the present invention, while calling service object between different application systems, do not need specialized designs development interface again, thereby reduced workload and cost payout, in addition, miscellaneous service is processed object and can is with external system that service is provided by configuration, bring great dirigibility, significantly reduced the complexity of the system integration.
Above embodiment only, for technical scheme of the present invention is described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a system for access application internal system object, is characterized in that, this system comprises:
ICE bus, is forwarded to service registry administration module for the object reference request that the first application system is sent;
Service registry administration module, for distributing service providing module according to the service identifiers of object reference request object reference request;
Service providing module, for receiving after object reference request, obtains the title of object reference request, after the request of judgement object reference is legitimate request, object reference request is sent to internal object administration module;
Internal object administration module, for obtain the example of request call object from Spring container according to the configuration of request call object, the method of carrying out request call object, the execution result of object method, through ICE bus transfer, sends above-mentioned the first application system of sending object reference request to.
2. the system of a kind of access application internal system object according to claim 1, is characterized in that, described service providing module and internal object administration module are embedded in the second application system.
3. the system of a kind of access application internal system object according to claim 1, it is characterized in that, described service registry administration module comprises generic service CommonService and general-purpose interface CommonInterface, and wherein CommonService is for the registration of ICE service; CommonInterface is for creating the agency of application system internal object, by client call.
4. the system of a kind of access application internal system object according to claim 1, it is characterized in that, described service providing module comprises service audiomonitor IceListener, ISP ServiceProvider and parameter set Parameters, wherein IceListener is for monitoring and respond the object reference request distributing from service registry administration module, and receive parameter, parameter is passed to Parameters; Parameters is used for the parameter receiving to process, the internal object title of Location Request; ServiceProvider, for according to internal object title, obtains internal object, and carries out internal object and call from internal object administration module, completes the operation of object reference.
5. the system of a kind of access application internal system object according to claim 1, it is characterized in that, described internal object administration module comprises ServiceFactory, ServiceFactory is for reading the list object of configuration file appointment, from Spring container, obtain object, if do not find destination object in Spring container, loading classes instantiation from the Classpath path of the second application system, calls for service providing module.
6. a method for access application internal system object, is characterized in that, the method comprises:
The first application system is sent object reference request, ICE bus is forwarded to service registry administration module by object reference request, service registry administration module distributes service providing module according to the service identifiers of object reference request object reference request, service providing module is received after object reference request, obtain the title of object reference request, after the request of judgement object reference is legitimate request, object reference request is sent to internal object administration module, internal object administration module obtains the example of request call object from Spring container according to the configuration of request call object, carry out the method for request call object, the execution result of object method is through ICE bus transfer, send above-mentioned the first application system of sending object reference request to.
7. the method for a kind of access application internal system object according to claim 6, is characterized in that, described service providing module and internal object administration module are embedded in the second application system.
8. the method for a kind of access application internal system object according to claim 6, it is characterized in that, described service registry administration module comprises generic service CommonService and general-purpose interface CommonInterface, and wherein CommonService is for the registration of ICE service; CommonInterface is for creating the agency of application system internal object, by client call.
9. the method for a kind of access application internal system object according to claim 6, it is characterized in that, described service providing module comprises service audiomonitor IceListener, ISP ServiceProvider and parameter set Parameters, wherein IceListener is for monitoring and respond the object reference request distributing from service registry administration module, and receive parameter, parameter is passed to Parameters; Parameters is used for the parameter receiving to process, the internal object title of Location Request; ServiceProvider, for according to internal object title, obtains internal object, and carries out internal object and call from internal object administration module, completes the operation of object reference.
10. the method for a kind of access application internal system object according to claim 6, it is characterized in that, described internal object administration module comprises ServiceFactory, ServiceFactory is for reading the list object of configuration file appointment, from Spring container, obtain object, if do not find destination object in Spring container, loading classes instantiation from the Classpath path of the second application system, calls for service providing module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310661063.7A CN103677975A (en) | 2013-12-09 | 2013-12-09 | System and method for having access to internal objects of application systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310661063.7A CN103677975A (en) | 2013-12-09 | 2013-12-09 | System and method for having access to internal objects of application systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103677975A true CN103677975A (en) | 2014-03-26 |
Family
ID=50315632
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310661063.7A Pending CN103677975A (en) | 2013-12-09 | 2013-12-09 | System and method for having access to internal objects of application systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103677975A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107733922A (en) * | 2017-11-20 | 2018-02-23 | 百度在线网络技术(北京)有限公司 | Method and apparatus for calling service |
CN109669787A (en) * | 2018-12-05 | 2019-04-23 | 恒生电子股份有限公司 | Data transmission method and device, storage medium, electronic equipment |
CN109683992A (en) * | 2017-10-18 | 2019-04-26 | 北京京东尚科信息技术有限公司 | Method and apparatus for managing object |
CN111290746A (en) * | 2020-02-13 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Object access method, device, equipment and storage medium |
CN111309474A (en) * | 2020-01-19 | 2020-06-19 | 北京恒华伟业科技股份有限公司 | Communication method, communication device and distributed service registration center |
CN112270408A (en) * | 2020-09-30 | 2021-01-26 | 北京清微智能科技有限公司 | Heterogeneous system simulator framework and its generation, access and main loop running methods |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060277158A1 (en) * | 2005-06-07 | 2006-12-07 | Samsung Electronics Co., Ltd. | System and method for implementing database application while guaranteeing independence of software modules |
CN101620536A (en) * | 2009-08-17 | 2010-01-06 | 用友软件股份有限公司 | Method and device for invoking performance function |
CN101645022A (en) * | 2009-08-28 | 2010-02-10 | 曙光信息产业(北京)有限公司 | Work scheduling management system and method for a plurality of colonies |
CN102508673A (en) * | 2011-12-02 | 2012-06-20 | 方正国际软件有限公司 | System and method for rapidly developing and configuring platform software |
CN102880506A (en) * | 2012-09-10 | 2013-01-16 | 曙光信息产业(北京)有限公司 | System and method for controlling application operation based on operation scheduling system |
CN103164270A (en) * | 2011-12-12 | 2013-06-19 | 阿里巴巴集团控股有限公司 | Java system application programming interface calling method and system using the same |
-
2013
- 2013-12-09 CN CN201310661063.7A patent/CN103677975A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060277158A1 (en) * | 2005-06-07 | 2006-12-07 | Samsung Electronics Co., Ltd. | System and method for implementing database application while guaranteeing independence of software modules |
CN101620536A (en) * | 2009-08-17 | 2010-01-06 | 用友软件股份有限公司 | Method and device for invoking performance function |
CN101645022A (en) * | 2009-08-28 | 2010-02-10 | 曙光信息产业(北京)有限公司 | Work scheduling management system and method for a plurality of colonies |
CN102508673A (en) * | 2011-12-02 | 2012-06-20 | 方正国际软件有限公司 | System and method for rapidly developing and configuring platform software |
CN103164270A (en) * | 2011-12-12 | 2013-06-19 | 阿里巴巴集团控股有限公司 | Java system application programming interface calling method and system using the same |
CN102880506A (en) * | 2012-09-10 | 2013-01-16 | 曙光信息产业(北京)有限公司 | System and method for controlling application operation based on operation scheduling system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109683992A (en) * | 2017-10-18 | 2019-04-26 | 北京京东尚科信息技术有限公司 | Method and apparatus for managing object |
CN109683992B (en) * | 2017-10-18 | 2022-06-07 | 北京京东尚科信息技术有限公司 | Method and apparatus for managing objects |
CN107733922A (en) * | 2017-11-20 | 2018-02-23 | 百度在线网络技术(北京)有限公司 | Method and apparatus for calling service |
CN107733922B (en) * | 2017-11-20 | 2020-12-08 | 百度在线网络技术(北京)有限公司 | Method and apparatus for invoking a service |
CN109669787A (en) * | 2018-12-05 | 2019-04-23 | 恒生电子股份有限公司 | Data transmission method and device, storage medium, electronic equipment |
CN111309474A (en) * | 2020-01-19 | 2020-06-19 | 北京恒华伟业科技股份有限公司 | Communication method, communication device and distributed service registration center |
CN111309474B (en) * | 2020-01-19 | 2023-05-12 | 北京恒华伟业科技股份有限公司 | Communication method, communication device and distributed service registration center |
CN111290746A (en) * | 2020-02-13 | 2020-06-16 | 腾讯科技(深圳)有限公司 | Object access method, device, equipment and storage medium |
CN112270408A (en) * | 2020-09-30 | 2021-01-26 | 北京清微智能科技有限公司 | Heterogeneous system simulator framework and its generation, access and main loop running methods |
CN112270408B (en) * | 2020-09-30 | 2025-01-03 | 北京清微智能科技有限公司 | Heterogeneous system simulator framework and its generation, access and main loop operation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103677975A (en) | System and method for having access to internal objects of application systems | |
CN107729139B (en) | Method and device for concurrently acquiring resources | |
CN103366471B (en) | A kind of online business concurrent processing method, system and server | |
CN101827302B (en) | Processing method and unified service platform are unified in multi-service | |
CN103118076A (en) | Upgraded server cluster system and load balancing method thereof | |
CN101739300A (en) | Method and system for inter-process communication of multimedia terminal | |
CN103092645B (en) | A kind of geospatial information application system based on Microkernel and its implementation | |
CN112788074A (en) | Data transmitting method, processing method, receiving method and equipment and storage medium | |
CN101964763B (en) | Message handling method | |
CN104079630A (en) | Business server side load balancing method, client side, server side and system | |
CN105786913A (en) | Cloud manufacturing platform oriented ERP integrated database service interface encapsulation system and method | |
CN102025649A (en) | Message processing method of enterprise service bus | |
US12200082B2 (en) | Microservice call method and apparatus, device, and medium | |
US20130290524A1 (en) | System and method for clustered transactional interoperability of multiple messaging providers using a single connector mechanism | |
CN101388887A (en) | Network service processing method and system | |
CN102520936A (en) | Method for realizing sharing of Socket communication service on Android platform | |
CN103795793A (en) | Road vehicle monitoring platform system based on double server clusters | |
CN110851248A (en) | Asynchronous task data processing method and device and computer readable storage medium | |
CN111142910B (en) | Multi-interface-oriented resource allocation processing method and system | |
CN103957188A (en) | Symmetrical bidirectional decoupling enterprise service description method and service scheduling system | |
CN102779071A (en) | Method, device and system for calling software interface | |
CN101986614B (en) | Logistics application-oriented universal industry service bus system and implement method thereof | |
CN105827671A (en) | System platform characterized by distributed use and centralized management and portal server | |
CN112596931A (en) | Cross-process communication method and device, electronic equipment and storage medium | |
CN103544060A (en) | WEBSERVICE based service dispatching system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140326 |
|
RJ01 | Rejection of invention patent application after publication |