CN101021786A - Method for calling universal structure - Google Patents

Method for calling universal structure Download PDF

Info

Publication number
CN101021786A
CN101021786A CN 200710013400 CN200710013400A CN101021786A CN 101021786 A CN101021786 A CN 101021786A CN 200710013400 CN200710013400 CN 200710013400 CN 200710013400 A CN200710013400 A CN 200710013400A CN 101021786 A CN101021786 A CN 101021786A
Authority
CN
China
Prior art keywords
component
type
calling
platform
factory
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
Application number
CN 200710013400
Other languages
Chinese (zh)
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.)
Inspur Group Shandong General Software Co Ltd
Original Assignee
Inspur Group Shandong General Software 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 Inspur Group Shandong General Software Co Ltd filed Critical Inspur Group Shandong General Software Co Ltd
Priority to CN 200710013400 priority Critical patent/CN101021786A/en
Publication of CN101021786A publication Critical patent/CN101021786A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This invention is a processing method of multi-type components (application pools with independent release and specific interface), and a set of common component calling modules, belonging to a core component of GSP platform (full use of component-based development thinking for a number of flexible configuration function, highly expansible business system design and development platform). Because of the rich available external application procedures and loose scalable structure, it can be widely used in GSP platform and other business systems. The components provide simple user interface, fully considering a variety of applications, which provides users with convenient and unified call mode of external application procedure.

Description

A kind of method of calling universal structure
Technical field
The application technology that the present invention designs a calculating machine, specifically a kind of method of calling universal structure.
Background technology
Along with the maturation of component technology development, the usable range of member in business management software enlarges day by day with frequency of utilization and also improves gradually.Because member of a great variety, method of calling is similar, so often occurs the code of a large amount of similar component invokings in the code of operation system, and these codes are scattered in the operation system, and is complicated and be difficult to safeguard.Software developers develop goes out a lot of public component invocation component at the particular invocation mode, but suffers from the abstract model that calls that can not find multiple member, and can't design the standard member method of calling that is of universal significance.
Summary of the invention
The method particular content step of calling universal structure of the present invention is as follows: the storage means that comprises call-by mechanism, member issue and the member of member, performing step: (a) issue member, member is registered in the system by register interface, different element types is used different register interface, and member is by unique member id sign; (b) id that the user will component invoking passes to member factory, and disposes correct real ginseng and constructed fuction parameter, and member factory will find the log-on message of member according to member id, according to the type of member, create out the member of specified type; (c) the Invoke method of user's component invoking is carried out member or is directly used component object.
The invention has the beneficial effects as follows: method of the present invention has solved the call-by mechanism of multiple member, complete member issue and the schemes such as solution of storing.The call type of member can be expanded arbitrarily, and member issue, storage scheme also can be replaced completely.
The appendix explanation
Fig. 1 is the structural representation that member is acted on behalf of factory and member agency.
Fig. 2 is the structural representation of member entity.
Fig. 3 is the deployed environment synoptic diagram of member factory.
Embodiment
1, the member call type that has realized comprises the jar of SQL statement, COM+ assembly, WinForm forms, the WebForm forms of Dotnet procedure set, WebService, storing process, wall scroll, self-defined list, java.
2, in the component description structure, the structure of member header is identical, comprises the ID, numbering, title, RunAtServer of member, the type of concrete member.Member body information has been arranged unified shape ginseng form according to different element types and difference, and defined parameters type, parameter mode comprise IN, INOUT and OUT.Also the member of tenaculum constructed fuction calls.
3, this assembly can be deployed in the client and server end, uses for client-side program and server end.Assembly is selected the different component way to manage according to the RunAtServer field on the member of registration.Use step: (a) issue member, member is registered in the system by register interface, different element types is used different register interface.Member is by unique member id sign.(b) id of user's member that will call passes to member factory, and disposes correct real ginseng and constructed fuction parameter, and member factory will find the log-on message of member according to member id, according to the type of member, create out the member of specified type.(c) the Invoke method of user's component invoking is carried out member, or directly uses component object.
The member that the present invention is applied in the operation system calls scene.For example: operation system need be called an Add method (void Add (int a, int b, ref int c)) among the MathLib.dll, at first uses the member registration tool that this instrument is registered in the system, and obtains the unique identification id of member; When using, call Invoke (string componentId, Parameter[] paramArr) and just finished calling of member; From parameter, can obtain handling data afterwards through member.

Claims (4)

1, a kind of method of calling universal structure, it is characterized in that comprising the storage means of call-by mechanism, member issue and the member of member, performing step: (a) issue member, member is registered in the system by register interface, different element types is used different register interface, and member is by unique member id sign; (b) id that the user will component invoking passes to member factory, and disposes correct real ginseng and constructed fuction parameter, and member factory will find the log-on message of member according to member id, according to the type of member, create out the member of specified type; (c) the Invoke method of user's component invoking is carried out member, or directly uses component object.
2, method according to claim 1 is characterized in that realizing that the member that calls has the jar member of SQL statement, COM+ assembly, WinForm forms, the WebForm forms of Dotnet procedure set, Web service, storing process, wall scroll, self-defined list, java.
3, method according to claim 2 is characterized in that, 1) structure of each member header is identical, as the type of the ID of member, numbering, title, RunAtServer, concrete member; 2) member body information is arranged unified shape ginseng form according to different element types and difference, the calling of band constructed fuction member, defined parameters type, and parameter mode comprises IN, INOUT and OUT.3) unify the descriptive language form according to preceding 2 members that form, referring to accompanying drawing 4.
4, method according to claim 1 is characterized in that 1) each member is deployed in the client and server end and uses for client-side program and server end, and member is selected the different component way to manage according to the RunAtServer field on the member of registration.2) provide extensive interface, provide component deployment mode and member in the heterogeneous system to create mode.
CN 200710013400 2007-03-15 2007-03-15 Method for calling universal structure Pending CN101021786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710013400 CN101021786A (en) 2007-03-15 2007-03-15 Method for calling universal structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710013400 CN101021786A (en) 2007-03-15 2007-03-15 Method for calling universal structure

Publications (1)

Publication Number Publication Date
CN101021786A true CN101021786A (en) 2007-08-22

Family

ID=38709561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710013400 Pending CN101021786A (en) 2007-03-15 2007-03-15 Method for calling universal structure

Country Status (1)

Country Link
CN (1) CN101021786A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521129A (en) * 2011-12-08 2012-06-27 北京新媒传信科技有限公司 Testing method and testing device for owner-drawing window
CN101615116B (en) * 2008-06-23 2012-12-12 成都市华为赛门铁克科技有限公司 Method, device and system for acquiring interface
CN103164270A (en) * 2011-12-12 2013-06-19 阿里巴巴集团控股有限公司 Java system application programming interface calling method and system using the same
CN103793232A (en) * 2014-02-20 2014-05-14 浪潮集团山东通用软件有限公司 Component calling and extending frame implementation method based on AOP
CN104216696A (en) * 2013-06-05 2014-12-17 北京齐尔布莱特科技有限公司 Thumbnail component method
CN104536815A (en) * 2015-01-28 2015-04-22 浪潮通用软件有限公司 Method and system for carrying out synergetic treatment on business applications
CN106845940A (en) * 2017-01-18 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of universal data switching method
CN109408256A (en) * 2018-10-17 2019-03-01 麒麟合盛网络技术股份有限公司 Using call method and device
CN110597897A (en) * 2019-09-12 2019-12-20 泰康保险集团股份有限公司 Data calling method, device, medium and electronic equipment

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615116B (en) * 2008-06-23 2012-12-12 成都市华为赛门铁克科技有限公司 Method, device and system for acquiring interface
CN102521129A (en) * 2011-12-08 2012-06-27 北京新媒传信科技有限公司 Testing method and testing device for owner-drawing window
CN102521129B (en) * 2011-12-08 2014-10-22 北京新媒传信科技有限公司 Testing method and testing device for owner-drawing window
CN103164270A (en) * 2011-12-12 2013-06-19 阿里巴巴集团控股有限公司 Java system application programming interface calling method and system using the same
CN104216696A (en) * 2013-06-05 2014-12-17 北京齐尔布莱特科技有限公司 Thumbnail component method
CN104216696B (en) * 2013-06-05 2017-08-25 北京齐尔布莱特科技有限公司 A kind of thumbnail Component
CN103793232A (en) * 2014-02-20 2014-05-14 浪潮集团山东通用软件有限公司 Component calling and extending frame implementation method based on AOP
CN104536815A (en) * 2015-01-28 2015-04-22 浪潮通用软件有限公司 Method and system for carrying out synergetic treatment on business applications
CN106845940A (en) * 2017-01-18 2017-06-13 济南浪潮高新科技投资发展有限公司 A kind of universal data switching method
CN109408256A (en) * 2018-10-17 2019-03-01 麒麟合盛网络技术股份有限公司 Using call method and device
CN109408256B (en) * 2018-10-17 2021-03-19 麒麟合盛网络技术股份有限公司 Application calling method and device
CN110597897A (en) * 2019-09-12 2019-12-20 泰康保险集团股份有限公司 Data calling method, device, medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN101021786A (en) Method for calling universal structure
CN109246251B (en) Micro-service calling method, device, system, equipment and readable storage medium
US7720953B2 (en) System and method of data source detection
US8479153B2 (en) Abstracting transformation for model driven architecture
US20040024579A1 (en) SNMP interface to existing resource management extension-enabled management agents
EP1387262A1 (en) Method to generate synchronization contracts for software components and web services
CN102622237B (en) A kind of collocation method of business function procedure and system
CN102033741B (en) North interface system and realization method thereof
CN112988409B (en) Interface calling method and device, computer equipment and storage medium
CN113434175A (en) Data processing method, device, storage medium and equipment
Bader et al. Details of the Asset Administration Shell-part 2: interoperability at runtime-exchanging information via Application Programming Interfaces (1.0 RC02)
WO2009018234A2 (en) Framework to integrate web services with on-premise software
KR100670605B1 (en) System and method for servicing multimedia contents and recording medium thereof
Taherkordi et al. Programming sensor networks using REMORA component model
WO2006064018A1 (en) Access middleware application programming interfaces in a runtime environment
CN113448689A (en) Dubbo protocol conversion device and method in operation period
CN102546737A (en) Wireless Internet gateway access system and method
CN100464546C (en) An ASN.1 protocol processor
Rouvoy et al. Towards context-aware transaction services
WO2007019745A1 (en) A service providing method of distributed service system
CN107911442B (en) Receiving response interface interaction method and device, computer equipment and storage medium
Fayçal et al. Integrating legacy systems in a SOA using an agent based approach for information system agility
CN114637531A (en) Method and device for dynamically generating application program interface
CN114490318A (en) Environment management system and method for realizing weak isolation based on bytecode enhancement
CN103399752A (en) Mobile phone application chain reaction system and method based on Internet service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication