CN103646210A - Method and device for calling system function - Google Patents

Method and device for calling system function Download PDF

Info

Publication number
CN103646210A
CN103646210A CN201310742769.6A CN201310742769A CN103646210A CN 103646210 A CN103646210 A CN 103646210A CN 201310742769 A CN201310742769 A CN 201310742769A CN 103646210 A CN103646210 A CN 103646210A
Authority
CN
China
Prior art keywords
subsystem
module
function
request
access interface
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
CN201310742769.6A
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.)
SERVYOU SOFTWARE GROUP Co Ltd
Original Assignee
SERVYOU SOFTWARE GROUP 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 SERVYOU SOFTWARE GROUP Co Ltd filed Critical SERVYOU SOFTWARE GROUP Co Ltd
Priority to CN201310742769.6A priority Critical patent/CN103646210A/en
Publication of CN103646210A publication Critical patent/CN103646210A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution

Abstract

The invention provides a method and a device for calling a system function. The method comprises the steps of sending a function query request to a platform side by a request side, finding a corresponding access interface according to the function query request by the platform side, sending the found access interface to the request side, and calling the function according to the access interface by the request side. According to the method, function calling among different systems can be realized, a repeatability function for each system is avoided, the cost for development and post configuration of a user is reduced, and the working efficiency of the user is improved.

Description

A kind of method of system function call and device
Technical field
The present invention relates to electronic message service flow process technical field, particularly a kind of method of system function call and device.
Background technology
Along with the high speed development of computing machine and Internet technology, increasing traditional business system is replaced by electronic information, becomes a part indispensable in people's Working Life.Electronic information bring user easily with no paper at all office in, due to the refinement of enterprises business or the delineation of activities of functional government departments, when realizing a certain business, may need to use a plurality of electronic informations to process.
With enterprise, declare dutiable goods as example: in the prior art, enterprise gives the correct time and may relate to several tax operation system or functional modules carrying out tax application, as taxation declaration, tax authentication, send a duplicate to the tax, bill printing etc.And in each tax system, comprise the functions such as user logins, taxpayer's management.In this use-pattern, exist certain use problem:
In some cases, user need to be between different system calling data mutually.And have now, in technology, to realize this function can only be to use systemic-function that data are derived, then import in another system.And between these two systems, may also there is the inconsistent situation of data layout, also increased the difficulty of user's usage data.
In addition, in these tax systems, exist the function of many repetitions, as functions such as user's login, user authenticate, setting of printing, communication connection configurations.Developer needs to develop the module that each function repeats when for each system development, and user is when carrying out business operation, also needs to login one by one each system.So both increase developer's overlapping development workload, and caused again user to need in use the identical function of each system be configured respectively or login, greatly increased the fussy degree of user's operation.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of system function call method and device, thereby realizes the funcall between different system, user-friendly.
A system function call method, comprising:
Request end is to platform end sending function inquiry request;
Described platform end is searched corresponding access interface according to described functional inquiry request, and the described access interface finding is sent to described request end;
Described request end calls described function according to described access interface.
Preferably, described platform end is searched corresponding access interface according to described functional inquiry request, and the described access interface finding is sent to described request end, is specially:
Described platform end is searched corresponding subsystem according to described funcall request in subsystem configures file;
The access interface of described subsystem is sent to described request end.
Preferably, also comprise:
The function information of subsystem is registered in the subsystem configures file of platform end;
Described platform end is according to the access interface of subsystem described in described subsystem configures file generated.
Preferably, described platform end is searched corresponding access interface according to described functional inquiry request, and the described access interface finding is sent to described request end, is specially:
Described platform end is searched corresponding functional module according to described funcall request in subsystem module configuration file;
The access interface of described functional module is sent to described request end.
Preferably, also comprise:
The function information of functional module in subsystem is registered in the subsystem module configuration file of described platform end;
Described platform end generates the access interface of described functional module according to described subsystem function module file.
A system function call device, comprising: functional inquiry module, interface are searched module and function allocating module;
Described functional inquiry module, the functional inquiry request sending for receiving request end;
Described interface is searched module, for searching corresponding access interface according to described functional inquiry request, the described access interface finding is sent to described request end;
Described function allocating module, the funcall request sending for receiving described request end, calls described access interface and operates.
Preferably, described interface is searched module, comprising: subsystem function is searched submodule and subsystem interface feedback submodule;
Described subsystem function is searched submodule, for searching corresponding subsystem according to described functional inquiry request at subsystem configures file;
Described subsystem interface feedback submodule, for sending to described request end by the access interface of described subsystem.
Preferably, also comprise: subsystem function Registering modules and subsystem interface generation module;
Described subsystem function Registering modules, for registering the function information of subsystem at subsystem configures file;
Described subsystem interface generation module, for according to the access interface of subsystem described in described subsystem configures file generated.
Preferably, described interface is searched module, comprising: functional module is searched submodule and functional module feedback submodule;
Described functional module is searched submodule, for searching corresponding functional module according to described funcall request at subsystem module configuration file;
Described functional module feedback submodule, for sending to described request end by the access interface of described functional module.
Preferably, also comprise: functional module Registering modules and functional module interface generation module;
Described functional module Registering modules, for registering the function information of subsystem functional module in subsystem module configuration file;
Described functional module interface generation module, for generating the access interface of described functional module according to described subsystem function module file.
Compared with prior art, the present invention has the following advantages:
In the present invention, first request end is to platform end sending function inquiry request, afterwards platform end according to functional inquiry request search corresponding access interface, and the access interface finding is sent to request end, request end is according to the access interface calling function of receiving.By using above method, can realize mutually calling between different system function, be no longer necessary for each system repeated function is provided, reduce the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of system function call method the first embodiment provided by the invention;
Fig. 2 is the process flow diagram of a kind of system function call method the second embodiment provided by the invention;
Fig. 3 is the process flow diagram of a kind of system function call method the 3rd embodiment provided by the invention;
Fig. 4 is the process flow diagram of a kind of system function call method the 4th embodiment provided by the invention;
Fig. 5 is the process flow diagram of a kind of system function call method the 5th embodiment provided by the invention;
Fig. 6 is the theory diagram of a kind of system function call device the first embodiment provided by the invention;
Fig. 7 is the theory diagram of a kind of system function call device the second embodiment provided by the invention;
Fig. 8 is the theory diagram of a kind of system function call device the 3rd embodiment provided by the invention;
Fig. 9 is the theory diagram of a kind of system function call device the 4th embodiment provided by the invention;
Figure 10 is the theory diagram of a kind of system function call device the 5th embodiment provided by the invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in detail.
Referring to Fig. 1, this figure is the process flow diagram of a kind of system function call method the first embodiment provided by the invention.
In the present embodiment, comprising:
S101: request end is to platform end sending function inquiry request.
S102: described platform end is searched corresponding access interface according to described functional inquiry request.
S103: the described access interface finding is sent to described request end.
S104: described request end calls described function according to described access interface.
For the funcall between different system or disparate modules, first by funcall request end to platform end sending function inquiry request.The concrete function that wherein, can comprise function to be checked in functional inquiry request is described, relates to data content, is returned to the contents such as form.Platform end can be local system or far-end server.
Platform end after the functional inquiry request that receives request end, in inquiry system configuration file, whether exist with functional inquiry request in the same or analogous system of function.Take tax business as example, and in functional inquiry request, requesting query corporation tax is declared function, and requires to return to corresponding functional interface and call.Whether platform end is searched to exist to value added tax and is declared relevant system in CONFIG.SYS.If there is value added tax declaration system to register at platform end before, platform end can find this value added tax declaration system.
Because subsystem function is when platform end is registered, platform end can generate corresponding access interface for registration subsystem, so that other system is called.Therefore,, after finding the subsystem corresponding with functional inquiry request, platform end can return to request end the access interface of the subsystem finding.Wherein, access interface can have polytype, as interface function that includes a plurality of parameters etc.Therefore, platform end will find value added tax declaration system and send to request end at the corresponding access interface of platform end.
Corresponding function, after receiving the access interface of platform end transmission, is called according to this access interface in request end.As value added tax, declaring function access interface is a call function, corresponding data is provided in function and carries out function; As value added tax, declaring function is a system,, by carrying out this access interface, can call out the window interface of value added tax application function.
In the present embodiment, first request end is to platform end sending function inquiry request, afterwards platform end according to functional inquiry request search corresponding access interface, and the access interface finding is sent to request end, request end is according to the access interface calling function of receiving.By using above method, can realize mutually calling between different system function, be no longer necessary for each system repeated function is provided, reduce the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Referring to Fig. 2, this figure is the process flow diagram of a kind of system function call method the second embodiment provided by the invention.
Step S201 in the present embodiment is identical with step S101 and S104 in system function call method the first embodiment with S204, at this, no longer repeats to introduce.
In the present embodiment, described platform end is searched corresponding access interface according to described functional inquiry request, and the described access interface finding is sent to described request end, is specially:
S202: described platform end is searched corresponding subsystem according to described funcall request in subsystem configures file.
S203: the access interface of described subsystem is sent to described request end.
When subsystem register arrives platform end, need to be by the function register of subsystem in the subsystem configures file of platform end.The subsystem that platform end can be registration according to the relevant information in subsystem configures file generates corresponding access interface.
Therefore,, when platform termination is received the functional inquiry request of request end transmission, according to the functional requirement in solicited message, in subsystem configures file, inquire about.As requesting query " value added tax is declared " in functional inquiry request, platform end is described as the subsystem of " value added tax is declared " according to this request locating function in subsystem configures file.
If can find the subsystem corresponding with functional inquiry request, the access interface that platform end generates the subsystem finding sends to request end.In this access interface, can comprise electronic mark information to subsystem, interface parameters information, return data interface message etc.
Afterwards, request end can be invoked at the registered subsystem function of platform end by this access interface.As " value added tax is declared " subsystem interface providing by platform end, can directly call out value added tax and declare the interface of subsystem and operate.
In the present embodiment, receive after the functional inquiry request of request end in platform termination, first platform end searches corresponding subsystem in subsystem configures file according to funcall request, then the access interface of subsystem is sent to request end.By using above method, can realize the searching of registered subsystem function, thereby be no longer necessary for each system, provide repeated function, reduce the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Referring to Fig. 3, this figure is the process flow diagram of a kind of system function call method the 3rd embodiment provided by the invention.
Step S303-S306 in the present embodiment is identical with the step S201-S204 in system function call method the second embodiment, at this, no longer repeats to introduce.
In the present embodiment, also comprise:
S301: the function information of subsystem is registered in the subsystem configures file of platform end.
S302: described platform end is according to the access interface of subsystem described in described subsystem configures file generated.
In order to realize more subsystem, can register at platform end, can also subsystem configures file be set platform end.Wherein, in subsystem configures file, store the title, ID, subsystem function, subsystem stores position, input/output argument etc. of subsystem.When subsystem register arrives platform end, the above system of subsystem and function information need to be registered in subsystem configures file.
After registration, in order to guarantee that other request end is to the calling of registration subsystem, the subsystem that platform end can be registration according to the relevant information in subsystem configures file generates corresponding access interface.As generated parameter rule, the output data layout etc. of corresponding platform ID, subsystem for this subsystem.Calling this subsystem can be realized by this access interface in other request end.
In the present embodiment, when new subsystem need to be registered to platform end, first the function information of subsystem is registered in the subsystem configures file of platform end, platform end is according to the access interface of subsystem described in described subsystem configures file generated afterwards.By using above method, can realize corresponding access interface is registered and generated to new subsystem, thereby guarantee the funcall of other request end to new subsystem, be no longer necessary for each system repeated function is provided, reduced the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Referring to Fig. 4, this figure is the process flow diagram of a kind of system function call method the 4th embodiment provided by the invention.
Step S401 in the present embodiment is identical with step S101 and S104 in system function call method the first embodiment with S404, at this, no longer repeats to introduce.
In the present embodiment, described platform end is searched corresponding access interface according to described functional inquiry request, and the described access interface finding is sent to described request end, is specially:
S402: described platform end is searched corresponding functional module according to described funcall request in subsystem module configuration file.
S403: the access interface of described functional module is sent to described request end.
When subsystem register arrives platform end, each standalone feature module in subsystem can also be registered in the subsystem module configuration file of platform end.As " bill printing " functional module in subsystem is registered at platform end.Platform end can be the corresponding access interface of generation in the subsystem of registration according to the relevant information in subsystem module configuration file.
When platform termination is received the functional inquiry request of request end transmission, can in subsystem module configuration file, inquire about according to the functional requirement in solicited message.If requesting query in functional inquiry request is " bill printing ", platform end is described as the functional module of " bill printing " according to this request locating function in subsystem module configuration file.
If can find corresponding functional module, the access interface that platform end generates the functional module finding sends to request end.In this access interface, can comprise the electronic mark information, interface parameters information, return data interface message of this functional module etc., can also comprise the information such as subsystem ID under this functional module.
Afterwards, request end can be invoked at the registered functional module of platform end by this access interface.As " bill printing " functional module access interface providing by platform end, can directly call out bill printing interface or directly on backstage, print operation.
In the present embodiment, in platform termination, receive after the functional inquiry request of request end, first platform end searches corresponding functional module in subsystem module configuration file according to funcall request, again the access interface of described functional module is sent to described request end afterwards.By using above method, can realize searching functional module in registered subsystem, thereby be no longer necessary for each system repeated feature capability is provided, reduced the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Referring to Fig. 5, this figure is the process flow diagram of a kind of system function call method the 5th embodiment provided by the invention.
Step S503-S506 in the present embodiment is identical with the step S401-S404 in system function call method the first embodiment, at this, no longer repeats to introduce.
In the present embodiment, also comprise:
S501: the function information of functional module in subsystem is registered in the subsystem module configuration file of described platform end.
S502: described platform end generates the access interface of described functional module according to described subsystem function module file.
In some cases, in order to realize multi-purpose sharing, can also subsystem module configuration file be set at platform end, functional module to different sub-systems is registered, wherein, in subsystem module configuration file, store title, the ID of function, the concrete function of module, input/output argument etc., can also comprise the information such as subsystem ID under this functional module.
After registration, for guarantee other request end to registration functional module call, platform end can according to the relevant information in subsystem module configuration file for registration functional module generate corresponding access interface.Parameter rule as generated corresponding platform ID for this functional module, while calling, output data layout etc.Calling this functional module can be realized by this access interface in other request end.
In the present embodiment, when the functional module of subsystem need to be registered to platform end, first the function information of functional module in subsystem is registered in the subsystem module configuration file of described platform end, platform end generates the access interface of described functional module according to subsystem function module file afterwards.By using above method, can realize corresponding access interface is registered and generated to the functional module in new subsystem, thereby guarantee the funcall of other request end to this functional module, be no longer necessary for each system repeated function is provided, reduced the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Method based on said system funcall, the present invention also provides the device of system function call, below in conjunction with specific embodiment, describes its ingredient in detail.
Referring to Fig. 6, this figure is the theory diagram of a kind of system function call device the first embodiment provided by the invention.
In the present embodiment, comprising: functional inquiry module 601, interface are searched module 602 and function allocating module 603.
Described functional inquiry module 601, the functional inquiry request sending for receiving request end.
Described interface is searched module 602, for searching corresponding access interface according to described functional inquiry request, the described access interface finding is sent to described request end.
Described function allocating module 603, the funcall request sending for receiving described request end, calls described access interface and operates.
For the funcall between different system or disparate modules, first by funcall request end to platform end sending function inquiry request.Wherein, in functional inquiry request, can comprise function to be checked concrete function, relate to data content, return to the contents such as form.Platform end can be local system or far-end server.
In functional inquiry module 601, receive after the functional inquiry request of request end, by interface search in module 602 inquiry system configuration files, whether exist with functional inquiry request in the same or analogous subsystem of function.Take tax business as example, and in functional inquiry request, requesting query corporation tax is declared function, and requires to return to corresponding access interface and call.Whether platform end is searched to exist to value added tax and is declared relevant system in CONFIG.SYS.If there is value added tax declaration system to register at platform end before, platform end can find this value added tax declaration system.
Because subsystem function is when platform end is registered, platform end can generate corresponding access interface for registration subsystem, so that other system is called.Therefore,, after finding the subsystem corresponding with functional inquiry request, platform end can return to request end the access interface of the system finding.Wherein, access interface can have polytype, as interface function that includes a plurality of parameters etc.Therefore, platform end will find value added tax declaration system and send to request end at the corresponding access interface of platform end.
Request end, after receiving the access interface of platform end transmission, sends complete call operation request according to this access interface and in conjunction with corresponding parameter to function allocating module 603.Now, function allocating module 603 receives respective calls instruction and carries out.As value added tax, declaring function access interface is a call function, corresponding data is provided in function and carries out function; As value added tax, declaring function is a subsystem,, by carrying out this access interface, calls out the window interface of value added tax application function.
In the present embodiment, first functional inquiry module receives the functional inquiry request that request end sends, afterwards interface search module according to functional inquiry request search corresponding access interface, and the access interface finding is sent to request end, last function allocating module receives the funcall instruction calls corresponding function of request end.By using above device, can realize mutually calling between different system function, be no longer necessary for each system repeated function is provided, reduce the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Referring to Fig. 7, this figure is the theory diagram of a kind of system function call device the second embodiment provided by the invention.
In the present embodiment, described interface is searched module 602, comprising: subsystem function is searched submodule 701 and subsystem interface feedback submodule 702.
Described subsystem function is searched submodule 701, for searching corresponding subsystem according to described functional inquiry request at subsystem configures file.
Described subsystem interface feedback submodule 702, for sending to described request end by the access interface of described subsystem.
When subsystem register arrives platform end, need to be by the function register of subsystem in the subsystem configures file of platform end.The subsystem that platform end can be registration according to the relevant information in subsystem configures file generates corresponding access interface.
Therefore,, when platform termination is received the functional inquiry request of request end transmission, subsystem function is searched submodule 701 and is inquired about in subsystem configures file according to the functional requirement in solicited message.As requesting query " value added tax is declared " in functional inquiry request, platform end is described as the subsystem of " value added tax is declared " according to this request locating function in subsystem configures file.
If can find the subsystem corresponding with functional inquiry request, the access interface that subsystem interface feedback submodule 702 generates the subsystem finding sends to request end.In this access interface, can comprise electronic mark information to subsystem, interface parameters information, return data interface message etc.
Afterwards, request end can be invoked at the registered subsystem function of platform end by this access interface.As " value added tax is declared " subsystem interface providing by platform end, can directly call out value added tax and declare the interface of subsystem and operate.
In the present embodiment, interface is searched module and is comprised: subsystem function is searched submodule and subsystem interface feedback submodule.After the functional inquiry request that receives request end, subsystem function is searched submodule and first according to funcall request, in subsystem configures file, is searched corresponding subsystem, and subsystem interface feedback submodule sends to request end by the access interface of subsystem again.By using above device, can realize the searching of registered subsystem function, thereby be no longer necessary for each system, provide repeated function, reduce the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Referring to Fig. 8, this figure is the theory diagram of a kind of system function call device the 3rd embodiment provided by the invention.
In the present embodiment, also comprise: subsystem function Registering modules 801 and subsystem interface generation module 802.
Described subsystem function Registering modules 801, for registering the function information of subsystem at subsystem configures file;
Described subsystem interface generation module 802, for according to the access interface of subsystem described in described subsystem configures file generated.
In order to realize more subsystem, can register at platform end, can also subsystem configures file be set platform end.Wherein, in subsystem configures file, store the title of subsystem, ID numbering of subsystem, subsystem function, subsystem stores position, input/output argument etc.When subsystem register arrives platform end, subsystem function Registering modules 801 is registered the above system of subsystem and function information in subsystem configures file.
After registration, in order to guarantee that other request end is to the calling of registration subsystem, the subsystem that subsystem interface generation module 802 can be registration according to the relevant information in subsystem configures file generates corresponding access interface.As generated parameter rule, the output data layout etc. of corresponding platform ID, subsystem for this subsystem.Calling this subsystem can be realized by this access interface in other request end.
In the present embodiment, also comprise: subsystem function Registering modules and subsystem interface generation module.When new subsystem need to be registered to platform end, first subsystem function Registering modules is registered the function information of subsystem in the subsystem configures file of platform end, and subsystem interface generation module is according to the access interface of subsystem described in described subsystem configures file generated afterwards.By using above device, can realize corresponding access interface is registered and generated to new subsystem, thereby guarantee the funcall of other request end to new subsystem, be no longer necessary for each system repeated function is provided, reduced the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Referring to Fig. 9, this figure is the theory diagram of a kind of system function call device the 4th embodiment provided by the invention.
In the present embodiment, described interface is searched module 602, comprising: functional module is searched submodule 901 and functional module feedback submodule 902.
Described functional module is searched submodule 901, for searching corresponding functional module according to described funcall request at subsystem module configuration file.
Described functional module feedback submodule 902, for sending to described request end by the access interface of described functional module.
When subsystem register arrives platform end, each standalone feature module in subsystem can also be registered in the subsystem module configuration file of platform end.As " bill printing " functional module in subsystem is registered at platform end.Platform end can be the corresponding access interface of generation in the subsystem of registration according to the relevant information in subsystem module configuration file.
When platform termination is received the functional inquiry request of request end transmission, functional module is searched submodule 901 and is inquired about in subsystem module configuration file according to the functional requirement in solicited message.If requesting query in functional inquiry request is " bill printing ", platform end is described as the functional module of " bill printing " according to this request locating function in subsystem module configuration file.
If can find corresponding functional module, the access interface that functional module feedback submodule 902 generates the functional module finding sends to request end.In this access interface, can comprise the electronic mark information, interface parameters information, return data interface message of this functional module etc., can also comprise the information such as subsystem ID under this functional module.
Afterwards, request end can be invoked at the registered functional module of platform end by this access interface.As " bill printing " functional module access interface providing by platform end, can directly call out bill printing interface or directly on backstage, print operation.
In the present embodiment, interface is searched module and is comprised: functional module is searched submodule and functional module feedback submodule.In platform termination, receive after the functional inquiry request of request end, functional module is searched submodule and first according to funcall request, in subsystem module configuration file, is searched corresponding functional module, and functional module feedback submodule sends to described request end by the access interface of described functional module more afterwards.By using above device, can realize searching functional module in registered subsystem, thereby be no longer necessary for each system repeated feature capability is provided, reduced the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
Referring to Figure 10, this figure is the theory diagram of a kind of system function call device the 5th embodiment provided by the invention.
In the present embodiment, also comprise: functional module Registering modules 1001 and functional module interface generation module 1002.
Described functional module Registering modules 1001, for registering the function information of subsystem functional module in subsystem module configuration file.
Described functional module interface generation module 1002, for generating the access interface of described functional module according to described subsystem function module file.
In some cases, in order to realize multi-purpose sharing, can use functional module Registering modules 1001, at platform end, subsystem module configuration file is set, functional module to different sub-systems is registered, wherein, in subsystem module configuration file, store title, the ID of function, the concrete function of module, input/output argument etc., can also comprise the information such as subsystem ID under this functional module.
After registration, for guarantee other request end to registration functional module call, functional module interface generation module 1002 according to the relevant information in subsystem module configuration file for registration functional module generate corresponding access interface.Parameter rule as generated corresponding platform ID for this functional module, while calling, output data layout etc.Calling this functional module can be realized by this access interface in other request end.
In the present embodiment, also comprise: functional module Registering modules and functional module interface generation module.When the functional module of subsystem need to be registered to platform end, first functional module Registering modules is registered the function information of functional module in subsystem in the subsystem module configuration file of described platform end, and functional module interface generation module generates the access interface of described functional module according to subsystem function module file afterwards.By using above device, can realize corresponding access interface is registered and generated to the functional module in new subsystem, thereby guarantee the funcall of other request end to this functional module, be no longer necessary for each system repeated function is provided, reduced the cost of exploitation and user's later stage configuration operation, also realize the funcall between different system, improved user's work efficiency.
The above, be only preferred embodiment of the present invention, not the present invention done to any pro forma restriction.Although the present invention discloses as above with preferred embodiment, yet not in order to limit the present invention.Any those of ordinary skill in the art, do not departing from technical solution of the present invention scope situation, all can utilize method and the technology contents of above-mentioned announcement to make many possible changes and modification to technical solution of the present invention, or be revised as the equivalent embodiment of equivalent variations.Therefore, every content that does not depart from technical solution of the present invention,, all still belongs in the scope of technical solution of the present invention protection any simple modification made for any of the above embodiments, equivalent variations and modification according to technical spirit of the present invention.

Claims (10)

1. a system function call method, is characterized in that, comprising:
Request end is to platform end sending function inquiry request;
Described platform end is searched corresponding access interface according to described functional inquiry request, and the described access interface finding is sent to described request end;
Described request end calls described function according to described access interface.
2. method according to claim 1, is characterized in that, described platform end is searched corresponding access interface according to described functional inquiry request, and the described access interface finding is sent to described request end, is specially:
Described platform end is searched corresponding subsystem according to described funcall request in subsystem configures file;
The access interface of described subsystem is sent to described request end.
3. method according to claim 2, is characterized in that, also comprises:
The function information of subsystem is registered in the subsystem configures file of platform end;
Described platform end is according to the access interface of subsystem described in described subsystem configures file generated.
4. method according to claim 1, is characterized in that, described platform end is searched corresponding access interface according to described functional inquiry request, and the described access interface finding is sent to described request end, is specially:
Described platform end is searched corresponding functional module according to described funcall request in subsystem module configuration file;
The access interface of described functional module is sent to described request end.
5. method according to claim 4, is characterized in that, also comprises:
The function information of functional module in subsystem is registered in the subsystem module configuration file of described platform end;
Described platform end generates the access interface of described functional module according to described subsystem function module file.
6. a system function call device, is characterized in that, comprising: functional inquiry module, interface are searched module and function allocating module;
Described functional inquiry module, the functional inquiry request sending for receiving request end;
Described interface is searched module, for searching corresponding access interface according to described functional inquiry request, the described access interface finding is sent to described request end;
Described function allocating module, the funcall request sending for receiving described request end, calls described access interface and operates.
7. device according to claim 6, is characterized in that, described interface is searched module, comprising: subsystem function is searched submodule and subsystem interface feedback submodule;
Described subsystem function is searched submodule, for searching corresponding subsystem according to described functional inquiry request at subsystem configures file;
Described subsystem interface feedback submodule, for sending to described request end by the access interface of described subsystem.
8. device according to claim 7, is characterized in that, also comprises: subsystem function Registering modules and subsystem interface generation module;
Described subsystem function Registering modules, for registering the function information of subsystem at subsystem configures file;
Described subsystem interface generation module, for according to the access interface of subsystem described in described subsystem configures file generated.
9. device according to claim 6, is characterized in that, described interface is searched module, comprising: functional module is searched submodule and functional module feedback submodule;
Described functional module is searched submodule, for searching corresponding functional module according to described funcall request at subsystem module configuration file;
Described functional module feedback submodule, for sending to described request end by the access interface of described functional module.
10. device according to claim 9, is characterized in that, also comprises: functional module Registering modules and functional module interface generation module;
Described functional module Registering modules, for registering the function information of subsystem functional module in subsystem module configuration file;
Described functional module interface generation module, for generating the access interface of described functional module according to described subsystem function module file.
CN201310742769.6A 2013-12-27 2013-12-27 Method and device for calling system function Pending CN103646210A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310742769.6A CN103646210A (en) 2013-12-27 2013-12-27 Method and device for calling system function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310742769.6A CN103646210A (en) 2013-12-27 2013-12-27 Method and device for calling system function

Publications (1)

Publication Number Publication Date
CN103646210A true CN103646210A (en) 2014-03-19

Family

ID=50251423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310742769.6A Pending CN103646210A (en) 2013-12-27 2013-12-27 Method and device for calling system function

Country Status (1)

Country Link
CN (1) CN103646210A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391686A (en) * 2015-10-15 2016-03-09 桂林电子科技大学 Data access method and data access device
CN105630553A (en) * 2015-12-24 2016-06-01 税友软件集团股份有限公司 Product loading method and system
CN106960335A (en) * 2017-03-28 2017-07-18 中国建设银行股份有限公司 System outer call method, device and communication system
CN111200648A (en) * 2019-12-30 2020-05-26 瑞庭网络技术(上海)有限公司 Service calling method, device, terminal equipment and storage medium
CN113691413A (en) * 2021-07-07 2021-11-23 广州鲁邦通物联网科技有限公司 Method and system for realizing compatibility of Internet of things equipment with multiple modules

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1746694A (en) * 2004-09-07 2006-03-15 华为技术有限公司 Automatic tester and test thereof
CN101599831A (en) * 2008-06-06 2009-12-09 中兴通讯股份有限公司 A kind of managing communication network security method and system
CN102082992A (en) * 2009-11-30 2011-06-01 中国移动通信集团山西有限公司 Mobile office system and implementation method thereof
CN103281343A (en) * 2013-01-07 2013-09-04 广西电网公司 Realization method of universal historical data service based on agency mechanism

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1746694A (en) * 2004-09-07 2006-03-15 华为技术有限公司 Automatic tester and test thereof
CN101599831A (en) * 2008-06-06 2009-12-09 中兴通讯股份有限公司 A kind of managing communication network security method and system
CN102082992A (en) * 2009-11-30 2011-06-01 中国移动通信集团山西有限公司 Mobile office system and implementation method thereof
CN103281343A (en) * 2013-01-07 2013-09-04 广西电网公司 Realization method of universal historical data service based on agency mechanism

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105391686A (en) * 2015-10-15 2016-03-09 桂林电子科技大学 Data access method and data access device
CN105630553A (en) * 2015-12-24 2016-06-01 税友软件集团股份有限公司 Product loading method and system
CN105630553B (en) * 2015-12-24 2019-05-21 税友软件集团股份有限公司 A kind of product loading method and system
CN106960335A (en) * 2017-03-28 2017-07-18 中国建设银行股份有限公司 System outer call method, device and communication system
CN111200648A (en) * 2019-12-30 2020-05-26 瑞庭网络技术(上海)有限公司 Service calling method, device, terminal equipment and storage medium
CN111200648B (en) * 2019-12-30 2021-05-11 瑞庭网络技术(上海)有限公司 Service calling method, device, terminal equipment and storage medium
CN113691413A (en) * 2021-07-07 2021-11-23 广州鲁邦通物联网科技有限公司 Method and system for realizing compatibility of Internet of things equipment with multiple modules

Similar Documents

Publication Publication Date Title
CN102262680B (en) Distributed database proxy system based on massive data access requirement
CN103646210A (en) Method and device for calling system function
CN111382174A (en) Multi-party data combined query method, device, server and storage medium
CN104811371A (en) Brand-new instant messaging system
CN105721306A (en) Configuration information transmission method and device
CN103873332A (en) Method for providing enterprise service bus of unified service environment by tax system
US8731151B2 (en) Methods and apparatus for partially updating a web page using an embedded iFrame
US20170091689A1 (en) Continuously variable resolution of resource allocation
CN103475726A (en) Virtual desktop management method, server and client side
CN110581893B (en) Data transmission method and device, routing equipment, server and storage medium
CN102137136A (en) Method, device and equipment for realizing Mashup business in business integration
CN105045762A (en) Management method and apparatus for configuration file
Schieferdecker et al. Towards an open data based ICT reference architecture for smart cities
CN103701921A (en) Business realization method and device based on interface calling under cloud environment
CN104123313B (en) Obtain the method and server of guide to visitors information
Chen et al. Energy-efficient virtual optical network mapping approaches over converged flexible bandwidth optical networks and data centers
US20110153826A1 (en) Fault tolerant and scalable load distribution of resources
CN112040071A (en) Number protection method, device and system and number calling method and device
CN101729584A (en) Service adaptor for software service integration system and operation method thereof
US20100162264A1 (en) Service virtualization container
CN106028311A (en) Terminal register method and device
CN103092951A (en) Conventional data exchange method and conventional data exchange system based on information presentation layers
CN111127224B (en) Information processing method, information processing device, electronic equipment and storage medium
CN104811379A (en) Router addressing method for instant communication server interoperability
CN104796465B (en) Cloud platform method for processing business and system

Legal Events

Date Code Title Description
PB01 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

Application publication date: 20140319