CN111324394B - System integration method and device - Google Patents

System integration method and device Download PDF

Info

Publication number
CN111324394B
CN111324394B CN202010076324.9A CN202010076324A CN111324394B CN 111324394 B CN111324394 B CN 111324394B CN 202010076324 A CN202010076324 A CN 202010076324A CN 111324394 B CN111324394 B CN 111324394B
Authority
CN
China
Prior art keywords
interface
party system
called party
code
configuration
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.)
Active
Application number
CN202010076324.9A
Other languages
Chinese (zh)
Other versions
CN111324394A (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.)
Beijing Forever Technology Co Ltd
Original Assignee
Beijing Forever Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Forever Technology Co Ltd filed Critical Beijing Forever Technology Co Ltd
Priority to CN202010076324.9A priority Critical patent/CN111324394B/en
Publication of CN111324394A publication Critical patent/CN111324394A/en
Application granted granted Critical
Publication of CN111324394B publication Critical patent/CN111324394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a system integration method and a device, wherein, the method executes configuration codes corresponding to interfaces of a called party system according to a calling mode of a pre-configured interface so as to realize calling the interfaces of the called party system; the configuration code corresponding to the interface of the called party system is obtained by configuration through the configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of an interface of the called party system and a calling mode of the interface of the called party system; and acquiring the service information of the called party system by using the interface of the called party system, or sending the service information to the called party system. The method and the device can obtain the corresponding configuration codes only by configuring the parameter information of the interface of the called party system and the calling mode of the interface through the configuration interface, and do not need to write the codes corresponding to the interfaces of each called party system, so that the development period of system integration is reduced.

Description

System integration method and device
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for system integration.
Background
The system integration is to integrate each independent computer system into a whole, so that all the partial systems can work in coordination with each other to exert the whole benefit.
However, in the prior art, when a system needs to be docked with another system, more than one interface needs to be docked, each interface needs to write corresponding codes, and a series of processes such as development, test, release, etc. are performed, so that the development period of the existing system integration is longer.
Disclosure of Invention
Based on the shortcomings of the prior art, the application provides a system integration method and device to reduce the development period of system integration.
In order to solve the above problems, the following solutions have been proposed:
the first aspect of the application discloses a system integration method, which comprises the following steps:
executing configuration codes corresponding to interfaces of a called party system according to a preset calling mode of the interfaces so as to realize calling of the interfaces of the called party system; the configuration code corresponding to the interface of the called party system is obtained by configuration through a configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of the interface of the called party system and a calling mode of the interface of the called party system; the calling mode of the interface comprises the following steps: executing a mode of calling the proxy code in a packet structure of a corresponding service, or executing parameter information of an interface at a service access point of the service code;
and acquiring the service information of the called party system by using the interface of the called party system, or sending the service information to the called party system.
Optionally, in the method for system integration, the method for configuring the configuration code corresponding to the interface of the called party system includes:
configuring parameter information of an interface of the called party system through the configuration interface;
generating a corresponding proxy code according to the configured parameter information of the interface of the called party system and exporting the proxy code to a package structure of a service; the derived proxy codes configure the calling mode of the interface of the called party system by establishing an association relation between services corresponding to the interface of the called party system.
Optionally, in the above system integration method, the method for configuring the configuration code corresponding to the called system interface includes:
configuring parameter information of an interface of the called party system through the configuration interface;
and configuring a service access point of the parameter information corresponding to the interface of the called party system in the service code through the configuration interface.
Optionally, in the method for integrating a system, the configuration code further includes: at least one mechanism code of interface security mechanism code, error handling mechanism code, and monitoring handling mechanism code; the interface security mechanism code is used for encrypting and decrypting the service information of the called party system or the service information sent to the called party system; the error processing mechanism code is used for executing an error processing flow corresponding to the status code according to the status code received from the interface of the called party system; the state code is used for explaining errors occurring in the operation process of the calling party system; the monitoring processing mechanism code is used for recording transmission data of the interface of the called party system.
Optionally, in the method for integrating a system, the configuration code further includes: synchronous mechanism code or asynchronous mechanism code;
wherein: the obtaining the service information of the called party system by using the interface of the called party system or sending the service information to the called party system comprises the following steps:
and acquiring the service information of the called party system by using the synchronous mechanism code or the asynchronous mechanism code or sending the service information to the called party system by using the interface of the called party system.
Optionally, in the system integration method, the configuration code further includes processing code;
the method further comprises the steps of, after the interface of the called party system is utilized to obtain the service information of the called party system or send the service information to the called party system:
processing the service information by using the processing code; wherein the processing code is preconfigured.
A second aspect of the present application discloses a system-integrated apparatus, comprising:
the calling unit is used for executing configuration codes corresponding to the interfaces of the called party system according to a preset calling mode of the interfaces so as to realize calling of the interfaces of the called party system; the configuration code corresponding to the interface of the called party system is obtained by configuration through a configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of the interface of the called party system and a calling mode of the interface of the called party system; the calling mode of the interface comprises the following steps: executing a mode of calling the proxy code in a packet structure of a corresponding service, or executing parameter information of an interface at a service access point of the service code;
and the acquisition unit is used for acquiring the service information of the called party system by utilizing the interface of the called party system or sending the service information to the called party system.
Optionally, in the above system integrated device, the method further includes:
a first configuration unit, configured to configure parameter information of an interface of the called party system through the configuration interface;
the generating unit is used for generating a corresponding proxy code according to the configured parameter information of the interface of the called party system and outputting the proxy code to a package structure of the service; the derived proxy codes configure the calling mode of the interface of the called party system by establishing an association relation between services corresponding to the interface of the called party system.
Optionally, in the above system integrated device, the method further includes:
a third configuration unit, configured to configure parameter information of an interface of the called party system through the configuration interface;
and the fourth configuration unit is used for configuring the service access point of the parameter information corresponding to the interface of the called party system in the service code through the configuration interface.
Optionally, in the above system integrated device, the configuration code further includes: at least one mechanism code of interface security mechanism code, error handling mechanism code, and monitoring handling mechanism code; the interface security mechanism code is used for encrypting and decrypting the service information of the called party system or the service information sent to the called party system; the error processing mechanism code is used for executing an error processing flow corresponding to the status code according to the status code received from the interface of the called party system; the state code is used for explaining errors occurring in the operation process of the calling party system; the monitoring processing mechanism code is used for recording transmission data of the interface of the called party system.
Optionally, in the above system integrated device, the configuration code further includes: synchronous mechanism code or asynchronous mechanism code;
wherein: the acquisition unit includes:
and the acquisition subunit is used for acquiring the service information of the called party system by using the synchronous mechanism code or the asynchronous mechanism code or transmitting the service information to the called party system by using the interface of the called party system.
Optionally, in the above system integrated device, the configuration code further includes processing code;
wherein, the integrated device of system still includes:
the processing unit is used for processing the service information by utilizing the processing codes; wherein the processing code is preconfigured.
As can be seen from the above technical solution, in the system integration method provided in the embodiment of the present application, according to a preset interface calling manner, a configuration code corresponding to an interface of a called party system may be executed, so as to call the interface of the called party system, and the called party system may be utilized to obtain service information of the called party system, or send service information to the called party system, so as to implement system integration. The configuration code corresponding to the interface of the called party system is obtained by configuration through the configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of an interface of the called party system and a calling mode of the interface of the called party system. The calling mode of the interface comprises the following steps: and executing the mode of calling the proxy code in the packet structure of the corresponding service or executing the mode of calling the parameter information of the interface at the service access point of the service code. Therefore, the corresponding configuration codes can be obtained only by configuring the parameter information of the interface of the called party system and the calling mode of the interface through the configuration interface, and the codes corresponding to the interfaces of each called party system are not required to be written, so that the development period of system integration is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a system integration method according to an embodiment of the present application;
fig. 2 is a flow chart of a configuration method of a configuration code corresponding to an interface of a called party system according to an embodiment of the present application;
fig. 3 is a flowchart of a configuration method of a configuration code corresponding to an interface of another called party system according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a system integrated device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, an embodiment of the present application provides a system integration method, which specifically includes the following steps:
s101, executing configuration codes corresponding to the interfaces of the called party system according to a preset calling mode of the interfaces so as to realize calling of the interfaces of the called party system. The configuration code corresponding to the interface of the called party system is obtained by configuration through the configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of an interface of the called party system and a calling mode of the interface of the called party system.
The calling mode of the interface comprises the following steps: and executing the mode of calling the proxy code in the packet structure of the corresponding service or executing the mode of calling the parameter information of the interface at the service access point of the service code.
The interface of the called party system is the interface through which the called party system needs to pass when interacting with other systems. When the calling party system needs to interact with the called party system in information, namely, integrate, the calling party system needs to realize the interface for calling the called party system. Each system can independently realize own specific functions, and is independent. The integration between systems can be file transmission interaction, message interaction and the like.
The interfaces of the callee system may be one or more, depending on the actual system integration requirements. The calling mode of the interface preconfigured by the interface of each called party system can be the same or different. The interface of each callee system is configured with configuration code. The configuration code corresponding to the interface of each called party system is obtained through configuration of the configuration interface. The calling party system can obtain the specific configuration code by carrying out relevant configuration on the configuration interface. Specifically, the background of the configuration interface is configured with a number of template codes, such as code that invokes the interface, interface security mechanism code, error handling mechanism code, and so forth. Because the codes are all preset template codes, when a calling party system needs to use a configuration code to realize the calling of a called party system, the calling can be realized by modifying some parameter values in the existing template codes through a configuration interface according to the current requirement of the calling party.
The configuration code corresponding to the interface of the called party system at least comprises: the parameter information of the interface of the called party system and the calling mode of the interface of the called party system are configured only by configuring the parameter information of the interface of the called party system and the calling mode of the interface of the called party system when the calling party system needs to call the interface, and the configuration interface can be modified according to the original template code to generate the corresponding configuration code. And the calling party system runs the configured configuration codes to realize the calling of the interface of the called party system.
In the prior art, when one system needs to be docked with another system, the method is mainly realized by manually writing the code. If a new system needs to be docked to meet new business requirements, the code needs to be rewritten and a series of processes such as development, test and release are performed again, so that the development period of the existing system integration is long.
In the embodiment of the application, the corresponding configuration codes can be obtained only by configuring the parameter information of the interface of the called party system and the calling mode of the interface through the configuration interface, and the codes corresponding to the interfaces of each called party system are not required to be written, so that the development period of system integration is reduced.
The configuration interface can be applied to the calling party system, and can also be positioned on other platforms except the calling party system, and the other platforms realize the configuration of the calling party system in a mode of establishing communication connection with the calling party system.
Optionally, referring to fig. 2, in a specific embodiment of the present application, a configuration method of a configuration code corresponding to an interface of a called party system specifically includes the following steps:
s201, configuring parameter information of an interface of a called party system through a configuration interface.
And configuring configuration codes corresponding to the interfaces of the called party system, wherein the configuration codes at least comprise parameter information of the interfaces of the called party system and calling modes of the interfaces of the called party system. Step S201 is used to configure parameter information of an interface implemented as a caller system. Specifically, the configuration may be performed by inputting parameter information of an interface of the callee system to the configuration interface. Parameter information of the interface of the callee system may be entered manually.
For example, relevant function keys such as an add interface and a modify interface parameter may be displayed on the configuration interface, and when a user needs to add a new interface of the called party system, the relevant function keys of the add interface may be triggered by clicking, touching, or voice, so that a parameter configuration page of the called party system is displayed on the configuration interface. And the user inputs the newly added parameter information of the called party system on the parameter configuration page, so that the configuration of the parameter information of the interface of the called party system can be completed. When the user needs to modify the parameter information of the existing called party system, the configuration function key of the existing called party system can be triggered by clicking, touching or voice, so that the parameter configuration page of the existing called party system is displayed on the configuration interface. The user can complete the reconfiguration of the parameter information of the interface of the existing called party system only by re-inputting the parameter information needing to be modified on the parameter configuration page.
The parameter information of the interface of the called system is the identification information of the interface of the called system, and the interface can be clearly called only by the identification information of the interface. Specifically, the parameter information of the interface of the called party system includes the called party address, the port, the path, the parameter, the return value type and the like, and the configuration interface is also configured with parameter standards such as name information of the parameter, the parameter type, the data length, the default value, the extension calculation value and the like. Optionally, the parameter information of the interface of the configured called party system is saved in a metadata base table. If the user wants to reconfigure the configuration, the user can call out the originally stored parameter information from the metadata base table through the configuration interface to reconfigure the configuration.
S202, generating a corresponding proxy code according to the configured parameter information of the interface of the called party system and exporting the proxy code to a package structure of the service.
The derived proxy codes configure the calling mode of the interface of the called party system by establishing the association relation between the services corresponding to the interface of the called party system. And the background program of the configuration interface generates a corresponding proxy code according to the configured parameter information. The service package structure contains the description information of the service, and by exporting the proxy code to the service package structure, the association relationship between the proxy code and the service corresponding to the interface of the called party system can be established, and when the calling party system operates the service package structure with the proxy code introduced, the service information which is specifically required to be sent or acquired can be definitely determined.
If the currently required service changes, the service can be realized by re-editing or modifying the packet structure of the service. The calling mode of the interface shown in fig. 2 has flexibility, and when the calling party has new service function requirements, the user can directly construct a packet structure of a new service according to the current new requirements.
Optionally, referring to fig. 3, in another embodiment of the present application, a method for configuring a configuration code corresponding to a called system interface includes:
s301, configuring parameter information of an interface of a called party system through a configuration interface.
The principle and execution of step S301 shown in fig. 3 are similar to those of step S201 shown in fig. 2, and will not be repeated here.
S302, configuring a service access point of parameter information corresponding to an interface of a called party system in a service code through a configuration interface.
Specifically, service entry points in a service code may be configured by a tangent point expression, and a plurality of service entry points may be configured in one service code. When the configured service codes are executed, the caller system verifies whether the related service codes exist and are legal according to the context when running to the service access point, and whether the parameter information corresponding to the interface of the callee system cut in by the service access point is correct or not. Optionally, a tangent plane oriented programming (Aspect Oriented Programming, AOP) may enable configuration of service cut points.
It should be noted that, the service code is a preset code in the background program of the configuration interface. The background program of the configuration interface is preset with various currently required service functions, and when a specific service function is required to be realized, the corresponding service code is selected directly in the configuration interface, and the service access point is configured in the service code.
S102, acquiring service information of the called party system by using an interface of the called party system, or sending the service information to the called party system.
The calling party system can acquire the service information of the called party system from the interface of the called party system, and can also send the service information to the called party system. The service information refers to any interaction information required between the current calling party system and the called party system. For example, the calling system may send a service request using the interface of the called system, and then the called system responds to the service request and returns service information corresponding to the service request from the interface of the called system.
It should be noted that, after the calling party system obtains the service information of the called party system, the subsequent service flow can be executed according to the service information, so as to realize the service function required by the calling party.
Optionally, in a specific embodiment of the present application, the configuration code further includes: at least one of interface security mechanism code, error handling mechanism code, and supervisory handling mechanism code.
The interface security mechanism code is used for encrypting and decrypting the service information of the called party system or the service information sent to the called party system. The interface security mechanism code is also configured through the configuration interface. Corresponding template codes of various encryption and decryption modes exist in a background program of the configuration interface, and a user can generate corresponding security mechanism codes only by selecting a needed encryption and decryption mode through the configuration interface.
The encryption and decryption modes include an MD5Message-Digest (MD 5 Message-Digest) secure hash Algorithm 1 (Secure Hash Algorithm, SHA-1), an advanced encryption standard (Advanced Encryption Standard, AES) Algorithm, an asymmetric encryption Algorithm and the like.
When executing step S102, the called party system encrypts the service information sent to the calling party system according to the encryption and decryption mode and the key consistent with the default of the calling party system. Because the calling party system knows the default encryption and decryption modes and the secret key, the obtained called party system can be decrypted, and further decrypted service information is obtained. Similarly, when the calling party system sends the service information to the called party system, the sent service information can be encrypted according to a default encryption mode, and after the called party system receives the encrypted service information through the interface, the calling party system decrypts according to a default decryption mode. The configuration is carried out through the configuration interface, so that interaction between the calling party system and the called party system is safer when the interface security mechanism code exists in the configuration code.
The error handling mechanism code is configured to execute an error handling procedure corresponding to the status code based on the status code received from the interface of the callee system. The status code is used for describing errors occurring in the operation process of the calling party system, such as network connection problems, response errors of the called party system and the like. The error processing flow can be sending a short message or a mail to remind the current error, or can be re-responding to reconnection and the like. The configuration code in the embodiment of the application further comprises an error processing mechanism code, so that a corresponding error processing flow can be executed when errors occur, and the stability of the system in the integration process is improved.
The monitoring processing mechanism code is used for recording transmission data of the interface of the called party system. The transfer data for each interface of the callee system interfacing with the caller system is recorded. Specifically, a monitoring database table may be configured to record interface call performance related data, incoming parameter data, call return data, and returned error data, etc. Because the configuration code in the embodiment of the application comprises the monitoring processing mechanism code, the transmission data of the interface of the called party system can be recorded, and when the system integration process is abnormal, the calling path for calling the abnormality can be found out from the monitoring data table and then processed.
Optionally, in a specific embodiment of the present application, the configuration code further includes: synchronous mechanism code or asynchronous mechanism code.
When step S102 is executed, the interface of the called party system is utilized to obtain the service information of the called party system by using the synchronous mechanism code or the asynchronous mechanism code, or send the service information to the called party system. When the configuration code includes the synchronous mechanism code, the interface call times, the timeout time and the like are configured through the configuration interface. When the caller system runs the synchronous mechanism code, the caller system must wait for the input and output of each operation to be finished before the subsequent operation can be performed. When the configuration code is an asynchronous mechanism code, message queue address information, subject queues, the number of processed messages, etc. may be configured. When the calling party system runs the asynchronous mechanism code, the calling party system can perform other operations without waiting for the current operation to finish.
Optionally, in an embodiment of the present application, the configuration code further includes a processing code, where when step S102 is performed, the service information may be processed by using the processing code.
Wherein the processing code is preconfigured. Specifically, the processing code may be introduced through a third party system other than the calling party system, the called party system, or directly through a manual code configuration, etc. The processing code is capable of processing data streams transmitted between systems, and the configuration code may include a plurality of different processing codes. By processing the codes, other data which are not transmitted by interfaces except the calling system and the called system can be obtained, and service information can be processed in a related way through the other data.
In the system integration method provided by the embodiment of the invention, the configuration code corresponding to the interface of the called party system can be executed according to the calling mode of the pre-configured interface so as to realize the calling of the interface of the called party system, and the service information of the called party system is acquired by using the interface of the called party system or the service information is sent to the called party system to realize the system integration. The configuration code corresponding to the interface of the called party system is obtained by configuration through the configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of an interface of the called party system and a calling mode of the interface of the called party system. The calling mode of the interface comprises the following steps: and executing the mode of calling the proxy code in the packet structure of the corresponding service or executing the mode of calling the parameter information of the interface at the service access point of the service code. Therefore, the corresponding configuration codes can be obtained only by configuring the parameter information of the interface of the called party system and the calling mode of the interface through the configuration interface, and the codes corresponding to the interfaces of each called party system are not required to be written, so that the development period of system integration is reduced.
Referring to fig. 4, based on the method for integrating a system provided in the embodiment of the present application, the embodiment of the present application further correspondingly discloses a device for integrating a system, including: a calling unit 401 and an acquiring unit 402.
And the calling unit 401 is configured to execute the configuration code corresponding to the interface of the called party system according to the calling mode of the pre-configured interface, so as to realize calling the interface of the called party system. The configuration code corresponding to the interface of the called party system is obtained by configuration through the configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of an interface of the called party system and a calling mode of the interface of the called party system. The calling mode of the interface comprises the following steps: and executing the mode of calling the proxy code in the packet structure of the corresponding service or executing the mode of calling the parameter information of the interface at the service access point of the service code.
An obtaining unit 402, configured to obtain service information of the called party system by using an interface of the called party system, or send the service information to the called party system.
Optionally, in a specific embodiment of the present application, the system integrated device further includes: a first configuration unit and a generation unit.
And the first configuration unit is used for configuring the parameter information of the interface of the called party system through the configuration interface.
And the generating unit is used for generating a corresponding proxy code according to the configured parameter information of the interface of the called party system and leading the proxy code out to the package structure of the service. The derived proxy codes configure the calling mode of the interface of the called party system by establishing an association relation between services corresponding to the interface of the called party system.
Optionally, in a specific embodiment of the present application, the system integrated device further includes: a third configuration unit and a fourth configuration unit.
And the third configuration unit is used for configuring the parameter information of the interface of the called party system through the configuration interface.
And the fourth configuration unit is used for configuring the service access point of the parameter information corresponding to the interface of the called party system in the service code through the configuration interface.
Optionally, in a specific embodiment of the present application, the configuration code further includes: at least one of interface security mechanism code, error handling mechanism code, and supervisory handling mechanism code. The interface security mechanism code is used for encrypting and decrypting the service information of the called party system or the service information sent to the called party system. The error handling mechanism code is configured to execute an error handling procedure corresponding to the status code based on the status code received from the interface of the callee system. The state code is used for explaining errors occurring in the operation process of the calling party system; the monitoring processing mechanism code is used for recording transmission data of the interface of the called party system.
Optionally, in a specific embodiment of the present application, the configuration code further includes: synchronous mechanism code or asynchronous mechanism code.
Wherein: the acquisition unit 402 includes:
and the acquisition subunit is used for acquiring the service information of the called party system by using the interface of the called party system and using the synchronous mechanism code or the asynchronous mechanism code or sending the service information to the called party system.
Optionally, in a specific embodiment of the present application, the configuration code further includes processing code.
Wherein, the integrated device of system still includes:
and the processing unit is used for processing the service information by utilizing the processing codes. Wherein the processing code is preconfigured.
The specific principle and the execution process in the system integration device disclosed in the embodiment of the present application are the same as the system integration method disclosed in the embodiment of the present application, and may refer to the corresponding parts in the system integration method disclosed in the embodiment of the present application, which are not described in detail herein.
In the system integration device provided in the embodiment of the present application, the calling unit 401 may execute a configuration code corresponding to an interface of the called system according to a calling manner of a pre-configured interface, so as to implement calling of the interface of the called system. The acquiring unit 402 acquires the service information of the called party system by using the interface of the called party system, or sends the service information to the called party system, so as to realize system integration. The configuration code corresponding to the interface of the called party system is obtained by configuration through the configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of an interface of the called party system and a calling mode of the interface of the called party system. The calling mode of the interface comprises the following steps: and executing the mode of calling the proxy code in the packet structure of the corresponding service or executing the mode of calling the parameter information of the interface at the service access point of the service code. Therefore, the corresponding configuration codes can be obtained only by configuring the parameter information of the interface of the called party system and the calling mode of the interface through the configuration interface, and the codes corresponding to the interfaces of each called party system are not required to be written, so that the development period of system integration is reduced.
Those skilled in the art will be able to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (6)

1. A method of system integration, comprising:
executing configuration codes corresponding to interfaces of a called party system according to a preset calling mode of the interfaces so as to realize calling of the interfaces of the called party system; the configuration code corresponding to the interface of the called party system is obtained by configuration through a configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of the interface of the called party system and a calling mode of the interface of the called party system; the calling mode of the interface comprises the following steps: executing a mode of calling the proxy code in a packet structure of a corresponding service, or executing parameter information of an interface at a service access point of the service code;
the configuration method of the configuration code corresponding to the interface of the called party system comprises the following steps: configuring parameter information of an interface of the called party system through the configuration interface; generating a corresponding proxy code according to the configured parameter information of the interface of the called party system and exporting the proxy code to a package structure of a service; the derived proxy codes configure the calling mode of the interface of the called party system by establishing an association relation between services corresponding to the interface of the called party system; configuring parameter information of an interface of the called party system through the configuration interface; configuring a service access point of parameter information corresponding to an interface of the called party system in a service code through the configuration interface;
and acquiring the service information of the called party system by using the interface of the called party system, or sending the service information to the called party system.
2. The method of claim 1, wherein the configuration code further comprises: at least one mechanism code of interface security mechanism code, error handling mechanism code, and monitoring handling mechanism code; the interface security mechanism code is used for encrypting and decrypting the service information of the called party system or the service information sent to the called party system; the error processing mechanism code is used for executing an error processing flow corresponding to the status code according to the status code received from the interface of the called party system; the state code is used for explaining errors occurring in the operation process of the calling party system; the monitoring processing mechanism code is used for recording transmission data of the interface of the called party system.
3. The method of claim 1, wherein the configuration code further comprises: synchronous mechanism code or asynchronous mechanism code;
wherein: the obtaining the service information of the called party system by using the interface of the called party system or sending the service information to the called party system comprises the following steps:
and acquiring the service information of the called party system by using the synchronous mechanism code or the asynchronous mechanism code or sending the service information to the called party system by using the interface of the called party system.
4. The method of claim 1, wherein the configuration code further comprises processing code;
the method further comprises the steps of, after the interface of the called party system is utilized to obtain the service information of the called party system or send the service information to the called party system:
processing the service information by using the processing code; wherein the processing code is preconfigured.
5. A system-integrated apparatus, comprising:
the calling unit is used for executing configuration codes corresponding to the interfaces of the called party system according to a preset calling mode of the interfaces so as to realize calling of the interfaces of the called party system; the configuration code corresponding to the interface of the called party system is obtained by configuration through a configuration interface, and the configuration code corresponding to the interface of the called party system at least comprises: parameter information of the interface of the called party system and a calling mode of the interface of the called party system; the calling mode of the interface comprises the following steps: executing a mode of calling the proxy code in a packet structure of a corresponding service, or executing parameter information of an interface at a service access point of the service code;
a first configuration unit, configured to configure parameter information of an interface of the called party system through the configuration interface;
the generating unit is used for generating a corresponding proxy code according to the configured parameter information of the interface of the called party system and outputting the proxy code to a package structure of the service; the derived proxy codes configure the calling mode of the interface of the called party system by establishing an association relation between services corresponding to the interface of the called party system;
a third configuration unit, configured to configure parameter information of an interface of the called party system through the configuration interface;
a fourth configuration unit, configured to configure, through the configuration interface, a service access point of parameter information corresponding to an interface of the called party system in a service code;
and the acquisition unit is used for acquiring the service information of the called party system by utilizing the interface of the called party system or sending the service information to the called party system.
6. The apparatus as recited in claim 5, further comprising:
the configuration code further includes: at least one mechanism code of interface security mechanism code, error handling mechanism code, and monitoring handling mechanism code; the interface security mechanism code is used for encrypting and decrypting the service information of the called party system or the service information sent to the called party system; the error processing mechanism code is used for executing an error processing flow corresponding to the status code according to the status code received from the interface of the called party system; the state code is used for explaining errors occurring in the operation process of the calling party system; the monitoring processing mechanism code is used for recording transmission data of the interface of the called party system.
CN202010076324.9A 2020-01-23 2020-01-23 System integration method and device Active CN111324394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010076324.9A CN111324394B (en) 2020-01-23 2020-01-23 System integration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010076324.9A CN111324394B (en) 2020-01-23 2020-01-23 System integration method and device

Publications (2)

Publication Number Publication Date
CN111324394A CN111324394A (en) 2020-06-23
CN111324394B true CN111324394B (en) 2023-05-12

Family

ID=71167045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010076324.9A Active CN111324394B (en) 2020-01-23 2020-01-23 System integration method and device

Country Status (1)

Country Link
CN (1) CN111324394B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835586A (en) * 2021-01-27 2021-05-25 湖南快乐阳光互动娱乐传媒有限公司 Interface calling method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107430712A (en) * 2014-12-19 2017-12-01 艾诺茨Ip公司 Resource management system is can access with the network that can be allocated management of
WO2019072110A1 (en) * 2017-10-11 2019-04-18 阿里巴巴集团控股有限公司 Method for generating application program, apparatus, system, device, and medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528185A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Application interface management method and apparatus
US10338913B2 (en) * 2017-12-05 2019-07-02 Archemy, Inc. Active adaptation of networked compute devices using vetted reusable software components
CN108446225A (en) * 2018-03-06 2018-08-24 平安科技(深圳)有限公司 Creating device, method and the computer readable storage medium of analog interface
CN109117127A (en) * 2018-08-21 2019-01-01 水木康益(北京)信息技术有限公司 Program code generation method, device and computer readable storage medium
CN109213519B (en) * 2018-09-14 2020-01-03 北京数聚鑫云信息技术有限公司 Heterogeneous API adaptation processing method and system
CN110058853B (en) * 2019-04-22 2020-01-07 武汉众邦银行股份有限公司 API (application program interface) flow method based on workflow and authority control
CN110286897A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 API Visual Dynamic configuration method, device, equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107430712A (en) * 2014-12-19 2017-12-01 艾诺茨Ip公司 Resource management system is can access with the network that can be allocated management of
WO2019072110A1 (en) * 2017-10-11 2019-04-18 阿里巴巴集团控股有限公司 Method for generating application program, apparatus, system, device, and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴承来 等."基于表单域访问控制模型的构建与实现".《计算机与数字工程》.2015,第43卷(第10期),1756-1760、1818. *

Also Published As

Publication number Publication date
CN111324394A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CA2721890C (en) Method of securely transferring services between mobile devices
EP2234028A1 (en) System and method of handling encrypted backup data
CN109672523B (en) Information encryption method, device and equipment based on filter and readable storage medium
US8826012B2 (en) Communication apparatus, control method thereof, and program
CN111274611A (en) Data desensitization method, device and computer readable storage medium
CN112287372A (en) Method and apparatus for protecting clipboard privacy
WO2017002499A1 (en) Communication system and program
US20190097811A1 (en) Open, secure electronic signature system and associated method
WO2017002496A1 (en) Communication system and program
WO2014166206A1 (en) Secure network access processing method and apparatus
CN111324394B (en) System integration method and device
CN112966303A (en) Data encryption and decryption method and device, electronic equipment and computer storage medium
CN106878964B (en) Authentication system and method based on short message channel
JP2011118853A (en) Server for providing mobile standard template data
JP2006309356A (en) System and method for managing schedule or the like
CN114844860A (en) WeChat enterprise number processing method, device, equipment and medium
CN113709128A (en) IROS system communication method and device based on block chain
US20160072777A1 (en) Hardware crypto module and system for communicating with an external environment
CN112738008B (en) Information synchronous changing method, device, computer and readable storage medium
CN114519184B (en) Account number encryption method, account number encryption device, account number encryption equipment and medium based on Agent process
CN113542313B (en) Third-party Internet of things platform equipment docking system and method
JP7006765B2 (en) Communication systems and programs
EP4283926A1 (en) Method and apparatus for providing secure messaging service
WO2024057538A1 (en) Server, authentication system, authentication method and program
WO2022142555A1 (en) Method, device and system for establishing secure data connection between vnfm and vnf

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