CN107911481A - Data transfer mode between a kind of application system - Google Patents
Data transfer mode between a kind of application system Download PDFInfo
- Publication number
- CN107911481A CN107911481A CN201711302964.1A CN201711302964A CN107911481A CN 107911481 A CN107911481 A CN 107911481A CN 201711302964 A CN201711302964 A CN 201711302964A CN 107911481 A CN107911481 A CN 107911481A
- Authority
- CN
- China
- Prior art keywords
- file
- data
- message
- server
- application
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/176—Support for shared access to files; File sharing support
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/182—Distributed file systems
- G06F16/1824—Distributed file systems implemented using Network-attached Storage [NAS] architecture
- G06F16/183—Provision of network file services by network file servers, e.g. by using NFS, CIFS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/165—Combined use of TCP and UDP protocols; selection criteria therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to data transfer mode between application system in the application of every field, and data transmission method between more particularly to a kind of application system, specifically includes following steps:1) system A elder generations save file is to file server;2) filename to be treated, is sent to system B by the server that system A is provided by webservice calling systems B;B preserves filename to be treated to database;3) system B timings inquiry data-base recording, by record search file path, finds file and is handled;4) system B processing sends messages to system A after completing, and informs that system A file process is completed;5) system A receives the message that system B requests come, and is shown task result;This method can realize the quick transmission of data.
Description
Technical field
The present invention relates to data transfer mode between application system every field application, and in particular to server field
A kind of data between application system, there is provided data transmission method between application system.
Background technology
With the rise of SOA (service-oriented Technical Architecture) in recent years, more and more application systems proceed by distribution
The design and deployment of formula.System becomes service-oriented multisystem framework by original single Technical Architecture.Originally it was at one
The operation flow that can be completed between system, is realized by multiple interaction between multisystem.Thus there is an urgent need for a kind of technology to solve
The transmission of data certainly how is carried out between application system.
The content of the invention
The present invention is achieved through the following technical solutions, a kind of method for data transfer between application system, tool
Body comprises the following steps:1) system A elder generations save file is to file server;2) system A is carried by webservice calling systems B
Filename to be treated, is sent to system B by the server of confession;B preserves filename to be treated to database;3) system
B timing inquiry data-base recordings, by record search file path, find file and are handled;4) after system B processing is completed
System A is sent messages to, informs that system A file process is completed;5) system A receives the message that system B requests come, and is shown
Task result.
Preferably, in step 2), system B, which is received, to be asked successfully, to immediately return to system A successes.
The present invention also provides a kind of system for data transfer between application system, including system A and system B, also wrap
Include shared file server, database, message-oriented middleware module.
Preferably, system B includes file request processing module and timing document processing module.
The present invention provides a kind of computer-readable storage medium, has computer program thereon, the program be executed by processor with
Realize the method.
The present invention also provides a kind of computer equipment, including memory, processor and storage on a memory and can located
The computer program run on reason device, the processor perform described program to realize the method.
The present invention is that can quickly realize the transmission of data between application system relative to the beneficial effect of the prior art.
Brief description of the drawings
The schematic diagram that Fig. 1 is carried out data transmission between application system using socket modes in the prior art
The signal that Fig. 2 is carried out data transmission between application system using ftp/ file-sharing server modes in the prior art
Figure
The schematic diagram that Fig. 3 is carried out data transmission between application system using Database vendors data mode in the prior art
The schematic diagram that Fig. 4 is carried out data transmission between application system using message modes in the prior art
The schematic diagram carried out data transmission between the application system that Fig. 5 one embodiment of the invention provides
Embodiment
Presently preferred embodiments of the present invention is described in detail below in conjunction with the accompanying drawings.Following embodiments are only used for clearer
Ground illustrates technical scheme, and is not intended to limit the protection scope of the present invention and limits the scope of the invention.
Data transfer has three key elements between application system:Transmission mode, transport protocol, data format, available data pass
Defeated mode is generally using following several:
First, socket modes
Socket modes are simplest interactive modes.It is typical ability c/s interactive modes.One client computer, a service
Device.Server providing services, service access is carried out by ip addresses and port.And the end that client computer is specified by Connection Service device
Mouth carries out interacting message.Wherein transport protocol can be tcp/UDP agreements.And server and request message form and sound are arranged
Answer message format.As shown in Figure 1, our common http are called at present, java far calls, web serivces are to use
This mode, different is exactly transport protocol and message format.The advantages of this mode is:
1 is easily programmed, and java provides a variety of frames at present, shields bottom communication details and data transfer is thin
Section.
2 are easy to control authority, pass through transport layer protocol https, the data of encrypted transmission so that security improves.
3 versatilities are stronger, and no matter client is .net frameworks, and java, python are possible.Especially
Webservice specifications so that service becomes general.
And the shortcomings that this mode, is:
1 server and client side must work at the same time, and when server end is disabled, whole data interaction is can not
Carry out.
2 when transmitted data amount is bigger, seriously take network bandwidth, may cause connection time-out.So that in number
When according to amount interaction, the very unreliable of change is serviced.
2nd, ftp/ file-sharing servers mode
Interaction for big data quantity, is most suitable for only using the interactive mode of this file.System A and system B are about
Determine the contents such as file server address, file designation rule, file content form, carried out by uploading files to file server
Data interaction.Idiographic flow is as shown in Figure 2.
Most typical application scenarios are batch execution datas:Such as system A before 12 points of today data to be processed
A file is generated to, second day 1:00 AM of system B is handled, and after processing is completed, handling result is generated to a text
Part, system A12 points are carrying out result treatment.It is transaction type system that this situation, which frequently occurs in A, and response requirement is compared
Height, is not suitable for doing the work of data analysis type, and system B is background system, higher to disposal ability requirement, is adapted to do batch
Task system.
More than simply explanation by the data interaction of file mode, after actual conditions B completion tasks, may pass through
The mode of socket notifies A, is not necessarily and passes through file mode.
The advantages of this mode:
1 in the case where data volume is big, can be transmitted by file, not time out, is not take up network bandwidth.
2 schemes are simple, avoid network transmission, the relevant concept of procotol.
The shortcomings that this mode:
The 1 unsuitable business for doing real-time class
2 must have common file server, and there are risk here for file server.Because file may be tampered,
Delete, or exist and divulge a secret.
3 must arrange the form of file data, it is necessary to which each system is all synchronously repaiied when file format is changed
Change.
3rd, Database vendors data mode
As shown in figure 3, system A and system B carries out data friendship by connecting same table of same database server
Change.When system A Request Systems B handles data, system A Insert a datas, system B select systems A insertions
Data handled.
The advantages of this mode is
1 compares for file mode transmission, because the same database used, interaction is simpler.
2 since database provides the operation mutually regarded, for example updates, rollback etc..Interactive mode is more flexible, and passes through
The affair mechanism of database, can make the data exchange of reliability.
The shortcomings that this mode:
1 when the system for connecting B is more and more, since the connection pool of database is limited, causes each system
The connection being assigned to will not be very much, when system is more and more, may cause to connect without available database
2 ordinary circumstances, the system from Liang Ge different companies, can less open the database of oneself and be connected to other side, because
So to have safety effects.
4th, message modes
As shown in figure 4, Java Message Service (Java Message Service) is the typical of message data transfers
Implementation.System A and system B carries out data exchange by a message server.System A sends a message to messenger service
Device, if the message that system B ordering systems A is sended over, message server meeting message is pushed to B.Both sides arrange message format
.There are the jms message-oriented middlewares much increased income, such as ActiveMQ, OpenJMS currently on the market.
The advantages of this mode
1 since jms defines specification, has many message-oriented middlewares increased income it can be selected that and more common.Access
Get up relatively also fairly simple
2 is more flexible by message mode, can take synchronization, asynchronous, the Message Processing of reliability, message-oriented middleware
Independent it can dispose.
The shortcomings that this mode
The 1 study relevant rudimentary knowledge of jms, the concrete configuration of message-oriented middleware, and the details realized is for exploit person
There are certain learning cost for member
2 in the case of big data quantity, and message may produce overstocked, cause message delay, information drop-out, or even message
Middleware collapses.
One embodiment of the invention integrates the prior art, there is provided a kind of method for data transfer between application system, such as
Shown in Fig. 5, specifically, business personnel needs to import one big file to system A, system A save file information, and file the inside
Managing detailed catalogue need to imported into system B and analyzed, it is necessary to which analysis result is notified system after system B, which is analyzed, to be completed
A.This method comprises the following steps:
A system A elder generation's save files are to file server.
The server that B system A is provided by webservice calling systems B, is sent to filename to be treated and is
Unite B.Since file is very big, it is necessary to handle for a long time, so B handles file not in time, but file to be treated is preserved
Name arrives database, goes to handle by backstage timer-triggered scheduler mechanism.Ask successfully, to immediately return to system A successes so B is received.
C system B timing inquiry data-base recordings, by record search file path, find file and are handled.This mistake
Journey is very long.
D system B processing sends messages to system A after completing, and informs that system A file process is completed.
E systems A receives the message that system B requests come, and is shown task result.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Program or the relevant hardware of programmed instruction are completed, and foregoing program can be stored in computer-readable storage medium
In, the program upon execution, execution the step of including above method embodiment;And foregoing storage medium includes:ROM、RAM、
Magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
All any modification, equivalent and improvement made within refreshing and principle etc., should all be included in the protection scope of the present invention.
Claims (6)
- A kind of 1. method for data transfer between application system, it is characterised in that:Specifically include following steps:1) system A First save file is to file server;2) server that system A is provided by webservice calling systems B, needing to handle Filename be sent to system B;B preserves filename to be treated to database;3) system B timings inquiry data-base recording, By record search file path, find file and handled;4) system B processing sends messages to system A after completing, and informs System A file process is completed;5) system A receives the message that system B requests come, and is shown task result.
- 2. according to the method described in claim 1, it is characterized in that:In step 2), system B is received and is asked successfully, to immediately return to System A successes.
- 3. a kind of system for data transfer between application system, including system A and system B, it is characterised in that:Further include altogether Enjoy file server, database, message-oriented middleware module.
- 4. system according to claim 3, it is characterised in that:System B includes file request processing module and timing file Processing module.
- 5. a kind of computer-readable storage medium, has computer program thereon, which is executed by processor to realize claim 1-2 any one of them methods.
- 6. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, the processor perform described program to realize claim 1-2 any one of them methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711302964.1A CN107911481A (en) | 2017-12-08 | 2017-12-08 | Data transfer mode between a kind of application system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711302964.1A CN107911481A (en) | 2017-12-08 | 2017-12-08 | Data transfer mode between a kind of application system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107911481A true CN107911481A (en) | 2018-04-13 |
Family
ID=61865022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711302964.1A Pending CN107911481A (en) | 2017-12-08 | 2017-12-08 | Data transfer mode between a kind of application system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107911481A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538773A (en) * | 2020-04-22 | 2020-08-14 | 深圳市欣横纵技术股份有限公司 | Nuclear facility data management system based on multi-level management structure |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107241446A (en) * | 2017-07-31 | 2017-10-10 | 广州优视网络科技有限公司 | Document transmission method, device and the terminal device and storage medium of application program |
-
2017
- 2017-12-08 CN CN201711302964.1A patent/CN107911481A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107241446A (en) * | 2017-07-31 | 2017-10-10 | 广州优视网络科技有限公司 | Document transmission method, device and the terminal device and storage medium of application program |
Non-Patent Citations (1)
Title |
---|
GOD IS CODER: "应用系统之间数据传输的几种方式", 《HTTPS://WWW.CNBLOGS.COM/AIGONGSI/ARCHIVE/2012/04/26/2413646.HTML》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111538773A (en) * | 2020-04-22 | 2020-08-14 | 深圳市欣横纵技术股份有限公司 | Nuclear facility data management system based on multi-level management structure |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Daigneau | Service Design Patterns: fundamental design solutions for SOAP/WSDL and restful Web Services | |
US7716282B2 (en) | Proxy server apparatus and method for providing service using the same | |
US9020885B2 (en) | Systems and methods for collaboration shared state management | |
AU2005246375B2 (en) | Systems and methods for enterprise collaboration | |
JP5296726B2 (en) | Web content providing system, web server, content providing method, and programs thereof | |
US20010047477A1 (en) | Transparent user and session management for web applications | |
JP2009134725A (en) | Method and system for extracting application protocol characteristics | |
US20050278294A1 (en) | Systems and methods for a collaboration presence framework | |
CN103312684B (en) | For method and the information processing system of delivery of content in optimized network | |
US20060010205A1 (en) | Systems and methods for collaboration impersonation | |
US20150169392A1 (en) | System and method for providing an application programming interface intermediary for hypertext transfer protocol web services | |
EP2797010A2 (en) | System and method for distributed interaction media storage and retrieval | |
CN101204039A (en) | System and method of device-to-server registration | |
US20050262007A1 (en) | Systems and methods for a collaborative call center | |
US20020032781A1 (en) | Intermediary server apparatus and an information providing method | |
CN108156223A (en) | A kind of accurate supplying system of message based on websocket and method | |
US20160246994A1 (en) | Information collection apparatus and method | |
CN103685354A (en) | Method and device for testing based on RMI protocol | |
US20050021526A1 (en) | Method for ensuring the availability of a service proposed by a service provider | |
CN106034141B (en) | Message treatment method, resource acquiring method, server and terminal device | |
CN107809681B (en) | It is sliced the method and device of transmission of video | |
CN101184002A (en) | Point-to-point flux deepness monitoring method and equipment | |
CN108512889A (en) | A kind of application response method for pushing and proxy server based on HTTP | |
CN107911481A (en) | Data transfer mode between a kind of application system | |
US20060288212A1 (en) | Transparent user and session management for web applications |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180413 |
|
RJ01 | Rejection of invention patent application after publication |