CN104601715A - File sharing method and system and mobile terminal based on two-dimension code - Google Patents
File sharing method and system and mobile terminal based on two-dimension code Download PDFInfo
- Publication number
- CN104601715A CN104601715A CN201510046724.4A CN201510046724A CN104601715A CN 104601715 A CN104601715 A CN 104601715A CN 201510046724 A CN201510046724 A CN 201510046724A CN 104601715 A CN104601715 A CN 104601715A
- Authority
- CN
- China
- Prior art keywords
- file
- mobile terminal
- shared
- quick response
- response code
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims abstract description 18
- 230000004044 response Effects 0.000 claims description 147
- 230000010365 information processing Effects 0.000 claims description 8
- 239000002131 composite material Substances 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000011017 operating method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides a file sharing method and system and a mobile terminal based on a two-dimension code. The method specifically includes that a mobile terminal sharing party selects a file to be shared, processes share service of the file to be shared into the two-dimension code and displays the two-dimension code on a screen of the mobile terminal; a mobile terminal receiving party scans and analyzes the two-dimension code and is connected with the mobile terminal sharing party through the network according to the analyzed share service information in the two-dimension code; the mobile terminal sharing party receives the file sharing request and transmits the file to be shared to the mobile terminal receiving party. A user does not need to write any information of the receiving party in advance during file sharing transmission, and the receiving party only needs to scan the two-dimension code of the sharing party through a camera in a mobile phone and directly transmit a sharing command obtained from the two-dimension code to the mobile phone of the sharing party, and does not need to form a file sharing request command by himself or herself, and the method and system is convenient and quick.
Description
Technical field
The present invention relates to technical field of mobile terminals, particularly relate to a kind of file sharing method based on Quick Response Code, system and mobile terminal.
Background technology
Current intelligent movable mobile phone is very universal, the purposes of mobile phone is more and more wider, and usual people can preserve various file in mobile phone, as picture, document, audio/video file etc., many times user wishes by these file-sharings to other people, to copy in other words in other mobile phone.In the prior art, smart mobile phone can provide file-sharing function by multiple method, as transmitted by bluetooth, wifi, note etc.But these methods need more operating procedure, matching operation must be carried out with the other side's mobile phone as adopted Bluetooth technology, adopting wifi to transmit must to be connected by network, adopt short message sending then user must manually input the information etc. of the other side.Visible, these File Sharing Techniques above all need comparatively numerous and diverse operating procedure, bring some inconvenience to user.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, a kind of file sharing method based on Quick Response Code, system and mobile terminal are provided, are intended to the defect being solved the File Sharing Technique trivial operations existed in prior art by the present invention, for user provides convenience.
The technical scheme that technical solution problem of the present invention adopts is as follows:
Based on a file sharing method for Quick Response Code, wherein, step is comprised:
S1, the mobile terminal side of sharing select file to be shared, and the share service information processing of described file to be shared is become Quick Response Code, and by described Quick Response Code display on the screen of the mobile terminal;
S2, mobile terminal recipient scan and resolve described Quick Response Code, share side send file application requests according to the share service information in the Quick Response Code parsed by network connection to mobile terminal;
S3, mobile terminal are shared side and are received described file application requests, and described file to be shared is sent to described mobile terminal recipient.
The described file sharing method based on Quick Response Code, wherein, the share service information of described file to be shared comprises: service IP address, port numbers and file request order.
The described file sharing method based on Quick Response Code, wherein, described step S1 specifically comprises step:
S11, the mobile terminal side of sharing select file to be shared, and the mode of selection Quick Response Code scanning is simultaneously shared;
S12, further judge that described mobile terminal is shared side and whether opened network and connect, if the connection of described network is opened, then system sets up a share service program automatically;
S13, described share service program obtain share service IP address and port numbers, and the routing information spanned file request instruction residing in the terminal according to described file to be shared;
S14, described share service IP address, port numbers are become Quick Response Code with file request instruction process, and by described Quick Response Code display on the screen of the mobile terminal.
The described file sharing method based on Quick Response Code, wherein, described step S2 specifically comprises step:
S21, prejudge described mobile terminal recipient whether open network connect;
If the described network of S22 connects open, then mobile terminal recipient scans described Quick Response Code, and resolve the share service information of the file to be shared in described Quick Response Code, described share service packets of information is containing the IP address of share service, port numbers and file request instruction;
The service IP address that S23, basis parse and port numbers are shared side's transmission to the mobile terminal of specifying and are set up network connecting request;
After the success of S24, described network connecting request, further the file request instruction parsed directly is sent to the mobile terminal of specifying as file application requests and shares side.
The described file sharing method based on Quick Response Code, wherein, described step S3 specifically comprises step:
S31, the mobile terminal side of sharing receive the file request instruction that described mobile terminal recipient sends, and parse the routing information that the file to be shared that comprises in described file request instruction is residing in the terminal;
S32, the appointment shared file of described routing information is sent to described mobile terminal recipient;
S33, described mobile terminal recipient receive the file that described band is shared, and are kept at by file in the file path that mobile terminal specifies.
Based on a shared file system for Quick Response Code, wherein, comprising:
Quick Response Code generates display module, selects file to be shared, the share service information processing of described file to be shared is become Quick Response Code for the mobile terminal side of sharing, and by described Quick Response Code display on the screen of the mobile terminal;
Quick Response Code scanning parsing module, scans for mobile terminal recipient and resolves described Quick Response Code, shares side send file application requests according to the share service information in the Quick Response Code parsed by network connection to mobile terminal;
File sharing module, shares side for mobile terminal and receives described file application requests, and described file to be shared is sent to described mobile terminal recipient.
Wherein, the share service information of described file to be shared comprises the described shared file system based on Quick Response Code: service IP address, port numbers and file request order;
Described Quick Response Code generates display module and specifically comprises:
Shared file selected cell, selects file to be shared for the mobile terminal side of sharing, and the mode of selection Quick Response Code scanning is simultaneously shared;
First network connection judgment unit, for judging that described mobile terminal is shared side and whether opened network connection further, open if described network connects, then system sets up a share service program automatically;
Share service information acquisition unit, obtains share service IP address and port numbers for described share service program, and the routing information spanned file request instruction residing in the terminal according to described file to be shared;
Quick Response Code generation unit, for becoming Quick Response Code by described share service IP address, port numbers with file request instruction process, and by described Quick Response Code display on the screen of the mobile terminal.
The described shared file system based on Quick Response Code, wherein, described Quick Response Code scanning parsing module specifically comprises:
Whether second network connection judgment unit, open network connection for prejudging described mobile terminal recipient;
Share service information analysis unit, open if connect for described network, then mobile terminal recipient scans described Quick Response Code, and resolve the share service information of the file to be shared in described Quick Response Code, described share service packets of information is containing the IP address of share service, port numbers and file request instruction;
Network connecting request unit, sets up network connecting request for sharing side's transmission according to the service IP address parsed and port numbers to the mobile terminal of specifying;
File application requests unit, after described network connecting request success, is directly sent to the mobile terminal of specifying using the file request instruction parsed as file application requests further and shares side.
The described shared file system based on Quick Response Code, wherein, described file sharing module also comprises:
Routing information resolution unit, receives for the mobile terminal side of sharing the file request instruction that described mobile terminal recipient sends, and parses the routing information that the file to be shared that comprises in described file request instruction is residing in the terminal;
File transmitting element, for sending to described mobile terminal recipient by the appointment shared file of described routing information;
File reception memory cell, receives for described mobile terminal recipient the file that described band shares, and is kept at by file in the file path that mobile terminal specifies.
A kind of mobile terminal, wherein, comprises the shared file system based on Quick Response Code described in above any one.
A kind of file sharing method based on Quick Response Code provided by the present invention, system and mobile terminal, described method specifically comprises: file to be shared is selected by the mobile terminal side of sharing, the share service information processing of described file to be shared is become Quick Response Code, and by described Quick Response Code display on the screen of the mobile terminal; Mobile terminal recipient is scanned and is resolved described Quick Response Code, shares side send file application requests according to the share service information in the Quick Response Code parsed by network connection to mobile terminal; Mobile terminal is shared side and is received described file application requests, and described file to be shared is sent to described mobile terminal recipient.The present invention does not need to fill in advance any information of recipient when carrying out file-sharing transmission, the camera on recipient's mobile phone is only needed to scan the Quick Response Code shared and square mobile phone screen generates, and without the need to oneself composite document sharing request instruction, the shared instruction obtained from Quick Response Code is only needed directly to send to shared side's mobile phone just can realize, convenient and swift; In addition, shared side can share multiple file simultaneously, as long as generate multiple Quick Response Codes on the mobile phone providing shared side, or repeatedly generates Quick Response Code, often open or each corresponding different file, such server can not do the transmission that any variation just can complete shared file.
Accompanying drawing explanation
Fig. 1 is the flow chart of the first preferred embodiment of the file sharing method that the present invention is based on Quick Response Code.
Fig. 2 is shared side's flowchart of the Application Example of the file sharing method that the present invention is based on Quick Response Code.
Fig. 3 is recipient's flowchart of the Application Example of the file sharing method that the present invention is based on Quick Response Code.
Fig. 4 is the functional block diagram of the first preferred embodiment of the shared file system that the present invention is based on Quick Response Code.
Fig. 5 is the cut-away view of the Quick Response Code generation display module of the first preferred embodiment of the shared file system that the present invention is based on Quick Response Code.
Fig. 6 is the cut-away view of the Quick Response Code scanning parsing module of the first preferred embodiment of the shared file system that the present invention is based on Quick Response Code.
Fig. 7 is the cut-away view of the file sharing module of the first preferred embodiment of the shared file system that the present invention is based on Quick Response Code.
Embodiment
The invention discloses a kind of file sharing method based on Quick Response Code, system and mobile terminal, for making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the flow chart of the first preferred embodiment of the file sharing method that the present invention is based on Quick Response Code.The file sharing method based on Quick Response Code shown in Fig. 1, comprising:
Step S101, the mobile terminal side of sharing select file to be shared, and the share service information processing of described file to be shared is become Quick Response Code, and by described Quick Response Code display on the screen of the mobile terminal.
The embodiment of the present invention utilizes C/S(client/server) pattern carries out work, client will be connected to IP address and the port numbers that server needs server, because server is interim generation, service IP address and port numbers is needed to tell client, and adopt traditional-handwork to fill in can be slow, therefore these information are created in Quick Response Code, the other side is scanned Quick Response Code and just can be connected after obtaining these information.Therefore, the share service information of the file described to be shared in the embodiment of the present invention comprises: service IP address, port numbers and file request order.
Further, described step S101 specifically comprises step:
S1011, the mobile terminal side of sharing select file to be shared, and the mode of selection Quick Response Code scanning is simultaneously shared;
S1012, further judge that described mobile terminal is shared side and whether opened network and connect, if the connection of described network is opened, then system sets up a share service program automatically;
S1013, described share service program obtain share service IP address and port numbers, and the routing information spanned file request instruction residing in the terminal according to described file to be shared;
S1014, described share service IP address, port numbers are become Quick Response Code with file request instruction process, and by described Quick Response Code display on the screen of the mobile terminal.
Step S102, mobile terminal recipient scan and resolve described Quick Response Code, share side send file application requests according to the share service information in the Quick Response Code parsed by network connection to mobile terminal.
In the embodiment of the present invention, described step S102 specifically comprises step:
S1021, prejudge described mobile terminal recipient whether open network connect;
If the described network of S1022 connects open, then mobile terminal recipient scans described Quick Response Code, and resolve the share service information of the file to be shared in described Quick Response Code, described share service packets of information is containing the IP address of share service, port numbers and file request instruction;
The service IP address that S1023, basis parse and port numbers are shared side's transmission to the mobile terminal of specifying and are set up network connecting request;
After the success of S1024, described network connecting request, further the file request instruction parsed directly is sent to the mobile terminal of specifying as file application requests and shares side.
Step S103, mobile terminal are shared side and are received described file application requests, and described file to be shared is sent to described mobile terminal recipient.
In the embodiment of the present invention, described step S103 specifically comprises step:
S1031, the mobile terminal side of sharing receive the file request instruction that described mobile terminal recipient sends, and parse the routing information that the file to be shared that comprises in described file request instruction is residing in the terminal;
S1032, the appointment shared file of described routing information is sent to described mobile terminal recipient;
S1033, described mobile terminal recipient receive the file that described band is shared, and are kept at by file in the file path that mobile terminal specifies.
Further, the present invention does not limit the transmission means of underlying file, that is, any mode such as wifi, bluetooth can be adopted to carry out the transmission of shared file, therefore transmit more flexible, general.
Below by by concrete Application Example, the present invention will be further described.The implementation that the present invention is based on the file sharing method of Quick Response Code comprises shared side and recipient, Fig. 2 please be refer to, Fig. 2 is shared side's flowchart of the Application Example of the file sharing method that the present invention is based on Quick Response Code, wifi is adopted to connect transmission means (other transmission meanss as network in this application embodiment, then needing as adopted Bluetooth technology the information of pairing to be placed in Quick Response Code, carrying out automatic matching to facilitate).As shown in Figure 2, step is comprised:
S21, user select file to be shared, and selection Quick Response Code scan mode is shared;
The user sharing side needs the file shared in mobile phone by the selection of various Fileview mode (as file manager etc.), and the operation of " sharing by Quick Response Code scan mode " is selected further by certain mode (as long-time filesselected, then system can eject corresponding document control menu).
Do you S22, judge that wifi opens? if wifi opens, then enter step S24;
If S23 wifi does not open, then open wifi and connect (or prompting user opens);
S24, open share service end program;
Perform of the present invention based on before the file sharing method of Quick Response Code, the mobile phone sharing side needs first to judge whether that opening wifi network connects, if do not opened, then system performs opening operation with the form of dialog box prompting user.Open if described wifi network connects, then system is automatically set up and is opened a share service end program (as TCP service), and this service is for monitoring the data of specifying on share service IP and port.
S25, the square address obtaining share service and port numbers;
S26, spanned file request command;
Described file request command format is as get/FilePath, and wherein FilePath refers to the detailed path information that file to be shared is residing in mobile phone.
S27, generate Quick Response Code be presented on interface;
The IP address of described share service, port numbers are become Quick Response Code with file request instruction process by system, and by described Quick Response Code display on the screen of the mobile terminal.
Further, please refer to Fig. 3, Fig. 3 is recipient's flowchart of the Application Example of the file sharing method that the present invention is based on Quick Response Code.As shown in Figure 3, step is comprised:
Do you S31, judge that wifi opens? if wifi opens, then enter step S33;
If S32 wifi does not open, then open wifi and connect (or prompting user opens);
S33, scanning Quick Response Code;
The IP address of S34, analysis service and port numbers;
S35, resolution file request command;
Recipient is after opening the shared reception program of Quick Response Code scanning, and first also need to judge whether that opening wifi network connects, if do not opened, then system performs opening operation with the form of dialog box prompting user.Open if described wifi network connects, program can open camera scanning Quick Response Code automatically afterwards, and resolve the share service information of the file to be shared in described Quick Response Code, described share service packets of information is containing the IP address of share service, port numbers and file request instruction.
The IP that S36, basis parse and port numbers initiate connection request to service;
The success of S37, connection request, initiates file application requests order to service end;
After connection request success, recipient synthesizes request instruction without the need to oneself, only needs the instruction obtained from Quick Response Code directly to send to shared provider's mobile phone just can.Do like this, sharing side on the one hand can carry out fast verification to the instruction that recipient sends, and recipient is without the need to doing unnecessary operation; On the other hand, shared side can share multiple file simultaneously, as long as generate multiple Quick Response Codes on the mobile phone providing shared side, or repeatedly generates Quick Response Code, often open or each corresponding different file, such server can not do the transmission that any variation just can complete shared file.
The file transfer stage afterwards comprises: share the file application requests instruction that side receives described recipient transmission, parses the detailed path information (routing information that namely in FilePath comprise) of file to be shared residing in mobile phone comprised in described file application requests instruction; The appointment shared file of described path details is sent to described recipient (as by TCP mode); Described recipient receives the file that described band is shared, and is kept at by file in the file path that mobile phone specifies, and this file path can be system default, also can be that user is preassigned.
Therefore, the present invention does not need to fill in advance any information of recipient when carrying out file-sharing transmission, the camera on recipient's mobile phone is only needed to scan the Quick Response Code shared and square mobile phone screen generates, and without the need to oneself composite document sharing request instruction, the shared instruction obtained from Quick Response Code is only needed directly to send to shared side's mobile phone just can realize, convenient and swift, for user provides convenience.
Based on above-described embodiment, the present invention also provides a kind of shared file system based on Quick Response Code, as shown in Figure 4, comprising:
Quick Response Code generates display module 100, selects file to be shared, the share service information processing of described file to be shared is become Quick Response Code for the mobile terminal side of sharing, and by described Quick Response Code display on the screen of the mobile terminal; As detailed above.
Quick Response Code scanning parsing module 200, scans for mobile terminal recipient and resolves described Quick Response Code, shares side send file application requests according to the share service information in the Quick Response Code parsed by network connection to mobile terminal; As detailed above.
File sharing module 300, shares side for mobile terminal and receives described file application requests, and described file to be shared is sent to described mobile terminal recipient; As detailed above.
The share service information of described file to be shared comprises: service IP address, port numbers and file request order.
Further, the described shared file system based on Quick Response Code, as shown in Figure 5, described dimension code generates display module 100 and also comprises:
Shared file selected cell 110, selects file to be shared for the mobile terminal side of sharing, and the mode of selection Quick Response Code scanning is simultaneously shared; As detailed above.
First network connection judgment unit 120, for judging that described mobile terminal is shared side and whether opened network connection further, open if described network connects, then system sets up a share service program automatically; As detailed above.
Share service information acquisition unit 130, obtains share service IP address and port numbers for described share service program, and the routing information spanned file request instruction residing in the terminal according to described file to be shared; As detailed above.
Quick Response Code generation unit 140, for becoming Quick Response Code by described share service IP address, port numbers with file request instruction process, and by described Quick Response Code display on the screen of the mobile terminal; As detailed above.
Further, the described shared file system based on Quick Response Code, as shown in Figure 6, described Quick Response Code scanning parsing module 200 specifically comprises:
Whether second network connection judgment unit 210, open network connection for prejudging described mobile terminal recipient; As detailed above.
Share service information analysis unit 220, open if connect for described network, then mobile terminal recipient scans described Quick Response Code, and resolve the share service information of the file to be shared in described Quick Response Code, described share service packets of information is containing the IP address of share service, port numbers and file request instruction; As detailed above.
Network connecting request unit 230, sets up network connecting request for sharing side's transmission according to the service IP address parsed and port numbers to the mobile terminal of specifying; As detailed above.
File application requests unit 240, after described network connecting request success, is directly sent to the mobile terminal of specifying using the file request instruction parsed as file application requests further and shares side; As detailed above.
Further, the described shared file system based on Quick Response Code, as shown in Figure 7, described file sharing module 300 specifically comprises:
Routing information resolution unit 310, receives for the mobile terminal side of sharing the file request instruction that described mobile terminal recipient sends, and parses the routing information that the file to be shared that comprises in described file request instruction is residing in the terminal; As detailed above.
File transmitting element 320, for sending to described mobile terminal recipient by the appointment shared file of described routing information; As detailed above.
File reception memory cell 330, receives for described mobile terminal recipient the file that described band shares, and is kept at by file in the file path that mobile terminal specifies; As detailed above.
Based on above-described embodiment, the present invention also provides a kind of mobile terminal, and the mobile terminal described in the present embodiment comprises the shared file system based on Quick Response Code described above.
In sum, a kind of file sharing method based on Quick Response Code provided by the present invention, system and mobile terminal, described method specifically comprises: file to be shared is selected by the mobile terminal side of sharing, the share service information processing of described file to be shared is become Quick Response Code, and by described Quick Response Code display on the screen of the mobile terminal; Mobile terminal recipient is scanned and is resolved described Quick Response Code, shares side send file application requests according to the share service information in the Quick Response Code parsed by network connection to mobile terminal; Mobile terminal is shared side and is received described file application requests, and described file to be shared is sent to described mobile terminal recipient.The present invention does not need to fill in advance any information of recipient when carrying out file-sharing transmission, the camera on recipient's mobile phone is only needed to scan the Quick Response Code shared and square mobile phone screen generates, and without the need to oneself composite document sharing request instruction, the shared instruction obtained from Quick Response Code is only needed directly to send to shared side's mobile phone just can realize, convenient and swift; In addition, shared side can share multiple file simultaneously, as long as generate multiple Quick Response Codes on the mobile phone providing shared side, or repeatedly generates Quick Response Code, often open or each corresponding different file, such server can not do the transmission that any variation just can complete shared file.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.
Claims (10)
1. based on a file sharing method for Quick Response Code, it is characterized in that, comprise step:
S1, the mobile terminal side of sharing select file to be shared, and the share service information processing of described file to be shared is become Quick Response Code, and by described Quick Response Code display on the screen of the mobile terminal;
S2, mobile terminal recipient scan and resolve described Quick Response Code, share side send file application requests according to the share service information in the Quick Response Code parsed by network connection to mobile terminal;
S3, mobile terminal are shared side and are received described file application requests, and described file to be shared is sent to described mobile terminal recipient.
2. the file sharing method based on Quick Response Code according to claim 1, is characterized in that, the share service information of described file to be shared comprises: service IP address, port numbers and file request order.
3. the file sharing method based on Quick Response Code according to claim 2, is characterized in that, described step S1 specifically comprises step:
S11, the mobile terminal side of sharing select file to be shared, and the mode of selection Quick Response Code scanning is simultaneously shared;
S12, further judge that described mobile terminal is shared side and whether opened network and connect, if the connection of described network is opened, then system sets up a share service program automatically;
S13, described share service program obtain share service IP address and port numbers, and the routing information spanned file request instruction residing in the terminal according to described file to be shared;
S14, described share service IP address, port numbers are become Quick Response Code with file request instruction process, and by described Quick Response Code display on the screen of the mobile terminal.
4. the file sharing method based on Quick Response Code according to claim 2, is characterized in that, described step S2 specifically comprises step:
S21, prejudge described mobile terminal recipient whether open network connect;
If the described network of S22 connects open, then mobile terminal recipient scans described Quick Response Code, and resolve the share service information of the file to be shared in described Quick Response Code, described share service packets of information is containing the IP address of share service, port numbers and file request instruction;
The service IP address that S23, basis parse and port numbers are shared side's transmission to the mobile terminal of specifying and are set up network connecting request;
After the success of S24, described network connecting request, further the file request instruction parsed directly is sent to the mobile terminal of specifying as file application requests and shares side.
5. the file sharing method based on Quick Response Code according to claim 3, is characterized in that, described step S3 specifically comprises step:
S31, the mobile terminal side of sharing receive the file request instruction that described mobile terminal recipient sends, and parse the routing information that the file to be shared that comprises in described file request instruction is residing in the terminal;
S32, the appointment shared file of described routing information is sent to described mobile terminal recipient;
S33, described mobile terminal recipient receive the file that described band is shared, and are kept at by file in the file path that mobile terminal specifies.
6. based on a shared file system for Quick Response Code, it is characterized in that, comprising:
Quick Response Code generates display module, selects file to be shared, the share service information processing of described file to be shared is become Quick Response Code for the mobile terminal side of sharing, and by described Quick Response Code display on the screen of the mobile terminal;
Quick Response Code scanning parsing module, scans for mobile terminal recipient and resolves described Quick Response Code, shares side send file application requests according to the share service information in the Quick Response Code parsed by network connection to mobile terminal;
File sharing module, shares side for mobile terminal and receives described file application requests, and described file to be shared is sent to described mobile terminal recipient.
7. according to claim 6 based on the shared file system of Quick Response Code, it is characterized in that, the share service information of described file to be shared comprises: service IP address, port numbers and file request order;
Described Quick Response Code generates display module and specifically comprises:
Shared file selected cell, selects file to be shared for the mobile terminal side of sharing, and the mode of selection Quick Response Code scanning is simultaneously shared;
First network connection judgment unit, for judging that described mobile terminal is shared side and whether opened network connection further, open if described network connects, then system sets up a share service program automatically;
Share service information acquisition unit, obtains share service IP address and port numbers for described share service program, and the routing information spanned file request instruction residing in the terminal according to described file to be shared;
Quick Response Code generation unit, for becoming Quick Response Code by described share service IP address, port numbers with file request instruction process, and by described Quick Response Code display on the screen of the mobile terminal.
8. according to claim 7 based on the shared file system of Quick Response Code, it is characterized in that, described Quick Response Code scanning parsing module specifically comprises:
Whether second network connection judgment unit, open network connection for prejudging described mobile terminal recipient;
Share service information analysis unit, open if connect for described network, then mobile terminal recipient scans described Quick Response Code, and resolve the share service information of the file to be shared in described Quick Response Code, described share service packets of information is containing the IP address of share service, port numbers and file request instruction;
Network connecting request unit, sets up network connecting request for sharing side's transmission according to the service IP address parsed and port numbers to the mobile terminal of specifying;
File application requests unit, after described network connecting request success, is directly sent to the mobile terminal of specifying using the file request instruction parsed as file application requests further and shares side.
9. according to claim 7 based on the shared file system of Quick Response Code, it is characterized in that, described file sharing module also comprises:
Routing information resolution unit, receives for the mobile terminal side of sharing the file request instruction that described mobile terminal recipient sends, and parses the routing information that the file to be shared that comprises in described file request instruction is residing in the terminal;
File transmitting element, for sending to described mobile terminal recipient by the appointment shared file of described routing information;
File reception memory cell, receives for described mobile terminal recipient the file that described band shares, and is kept at by file in the file path that mobile terminal specifies.
10. a mobile terminal, is characterized in that, comprises the shared file system based on Quick Response Code described in any one of claim 6 to 9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510046724.4A CN104601715B (en) | 2015-01-29 | 2015-01-29 | A kind of file sharing method based on Quick Response Code, system and mobile terminal |
PCT/CN2015/084669 WO2016119414A1 (en) | 2015-01-29 | 2015-07-21 | Two-dimensional barcode-based file sharing method, system and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510046724.4A CN104601715B (en) | 2015-01-29 | 2015-01-29 | A kind of file sharing method based on Quick Response Code, system and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104601715A true CN104601715A (en) | 2015-05-06 |
CN104601715B CN104601715B (en) | 2018-04-06 |
Family
ID=53127208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510046724.4A Active CN104601715B (en) | 2015-01-29 | 2015-01-29 | A kind of file sharing method based on Quick Response Code, system and mobile terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104601715B (en) |
WO (1) | WO2016119414A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105163171A (en) * | 2015-07-07 | 2015-12-16 | 深圳市美贝壳科技有限公司 | File transmission method between set top box and mobile terminal and system |
CN106230932A (en) * | 2016-07-31 | 2016-12-14 | 深圳市青葡萄科技有限公司 | A kind of cloud disk shares the apparatus and method of file |
CN107566367A (en) * | 2017-09-02 | 2018-01-09 | 刘兴丹 | A kind of shared method, apparatus of cloud storage information network certification |
CN107862034A (en) * | 2017-11-03 | 2018-03-30 | 广州视源电子科技股份有限公司 | Method, device and equipment for rapidly saving files and storage medium |
CN111698191A (en) * | 2019-03-13 | 2020-09-22 | 青岛海尔电冰箱有限公司 | Shared information system |
CN113507481A (en) * | 2017-10-19 | 2021-10-15 | 西安万像电子科技有限公司 | Method and system for processing multimedia content |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262746B (en) * | 2020-03-04 | 2023-05-12 | 深信服科技股份有限公司 | Equipment opening deployment system and method |
CN112307794A (en) * | 2020-11-25 | 2021-02-02 | 杭州视洞科技有限公司 | Method for transmitting data by scanning multiple two-dimensional codes through camera |
CN113095098A (en) * | 2021-04-07 | 2021-07-09 | 二十二冶集团装备制造有限公司 | System for acquiring CNC (computer numerical control) program for numerical control cutting based on two-dimensional code |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102394926A (en) * | 2011-10-31 | 2012-03-28 | 中科创达软件科技(北京)有限公司 | Method for transferring files to terminals |
CN103024063A (en) * | 2012-12-24 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Data sharing method, clients and data sharing system |
CN103095852A (en) * | 2013-02-27 | 2013-05-08 | 上海够快网络科技有限公司 | Cloud storage file sharing method based on two-dimensional code |
US8540159B2 (en) * | 2003-03-07 | 2013-09-24 | Kt Corporation | Method for providing mobile service using code-pattern |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102855323A (en) * | 2012-09-11 | 2013-01-02 | 北京蜂侠飞科技有限公司 | Information sharing method based on two-dimension codes and system implementing method |
US9444872B2 (en) * | 2012-12-14 | 2016-09-13 | Tencent Technology (Shenzhen) Company Limited | Method, server and system for data sharing |
CN103942519B (en) * | 2013-01-17 | 2017-11-10 | 腾讯科技(深圳)有限公司 | Content shared method, graphic code coding side and graphic code decoding end between multiple terminals |
CN103761327A (en) * | 2014-01-29 | 2014-04-30 | 百度在线网络技术(北京)有限公司 | Resource sharing method and system, terminal and server |
-
2015
- 2015-01-29 CN CN201510046724.4A patent/CN104601715B/en active Active
- 2015-07-21 WO PCT/CN2015/084669 patent/WO2016119414A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8540159B2 (en) * | 2003-03-07 | 2013-09-24 | Kt Corporation | Method for providing mobile service using code-pattern |
CN102394926A (en) * | 2011-10-31 | 2012-03-28 | 中科创达软件科技(北京)有限公司 | Method for transferring files to terminals |
CN103024063A (en) * | 2012-12-24 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Data sharing method, clients and data sharing system |
CN103095852A (en) * | 2013-02-27 | 2013-05-08 | 上海够快网络科技有限公司 | Cloud storage file sharing method based on two-dimensional code |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105163171A (en) * | 2015-07-07 | 2015-12-16 | 深圳市美贝壳科技有限公司 | File transmission method between set top box and mobile terminal and system |
CN106230932A (en) * | 2016-07-31 | 2016-12-14 | 深圳市青葡萄科技有限公司 | A kind of cloud disk shares the apparatus and method of file |
CN107566367A (en) * | 2017-09-02 | 2018-01-09 | 刘兴丹 | A kind of shared method, apparatus of cloud storage information network certification |
CN113507481A (en) * | 2017-10-19 | 2021-10-15 | 西安万像电子科技有限公司 | Method and system for processing multimedia content |
CN107862034A (en) * | 2017-11-03 | 2018-03-30 | 广州视源电子科技股份有限公司 | Method, device and equipment for rapidly saving files and storage medium |
CN111698191A (en) * | 2019-03-13 | 2020-09-22 | 青岛海尔电冰箱有限公司 | Shared information system |
Also Published As
Publication number | Publication date |
---|---|
CN104601715B (en) | 2018-04-06 |
WO2016119414A1 (en) | 2016-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601715A (en) | File sharing method and system and mobile terminal based on two-dimension code | |
EP3842919A1 (en) | Method, apparartus and system for controlling projection screen | |
US20100174791A1 (en) | Short distance wireless communication system and method for accessing instant messenger | |
CN110121902B (en) | Communication establishment method and terminal | |
JP6072132B2 (en) | Method of establishing a communication path using active connection of relay server of mobile terminal | |
KR100469409B1 (en) | Personal information management method for mobile communication device | |
KR20100098260A (en) | Device and method for controlling remote user interface device | |
CN104618780A (en) | Method and system for controlling electrical apparatus | |
EP2941058B1 (en) | Near field communication method and device | |
CN104394600A (en) | Method and device for transmitting files | |
CN103475636A (en) | Electronic account login method, intelligent terminal and mobile terminal | |
CN104079597A (en) | Transfer method of media stream and user equipment | |
CN100581302C (en) | Documents sharing method based on portable terminal | |
CN104639975A (en) | WIHD (wireless high-definition) connection building method and device | |
CN107835445B (en) | MQTT protocol-based television control method, mobile terminal and television | |
US10440441B2 (en) | Image pickup apparatus, image pickup system, control method for image pickup apparatus, and recording medium | |
CN103546531B (en) | The parameter rapid-setting method and system of a kind of intelligent television | |
US8050667B2 (en) | Virtual terminal server, mobile communication terminal, communication control system, and communication control method | |
CN104079953B (en) | The method and system of operation is shared based on video information | |
CN104602108A (en) | Method and system for transferring files of mobile phone and set-top box | |
CN115665470B (en) | Method for quick change of intelligent television through data migration | |
CN104580296A (en) | Method, device and terminals for sharing resources | |
KR102118002B1 (en) | Method for communication using ip address eschanged via near field communication and apparatus for the same | |
CN113132997A (en) | Communication method, device and system of intelligent household equipment | |
CN105812412A (en) | Transmission processing and remote processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |