CN110413349A - Service calling method, device, electronic equipment and storage medium - Google Patents

Service calling method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110413349A
CN110413349A CN201910706899.1A CN201910706899A CN110413349A CN 110413349 A CN110413349 A CN 110413349A CN 201910706899 A CN201910706899 A CN 201910706899A CN 110413349 A CN110413349 A CN 110413349A
Authority
CN
China
Prior art keywords
application program
call request
service
interface
call
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910706899.1A
Other languages
Chinese (zh)
Other versions
CN110413349B (en
Inventor
李峰
罗涛
刘飞
朱金美
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201910706899.1A priority Critical patent/CN110413349B/en
Publication of CN110413349A publication Critical patent/CN110413349A/en
Application granted granted Critical
Publication of CN110413349B publication Critical patent/CN110413349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading

Abstract

Present disclose provides a kind of service calling methods, including obtaining the first call request, first call request is used to call the first service of the first application program, based on the first call request, it executes the first processing operation and generates the first session data, obtain the second call request, the second call request is used to call the second service of the second application program, and it is based on the second call request, obtain the first session data and executes second processing operation.The disclosure additionally provides a kind of service call device, a kind of electronic equipment and a kind of computer readable storage medium.

Description

Service calling method, device, electronic equipment and storage medium
Technical field
This disclosure relates to a kind of service calling method, device, electronic equipment and storage medium.
Background technique
In background application service system, it can encounter because technology hinders or the reasons such as commercial affairs need whole switching service framework Scene.During handoff migration, how to guarantee that moving costs is minimum, minimum is influenced on storage business transaction, user is handed over Mutual process is a problem to be solved without influence.
Summary of the invention
An aspect of this disclosure provides a kind of service calling method, including obtains the first call request, and described first Call request is used to call the first service of the first application program, is based on first call request, executes the first processing operation And the first session data is generated, the second call request is obtained, second call request is used to call the of the second application program Two services, and be based on second call request, obtain first session data and execute second processing operation.
Optionally, first application program and second application program are encapsulated in the same program bag, work as institute When stating program bag and being run, a service processes are generated.
Optionally, first application program and the second application program are respectively encapsulated as war packet, first application program It is encapsulated as an ear packet jointly with the war packet of the second application program.
Optionally, second call request is the call request of the first interface suitable for first application program, The first interface is used to provide the described second service, described to be based on second call request, obtains first session number According to and execute second processing operation include that second call request is converted to the second interface suitable for the second application program Third call request, the second interface is used to provide the described second service, the third call request is based on, described in calling Second interface is to call the second service of second application program, and accesses and read first session data, and Execute second processing operation.
Another aspect of the disclosure provides a kind of service call device, including first obtains module, the first processing mould Block, second obtain module and Second processing module.First obtains module, and for obtaining the first call request, described first is adjusted With request for calling the first service of the first application program.First processing module is held for being based on first call request The first processing operation of row simultaneously generates the first session data.Second obtains module, and for obtaining the second call request, described second is adjusted With request for calling the second service of the second application program.Second processing module is obtained for being based on second call request It obtains first session data and executes second processing operation.
Optionally, first application program and second application program are encapsulated in the same program bag, work as institute When stating program bag and being run, a service processes are generated.
Optionally, first application program and the second application program are respectively encapsulated as war packet, first application program It is encapsulated as an ear packet jointly with the war packet of the second application program.
Optionally, second call request is the call request of the first interface suitable for first application program, The first interface is used to provide the described second service, the Second processing module include transform subblock, call submodule with And implementation sub-module.Transform subblock, for second call request to be converted to second suitable for the second application program The third call request of interface, the second interface are used to provide the described second service.Submodule is called, for based on described the Three call requests call the second interface to call the second service of second application program.Implementation sub-module is used for It accesses and reads first session data, and execute second processing operation.
Another aspect of the disclosure provides a kind of electronic equipment, including processor and memory, for storing one A or multiple computer-readable instructions, wherein when one or more of computer-readable instructions are by least one described processing When device executes, so that the processor executes method as described above.
Another aspect of the disclosure provides a kind of computer-readable medium, is stored thereon with computer-readable instruction, The instruction, which is performed, makes processor execute method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
By referring to the drawings to the description of the embodiment of the present disclosure, the above-mentioned and other purposes of the disclosure, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 diagrammatically illustrates the exemplary application scene of service calling method and device according to the embodiment of the present disclosure;
Fig. 2 diagrammatically illustrates the flow chart of the service calling method according to the embodiment of the present disclosure;
Fig. 3 is diagrammatically illustrated according to the embodiment of the present disclosure based on the second call request, obtains the first session data simultaneously Execute the flow chart of second processing operation;
Fig. 4 diagrammatically illustrates the block diagram of the service call device according to the embodiment of the present disclosure;And
Fig. 5 diagrammatically illustrates the department of computer science for being adapted for carrying out service calling method and system according to the embodiment of the present disclosure The block diagram of system.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).It should also be understood by those skilled in the art that substantially arbitrarily indicating two or more The adversative conjunction and/or phrase of optional project shall be construed as either in specification, claims or attached drawing A possibility that giving including one of these projects, either one or two projects of these projects.For example, phrase " A or B " should A possibility that being understood to include " A " or " B " or " A and B ".
Embodiment of the disclosure provides a kind of service calling method, including obtains the first call request, and described first adjusts With request for calling the first service of the first application program, it is based on first call request, executes the first processing operation simultaneously The first session data is generated, obtains the second call request, second call request is for calling the second of the second application program Service, and be based on second call request, obtain first session data and execute second processing operation.
Fig. 1 diagrammatically illustrates the service calling method and systematic difference scene according to the embodiment of the present disclosure.It needs to infuse Meaning, being only shown in Fig. 1 can be using the example of the system architecture of the embodiment of the present disclosure, to help those skilled in the art to manage The technology contents of the disclosure are solved, but are not meant to that the embodiment of the present disclosure may not be usable for other equipment, system, environment or field Scape.
As shown in Figure 1, the first application program 110 is developed based on the first Development Framework 111, by the first Development Framework The function of customization is developed on the basis of 111 and calls the interface of those functions, can reduce development cost.Herein, will determine The part of inhibition and generation exploitation is known as first interface layer 112.
For some purposes, it is understood that there may be application program is moved to the demand of another Development Framework.For example, first is answered The application program 120 based on the exploitation of the second Development Framework 121 is moved to the function of program 110.It can be based on the second exploitation frame Frame 121 develops the application program again, but development cost is excessively high, and the embodiment of the present disclosure can be using one interface conversion of exploitation The mode of layer 123, the code directly transplanting of first interface layer 112 is come, formation second interface layer 122, and 122 layers of second interface On function supported by the second Development Framework 121 by interface conversion layer 123.
Nonetheless, still can not disposably by institute it is functional move to the second application program, need the mistake of a transition Function is gradually moved to the second application program by journey.However, will appear unexpected mistake in this process.For example, In Using the login interface in the first application program, and in the case where the query interface in the second application program of use, when user is logical After crossing login interface the first application program of login of the first application program, it is desirable to when inquiring account balance, not due to user It is logged in the second application program, therefore login interface can be returned, mistake occurs.Due to having estrangement between application program, The data of first application program can not be accessed by the second application program, therefore lack the effective means to solve the above problems.
Fig. 2 diagrammatically illustrates the flow chart of the service calling method according to the embodiment of the present disclosure.
As shown in Fig. 2, this method includes operation S210~S240.
In operation S210, the first call request is obtained, first call request is used to call the of the first application program One service.For example, by calling the interface of the first application program to execute register, at this point, the first call request is to log in ask It asks, first service is the login service of the first application program.
In operation S220, it is based on first call request, execute the first processing operation and generates the first session data.Example Such as, after receiving logging request, the first application program executes the operation of login authentication, and band is finally generated when user logins successfully There is the first session data of user login information.If user have invoked later the first application program other service, other Service can execute corresponding function after confirming first session data, if first session data is lost, then it is assumed that use Family is not logged in, and returns to login interface.
In operation S230, the second call request is obtained, second call request is used to call the of the second application program Two services.For example, query interface has been migrated to the second application program, it is desirable to use the query interface in the second application program, Second call request for example can be the call request for calling the query service of the second application program.
In operation S240, it is based on second call request, obtain first session data and executes second processing behaviour Make.
According to the embodiment of the present disclosure, the second application program can be enabled to get first meeting by certain mode Data are talked about, to avoid that mistake occurs.
The first application program can be encapsulated in the second application program same according to the embodiment of the present disclosure in exploitation In a program bag, when program bag is run, a service processes are only generated.In this way, when system is service processes storage allocation Behind space, the first application program and the second application program all have permission to access the memory headroom, the meeting that the first application program generates Words data can be obtained by the second application program.The session data that two application programs generate can be directed to identical address, That is the session data that two application programs generate is read and write in identical address, and two application programs share a set of session data.
According to the embodiment of the present disclosure, the first application program and the second application program can respectively be encapsulated as war packet, and first answers It is encapsulated as an ear packet jointly with the war packet of program and the second application program.
This method between the first application program and the second application program by sharing session data, so that in application program During migration, avoids and lack session data and frequently lead to the problem of and log in again.
Fig. 3 is diagrammatically illustrated according to the embodiment of the present disclosure based on the second call request, obtains the first session data simultaneously Execute the flow chart of second processing operation.
According to the embodiment of the present disclosure, second call request is the first interface suitable for first application program Call request, the first interface are used to provide the described second service.
As shown in figure 3, this method includes operation S310~S330.
In operation S310, second call request is converted to the third of the second interface suitable for the second application program Call request, the second interface are used to provide the described second service.
In operation S320, it is based on the third call request, calls the second interface to call second application The second service of program.
It in operation S330, accesses and reads first session data, and execute second processing operation.
According to the embodiment of the present disclosure, the second call request is used to call second based on the exploitation of the second Development Framework to apply journey The third interface of sequence, but its form and the first interface for calling the first application program based on the exploitation of the second Development Framework Call request is similar, wherein first interface and third interface are used to provide second service.Interface conversion layer can by this second Call request is converted to third call request, can call the second interface based on the exploitation of the second Development Framework.For example, please referring to Fig. 1, first interface can develop the surface in the first interface layer 112 of the first application program 110, and second interface can be developed In the interface conversion layer 123 of second application program 120, third interface can develop the second interface in the second application program 120 The surface of layer 122.
For example, the first query interface of the first application program needs incoming A1、A2Two parameters, the of the second application program Three query interfaces are also required to incoming A1、A2Two parameters, and the second query interface of the second application program, i.e., based on the second exploitation Second query interface of frame 121 and interface conversion layer 123 needs incoming parameter B1、B2.Interface conversion layer 123 can will call A in request1、A2Be converted to B1、B2, to realize the calling of query function.This method can substantially reduce development cost.
Based on the same inventive concept, the disclosure additionally provides a kind of service call device, referring to Fig. 4 to disclosure reality The service call device for applying example is illustrated.
Fig. 4 diagrammatically illustrates the block diagram of the service call device 400 according to the embodiment of the present disclosure.
As shown in figure 4, the device 400 may include the first acquisition module 410, the acquisition mould of first processing module 420, second Block 430 and Second processing module 440.
First obtains module 410, such as executes the operation S210 described above with reference to Fig. 2, asks for obtaining the first calling It asks, first call request is used to call the first service of the first application program.
First processing module 420, such as the operation S220 described above with reference to Fig. 2 is executed, for being adjusted based on described first With request, executes the first processing operation and generate the first session data.
Second obtains module 430, such as executes the operation S230 described above with reference to Fig. 2, asks for obtaining the second calling It asks, second call request is used to call the second service of the second application program.
Second processing module 440, such as the operation S240 described above with reference to Fig. 2 is executed, for being adjusted based on described second With request, obtains first session data and execute second processing operation.
According to the embodiment of the present disclosure, first application program and second application program are encapsulated in the same program Bao Zhong generates a service processes when described program, which is coated with, to be run.
According to the embodiment of the present disclosure, first application program and the second application program are respectively encapsulated as war packet, and described The war packet of one application program and the second application program is encapsulated as an ear packet jointly.
According to the embodiment of the present disclosure, second call request is the first interface suitable for first application program Call request, the first interface are used to provide the described second service.Second processing module 440 may include transform subblock, Call submodule and implementation sub-module.
Transform subblock, such as the operation S310 described above with reference to Fig. 3 is executed, for second call request to be turned It is changed to the third call request of the second interface suitable for the second application program, the second interface is used to provide the described the second clothes Business.
Submodule is called, such as executes the operation S320 described above with reference to Fig. 3, for being asked based on third calling It asks, calls the second interface to call the second service of second application program.
Implementation sub-module, such as the operation S330 described above with reference to Fig. 3 is executed, for accessing and reading first meeting Data are talked about, and execute second processing operation.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule, Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, first obtain module 410, first processing module 420, second obtain module 430, Second processing module 440, Transform subblock calls any number of may be incorporated in a module in submodule and implementation sub-module to realize, or Any one module therein can be split into multiple modules.Alternatively, one or more modules in these modules are at least Partial function can be combined at least partly function of other modules, and be realized in a module.According to the reality of the disclosure Example is applied, first obtains module 410, first processing module 420, second obtains module 430, Second processing module 440, conversion submodule Block calls at least one of submodule and implementation sub-module that can at least be implemented partly as hardware circuit, such as existing Field programmable gate array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, Specific integrated circuit (ASIC), or can by circuit carry out the hardware such as any other rational method that is integrated or encapsulating or Firmware realizes, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriate Combination is to realize.Alternatively, first obtains module 410, first processing module 420, second obtains module 430, Second processing module 440, transform subblock, calling at least one of submodule and implementation sub-module can at least be implemented partly as calculating Machine program module can execute corresponding function when the computer program module is run.
Fig. 5 diagrammatically illustrates the department of computer science for being adapted for carrying out service calling method and device according to the embodiment of the present disclosure The block diagram of system.Computer system shown in Fig. 5 is only an example, function to the embodiment of the present disclosure and should not use model Shroud carrys out any restrictions.Computer system shown in Fig. 5 can be implemented as server cluster, including at least one processor (example Such as processor 501) and at least one processor (such as storage section 508).
As shown in figure 5, include processor 501 according to the computer system 500 of the embodiment of the present disclosure, it can be according to storage It is loaded into random access storage device (RAM) 503 in the program in read-only memory (ROM) 502 or from storage section 508 Program and execute various movements appropriate and processing.Processor 501 for example may include general purpose microprocessor (such as CPU), refer to Enable set processor and/or related chip group and/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processing Device 501 can also include the onboard storage device for caching purposes.Processor 501 may include for executing according to disclosure reality Apply single treatment unit either multiple processing units of the different movements of the method flow of example.
In RAM 503, it is stored with system 500 and operates required various programs and data.Processor 501, ROM 502 with And RAM 503 is connected with each other by bus 504.Processor 501 is held by executing the program in ROM 502 and/or RAM 503 The various operations gone according to the method flow of the embodiment of the present disclosure.It is noted that described program also can store except ROM 502 In one or more memories other than RAM 503.Processor 501 can also be stored in one or more of by execution Program in memory executes the various operations of the method flow according to the embodiment of the present disclosure.
In accordance with an embodiment of the present disclosure, system 500 can also include input/output (I/O) interface 505, input/output (I/O) interface 505 is also connected to bus 504.System 500 can also include be connected to I/O interface 505 with one in lower component Item is multinomial: the importation 506 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal display (LCD) Deng and loudspeaker etc. output par, c 507;Storage section 508 including hard disk etc.;And including such as LAN card, modulatedemodulate Adjust the communications portion 509 of the network interface card of device etc..Communications portion 509 executes communication process via the network of such as internet. Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as disk, CD, magneto-optic disk, semiconductor Memory etc. is mounted on as needed on driver 510, in order to be pacified as needed from the computer program read thereon It is packed into storage section 508.
In accordance with an embodiment of the present disclosure, computer software journey may be implemented as according to the method flow of the embodiment of the present disclosure Sequence.For example, embodiment of the disclosure includes a kind of computer program product comprising carry meter on a computer-readable medium Calculation machine program, the computer program include the program code for method shown in execution flow chart.In such embodiments, The computer program can be downloaded and installed from network by communications portion 509, and/or be pacified from detachable media 511 Dress.When the computer program is executed by processor 501, the above-mentioned function of limiting in the system of the embodiment of the present disclosure is executed.Root According to embodiment of the disclosure, system as described above, unit, module, unit etc. can by computer program module come It realizes.
The disclosure additionally provides a kind of computer-readable medium, which, which can be in above-described embodiment, retouches Included in the equipment/device/system stated;It is also possible to individualism, and without in the supplying equipment/device/system.On It states computer-readable medium and carries one or more program, when said one or multiple programs are performed, realize root According to the method for the embodiment of the present disclosure.
In accordance with an embodiment of the present disclosure, computer-readable medium can be computer-readable signal media or computer can Read storage medium either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In the disclosure, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this public affairs In opening, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, wired, optical cable, radiofrequency signal etc., or Above-mentioned any appropriate combination.
For example, in accordance with an embodiment of the present disclosure, computer-readable medium may include above-described ROM 502 and/or One or more memories other than RAM 503 and/or ROM 502 and RAM 503.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, In In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Embodiment of the disclosure is described above.But the purpose that these embodiments are merely to illustrate that, and It is not intended to limit the scope of the present disclosure.Although respectively describing each embodiment above, but it is not intended that each reality Use cannot be advantageously combined by applying the measure in example.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.It does not take off From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, these alternatives and modifications should all fall in this Within scope of disclosure.

Claims (10)

1. a kind of service calling method, comprising:
The first call request is obtained, first call request is used to call the first service of the first application program;
Based on first call request, executes the first processing operation and generate the first session data;
The second call request is obtained, second call request is used to call the second service of the second application program;And
Based on second call request, obtains first session data and execute second processing operation.
2. according to the method described in claim 1, wherein, first application program is encapsulated in second application program In the same program bag, when described program, which is coated with, to be run, a service processes are generated.
3. according to the method described in claim 2, wherein, first application program and the second application program are respectively encapsulated as The war packet of war packet, first application program and the second application program is encapsulated as an ear packet jointly.
4. according to the method described in claim 2, wherein, second call request is suitable for first application program The call request of first interface, the first interface is used to provide the described second service, described to be based on second call request, It obtains first session data and executes second processing operation and include:
Second call request is converted into the third call request suitable for the second interface of the second application program, described Two interfaces are used to provide the described second service;
Based on the third call request, the second interface is called to call the second service of second application program;
It accesses and reads first session data, and execute second processing operation.
5. a kind of service call device, comprising:
First obtains module, and for obtaining the first call request, first call request is for calling the first application program First service;
First processing module, for being based on first call request, executing the first processing operation and generating the first session data;
Second obtains module, and for obtaining the second call request, second call request is for calling the second application program Second service;And
Second processing module, for being based on second call request, obtaining first session data and executing second processing Operation.
6. device according to claim 5, wherein first application program is encapsulated in second application program In the same program bag, when described program, which is coated with, to be run, a service processes are generated.
7. device according to claim 6, wherein first application program and the second application program are respectively encapsulated as The war packet of war packet, first application program and the second application program is encapsulated as an ear packet jointly.
8. device according to claim 6, wherein second call request is suitable for first application program The call request of first interface, the first interface are used to provide the described second service, and the Second processing module includes:
Transform subblock, for second call request to be converted to the third of the second interface suitable for the second application program Call request, the second interface are used to provide the described second service;
Submodule is called, for being based on the third call request, calls the second interface to call second application The second service of program;
Implementation sub-module for accessing and reading first session data, and executes second processing operation.
9. a kind of electronic equipment, comprising:
Processor;And
Memory, is stored thereon with computer-readable instruction, and processor perform claim is made when described instruction is executed by processor It is required that method described in any one of 1~4.
10. a kind of computer readable storage medium is stored thereon with computer-readable instruction, when described instruction is executed by processor So that method described in any one of processor perform claim requirement 1~4.
CN201910706899.1A 2019-07-31 2019-07-31 Service calling method and device, electronic equipment and storage medium Active CN110413349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910706899.1A CN110413349B (en) 2019-07-31 2019-07-31 Service calling method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910706899.1A CN110413349B (en) 2019-07-31 2019-07-31 Service calling method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110413349A true CN110413349A (en) 2019-11-05
CN110413349B CN110413349B (en) 2022-10-14

Family

ID=68365234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910706899.1A Active CN110413349B (en) 2019-07-31 2019-07-31 Service calling method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110413349B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006058493A1 (en) * 2004-12-04 2006-06-08 Huawei Technologies Co., Ltd. A method and system for realizing the domain authentication and network authority authentication
CA2631016A1 (en) * 2007-05-10 2008-11-10 Research In Motion Limited Sharing the common session between two applications on the same server
CN102622229A (en) * 2012-02-24 2012-08-01 北京星网锐捷网络技术有限公司 Fusion method, fusion system and fusion device of development frameworks of different types
CN102779071A (en) * 2012-06-14 2012-11-14 华为技术有限公司 Method, device and system for calling software interface
US20130332618A1 (en) * 2012-06-08 2013-12-12 International Business Machines Corporation Enabling different client contexts to share session information
EP2953326A1 (en) * 2014-06-03 2015-12-09 Orange Method and device for application sharing
CN105338063A (en) * 2015-09-30 2016-02-17 北京奇虎科技有限公司 Multi-server user session sharing method and device
US20160119324A1 (en) * 2014-10-28 2016-04-28 Ca, Inc. Single Sign On Across Multiple Devices Using A Unique Machine Identification
CN107306290A (en) * 2016-04-22 2017-10-31 中国移动通信集团重庆有限公司 A kind of session session sharing methods and application server
CN107347068A (en) * 2017-07-10 2017-11-14 恒生电子股份有限公司 Single-point logging method and system, electronic equipment
CN109150913A (en) * 2018-10-17 2019-01-04 东软集团股份有限公司 Access method, apparatus, storage medium and the server of the application under micro services framework
CN109213519A (en) * 2018-09-14 2019-01-15 北京数聚鑫云信息技术有限公司 A kind of isomery API adaptation processing method and system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006058493A1 (en) * 2004-12-04 2006-06-08 Huawei Technologies Co., Ltd. A method and system for realizing the domain authentication and network authority authentication
CA2631016A1 (en) * 2007-05-10 2008-11-10 Research In Motion Limited Sharing the common session between two applications on the same server
CN102622229A (en) * 2012-02-24 2012-08-01 北京星网锐捷网络技术有限公司 Fusion method, fusion system and fusion device of development frameworks of different types
US20130332618A1 (en) * 2012-06-08 2013-12-12 International Business Machines Corporation Enabling different client contexts to share session information
CN102779071A (en) * 2012-06-14 2012-11-14 华为技术有限公司 Method, device and system for calling software interface
EP2953326A1 (en) * 2014-06-03 2015-12-09 Orange Method and device for application sharing
US20160119324A1 (en) * 2014-10-28 2016-04-28 Ca, Inc. Single Sign On Across Multiple Devices Using A Unique Machine Identification
CN105338063A (en) * 2015-09-30 2016-02-17 北京奇虎科技有限公司 Multi-server user session sharing method and device
CN107306290A (en) * 2016-04-22 2017-10-31 中国移动通信集团重庆有限公司 A kind of session session sharing methods and application server
CN107347068A (en) * 2017-07-10 2017-11-14 恒生电子股份有限公司 Single-point logging method and system, electronic equipment
CN109213519A (en) * 2018-09-14 2019-01-15 北京数聚鑫云信息技术有限公司 A kind of isomery API adaptation processing method and system
CN109150913A (en) * 2018-10-17 2019-01-04 东软集团股份有限公司 Access method, apparatus, storage medium and the server of the application under micro services framework

Also Published As

Publication number Publication date
CN110413349B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN109375918A (en) Interface rendering method, device, electronic equipment and the storage medium of small routine
CN110442608A (en) Information processing method, device, electronic equipment, medium and system
CN109145025B (en) Multi-data-source integrated data query method and device and service server
CN108255614A (en) A kind of interface calling system and method based on micro services framework
CN109714332A (en) The method for converting protocol and device parsed based on Thrift and syntax tree
CN110391938A (en) Method and apparatus for deployment services
CN104866976A (en) Multi-tenant-oriented information managing system
CN110427304A (en) O&M method, apparatus, electronic equipment and medium for banking system
CN109542352A (en) Method and apparatus for storing data
CN111818194A (en) Domain name based access system and method
CN110019496A (en) Data read-write method and system
CN110223179A (en) The data processing method of fund, device, system, medium
CN109976832A (en) It is a kind of that the method and apparatus of boarding program is provided
CN109819042A (en) For providing the method and apparatus of Software Development Kit
CN109165723A (en) Method and apparatus for handling data
CN110019242A (en) Processing method, device and system for tables of data
CN109840109B (en) Method and apparatus for generating software development toolkit
CN110413349A (en) Service calling method, device, electronic equipment and storage medium
CN111427576A (en) Method, device, storage medium and terminal for configuring application program interface
CN109685472A (en) A kind of electronic signature method, device, electronic equipment and medium
CN109634866A (en) Data test method, apparatus, medium and electronic equipment
CN109614089A (en) Automatic generation method, device, equipment and the storage medium of data access code
CN109684059A (en) Method and device for monitoring data
US20210243088A1 (en) Infrastructure resource simulation mechanism
CN110147368A (en) Data capture method and device for server

Legal Events

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