CN109635016A - Data transfer device, device, equipment and computer readable storage medium - Google Patents
Data transfer device, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109635016A CN109635016A CN201811202955.XA CN201811202955A CN109635016A CN 109635016 A CN109635016 A CN 109635016A CN 201811202955 A CN201811202955 A CN 201811202955A CN 109635016 A CN109635016 A CN 109635016A
- Authority
- CN
- China
- Prior art keywords
- code value
- data
- file
- transcoding
- transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012546 transfer Methods 0.000 title claims abstract description 51
- 230000005540 biological transmission Effects 0.000 claims abstract description 151
- 238000013519 translation Methods 0.000 claims abstract description 45
- 238000006243 chemical reaction Methods 0.000 claims description 38
- 230000002159 abnormal effect Effects 0.000 claims description 15
- 238000000034 method Methods 0.000 claims description 15
- 238000013502 data validation Methods 0.000 claims description 9
- 238000007726 management method Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 abstract description 8
- 238000010586 diagram Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000012795 verification Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Abstract
The present invention relates to technical field of data processing, a kind of data transfer device, device, equipment and computer readable storage medium are provided, i.e. when receiving data transfer instruction, source system and goal systems are determined according to the data transfer instruction, and obtain the file to be transmitted and translation profile of the source system;The target data code value of the goal systems and the transmission data code value of the file to be transmitted are obtained, judges whether the transmission data code value matches with target data code value;If mismatching, according to the transmission code value comparison table in the object code value comparison table and the translation profile of the goal systems, the file to be transmitted is subjected to transcoding, generates file destination, and be sent to goal systems.The present invention transmits translation profile together, after being analyzed by data, by two not homologous ray different code values by code value convert carry out data processing, realize transmission code Value Data unification, improve data output accuracy.
Description
Technical field
The present invention relates to e-commerce field more particularly to a kind of data transfer device, device, equipment and computer-readable
Storage medium.
Background technique
In various application fields, such as inside bank, due to the complexity of technology and business demand, deploys and much answer
With system, including business type application system, management type application system, analytic type application system etc..Between each application system
Connection is very close, needs frequent progress data exchange.In most cases, a kind of data friendship is set between every two application system
System is changed, the data exchange system between homologous ray does not need organization development personnel are corresponding to write distinct program code and open
Hair, the data exchange system that developed are used to handle the data exchange between not homologous ray.
Since the data content of each application system, data format etc. have differences, so not counted between homologous ray
It is also different according to the mode of exchange, causes the data exchange inside bank and be in confusing state.
Therefore, the data format for how solving each system have differences and caused by data exchange be in confusing state
The problem of, become a technical problem to be solved urgently.
Summary of the invention
The main purpose of the present invention is to provide a kind of data transfer device, device, equipment and computer-readable storage mediums
Matter, it is intended to the data format for solving each system in the prior art have differences and caused by data exchange be in confusing state
The technical issues of.
To achieve the above object, the present invention provides a kind of data transfer device, and the data transfer device includes following step
It is rapid:
When receiving data transfer instruction, the source system of transmission data is determined according to the data transfer instruction and is connect
Receive data goal systems, and obtain the source system file to be transmitted and corresponding translation profile;
The target data code value of the goal systems and the transmission data code value of the file to be transmitted are obtained, judges institute
State whether transmission data code value matches with the target data code value;
If the transmission data code value and the target data code value mismatch, the object code of the goal systems is obtained
Transmission code value comparison table in value comparison table and the translation profile, and according to the object code value comparison table and described
The file to be transmitted is carried out transcoding by transmission code value comparison table, generates file destination, and the file destination is sent to mesh
Mark system.
Optionally, if the transmission data code value and the target data code value mismatch, the target is obtained
The object code value comparison table and the transmission code value comparison table in the translation profile of system, and according to the target code value
The file to be transmitted is carried out transcoding by the table of comparisons and the transmission code value comparison table, generates file destination, and by the target
File is sent to the step of goal systems and includes:
If the transmission data code value and the target data code value mismatch, the object code of the goal systems is obtained
Transmission code value comparison table in value comparison table and the translation profile, and according to the object code value comparison table and described
The file to be transmitted is carried out transcoding by transmission code value comparison table, generates file destination;
Rule is checked according to default, data validation is carried out to the file destination after transcoding, to judge that the file destination is
It is no that there are transcoding exceptions;
If it is determined that the file destination is then sent to goal systems there is no transcoding exception by the file destination.
Optionally, the basis is default checks rule, data validation is carried out to the file destination after transcoding, described in judgement
After file destination is with the presence or absence of the step of transcoding exception, further includes:
If it is determined that the file destination there are transcoding exception, then obtain the goal systems object code value comparison table and
The file to be transmitted is carried out secondary transcoding, generates secondary target by the transmission code value comparison table in the translation profile
File;
Rule is checked according to described preset, data validation is carried out to the secondary file destination after transcoding, to judge described two
Secondary file destination is abnormal with the presence or absence of transcoding;
If it is determined that the secondary file destination is there are transcoding exception, then it is raw according to the abnormal transcoding of the secondary file destination
Management end is sent at abnormity prompt message, and by the abnormity prompt message.
Optionally, if the transmission data code value and the target data code value mismatch, the target is obtained
The object code value comparison table and the transmission code value comparison table in the translation profile of system, and according to the target code value
The file to be transmitted is carried out transcoding by the table of comparisons and the transmission code value comparison table, generates file destination, and by the target
File is sent to the step of goal systems and includes:
If the transmission data code value and the target data code value mismatch, the target code value of the goal systems is obtained
Transmission code value comparison table in the table of comparisons and the translation profile, and judge currently with the presence or absence of idle transcoding threads;
If being compareed there is currently the idle transcoding threads according to the object code value comparison table and the transmission code value
The file to be transmitted is simultaneously carried out transcoding by the idle transcoding threads by table, generates file destination, and the target is literary
Part is sent to goal systems.
Optionally, if the transmission data code value and the target data code value mismatch, the target system is obtained
The object code value comparison table and the transmission code value comparison table in the translation profile of system, and judge currently with the presence or absence of sky
After the step of not busy transcoding threads, further includes:
If there is currently no the idle transcoding threads, according to the corresponding transcoding task of the file generated to be transmitted,
And transcoding job queue is added in the transcoding task;
When detecting the presence of idle transcoding threads, by the idle transcoding threads in the transcoding job queue
Each transcoding task is handled, and the file to be transmitted is carried out transcoding, generates file destination, and by the file destination
It is sent to goal systems.
Optionally, if the transmission data code value and the target data code value mismatch, the target is obtained
The object code value comparison table and the transmission code value comparison table in the translation profile of system, and according to the target code value
The file to be transmitted is carried out transcoding by the table of comparisons and the transmission code value comparison table, generates file destination, and by the target
File is sent to the step of goal systems and includes:
If the transmission data code value and the target data code value mismatch, the object code of the goal systems is obtained
Transmission code value comparison table in value comparison table and the translation profile, and according to the object code value comparison table and described
The file to be transmitted is carried out transcoding by transmission code value comparison table, generates file destination;
Dynamic key is generated, the dynamic key is sent to the goal systems, and according to the dynamic key by institute
File destination is stated to be encrypted;
The encrypted file destination is sent to the goal systems, so that the goal systems is according to the dynamic
Encrypted file destination described in key pair is decrypted.
Optionally, the transmission data of the target data code value for obtaining the goal systems and the file to be transmitted
Code value, after judging the step of whether the transmission data code value matches with the target data code value, further includes:
If the transmission data code value matches with the target data code value, using the file to be transmitted as target
File, and the file destination of the target data code value is sent to goal systems.
In addition, to achieve the above object, the present invention also provides a kind of data conversion device, the data conversion device packet
It includes:
File acquisition module, for being determined and being transmitted according to the data transfer instruction when receiving data transfer instruction
The source systems of data and the goal systems for receiving data, and obtain the source system file to be transmitted and corresponding transmission
Configuration file;
Code value judgment module, for obtaining the target data code value of the goal systems and the biography of the file to be transmitted
Transmission of data code value, judges whether the transmission data code value matches with the target data code value;
Code value conversion module obtains institute if mismatching for the transmission data code value and the target data code value
The transmission code value comparison table in the object code value comparison table and the translation profile of goal systems is stated, and according to the mesh
The file to be transmitted is carried out transcoding by coding value comparison table and the transmission code value comparison table, generates file destination, and by institute
It states file destination and is sent to goal systems.
In addition, to achieve the above object, the present invention also provides a kind of data conversion equipment, the data conversion equipment includes
Processor, memory and it is stored in the data converter that can be executed on the memory and by the processor, wherein institute
When stating data converter and being executed by the processor, realize such as the step of above-mentioned data transfer device.·
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Data converter is stored on storage medium, wherein realizing when the data converter is executed by processor as above-mentioned
The step of data transfer device.
The present invention provides a kind of data transfer device, i.e., when receiving data transfer instruction, is transmitted according to the data
Instruction determine transmission data source system and receive data goal systems, and obtain the file to be transmitted of the source system with
And corresponding translation profile;Obtain the target data code value of the goal systems and the transmission number of the file to be transmitted
According to code value, judge whether the transmission data code value matches with the target data code value;If the transmission data code value with
The target data code value mismatches, then obtains the object code value comparison table and the translation profile of the goal systems
In transmission code value comparison table, and according to the object code value comparison table and the transmission code value comparison table by the text to be transmitted
Part carries out transcoding, generates file destination, and the file destination is sent to goal systems.By the above-mentioned means, the present invention is logical
It crosses when transmitting file to be transmitted, while the translation profile for being stored with the code value table of comparisons being transmitted together, passes through transmission code
Value comparison table carries out code value conversion as conversion bridge, by the different code values of two not homologous rays, realizes transmission code Value Data
It is unified, improve the accuracy of data output, the data format for solving each system in the prior art have differences and caused by
Data exchange is in the technical issues of confusing state.
Detailed description of the invention
Fig. 1 is the hardware structural diagram of data conversion equipment involved in the embodiment of the present invention;
Fig. 2 is the flow diagram of data transfer device first embodiment of the present invention;
Fig. 3 is the flow diagram of data transfer device second embodiment of the present invention;
Fig. 4 is the flow diagram of data transfer device 3rd embodiment of the present invention;
Fig. 5 is the functional block diagram of data conversion device first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to data transfer device be mainly used in data conversion equipment, which can
To be the equipment with display and processing function such as PC, portable computer, mobile terminal.
Referring to Fig.1, Fig. 1 is the hardware structural diagram of data conversion equipment involved in the embodiment of the present invention.This
In inventive embodiments, data conversion equipment may include processor 1001 (such as CPU), communication bus 1002, user interface
1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components;
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard);Network interface 1004 can
Choosing may include standard wireline interface and wireless interface (such as WI-FI interface);Memory 1005 can be high-speed RAM storage
Device, is also possible to stable memory (non-volatile memory), such as magnetic disk storage, and memory 1005 is optional
It can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that the limit of the not structure paired data conversion equipment of hardware configuration shown in Fig. 1
It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of computer readable storage medium may include operation system
System, network communication module and data converter.
In Fig. 1, network communication module is mainly used for connecting server, carries out data communication with server;And processor
1001 can call the data converter stored in memory 1005, and execute data conversion side provided in an embodiment of the present invention
Method.
The embodiment of the invention provides a kind of data transfer devices.
It is the flow diagram of data transfer device first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the present embodiment, the data transfer device the following steps are included:
Step S10 determines the source system of transmission data according to the data transfer instruction when receiving data transfer instruction
System and receive data goal systems, and obtain the source system file to be transmitted and corresponding translation profile;
Currently, since the data content of each application system, data format etc. have differences, thus not between homologous ray into
The mode of row data exchange is also different, and is caused the data exchange inside bank and is in confusing state.On the one hand, two
When carrying out data exchange between a application system, due to not only without relevant specification, but also the product that not can be used directly, therefore be
System both sides need to arrange many contents, be related to multiple technical details, including determine system between connection type, data format,
Processing mode etc. establishment officer will also be developed respectively.
In the present embodiment, in order to solve the above-mentioned technical problem, a kind of data transfer device is provided, obtains transmission by synchronous
The corresponding translation profile of source system of data, is converted to standard GB code for the file to be transmitted of the source system and passes
Defeated, integrated system data standard improves the accuracy of data output.Specifically, the present invention provides a kind of data conversion system, uses
In the file to be transmitted in the system of source is carried out the conversion of data code value, that is, be converted to the data of goal systems needs.Notebook data turns
The system of changing includes database, file transfer means and transcoding device, wherein the database is for storing unified processing system
Scheduling configuration file and file translation profile needed for operation.When needing to carry out data exchange between different application systems,
Preparatory configuration schedules configuration information in the database, for carrying out United Dispatching execution to all kinds of operations.Also configuration file is needed to pass
File to be transmitted can be transferred to data conversion system automatically for source system, then pass through data conversion by defeated configuration file
The file destination generated after system processing is transmitted to goal systems.Source system and goal systems are without repairing the program of itself
Change, file transmission can be realized.
Step S20 obtains the target data code value of the goal systems and the transmission numeric data code of the file to be transmitted
Value, judges whether the transmission data code value matches with the target data code value;
In the present embodiment, the transmission data code value of file to be transmitted in the system of source can be converted to standard world code value, such as
ASCII character (American Standard Code for Information Interchange, ASCII American Standard Code for Information Interchange generation
Code) or GBK (Chinese Internal Code Specification, the escape character (ESC) coding of simplified man's coding).Also
Can according to the target data code value of the goal systems, by the transmission data code value of file to be transmitted in the system of source be converted to
The consistent target data code value of goal systems.It specifically can be according to the target configuration file of the goal systems and the biography of source system
File to be transmitted in the source system is carried out the conversion of data code value, integrated system data standard by defeated configuration file.Specifically
The target data code value of the goal systems is compared by ground with the transmission data code value of the file to be transmitted, with judgement
Whether the transmission data code value and target data code value are consistent.Or judge that the transmission data code value of the file to be transmitted is
No is standard world code value, and standard world code value is the identifiable data code value of the goal systems.Wherein, the standard is international
Code value is matched with various data code values.
Further, the data transfer device further include:
If the transmission data code value matches with the target data code value, using the file to be transmitted as target
File, and the file destination of the target data code value is sent to goal systems.
In the present embodiment, the target data code value of the goal systems and the transmission data of the file to be transmitted are obtained
Code value, and judge whether the transmission data code value is standard world code value;If it is determined that the transmission data code value is standard state
Border code value then obtains the object code value comparison table of the goal systems, is institute by the file transcoding to be transmitted of standard world code value
The file destination of target data code value is stated, and the file destination of the target data code value is sent to goal systems.Specifically,
Since standard world code value can directly be converted into target data code value, the text to be transmitted can be first judged before transcoding
Whether the transmission data code value of part is standard world code value.If it is determined that the transmission data code value be standard world code value, then without
The transmission code value comparison table need to be obtained, only the object code value comparison table need to be obtained, by the to be passed of standard world code value
Defeated file, corresponding conversion are target code value.In specific embodiment, the transmission data code value and number of targets can also be judged
Whether it is standard world code value according to code value, if being standard world code value, without obtaining the code value table of comparisons, can directly carries out to be passed
The transmission of defeated file.
Step S30 obtains the goal systems if the transmission data code value and the target data code value mismatch
Object code value comparison table and the translation profile in transmission code value comparison table, and according to the target code value compare
The file to be transmitted is carried out transcoding by table and the transmission code value comparison table, generates file destination, and by the file destination
It is sent to goal systems.
In the present embodiment, if the transmission data code value and target data code value mismatch, the transmission data code value
It is not normal data code value, and transmission data code value and target data code value be not identical.It is sent to by the file to be transmitted
When the goal systems, need in advance to convert the transmission data code value of the file to be transmitted.It can be by the transmission number
Normal data code value is converted to according to code value, the transmission data code value directly can also be converted into target data code value.Specifically
Ground, the translation profile includes preset format and parameter configuration files, for carrying out corresponding transcoding to file to be transmitted
Operation.Wherein, the preset format is used to carry out format definition to the file of transcoding operation, for the text of different application systems
Part needs to be pre-configured with file format.By reading preset format, the format situation of file to be transmitted could be obtained automatically, from
And identify the particular content of file.For example, the file format when file to be transmitted is: 10 names, 3 ages, 2 genders,
20 telephone numbers;The information can be then defined into factor and format, it may be assumed that first character section: 10 bit lengths, abstract are surnames
Name;Second field: 3 bit lengths, abstract are the ages;Third field: 2 bit lengths, abstract are genders;4th field: 20 bit lengths,
Abstract is telephone number.Information is read according to preset format so as to subsequent, thus know each part it is corresponding be name, year
Age, gender or telephone number.Common parameter needed for the parameter configuration files define some transcoding operations, such as code system pair
According to table, conversion (such as the ASCII code (United States Information Exchange Standard Code), BCD (Binary-Coded between a variety of code systems are had recorded
Decimal) code etc.).Corresponding transcoding operation can be carried out according to the code system table of comparisons.At the same time it can also in parameter configuration text
Output format, such as fixed length, non-fixed length, all kinds of separators are defined in part, the file output format after limiting transcoding.
The present embodiment provides a kind of data transfer devices, i.e., when receiving data transfer instruction, are passed according to the data
Defeated instruction determines the source system of transmission data and receives the goal systems of data, and obtains the file to be transmitted of the source system
And corresponding translation profile;Obtain the transmission of the target data code value and the file to be transmitted of the goal systems
Data code value, judges whether the transmission data code value matches with the target data code value;If the transmission data code value
It is mismatched with the target data code value, then obtains the object code value comparison table and transmission configuration text of the goal systems
Transmission code value comparison table in part, and will be described to be transmitted according to the object code value comparison table and the transmission code value comparison table
File carries out transcoding, generates file destination, and the file destination is sent to goal systems.By the above-mentioned means, of the invention
By transmitting together when transmitting file to be transmitted, while by the translation profile for being stored with the code value table of comparisons, pass through standard
International code value carries out code value conversion as conversion bridge, by the different code values of two not homologous rays, realizes transmission code Value Data
It is unified, the accuracy of data output is improved, the technology that the data format of each system in the prior art has differences is solved and asks
Topic.
It is the flow diagram of data transfer device second embodiment of the present invention referring to Fig. 3, Fig. 3.
Based on above-mentioned embodiment illustrated in fig. 2, in the present embodiment, the step S30 includes:
Step S31 obtains the goal systems if the transmission data code value and the target data code value mismatch
Object code value comparison table and the translation profile in transmission code value comparison table, and according to the target code value compare
The file progress transcoding to be transmitted is generated file destination by table and the transmission code value comparison table;
Step S32 checks rule according to default, data validation is carried out to the file destination after transcoding, to judge the mesh
It is abnormal with the presence or absence of transcoding to mark file;
Step S33, if it is determined that the file destination is then sent to target system there is no transcoding exception by the file destination
System.
In the present embodiment, rule is checked according to preconfigured, the quality of data after transcoding is checked, to guarantee number
According to the accuracy in transcoding process.This checks operation
It can carry out checking operation.Specifically, different data check function, check point and to check mode not necessarily identical.It therefore, can root
According to the data cases of application system, practical determination checks rule.Wherein, it is described it is default check rule include: data type verification,
The verification of data value range, the verification of file columns or record length verification etc..Rule is checked by being pre-configured with, thus in number
After transcoding, file destination is checked, and when determining the file destination without transcoding exception, then by the file destination
It is sent to goal systems, thus improves the data precision after transcoding.
Step S34, if it is determined that the file destination then obtains the target code value pair of the goal systems there are transcoding exception
According to the transmission code value comparison table in table and the translation profile, the file to be transmitted is subjected to secondary transcoding, is generated
Secondary file destination;
Step S35 checks rule according to described preset, data validation is carried out to the secondary file destination after transcoding, to sentence
The secondary file destination that breaks is abnormal with the presence or absence of transcoding;
Step S36, if it is determined that there are transcoding exceptions for the secondary file destination, then according to the different of the secondary file destination
Normal transcoding generates abnormity prompt message, and the abnormity prompt message is sent to management end.
In the present embodiment, if finding out transcoding exception when being checked to the file destination after transcoding, then obtaining again
The object code value comparison table and the transmission code value comparison table in the translation profile of the goal systems, and according to described
The file to be transmitted is carried out secondary transcoding, generated corresponding secondary by object code value comparison table and transmission code value comparison table
File destination.Then rule is checked further according to default, it is abnormal with the presence or absence of transcoding checks the secondary file destination.If described two
Still there are transcoding exceptions for secondary file destination, then according to the specific abnormal transcoding of the secondary file destination, send to management end
Reminder message, so that administrator handles the abnormal conditions.It, can be according to common abnormal transcoding situation in specific embodiment
Corresponding transcoding abnormality processing strategy is set, with according to the relevant parameter of the abnormal transcoding, using corresponding transcoding exception
Reason strategy improves abnormality processing efficiency to automatically process to the abnormal transcoding.
Further, the step S30 is specific further include:
If the transmission data code value and the target data code value mismatch, the target code value of the goal systems is obtained
Transmission code value comparison table in the table of comparisons and the translation profile, and judge currently with the presence or absence of idle transcoding threads;
If being compareed there is currently the idle transcoding threads according to the object code value comparison table and the transmission code value
The file to be transmitted is simultaneously carried out transcoding by the idle transcoding threads by table, generates file destination, and the target is literary
Part is sent to goal systems;
If there is currently no the idle transcoding threads, according to the corresponding transcoding task of the file generated to be transmitted,
And transcoding job queue is added in the transcoding task;
When detecting the presence of idle transcoding threads, by the idle transcoding threads in the transcoding job queue
Each transcoding task is handled, and the file to be transmitted is carried out transcoding, generates file destination, and by the file destination
It is sent to goal systems.
In the present embodiment, code value needs to carry out transcoding by transcoding threads to set in advance to guarantee the implementation rate of transcoding
Set transcoding job queue.Specifically, when getting the object code value comparison table and transmission code value comparison table, line is first determined whether
Cheng Chizhong whether there is idle transcoding threads, if there are idle transcoding threads in the thread pool, can directly acquire a free time
Transcoding threads carry out the transcoding of file to be transmitted.Idle transcoding threads if it does not exist, in order to guarantee successively sequence transcoding, according to
The corresponding transcoding task of the file generated to be transmitted, and transcoding job queue is added in the transcoding task, to wait by transcoding.
In the transcoding threads free time, the transcoding task in the transcoding job queue can be successively handled by idle transcoding threads, directly
To emptying the transcoding job queue.In specific embodiment, it is possible to provide transcoding priority as needs the file of urgent transcoding preferential
Transcoding operation is carried out, the high transcoding task of priority can be specifically added to the first place of transcoding job queue.
It is the flow diagram of data transfer device 3rd embodiment of the present invention referring to Fig. 4, Fig. 4.
Based on above-mentioned embodiment illustrated in fig. 2, in the present embodiment, the step S30 includes:
Step S37 obtains the goal systems if the transmission data code value and the target data code value mismatch
Object code value comparison table and the translation profile in transmission code value comparison table, and according to the target code value compare
The file progress transcoding to be transmitted is generated file destination by table and the transmission code value comparison table;
Step S38 generates dynamic key, the dynamic key is sent to the goal systems, and according to the dynamic
Key encrypts the file destination;
The encrypted file destination is sent to the goal systems by step S39, so as to the goal systems according to
The encrypted file destination is decrypted in the dynamic key.
In the present embodiment, file occurs to transmit maloperation in transmission process in order to prevent, that is, is transmitted to other systems, right
The transmission file carries out cryptographic operation.Specifically, after generating file destination, a dynamic key can be generated at random, the dynamic
Key can be number, letter or a combination thereof.When generating dynamic key, the dynamic key is sent to goal systems,
So that goal systems carries out corresponding decryption.Then the file destination of generation is encrypted according to the dynamic key, and will
Encrypted file destination is sent to goal systems, to prevent transmission maloperation, causes to transmit the dangerous of file.
In addition, the embodiment of the present invention also provides a kind of data conversion device.
It is the functional block diagram of data conversion device first embodiment of the present invention referring to Fig. 5, Fig. 5.
In the present embodiment, the data conversion device includes:
File acquisition module 10, for being determined and being passed according to the data transfer instruction when receiving data transfer instruction
The source system of transmission of data and the goal systems for receiving data, and obtain the source system file to be transmitted and corresponding biography
Defeated configuration file;
Code value judgment module 20, for obtaining the target data code value and the file to be transmitted of the goal systems
Data code value is transmitted, judges whether the transmission data code value matches with the target data code value;
Code value conversion module 30 obtains if mismatching for the transmission data code value and the target data code value
The object code value comparison table and the transmission code value comparison table in the translation profile of the goal systems, and according to described
The file progress transcoding to be transmitted is generated file destination, and will by object code value comparison table and the transmission code value comparison table
The file destination is sent to goal systems.
Further, the data conversion device further include:
File setup module will be described if matching for the transmission data code value and the target data code value
File to be transmitted is sent to goal systems as file destination, and by the file destination of the target data code value.
Further, the code value conversion module 30 includes:
First transcoding units obtain institute if mismatching for the transmission data code value and the target data code value
The transmission code value comparison table in the object code value comparison table and the translation profile of goal systems is stated, and according to the mesh
The file progress transcoding to be transmitted is generated file destination by coding value comparison table and the transmission code value comparison table;
Unit is checked, for checking rule according to default, data validation is carried out to the file destination after transcoding, to judge
It is abnormal with the presence or absence of transcoding to state file destination;
Transmission unit is used for if it is determined that the file destination is then sent to by the file destination there is no transcoding exception
Goal systems.
Secondary transcoding units, for if it is determined that the file destination then obtains the goal systems there are transcoding exception
Transmission code value comparison table in object code value comparison table and the translation profile carries out the file to be transmitted secondary
Transcoding generates secondary file destination;
It is secondary to check unit, for checking rule according to described preset, data are carried out to the secondary file destination after transcoding
It checks, to judge that the secondary file destination is abnormal with the presence or absence of transcoding;
Abnormity prompt unit, for if it is determined that the secondary file destination there are transcoding exception, then according to the secondary mesh
The abnormal transcoding for marking file generates abnormity prompt message, and the abnormity prompt message is sent to management end.
Further, the code value conversion module 30 is also used to:
If the transmission data code value and the target data code value mismatch, the target code value of the goal systems is obtained
Transmission code value comparison table in the table of comparisons and the translation profile, and judge currently with the presence or absence of idle transcoding threads;
If being compareed there is currently the idle transcoding threads according to the object code value comparison table and the transmission code value
The file to be transmitted is simultaneously carried out transcoding by the idle transcoding threads by table, generates file destination, and the target is literary
Part is sent to goal systems;
If there is currently no the idle transcoding threads, according to the corresponding transcoding task of the file generated to be transmitted,
And transcoding job queue is added in the transcoding task;
When detecting the presence of idle transcoding threads, by the idle transcoding threads, in the transcoding job queue
Each transcoding task handled, the file to be transmitted is subjected to transcoding, generates file destination, and by the target text
Part is sent to goal systems.
Further, the code value conversion module 30 includes:
Second transcoding units obtain institute if mismatching for the transmission data code value and the target data code value
The transmission code value comparison table in the object code value comparison table and the translation profile of goal systems is stated, and according to the mesh
The file progress transcoding to be transmitted is generated file destination by coding value comparison table and the transmission code value comparison table;
The dynamic key is sent to the goal systems for generating dynamic key by Key generating unit, and according to
The dynamic key encrypts the file destination;
Decryption unit, for the encrypted file destination to be sent to the goal systems, so as to the target system
System is decrypted the encrypted file destination according to the dynamic key.
Wherein, modules are opposite with each step in above-mentioned data transfer device embodiment in above-mentioned data conversion device
It answers, function and realization process no longer repeat one by one here.
In addition, the embodiment of the present invention also provides a kind of computer readable storage medium.
It is stored with data converter on computer readable storage medium of the present invention, wherein the data converter is located
When managing device execution, realize such as the step of above-mentioned data transfer device.
Wherein, data converter, which is performed realized method, can refer to each reality of data transfer device of the present invention
Example is applied, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of data transfer device, which is characterized in that the data transfer device the following steps are included:
When receiving data transfer instruction, the source system of transmission data is determined according to the data transfer instruction and receives number
According to goal systems, and obtain the source system file to be transmitted and corresponding translation profile;
The target data code value of the goal systems and the transmission data code value of the file to be transmitted are obtained, judges the biography
Whether transmission of data code value matches with the target data code value;
If the transmission data code value and the target data code value mismatch, the target code value pair of the goal systems is obtained
According to the transmission code value comparison table in table and the translation profile, and according to the object code value comparison table and the transmission
The file to be transmitted is carried out transcoding by the code value table of comparisons, generates file destination, and the file destination is sent to target system
System.
2. data transfer device as described in claim 1, which is characterized in that if the transmission data code value and the mesh
It marks data code value to mismatch, then obtains the biography in the object code value comparison table and the translation profile of the goal systems
The defeated code value table of comparisons, and carried out the file to be transmitted according to the object code value comparison table and the transmission code value comparison table
Transcoding generates file destination, and the step of file destination is sent to goal systems includes:
If the transmission data code value and the target data code value mismatch, the target code value pair of the goal systems is obtained
According to the transmission code value comparison table in table and the translation profile, and according to the object code value comparison table and the transmission
The file to be transmitted is carried out transcoding by the code value table of comparisons, generates file destination;
Rule is checked according to default, data validation is carried out to the file destination after transcoding, to judge whether the file destination is deposited
In transcoding exception;
If it is determined that the file destination is then sent to goal systems there is no transcoding exception by the file destination.
3. data transfer device as claimed in claim 2, which is characterized in that the basis is default to check rule, after transcoding
File destination carry out data validation, with judge the file destination with the presence or absence of transcoding exception step after, further includes:
If it is determined that the file destination there are transcoding exception, then obtains the object code value comparison table of the goal systems and described
The file to be transmitted is carried out secondary transcoding, generates secondary file destination by the transmission code value comparison table in translation profile;
Rule is checked according to described preset, data validation is carried out to the secondary file destination after transcoding, to judge the secondary mesh
It is abnormal with the presence or absence of transcoding to mark file;
If it is determined that there are transcoding exceptions for the secondary file destination, then generated according to the abnormal transcoding of the secondary file destination different
Normal reminder message, and the abnormity prompt message is sent to management end.
4. data transfer device as described in claim 1, which is characterized in that if the transmission data code value and the mesh
It marks data code value to mismatch, then obtains the biography in the object code value comparison table and the translation profile of the goal systems
The defeated code value table of comparisons, and carried out the file to be transmitted according to the object code value comparison table and the transmission code value comparison table
Transcoding generates file destination, and the step of file destination is sent to goal systems includes:
If the transmission data code value and the target data code value mismatch, the target code value control of the goal systems is obtained
Transmission code value comparison table in table and the translation profile, and judge currently with the presence or absence of idle transcoding threads;
If there is currently the idle transcoding threads, simultaneously according to the object code value comparison table and the transmission code value comparison table
The file to be transmitted is subjected to transcoding by the idle transcoding threads, generates file destination, and the file destination is sent out
It send to goal systems.
5. data transfer device as claimed in claim 4, which is characterized in that if the transmission data code value and the mesh
It marks data code value to mismatch, obtains the transmission in the object code value comparison table and the translation profile of the goal systems
The code value table of comparisons, and after the step of judging currently with the presence or absence of idle transcoding threads, further includes:
If there is currently no the idle transcoding threads, according to the corresponding transcoding task of the file generated to be transmitted, and will
Transcoding job queue is added in the transcoding task;
When detecting the presence of idle transcoding threads, by the idle transcoding threads to each in the transcoding job queue
Transcoding task is handled, and the file to be transmitted is carried out transcoding, generates file destination, and the file destination is sent
To goal systems.
6. data transfer device as described in claim 1, which is characterized in that if the transmission data code value and the mesh
It marks data code value to mismatch, then obtains the biography in the object code value comparison table and the translation profile of the goal systems
The defeated code value table of comparisons, and carried out the file to be transmitted according to the object code value comparison table and the transmission code value comparison table
Transcoding generates file destination, and the step of file destination is sent to goal systems includes:
If the transmission data code value and the target data code value mismatch, the target code value pair of the goal systems is obtained
According to the transmission code value comparison table in table and the translation profile, and according to the object code value comparison table and the transmission
The file to be transmitted is carried out transcoding by the code value table of comparisons, generates file destination;
Dynamic key is generated, the dynamic key is sent to the goal systems, and according to the dynamic key by the mesh
Mark file is encrypted;
The encrypted file destination is sent to the goal systems, so that the goal systems is according to the dynamic key
The encrypted file destination is decrypted.
7. such as data transfer device described in any one of claims 1 to 6, which is characterized in that described to obtain the target system
The transmission data code value of the target data code value of system and the file to be transmitted, judge the transmission data code value whether with institute
After stating the step of target data code value matches, further includes:
If the transmission data code value matches with the target data code value, using the file to be transmitted as target text
Part, and the file destination of the target data code value is sent to goal systems.
8. a kind of data conversion device, which is characterized in that the data conversion device includes:
File acquisition module, for determining transmission data according to the data transfer instruction when receiving data transfer instruction
Source system and receive data goal systems, and obtain the source system file to be transmitted and corresponding transmission configuration
File;
Code value judgment module, for obtaining the target data code value of the goal systems and the transmission number of the file to be transmitted
According to code value, judge whether the transmission data code value matches with the target data code value;
Code value conversion module obtains the mesh if mismatching for the transmission data code value and the target data code value
The object code value comparison table and the transmission code value comparison table in the translation profile of mark system, and according to the object code
The file to be transmitted is carried out transcoding by value comparison table and the transmission code value comparison table, generates file destination, and by the mesh
Mark file is sent to goal systems.
9. a kind of data conversion equipment, which is characterized in that the data conversion equipment includes processor, memory and storage
On the memory and the data converter that can be executed by the processor, wherein the data converter is by the place
When managing device and executing, the step of realizing data transfer device as described in any one of claims 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that be stored with data on the computer readable storage medium and turn
Program is changed, wherein realizing the number as described in any one of claims 1 to 7 when the data converter is executed by processor
The step of according to conversion method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811202955.XA CN109635016A (en) | 2018-10-16 | 2018-10-16 | Data transfer device, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811202955.XA CN109635016A (en) | 2018-10-16 | 2018-10-16 | Data transfer device, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109635016A true CN109635016A (en) | 2019-04-16 |
Family
ID=66066384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811202955.XA Pending CN109635016A (en) | 2018-10-16 | 2018-10-16 | Data transfer device, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109635016A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112217801A (en) * | 2020-09-18 | 2021-01-12 | 中国建设银行股份有限公司 | Message processing method and device, computer equipment and storage medium |
CN112487075A (en) * | 2020-12-29 | 2021-03-12 | 中科院计算技术研究所大数据研究院 | Operator for integrating data conversion of relational database and non-relational database |
CN113132492A (en) * | 2021-04-29 | 2021-07-16 | 北京红山信息科技研究院有限公司 | Data exchange system |
CN114552314A (en) * | 2022-03-02 | 2022-05-27 | 深圳市爱普丰电子有限公司 | Data transmission method based on multi-head data line and data line thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1230754C (en) * | 2000-02-25 | 2005-12-07 | 株式会社东芝 | Character code transition system under multiple platform condition, and computer readable recording medium |
CN100499462C (en) * | 2006-12-22 | 2009-06-10 | 中国建设银行股份有限公司 | Integrated processing system and method for the data exchange between different application systems |
CN104410619A (en) * | 2014-11-21 | 2015-03-11 | 中国联合网络通信集团有限公司 | Instant messaging method and instant messaging system |
CN104699418A (en) * | 2014-04-02 | 2015-06-10 | 杭州海康威视数字技术股份有限公司 | Method and equipment for recovering exceptions for secure digital memory card |
WO2017166501A1 (en) * | 2016-03-31 | 2017-10-05 | 乐视控股(北京)有限公司 | Method and device for assigning transcoding task |
CN108399116A (en) * | 2018-03-02 | 2018-08-14 | 郑州云海信息技术有限公司 | A kind of server power-up state monitoring system and method |
-
2018
- 2018-10-16 CN CN201811202955.XA patent/CN109635016A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1230754C (en) * | 2000-02-25 | 2005-12-07 | 株式会社东芝 | Character code transition system under multiple platform condition, and computer readable recording medium |
CN100499462C (en) * | 2006-12-22 | 2009-06-10 | 中国建设银行股份有限公司 | Integrated processing system and method for the data exchange between different application systems |
CN104699418A (en) * | 2014-04-02 | 2015-06-10 | 杭州海康威视数字技术股份有限公司 | Method and equipment for recovering exceptions for secure digital memory card |
CN104410619A (en) * | 2014-11-21 | 2015-03-11 | 中国联合网络通信集团有限公司 | Instant messaging method and instant messaging system |
WO2017166501A1 (en) * | 2016-03-31 | 2017-10-05 | 乐视控股(北京)有限公司 | Method and device for assigning transcoding task |
CN108399116A (en) * | 2018-03-02 | 2018-08-14 | 郑州云海信息技术有限公司 | A kind of server power-up state monitoring system and method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112217801A (en) * | 2020-09-18 | 2021-01-12 | 中国建设银行股份有限公司 | Message processing method and device, computer equipment and storage medium |
CN112217801B (en) * | 2020-09-18 | 2022-11-15 | 中国建设银行股份有限公司 | Message processing method and device, computer equipment and storage medium |
CN112487075A (en) * | 2020-12-29 | 2021-03-12 | 中科院计算技术研究所大数据研究院 | Operator for integrating data conversion of relational database and non-relational database |
CN112487075B (en) * | 2020-12-29 | 2021-08-31 | 中科院计算技术研究所大数据研究院 | Method for integrating relational database data conversion operators and non-relational database data conversion operators |
CN113132492A (en) * | 2021-04-29 | 2021-07-16 | 北京红山信息科技研究院有限公司 | Data exchange system |
CN114552314A (en) * | 2022-03-02 | 2022-05-27 | 深圳市爱普丰电子有限公司 | Data transmission method based on multi-head data line and data line thereof |
CN114552314B (en) * | 2022-03-02 | 2024-04-19 | 深圳市爱普丰电子有限公司 | Multi-head data line-based data transmission method and data line thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109635016A (en) | Data transfer device, device, equipment and computer readable storage medium | |
US10289409B2 (en) | Systems, methods, and apparatus for migrating code to a target environment | |
CN104750469B (en) | Source code statistical analysis technique and system | |
CN112698971B (en) | Parameter conversion method, device, equipment and medium based on rule engine | |
CN102195773B (en) | Method and system for analyzing block cipher algorithm | |
US20160357599A1 (en) | Point-of-use-toolkit | |
US20070079128A1 (en) | Electronic signature system and method | |
US20070203926A1 (en) | Scalable transformation and configuration of EDI interchanges | |
CN109688046A (en) | Issue management method, apparatus, equipment and storage medium | |
CN108776610A (en) | A kind of interface configuration method and device | |
CN109685301A (en) | Method for managing resource, device, equipment and readable storage medium storing program for executing | |
CN111582815A (en) | Engineering management method and device for nuclear power station, terminal equipment and storage medium | |
CN102546296A (en) | Automatic detecting method and device for electric power industry information system networking safety evaluation | |
CN112631884A (en) | Pressure measurement method and device based on data synchronization, computer equipment and storage medium | |
CN106383842A (en) | Parsing method and parsing device of model file, and server | |
US20030144967A1 (en) | Systems and methods relating to the establishment of EDI trading partner relationships | |
CN112579452A (en) | Software automation test method, device, equipment and storage medium | |
CN107622040A (en) | A kind of control method and system of laser carving data | |
KR20110062075A (en) | Server and system for providing mobile standard template data | |
CN106407309B (en) | Cluster database data loading tool and method supporting multiple data sources | |
CN107786308B (en) | Data transmission method and terminal device | |
CN107590076A (en) | Obtain method, the method and device in generation business datum source of business datum | |
CN114969175A (en) | Method for butting insurance platform and external system and related equipment | |
Maiti | Capturing, Eliciting, and Prioritizing (CEP) Non-Functional Requirements Metadata during the Early Stages of Agile Software Development | |
US20120216105A1 (en) | System and method for creating non-functional requirements for implemented technology |
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 |