CN116204334A - Data transmission method, device, computer equipment and storage medium - Google Patents

Data transmission method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN116204334A
CN116204334A CN202211722241.8A CN202211722241A CN116204334A CN 116204334 A CN116204334 A CN 116204334A CN 202211722241 A CN202211722241 A CN 202211722241A CN 116204334 A CN116204334 A CN 116204334A
Authority
CN
China
Prior art keywords
interface
service request
target
interfaces
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211722241.8A
Other languages
Chinese (zh)
Inventor
黄润霖
李菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yundy Intelligent Technology Co ltd
Original Assignee
Yundy Intelligent 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 Yundy Intelligent Technology Co ltd filed Critical Yundy Intelligent Technology Co ltd
Priority to CN202211722241.8A priority Critical patent/CN116204334A/en
Publication of CN116204334A publication Critical patent/CN116204334A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to a data transmission method, a data transmission device, computer equipment and a storage medium. The method comprises the following steps: acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be sequentially called to acquire a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface; responding to the service request, and sequentially calling the plurality of related read interfaces of the source system to acquire the target data; and calling a write interface of the target system to store the acquired target data to the target system. When the technical scheme provided by the application is adopted for data transmission, the target data is not input manually according to the source data, so that the efficiency of data transmission is improved, and the operation flow of data transmission is simplified.

Description

Data transmission method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data transmission method, apparatus, computer device, and storage medium.
Background
With the development of enterprise informatization, enterprises are often provided with management systems for recording daily enterprise management conditions. The management system data installed by different enterprises are isolated from each other, so that the interaction is inconvenient. When a customer purchases a commodity, a purchase order is generated in the enterprise management system of the customer, and as the management systems do not interact, the management system of the merchant does not automatically generate a sales order, and the merchant generally needs to manually establish the basis of the sales order in the enterprise management system of the merchant for recording the sales behavior corresponding to the purchase behavior of the customer, so that the operation is complicated and the processing efficiency is low.
In the conventional technology, a read interface which can be called is provided in an enterprise management system, data information of a sales order can be read, and then a write interface is called to store the data information read by the read interface into the enterprise management system of a merchant. This approach requires high skill from the operating user, the need to be able to understand and edit the code, and the invoking of the code.
Therefore, how to improve the data transmission efficiency and simplify the operation flow is a technical problem that is continuously solved at present.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data transmission method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve data transmission efficiency.
In a first aspect, the present application provides a data transmission method, the method including:
acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be sequentially called to acquire a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface;
responding to the service request, and sequentially calling the plurality of related read interfaces of the source system to acquire the target data;
and calling a write interface of the target system to store the acquired target data to the target system.
In one embodiment, after the service request sent by the target system is obtained, the method further includes: and responding to the service request, and sequentially displaying a plurality of read interfaces related to the service request in a display interface according to the calling sequence.
In one embodiment, after the displaying the plurality of read interfaces related to the service request in the display interface sequentially in the order of call, the method further includes:
and acquiring an interface sequence adjustment instruction and adjusting the reading sequence of the plurality of reading interfaces.
In one embodiment, after said adjusting the read order of the plurality of read interfaces, the method further comprises:
saving the adjusted reading sequence of the plurality of reading interfaces; and when the service request is acquired, displaying the plurality of read interfaces in the display interface according to the adjusted sequence.
In one embodiment, before the invoking the write interface of the target system saves the target data to the target system, the method further comprises: and displaying the write interface in a display interface.
In one embodiment, before the invoking the write interface of the target system saves the obtained target data to the target system, the method further comprises: and displaying the plurality of related read interfaces and the write interfaces in sequence according to the calling sequence in the interface.
In one embodiment, at least one of the following parameters is displayed in the display interface: input parameters of the plurality of related read interfaces, output parameters, input parameters of the write interface.
In a second aspect, the present application further provides a data transmission apparatus, the apparatus comprising:
the system comprises an acquisition module, a source system and a source system, wherein the acquisition module is used for acquiring a service request sent by the target system, the service request is used for requesting to acquire target data from the source system, the target data need to be sequentially called for a plurality of related read interfaces of the source system to acquire, and at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface;
the first calling module is used for responding to the service request and sequentially calling the plurality of related read interfaces of the source system to acquire the target data;
and the second calling module is used for calling a write interface of the target system to store the acquired target data into the target system.
In a third aspect, the present application also provides a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be sequentially called to acquire a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface;
responding to the service request, and sequentially calling the plurality of related read interfaces of the source system to acquire the target data;
and calling a write interface of the target system to store the acquired target data to the target system.
In one embodiment, after the service request is obtained from the target system, the method further comprises: and responding to the service request, and sequentially displaying a plurality of read interfaces related to the service request in a display interface according to the calling sequence.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor performs the steps of:
acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be sequentially called to acquire a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface;
responding to the service request, and sequentially calling the plurality of related read interfaces of the source system to acquire the target data;
and calling a write interface of the target system to store the acquired target data to the target system.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be sequentially called to acquire a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface;
responding to the service request, and sequentially calling the plurality of related read interfaces of the source system to acquire the target data;
and calling a write interface of the target system to store the acquired target data to the target system.
The data transmission method, the data transmission device, the computer equipment and the storage medium are used for carrying out data transmission by taking the intermediate platform as an intermediary, acquiring a service request from a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data need to be sequentially acquired by calling a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface;
responding to the service request, and sequentially calling the plurality of related read interfaces of the source system to acquire the target data;
and calling a write interface of the target system to store the acquired target data to the target system.
When the data transmission method, the data transmission device, the computer equipment and the storage medium are used for data transmission, firstly, the service request sent by the target system is acquired, a plurality of related read interfaces of the source system are sequentially called to acquire target data in response to the service request, and then the write interface of the target system is called to store the acquired target data in the target system. When the technical scheme provided by the application is adopted for data transmission, the target data is not input manually according to the source data, so that the efficiency of data transmission is improved, and the operation flow of data transmission is simplified.
Drawings
Fig. 1 is a schematic diagram of an application scenario of a data transmission method in one embodiment;
FIG. 2A is a flow chart of a data transmission method in one embodiment;
FIG. 2B is a diagram of a call sequence for multiple read interfaces in one embodiment;
FIG. 3 is a flow chart of a data transmission method in one embodiment;
FIG. 4 is a flow chart of a data transmission method in one embodiment;
FIG. 5 is a schematic diagram of a data transmission device according to an embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The data transmission method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the second terminal 102 communicates with the first terminal 101, which is installed with the active system, and the third terminal 103, which is installed with the target system, through a network. It should be noted that, in some possible embodiments, the source system and the target system may be installed in the same terminal; in other possible embodiments, the terminal running the data interaction method of the present application may also be installed in the same terminal with the source system and the target system, which is not limited in the specific application scenario. For simplicity, the embodiment of the present application is described with reference to the application scenario shown in fig. 1, and it can be understood that the technical solution provided in the present application is not limited to the application scenario shown in fig. 1. When data transmission is performed, the second terminal 102 acquires a service request sent by a target system in the third terminal 103, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be acquired by sequentially calling a plurality of related read interfaces (Application Program Interface, APIs) of the source system, wherein at least one part of data acquired by a previous read API is used as at least one part of input parameters of a next read API; responding to the service request, and sequentially calling a plurality of related read interfaces of the source system to acquire target data; and calling a write interface of the target system to store the acquired target data to the target system. The first terminal 101, the second terminal 102, and the third terminal 103 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and the like.
When data transmission is carried out, firstly, a service request sent by a target system is acquired, a plurality of related read interfaces of a source system are sequentially called to acquire target data in response to the service request, and then a write interface of the target system is called to store the acquired target data in the target system. When the technical scheme provided by the application is adopted for data transmission, the target data is not input manually according to the source data, so that the efficiency of data transmission is improved, and the operation flow of data transmission is simplified.
In one embodiment, as shown in fig. 2A, a data transmission method is provided, which is illustrated by taking an example that the method is applied to the second terminal 102 in fig. 1, and includes steps 201 to 203, where:
201. and acquiring a service request sent by the target system, wherein the service request is used for requesting to acquire target data from the source system, and the target data needs to be acquired by sequentially calling a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface.
For example, the target data may be data corresponding to a sales order, and in this embodiment, the target data needs to be sequentially called to obtain a plurality of related read interfaces in the source system, as shown in fig. 2B, where the calling order of the read interfaces is sequentially as follows: API1 204→api2→205→ … 206→target API 207.
In some possible embodiments, a plurality of read interfaces associated with the service request may be displayed sequentially in the display interface in order of invocation.
In some possible embodiments, the calling sequence of the read interfaces may be adjusted, and an interface sequence adjustment instruction is obtained to adjust the reading sequence of the plurality of read interfaces. For example, the positions of the reading interfaces displayed in the interface can be moved, and the positions of the reading interfaces can be adjusted by dragging after clicking a mouse. .
In some possible embodiments, the adjusted read order of the plurality of read interfaces may be preserved; and when the service request is acquired, displaying a plurality of read interfaces in the display interfaces according to the adjusted sequence. For example, if the call sequence to the interface after adjustment is: and displaying the adjusted interface calling sequence in the display interface.
In the embodiment of the application, the second terminal 102 calls the read API when data transmission is performed. The kind and order of read APIs at call time may be different depending on the scenario. The settings may be made according to the specific scenario. The calling sequence can be modified, and the user sets each API template under the service object at a designated calling node according to the scene requirement, so that the data content returned by the last template, namely the target API, can be obtained.
202. In response to the service request, a plurality of read interfaces associated with the service request are sequentially displayed in the display interface in accordance with the call.
203. And responding to the service request, and sequentially calling a plurality of related read interfaces of the source system to acquire target data.
And calling a write interface of the target system to store the acquired target data to the target system.
When the technical scheme provided by the embodiment is adopted for data transmission, a service request sent by a target system is firstly acquired, a plurality of related read interfaces of a source system are sequentially called to acquire target data in response to the service request, and then a write interface of the target system is called to store the acquired target data in the target system. When the technical scheme provided by the application is adopted for data transmission, the target data is not input manually according to the source data, so that the efficiency of data transmission is improved, and the operation flow of data transmission is simplified.
In one embodiment, as shown in fig. 3, a data transmission method is provided, which is illustrated by taking an example that the method is applied to the second terminal 102 in fig. 1, and includes steps 301 to 304, where:
301. and acquiring a service request sent by the target system, wherein the service request is used for requesting to acquire target data from the source system, and the target data needs to be acquired by sequentially calling a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface.
For example, the target data may be data corresponding to a sales order, and in this embodiment, the target data needs to be sequentially called to obtain a plurality of related read interfaces in the source system, as shown in fig. 2B, where the calling order of the read interfaces is sequentially as follows: API1 204→api2→205→ … 206→target API 207.
In some possible embodiments, a plurality of read interfaces associated with the service request may be displayed sequentially in the display interface in order of invocation.
In some possible embodiments, the calling sequence of the read interfaces may be adjusted, and an interface sequence adjustment instruction is obtained to adjust the reading sequence of the plurality of read interfaces. For example, the positions of the reading interfaces displayed in the interface can be moved, and the positions of the reading interfaces can be adjusted by dragging after clicking a mouse. .
In some possible embodiments, the adjusted read order of the plurality of read interfaces may be preserved; and when the service request is acquired, displaying a plurality of read interfaces in the display interfaces according to the adjusted sequence. For example, if the call sequence to the interface after adjustment is: and displaying the adjusted interface calling sequence in the display interface.
In the embodiment of the application, the second terminal 102 calls the read API when data transmission is performed. The kind and order of read APIs at call time may be different depending on the scenario. The settings may be made according to the specific scenario. The calling sequence can be modified, and the user sets each API template under the service object at a designated calling node according to the scene requirement, so that the data content returned by the last template, namely the target API, can be obtained.
302. In response to the service request, a plurality of read interfaces associated with the service request are sequentially displayed in the display interface in the order of invocation.
303. And responding to the service request, and sequentially calling a plurality of related read interfaces of the source system to acquire target data.
304. And calling a write interface of the target system to store the acquired target data to the target system.
When the technical scheme provided by the embodiment is adopted for data transmission, firstly, a service request sent by a target system is acquired, a plurality of interfaces related to the service request are sequentially displayed in a display interface according to a calling sequence in response to the service request, a plurality of related read interfaces of a source system are sequentially called to acquire target data, and then a write interface of the target system is called to store the acquired target data in the target system. When the technical scheme provided by the application is adopted for data transmission, the efficiency of data transmission is improved, and the operation flow of data transmission is simplified.
In one embodiment, as shown in fig. 4, a data transmission method is provided, which is illustrated by taking the application of the method to the second terminal 102 in fig. 1 as an example, and includes steps 401 to 406, where:
401. and acquiring a service request sent by the target system, wherein the service request is used for requesting to acquire target data from the source system, and the target data needs to be acquired by sequentially calling a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface.
For example, the target data may be data corresponding to a sales order, and in this embodiment, the target data needs to be sequentially called to obtain a plurality of related read interfaces in the source system, as shown in fig. 2B, where the calling order of the read interfaces is sequentially as follows: API1 204→api2→205→ … 206→target API 207.
In some possible embodiments, a plurality of read interfaces associated with the service request may be displayed sequentially in the display interface in order of invocation.
In some possible embodiments, the calling sequence of the read interfaces may be adjusted, and an interface sequence adjustment instruction is obtained to adjust the reading sequence of the plurality of read interfaces. For example, the positions of the reading interfaces displayed in the interface can be moved, and the positions of the reading interfaces can be adjusted by dragging after clicking a mouse. .
In some possible embodiments, the adjusted read order of the plurality of read interfaces may be preserved; and when the service request is acquired, displaying a plurality of read interfaces in the display interfaces according to the adjusted sequence. For example, if the call sequence to the interface after adjustment is: and displaying the adjusted interface calling sequence in the display interface.
In the embodiment of the application, the second terminal 102 calls the read API when data transmission is performed. The kind and order of read APIs at call time may be different depending on the scenario. The settings may be made according to the specific scenario. The calling sequence can be modified, and the user sets each API template under the service object at a designated calling node according to the scene requirement, so that the data content returned by the last template, namely the target API, can be obtained.
402. In response to the service request, a plurality of read interfaces associated with the service request are sequentially displayed in the display interface in the order of invocation.
403. And acquiring an interface sequence adjustment instruction and adjusting the reading sequence of a plurality of reading interfaces.
404. And saving the adjusted reading sequence of the plurality of reading interfaces.
405. In response to the service request, a plurality of related read interfaces of the source system are sequentially modulated according to the adjusted sequence to acquire the target data.
406. And calling a write interface of the target system to store the acquired target data to the target system.
When the technical scheme provided by the embodiment is adopted for data transmission, firstly, a service request sent by a target system is acquired, a plurality of interfaces related to the service request are sequentially displayed in a display interface according to a calling sequence in response to the service request, when the calling sequence of the interfaces needs to be adjusted, an interface sequence adjustment instruction is acquired, the reading sequence of a plurality of blocks is adjusted, then the adjusted reading sequence of a plurality of read interfaces is saved, a plurality of related read interfaces of a source system are sequentially called to acquire target data, and then a write interface of the target system is called to save the acquired target data to the target system. When the technical scheme provided by the application is adopted for data transmission, the efficiency of data transmission is improved, and the operation flow of data transmission is simplified.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a data transmission device for realizing the above related data transmission method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in one or more embodiments of the data transmission device provided below may refer to the limitation of the data transmission method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 5, there is provided a data transmission apparatus 500 comprising: an acquisition module 501, a first invocation module 502 and a second invocation module 503. The obtaining module 501 is configured to obtain a service request sent by a target system, where the service request is used to request to obtain target data from a source system, where the target data needs to be obtained by sequentially calling a plurality of relevant read interfaces of the source system, and at least a part of data obtained by a previous read interface is used as at least a part of input parameters of a next read interface; the first calling module 502 is configured to sequentially call a plurality of related read interfaces of the source system to obtain target data in response to the service request; and the second calling module 503 is configured to call a write interface of the target system to save the obtained target data to the target system.
In one embodiment, the system further comprises a display module, which is used for responding to the service request after the acquisition module acquires the service request sent by the target system, and sequentially displaying a plurality of read interfaces related to the service request in the display interface according to the calling sequence.
In one embodiment, the system further comprises an adjustment module, configured to obtain an interface sequence adjustment instruction after the display module sequentially displays the plurality of read interfaces related to the service request in the display interface according to the calling sequence, and adjust the reading sequence of the plurality of read interfaces.
In one embodiment, the device further comprises a saving module, configured to save the adjusted reading order of the plurality of read interfaces after the adjusting module adjusts the reading order of the plurality of read interfaces; and when the service request is acquired, displaying the plurality of read interfaces in the display interface according to the adjusted sequence.
In one embodiment, the system further comprises a display module, and the display module is used for displaying the write interface of the target system in the display interface before the second calling module calls the write interface to save the target data to the target system.
In one embodiment, the system further comprises a display module, configured to display the plurality of related read interfaces and the write interfaces in sequence according to the calling order in the interface before the second calling module calls the write interface of the target system to save the target data to the target system.
In one embodiment, the display module is further configured to display at least one of the following parameters in the display interface: input parameters of a plurality of related read interfaces, output parameters, input parameters of a write interface.
The respective modules in the above-described data transmission apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The computer program is executed by a processor to implement a data transmission method.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of: acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be acquired by sequentially calling a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface; responding to the service request, and sequentially calling a plurality of related read interfaces of the source system to acquire target data; and calling a write interface of the target system to store the acquired target data to the target system.
In one embodiment, after obtaining the service request issued by the target system, the processor when executing the computer program further performs the steps of: in response to the service request, a plurality of read interfaces associated with the service request are sequentially displayed in the display interface in the order of invocation.
In one embodiment, after sequentially displaying the plurality of read interfaces related to the service request in the display interface according to the calling sequence, the processor when executing the computer program further implements the following steps: and acquiring an interface sequence adjustment instruction and adjusting the reading sequence of the plurality of reading interfaces.
In one embodiment, after adjusting the read order of the plurality of read interfaces, the processor when executing the computer program further performs the steps of: saving the adjusted reading sequence of the plurality of reading interfaces; and when the service request is acquired, displaying a plurality of read interfaces in the display interfaces according to the adjusted sequence.
In one embodiment, before invoking the write interface of the target system to save the target data to the target system, the processor when executing the computer program further performs the steps of: the write interface is displayed in the display interface.
In one embodiment, before invoking the write interface of the target system to save the acquired target data to the target system, the processor when executing the computer program further performs the steps of: and sequentially displaying a plurality of related read interfaces and the write interfaces in the interface according to the calling sequence.
In one embodiment, the processor when executing the computer program further performs the steps of: displaying at least one of the following parameters in a display interface: input parameters of a plurality of related read interfaces, output parameters, input parameters of a write interface.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be acquired by sequentially calling a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface; responding to the service request, and sequentially calling a plurality of related read interfaces of the source system to acquire target data; and calling a write interface of the target system to store the acquired target data to the target system.
In one embodiment, after obtaining the service request issued by the target system, the computer program when executed by the processor further performs the steps of: in response to the service request, a plurality of read interfaces associated with the service request are sequentially displayed in the display interface in the order of invocation.
In one embodiment, after sequentially displaying the plurality of read interfaces associated with the service request in the display interface in the order of the call, the computer program when executed by the processor further performs the steps of: and acquiring an interface sequence adjustment instruction and adjusting the reading sequence of the plurality of reading interfaces.
In one embodiment, after adjusting the read order of the plurality of read interfaces, the computer program when executed by the processor further performs the steps of: saving the adjusted reading sequence of the plurality of reading interfaces; and when the service request is acquired, displaying a plurality of read interfaces in the display interfaces according to the adjusted sequence.
In one embodiment, the computer program when executed by the processor further performs the steps of, before invoking the write interface of the target system to save the target data to the target system: the write interface is displayed in the display interface.
In one embodiment, before invoking the write interface of the target system to save the acquired target data to the target system, the computer program when executed by the processor further performs the steps of: and sequentially displaying a plurality of related read interfaces and the write interfaces in the interface according to the calling sequence.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of: acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be acquired by sequentially calling a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface; responding to the service request, and sequentially calling a plurality of related read interfaces of the source system to acquire target data; and calling a write interface of the target system to store the acquired target data to the target system.
In one embodiment, after obtaining the service request issued by the target system, the computer program when executed by the processor further performs the steps of: in response to the service request, a plurality of read interfaces associated with the service request are sequentially displayed in the display interface in the order of invocation.
In one embodiment, after sequentially displaying the plurality of read interfaces associated with the service request in the display interface in the order of the call, the computer program when executed by the processor further performs the steps of: and acquiring an interface sequence adjustment instruction and adjusting the reading sequence of the plurality of reading interfaces.
In one embodiment, after adjusting the read order of the plurality of read interfaces, the computer program when executed by the processor further performs the steps of: saving the adjusted reading sequence of the plurality of reading interfaces; and when the service request is acquired, displaying a plurality of read interfaces in the display interfaces according to the adjusted sequence.
In one embodiment, the computer program when executed by the processor further performs the steps of, before invoking the write interface of the target system to save the target data to the target system: the write interface is displayed in the display interface.
In one embodiment, before invoking the write interface of the target system to save the acquired target data to the target system, the computer program when executed by the processor further performs the steps of: and sequentially displaying a plurality of related read interfaces and the write interfaces in the interface according to the calling sequence.
In one embodiment, the computer program when executed by the processor further performs the steps of: displaying at least one of the following parameters in a display interface: input parameters of a plurality of related read interfaces, output parameters, input parameters of a write interface.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (10)

1. A method of data transmission, the method comprising:
acquiring a service request sent by a target system, wherein the service request is used for requesting to acquire target data from a source system, and the target data needs to be sequentially called to acquire a plurality of related read interfaces of the source system, wherein at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface;
responding to the service request, and sequentially calling the plurality of related read interfaces of the source system to acquire the target data;
and calling a write interface of the target system to store the acquired target data to the target system.
2. The method of claim 1, wherein after the obtaining the service request issued by the target system, the method further comprises:
and responding to the service request, and sequentially displaying a plurality of read interfaces related to the service request in a display interface according to the calling sequence.
3. The method of claim 2, wherein after sequentially displaying the plurality of read interfaces associated with the service request in the display interface in the order of the call, the method further comprises:
and acquiring an interface sequence adjustment instruction and adjusting the reading sequence of the plurality of reading interfaces.
4. The method of claim 3, wherein after said adjusting the read order of the plurality of read interfaces, the method further comprises:
saving the adjusted reading sequence of the plurality of reading interfaces; and when the service request is acquired, displaying the plurality of read interfaces in the display interface according to the adjusted sequence.
5. The method of claim 1, wherein prior to the invoking the write interface of the target system to save the target data to the target system, the method further comprises:
and displaying the write interface in a display interface.
6. The method of claim 1, wherein prior to the invoking the write interface of the target system to save the retrieved target data to the target system, the method further comprises:
and displaying the plurality of related read interfaces and the write interfaces in sequence according to the calling sequence in the interface.
7. The method according to any one of claim 1 to 6, wherein,
displaying at least one of the following parameters in a display interface: input parameters of the plurality of related read interfaces, output parameters, input parameters of the write interface.
8. A data transmission apparatus, the apparatus comprising:
the system comprises an acquisition module, a source system and a source system, wherein the acquisition module is used for acquiring a service request sent by the target system, the service request is used for requesting to acquire target data from the source system, the target data need to be sequentially called for a plurality of related read interfaces of the source system to acquire, and at least one part of data acquired by a previous read interface is used as at least one part of input parameters of a next read interface;
the first calling module is used for responding to the service request and sequentially calling the plurality of related read interfaces of the source system to acquire the target data;
and the second calling module is used for calling a write interface of the target system to store the acquired target data into the target system.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202211722241.8A 2022-12-30 2022-12-30 Data transmission method, device, computer equipment and storage medium Pending CN116204334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211722241.8A CN116204334A (en) 2022-12-30 2022-12-30 Data transmission method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211722241.8A CN116204334A (en) 2022-12-30 2022-12-30 Data transmission method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116204334A true CN116204334A (en) 2023-06-02

Family

ID=86512136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211722241.8A Pending CN116204334A (en) 2022-12-30 2022-12-30 Data transmission method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116204334A (en)

Similar Documents

Publication Publication Date Title
CN111898139B (en) Data reading and writing method and device and electronic equipment
CN105094811A (en) Method can device for processing events
CN109829678B (en) Rollback processing method and device and electronic equipment
CN116541336A (en) Software running method of multi-core chip and coprocessor
CN111782587A (en) Snapshot information recording method, device, equipment and storage medium
CN116204334A (en) Data transmission method, device, computer equipment and storage medium
CN114924911B (en) Method, device, equipment and storage medium for backing up effective data of Windows operating system
US9230022B1 (en) Customizable result sets for application program interfaces
CN114691653A (en) Account set migration method and device, computer equipment and storage medium
CN113326680A (en) Method and device for generating table
CN114528045B (en) Plug-in operation method, device, computer equipment and storage medium
US20230376508A1 (en) Data Analytical Engine System and Method
CN117555487A (en) Data splitting method, device, computer equipment and storage medium
CN117455501A (en) Request processing method, apparatus, computer device and storage medium
CN117493377A (en) Financial index report configuration method, device, equipment and storage medium
CN117453211A (en) Page generation method, page generation device, computer device, storage medium and program product
CN116910115A (en) Group query method, device, computer equipment and storage medium
CN117762409A (en) Program structure configuration method, system, device and computer equipment
CN116521343A (en) Resource interaction information processing method, device, computer equipment and storage medium
CN114020724A (en) Instruction library migration method and device, computer equipment and storage medium
CN116860576A (en) Method, device, computer equipment and storage medium for recording operation log
CN116069865A (en) Inventory sharing method, apparatus, computer device and storage medium
CN117331625A (en) Page resource loading method and device, computer equipment and storage medium
CN116108010A (en) Data query method, device, electronic equipment and computer storage medium
CN117667865A (en) Data distributed storage method, device, equipment and medium

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