CN118069392A - Data exchange method and device - Google Patents

Data exchange method and device Download PDF

Info

Publication number
CN118069392A
CN118069392A CN202410227141.0A CN202410227141A CN118069392A CN 118069392 A CN118069392 A CN 118069392A CN 202410227141 A CN202410227141 A CN 202410227141A CN 118069392 A CN118069392 A CN 118069392A
Authority
CN
China
Prior art keywords
data exchange
configuration
target
file
node
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
CN202410227141.0A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202410227141.0A priority Critical patent/CN118069392A/en
Publication of CN118069392A publication Critical patent/CN118069392A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data exchange method and a data exchange device, which relate to the technical field of software, are applied to a proxy mechanism, respond to a data exchange instruction aiming at a target issuing mechanism, and determine the data exchange type of the target issuing mechanism at the current moment; further acquiring data exchange configuration matched with the data exchange type; the data exchange is further performed with the target issuer in batches based on the data exchange configuration. That is, the invention can design the data exchange configuration under different data exchange types for each issuer so as to complete the batch data exchange with each issuer, thus increasing the flexibility of the data exchange of the reimbursement mechanism, reducing the batch running time and supporting the repeated flexible processing and monitoring of the exchange files.

Description

Data exchange method and device
Technical Field
The present invention relates to the field of software technologies, and in particular, to a data exchange method and apparatus.
Background
In the sales of asset management products such as fund products, financial products, trusts, etc., batch business data exchange is required between the sales agency and the issuing agency every minute.
With the development of the capital market, the sales organization accesses more and more issuers, different issuers have special data exchange demands, the version of the data exchange protocol followed by the data exchange between the sales organization and the issuers is also adjusted at intervals, and the data volume of the transaction is also rapidly increasing.
Therefore, how to increase flexibility of data exchange functions with the issuer and reduce the batch run time for the code issuer becomes a problem to be solved in the present stage.
Disclosure of Invention
In view of the above, the present invention provides a data exchange method and apparatus, and the technical scheme is as follows:
A data exchange method applied to a sales organization, the data exchange method comprising:
Determining a data exchange type of a target issuer at a current time in response to a data exchange instruction for the target issuer;
acquiring data exchange configuration matched with the data exchange type;
And carrying out batch data exchange with the target issuing organization based on the data exchange configuration.
Preferably, the acquiring the data exchange configuration matched with the data exchange type includes:
and acquiring a data table matched with the data exchange type from a configuration center, wherein the data table records the data exchange configuration.
Preferably, the data exchange method further includes:
and responding to an editing instruction aiming at the data table, and editing the data table.
Preferably, the data exchange type includes file reception, and the data exchange configuration includes a batch download configuration, a first file warehouse entry configuration and a first file mapping configuration;
The batch data exchange with the target issuing organization based on the data exchange configuration comprises the following steps:
invoking a first sub-node corresponding to the target issuer through a batch processing node based on the batch download configuration, and downloading a first target file of the target issuer through running the first sub-node;
Based on the first file warehousing configuration, warehousing the first target file by operating the first child node, and after warehousing is finished, performing data processing on a field in which the first target file is warehoused;
And based on the first file mapping configuration, transferring the fields which are stored in the first target file and subjected to data processing to the sales mechanism by operating the first sub-node to obtain a second target file.
Preferably, the data exchange type includes file sending, and the data exchange configuration includes a batch uploading configuration, a second file warehousing configuration and a second file mapping configuration;
The batch data exchange with the target issuing organization based on the data exchange configuration comprises the following steps:
based on the batch uploading configuration, calling a second child node corresponding to the target issuing mechanism through a batch processing node, and obtaining a third target file to be uploaded of the selling mechanism through operating the second child node;
Based on the second file warehousing configuration, performing data processing on fields in the third target file by running the second child node, and performing warehousing processing on the third target file after data processing;
based on the second file mapping configuration, transferring the fields in which the third target file is put into the target issuing mechanism to obtain a fourth target file by operating the second sub-node;
And transmitting the fourth target file to the target issuer by running the second sub-node based on the batch upload configuration.
Preferably, the data exchange method further includes:
the status of data exchange with the target issuer is monitored and updated.
A data exchange device for application to a sales outlet, the data exchange device comprising:
The instruction response module is used for responding to the data exchange instruction aiming at the target issuing mechanism and determining the data exchange type of the target issuing mechanism at the current moment;
the configuration acquisition module is used for acquiring data exchange configuration matched with the data exchange type;
And the data exchange module is used for carrying out data exchange with the target issuing mechanism in batches based on the data exchange configuration.
Preferably, the configuration obtaining module is specifically configured to:
and acquiring a data table matched with the data exchange type from a configuration center, wherein the data table records the data exchange configuration.
Preferably, the data exchange type includes file reception, and the data exchange configuration includes a batch download configuration, a first file warehouse entry configuration and a first file mapping configuration;
the data exchange module is specifically configured to:
Invoking a first sub-node corresponding to the target issuer through a batch processing node based on the batch download configuration, and downloading a first target file of the target issuer through running the first sub-node; based on the first file warehousing configuration, calling a second sub-node corresponding to the target issuing mechanism through the batch processing node, warehousing the first target file through operating the second sub-node, and after warehousing is finished, performing data processing on a field in which the first target file is warehoused; and calling a third sub-node corresponding to the target issuing mechanism through the batch processing node based on the first file mapping configuration, and transferring the fields which are stored in the first target file and subjected to data processing to the selling mechanism through operating the third sub-node to obtain a second target file.
Preferably, the data exchange type includes file sending, and the data exchange configuration includes a batch uploading configuration, a second file warehousing configuration and a second file mapping configuration;
the data exchange module is specifically configured to:
Based on the batch uploading configuration, calling a fourth child node corresponding to the target issuing mechanism through a batch processing node, and obtaining a third target file to be uploaded of the selling mechanism through operating the fourth child node; based on the second file warehousing configuration, calling a fifth sub-node corresponding to the target issuing mechanism through the batch processing node, performing data processing on fields in the third target file through operating the fifth sub-node, and performing warehousing processing on the third target file after data processing; based on the second file mapping configuration, calling a sixth sub-node corresponding to the target issuing mechanism through the batch processing node, and transferring a field in which the third target file is put into the target issuing mechanism to obtain a fourth target file by running the sixth sub-node; and calling a seventh sub-node corresponding to the target issuing mechanism through the batch processing node based on the batch uploading configuration, and sending the fourth target file to the target issuing mechanism through running the seventh sub-node.
Compared with the prior art, the invention has the following beneficial effects:
The invention provides a data exchange method and a data exchange device, which are applied to a sales organization, respond to a data exchange instruction aiming at a target issuing organization and determine the data exchange type of the target issuing organization at the current moment; further acquiring data exchange configuration matched with the data exchange type; the data exchange is further performed with the target issuer in batches based on the data exchange configuration. That is, the invention can design the data exchange configuration under different data exchange types for each issuer so as to complete the batch data exchange with each issuer, thus increasing the flexibility of the data exchange of the reimbursement mechanism, reducing the batch running time and supporting the repeated flexible processing and monitoring of the exchange files.
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 data exchange method according to an embodiment of the present invention;
FIG. 2 is a partial flow chart of a data exchange method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another part of the data exchange method according to the embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data exchange device according to an embodiment of the present invention.
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.
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
For the convenience of understanding the present invention, the following first describes related concepts related to the present invention:
Foundation product: refers to an asset management product issued by a funding company to a customer. Wherein the partially open-type foundation product supports the consumer's transactable product share claims and redemption every transaction day.
Financial products: refers to an asset management product issued by a commercial bank or bank financing company towards a customer. Wherein the partially open financial product support customer can transact product share claims and redeems every transaction day.
Batch size: and uniformly and intensively processing the data with the same business logic in a specific time period. A service may be performed by one batch node or by a plurality of batch nodes.
Early batch: in the morning of each transaction day, the sales outlet receives and processes the quotation files, the stock finger files, the parameter files and the like sent by the issuing agency in batches.
Batch at noon: the afternoon of each transaction day, the sales agency receives and processes the confirmation files, the account checking files, the red out files and the like sent by the issuing agency in batches.
Late batch: and at night of each transaction day, the proxy agency distributes files such as account types, transaction type applications and the like to the issuing agency in batches.
High concurrency treatment: the finger batch processing node calls a plurality of sub-nodes to process data at the same time, and the sub-nodes are consistent with batch processing node processing logic.
And (3) data exchange: refers to the exchange of business data between sales institutions and issuers of resource management products in the sales of asset management products such as fund products, financial products, trusts, and the like.
For sales of the fund products in the asset management products, each transaction day's early batch, each fund company as an issuer needs to send the quotation file, the stock index file, the parameter file, etc. of the fund products to a sales agency; each fund company needs to send files such as a confirmation file, a reconciliation file, a red-out file and the like to a sales organization in the noon batch of each transaction day; late batch of each transaction day, the sales organization needs to send account types, transaction type application files and the like of the sales network in different sales channels to corresponding fund companies in a summarized mode. The data exchange between the sales organization and the fund company is required to follow the data exchange protocol of the open fund business of the central data exchange platform, and the data exchange protocol prescribes the data format, the data definition and the data content adopted when the data exchange is carried out between the two. With the development of the capital market, the sales organization has accessed more and more issuers, different issuers have special data exchange requirements, the version of the data exchange protocol is also adjusted at intervals, and the data volume of the transaction is also rapidly increasing.
In this regard, the embodiment of the invention provides a data exchange method, a device, an electronic device and a storage medium, which can increase the flexibility of the data exchange function of a sales organization, reduce the time of batch operation, and support the repeated flexible processing and monitoring of exchange files.
Referring to fig. 1, fig. 1 is a flowchart of a method for data exchange according to an embodiment of the present invention. The data exchange method can be applied to a sales organization, as shown in fig. 1, and comprises the following steps:
s10, responding to a data exchange instruction aiming at a target issuing entity, and determining the data exchange type of the target issuing entity at the current moment.
In the embodiment of the present invention, the target issuer, that is, the issuer that establishes the data exchange requirements with the proxy issuer, may be one or more issuers that conform to the specific business rules, which is not limited in the embodiment of the present invention.
In addition, after the data exchange instruction for the target issuer is obtained, the data exchange type at the current time can be confirmed according to the morning, afternoon or evening of the current time as the transaction day, specifically, the data exchange type in the morning and afternoon of the transaction day is file receiving, and the data exchange type in the evening of the transaction day is file sending.
S20, acquiring data exchange configuration matched with the data exchange type.
Specifically, in the embodiment of the invention, matched data exchange configuration can be respectively set for file receiving and file sending, and the data exchange configuration is used for completing downloading or uploading of the target file in the morning, afternoon or evening of the transaction day.
In practical application, by operating the configuration center, data exchange configurations of different data exchange types can be generated or updated in the configuration center, and in particular, configuration records related to related data tables can be generated or updated. In this regard, step S20 "acquire data exchange configuration matching data exchange type" may employ the following steps:
and acquiring a data table matched with the data exchange type from the configuration center, wherein the data table records the data exchange configuration.
Specifically, in the embodiment of the invention, the configuration of the target issuing mechanism, the file batch downloading/file batch uploading, the file warehousing and the file transferring can be completed by configuring the data table recorded with the data exchange configuration for different data exchange types in the configuration center. Based on this, in a subsequent step, data exchange may be performed in accordance with the data exchange configuration in the data table.
In addition, in the embodiment of the invention, the data table can be edited in response to the editing instruction aiming at the data table in the configuration center. The editing operation may be a generation, update, deletion, or the like.
S30, carrying out batch data exchange with the target issuing organization based on the data exchange configuration.
In the embodiment of the invention, after the data exchange configuration is obtained, the data exchange configuration batch can be used for transmitting and receiving the business file with the target issuing institution to complete the data exchange.
In particular implementations, for early and late batches, the sales organization needs to receive relevant documents from the processing issuing organization. When the data exchange type is file receiving, the data exchange configuration comprises a batch downloading configuration, a first file warehousing configuration and a first file mapping configuration. Step S30, "batch data exchange with target issuer based on data exchange configuration," may employ the following steps, the method flow diagram is shown in FIG. 2:
S3011, based on the batch download configuration, calling a first sub-node corresponding to the target issuer through the batch processing node, and downloading a first target file of the target issuer through running the first sub-node.
S3012, based on the first file warehousing configuration, calling a second sub-node corresponding to the target issuing mechanism through the batch processing node, warehousing the first target file through operating the second sub-node, and after warehousing is finished, performing data processing on a field in which the first target file is warehoused.
S3013, based on the first file mapping configuration, calling a third sub-node corresponding to the target issuing mechanism through the batch processing node, and transferring the fields which are stored in the first target file and subjected to data processing to the selling mechanism through operating the third sub-node to obtain a second target file.
Specifically, in the embodiment of the present invention, considering the special requirements of the data exchange protocol and each issuer, attribute information and download information of each issuer may be configured, so as to obtain a batch download configuration, where the batch download configuration includes, on one hand, unique number identification, version number of the data exchange protocol, whether to support generation of a fund conversion file, running sub-node number and other attribute information, and on the other hand, download information including a file number, a lot, a correspondence between the file number and the lot, whether to put in a warehouse, and the like, based on the attribute information, it may be determined which sub-nodes run file receiving operations of which issuer during batch running, and based on the download information, it may be determined which files are downloaded in each lot during current file receiving, and whether to put in a warehouse, and the like.
In this regard, based on the batch download configuration, the batch processing node may invoke the child nodes corresponding to the target issuer, that is, the first child node, the second child node, and the third child node, and by running the first child node, the first child node downloads the file, that is, the first target file, according to the batch, and determines whether the first target file is put in storage. Therefore, different issuing institutions and different batches of files can be downloaded, concurrency is supported, the files can be operated on different sub-nodes, and the processing speed is increased.
In addition, in the embodiment of the invention, the field information of each issuing mechanism warehouse-in file can be configured so as to obtain a first file warehouse-in configuration, wherein the first file warehouse-in configuration comprises information such as a file number, a field name contained in a file corresponding to the file, a version number of a data exchange protocol used by a field, a field data type, a field length, a field precision and the like.
And on the basis of the first file warehousing configuration, calling a second sub-node corresponding to the target issuer through the batch processing node, and under the condition that the first target file warehousing is determined by the second sub-node through operating the second sub-node, warehousing according to the information such as the field name configured by the first target file warehousing, the version number of the data exchange protocol used by the field, the field data type, the field length, the field precision and the like, and loading the warehoused field into a corresponding issuer file table of the database after special data processing. The process also supports concurrency, can run on different child nodes, and can carry out file warehousing after the file of one issuing organization is received, without waiting for downloading or warehousing of other issuing organizations.
Specifically, the special data processing includes special processing such as record checking, service checking, account management, code system conversion, service conversion, record splitting, sum domain calculation, summarization flattening and the like, and mainly processes the original data sent by the issuing institution to enable the original data to meet the requirement of the issuing institution on the data. The process also supports concurrency, can run on different child nodes, and can adjust the data processing after the files of a certain issuing organization are put in storage, so that the processing time is shortened.
In addition, in the embodiment of the present invention, field information of transferring each issuer warehouse entry file to a proxy authority may be configured, so as to obtain a first file mapping configuration, where the first file mapping configuration includes information such as an issuer file table name, a proxy authority data table name, a version number of a data exchange protocol, an issuer file table field, a proxy authority data table field, and the like.
In contrast, based on the first file mapping configuration, a third sub-node corresponding to the target issuer is called through the batch processing node, and the third sub-node is operated to transfer the issuer file table field in the issuer file table in which the target issuer is put into the place below the issuer data table field in the issuer data table indicated by the issuer data table name according to the issuer data table name. Specifically, the data table of the sales organization can comprise a data table related to quotation, confirmation and reconciliation. The process also supports concurrency, and simultaneously supports a distributed database, and for the data tables of the different agents, the segment keys of the agent data tables can be calculated and inserted into different data segments in the distributed data.
In addition, in the concrete implementation process, for late batches, a sales organization needs to issue relevant documents to the issuing organization. The data exchange type comprises file sending, and the data exchange configuration comprises batch uploading configuration, second file warehousing configuration and second file mapping configuration. Step S30, "batch data exchange with target issuer based on data exchange configuration," may employ the following steps, the method flow diagram is shown in FIG. 3:
s3021, based on the batch uploading configuration, calling a fourth child node corresponding to the target issuer through the batch processing node, and obtaining a third target file to be uploaded of the proxy issuer through operating the fourth child node.
S3022, based on the second file warehousing configuration, calling a fifth sub-node corresponding to the target issuing mechanism through the batch processing node, performing data processing on fields in the third target file through operating the fifth sub-node, and performing warehousing processing on the third target file after the data processing.
S3023, based on the second file mapping configuration, calling a sixth sub-node corresponding to the target issuing mechanism through the batch processing node, and transferring the field in which the third target file is put into the target issuing mechanism through running the sixth sub-node to obtain a fourth target file.
S3024, based on the batch uploading configuration, calling a seventh child node corresponding to the target issuer through the batch processing node, and sending the fourth target file to the target issuer through running the seventh child node.
Specifically, in the embodiment of the present invention, considering the special requirements of the data exchange protocol and each issuer, attribute information and upload information of each issuer may be configured, so as to obtain a batch upload configuration, where the batch upload configuration includes, on one hand, unique number identification, version number of the data exchange protocol, sub node number of the running process, and other attribute information, and on the other hand, upload information including file number, batch, correspondence between the file number and the batch, and the like, based on the attribute information, it may be determined which sub nodes run file sending operations of which issuer during batch running, and based on the upload information, it may be determined which files are uploaded for each batch during the current file sending.
In this regard, based on the attribute information in the batch upload configuration, the batch processing node may call the child nodes corresponding to the target issuer, that is, the fourth child node, the fifth child node, the sixth child node, and the seventh child node, and by running the fourth child node, the fourth child node obtains the target file to be uploaded, that is, the third target file, from the sales mechanism.
In addition, in the embodiment of the invention, the field information of the files stored in the proxy mechanism can be configured, so that the second file storage configuration is obtained, and the second file storage configuration contains the information such as the file number, the field name, the field length, the field precision and the like contained in the files corresponding to the file number.
And on the basis of the second file warehousing configuration, calling a fifth sub-node corresponding to the target issuing mechanism through the batch processing node, performing special data processing on the fields in the third target file through the second sub-node by running the fifth sub-node, performing warehousing processing according to the information such as the field name configured by the third target file warehousing configuration, the version number of a data exchange protocol used by the fields, the field data type, the field length, the field precision and the like after the data processing, and loading the warehoused fields into a sales organization file table of the database.
In addition, in the embodiment of the present invention, the third target file may be configured to map to field information under the target issuer, so as to obtain a second file mapping configuration, where the second file mapping configuration includes information such as an issuer file table name, a proxy data table name, a version number of a data exchange protocol, an issuer file table field, a proxy data table field, and the like.
In contrast, the batch processing node calls a sixth sub-node corresponding to the target issuer, and the sixth sub-node transfers the issuer file table field in the issuer file table in which the issuer is put into the issuer according to the issuer data table name to the position below the issuer data table field in the issuer data table indicated by the issuer data table name, according to the agreement of the file header in the data exchange protocol, generating an account type application file and a transaction type application file which are sent to the target issuing institution according to the field of the issuing institution data table in the issuing institution data table, namely a fourth target file.
And finally, calling a seventh sub-node corresponding to the target issuer through the batch processing node according to the attribute information in the batch uploading configuration, and transmitting the fourth target file to the target issuer through the seventh sub-node by running the seventh sub-node.
In addition, the embodiment of the invention can also query the processing state of the target issuing mechanism and the processing state of the uploading file at each stage of data exchange so as to update the working state of business data exchange. In this regard, the data exchange method provided by the embodiment of the present invention further includes the following steps:
The status of data exchange with the target issuer is monitored and updated.
In the embodiment of the invention, the processing state of the target issuing mechanism and the processing state of the uploaded file can be recorded in a state table, the running state of the platform on the day of transaction is followed in real time according to the processing state, meanwhile, the processing of other issuing mechanisms is not influenced when the file of one issuing mechanism goes wrong in the processing, the independent processing and repeated processing of the issuing mechanism are supported, and the flexibility is remarkably improved compared with the prior scheme.
The data exchange method provided by the embodiment of the invention can realize configuration processing based on the data table, support flexible configuration of the data table, realize different processing of different issuing institutions and different files by combining a data exchange protocol, support high concurrency and a distributed database, improve the data processing speed and reduce the overall running time of batches.
Based on the data exchange method provided by the foregoing embodiment, an embodiment of the present invention correspondingly provides a device for executing the data exchange method, where a schematic structure diagram of the data exchange device is shown in fig. 4, and the device includes:
an instruction response module 10, configured to determine a data exchange type of the target issuer at a current time in response to a data exchange instruction for the target issuer;
A configuration acquisition module 20, configured to acquire a data exchange configuration matched with a data exchange type;
The data exchange module 30 is configured to exchange data with the target issuer in batches based on the data exchange configuration.
Optionally, the configuration obtaining module 10 is specifically configured to:
and acquiring a data table matched with the data exchange type from the configuration center, wherein the data table records the data exchange configuration.
Optionally, the configuration acquisition module 10 is further configured to:
And responding to an editing instruction aiming at the data table, and editing the data table.
Optionally, the data exchange type includes file receiving, and the data exchange configuration includes a batch download configuration, a first file warehouse entry configuration and a first file mapping configuration;
the data exchange module 30 is specifically configured to:
Based on the batch downloading configuration, calling a first sub-node corresponding to the target issuing mechanism through the batch processing node, and downloading a first target file of the target issuing mechanism through running the first sub-node; based on the first file warehousing configuration, calling a second sub-node corresponding to the target issuing mechanism through the batch processing node, warehousing the first target file by operating the second sub-node, and after warehousing is finished, performing data processing on a field in which the first target file is warehoused; and calling a third sub-node corresponding to the target issuing mechanism through the batch processing node based on the first file mapping configuration, and transferring the fields which are stored in the first target file and subjected to data processing to the selling mechanism through operating the third sub-node to obtain a second target file.
Optionally, the data exchange type includes file sending, and the data exchange configuration includes a batch uploading configuration, a second file warehousing configuration and a second file mapping configuration;
the data exchange module 30 is specifically configured to:
Based on batch uploading configuration, calling a fourth child node corresponding to the target issuing mechanism through the batch processing node, and obtaining a third target file to be uploaded of the selling mechanism by operating the fourth child node; based on the second file warehousing configuration, calling a fifth sub-node corresponding to the target issuing mechanism through the batch processing node, performing data processing on fields in the third target file through operating the fifth sub-node, and performing warehousing processing on the third target file after the data processing; based on the second file mapping configuration, calling a sixth sub-node corresponding to the target issuing mechanism through the batch processing node, and transferring a field in which the third target file is put into storage to the target issuing mechanism through operating the sixth sub-node to obtain a fourth target file; and based on the batch uploading configuration, calling a seventh child node corresponding to the target issuing mechanism through the batch processing node, and transmitting the fourth target file to the target issuing mechanism through operating the seventh child node.
Optionally, the data exchange module 30 is further configured to:
The status of data exchange with the target issuer is monitored and updated.
It should be noted that, in the embodiment of the present invention, the refinement function of each module may refer to the corresponding disclosure portion of the embodiment of the data exchange method, which is not described herein.
The foregoing has described in detail a data exchange method and apparatus provided by the present invention, and specific examples have been used herein to illustrate the principles and embodiments of the present invention, the above examples being provided only to assist in understanding the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
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, or is intended to include, elements 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.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present 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.

Claims (10)

1. A data exchange method, wherein the data exchange method is applied to a sales organization, the data exchange method comprising:
Determining a data exchange type of a target issuer at a current time in response to a data exchange instruction for the target issuer;
acquiring data exchange configuration matched with the data exchange type;
And carrying out batch data exchange with the target issuing organization based on the data exchange configuration.
2. The data exchange method according to claim 1, wherein the acquiring the data exchange configuration matching the data exchange type includes:
and acquiring a data table matched with the data exchange type from a configuration center, wherein the data table records the data exchange configuration.
3. The data exchange method according to claim 2, characterized in that the data exchange method further comprises:
and responding to an editing instruction aiming at the data table, and editing the data table.
4. The data exchange method of claim 1, wherein the data exchange type comprises file reception, and wherein the data exchange configuration comprises a batch download configuration, a first file warehouse entry configuration, and a first file map configuration;
The batch data exchange with the target issuing organization based on the data exchange configuration comprises the following steps:
invoking a first sub-node corresponding to the target issuer through a batch processing node based on the batch download configuration, and downloading a first target file of the target issuer through running the first sub-node;
Based on the first file warehousing configuration, calling a second sub-node corresponding to the target issuing mechanism through the batch processing node, warehousing the first target file through operating the second sub-node, and after warehousing is finished, performing data processing on a field in which the first target file is warehoused;
And calling a third sub-node corresponding to the target issuing mechanism through the batch processing node based on the first file mapping configuration, and transferring the fields which are stored in the first target file and subjected to data processing to the selling mechanism through operating the third sub-node to obtain a second target file.
5. The data exchange method of claim 1, wherein the data exchange type comprises file transmission, and the data exchange configuration comprises a batch upload configuration, a second file warehouse entry configuration, and a second file map configuration;
The batch data exchange with the target issuing organization based on the data exchange configuration comprises the following steps:
Based on the batch uploading configuration, calling a fourth child node corresponding to the target issuing mechanism through a batch processing node, and obtaining a third target file to be uploaded of the selling mechanism through operating the fourth child node;
based on the second file warehousing configuration, calling a fifth sub-node corresponding to the target issuing mechanism through the batch processing node, performing data processing on fields in the third target file through operating the fifth sub-node, and performing warehousing processing on the third target file after data processing;
Based on the second file mapping configuration, calling a sixth sub-node corresponding to the target issuing mechanism through the batch processing node, and transferring a field in which the third target file is put into the target issuing mechanism to obtain a fourth target file by running the sixth sub-node;
And calling a seventh sub-node corresponding to the target issuing mechanism through the batch processing node based on the batch uploading configuration, and sending the fourth target file to the target issuing mechanism through running the seventh sub-node.
6. The data exchange method according to claim 1, wherein the data exchange method further comprises:
the status of data exchange with the target issuer is monitored and updated.
7. A data exchange device for application to a sales outlet, the data exchange device comprising:
The instruction response module is used for responding to the data exchange instruction aiming at the target issuing mechanism and determining the data exchange type of the target issuing mechanism at the current moment;
the configuration acquisition module is used for acquiring data exchange configuration matched with the data exchange type;
And the data exchange module is used for carrying out data exchange with the target issuing mechanism in batches based on the data exchange configuration.
8. The data exchange device according to claim 7, wherein the configuration acquisition module is specifically configured to:
and acquiring a data table matched with the data exchange type from a configuration center, wherein the data table records the data exchange configuration.
9. The data exchange device of claim 7, wherein the data exchange type comprises file reception, and wherein the data exchange configuration comprises a bulk download configuration, a first file warehouse entry configuration, and a first file map configuration;
the data exchange module is specifically configured to:
Invoking a first sub-node corresponding to the target issuer through a batch processing node based on the batch download configuration, and downloading a first target file of the target issuer through running the first sub-node; based on the first file warehousing configuration, calling a second sub-node corresponding to the target issuing mechanism through the batch processing node, warehousing the first target file through operating the second sub-node, and after warehousing is finished, performing data processing on a field in which the first target file is warehoused; and calling a third sub-node corresponding to the target issuing mechanism through the batch processing node based on the first file mapping configuration, and transferring the fields which are stored in the first target file and subjected to data processing to the selling mechanism through operating the third sub-node to obtain a second target file.
10. The data exchange device of claim 7, wherein the data exchange type comprises file transmission, and wherein the data exchange configuration comprises a batch upload configuration, a second file warehouse entry configuration, and a second file map configuration;
the data exchange module is specifically configured to:
Based on the batch uploading configuration, calling a fourth child node corresponding to the target issuing mechanism through a batch processing node, and obtaining a third target file to be uploaded of the selling mechanism through operating the fourth child node; based on the second file warehousing configuration, calling a fifth sub-node corresponding to the target issuing mechanism through the batch processing node, performing data processing on fields in the third target file through operating the fifth sub-node, and performing warehousing processing on the third target file after data processing; based on the second file mapping configuration, calling a sixth sub-node corresponding to the target issuing mechanism through the batch processing node, and transferring a field in which the third target file is put into the target issuing mechanism to obtain a fourth target file by running the sixth sub-node; and calling a seventh sub-node corresponding to the target issuing mechanism through the batch processing node based on the batch uploading configuration, and sending the fourth target file to the target issuing mechanism through running the seventh sub-node.
CN202410227141.0A 2024-02-29 2024-02-29 Data exchange method and device Pending CN118069392A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410227141.0A CN118069392A (en) 2024-02-29 2024-02-29 Data exchange method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410227141.0A CN118069392A (en) 2024-02-29 2024-02-29 Data exchange method and device

Publications (1)

Publication Number Publication Date
CN118069392A true CN118069392A (en) 2024-05-24

Family

ID=91094855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410227141.0A Pending CN118069392A (en) 2024-02-29 2024-02-29 Data exchange method and device

Country Status (1)

Country Link
CN (1) CN118069392A (en)

Similar Documents

Publication Publication Date Title
US8095504B2 (en) N-way synchronization of computer databases
US8984535B2 (en) System and method for facilitating the exchange of information among applications
CN100449475C (en) System and method for transaction processing with transaction property feature
US7370053B2 (en) Coordinating transactional web services
CN109325729A (en) A kind of method and server generating electronic contract
KR20140063512A (en) Method and system for centralized reservation context management on multi-server reservation system
US8082223B2 (en) Synchronization of computer databases using caching agents
CN107194810A (en) Asset allocation system and method
KR20030001369A (en) Method for workflow processing through computer network
CN112308552A (en) Ordering method and device for medical insurance medicines
CN110231936A (en) A kind of application method of mobile terminal flow engine frame and mobile terminal flow engine
CN108898468A (en) Information asynchronous processing method, device, computer equipment and storage medium
JPH09505918A (en) Method and apparatus for extracting data from a group of data
JP2002092337A (en) Portal for financial service supplier
US7725818B1 (en) Parallel composition of electronic responses to electronic requests
CN107316245A (en) Expense adjusts method and system
CN118069392A (en) Data exchange method and device
CN111127224A (en) Information processing method, information processing device, electronic equipment and storage medium
CN113076340B (en) Account data processing method and device, electronic equipment and storage medium
Hansen et al. Process aggregation using web services
CN114613479A (en) Method and device for allocating inquiry tasks
CN114170006A (en) Information data acquisition method, device, equipment and medium based on state machine
US20120116899A1 (en) Management of prospective customer data over a communications network
CN113448960A (en) Method and device for importing form file
US8396782B2 (en) Client-oriented, on-demand trading system

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