CN109379447A - A kind of document down loading method and system - Google Patents

A kind of document down loading method and system Download PDF

Info

Publication number
CN109379447A
CN109379447A CN201811595601.6A CN201811595601A CN109379447A CN 109379447 A CN109379447 A CN 109379447A CN 201811595601 A CN201811595601 A CN 201811595601A CN 109379447 A CN109379447 A CN 109379447A
Authority
CN
China
Prior art keywords
data
file
client
application server
communication connection
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
CN201811595601.6A
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.)
Beijing Wondersoft Technology Co Ltd
Original Assignee
Beijing Wondersoft Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wondersoft Technology Co Ltd filed Critical Beijing Wondersoft Technology Co Ltd
Priority to CN201811595601.6A priority Critical patent/CN109379447A/en
Publication of CN109379447A publication Critical patent/CN109379447A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session
    • H04L67/145Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The embodiment of the invention provides a kind of document down loading method and systems, which comprises receives the data packet for terminating data or file data including heartbeat data or heartbeat that application server is sent;In the case where data packet includes heartbeat data, the first communication connection between client and application server is kept to be in unactivated state;In the case where data packet includes that heartbeat terminates data, the first communication connection between client and application server is activated;In the case where data packet includes file data, the file data that application server is sent is received by the first communication connection, file data is obtained from the file server by second communication connection.The communication connection between client and application server can be kept by heartbeat data packets, when application server being avoided to obtain the biggish file of data volume from file server, the problem of time-out leads to failed download.

Description

A kind of document down loading method and system
Technical field
The present invention relates to network technique fields, more particularly to a kind of document down loading method and system.
Background technique
In network system, user obtains data by the application server that client accesses distal end, wherein the one of data Kind canonical form is file.
In the prior art, the key step of file download includes: firstly, client sends file download to application server Request;Then, application server carries out the backward file server parsed to downloading request and obtains file data;Finally, answering File data is back to client with server.
However, application server obtains file data from file server will appear time-out when file data is more Situation causes client to obtain file data failure.
Summary of the invention
In view of the above problems, the present invention is proposed in order to provide solving the above problems or at least being partially solved above-mentioned ask A kind of document down loading method and system of topic.
According to the present invention in a first aspect, provide a kind of document down loading method, be applied to client, the client with Application server first communicates to connect, and the application server and file server second communicate to connect, which comprises
Receive the data packet that the application server is sent, the data packet include: heartbeat data, heartbeat terminate data, One of file data type;
In the case where the data packet includes heartbeat data, keep between the client and the application server First communication connection is in unactivated state;
In the case where the data packet includes that heartbeat terminates data, activate the client and the application server it Between first communication connection;
In the case where the data packet includes file data, the application service is received by first communication connection The file data that device is sent, the file data are obtained from the file server by second communication connection.
Optionally, in the step for receiving the file data that the application server is sent by first communication connection After rapid, the method also includes:
The file data is decrypted according to the identification information of the client.
Optionally, in the step for receiving the file data that the application server is sent by first communication connection After rapid, the method also includes:
The first communication connection between the client and the application server is disconnected, first communication connection is in institute It states before client sends file download request to the application server and establishes.
Optionally, the application server is after receiving the file download request, according to prefixed time interval to The client sends heartbeat data.
Optionally, the application server encrypts the file data according to the identification information of the client, described Identification information includes: at least one of client ip address, subscriber identity information.
According to another aspect of the present invention, a kind of happy file download system is provided, the system comprises client, using clothes Business device, file server, the client and the application server first communicate to connect, the application server and the text Part server second communicates to connect, and the client includes:
Packet-receiving module, the data packet sent for receiving the application server, the data packet includes: heartbeat Data, heartbeat terminate one of data, file data type;
First communication connection keeps module, for keeping the visitor in the case where the data packet includes heartbeat data The first communication connection between family end and the application server is in unactivated state;
First communication connection active module, for activating institute in the case where the data packet includes that heartbeat terminates data State the first communication connection between client and the application server;
File data packet download module, in the case where the data packet includes the file data, by described First communication connection receives the file data that the application server is sent, and the file data is communicated to connect by described second It is obtained from the file server.
Optionally, the client further include:
Deciphering module, for the file data to be decrypted according to the identification information of the client.
Optionally, the system also includes:
First communication connection disconnects module, communicates for disconnecting first between the client and the application server Connection, first communication connection are established before the client sends file download request to the application server.
Optionally, the application server includes:
Heartbeat data packets sending module, for after receiving the file download request, according to prefixed time interval Heartbeat data is sent to the client.
Optionally, the application server includes:
Encrypting module, for being encrypted according to the identification information of the client to the file data, the identification information It include: at least one of client ip address, subscriber identity information.
The embodiment of the present invention has the advantages that
A kind of document down loading method according to an embodiment of the present invention and system, which comprises receive the application clothes It is engaged in the data packet that device sends, the data packet includes: that heartbeat data, heartbeat terminate one of data, file data type;? In the case that the data packet includes heartbeat data, the first communication link between the client and the application server is kept It connects in unactivated state;In the case where the data packet includes that heartbeat terminates data, the client is activated to answer with described With the first communication connection between server;In the case where the data packet includes file data, communicated by described first Connection receives the file data that the application server is sent, and the file data is communicated to connect by described second from the text It is obtained in part server.The communication connection between client and application server can be kept by heartbeat data packets, avoid answering When the biggish file of data volume is obtained from file server with server, the problem of time-out leads to failed download.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of step flow chart of document down loading method embodiment one according to the present invention;
Fig. 2 shows a kind of step flow charts of document down loading method embodiment two according to the present invention;
Fig. 3 shows a kind of structural block diagram of file download system embodiment three according to the present invention;
Fig. 4 shows a kind of structural block diagram of file download system example IV according to the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Embodiment one
Referring to Fig.1, a kind of step flow chart of document down loading method embodiment one according to the present invention is shown, is applied to Client, the client and application server first communicate to connect, and the application server is communicated with file server second Connection, can specifically include following steps:
Step 101, the data packet that the application server is sent is received, the data packet includes: heartbeat data, heartbeat knot One of beam data, file data type.
Wherein, heartbeat data can be the data of specified format and content, or empty content, for maintaining client Communication connection between application server.Application server is sent out after the first communication connection is established according to certain time interval Send heartbeat data.
It can be to be different from other data of heartbeat data that heartbeat, which terminates data, be also used for indicating that application server has obtained File data is got, and prepares to return to client.Application server after getting file data in file server, Stop sending heartbeat data, and send heartbeat to terminate data, to prompt client to prepare to receive file data.
File data is the business datum of user's request.Application server is after sending heartbeat end signal, to client End sends file data.
It is appreciated that in order to reduce network overhead, the data volume that heartbeat data and heartbeat terminate data is smaller as far as possible.
In addition, three kinds of data all have header packet information, containing type information in header packet information, for distinguishing three types Data.Type information can be indicated using numerical value, can also be indicated using enumerated value.For example, 0 represents heartbeat data, 1 represents the heart Jumping terminates data, and 2 represent file data.Certainly, type information can be set according to practical application scene, the embodiment of the present invention pair Its is without restriction.
The embodiment of the present invention is applied to client, and client can be for mobile terminal, computer etc., and application server can be with To provide the remote server of business, for example, the corresponding background server of application program, file server is used for storage file number According to.Application server is communicated to connect with client, file server by realizations such as wireless network, cable networks respectively.
Step 102, in the case where the data packet includes heartbeat data, the client and the application service are kept The first communication connection between device is in unactivated state.
Wherein, do not transmit file data under unactivated state, when first communication connection be initialized as after initialization it is non- State of activation.
It specifically, whether can be the corresponding type mark of heartbeat data packets according to the type information in packet header information Know.For example, then the data packet includes heartbeat data when the type information in packet header information is 0;When packet header is believed Type information in breath is not 0, then the data packet does not include heartbeat data.
Step 103, in the case where the data packet includes that heartbeat terminates data, the client and the application are activated The first communication connection between server.
Wherein, the first communication connection of activation, which refers to, is revised as activation shape from unactivated state for the state of activation of communication connection State, to prepare to receive file data.
It specifically, whether can be that heartbeat terminates the corresponding class of data packet according to the type information in packet header information Type mark.For example, then the data packet includes that heartbeat terminates data when the type information in packet header information is 1;Work as data Type information in packet header packet information is not 1, then the data packet does not include that heartbeat terminates data.
Step 104, in the case where the data packet includes file data, by described in the first communication connection reception The file data that application server is sent, the file data are obtained from the file server by second communication connection It takes.
It specifically, whether can be the corresponding type mark of file data packet according to the type information in packet header information Know.For example, then the data packet includes file data when the type information in packet header information is 2;When packet header is believed Type information in breath is not 2, then the data packet does not include file data.
In embodiments of the present invention, after the first communication connection is activated, i.e., in the first communication connection in activation shape File data is received under state.
A kind of document down loading method according to the present invention and system, which comprises receive the application server hair The data packet sent, the data packet include: that heartbeat data, heartbeat terminate one of data, file data type;In the number In the case where including heartbeat data according to packet, keeps first between the client and the application server to communicate to connect and be in Unactivated state;In the case where the data packet includes that heartbeat terminates data, the client and the application service are activated The first communication connection between device;In the case where the data packet includes file data, connect by described first The file data that the application server is sent is received, the file data is communicated to connect by described second from the file service It is obtained in device.The communication connection between client and application server can be kept by heartbeat data packets, avoid application service When device obtains the biggish file of data volume from file server, the problem of time-out leads to failed download.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of document down loading method embodiment two according to the present invention is shown, is applied to Client, the client and application server first communicate to connect, and the application server is communicated with file server second Connection, can specifically include following steps:
Step 201, the data packet that the application server is sent is received, the data packet includes: heartbeat data, heartbeat knot One of beam data, file data type.
The step is referred to the detailed description of step 101, and details are not described herein.
Optionally, in another embodiment of the invention, the application server is believed according to the mark of the client Breath encrypts the file data, and the identification information includes: at least one of client ip address, subscriber identity information.
Wherein, it is automatic to obtain or be arranged when client ip address can connect wireless network or cable network for client Network address.
Subscriber identity information can log in the account information used when the corresponding application of application server, Ke Yiwei for user Mailbox, telephone number or other identification informations.
The embodiment of the present invention can pass through preset encryption rule pair according to the identification information of client as code key File data is encrypted, so that the file data of downloading can be decrypted by only sending the client of request, is helped In the safety for guaranteeing file data.
Step 202, in the case where the data packet includes heartbeat data, the client and the application service are kept The first communication connection between device is in unactivated state.
The step is referred to the detailed description of step 102, and details are not described herein.
Step 203, in the case where the data packet includes that heartbeat terminates data, the client and the application are activated The first communication connection between server.
The step is referred to the detailed description of step 103, and details are not described herein.
Step 204, in the case where the data packet includes file data, by described in the first communication connection reception The file data that application server is sent, the file data are obtained from the file server by second communication connection It takes.
The step is referred to the detailed description of step 104, and details are not described herein.
Step 205, the file data is decrypted according to the identification information of the client.
In embodiments of the present invention, after the decryption by document presentation to user.
For the Encryption Algorithm of application server in step 201, client is using its identification information to the number of files of downloading According to being decrypted, so that the file data of the client downloads can be decrypted by realizing client to the greatest extent, guarantee the safety of file data Property.
Step 206, the first communication connection between the client and the application server, first communication are disconnected It is connected to before the client sends file download request to the application server and establishes.
Wherein, file download request is the request that client request downloads file data, and client letter is carried in request The information of breath and file destination data.Wherein, client-side information returns to number after application server has downloaded file data According to when use;The information of file destination data is that application server is used when obtaining file data to file server.
The embodiment of the present invention can disconnect the first communication connection after file download completion, reduce network and occupy, so that Network is other client services, improves file download success rate.
Optionally, in another embodiment of the invention, the application server is asked receiving the file download After asking, heartbeat data is sent to the client according to prefixed time interval.
Wherein, time interval can be set according to practical application scene, and time interval is smaller, and network overhead is bigger;Time Interval is bigger, and network overhead is smaller.
The embodiment of the present invention can by continuously transmit heartbeat data packets keep between client and application server the One communication connection avoids downloading large file from leading to connection time-out, failed download.
A kind of document down loading method according to the present invention and system, which comprises receive the application server hair The data packet sent, the data packet include: that heartbeat data, heartbeat terminate one of data, file data type;In the number In the case where including heartbeat data according to packet, keeps first between the client and the application server to communicate to connect and be in Unactivated state;In the case where the data packet includes that heartbeat terminates data, the client and the application service are activated The first communication connection between device;In the case where the data packet includes file data, connect by described first The file data that the application server is sent is received, the file data is communicated to connect by described second from the file service It is obtained in device.The communication connection between client and application server can be kept by heartbeat data packets, avoid application service When device obtains the biggish file of data volume from file server, the problem of time-out leads to failed download.
Embodiment three
Referring to Fig. 3, a kind of structural block diagram of file download system embodiment three according to the present invention, the system are shown Including client 301, application server 302, file server 303, the client 301 and the application server 302 the One communication connection, the application server 302 are communicated to connect with the file server 303 second, and the client 301 is wrapped It includes:
Packet-receiving module 3011, the data packet sent for receiving the application server, the data packet include: Heartbeat data, heartbeat terminate one of data, file data type.
First communication connection keeps module 3012, for keeping institute in the case where the data packet includes heartbeat data The first communication connection between client and the application server is stated in unactivated state.
First communication connection active module 3013, for swashing in the case where the data packet includes that heartbeat terminates data The first communication connection between the client living and the application server.
File data packet download module 3014, for passing through in the case where the data packet includes the file data First communication connection receives the file data that the application server is sent, and the file data is communicated by described second Connection is obtained from the file server.
A kind of document down loading method according to the present invention and system, the system comprises client, application server, files Server, the client and the application server first communicate to connect, the application server and the file server Second communication connection, the client includes: packet-receiving module, the data sent for receiving the application server Packet, the data packet include: that heartbeat data, heartbeat terminate one of data, file data type;First communication connection is kept Module, for keeping between the client and the application server in the case where the data packet includes heartbeat data First communication connection be in unactivated state;First communication connection active module, for including heartbeat knot in the data packet In the case where beam data, first between the client and the application server is activated to communicate to connect;Under file data packet Module is carried, for being communicated to connect described in receiving by described first in the case where the data packet includes the file data The file data that application server is sent, the file data are obtained from the file server by second communication connection It takes.The communication connection between client and application server can be kept by heartbeat data packets, avoid application server from text When obtaining the biggish file of data volume in part server, the problem of time-out leads to failed download.
Example IV
Referring to Fig. 4, a kind of structural block diagram of file download system example IV according to the present invention, the system are shown Including client 401, application server 402, file server 403, the client 401 and the application server 402 the One communication connection, the application server 402 are communicated to connect with the file server 403 second, and the client 401 is wrapped It includes:
Packet-receiving module 4011, the data packet sent for receiving the application server, the data packet include: Heartbeat data, heartbeat terminate one of data, file data type.
First communication connection keeps module 4012, for keeping institute in the case where the data packet includes heartbeat data The first communication connection between client and the application server is stated in unactivated state.
First communication connection active module 4013, for swashing in the case where the data packet includes that heartbeat terminates data The first communication connection between the client living and the application server.
File data packet download module 4014, for passing through in the case where the data packet includes the file data First communication connection receives the file data that the application server is sent, and the file data is communicated by described second Connection is obtained from the file server.
First communication connection disconnects module 4015, for disconnecting first between the client and the application server Communication connection, first communication connection are built before the client sends file download request to the application server It is vertical.
Deciphering module 4016, for the file data to be decrypted according to the identification information of the client.
Optionally, in embodiments of the present invention, the application server 402, comprising:
Heartbeat data packets sending module 4021, for after receiving the file download request, according to preset time It is spaced to the client and sends heartbeat data.
Optionally, in embodiments of the present invention, the application server 402 includes:
Encrypting module 4022, for being encrypted according to the identification information of the client to the file data, the mark Information includes: at least one of client ip address, subscriber identity information.
A kind of document down loading method according to the present invention and system, the system comprises client, application server, files Server, the client and the application server first communicate to connect, the application server and the file server Second communication connection, the client includes: packet-receiving module, the data sent for receiving the application server Packet, the data packet include: that heartbeat data, heartbeat terminate one of data, file data type;First communication connection is kept Module, for keeping between the client and the application server in the case where the data packet includes heartbeat data First communication connection be in unactivated state;First communication connection active module, for including heartbeat knot in the data packet In the case where beam data, first between the client and the application server is activated to communicate to connect;Under file data packet Module is carried, for being communicated to connect described in receiving by described first in the case where the data packet includes the file data The file data that application server is sent, the file data are obtained from the file server by second communication connection It takes.The communication connection between client and application server can be kept by heartbeat data packets, avoid application server from text When obtaining the biggish file of data volume in part server, the problem of time-out leads to failed download.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together based on this teaching.As described above, structure required by this kind of system is constructed It is obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various programming languages Speech realize summary of the invention described herein, and the description that language-specific is done above be in order to disclose it is of the invention most Good embodiment.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit requires, abstract and attached drawing) disclosed in each feature can be by providing identical, equivalent, or similar purpose alternative features come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in file download equipment according to an embodiment of the present invention or The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein Point or whole device or device programs (for example, computer program and computer program product).Such this hair of realization Bright program can store on a computer-readable medium, or may be in the form of one or more signals.It is such Signal can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of document down loading method is applied to client, the client and application server first are communicated to connect, described to answer It is communicated to connect with server and file server second, which is characterized in that the described method includes:
Receive the data packet that the application server is sent, the data packet includes: that heartbeat data, heartbeat terminate data, file One of data type;
In the case where the data packet includes heartbeat data, first between the client and the application server is kept Communication connection is in unactivated state;
In the case where the data packet includes that heartbeat terminates data, activate between the client and the application server First communication connection;
In the case where the data packet includes file data, the application server is received by first communication connection and is sent out The file data sent, the file data are obtained from the file server by second communication connection.
2. the method according to claim 1, wherein described by being answered described in the first communication connection reception After the step of file data sent with server, the method also includes:
The file data is decrypted according to the identification information of the client.
3. the method according to claim 1, wherein described by being answered described in the first communication connection reception After the step of file data sent with server, the method also includes:
The first communication connection between the client and the application server is disconnected, first communication connection is in the visitor Family end is established before sending file download request to the application server.
4. according to the method described in claim 3, it is characterized in that, the application server is asked receiving the file download After asking, heartbeat data is sent to the client according to prefixed time interval.
5. according to the method described in claim 2, it is characterized in that, the application server is believed according to the mark of the client Breath encrypts the file data, and the identification information includes: at least one of client ip address, subscriber identity information.
6. a kind of file download system, the system comprises client, application server, file server, the client with The application server first communicates to connect, and the application server and the file server second communicate to connect, feature It is, the client includes:
Packet-receiving module, the data packet sent for receiving the application server, the data packet includes: beats Terminate one of data, file data type according to, heartbeat;
First communication connection keeps module, for keeping the client in the case where the data packet includes heartbeat data The first communication connection between the application server is in unactivated state;
First communication connection active module, for activating the visitor in the case where the data packet includes that heartbeat terminates data The first communication connection between family end and the application server;
File data packet download module, for passing through described first in the case where the data packet includes the file data Communication connection receives the file data that the application server is sent, and the file data is communicated to connect by described second from institute It states in file server and obtains.
7. system according to claim 6, which is characterized in that the client further include:
Deciphering module, for the file data to be decrypted according to the identification information of the client.
8. system according to claim 6, which is characterized in that the system also includes:
First communication connection disconnects module, for disconnecting the first communication link between the client and the application server It connects, first communication connection is established before the client sends file download request to the application server.
9. system according to claim 8, which is characterized in that the application server includes:
Heartbeat data packets sending module, for after receiving the file download request, according to prefixed time interval to institute It states client and sends heartbeat data.
10. system according to claim 7, which is characterized in that the application server includes:
Encrypting module, for being encrypted according to the identification information of the client to the file data, the identification information includes: At least one of client ip address, subscriber identity information.
CN201811595601.6A 2018-12-25 2018-12-25 A kind of document down loading method and system Pending CN109379447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811595601.6A CN109379447A (en) 2018-12-25 2018-12-25 A kind of document down loading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811595601.6A CN109379447A (en) 2018-12-25 2018-12-25 A kind of document down loading method and system

Publications (1)

Publication Number Publication Date
CN109379447A true CN109379447A (en) 2019-02-22

Family

ID=65371724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811595601.6A Pending CN109379447A (en) 2018-12-25 2018-12-25 A kind of document down loading method and system

Country Status (1)

Country Link
CN (1) CN109379447A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036349A (en) * 2009-09-29 2011-04-27 联想(北京)有限公司 Method for maintaining connection of terminal and network server, terminal and network server
US20150304392A1 (en) * 2012-10-31 2015-10-22 China Unionpay Co., Ltd. File transmission method and system thereof
CN106936868A (en) * 2015-12-30 2017-07-07 北京明朝万达科技股份有限公司 A kind of application system data security protection method combined with cloud storage and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102036349A (en) * 2009-09-29 2011-04-27 联想(北京)有限公司 Method for maintaining connection of terminal and network server, terminal and network server
US20150304392A1 (en) * 2012-10-31 2015-10-22 China Unionpay Co., Ltd. File transmission method and system thereof
CN106936868A (en) * 2015-12-30 2017-07-07 北京明朝万达科技股份有限公司 A kind of application system data security protection method combined with cloud storage and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JAVA程序源: "web项目-文件下载(文件服务器-应用服务器-客户端)", 《CSDN,HTTPS://BLOG.CSDN.NET/QQ_34129814/ARTICLE/DETAILS/78625651》 *

Similar Documents

Publication Publication Date Title
CN104580406B (en) A kind of method and apparatus of synchronous logging state
CN101854371A (en) Method and device for calling and processing JavaScript object
CN108234636A (en) Voice broadcast method, device, system and intellectual broadcast equipment
CN104243213A (en) Method, device and system for acquiring configuration information of routers
CN105227673B (en) Data download method, client, server and the system of anti-abduction
CN108549586B (en) Information processing method and device
CN109639819A (en) Document transmission method, client, server and system
CN108696899A (en) Sip message transmits and method of reseptance and transmission and reception device
CN102779071A (en) Method, device and system for calling software interface
CN105554136B (en) Backup Data restoring method, apparatus and system
CN111224792A (en) Conference access method and device
CN109976922A (en) Discovery method, equipment and computer storage medium between small routine platform
CN106664535B (en) A kind of method for sending information, device, terminal device and system
CN105516372B (en) Processing method, device and the server of filename
CN109561010A (en) Message processing method, electronic equipment and readable storage medium
CN106161224A (en) Method for interchanging data, device and equipment
CN109150844A (en) Determine the methods, devices and systems of digital certificate
CN106453069B (en) A kind of instant communication message sends, checks, checking control method and its equipment
CN107508805B (en) A kind of data package processing method and system
CN109379447A (en) A kind of document down loading method and system
CN105119944B (en) Application starting method and related device
CN104394168A (en) Method and server for matching wishing information anonymously transmitted by single party
CN110213346A (en) The transmission method and device of encryption information
CN106331051B (en) Document transmission method and system and reception file device send file device
CN108279855A (en) A method of read-write storage device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190222