CN109672718A - File delivery method, server, storage medium and device between system - Google Patents

File delivery method, server, storage medium and device between system Download PDF

Info

Publication number
CN109672718A
CN109672718A CN201811128944.1A CN201811128944A CN109672718A CN 109672718 A CN109672718 A CN 109672718A CN 201811128944 A CN201811128944 A CN 201811128944A CN 109672718 A CN109672718 A CN 109672718A
Authority
CN
China
Prior art keywords
file
reception
transmitting
target
storage
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
CN201811128944.1A
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.)
Shenzhen Ping'an Fortune Treasure Investment Consulting Co Ltd
Original Assignee
Shenzhen Ping'an Fortune Treasure Investment Consulting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ping'an Fortune Treasure Investment Consulting Co Ltd filed Critical Shenzhen Ping'an Fortune Treasure Investment Consulting Co Ltd
Priority to CN201811128944.1A priority Critical patent/CN109672718A/en
Publication of CN109672718A publication Critical patent/CN109672718A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/10Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network
    • H04L67/1097Network-specific arrangements or communication protocols supporting networked applications in which an application is distributed across nodes in the network for distributed storage of data in a network, e.g. network file system [NFS], transport mechanisms for storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/28Network-specific arrangements or communication protocols supporting networked applications for the provision of proxy services, e.g. intermediate processing or storage in the network
    • H04L67/2814Network-specific arrangements or communication protocols supporting networked applications for the provision of proxy services, e.g. intermediate processing or storage in the network for data redirection

Abstract

The invention discloses file delivery method, server, storage medium and the devices between system.In the present invention when receiving the file transfer request of user's input, corresponding target transmitting file is determined according to the file transfer request and receives the reception side system of the target transmitting file;Target transmitting file is stored to default memory block, and the storage address of the transmitting file of target described in record storage;The storage address is sent to the reception side system, so that the reception side system reads the target transmitting file according to the storage address from the default memory block.The present invention will be by default memory block as transfer, first file is transferred in default memory block, the data volume directly interacted between system can so be reduced, the stability that file transmits between system is greatly increased, and then solves the technical issues of cannot steadily carrying out the file transmission between multiple systems.

Description

File delivery method, server, storage medium and device between system
Technical field
The present invention relates to the file delivery method between technical field of network communication more particularly to system, server, storages to be situated between Matter and device.
Background technique
With the continuous development of operation system, the solution for building operation system is also in continuous update. For example, traditional system building scheme can only be directed to a system, the database itself used for the system deployment system and Interactive interface etc..
But with being increasing for business datum amount and user demand type, a system tends not to fully meet Above-mentioned all rigid requirements.So generally requiring to combine multiple systems and realizing the fortune of globality when carrying out system building Row, finally to meet the needs of users.
However, often can not steadily carry out the file transmission between multiple systems when running multiple systems simultaneously.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide file delivery method, server, storage medium and the device between system, purports The technical issues of solution must not steadily carry out the transmission of the file between multiple systems.
To achieve the above object, the present invention provides the file delivery method between a kind of system, and the file between the system passes Pass method the following steps are included:
When receiving the file transfer request of user's input, determine that corresponding target passes according to the file transfer request It passs file and receives the reception side system of the target transmitting file;
Target transmitting file is stored to default memory block, and the storage of the transmitting file of target described in record storage Location;
The storage address is sent to the reception side system, so that the reception side system is according to the storage address The target transmitting file is read from the default memory block.
Preferably, described to store target transmitting file to default memory block, and target described in record storage is transmitted File delivery method after the storage address of file, between the system further include:
Creation object transmission serial number corresponding with target transmitting file;
File transmitting is generated according to the object transmission serial number and the storage address to instruct;
It is described that the storage address is sent to the reception side system, so that the reception side system is according to the storage The target transmitting file is read from the default memory block in address, comprising:
File transmitting instruction is sent to the reception side system, so that the receptions side system is described in receive The object transmission serial number and the storage address are extracted from the file transmitting instruction when file transmitting instruction, by the mesh Mark transmission sequence number is matched with Preset Transfer serial number, when it fails to match, the object transmission serial number is added to described pre- If in transmission sequence number, and the target transmitting file is read from the default memory block according to the storage address.
Preferably, described that file transmitting instruction is sent to the reception side system, so that the reception side system The object transmission serial number and the storage are extracted from file transmitting instruction when receiving the file transmitting instruction Address matches the object transmission serial number with Preset Transfer serial number, when it fails to match, by the object transmission serial number It is added in the Preset Transfer serial number, and reads the target transmitting from the default memory block according to the storage address File delivery method after file, between the system further include:
Monitor whether to receive the command reception information and file reception information of the receiving side system feedback, described instruction Information is received by receptions side system generation when being successfully received file transmitting and instructing, the file reception information by The reception side system generates after successfully reading the target transmitting file;
When receiving described instruction reception information and the file reception information, generate and the file transfer request pair The request termination message answered is delivered successfully with realizing from sending side server by target transmitting file to the reception side-line System.
Preferably, the command reception information for monitoring whether to receive the receiving side system feedback and file reception are believed File delivery method after breath, between the system further include:
When not receiving described instruction and receiving information, return execute it is described file transmitting instruction is sent to it is described Side system is received, so that the reception side system is mentioned from file transmitting instruction when receiving the file transmitting instruction The object transmission serial number and the storage address are taken, the object transmission serial number is matched with Preset Transfer serial number, When it fails to match, the object transmission serial number is added in the Preset Transfer serial number, and according to the storage address from institute The step of target transmitting file is read in default memory block is stated, until receiving described instruction receives information and the file Receive information.
Preferably, the command reception information for monitoring whether to receive the receiving side system feedback and file reception are believed File delivery method after breath, between the system further include:
When not receiving the file reception information, creation new object transmission corresponding with target transmitting file Serial number, and it is described according to the object transmission serial number and storage address generation based on new object transmission serial number return execution The step of file transmitting instruction, until receiving described instruction receives information and the file reception information.
Preferably, described when receiving the file transfer request of user's input, it is determined according to the file transfer request After the reception side system of corresponding target transmitting file and the reception target transmitting file, the file between the system is passed Pass method further include:
File, default file portion and default check part structure are transmitted by default file head point, the target Build file to be passed;
It is described to store target transmitting file to default memory block, and target described in record storage transmits depositing for file Store up address, comprising:
The file to be passed is stored to default memory block, and the storage address of file to be passed described in record storage.
Preferably, described that the storage address is sent to the reception side system so that the reception side system according to File transmitting side of the storage address after reading the target transmitting file in the default memory block, between the system Method further include:
When receiving the file calibration request of user's input, data to be calibrated are extracted from the file calibration request , and first data item content corresponding with the data item to be calibrated is extracted from target transmitting file;
Corresponding data item is generated according to the data item to be calibrated and extracts request, and the data item is extracted into request hair Send to the reception side system so that it is described receive side system from read out target transmitting file in extract with it is described to be calibrated The corresponding second data item content of data item, and the second data item content is fed back to sending side server;
The first data item content is matched with the second data item content;
When it fails to match, corresponding target storage is inquired from default mapping relations according to the data item to be calibrated and is set It is standby to identify, it include the corresponding relationship of data item and storage device identification in the default mapping relations;
When target storage device mark is identical as preset standard device identification, the first data item content is sent out It send to the reception side system, so that the side system that receives is by the second data item content in the target read out transmitting file Replace with the first data item content.
In addition, to achieve the above object, the present invention also proposes that a kind of server, the server include memory, processing Device and it is stored in file transmission procedure on the memory and between the system that can be run on the processor, between the system File transmission procedure the step of being arranged for carrying out the file delivery method between system as described above.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, system is stored on the storage medium Between file transmission procedure, the file transmission procedure between the system realized when being executed by processor between system as described above File delivery method the step of.
In addition, to achieve the above object, the present invention also proposes the file transfer device between a kind of system, between the system File transfer device includes:
Extraction module is requested, for being asked according to file transmitting when receiving the file transfer request of user's input Seek the reception side system for determining corresponding target transmitting file and receiving the target transmitting file;
File storage module, for storing target transmitting file to default memory block, and mesh described in record storage The storage address of mark transmitting file;
File read module, for the storage address to be sent to the reception side system, so that the reception side-line System reads the target transmitting file according to the storage address from the default memory block.
In the present invention when to side system transmission file is received, elder generation stores file into default memory block, and sends The storage address of this document is to side system is received, so that receiving side system can be somebody's turn to do from default memory block according to storage address File.It is apparent that being different from the mode for being directly transferred to file and receiving side system, the present invention will be by default memory block conduct File is first transferred in default memory block by transfer, can so be reduced the data volume directly interacted between system, greatly be improved The stability that file transmits between system, and then solve and cannot steadily carry out the technology of file between multiple systems transmission and ask Topic.
Detailed description of the invention
Fig. 1 is the server architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
The flow diagram of file delivery method first embodiment of the Fig. 2 between present system;
Fig. 3 is the schematic diagram of file transmission;
The flow diagram of file delivery method second embodiment of the Fig. 4 between present system;
The flow diagram of file delivery method 3rd embodiment of the Fig. 5 between present system;
The structural block diagram of file transfer device first embodiment of the Fig. 6 between present system.
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.
Referring to Fig.1, Fig. 1 is the server architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the server 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), optional user interface 1003 can also include standard wireline interface, Wireless interface, the wireline interface for user interface 1003 can be USB interface in the present invention.Network interface 1004 optionally may be used To include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, can also To be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be Independently of the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to server, may include Than illustrating more or fewer components, certain components or different component layouts are perhaps combined.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe the file transmission procedure between module, Subscriber Interface Module SIM and system.
In server shown in Fig. 1, network interface 1004 is mainly used for connecting background server, with the background service Device carries out data communication;User interface 1003 is mainly used for connecting peripheral hardware;The server calls storage by processor 1001 File transmission procedure between the system stored in device 1005, and execute the file transmitting side between system provided in an embodiment of the present invention Method.
Based on above-mentioned hardware configuration, the embodiment of the file delivery method between present system is proposed.
Referring to Fig. 2, the flow diagram of file delivery method first embodiment of the Fig. 2 between present system.
In the first embodiment, the file delivery method between the system the following steps are included:
Step S10: it when receiving the file transfer request of user's input, is determined and is corresponded to according to the file transfer request Target transmitting file and receive the reception side system of target transmitting file;
It is understood that in view of when multiple systems are run at the same time to realize user demand often multiple systems that It can be there is information exchange, for example, file may be sent to side system is received by sending side system, still, between system between this Often the relatively high and stable property of complexity is poor for file transmission, the situation that the file in interaction is lost easily occurs, in turn results in The fluctuation of service of system.So the present embodiment is sending file to when receiving side system, directly file will not be sent to and connect Side system is received, and first file can be transferred in default memory block by default memory block as transfer, allows and receives side system master It is dynamic to go in default memory block to read file to realize that the file between system transmits, the steady of file transmission can be so improved significantly It is qualitative.
In the concrete realization, the executing subject of the present embodiment can be any server in transmission side system, i.e. sending side Server, reference can be made to Fig. 3, will send side system and be abbreviated as system A, if can be abbreviated as respectively in system A there are 3 servers Server A 1, server A 2 and server A 3.Meanwhile can will receive side system and be abbreviated as system B, by the server of system B It is abbreviated as server B 1 and server B 2 respectively.
It should be understood that the request is intended to locally deposit server A 1 when server A 1 receives file transfer request The file C of storage is transferred to server B 1.
Step S20: target transmitting file is stored to default memory block, and target described in record storage transmits file Storage address;
It is understood that first file C can be transferred in default memory block, default memory block is not belonging to receive side-line System, the default memory block can be neutral storage server.
Step S30: being sent to the reception side system for the storage address, so that the reception side system is according to Storage address reads the target transmitting file from the default memory block.
It should be understood that record file C is stored in index and address in default memory block, in order to server B1 can pull out the file C of originally server B 1 to be sent to according to the index and address from default memory block.
It is understood that first file C can be transferred in default memory block before sending file C to server B 1, Storage address is only sent to server B 1, can so reduce data volume directly interactive between two systems.Pass through reduction Data volume directly interactive between two systems, any system that can be reduced in two systems are collapsed between interacting strip system The negative influence come, improves stability.
In the present embodiment when to side system transmission file is received, elder generation stores file into default memory block, concurrently Send the storage address of this document to side system is received, so that receiving side system can obtain from default memory block according to storage address This document.It is apparent that being different from the mode for being directly transferred to file and receiving side system, the present embodiment will be by default memory block As transfer, first file is transferred in default memory block, can so reduce the data volume directly interacted between system, greatly The stability that file transmits between system is improved, and then solves the skill that cannot steadily carry out the transmission of the file between multiple systems Art problem.
Referring to Fig. 4, the flow diagram of file delivery method second embodiment of the Fig. 4 between present system, based on upper First embodiment shown in Fig. 2 is stated, proposes the second embodiment of the file delivery method between present system.
File delivery method in second embodiment, after the step S20, between the system further include:
Step S201: creation object transmission serial number corresponding with target transmitting file;
It is understood that in view of the interworking between conventional operation system often exists simultaneously multinomial, institute Can not guarantee that receiving side system has had received the file for sending side system transmission in time;In addition, when interworking goes out When now abnormal, receive side system possibility with regard to same part file while having received repeatedly.It is apparent that above situation reduces system Between file transmit efficiency.
It should be understood that the present embodiment will introduce transmission sequence number precisely in order to overcoming drawbacks described above, transmission sequence number has Uniqueness, the transmitting file that each transmission sequence number will correspond in default memory block.For example, if previous transmission sequence number is 0059, object transmission serial number 0060 corresponding with file C can be created, then next transmission sequence number is 0061, to guarantee each biography Defeated serial number is different.
Step S202: file transmitting is generated according to the object transmission serial number and the storage address and is instructed.
The step S30 may include:
Step S301: file transmitting instruction is sent to the reception side system, so that the reception side system exists The object transmission serial number and storage ground are extracted from the file transmitting instruction when receiving the file transmitting instruction The object transmission serial number is matched with Preset Transfer serial number, when it fails to match, the object transmission serial number is added by location It adds in the Preset Transfer serial number, and reads the target transmitting text from the default memory block according to the storage address Part.
In the concrete realization, to receive in side system will preserve all transmission sequence numbers once received, and will receive Transmission sequence number regards as Preset Transfer serial number.So object transmission serial number 0060 is matched with Preset Transfer serial number, if With failure, then show not including 0060 in Preset Transfer serial number, receives side system and never received target transmitting file;If With success, then show in Preset Transfer serial number to include 0060, receives side system and received target transmitting file, then can stop Subsequent operation.
The matching that side system carries out transmission sequence number is received it should be understood that passing through creation transmission sequence number and allowing, Ke Yibao The idempotence of file transmitting is demonstrate,proved, a target transmitting file is only obtained and does not repeat to obtain, also improve the efficiency of file transmitting.
Further, after the step S301, the file delivery method between the system further include:
Step S302: monitor whether that receiving the command reception information of the receiving side system feedback and file reception believes Breath, described instruction receive information by reception side system generation when being successfully received the file transmitting instruction, the text Part receives information and is generated after successfully reading the target transmitting file by the reception side system;
It is understood that the integrality in order to guarantee file transmitting, command reception letter will be respectively set in the present embodiment Breath monitors the Current developments of file transmitting with file reception information.
When receiving described instruction reception information and the file reception information, step S303 is executed.
Step S303: generating request termination message corresponding with the file transfer request, is serviced with realizing from sending side Target transmitting file is delivered successfully to the reception side system by device.
It should be understood that showing that file transmitting refers to if command reception information is received with file reception information Order is successfully received side system reception, and file C is also received side system and successfully reads out, if the two is received, It is primary complete file transfer processes that this, which can then be regarded as,.So producing request termination message to have shown the secondary request It is successfully executed, without carrying out subsequent operation.
Pass through creation transmission sequence number in the present embodiment and allow and receive the matching that side system carries out transmission sequence number, it is ensured that text The idempotence of part transmitting only obtains a target transmitting file and does not repeat to obtain, also improves the efficiency of file transmitting.
Referring to Fig. 5, the flow diagram of file delivery method 3rd embodiment of the Fig. 5 between present system, based on upper Second embodiment shown in Fig. 4 is stated, proposes the 3rd embodiment of the file delivery method between present system.
In 3rd embodiment, after the step S302, the file delivery method between the system can also include:
When not receiving described instruction reception information, S301 will be returned to step, connect until receiving described instruction It collects mail and ceases and the file reception information.
It is understood that due to just being produced when command reception information and file reception both information receive and The corresponding request termination message of the file transfer request, to complete this request, so, when not receiving command reception letter This document transmitting instruction need to be retransmitted when breath.
In the concrete realization, circulation is executed into step S301, to realize that eventually receiving described instruction receives information.
Further, after the step S302, the file delivery method between the system can also include:
When not receiving the file reception information, step S3021 is executed.
Step S3021: creation new object transmission serial number corresponding with target transmitting file.
After executing step S3021, S202 will be returned to step based on new object transmission serial number, until receiving Described instruction receives information and the file reception information.
It should be understood that may receive side system if server A 1 does not receive file reception information and not read successfully File C is taken out so not automatically generating file reception information, it is also possible to the server A 1 and transmitting instruction of not sent file is to being connect Side system is received, file reception information can not be generated by causing reception side system that can not read file C naturally.
In the concrete realization, in order to solve the above-mentioned accident for not receiving file reception information, the present embodiment will again New object transmission serial number is created, for example, the new object transmission serial number of this creation can be 0061, with object transmission before Serial number is different.Also, file transmitting instruction will be rebuild by new object transmission serial number, referred to retransmitting file transmitting It enables to side system is received, also with regard to having solved the above-mentioned accident for not receiving file reception information.
It is understood that executing step S202-S301 by circulation, the file reception letter is eventually received to realize Breath.
In addition, waiting time can be arranged for the reception of command reception information and the reception of file reception information, to accelerate to follow The efficiency that ring executes.For example, will be returned to step when not receiving described instruction reception information in the first predetermined period S301, wherein the first predetermined period is interval 2 seconds;It, will when not receiving the file reception information in the second predetermined period Return to step S3021, wherein the second predetermined period is interval 30 seconds.
Further, described when receiving the file transfer request of user's input, it is true according to the file transfer request After the reception side system of fixed corresponding target transmitting file and the reception target transmitting file, the file between the system Transmission method further include:
File, default file portion and default check part structure are transmitted by default file head point, the target Build file to be passed;
It is described to store target transmitting file to default memory block, and target described in record storage transmits depositing for file Store up address, comprising:
The file to be passed is stored to default memory block, and the storage address of file to be passed described in record storage.
It is understood that in order to be guaranteed at it is in transmittance process and it is final transmit successfully after transmitting file be can It leans on and believable, the present embodiment can individually construct customized data format for transmitting file, specifically, can be in transmitting file Front end add file header, transmitting file rear end addition end-of-file as end mark, meanwhile, check part can also be added With the integrality of checking file.Wherein, default check part can transmit the hashed value of file for target.
Further, described that the storage address is sent to the reception side system, so that the reception side system root File transmitting according to the storage address after reading the target transmitting file in the default memory block, between the system Method further include:
When receiving the file calibration request of user's input, data to be calibrated are extracted from the file calibration request , and first data item content corresponding with the data item to be calibrated is extracted from target transmitting file;
Corresponding data item is generated according to the data item to be calibrated and extracts request, and the data item is extracted into request hair Send to the reception side system so that it is described receive side system from read out target transmitting file in extract with it is described to be calibrated The corresponding second data item content of data item, and the second data item content is fed back to sending side server;
The first data item content is matched with the second data item content;
When it fails to match, corresponding target storage is inquired from default mapping relations according to the data item to be calibrated and is set It is standby to identify, it include the corresponding relationship of data item and storage device identification in the default mapping relations;
When target storage device mark is identical as preset standard device identification, the first data item content is sent out It send to the reception side system, so that the side system that receives is by the second data item content in the target read out transmitting file Replace with the first data item content.
It is understood that there are when same type of data content at multiple systems, if there is data content not Unanimous circumstances, the present embodiment can setting standard device identify by way of come determine can foundation data content, with quick Find out reliable data content.
In the concrete realization, if data item to be calibrated is order data, and executing subject, that is, sending side server memory storage Order data be shown as " August order volume: 760 ", and be also stored with order data in receiving side system but be shown as " 8 Month order volume: 600 ", it will be apparent that, the two is different.It, will due to pre-setting storage device identification corresponding with order data Order data at the corresponding equipment of storage device identification is regarded as correct data.
It should be understood that due to the storage device identification that preset standard device identification is sending side server, target is deposited It is identical as preset standard device identification to store up device identification, shows that the order data of the machine correct data, institute will be regarded as Will assert that order data is actually " August order volume: 760 ".So the order data can be sent to reception side-line System, to revise inconsistent data content.
When file reception information is not received in the present embodiment when not receiving command reception information or.It will circulation Execute corresponding operation, it is ensured that the integrality of file transmitting successfully and is correctly transferred to corresponding with safeguard file Receive side system.
In addition, the embodiment of the present invention also proposes a kind of storage medium, the file being stored between system on the storage medium Transmission procedure, the file transmission procedure between the system realize that the file between system as described above passes when being executed by processor The step of passing method.
In addition, referring to Fig. 6, the embodiment of the present invention also proposes the file transfer device between a kind of system, between the system File transfer device includes:
Extraction module 10 is requested, for being transmitted according to the file when receiving the file transfer request of user's input Request determines corresponding target transmitting file and receives the reception side system of the target transmitting file;
It is understood that in view of when multiple systems are run at the same time to realize user demand often multiple systems that It can be there is information exchange, for example, file may be sent to side system is received by sending side system, still, between system between this Often the relatively high and stable property of complexity is poor for file transmission, the situation that the file in interaction is lost easily occurs, in turn results in The fluctuation of service of system.So the present embodiment is sending file to when receiving side system, directly file will not be sent to and connect Side system is received, and first file can be transferred in default memory block by default memory block as transfer, allows and receives side system master It is dynamic to go in default memory block to read file to realize that the file between system transmits, the steady of file transmission can be so improved significantly It is qualitative.
In the concrete realization, reference can be made to Fig. 3, will send side system and be abbreviated as system A, if there are 3 services in system A Device can be abbreviated as server A 1, server A 2 and server A 3 respectively.Meanwhile can will receive side system and be abbreviated as system B, The server of system B is abbreviated as server B 1 and server B 2 respectively.
It should be understood that the request is intended to locally deposit server A 1 when server A 1 receives file transfer request The file C of storage is transferred to server B 1.
File storage module 20, for storing target transmitting file to default memory block, and described in record storage The storage address of target transmitting file;
It is understood that first file C can be transferred in default memory block, default memory block is not belonging to receive side-line System, the default memory block can be neutral storage server.
File read module 30, for the storage address to be sent to the reception side system, so that the receiving side System reads the target transmitting file according to the storage address from the default memory block.
It should be understood that record file C is stored in index and address in default memory block, in order to server B1 can pull out the file C of originally server B 1 to be sent to according to the index and address from default memory block.
It is understood that first file C can be transferred in default memory block before sending file C to server B 1, Storage address is only sent to server B 1, can so reduce data volume directly interactive between two systems.Pass through reduction Data volume directly interactive between two systems, any system that can be reduced in two systems are collapsed between interacting strip system The negative influence come, improves stability.
In the present embodiment when to side system transmission file is received, elder generation stores file into default memory block, concurrently Send the storage address of this document to side system is received, so that receiving side system can obtain from default memory block according to storage address This document.It is apparent that being different from the mode for being directly transferred to file and receiving side system, the present embodiment will be by default memory block As transfer, first file is transferred in default memory block, can so reduce the data volume directly interacted between system, greatly The stability that file transmits between system is improved, and then solves the skill that cannot steadily carry out the transmission of the file between multiple systems Art problem.
In one embodiment, the file transfer device between the system further include:
Serial number creation module, for creating object transmission serial number corresponding with target transmitting file;
Directive generation module is instructed for generating file transmitting according to the object transmission serial number and the storage address;
The file read module 30 is also used to file transmitting instruction being sent to the reception side system, so that The reception side system extracts the object transmission from file transmitting instruction when receiving the file transmitting instruction Serial number and the storage address, the object transmission serial number are matched with Preset Transfer serial number, when it fails to match, by institute It states object transmission serial number to be added in the Preset Transfer serial number, and is read from the default memory block according to the storage address Take the target transmitting file.
In one embodiment, the file transfer device between the system further include:
Receive information monitoring module, for monitor whether to receive the command reception information of the receiving side system feedback with File reception information, it is raw when being successfully received the file transmitting instruction by the reception side system that described instruction receives information At the file reception information is generated after successfully reading the target transmitting file by the reception side system;
Termination message generation module, for giving birth to when receiving described instruction reception information and the file reception information At request termination message corresponding with the file transfer request, file is transmitted to realize from sending side server by the target It is delivered successfully to the reception side system.
In one embodiment, the file transfer device between the system further include:
First circulation execution module, for it is described by institute execution will to be returned to when not receiving described instruction reception information It states file transmitting instruction and is sent to the reception side system, so that the reception side system is receiving the file transmitting instruction When extract the object transmission serial number and the storage address from file transmitting instruction, by the object transmission serial number and Preset Transfer serial number is matched, and when it fails to match, the object transmission serial number is added in the Preset Transfer serial number, And the step of reading the target transmitting file from the default memory block according to the storage address, until receiving described Command reception information and the file reception information.
In one embodiment, the file transfer device between the system further include:
Second circulation execution module, for when not receiving the file reception information, creation to be transmitted with the target The corresponding new object transmission serial number of file, and it is described according to the object transmission based on new object transmission serial number return execution Serial number and the storage address generate the step of file transmitting instructs, until receiving described instruction receives information and the file Receive information.
In one embodiment, the file transfer device between the system further include:
File constructs module, for by default file head point, the target transmit file, default file portion with And default check part constructs file to be passed;
The file storage module 20 is also used to store the file to be passed to default memory block, and record storage The storage address of the file to be passed.
In one embodiment, the file transfer device between the system further include:
File calibration module, for receive user input file calibration request when, from the file calibration request It is middle to extract data item to be calibrated, and extract from target transmitting file first data corresponding with the data item to be calibrated Item content;Corresponding data item is generated according to the data item to be calibrated and extracts request, and the data item is extracted into request hair Send to the reception side system so that it is described receive side system from read out target transmitting file in extract with it is described to be calibrated The corresponding second data item content of data item, and the second data item content is fed back to sending side server;By described first Data item content is matched with the second data item content;When it fails to match, according to the data item to be calibrated from pre- It include data item and storage equipment in the default mapping relations if inquiring corresponding target storage device mark in mapping relations The corresponding relationship of mark;When target storage device mark is identical as preset standard device identification, by first data Item content is sent to the reception side system, so that the side system that receives is by the second number in the target read out transmitting file The first data item content is replaced with according to item content.
The other embodiments or specific implementation of file transfer device between system of the present invention can refer to above-mentioned each Embodiment of the method, 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.If listing equipment for drying Unit claim in, several in these devices, which can be, to be embodied by the same item of hardware.Word first, Second and the use of third etc. do not indicate any sequence, can be title by these word explanations.
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 a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the 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. the file delivery method between a kind of system, which is characterized in that the file delivery method between the system includes following step It is rapid:
When receiving the file transfer request of user's input, determine that corresponding target transmits text according to the file transfer request Part and the reception side system for receiving the target transmitting file;
Target transmitting file is stored to default memory block, and the storage address of the transmitting file of target described in record storage;
The storage address is sent to the reception side system, so that the reception side system is according to the storage address from institute It states and reads the target transmitting file in default memory block.
2. the file delivery method between the system as claimed in claim 1, which is characterized in that described that the target is transmitted file It stores to default memory block, and after the storage address of the transmitting file of target described in record storage, the file between the system is passed Pass method further include:
Creation object transmission serial number corresponding with target transmitting file;
File transmitting is generated according to the object transmission serial number and the storage address to instruct;
It is described that the storage address is sent to the reception side system, so that the reception side system is according to the storage address The target transmitting file is read from the default memory block, comprising:
File transmitting instruction is sent to the reception side system, so that the reception side system is receiving the file The object transmission serial number and the storage address are extracted from the file transmitting instruction when transmitting instruction, the target is passed Defeated serial number is matched with Preset Transfer serial number, and when it fails to match, the object transmission serial number is added to the default biography In defeated serial number, and the target transmitting file is read from the default memory block according to the storage address.
3. the file delivery method between system as claimed in claim 2, which is characterized in that described transmit the file instructs It is sent to the reception side system, so that the reception side system is passed when receiving the file transmitting instruction from the file Pass in instruction and extract the object transmission serial number and the storage address, by the object transmission serial number and Preset Transfer serial number into Row matching, when it fails to match, the object transmission serial number is added in the Preset Transfer serial number, and according to the storage After reading the target transmitting file in the default memory block, the file delivery method between the system is also wrapped for address It includes:
Monitor whether to receive the command reception information and file reception information of the receiving side system feedback, described instruction receives Information is by reception side system generation when being successfully received the file transmitting instruction, and the file reception information is by described Side system is received to generate after successfully reading the target transmitting file;
When receiving described instruction reception information and the file reception information, generate corresponding with the file transfer request Termination message is requested, is delivered successfully with realizing from sending side server by target transmitting file to the reception side system.
4. the file delivery method between system as claimed in claim 3, which is characterized in that it is described monitor whether to receive it is described After the command reception information and file reception information of receiving side system feedback, the file delivery method between the system is also wrapped It includes:
When not receiving described instruction reception information, returns to described instruct file transmitting of execution and is sent to the reception Side system, so that the reception side system extracts institute from file transmitting instruction when receiving the file transmitting instruction Object transmission serial number and the storage address are stated, the object transmission serial number is matched with Preset Transfer serial number, is being matched When failure, the object transmission serial number is added in the Preset Transfer serial number, and according to the storage address from described pre- If the step of reading the target transmitting file in memory block, until receiving described instruction receives information and the file reception Information.
5. the file delivery method between system as claimed in claim 3, which is characterized in that it is described monitor whether to receive it is described After the command reception information and file reception information of receiving side system feedback, the file delivery method between the system is also wrapped It includes:
When not receiving the file reception information, creation new object transmission sequence corresponding with target transmitting file Number, and it is described according to the object transmission serial number and storage address generation text based on new object transmission serial number return execution The step of part transmitting instruction, until receiving described instruction receives information and the file reception information.
6. the file delivery method between system as described in any one of claims 1 to 5, which is characterized in that described to receive When the file transfer request inputted to user, corresponding target transmitting file and reception are determined according to the file transfer request After the reception side system of the target transmitting file, the file delivery method between the system further include:
By default file head point, the target transmit file, default file portion and the building of default check part to Transmit file;
It is described to store target transmitting file to default memory block, and the storage of the transmitting file of target described in record storage Location, comprising:
The file to be passed is stored to default memory block, and the storage address of file to be passed described in record storage.
7. the file delivery method between system as described in any one of claims 1 to 5, which is characterized in that it is described will be described Storage address is sent to the reception side system, so that the reception side system is according to the storage address from the default storage After reading the target transmitting file in area, the file delivery method between the system further include:
When receiving the file calibration request of user's input, data item to be calibrated is extracted from the file calibration request, and First data item content corresponding with the data item to be calibrated is extracted from target transmitting file;
Corresponding data item is generated according to the data item to be calibrated and extracts request, and the data item is extracted into request and is sent to The reception side system, so that the side system that receives extracts and the data to be calibrated from the target transmitting file read out The corresponding second data item content of item, and the second data item content is fed back to sending side server;
The first data item content is matched with the second data item content;
When it fails to match, corresponding target storage device mark is inquired from default mapping relations according to the data item to be calibrated Know, includes the corresponding relationship of data item and storage device identification in the default mapping relations;
When target storage device mark is identical as preset standard device identification, the first data item content is sent to The reception side system, so that the side system that receives replaces the second data item content in the target read out transmitting file For the first data item content.
8. a kind of server, which is characterized in that the server includes: memory, processor and is stored on the memory And can on the processor between operating system file transmission procedure, the file transmission procedure between the system is by the processing The step of file delivery method between the system as described in any one of claims 1 to 7 is realized when device executes.
9. a kind of storage medium, which is characterized in that the file transmission procedure being stored on the storage medium between system, the system The file between the system as described in any one of claims 1 to 7 is realized when file transmission procedure between system is executed by processor The step of transmission method.
10. the file transfer device between a kind of system, which is characterized in that the file transfer device between the system includes:
Request extraction module, for receive user input file transfer request when, it is true according to the file transfer request Fixed corresponding target transmitting file and the reception side system for receiving the target transmitting file;
File storage module, for storing target transmitting file to default memory block, and target described in record storage passes Pass the storage address of file;
File read module, for the storage address to be sent to the reception side system, so that the reception side system root The target transmitting file is read from the default memory block according to the storage address.
CN201811128944.1A 2018-09-26 2018-09-26 File delivery method, server, storage medium and device between system Pending CN109672718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811128944.1A CN109672718A (en) 2018-09-26 2018-09-26 File delivery method, server, storage medium and device between system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811128944.1A CN109672718A (en) 2018-09-26 2018-09-26 File delivery method, server, storage medium and device between system

Publications (1)

Publication Number Publication Date
CN109672718A true CN109672718A (en) 2019-04-23

Family

ID=66142028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811128944.1A Pending CN109672718A (en) 2018-09-26 2018-09-26 File delivery method, server, storage medium and device between system

Country Status (1)

Country Link
CN (1) CN109672718A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092817A (en) * 2019-12-23 2020-05-01 中国联合网络通信集团有限公司 Data transmission method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111092817A (en) * 2019-12-23 2020-05-01 中国联合网络通信集团有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
CN107295080A (en) Date storage method and server applied to distributed server cluster
US20140297809A1 (en) Apparatus and method for processing multiple open apis
CN103186466B (en) Information interactive testing device and method based on association automatic generating test case
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN101753592B (en) Method and system for data processing
US6907406B2 (en) On-demand service expanding system and method for providing services
CN107179697A (en) A kind of intelligent home equipment control method, apparatus and system
CN103677988B (en) The multi-process means of communication and system for software systems
CN102158498A (en) Implementation method for network node structure supporting service customization and expansion
CN110351342A (en) Service order processing method, device, computer equipment and storage medium
CN109582335A (en) It is a kind of without interrupt storage cluster node online upgrading method, device and equipment
CN109672718A (en) File delivery method, server, storage medium and device between system
CN1973282A (en) System and method for managing a change to a cluster configuration
CN103442256B (en) A kind of method and system that electric program menu is realized based on HTML5
CN107180344A (en) For recharge method, device and system
CN103024049B (en) Realize the system that browser data is synchronous
CN103034632A (en) Information transmitting method and a system
CN109842524A (en) Automatically updating method, device, electronic equipment and computer readable storage medium
JP2009157786A (en) Message transmission control method, message transmission control device, and message transmission control program
EP2797277A1 (en) Thin terminal mode-based security information exchange system, terminal, server, and method
CN111930529A (en) Data synchronization method, module and system based on message queue and micro-service
US7143313B2 (en) Support interface module bug submitter
US8374593B2 (en) Method of providing mobile application
JP2002373133A (en) Data working relay method and device, network system device, data working relay processing program and recording medium with its processing program recorded
CN110264035A (en) Configuration method, device, terminal and the storage medium of workflow

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