CN106960335A - System outer call method, device and communication system - Google Patents
System outer call method, device and communication system Download PDFInfo
- Publication number
- CN106960335A CN106960335A CN201710193263.2A CN201710193263A CN106960335A CN 106960335 A CN106960335 A CN 106960335A CN 201710193263 A CN201710193263 A CN 201710193263A CN 106960335 A CN106960335 A CN 106960335A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- application scenarios
- information
- external system
- unit
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/102—Bill distribution or payments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides call method, device and communication system outside a kind of system, applied to invoked procedure of the main system at least one external system, this method includes:Receive the function request of pending application scenarios;According to the application scenarios and the corresponding relation of configuration information prestored, the corresponding configuration information of the pending application scenarios is got;According to the configuration information, parsing obtains the corresponding processing logic of the pending application scenarios;External system is called according to the processing logic, the call result of the pending application scenarios is obtained.In the present invention one-to-one relationship of logic is handled by setting application scenarios configuration information, tightly coupled relation between external system method of calling, invocation step and other related data informations is in the prior art broken, when method of calling outside system changes, configuration information only need to be changed accordingly, reduce the transformation cost of main system.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of system outer call method, device and communication system.
Background technology
During communication system service, multiple system coordination cooperatings are often may require that, to complete a certain applied field
The functional requirement of scape.The system referred to as main system of the application scenarios functional requirement is carried, cooperation main system is completed jointly should
The system of application scenarios demand is referred to as external system, and main system and multiple external systems use the application server of oneself, that is, led respectively
System and each external system be not on same application server.
During the functional requirement of a certain application scenarios is completed, main system is needed according to the calling logic pre-set
Repeatedly to call external system.Exemplified by being related to the calling logic of 3 external systems, the implementation process of the calling logic is:
Step 1, main system are received after the function request of a certain application scenarios, and call request is initiated to external system 1, it
The call result that external system 1 is returned is received afterwards;
Step 2, main system are received after the call result of external system 1, are initiated call request to external system 2, are received afterwards
The call result that external system 2 is returned;
Step 3, main system are received after the call result of external system 2, are initiated call request to external system 3, are received afterwards
The call result that external system 3 is returned.After calling outside 3 subsystems more than completing, the function under corresponding application scenarios is realized
Demand, invoked procedure terminates.
As more than shown in citing, in the prior art to realize the functional requirements of a certain application scenarios, main system is accomplished by
Successively or the concurrent request called to outside each external system initiation system, external system is called each time, is both needed to use principal series
The internal calling logic prestored of system.For each application scenarios, there is direct corresponding calling logic.When system is transfered to other localities
When mode needs to change, as changed the order for needing the external system called, adjustment external system to call, main system
Input information and output information change, and calling logic is also required to corresponding change.But adjusted in the prior art in modification
With, it is necessary to carry out secondary development to original calling logic, modification process is extremely cumbersome during logic.
The content of the invention
For the deficiency of existing method, the present invention proposes a kind of system outer call method, device and communication system, passes through
For pending application scenarios, one-to-one configuration information is set, and by being called outside the carry out system according to configuration information,
Problem of the prior art is solved, when the mode called outside system needs to change, without entering to original calling logic
Row secondary development, reduces the workload and cost of main system transformation.
To achieve the above objectives, technical scheme is as follows:
The outer call method of a kind of system, applied to invoked procedure of the main system at least one external system, it is characterised in that
This method includes:
Receive the function request of pending application scenarios;
According to the application scenarios and the corresponding relation of configuration information prestored, the pending application scenarios are got
Corresponding configuration information, the configuration information includes:Called external system information, external system are called under the application scenarios
The return information of the external system of record is needed in the information of mode, invoked procedure;
According to the configuration information, parsing obtains the corresponding processing logic of the pending application scenarios;
External system is called according to the processing logic, the call result of the pending application scenarios is obtained.
It is preferred that, it is described under the application scenarios be called external system information for the called external system only
One identification information.
It is preferred that, the information of the external system method of calling includes at least one in following information:In the applied field
The step of each external system being called under scape is available for the identification information of the mode called and content, calls each external system is believed
The field information exported after whether breath, each external system are repeatedly called, repeat to call number of times, each external system are called.
It is preferred that, application scenarios and the corresponding relation of configuration information that the basis is prestored get and described wait to locate
The process of the corresponding configuration information of application scenarios of reason is specially:
According to the application scenarios and the corresponding relation of function code prestored, the pending application scenarios pair are got
The function code answered;
According to the function code and the corresponding relation of configuration information prestored, the configuration corresponding to the function code is got
Information.
It is preferred that, the application scenarios are one-to-one relationship with the function code;The function code matches somebody with somebody confidence with described
Cease for one-to-one relationship.
It is preferred that, it is described get the corresponding configuration information of the pending application scenarios after, according to the configuration
Information, parsing is obtained before the corresponding processing logic of the pending application scenarios, is also included:The configuration information is carried out
Verification, modification was not made with ensure the configuration information got by unauthorized parties.
It is preferred that, it is described get the corresponding configuration information of the pending application scenarios after, according to the configuration
Information, parsing is obtained before the corresponding processing logic of the pending application scenarios, is also included:The configuration information is carried out
Arrange, the execution in order to main system to the invoked procedure of external system.
The embodiment of the invention also discloses calling device outside a kind of system, it is arranged in main system, applied to main system pair
The invoked procedure of at least one external system, including:
Receiving unit, the function request of pending application scenarios for receiving;
Memory cell, the corresponding relation for storing application scenarios and configuration information;
Dispensing unit, for according to the application scenarios and the corresponding relation of configuration information prestored, getting described treat
The corresponding configuration information of application scenarios of processing, the configuration information includes:The external system being called under the application scenarios
The return information of the external system of record is needed in information, the information of external system method of calling, invoked procedure;
Resolution unit, for according to the configuration information, parsing to obtain the corresponding processing of the pending application scenarios
Logic;
Scheduling unit, for being called according to the processing logic to external system, obtains the pending applied field
The call result of scape.
It is preferred that, the memory cell includes:
First memory cell, the corresponding relation for storing application scenarios and function code;
Second memory cell, the corresponding relation for store function code and configuration information.
It is preferred that, the dispensing unit includes:
Function code acquiring unit, for according to the application scenarios and the corresponding relation of function code prestored, parsing to be obtained
The corresponding function code of the pending application scenarios;
Configuration information acquiring unit, for according to the function code and the corresponding relation of configuration information prestored, getting
Configuration information corresponding to the function code.
It is preferred that, also include:Verification unit, for being verified to the configuration information, described in ensuring to get
Configuration information did not made modification by unauthorized parties.
It is preferred that, also include:Unit is arranged, for being arranged to the configuration information, in order to which main system is externally
The execution of the invoked procedure of system.
It is preferred that, also include:Control unit, obtains single for receiving the function code acquiring unit, the configuration information
The result that at least one unit is sent in first, described resolution unit, the verification unit and the arrangement unit, and will connect
The result received is sent to the information processing that next functional unit carries out next step.
The embodiment of the invention also discloses a kind of communication system, by realizing application to calling at least one external system
The function request of scene, it is characterised in that the communication system is received after the function request of pending application scenarios, according to
The application scenarios and the corresponding relation of configuration information prestored, get the pending application scenarios corresponding with confidence
Breath, and according to the configuration information, parsing obtains the corresponding processing logic of the pending application scenarios, according to the processing
Logic is called to external system, obtains the call result of the pending application scenarios;Wherein, the configuration information bag
Include:Record is needed in called external system information, the information of external system method of calling, invoked procedure under the application scenarios
The return information of external system.
The beneficial effects of the present invention are:
System disclosed by the invention outer call method, device and communication system, by being set for pending application scenarios
The processing logic of one-to-one configuration information, configuration information and application scenarios is also simultaneously one-to-one relation, Zhi Houtong
Configuration information is crossed, parsing is obtained after corresponding processing logic, called further according to corresponding handle outside logic carry out system, and then
To corresponding call result.
By setting application scenarios-configuration information-processing logic in the present invention, this one-to-one relation is broken
Tightly coupled relation between external system method of calling, invocation step and other related data informations in the prior art so that be
When method of calling outside system changes, the order for needing the external system called, adjustment external system to call, main system have such as been changed
Input information and output information change, it is only necessary to corresponding modification configuration information, without such as prior art
Secondary development equally is carried out to calling logic, so as to reduce the transformation cost of main system, the work of main system transformation is reduced
Amount and cost, can also be more convenient flexibly to be applied to various application scenarios.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the outer call method of system disclosed in the embodiment of the present invention;
Fig. 2 is the flow chart of the outer call method of system disclosed in another embodiment of the present invention;
Fig. 3 is the flow chart of the outer call method of system disclosed in another embodiment of the present invention;
Fig. 4 is the structure chart of the outer calling device of system disclosed in the embodiment of the present invention;
Fig. 5 is the structure chart of the outer calling device of system disclosed in another embodiment of the present invention;
Fig. 6 is the signaling diagram that cell phone system disclosed in the embodiment of the present invention realizes Net silver inter-bank transfer procedure;
Fig. 7 is the signaling diagram that cell phone system disclosed in another embodiment of the present invention realizes Net silver inter-bank transfer procedure.
Embodiment
The present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
As described in background, using calling logic of the prior art, the mode called outside system changes
When, it is necessary to secondary development is carried out to calling logic, causes modification difficult, it is impossible to the flexible outer called side of the system for adapting to change
Formula.Inventor has found that the reason for this problem occur be, external system method of calling of the prior art, invocation step and its
There is tightly coupled relation between his related data information, and interdepend, these dependences are required for explicit be embodied in
In calling logic, changed once the mode called outside system, it is necessary to when changing calling logic, must just change associated
All data messages, i.e., carry out secondary development to calling logic, cause modification process cumbersome, it is not easy to change calling logic.
Based on this, the embodiment of the invention discloses call method outside a kind of system, applied to main system to outside at least one
The invoked procedure of system, this method flow chart is as shown in figure 1, specifically include following steps:
Step S101:Receive the function request of pending application scenarios.
Wherein, a complete function of each application scenarios correspondence main system, such as communication system for mobile phone are come
Say, Net silver is transferred accounts, wechat receipts/payment, mobile phone payment etc. is different application scenarios, these application scenarios need to call outer
System, from external system and main system jointly with complete a certain function.
Step S102:According to the application scenarios and the corresponding relation of configuration information prestored, get described pending
The corresponding configuration information of application scenarios.
Get after the corresponding configuration information of the pending application scenarios, it is necessary to which the configuration information is sent to down
One execution unit, carries out the operation of next step flow.
In the present embodiment, the configuration information includes:Called external system information, external system under the application scenarios
The return information of the external system of record is needed in the information of method of calling, invoked procedure.
Specifically, the external system information being called under application scenarios is preferably, the unique mark of called external system
Information, for the called external system of identification.
The information of external system method of calling may include at least one in following information:It is called under the application scenarios
Each external system be available for the identification information of the mode called and content, it is the order and Step Information of calling each external system, each
The field information exported after whether individual external system repeatedly called, repeats to call number of times, each external system are called.
It should be noted that in main system, the corresponding relation of the application scenarios and configuration information can be used as configuration text
Part is stored, when application scenarios are relatively more, or configuration information corresponding with application scenarios it is excessive when, can be by application scenarios
It is stored in the corresponding relation of configuration information in the database of main system.
Step S103:According to the configuration information, parsing obtains the corresponding processing logic of the pending application scenarios.
For fixed application scenarios, the specific work(under the application scenarios is described in detail in corresponding configuration information
The implementation of energy, is normal processing logic by the Content Transformation in configuration information by parsing.
Parsing obtains next performing list, it is necessary to which the processing logic is sent to after the corresponding processing logic of configuration information
Member, carries out the operation of next step flow.
Step S104:External system is called according to the processing logic, the pending application scenarios are obtained
Call result.
The process that processing logic according to parsing is called to external system is similarly to the prior art, outer when being sequentially completed
After the calling of system, call result returns to the processor of main system.
Wherein, in configuration information, the word that the field information that record has main system to be sent to external system is returned with external system
The corresponding relation of segment information, in order to the realization of invoked procedure.Configuration information can be XML format file, or other
This is not limited in formatted file, the present embodiment.
By setting one-to-one configuration information, configuration information and application for pending application scenarios in the present embodiment
The processing logic of scene is also simultaneously one-to-one relation, afterwards by configuration information, and parsing obtains corresponding processing logic
Afterwards, called further according to corresponding handle outside logic carry out system, and then obtain corresponding call result.
Application scenarios-configuration information-processing the logic set in the present embodiment, this one-to-one relation is broken
Tightly coupled relation between external system method of calling, invocation step and other related data informations in the prior art so that be
When method of calling outside system changes, the order for needing the external system called, adjustment external system to call, main system have such as been changed
Input information and output information change, it is only necessary to corresponding modification configuration information, without such as prior art
In secondary development equally is carried out to calling logic, so as to reduce the transformation cost of main system, reduce the work of main system transformation
Measure and cost, can also be more convenient flexibly to be applied to various application scenarios.
It should be noted that for the functional unit in main system, got in step S102 with it is pending
The corresponding configuration information of application scenarios, can be sent directly to perform step S103 functional unit, can also first be sent to the
The functional unit of tripartite, is forwarded to the functional unit for performing step S103 by the third-party functional unit again afterwards.Similarly, walk
Suddenly between S103 and step S104, it can also directly enter the transmission of row information, can also be carried out by third-party functional unit
The transfer of information.For by way of entering row information transfer third-party functional unit, configuration can be further interrupted
Close coupling relation between information and processing logic, so as to further reduce the transformation cost of system.
The flow chart of the outer call method of system disclosed in another embodiment of the present invention as shown in Fig. 2 with a upper embodiment
Unlike, to according to the application scenarios and the corresponding relation of configuration information prestored, getting described treat in the present embodiment
The process of the corresponding configuration information of application scenarios of processing is refined, by step S102 content be divided into step S202 and
Step S203 is performed, i.e. be assigned with unique function code for application scenarios, different applied fields are identified by function code
Scape, it is specific as follows:
Step S201:Receive the function request of pending application scenarios.
Step S202:According to the application scenarios and the corresponding relation of function code prestored, get described pending
The corresponding function code of application scenarios.
Wherein, the corresponding function code of application scenarios is one-to-one relation, i.e., each application scenarios only one of which is unique
Function code.
Get after the corresponding function code of the pending application scenarios, it is necessary to the function code is sent to next
Execution unit, carries out the operation of next step flow.
Step S203:According to the function code and the corresponding relation of configuration information prestored, the function code institute is got
Corresponding configuration information.
Wherein, function code and configuration information are one-to-one relationship, i.e., the corresponding configuration information of each application scenarios is also
Uniquely.
Similarly, it is necessary to which the configuration information is sent into next hold after getting the corresponding configuration information of function code
Row unit, carries out the operation of next step flow.
Step S204- steps S205 content with a upper embodiment the step of identical content it is identical, repeat no more here.
By setting One function code for each application scenarios in the present embodiment, then function code and configuration information carried out pair
Should, it is easy to the storage of configuration information, processing of the main system of being also more convenient for the functional requirement of application scenarios.
Corresponding with a upper embodiment, what is got in the present embodiment step S202 is corresponding with pending application scenarios
Function code, can be sent directly to perform step S203 functional unit, can also first be sent to third-party functional unit, it
It is forwarded to the functional unit for performing step S203 by the third-party functional unit again afterwards.Similarly, step S202 and step S203
Between, it can also directly enter the transmission of row information, the transfer of row information can also be entered by third-party functional unit.For logical
Cross third-party functional unit to enter for the mode of row information transfer, can further interrupt tight between function code and configuration information
Coupled relation, so as to further reduce the transformation cost of system.
The flow chart of the outer call method of system disclosed in another embodiment of the present invention as shown in figure 3, with a upper embodiment
Unlike, in the present embodiment after the corresponding configuration information of the pending application scenarios is got, matched somebody with somebody according to described
Confidence is ceased, and parsing is obtained before the corresponding processing logic of the pending application scenarios, is added at configuration information
The process of reason, i.e. step S304 and step S305, specifically, step S304:The configuration information is verified, to ensure to obtain
The configuration information got did not made modification by unauthorized parties, it is ensured that the accuracy and security of configuration information.
Get and next perform list, it is necessary to which the configuration information after verifying is sent to after the configuration information after verification
Member, carries out the operation of next step flow.
Step S305:The configuration information is arranged, the execution in order to main system to the invoked procedure of external system.
Such as configuration information is ranked up, the content in configuration information is ranked up arrangement according to the sequencing in processing logic,
To facilitate the process for being parsed into normal process logic.
Get and next perform list, it is necessary to which the configuration information after arranging is sent to after the configuration information after arranging
Member, carries out the operation of next step flow.
In theory, step S304 and step S305 sequencing can be adjusted, and preferably first be configured in the present embodiment
The verification of information, the rear arrangement process for carrying out configuration information, to reduce work unnecessary in main system.In other embodiments
In, can be with parallel execution of steps S304 and step S305 flow, to accelerate the processing speed of main system.
Also, configuration information the present embodiment step S304 verification after corresponding with a upper embodiment, and step S305
Configuration information after arrangement, can be sent directly to perform step S306 functional unit, can also first be sent to third-party
Functional unit, is forwarded to the functional unit for performing step S306 by the third-party functional unit again afterwards.
Similarly, for by way of entering row information transfer third-party functional unit, can further interrupt
Close coupling relation between configuration information and processing logic, so as to further reduce the transformation cost of system.
Also, the transfer of links information is carried out by third-party functional unit, has been interrupted in information process
The close coupling of links, is also convenient between each function increasing new function, is that the extension of systemic-function establishes good
Basis.
Corresponding with embodiment of the method, the embodiment of the invention also discloses calling device outside a kind of system, its structure chart is such as
Shown in Fig. 4, the calling device is arranged in main system, applied to invoked procedure of the main system at least one external system, specifically
, the outer calling device of the system includes:
Receiving unit 11, the function request of pending application scenarios for receiving;
Memory cell 12, the corresponding relation for storing application scenarios and configuration information;
Dispensing unit 13, for according to the application scenarios and the corresponding relation of configuration information prestored, getting described
The corresponding configuration information of pending application scenarios, the configuration information includes:The outer system being called under the application scenarios
The return information of the external system of record is needed in system information, the information of external system method of calling, invoked procedure;
Resolution unit 14, for according to the configuration information, parsing to obtain the corresponding place of the pending application scenarios
Manage logic;
Scheduling unit 15, for being called according to the processing logic to external system, obtains the pending application
The call result of scene.
In addition, also including:Verification unit 16, for being verified to the configuration information, described in ensuring to get
Configuration information did not made modification by unauthorized parties.
And, unit 17 is arranged, for being arranged to the configuration information, in order to which main system is called to external system
The execution of process.
Wherein, the memory cell 12 includes:
First memory cell 121, the corresponding relation for storing application scenarios and function code;
Second memory cell 122, the corresponding relation for store function code and configuration information.
The dispensing unit 13 includes:
Function code acquiring unit 131, for according to the application scenarios and the corresponding relation of function code prestored, getting
The corresponding function code of the pending application scenarios;
Configuration information acquiring unit 132, for according to the function code and the corresponding relation of configuration information prestored, obtaining
To the configuration information corresponding to first function code.
As shown in figure 4, dispensing unit 13, resolution unit 14, scheduling unit 15, verification unit 16 and arrangement in the present embodiment
It is the relation directly contacted between the functional modules such as unit 17, i.e., can directly enters the transmission of row information between each unit.
Obtained specifically, the function request of the pending application scenarios received is sent to function code by receiving unit 11
Unit 131, function code acquiring unit 131 accesses the content of the first memory cell 121, gets pending application scenarios correspondence
Function code, and the corresponding function code is sent to configuration information acquiring unit 132, configuration information acquiring unit 132 is accessed
The content of second memory cell 122, gets the corresponding configuration information of the function code, and the configuration information is sent into verification list
Member 16 enters the verification of row information, afterwards, and the configuration information after verification is sent to arrangement unit 17 and enters row information by verification unit 16
Arrangement, afterwards, arrange unit 17 and the configuration information after arrangement is sent to resolution unit 14 parsed, afterwards, parsing is single
The processing logic that parsing is obtained is sent to scheduling unit 15 by member 14, is carried out calling for external system by scheduling unit 15, is adjusted
With result.
The embodiment of the invention also discloses calling device outside a kind of system, its structure chart as shown in figure 5, the calling device is set
It is placed in main system, applied to invoked procedure of the main system at least one external system.With upper embodiment name in the present embodiment
Claim identical functional module, the function phase realized is same.
And the annexation between the present embodiment and each functional module unlike the calling device in Fig. 4 is by directly joining
System is adjusted to indirect association, and, the outer calling device of system in the present embodiment also includes:Control unit 28, for receiving
State function code acquiring unit 231, the configuration information acquiring unit 232, the resolution unit 24, the verification unit 26 and institute
The result for arranging that at least one unit is sent in unit 27 is stated, and the result received is sent to next
Functional unit carries out the information processing of next step.
As shown in figure 5, control unit 28 is equivalent to the terminal between each functional module, pass through between each functional module
Control unit 28 enters the exchange and transmission of row information.
Specifically, the function request of the pending application scenarios received is sent to control unit by receiving unit 21
28, the function request of pending application scenarios is sent to function code acquiring unit 231 by control unit 28, function code is obtained
Unit 231 accesses the content of the first memory cell 221, gets the corresponding function code of pending application scenarios, and by this pair
The function code answered is sent to control unit 28, and the corresponding function code is sent into configuration information acquiring unit by control unit 28
232, configuration information acquiring unit 232 accesses the content of the second memory cell 222, gets the function code corresponding with confidence
Breath, and the configuration information is sent to control unit 28, the configuration information is sent into verification unit 26 by control unit 28 enters
Configuration information after verification is sent to control unit 28 by the verification of row information, afterwards, verification unit 26, will by control unit 28
Configuration information after verification, which is sent to, arranges the arrangement that unit 27 enters row information, afterwards, arranges unit 27 by the configuration after arrangement
Information is sent to control unit 28, and the configuration information after arrangement is sent into resolution unit 24 by control unit 28 is parsed,
Afterwards, resolution unit 24 is sent to control unit 28 by obtained processing logic is parsed, by control unit 28 by the processing logic
Scheduling unit 25 is sent to, calling for external system is carried out by scheduling unit 25, call result is obtained, afterwards will by scheduling unit 25
Call result feeds back to control unit 28, is further processed by control unit 28.
It should be noted that in the present embodiment only using between each functional module by control unit 28 as exemplified by transfer
Illustrate.In other embodiments, receiving unit 21, function code acquiring unit 231, configuration information acquiring unit 232, parsing
The information that can only have in unit 24, verification unit 26, arrangement unit 27 and scheduling unit 25 between partial function module is passed
Send, the transfer of row information is entered via control unit 28.
For example, the function request of the pending application scenarios received directly can be sent to function by receiving unit 21
Code acquiring unit 231, without passing through control unit 28;Or, function code acquiring unit 231 can be directly by the function of getting
Code is transmitted directly to configuration information acquiring unit 232;Or, the configuration information after verification directly can be sent to by verification unit 26
Arrange unit 27;Or resolution unit 24 directly can just parse obtained processing logic and be sent to scheduling unit 25 etc..
The information transmission mode each functional module is combined in this manner, to a variety of in the present embodiment
The combination of information transmission will not enumerate.
, can in the present embodiment by way of control unit 28 is to the information process transfer transmission between each functional module
The close coupling relation of links in information process is further interrupted, further the improvement cost of reduction system, meanwhile, also
It is easy to increase other new functional modules between each functional module, is easy to the extension of systemic-function.
Corresponding with above example, another embodiment of the present invention is also disclosed outside a kind of system included in Fig. 4 or Fig. 5
The communication system of calling device, is asked by the function to realize application scenarios of calling at least one external system, described logical
Letter system is received after the function request of pending application scenarios, according to the application scenarios and pair of configuration information prestored
It should be related to, get the corresponding configuration information of the pending application scenarios, and according to the configuration information, parsing obtains institute
The corresponding processing logic of pending application scenarios is stated, external system is called according to the processing logic, described treat is obtained
The call result of the application scenarios of processing.Wherein, the configuration information includes:The external system being called under the application scenarios
The return information of the external system of record is needed in information, the information of external system method of calling, invoked procedure.
Communication system in the present embodiment can be the arbitrary communication system for having communication requirement with ambient systems, such as bank
Communications network system, enterprises service system residing for system, mobile phone etc..
Specifically, using main system as the communication system (abbreviation cell phone system) where mobile phone, application scenarios in the present embodiment
Exemplified by realizing that Net silver inter-bank is transferred accounts on mobile phone, the process called to realizing outside system is illustrated.
First, the communication system of calling device outside the system shown in Fig. 4, signaling diagram such as Fig. 6 institutes of its course of work are included
Show, detailed process is as follows:
Step S401:The receiving unit 11 of cell phone system receives the application request that Net silver inter-bank transfers accounts and please by the application
Ask and be sent to function code acquiring unit 131, such as user has carried out corresponding operation to corresponding mobile phone A PP.
Step S402:The function code acquiring unit 131 of cell phone system accesses the first memory cell 121 of cell phone system, root
According to the application scenarios prestored in the first memory cell 121 and the corresponding relation of its function code, matching obtains Net silver inter-bank and turned
Function code (such as 000001) corresponding to this application request of account, and the function code is sent to configuration information acquiring unit 132.
Step S403:Configuration information acquiring unit 132 accesses the second memory cell 122 of cell phone system, is deposited according to second
The function code and the corresponding relation of configuration information prestored in storage unit 122, according to the function code, matching obtains corresponding
Configuration information, and the configuration information is sent to resolution unit 14.Specifically, the corresponding configuration information of the application scenarios is as follows:
The first step (can be represented) with mark A1 or other marks, public security system be called, for inquiring about whether beneficiary is separated
Method client.
Second step (can be represented) with mark B1 or other marks, called the banking system where paying party, inquired about paying party
Whether there is payment authority.
3rd step (can be represented) with mark C1 or other marks, called the banking system where beneficiary, inquired about beneficiary
Whether there is gathering authority.
4th step (can be represented) with mark B2 or other marks, call the banking system where paying party, be carried out specific
Transfer operation.
Above is on the external system called, invocation step and method of calling and the information of content in configuration information, this
The other informations such as call number are further comprises in outer configuration information, the content of configuration information is said with reference to above configuration information
It is bright as follows.
Wherein, first external system being called under the application scenarios is public security system, is also public security system in main system
System is provided with unique identification information (such as 110 or other unique marks), and the called step of public security system is the first step, quilt
The number of times called is is not repeat to call once, and called mode is and content is whether inquiry beneficiary is illegal client,
The field information exported after called is that beneficiary is legitimate client, or beneficiary is illegal client.
Second called external system is the banking system where paying party, is the silver where paying party in main system
Row system is provided with unique identification information (such as 001 or other unique marks), and the banking system where paying party is called
The step of be second step and the 4th step, called number of times is twice, polyphony of attaching most importance to is used, called mode and content difference
To call to inquire about whether paying party has payment authority in second step for the first time, the field information exported after being called is
Paying party has payment authority, or paying party without payment authority, calls to carry out the specific behaviour that transfers accounts in the 4th step for the second time
Make, the field information exported after being called is success of transferring accounts, or is transferred accounts unsuccessfully.
The 3rd called external system is the banking system where beneficiary, is the silver where beneficiary in main system
Row system is provided with unique identification information (such as 002 or other unique marks), and the banking system where beneficiary is called
The step of be the 3rd step, called number of times is is not repeat to call once, and called mode and content are inquiry beneficiary
Whether there is gathering authority, the field information exported after being called has gathering authority for beneficiary, or beneficiary is weighed without gathering
Limit.
Wherein, in configuration information, the word that the field information that record has main system to be sent to external system is returned with external system
The corresponding relation of segment information.Configuration information can be XML format file, or other formatted files such as EXCEL, this implementation
This is not limited in example.
It is corresponding with embodiment of the method, in this other embodiments after configuration information is got, it can also increase to confidence
The step of verification and arrangement of breath, verification unit only need to be sent configuration information to by configuration information acquiring unit, then by verifying
Configuration information after verification is sent in arrangement unit, the present embodiment and this is not specifically described by unit.
Step S404:Obtain after above-mentioned configuration information, the resolution unit 14 of cell phone system is parsed to configuration information, is obtained
To corresponding processing logic, and the processing logic that parsing is obtained is sent to scheduling unit 15.
Afterwards, scheduling unit 15, according to calling order to call each external system successively, has according to the processing logic after parsing
Body is with reference to step S405- steps S408.
Step S405:The first step of the scheduling unit 15 in processing logic, carries out calling for public security system, and receive public affairs
The message that peace system is returned, the message content of return is backfilling into original request message, selects next according to message result
The processing mode of step.Specifically, reading in first step configuration information to the requirement of the field information sent to public security system, construction
The request message of public security system is called, the request message is sent to public security system.
If beneficiary is legitimate client, step S406 is performed, if beneficiary is illegal client, according to conventional mode
Handled accordingly, such as stop bank settlement operation, and beneficiary information is recorded, or report public security system etc., this
In only by beneficiary be legitimate client exemplified by illustrate.
Step S406:Second step of the scheduling unit 15 in processing logic, carries out calling for paying party banking system, and
The message that paying party banking system is returned is received, and the message content of return is backfilling into original request message, according to report
Literary result selects the processing mode of next step.
Specifically, reading in second step configuration information to the requirement of the field information sent to paying party banking system, structure
The request message for calling paying party banking system is made, the request message is sent to paying party banking system.If paying party has
Payment authority, then perform step S407, and the authority if paying party is not paid the bill is handled accordingly according to conventional mode,
Such as stop bank settlement operation, and remind paying party modification authority etc., only with paying party there is authority for payment to be limited to example here and said
It is bright.
Step S407:Threeth step of the scheduling unit 15 in processing logic, carries out calling for beneficiary banking system, and
The message that beneficiary banking system is returned is received, and the message content of return is backfilling into original request message, according to report
Literary result selects the processing mode of next step.
Specifically, reading in the 3rd step configuration information to the requirement of the field information sent to beneficiary banking system, structure
The request message for calling beneficiary banking system is made, the request message is sent to beneficiary banking system.
If beneficiary has gathering authority, step S408, the authority if beneficiary is not paid the bill, according to routine are performed
Mode is handled accordingly, such as stops bank settlement operation, and reminds beneficiary modification authority etc., is only had here with beneficiary
Illustrated exemplified by gathering authority.
Step S408:Fourth step of the scheduling unit 15 in processing logic, carries out calling for paying party banking system, and
The message that paying party banking system is returned is received, and the message content of return is backfilling into original request message, if parsing
No longer exist calling for next step with terminating to the 4th step in the processing logic gone out, then from scheduling unit 15 to mobile phone system
The processor of system feeds back corresponding result, that is, performs the function of completing the application scenarios.Match somebody with somebody specifically, reading the 4th step
To the requirement of the field information sent to paying party banking system in confidence breath, construction calls paying party banking system to be transferred accounts
The request message of operation, paying party banking system is sent to by the request message, and specific transfer operation is carried out by paying party.
In the embodiment of the present invention, compared to prior art, application scenarios and function code, function code and configuration information are added
Corresponding relation,, will be existing using these different functional modules while there is provided dispensing unit, resolution unit, scheduling unit etc.
The fractionation for having the processing logic stored in technology with close coupled system to carry out functionalization is arranged, and dispensing unit, resolution unit, tune
Further through the processing logic tight association of information between degree unit.During so that the outer method of calling of system changing, it is only necessary to corresponding
Change configuration information content, so as to compared to prior art, reduce the transformation cost of main system, reduce work
Amount.
Simultaneously as being provided with unique function code for each application scenarios so that when application scenarios change,
Only need to change function code, without such as in the prior art, for different application scenarios, reset different call
Logic, adds the convenience called outside system and flexibility.
Secondly, also in the application scenarios that Net silver inter-bank is transferred accounts are realized on cell phone system, comprising the system shown in Fig. 5 outside
The signaling diagram of the course of work of the communication system of calling device is as shown in fig. 7, detailed process is as follows:
Step S501:The receiving unit 21 of cell phone system receives the application request that Net silver inter-bank is transferred accounts, and such as user is to phase
The mobile phone A PP answered has carried out corresponding operation, and the application request that Net silver inter-bank is transferred accounts is sent to control by receiving unit 21
Unit 28.
Step S502:Control unit 28 obtains the function code that the application request that Net silver inter-bank is transferred accounts is sent to cell phone system
Unit 231;
Step S503:The function code acquiring unit 231 of cell phone system accesses the first memory cell 221 of cell phone system, root
According to the application scenarios prestored in the first memory cell 221 and the corresponding relation of its function code, matching obtains Net silver inter-bank and turned
Function code (such as 000001) corresponding to this application request of account, and the function code is sent to control unit 28;
Step S504:The function code is sent to configuration information acquiring unit 232 by control unit 28;
Step S505:Configuration information acquiring unit 232 accesses the second memory cell 222 of cell phone system, is deposited according to second
The function code and the corresponding relation of configuration information prestored in storage unit 222, matching obtains corresponding configuration information, and should
Configuration information is sent to control unit 28.The corresponding configuration information of the application scenarios is similar with above example, this implementation
Description is not repeated in example.
It is corresponding with embodiment of the method, in other embodiments after configuration information is got, it can also increase to confidence
The step of verification and arrangement of breath, verification unit only need to be sent configuration information to by control unit, then by verification unit high-ranking officers
Configuration information after testing is sent to control unit, and the information after verification is sent to arrangement unit by control unit again afterwards, arranges
Configuration information after arrangement is sent in control unit, the present embodiment and this is not specifically described by unit again.
Step S506:The configuration information is sent to resolution unit 24 by control unit 28;
Step S507:Obtain after above-mentioned configuration information, the resolution unit 24 of cell phone system is parsed to configuration information, is obtained
To corresponding processing logic, and the processing logic that parsing is obtained is sent to control unit 28;
Step S508:The processing logic is sent to scheduling unit 25 by control unit 28;
Step S509:The first step of the scheduling unit 25 in processing logic, carries out calling for public security system, and obtain public affairs
The message that peace system is returned;
Step S510:The message returned in public security system is scheduling unit in the case that beneficiary account is legal account
25 second step in processing logic, carries out calling for paying party banking system, and obtain the return of paying party banking system
Message;
Step S511:In the case where the message that paying party banking system is returned has payment authority for paying party account,
Threeth step of the scheduling unit 25 in processing logic, carries out calling for beneficiary banking system, and obtain beneficiary department of banking
The message that system is returned;
Step S512:In the case where the message that beneficiary banking system is returned has gathering authority for beneficiary account,
Fourth step of the scheduling unit 25 in processing logic, carries out calling for paying party banking system, carries out Net silver inter-bank and transfers accounts, and
The transfer result of paying party banking system return is obtained, and the transfer result is fed back into control unit 28, this subsystem is transfered to other localities
With end.
It should be noted that in the present embodiment the present embodiment only using between each functional module by control unit 28 as
Illustrated exemplified by transfer.In other embodiments, receiving unit 21, function code acquiring unit 231, configuration information acquiring unit
232nd, resolution unit 24, verification unit 26, arrange and can only have in unit 27 and scheduling unit 25 between partial function module
Information transmission, the transfer of row information is entered via control unit 28, is no longer separately illustrated here.
Communication system is transferred to during realizing and being called outside system in the information by control unit 28 in the present embodiment
With, the close coupling relation between each functional module in main system is interrupted, further the improvement cost of reduction system, meanwhile,
It is also convenient for increasing other new functional modules between each functional module, is easy to the extension of systemic-function.
Fig. 6 and more than Fig. 7 is only so that the Net silver inter-bank of cellular communications network transfers accounts scene as an example, in the embodiment of the present invention
The course of work of communication system is illustrated, and the communication system in the embodiment of the present invention is alternatively other types of communication system
This is repeated no more in system, such as bank service system, enterprises service system, the present embodiment.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and modification of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.
Claims (14)
1. the outer call method of a kind of system, applied to invoked procedure of the main system at least one external system, it is characterised in that should
Method includes:
Receive the function request of pending application scenarios;
According to the application scenarios and the corresponding relation of configuration information prestored, the pending application scenarios correspondence is got
Configuration information, the configuration information includes:Called external system information, external system method of calling under the application scenarios
Information, need in invoked procedure record external system return information;
According to the configuration information, parsing obtains the corresponding processing logic of the pending application scenarios;
External system is called according to the processing logic, the call result of the pending application scenarios is obtained.
2. the outer call method of system according to claim 1, it is characterised in that described to be called under the application scenarios
External system information be the called external system unique identification information.
3. the outer call method of system according to claim 2, it is characterised in that the packet of the external system method of calling
Include at least one in following information:Each external system being called under the application scenarios is available for the mode called and content
Identification information, the step information for calling each external system, each external system whether repeatedly called, the number of times that repeats to call,
The field information exported after each external system is called.
4. the outer call method of system according to claim 3, it is characterised in that the application scenarios that the basis is prestored
With the corresponding relation of configuration information, the process for getting the corresponding configuration information of the pending application scenarios is specially:
According to the application scenarios and the corresponding relation of function code prestored, the pending application scenarios are got corresponding
Function code;
According to the function code and the corresponding relation of configuration information prestored, to get and match somebody with somebody confidence corresponding to the function code
Breath.
5. the outer call method of system according to claim 4, it is characterised in that the application scenarios are with the function code
One-to-one relationship;The function code is one-to-one relationship with the configuration information.
6. the outer call method of system according to claim 4, it is characterised in that described to get the pending application
After the corresponding configuration information of scene, according to the configuration information, parsing obtains the corresponding place of the pending application scenarios
Manage before logic, also include:The configuration information is verified, to ensure not awarded by non-for the configuration information got
Quan Fang made modification.
7. the outer call method of system according to claim 4, it is characterised in that described to get the pending application
After the corresponding configuration information of scene, according to the configuration information, parsing obtains the corresponding place of the pending application scenarios
Manage before logic, also include:The configuration information is arranged, in order to main system holding to the invoked procedure of external system
OK.
8. a kind of outer calling device of system, is arranged in main system, applied to main system calling at least one external system
Journey, it is characterised in that including:
Receiving unit, the function request of pending application scenarios for receiving;
Memory cell, the corresponding relation for storing application scenarios and configuration information;
Dispensing unit, for according to the application scenarios and the corresponding relation of configuration information prestored, getting described pending
The corresponding configuration information of application scenarios, the configuration information includes:Under the application scenarios be called external system information,
The return information of the external system of record is needed in the information of external system method of calling, invoked procedure;
Resolution unit, for according to the configuration information, parsing to obtain the corresponding processing logic of the pending application scenarios;
Scheduling unit, for being called according to the processing logic to external system, obtains the pending application scenarios
Call result.
9. the outer calling device of system according to claim 8, it is characterised in that the memory cell includes:
First memory cell, the corresponding relation for storing application scenarios and function code;
Second memory cell, the corresponding relation for store function code and configuration information.
10. the outer calling device of system according to claim 9, it is characterised in that the dispensing unit includes:
Function code acquiring unit, for according to the application scenarios and the corresponding relation of function code prestored, parsing to obtain described
The corresponding function code of pending application scenarios;
Configuration information acquiring unit, for according to the function code and the corresponding relation of configuration information prestored, getting described
Configuration information corresponding to function code.
11. the outer calling device of system according to claim 10, it is characterised in that also include:Verification unit, for institute
State configuration information to be verified, modification was not made by unauthorized parties with ensure the configuration information got.
12. the outer calling device of system according to claim 10, it is characterised in that also include:Unit is arranged, for institute
State configuration information to be arranged, the execution in order to main system to the invoked procedure of external system.
13. the outer calling device of system according to claim 12, it is characterised in that also include:Control unit, for receiving
The function code acquiring unit, the configuration information acquiring unit, the resolution unit, the verification unit and the arrangement list
The result that the unit of at least one in member is sent, and the result received is sent to next functional unit entered
The information processing of row next step.
14. a kind of communication system, is asked, its feature by the function to realize application scenarios of calling at least one external system
Be that the communication system is received after the function request of pending application scenarios, according to the application scenarios that prestore with
The corresponding relation of configuration information, gets the corresponding configuration information of the pending application scenarios, and match somebody with somebody confidence according to described
Breath, parsing obtains the corresponding processing logic of the pending application scenarios, and external system is adjusted according to the processing logic
With obtaining the call result of the pending application scenarios;Wherein, the configuration information includes:Under the application scenarios
The return information of the external system of record is needed in called external system information, the information of external system method of calling, invoked procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710193263.2A CN106960335A (en) | 2017-03-28 | 2017-03-28 | System outer call method, device and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710193263.2A CN106960335A (en) | 2017-03-28 | 2017-03-28 | System outer call method, device and communication system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106960335A true CN106960335A (en) | 2017-07-18 |
Family
ID=59471818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710193263.2A Pending CN106960335A (en) | 2017-03-28 | 2017-03-28 | System outer call method, device and communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106960335A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111311261A (en) * | 2020-02-24 | 2020-06-19 | 中国工商银行股份有限公司 | Security processing method, device and system for online transaction |
CN112612630A (en) * | 2020-12-29 | 2021-04-06 | 太平金融科技服务(上海)有限公司 | System call processing method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996854A (en) * | 2006-12-22 | 2007-07-11 | 中国建设银行股份有限公司 | Integrated processing system and method for the data exchange between different application systems |
CN103646210A (en) * | 2013-12-27 | 2014-03-19 | 税友软件集团股份有限公司 | Method and device for calling system function |
CN104506584A (en) * | 2014-12-08 | 2015-04-08 | 畅捷通信息技术股份有限公司 | Request processing method and request processing device |
JP2017058979A (en) * | 2015-09-16 | 2017-03-23 | 富士通株式会社 | Delay information output device, delay information output method, and delay information output program |
-
2017
- 2017-03-28 CN CN201710193263.2A patent/CN106960335A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1996854A (en) * | 2006-12-22 | 2007-07-11 | 中国建设银行股份有限公司 | Integrated processing system and method for the data exchange between different application systems |
CN103646210A (en) * | 2013-12-27 | 2014-03-19 | 税友软件集团股份有限公司 | Method and device for calling system function |
CN104506584A (en) * | 2014-12-08 | 2015-04-08 | 畅捷通信息技术股份有限公司 | Request processing method and request processing device |
JP2017058979A (en) * | 2015-09-16 | 2017-03-23 | 富士通株式会社 | Delay information output device, delay information output method, and delay information output program |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111311261A (en) * | 2020-02-24 | 2020-06-19 | 中国工商银行股份有限公司 | Security processing method, device and system for online transaction |
CN111311261B (en) * | 2020-02-24 | 2023-07-21 | 中国工商银行股份有限公司 | Safe processing method, device and system for online transaction |
CN112612630A (en) * | 2020-12-29 | 2021-04-06 | 太平金融科技服务(上海)有限公司 | System call processing method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101651766B (en) | Printing service providing method and printing service providing system | |
US5991381A (en) | Method and apparatus for providing telephone calling card validation over a computer network | |
CN110149368A (en) | Heartbeat packet transmission method, device and computer equipment based on intermediate server | |
US7664481B2 (en) | Remote personnel tracking | |
US20030110081A1 (en) | Information insertion service providing system, information insertion method, communication network, information management apparatus, and service control apparatus | |
CN104243575B (en) | Check the method for campus information, server and system | |
US20050021428A1 (en) | Time management system for mobile employees | |
JP2005503729A5 (en) | ||
CN111382252B (en) | Method, device, equipment and medium for determining problem category based on user request | |
CN109933626B (en) | Financial business data processing method and device and financial transaction terminal | |
CN106960335A (en) | System outer call method, device and communication system | |
CN106357602A (en) | Live broadcasting method and live broadcasting APP server and collaborated APP client | |
CN110414962A (en) | Inter-bank intelligence transfer account method, device, computer equipment and storage medium | |
CN108449518A (en) | Insurance contract pays a return visit method and apparatus | |
CN113987598A (en) | Block migration method and device | |
CN101710396A (en) | Enterprise resource planning (EPR) system and method and device for transmitting service bill data thereof | |
CN111311342A (en) | Data processing method, device and equipment based on block chain and readable storage medium | |
CN111667077A (en) | Method and system for paying attention to electricity utilization address | |
CN106375356A (en) | Data processing method and server for data processing | |
CN109920143A (en) | A kind of remote recharge system based on wechat barcode scanning | |
CN111626850B (en) | Deposit information processing method and device, readable medium and equipment | |
CN109905551A (en) | For moving communication means, device, computer equipment and the storage medium of vehicle | |
CN110995791B (en) | Interactive medical information management method and system | |
US20010015973A1 (en) | Connection control technique providing toll free calls | |
CN111131438B (en) | Method and apparatus for accessing block chains |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170718 |