CN102238224A - Method and system for implementing file downloading lock-in synchronism - Google Patents
Method and system for implementing file downloading lock-in synchronism Download PDFInfo
- Publication number
- CN102238224A CN102238224A CN2011100888620A CN201110088862A CN102238224A CN 102238224 A CN102238224 A CN 102238224A CN 2011100888620 A CN2011100888620 A CN 2011100888620A CN 201110088862 A CN201110088862 A CN 201110088862A CN 102238224 A CN102238224 A CN 102238224A
- Authority
- CN
- China
- Prior art keywords
- file
- download
- status information
- state
- communication server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and a system for implementing file downloading lock-in synchronism, of which a technical scheme is as follows: a communication server transmits the obtained file downloading state information to a synchronous storage server; and the synchronous storage server stores and updates the file downloading state information and transmits the updated file downloading state information to a target user. The method and the system implement file downloading lock-in synchronism without downloading any software.
Description
Technical field
The invention belongs to the field of network technology, relate in particular to a kind of realization file and download locking method for synchronous and system.
Background technology
The development of, hardware soft along with the Internet, multimedia messagesization is popularized, and people's interchange has in daily life also used multimedia technology more, such as mobile phone, phone, speech communication etc.Information sources such as information, books, audio frequency and video are covered with whole the Internet, and people obtain huge amount of information every day from the Internet, and meanwhile, the safety issue of resource also exposes thereupon, and this is a very serious problem.Resource files such as confidentiality material are arbitrarily downloaded, are usurped, thereby cause the information resources subject to severe risks of damage.Especially as the network teleconference, long-distance education, the contour seriousness occasion of shared file system, upload and the file that shows all is extremely important, if these files are arbitrarily downloaded, usurped, will cause very serious consequence.
For preventing the appearance of this situation, traditional way is a hidden file, does not allow to download, and still, the user of these methods operation and experience effect are very unfriendly.And, even can realize the locking of downloading, also can't realize genlocing, this will inevitably have influence on the effect as remote synchronization application systems such as video conference, long-distance educations, thus safety that can't protected file; Some systems that need download and install control may realize genlocing, but are not based on webpage, and this will affect to user's software and hardware, and may bring great potential safety hazard.
Summary of the invention
The invention provides a kind of realization file and download locking method for synchronous and system, realized that need not to download any software can realize file download locking synchronously.
Technical scheme of the present invention is as follows:
Communication server is sent to the stores synchronized server with the file download status information of obtaining; Described file download status information after described stores synchronized server stores and transaction file download status information also will be upgraded is sent to the targeted customer.
The invention provides a kind of realization file and download locking method for synchronous and system, realized that need not to download any software can realize file download locking synchronously.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is a flow chart of the present invention;
Fig. 2 is a structure principle chart of the present invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
The principle of technical solution of the present invention is as follows:
Source user is opened webpage, the web-page requests data processing server, loading has the listed files of file download function, and whether can carry out down operation according to the download state decision file of each file, and webpage loads the Flash plug-in unit and forever is connected with communication server foundation;
When source user is downloaded lock operation to single file, if allow download state then the modification state for forbidding download state, if forbid download state then the modification state for allowing download state, and asynchronous request msg processing server is saved in data processing server with the download state of this file, the API (Application Programming Interface, application programming interface) that calls the Flash plug-in unit simultaneously sends to communication server with this file download state;
The targeted customer opens webpage and loads the listed files with file download function, and whether can carry out down operation according to the download state decision file of each file, loads the Flash plug-in unit simultaneously and forever is connected with communication server foundation;
After communication server is received the file download status information instruction that source user sends over, be forwarded to the stores synchronized server and by stores synchronized server stores and transaction file download status information, at synchronization, the stores synchronized server is only safeguarded up-to-date information, the stores synchronized server sends to communication server with up-to-date information, and communication server sends to all with information needs synchronous targeted customer;
After the targeted customer receives the file download status information that communication server sends over, import the file download state into by Flash plug-in unit invoking web page function, the webpage function is handled the back download function of file is carried out corresponding change, and embodies on webpage.
Detailed technical scheme of the present invention is as follows:
Source user is opened webpage, and the web-page requests data processing server loads the listed files with file download function, and whether can carry out down operation according to the download state sign decision file of each file, and makes corresponding embodiment when tabulation shows; Webpage loads the Flash plug-in unit automatically simultaneously, and the Flash plug-in unit is set up with communication server and forever is connected, and the user sends and receive file download state synchronizing information;
When source user is downloaded lock operation to single file, judge according to current file download state, if allow then to be forbidding, if forbidding is then for allowing; Call the JavaScript function,, the download state of this file is saved in the data processing server database by the asynchronous request msg processing server of Ajax; Call the Flash plug-in unit by JavaScript and send function by the file download state that ExternalInterface.addCallback registered, import the information and the download state of this file into, Flash plug-in unit call XML Socket class methods send to communication server with the information and the download state of this file;
The targeted customer opens webpage, and the web-page requests data processing server loads the listed files with file download function, and whether can carry out down operation according to the download state sign decision file of each file, and makes corresponding embodiment when tabulation shows; Webpage loads the Flash plug-in unit automatically simultaneously, and the Flash plug-in unit is set up with communication server and forever is connected, and the user sends and receive file download state synchronizing information;
When communication server receives after source user sends over the information and download status information of file, forward information to the stores synchronized server immediately and by stores synchronized server stores and transaction file download status information, at synchronization, the stores synchronized server is only safeguarded up-to-date information, the stores synchronized server sends to communication server with up-to-date information, and communication server sends to information needs synchronous targeted customer;
After targeted customer's Flash plug-in unit receives the file download status information that communication server sends over, ExternalInterface.call method call webpage JavaScript file download state by the Flash plug-in unit is handled function, and imports fileinfo and the download state that receives into; JavaScript file download state is handled function and is searched corresponding file according to transmitting the fileinfo and the download state of coming in webpage, and its download state is operated and corresponding page display update.
Fig. 1 is a flow chart of the present invention, is described in detail as follows:
Step 101: source user is opened webpage, the web-page requests data processing server, loading has the listed files of file download function, and whether can carry out down operation according to the download state decision file of each file, and webpage loads the Flash plug-in unit and forever is connected with communication server foundation.
In the technique scheme, wherein step comprises following process:
1a) source user is opened webpage, and the web-page requests data processing server loads the listed files with file download function, and whether can carry out down operation according to the download state sign decision file of each file, and makes corresponding embodiment when tabulation shows;
1b) webpage loads the Flash plug-in unit automatically, and the Flash plug-in unit is set up with communication server and forever is connected, and the user sends and receive file download state synchronizing information.
Step 102: when source user is downloaded lock operation to single file, if allow download state then the modification state for forbidding download state, if forbid download state then the modification state for allowing download state, and asynchronous request msg processing server is saved in data processing server with the download state of this file, and the API that calls the Flash plug-in unit simultaneously sends to communication server with this file download state.
In the technique scheme, wherein step comprises following process:
2a) when source user is downloaded lock operation to single file, judge, if allow then to be forbidding, if forbidding is then for allowing according to current file download state;
2b) call the JavaScript function,, the download state of this file is saved in the data processing server database by the asynchronous request msg processing server of Ajax;
2c) call the Flash plug-in unit and send function by the file download state that ExternalInterface.addCallback registered by JavaScript, import the information and the download state of this file into, Flash plug-in unit call XML Socket class methods send to communication server with the information and the download state of this file.
Step 103: the targeted customer opens webpage and loads the listed files with file download function, and whether can carry out down operation according to the download state decision file of each file, loads the Flash plug-in unit simultaneously and forever is connected with communication server foundation.
In the technique scheme, wherein step comprises following process:
3a) targeted customer opens webpage, and the web-page requests data processing server loads the listed files with file download function, and whether can carry out down operation according to the download state sign decision file of each file, and makes corresponding embodiment when tabulation shows;
3b) webpage loads the Flash plug-in unit automatically simultaneously, and the Flash plug-in unit is set up with communication server and forever is connected, and the user sends and receive file download state synchronizing information.
Step 104: after communication server is received the file download status information instruction that source user sends over, forward information to the stores synchronized server immediately, at synchronization, the stores synchronized server is only safeguarded up-to-date information, the stores synchronized server sends to communication server with up-to-date information, and communication server sends to all with information needs synchronous targeted customer.
In the technique scheme, wherein step comprises following process:
4a) receive after source user sends over the information and download status information of file when communication server, information is forwarded to the stores synchronized server;
4b) stores synchronized server stores and transaction file download status information, because the file download status information can be initiated at one time by source user in many ways, so the stores synchronized server is only preserved a up-to-date file download status information, when receiving the file download status information at every turn, all current information is upgraded, to guarantee the consistency of file download status information;
4c) the stores synchronized server sends to communication server with up-to-date file download status information;
4d) communication server file download status information that the stores synchronized server is sended over sends to the synchronous targeted customer of all needs that are connected to communication server.
Step 105: after the targeted customer receives the file download status information that communication server sends over, import the file download state into by Flash plug-in unit invoking web page function, the webpage function is handled the back download function of file is carried out corresponding change, and embodies on webpage.
In the technique scheme, wherein step comprises following process:
After 5a) targeted customer's Flash plug-in unit receives the file download status information that communication server sends over, ExternalInterface.call method call webpage JavaScript file download state by the Flash plug-in unit is handled function, and imports fileinfo and the download state that receives into;
5b) JavaScript file download state is handled function and is searched corresponding file according to transmitting the fileinfo and the download state of coming in webpage, and its download state is operated and corresponding page display update.
Illustrate: step 101 and step 103 can be carried out simultaneously, not free sequence relation between them.
Fig. 2 is a structure principle chart of the present invention, is described in detail as follows:
Source user A opens webpage, the web-page requests data processing server, loading has the listed files of file download function, and whether can carry out down operation according to the download state decision file of each file, and webpage loads the Flash plug-in unit and forever is connected with communication server foundation;
When source user A downloads lock operation to single file, if allow download state then the modification state for forbidding download state, if forbid download state then the modification state for allowing download state, and asynchronous request msg processing server is saved in data processing server with the download state of this file, the API (Application Programming Interface, application programming interface) that calls the Flash plug-in unit simultaneously sends to communication server with this file download state;
Targeted customer B, C open webpage and load the listed files with file download function, and whether can carry out down operation according to the download state decision file of each file, load the Flash plug-in unit simultaneously and forever are connected with communication server foundation;
After communication server is received the file download status information instruction that source user A sends over, be forwarded to the stores synchronized server and by stores synchronized server stores and transaction file download status information, at synchronization, the stores synchronized server is only safeguarded up-to-date information, the stores synchronized server sends to communication server with up-to-date information, and communication server sends to all with information needs synchronous targeted customer B, C;
After targeted customer B, C receive the file download status information that communication server sends over, import the file download state into by Flash plug-in unit invoking web page function, the webpage function is handled the back download function of file is carried out corresponding change, and embodies on webpage.
User B, C, and user A, B, C any two or three while transaction file download status information, synchronous process is all the same.
For example: user B has locked a file d, is sent to the stores synchronized server and gives targeted customer A, C synchronously by communication server; In another moment, user C has locked a file e, then is sent to the stores synchronized server by communication server, and tabulation d, e that the stores synchronized server will upgrade give targeted customer A, B synchronously.
The present invention has also announced a kind of realization file download locking synchro system, comprising: source user, communication server, targeted customer:
Communication server is sent to the stores synchronized server with the file download status information of obtaining; Described file download status information after described stores synchronized server stores and transaction file download status information also will be upgraded is sent to the targeted customer.
Wherein, communication server obtains before the file download status information, also comprise: source user passes through webpage, the request msg processing server, loading has the listed files of file download function, and whether can carry out down operation according to the download state of each file decision file, load the Flash plug-in unit and set up and forever be connected with communication server.
Wherein, when described source user is downloaded lock operation to single file, if permission download state, then the modification state is for forbidding download state, if forbid download state, then the modification state is for allowing download state, and the described data processing server of asynchronous request is saved to described data processing server with the download state of described file, call the application programming interface API of described Flash plug-in unit, described file download status information is sent to described communication server.
Wherein, after described targeted customer receives the described file download status information that described communication server sends over, import described file download status information into and handle by Flash plug-in unit invoking web page function.
Wherein, described targeted customer receives before the described file download status information that described communication server sends over, also comprise: described targeted customer opens webpage, loading has the listed files of file download function, and whether can carry out down operation according to the download state of each file decision file, load the Flash plug-in unit and forever be connected with communication server foundation.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. realize file download locking method for synchronous for one kind, it is characterized in that: communication server is sent to the stores synchronized server with the file download status information of obtaining; Described file download status information after described stores synchronized server stores and transaction file download status information also will be upgraded is sent to the targeted customer.
2. method according to claim 1, it is characterized in that: communication server obtains before the file download status information, also comprise: source user passes through webpage, the request msg processing server, loading has the listed files of file download function, and whether can carry out down operation according to the download state of each file decision file, load the Flash plug-in unit and set up and forever be connected with communication server.
3. method according to claim 2, it is characterized in that: when described source user is downloaded lock operation to single file, if permission download state, then the modification state is for forbidding download state, if forbid download state, then the modification state is for allowing download state, and the described data processing server of asynchronous request is saved to described data processing server with the download state of described file, call the application programming interface API of described Flash plug-in unit, described file download status information is sent to described communication server.
4. method according to claim 1, it is characterized in that: after described targeted customer receives the described file download status information that described communication server sends over, import described file download status information into and handle by Flash plug-in unit invoking web page function.
5. method according to claim 4, it is characterized in that: described targeted customer receives before the described file download status information that described communication server sends over, also comprise: described targeted customer opens webpage, loading has the listed files of file download function, and whether can carry out down operation according to the download state of each file decision file, load the Flash plug-in unit and forever be connected with communication server foundation.
6. realize file download locking synchro system for one kind, it is characterized in that, comprising: source user, communication server, targeted customer:
Communication server is sent to the stores synchronized server with the file download status information of obtaining; Described file download status information after described stores synchronized server stores and transaction file download status information also will be upgraded is sent to the targeted customer.
7. system according to claim 6, it is characterized in that: communication server obtains before the file download status information, also comprise: source user passes through webpage, the request msg processing server, loading has the listed files of file download function, and whether can carry out down operation according to the download state of each file decision file, load the Flash plug-in unit and set up and forever be connected with communication server.
8. system according to claim 7, it is characterized in that: when described source user is downloaded lock operation to single file, if permission download state, then the modification state is for forbidding download state, if forbid download state, then the modification state is for allowing download state, and the described data processing server of asynchronous request is saved to described data processing server with the download state of described file, call the application programming interface API of described Flash plug-in unit, described file download status information is sent to described communication server.
9. system according to claim 6, it is characterized in that: after described targeted customer receives the described file download status information that described communication server sends over, import described file download status information into and handle by Flash plug-in unit invoking web page function.
10. system according to claim 9, it is characterized in that: described targeted customer receives before the described file download status information that described communication server sends over, also comprise: described targeted customer opens webpage, loading has the listed files of file download function, and whether can carry out down operation according to the download state of each file decision file, load the Flash plug-in unit and forever be connected with communication server foundation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100888620A CN102238224A (en) | 2011-04-11 | 2011-04-11 | Method and system for implementing file downloading lock-in synchronism |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011100888620A CN102238224A (en) | 2011-04-11 | 2011-04-11 | Method and system for implementing file downloading lock-in synchronism |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102238224A true CN102238224A (en) | 2011-11-09 |
Family
ID=44888425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011100888620A Pending CN102238224A (en) | 2011-04-11 | 2011-04-11 | Method and system for implementing file downloading lock-in synchronism |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102238224A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105283877A (en) * | 2013-05-31 | 2016-01-27 | 皇家飞利浦有限公司 | System and method for transferring a group of related files as one logical unit |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551821A (en) * | 2009-05-19 | 2009-10-07 | 周佺喜 | Method of real-time information broadcasting in web |
CN101977214A (en) * | 2010-10-18 | 2011-02-16 | 苏州阔地网络科技有限公司 | Method for realizing file downloading locking synchronization on webpage |
-
2011
- 2011-04-11 CN CN2011100888620A patent/CN102238224A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551821A (en) * | 2009-05-19 | 2009-10-07 | 周佺喜 | Method of real-time information broadcasting in web |
CN101977214A (en) * | 2010-10-18 | 2011-02-16 | 苏州阔地网络科技有限公司 | Method for realizing file downloading locking synchronization on webpage |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105283877A (en) * | 2013-05-31 | 2016-01-27 | 皇家飞利浦有限公司 | System and method for transferring a group of related files as one logical unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103297459B (en) | The synchronization system of application configuration information, access server, client and method | |
CN101340425A (en) | Method and apparatus for data synchronization between terminals | |
CN102769640B (en) | The update method of user profile, server and system | |
CN110351323A (en) | A kind of parameter management method and device of application system | |
CN101977214B (en) | Method for realizing file downloading locking synchronization on webpage | |
CN103841180A (en) | Network data synchronization method and device based on operating instruction, terminal device and server | |
CN106775837B (en) | Multi-system global configuration synchronization method and device | |
AU2010287106B2 (en) | System and device for data management, and method thereof | |
CN103051764A (en) | Method for sharing information of contact persons in mobile phone | |
CN109635039B (en) | Multi-data center data synchronization method and system | |
CN103139761A (en) | Information real-time show method and mobile communication terminal | |
CN110019539A (en) | A kind of method and apparatus that the data of data warehouse are synchronous | |
CN113177093A (en) | Data synchronization method and device, electronic equipment and storage medium | |
CN112202744A (en) | Multi-system data communication method and device | |
CN112069137B (en) | Method, device, electronic equipment and computer readable storage medium for generating information | |
CN102238224A (en) | Method and system for implementing file downloading lock-in synchronism | |
CN102238167A (en) | Method and system for realizing secure synchronization of file downloading locking | |
CN106776062B (en) | Multi-system contact person attribute information synchronization method and device | |
CN110019059A (en) | A kind of method and apparatus of Timing Synchronization | |
CN112084254A (en) | Data synchronization method and system | |
CN102130774A (en) | Method and system for displaying microphone state of users in web conference | |
CN103916409A (en) | Method, terminal and system for data synchronization | |
CN110309157A (en) | A kind of data synchronization updating method and apparatus | |
CN114968400A (en) | Webpage synchronization method and device, storage medium and electronic equipment | |
CA2620453C (en) | System and method for managing databases associated with respective personal information manager service accounts |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111109 |