CN102316146A - Method for achieving document transmission - Google Patents

Method for achieving document transmission Download PDF

Info

Publication number
CN102316146A
CN102316146A CN2011100599692A CN201110059969A CN102316146A CN 102316146 A CN102316146 A CN 102316146A CN 2011100599692 A CN2011100599692 A CN 2011100599692A CN 201110059969 A CN201110059969 A CN 201110059969A CN 102316146 A CN102316146 A CN 102316146A
Authority
CN
China
Prior art keywords
file
targeted customer
flash
user
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
Application number
CN2011100599692A
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.)
Suzhou Codyy Network Technology Co Ltd
Original Assignee
Suzhou Codyy Network 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 Suzhou Codyy Network Technology Co Ltd filed Critical Suzhou Codyy Network Technology Co Ltd
Priority to CN2011100599692A priority Critical patent/CN102316146A/en
Publication of CN102316146A publication Critical patent/CN102316146A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention belongs to the technical field of networks, and in particular relates to a method for achieving document transmission. The method comprises the following steps: a user opens a webpage, loads a flash, connects the flash to a communication server, and monitors the connection; the user uploads a local document to the server, and notifies a document receiver through a communication server; and the document receiver checks the document contents in the server through accessing an URL (uniform resource locator) after receiving the notification of the communication server. The document transmission on the webpage can be realized through the method, the real-time progress of the document can be observed, and the user experience is very good.

Description

A kind of method that realizes file transfer
Technical field
The invention belongs to networking technology area, relate in particular to a kind of method that realizes file transfer.
Background technology
At present; IM (Instant Messaging) immediate communication tool that downloads and installs based on needs; Like MSN, QQ, POPO have received everybody liking deeply; It provides new approach for people's communication, information interchange, is another the important information interchange mode except that mobile phone, fixed line, Email.Through these instruments, greatly reduce the interchange cost between the people, and improved efficient.
One mentions instant messaging, can expect all that generally using immediate communication tool to chat is the text communication function.Numerous immediate communication tools are almost all supported file transmitting function, and the user also uses these functions inevitably.But; IMU instrument in the market; The user must download and install correspondent customer terminal software in use; And the setting of need being correlated with has increased the burden that people use these instruments virtually, difficulty comparatively for never used this kind tool and not frequent computed user.And the immediate communication tool software of present client downloads is increasing, reaches 32.6MB such as QQ2010 software, and MSN software reaches 11.2MB, has taken no small computer memory space; Simultaneously, because the network security problem that brings down also can perplex the user; In addition, (such as chat record etc.) all is stored in the computer terminal because all data messages, in case changed computer reasons such as (if) going on business or reinstalled software, the user can't obtain original data message, very inconvenience.
Under this strong market demand, Web IM (immediate communication tool of webpage version) has been born.WebIM just is based on the instant media of communication of web browser in fact, and its display form is to be media with the webpage, and its effect is the user's use to those have more than is needed or inconvenient use application clients, and its maximum value provides the channel of communication easily.Can be stored on the webpage such as chat record and vital document, need not to download to local computing, improve the convenience of safety of data and reading greatly.
But these Web IM all can not provide the function of file transfer well; Telecommunication network meeting, telecommunication network educational system such as the webpage version; Online transfer files is a very important function, and the technology of present stage is that install software can solve online file transfer.But hardware condition has change as will repeated downloads being installed by plug-in unit under the situation of going on business, change computer.Online file transmitting function in the instant messaging of existing webpage version can not satisfy immediately effectively, fast, efficiently, communication need easily.
Summary of the invention
The invention provides a kind of method that realizes file transfer, based on realizing in the webpage, need not to download and install any software fully, realized immediately, fast, efficiently, file transfer easily.
For achieving the above object, technical scheme of the present invention is:
A kind of method that realizes file transfer may further comprise the steps:
1) user opens webpage, loads flash, connects communication server;
2) source user is chosen 1 or a plurality of files that will send through the file selection dialog box of flash from this locality;
3) source user calls flash and sends the notice that a file sends and give the targeted customer;
4) targeted customer notified after, if selective reception, then send a reception notification and give source user, if select refusal, then send a refusal notice and give source user;
5) after source user is received targeted customer's notice, if reception notification then begins to call the method for uploading of flash; Local file is uploaded onto the server; And continue next step, if the refusal notice then shows an information on webpage; Inform the source user target, the targeted customer has refused the transmission request of file;
6) flash of source user obtains the progress that file is uploaded, and sends to the targeted customer, if file has been uploaded completion, then sends the server path URL address of file and the notice of completion and gives the targeted customer;
7) after the targeted customer receives progress, on webpage, show, accomplish notice, the URL address viewing files content that then directly on webpage, opens file if received.
In the technique scheme, wherein step 1) comprises following process:
1a) user opens webpage, and the explicit user tabulation loads flash;
1b) flash connects the socket server, connects and monitored data;
1c) flash sends to the socket server with user name, and the socket server is saved in a variable socketList (socketList is a variable name) with user name with being connected.
In the technique scheme, step 1b wherein) the socket server is meant described in: any server that can be used for communication.
In the technique scheme, step 2 wherein) comprise following process:
2a) flash of source user creates file through Fi leReferenceList or FileReference class and selects dialog box;
2b) source user selects to select in the dialog box 1 or a plurality of files at file.
In the technique scheme, wherein step 3) comprises following process:
3a) source user calls the communication class of flash, and the notice of file transmission and targeted customer's user name are sent to the socket server;
3b) the socket server notified after, from socketList, find out the pairing connection of targeted customer's name, and give the targeted customer forwards.
In the technique scheme, step 3a wherein) communication class of flash is meant described in: can be used for any type of communication among the flash.
In the technique scheme, wherein step 4) comprises following process:
After 4a) targeted customer's flash receives message,,, then send a refusal notice and give the socket server if the user selects refusal if user's selective reception is then sent a reception notification through flash and given the socket server;
4b) the socket server notified after, from socketList, find out the pairing connection of source user name, and give source user forwards.
In the technique scheme, wherein step 5) comprises following process:
After 5a) source user was received reception notification, the upload method of then calling flash began to upload local file to server;
5b) if after source user is received refusal notice, show on webpage directly that then an information informs source user.
In the technique scheme, wherein step 6) comprises following process:
6a) flash of source user obtains progress that file uploads and targeted customer's user name, sends to the socket server, and the socket server is transmitted after finding the targeted customer;
6b) after the file of source user is uploaded completion, URL address and targeted customer's the user name of file on server sent to the socket server, the socket server is transmitted after finding the targeted customer according to targeted customer's user name.
In the technique scheme, wherein step 7) comprises following process:
After 7a) targeted customer receives the progress that file uploads, on webpage, show;
7b) after the targeted customer receives the notice of uploading completion, obtain the URL address of file, the URL address and the viewing files content that directly on webpage, open file.
The present invention compared with prior art has the following advantages:
1), need not to download fully based on webpage.
2) can realize a plurality of files of disposable transmission.
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 detail flowchart of the present invention.
Embodiment
Below will and combine embodiment to specify the present invention with reference to accompanying drawing.Need to prove that under the situation of not conflicting, embodiment and the characteristic among the embodiment among the application can make up each other.
The present invention includes following steps:
1) user opens webpage, loads flash, connects communication server;
2) source user selects dialog box to choose 1 or a plurality of files of transmission from this locality through the file of flash;
3) the source user method of calling flash is sent the notice that a file sends and is given the targeted customer;
4) targeted customer notified after, if selective reception, then send a reception notification and give source user; If select refusal, then send a refusal notice and give source user;
5) after source user is received targeted customer's notice,, local file is uploaded onto the server, and continue next step if reception notification then begins to call the method for uploading of flash; If the refusal notice then shows an information on webpage, inform the source user target, the targeted customer has refused the transmission request of file;
6) flash of source user obtains the progress that file is uploaded, and sends to the targeted customer; If file has been uploaded completion, then send the server path URL address of file and the notice of completion and give the targeted customer;
7) after the targeted customer receives progress, on webpage, show; Accomplish notice, the URL address viewing files content that then directly on webpage, opens file if received.
Following further explain method of the present invention:
Referring to Figure of description, the user opens webpage, loads flash, connects communication server; Source user selects dialog box to select 1 or a plurality of files that will send from this locality through the file of flash.Source user calls the notice of the file transmission of method transmission of flash and gives the targeted customer.After the targeted customer is notified, if selective reception is then sent a reception notification and given source user.If select refusal, then send a refusal notice and give source user.After source user is received targeted customer's notice,, local file is uploaded onto the server, and continue next step if reception notification then begins to call the method for uploading of flash.If the refusal notice then shows an information on webpage, inform the source user target, the targeted customer has refused the transmission request of file.The flash of source user obtains the progress that file is uploaded, and sends to the targeted customer.If file has been uploaded completion, then send the server path URL address of file and the notice of completion and give the targeted customer.After the targeted customer receives progress, on webpage, show.Accomplish notice, the URL address viewing files content that then directly on webpage, opens file if received.
Fig. 1 is a detail flowchart of the present invention, and detailed step is following:
Step 101: open webpage;
Step 102: load flash, in flash, call file and select dialog box, from the local selection of source user one or more files to be sent;
Step 103: the notice of sending the file transmission is given the targeted customer;
Step 104: if receive, then execution in step 105; Otherwise, execution in step 106;
Step 105: the notice of sending a reception is given source user;
Step 106: send the refusal notice and give source user;
Step 107: after source user is notified, the interface of javascript script calls flash, the beginning upload file is to server;
Step 108: simultaneously file is uploaded progress and sends to the targeted customer, upload completion after, send the URL address of the file after uploading onto the server and give the targeted customer;
Step 109: the targeted customer shows progress on webpage after receiving the message of the progress of uploading;
Step 110: the targeted customer directly opens on webpage in this URL address viewing files after receiving the URL address of file;
Step 111: finish.
Obviously, it is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize with the general calculation device; They can concentrate on the single calculation element; Perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element; Thereby; Can they be stored in the storage device and carry out, and in some cases, can carry out step shown or that describe with the order that is different from here by calculation element; Perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. a method that realizes file transfer is characterized in that, may further comprise the steps:
1) user opens webpage, loads flash, connects communication server;
2) source user is chosen 1 or a plurality of files that will send through the file selection dialog box of flash from this locality;
3) source user calls flash and sends the notice that a file sends and give the targeted customer;
4) targeted customer notified after, if selective reception, then send a reception notification and give source user, if select refusal, then send a refusal notice and give source user;
5) after source user is received targeted customer's notice, if reception notification then begins to call the method for uploading of flash; Local file is uploaded onto the server; And continue next step, if the refusal notice then shows an information on webpage; Inform the source user target, the targeted customer has refused the transmission request of file;
6) flash of source user obtains the progress that file is uploaded, and sends to the targeted customer, if file has been uploaded completion, then sends the server path URL address of file and the notice of completion and gives the targeted customer;
7) after the targeted customer receives progress, on webpage, show, accomplish notice, the URL address viewing files content that then directly on webpage, opens file if received.
2. the method for claim 1 is characterized in that, wherein step 1) comprises following process:
1a) user opens webpage, and the explicit user tabulation loads flash;
1b) flash connects the socket server, connects and monitored data;
1c) flash sends to the socket server with user name, and the socket server is saved in a variable socketList with user name with being connected.
3. the method for claim 1 is characterized in that, wherein step 2) comprise following process:
2a) flash of source user creates file through FileReferenceList or FileReference class and selects dialog box;
2b) source user selects to choose in the dialog box 1 or a plurality of files at file.
4. the method for claim 1 is characterized in that, wherein step 3) comprises following process:
3a) source user calls the communication class of flash, and the notice of file transmission and targeted customer's user name are sent to the socket server;
3b) the socket server notified after, from socketList, find out the pairing connection of targeted customer's name, and give the targeted customer forwards.
5. the method for claim 1 is characterized in that, wherein step 4) comprises following process:
After 4a) targeted customer's flash receives message,,, then send a refusal notice and give the socket server if the user selects refusal if user's selective reception is then sent a reception notification through flash and given the socket server;
4b) the socket server notified after, from socketList, find out the pairing connection of source user name, and give source user forwards.
6. the method for claim 1 is characterized in that, wherein step 5) comprises following process:
After 5a) source user was received reception notification, the upload method of then calling flash began to upload local file to server;
5b) if after source user is received refusal notice, show on webpage directly that then an information informs source user.
7. the method for claim 1 is characterized in that, wherein step 6) comprises following process:
6a) flash of source user obtains progress that file uploads and targeted customer's user name, sends to the socket server, and the socket server is transmitted after finding the targeted customer;
6b) after the file of source user is uploaded completion, URL address and targeted customer's the user name of file on server sent to the socket server, the socket server is transmitted after finding the targeted customer according to targeted customer's user name.
8. the method for claim 1 is characterized in that, wherein step 7) comprises following process:
After 7a) targeted customer receives the progress that file uploads, on webpage, show;
7b) after the targeted customer receives the notice of uploading completion, obtain the URL address of file, the URL address and the viewing files content that directly on webpage, open file.
9. the method for claim 1; It is characterized in that: the user is connected to communication server through flash; Upload onto the server local file; And through communication server circular document recipient, the file recipient after receiving the notice of communication server through visit URL viewing files content from the server.
10. method that realizes file transfer, it is characterized in that: the user sends to the targeted customer through the web page access communication server and through said communication server with the file of uploading.
11. method according to claim 10 is characterized in that: said user opens webpage, loads flash, connects communication server; 1 of selecting dialog box to choose from this locality will to send of the file of said user through flash or a plurality of files and notice are given said targeted customer; After said targeted customer received said notice, whether decision received.
12. method according to claim 11 is characterized in that: after said user receives said targeted customer's notice, if receive; Then begin to call the method for uploading of flash; Local file is uploaded onto the server, if refusal then shows an information on webpage; Inform said user, said targeted customer has refused the transmission request of file.
13. method according to claim 12; It is characterized in that: said user's flash obtains the progress that file is uploaded; Send to said targeted customer,, then send the URL address, said communication server path of file and the notice of completion and give said targeted customer if file has been uploaded completion.
14. method according to claim 13 is characterized in that: after said targeted customer receives progress, on webpage, show, accomplish notice, the URL address viewing files content that then directly on webpage, opens file if received.
CN2011100599692A 2010-09-17 2011-03-14 Method for achieving document transmission Pending CN102316146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100599692A CN102316146A (en) 2010-09-17 2011-03-14 Method for achieving document transmission

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010291206 2010-09-17
CN201010291206.6 2010-09-17
CN2011100599692A CN102316146A (en) 2010-09-17 2011-03-14 Method for achieving document transmission

Publications (1)

Publication Number Publication Date
CN102316146A true CN102316146A (en) 2012-01-11

Family

ID=45428956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100599692A Pending CN102316146A (en) 2010-09-17 2011-03-14 Method for achieving document transmission

Country Status (1)

Country Link
CN (1) CN102316146A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440295A (en) * 2013-08-20 2013-12-11 乐视网信息技术(北京)股份有限公司 Method for uploading multimedia files and electronic terminal
CN103580986A (en) * 2012-07-30 2014-02-12 华为终端有限公司 Real-time communication method, terminal equipment, real-time communication server and system
CN104808768A (en) * 2015-04-15 2015-07-29 广东欧珀移动通信有限公司 Prompting method and prompting device for file transfer progress and mobile terminal
CN106209516A (en) * 2016-07-18 2016-12-07 腾讯科技(深圳)有限公司 One uploads method for monitoring performance, monitoring server and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102287A (en) * 2006-07-03 2008-01-09 阿里巴巴公司 A method and system for transferring files via browser
US20080010344A1 (en) * 2006-07-07 2008-01-10 Meebo, Inc. Method and system for embedded personalized communication
CN101217554A (en) * 2008-01-14 2008-07-09 张尧森 An instant communication method realized on website
CN101551821A (en) * 2009-05-19 2009-10-07 周佺喜 Method of real-time information broadcasting in web
CN101609540A (en) * 2009-07-27 2009-12-23 周佺喜 A kind of information comprehensive exchange platform based on browser

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102287A (en) * 2006-07-03 2008-01-09 阿里巴巴公司 A method and system for transferring files via browser
US20080010344A1 (en) * 2006-07-07 2008-01-10 Meebo, Inc. Method and system for embedded personalized communication
CN101217554A (en) * 2008-01-14 2008-07-09 张尧森 An instant communication method realized on website
CN101551821A (en) * 2009-05-19 2009-10-07 周佺喜 Method of real-time information broadcasting in web
CN101609540A (en) * 2009-07-27 2009-12-23 周佺喜 A kind of information comprehensive exchange platform based on browser

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580986A (en) * 2012-07-30 2014-02-12 华为终端有限公司 Real-time communication method, terminal equipment, real-time communication server and system
CN103580986B (en) * 2012-07-30 2016-12-21 华为终端有限公司 A kind of real-time communication method, terminal unit, real-time communication server and system
US9854008B2 (en) 2012-07-30 2017-12-26 Huawei Device (Dongguan) Co., Ltd. Real time communication method, terminal device, real time communication server and real time communication system
CN103440295A (en) * 2013-08-20 2013-12-11 乐视网信息技术(北京)股份有限公司 Method for uploading multimedia files and electronic terminal
CN104808768A (en) * 2015-04-15 2015-07-29 广东欧珀移动通信有限公司 Prompting method and prompting device for file transfer progress and mobile terminal
CN104808768B (en) * 2015-04-15 2017-11-28 广东欧珀移动通信有限公司 Reminding method, device and the mobile terminal of document transmission progress
CN106209516A (en) * 2016-07-18 2016-12-07 腾讯科技(深圳)有限公司 One uploads method for monitoring performance, monitoring server and system

Similar Documents

Publication Publication Date Title
US11502985B1 (en) Device independent message distribution platform
CN102045885B (en) A kind of content shared spreading method, equipment and system
US7779077B2 (en) File transmission method in instant messaging service and mobile communications terminal for supporting the same
RU2498520C2 (en) Method of providing peer-to-peer communication on web page
US20150074548A1 (en) Information Sharing Method and Apparatus
US20060218234A1 (en) Scheme of sending email to mobile devices
KR20160041444A (en) Method for controlling transmission path for providing server-push service in heterogenous network environment and device
US8385897B1 (en) Global text messaging system and method
CN101815100A (en) Information sharing and pushing system based on address list of mobile phone
EP2408174A1 (en) Messaging activity feed
CN101310545A (en) Internet mail client system for mobile devices using remote computer systems and method thereof
CN102291243A (en) Service processing server, system and method
CN103338276A (en) Method for data transmission between network terminals
CN102075455A (en) Instant communication method
CN102299963A (en) File downloading system
CN101867622A (en) Method for realizing p2p video communication on webpage
CN102316146A (en) Method for achieving document transmission
US8856204B2 (en) Managing service provider messaging
US20050256959A1 (en) Method of and system for multimedia messaging system interoperability
CN102158429A (en) Community platform based group communication method and system
CN102740242A (en) Method and device for managing website message on mobile phone
JP2005033733A (en) Address book modification method and network system
KR101325233B1 (en) Communication system and method by using integration communication program
CN102710541A (en) Method and system for triggering mobile phone through instant communicating tool
CN102130971A (en) Method and system for realizing peer-to-peer (P2P) communication on webpage

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: 20120111