CN104601715B - A kind of file sharing method based on Quick Response Code, system and mobile terminal - Google Patents
A kind of file sharing method based on Quick Response Code, system and mobile terminal Download PDFInfo
- Publication number
- CN104601715B CN104601715B CN201510046724.4A CN201510046724A CN104601715B CN 104601715 B CN104601715 B CN 104601715B CN 201510046724 A CN201510046724 A CN 201510046724A CN 104601715 B CN104601715 B CN 104601715B
- Authority
- CN
- China
- Prior art keywords
- shared
- file
- mobile terminal
- 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.)
- Active
Links
- 230000004044 response Effects 0.000 title claims abstract description 129
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims abstract description 17
- 230000010365 information processing Effects 0.000 claims abstract description 7
- 238000012795 verification Methods 0.000 claims description 3
- 239000002131 composite material Substances 0.000 abstract description 4
- 230000008859 change Effects 0.000 description 2
- 238000011017 operating method Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process 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)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
A kind of file sharing method based on Quick Response Code, system and mobile terminal provided by the present invention, methods described specifically include:The shared side of mobile terminal selects file to be shared, by the shared service information processing of the file to be shared into Quick Response Code, and the Quick Response Code is shown on the screen of the mobile terminal;Mobile terminal recipient is scanned and parses the Quick Response Code, and the shared service information in the Quick Response Code parsed sends file application requests by network connection to the shared side of mobile terminal;The shared side of mobile terminal receives the file application requests, and the file to be shared is sent into the mobile terminal recipient.The present invention need not be filled in advance during file-sharing transmission any information of recipient, the camera on recipient's mobile phone is only needed to scan the Quick Response Code for sharing side, and instructed without oneself composite document sharing request, the shared instruction obtained need to be only transmitted directly to share square mobile phone from Quick Response Code it is achieved that convenient and swift.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of file sharing method based on Quick Response Code, system
And mobile terminal.
Background technology
Current intelligent movable mobile phone is extremely popularized, and the purposes of mobile phone is increasingly wider, and usual people can preserve in mobile phone
Various files, such as picture, document, audio/video file, many times user wish can by these file-sharings to
Other people, copy in other words in other mobile phones.In the prior art, smart mobile phone can provide file by a variety of methods and be total to
Function is enjoyed, is such as transmitted with bluetooth, wifi, short message.But these methods need more operating procedure, such as use bluetooth skill
Art must carry out matching operation with other side's mobile phone, must be by network connection, then necessary using short message sending using wifi transmission
User is manually entered information of other side etc..It can be seen that the above File Sharing Technique is required for more numerous and diverse operating procedure, give
User brings some inconvenience.
Therefore, prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided one kind is based on Quick Response Code
File sharing method, system and mobile terminal, it is intended to pass through the present invention solve prior art present in File Sharing Technique
The defects of trivial operations, provide the user convenience.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of file sharing method based on Quick Response Code, wherein, including step:
The shared side of S1, mobile terminal selects file to be shared, by the shared service information processing of the file to be shared
Shown on the screen of the mobile terminal into Quick Response Code, and by the Quick Response Code;
S2, mobile terminal recipient are scanned and are parsed the Quick Response Code, according to the shared service in the Quick Response Code parsed
Information sends file application requests by network connection to the shared side of mobile terminal;
The shared side of S3, mobile terminal receives the file application requests, and the file to be shared is sent to described
Mobile terminal recipient.
The described file sharing method based on Quick Response Code, wherein, the shared service information of the file to be shared includes:
Service IP address, port numbers and file request order.
The described file sharing method based on Quick Response Code, wherein, the step S1 specifically includes step:
The shared side of S11, mobile terminal selects file to be shared, and simultaneous selection is total to the mode of two-dimensional code scanning
Enjoy;
S12, determine whether the shared side of the mobile terminal opens network connection, if the network connection has been beaten
Open, then system establishes a shared service program automatically;
S13, the shared service program obtain shared service IP address and port numbers, and existed according to the file to be shared
Residing routing information generation file request instruction in mobile terminal;
S14, the instruction of the shared service IP address, port numbers and file request is processed into Quick Response Code, and by described two
Dimension code is shown on the screen of the mobile terminal.
The described file sharing method based on Quick Response Code, wherein, the step S2 specifically includes step:
S21, prejudge whether the mobile terminal recipient opens network connection;
If S22, the network connection have already turned on, mobile terminal recipient scans the Quick Response Code, and described in parsing
The shared service information of file to be shared in Quick Response Code, the IP address of the shared service packet containing shared service, port
Number and file request instruction;
S23, sent according to the service IP address and port numbers parsed to the shared side of specified mobile terminal and establish network
Connection request;
After S24, network connecting request success, further instructing the file request parsed please as file-sharing
Ask the shared side of the mobile terminal for being sent directly to specify.
The described file sharing method based on Quick Response Code, wherein, the step S3 specifically includes step:
The shared side of S31, mobile terminal receives the file request instruction that the mobile terminal recipient sends, and parses described
The file to be shared that includes residing routing information in the terminal in file request instruction;
S32, the specified shared file of the routing information is sent to the mobile terminal recipient;
S33, the mobile terminal recipient receive the shared file of the band, and file is stored in into mobile terminal and specified
File path in.
A kind of shared file system based on Quick Response Code, wherein, including:
Quick Response Code generates display module, file to be shared is selected for the shared side of mobile terminal, by the text to be shared
The shared service information processing of part is shown on the screen of the mobile terminal into Quick Response Code, and by the Quick Response Code;
Two-dimensional code scanning parsing module, scanned for mobile terminal recipient and parse the Quick Response Code, according to parsing
Quick Response Code in shared service information file application requests are sent to the shared side of mobile terminal by network connection;
File sharing module, the file application requests are received for the shared side of mobile terminal, and will be described to be shared
File is sent to the mobile terminal recipient.
Wherein, the shared service information of the file to be shared includes the shared file system based on Quick Response Code:Clothes
Business IP address, port numbers and file request order;
The Quick Response Code generation display module specifically includes:
Shared file selecting unit, file to be shared, simultaneous selection Quick Response Code are selected for the shared side of mobile terminal
The mode of scanning is shared;
First network connection judgment unit, connect for determining whether the shared side of the mobile terminal opens network
Connect, if the network connection has already turned on, system establishes a shared service program automatically;
Shared service information acquisition unit, shared service IP address and port numbers are obtained for the shared service program,
And according to the file to be shared residing routing information generation file request instruction in the terminal;
Quick Response Code generation unit, for the instruction of the shared service IP address, port numbers and file request to be processed into two
Code is tieed up, and the Quick Response Code is shown on the screen of the mobile terminal.
The shared file system based on Quick Response Code, wherein, the two-dimensional code scanning parsing module specifically includes:
Second network connection judging unit, for prejudging whether the mobile terminal recipient opens network connection;
Shared service information resolution unit, if being had already turned on for the network connection, mobile terminal recipient scanning
The Quick Response Code, and the shared service information of the file to be shared in the Quick Response Code is parsed, the shared service packet contains
IP address, port numbers and the file request instruction of shared service;
Network connecting request unit, for being total to according to the service IP address and port numbers that parse to specified mobile terminal
The side of enjoying sends and establishes network connecting request;
File application requests unit, after network connecting request success, the file request that will further parse
The mobile terminal for being sent directly to specify as file application requests is instructed to share side.
The shared file system based on Quick Response Code, wherein, the file sharing module also includes:
Routing information resolution unit, the file that the mobile terminal recipient transmission is received for the shared side of mobile terminal please
Instruction is asked, parses the file to be shared included in file request instruction residing routing information in the terminal;
File transmitting element, received for the specified shared file of the routing information to be sent into the mobile terminal
Side;
File reception memory cell, the shared file of the band is received for the mobile terminal recipient, and by file
It is stored in the file path that mobile terminal is specified.
A kind of mobile terminal, wherein, including the shared file system based on Quick Response Code described in any of the above item.
A kind of file sharing method based on Quick Response Code, system and mobile terminal provided by the present invention, methods described tool
Body includes:The shared side of mobile terminal selects file to be shared, by the shared service information processing of the file to be shared into two
Code is tieed up, and the Quick Response Code is shown on the screen of the mobile terminal;Mobile terminal recipient is scanned and parses the Quick Response Code,
Shared service information in the Quick Response Code parsed sends file-sharing by network connection to the shared side of mobile terminal please
Ask;The shared side of mobile terminal receives the file application requests, and the file to be shared is sent into the mobile terminal
Recipient.The present invention need not be filled in advance during file-sharing transmission any information of recipient, it is only necessary to recipient
The Quick Response Code generated on square mobile phone screen is shared with the camera scanning on mobile phone, and is referred to without oneself composite document sharing request
Order, it is only necessary to which the shared instruction obtained from Quick Response Code is transmitted directly to share square mobile phone it is achieved that convenient and swift;Separately
Outside, shared side can share multiple files simultaneously, if multiple Quick Response Codes are generated on the mobile phone for sharing side is provided, or repeatedly
Generate Quick Response Code, every or correspond to different files every time, such server can not make any variation just can complete to share it is literary
The transmission of part.
Brief description of the drawings
Fig. 1 is the flow chart of the first preferred embodiment of the file sharing method of the invention based on Quick Response Code.
Fig. 2 is shared side's execution flow chart of the Application Example of the file sharing method of the invention based on Quick Response Code.
Fig. 3 is recipient's execution flow chart of the Application Example of the file sharing method of the invention based on Quick Response Code.
Fig. 4 is the functional block diagram of the first preferred embodiment of the shared file system of the invention based on Quick Response Code.
Fig. 5 is that the Quick Response Code generation of the first preferred embodiment of the shared file system of the invention based on Quick Response Code shows mould
The cut-away view of block.
Fig. 6 is the two-dimensional code scanning parsing mould of the first preferred embodiment of the shared file system of the invention based on Quick Response Code
The cut-away view of block.
Fig. 7 is in the file sharing module of the first preferred embodiment of the shared file system of the invention based on Quick Response Code
Portion's structure chart.
Embodiment
The invention discloses a kind of file sharing method based on Quick Response Code, system and mobile terminal, to make the present invention's
Object, technical solution and advantage are clearer, clear and definite, the embodiment that develops simultaneously referring to the drawings to the present invention further specifically
It is bright.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Fig. 1 is referred to, Fig. 1 is the flow of the first preferred embodiment of the file sharing method of the invention based on Quick Response Code
Figure.The file sharing method based on Quick Response Code shown in Fig. 1, including:
Step S101, the shared side of mobile terminal selects file to be shared, and the shared service of the file to be shared is believed
Breath is processed into Quick Response Code, and the Quick Response Code is shown on the screen of the mobile terminal.
The embodiment of the present invention utilizes C/S(Client/server)Pattern is operated, and client will be connected to server and need
The IP address and port numbers of server are wanted, because server is generated, it is necessary to which service IP address and port numbers are told temporarily
Client, and filled in using traditional-handwork can be slow, therefore the generation of these information in Quick Response Code, other side scans two dimension
Code simultaneously can be carried out connecting after obtaining these information.Therefore, the shared clothes of the file to be shared in the embodiment of the present invention
Business information includes:Service IP address, port numbers and file request order.
Further, the step S101 specifically includes step:
The shared side of S1011, mobile terminal selects file to be shared, and simultaneous selection is total to the mode of two-dimensional code scanning
Enjoy;
S1012, determine whether the shared side of the mobile terminal opens network connection, if the network connection is
Open, then system establishes a shared service program automatically;
S1013, the shared service program obtain shared service IP address and port numbers, and according to the file to be shared
Residing routing information generation file request instruction in the terminal;
S1014, the instruction of the shared service IP address, port numbers and file request is processed into Quick Response Code, and will described in
Quick Response Code is shown on the screen of the mobile terminal.
Step S102, mobile terminal recipient is scanned and parses the Quick Response Code, being total in the Quick Response Code parsed
Enjoy information on services and file application requests are sent to the shared side of mobile terminal by network connection.
In the embodiment of the present invention, the step S102 specifically includes step:
S1021, prejudge whether the mobile terminal recipient opens network connection;
If S1022, the network connection have already turned on, mobile terminal recipient scans the Quick Response Code, and parses institute
State the shared service information of the file to be shared in Quick Response Code, the IP address of the shared service packet containing shared service, end
Slogan and file request instruction;
S1023, sent according to the service IP address and port numbers parsed to the shared side of specified mobile terminal and establish net
Network connection request;
After S1024, network connecting request success, further the file request parsed is instructed as file-sharing
Request is sent directly to the shared side of mobile terminal specified.
Step S103, the shared side of mobile terminal receives the file application requests, and the file to be shared is sent
To the mobile terminal recipient.
In the embodiment of the present invention, the step S103 specifically includes step:
The shared side of S1031, mobile terminal receives the file request instruction that the mobile terminal recipient sends, and parses institute
State the residing routing information in the terminal of the file to be shared that includes in file request instruction;
S1032, the specified shared file of the routing information is sent to the mobile terminal recipient;
S1033, the mobile terminal recipient receive the shared file of the band, and file is stored in into mobile terminal and referred to
In fixed file path.
Further, the present invention does not limit the transmission means of underlying file, i.e. can use any sides such as wifi, bluetooth
Formula carries out the transmission of shared file, therefore transmits more flexible, general.
Below will the present invention will be further described by specific Application Example.File of the invention based on Quick Response Code
The implementation procedure of sharing method includes shared side and recipient, please refer to Fig. 2, and Fig. 2 is the file of the invention based on Quick Response Code
Shared side's execution flow chart of the Application Example of sharing method, using wifi as network connection transmission in this application embodiment
Mode(Other transmission means, if using Bluetooth technology need the information of pairing to be placed in Quick Response Code, carried out with facilitating
Automatic matching).As shown in Fig. 2 including step:
S21, user select file to be shared, and selection is shared with two-dimensional code scanning mode;
The user for sharing side passes through various Fileview modes in mobile phone(Such as file manager)Selection needs shared
File, and pass through certain mode(Such as long-time filesselected, then system can eject corresponding document control menu)Enter one
The operation of step selection " being shared with two-dimensional code scanning mode ".
S22, judge whether wifi opensIf wifi has been opened, into step S24;
If S23, wifi are not switched on, wifi connections are opened(Or prompting user opens);
S24, open shared service end program;
Before the file sharing method based on Quick Response Code for performing the present invention, sharing the mobile phone of side needs it is first determined whether
Through opening wifi network connection, if be not turned on, system prompts user to perform opening operation in the form of dialog box.If institute
State wifi network connection to have already turned on, then system is established and opens a shared service end program automatically(As TCP is serviced), this clothes
It is engaged in for monitoring the data on specified shared service IP and port.
S25, the square address for obtaining shared service and port numbers;
S26, generation file request order;
The file request command format such as get/FilePath, wherein FilePath refer to file to be shared in mobile phone
Residing detailed path information.
S27, generate Quick Response Code and be shown on interface;
IP address, port numbers and the file request instruction of the shared service are processed into Quick Response Code by system, and by described in
Quick Response Code is shown on the screen of the mobile terminal.
Further, Fig. 3 please be refer to, Fig. 3 is the Application Example of the file sharing method of the invention based on Quick Response Code
Recipient's execution flow chart.As shown in figure 3, including step:
S31, judge whether wifi opensIf wifi has been opened, into step S33;
If S32, wifi are not switched on, wifi connections are opened(Or prompting user opens);
S33, scanning Quick Response Code;
S34, analysis service IP address and port numbers;
S35, resolution file request command;
Recipient is also required to judge whether to open wifi network first after the shared reception program of two-dimensional code scanning is opened
Connection, if be not turned on, system prompts user to perform opening operation in the form of dialog box.If the wifi network connection
Have already turned on, program can automatically open up camera scanning Quick Response Code afterwards, and parse the file to be shared in the Quick Response Code
Shared service information, the IP address of the shared service packet containing shared service, port numbers and file request instruction.
The IP and port numbers that S36, basis parse initiate connection request to service;
S37, connection request success, file application requests order is initiated to service end;
After connection request success, recipient synthesizes request instruction without oneself, it is only necessary to the finger obtained from Quick Response Code
Order is transmitted directly to shared provider's mobile phone can.So do, on the one hand shared side can be carried out to the instruction that recipient sends
Fast verification, and recipient need not do unnecessary operation;On the other hand, shared side can share multiple files simultaneously, as long as
There is provided and generate multiple Quick Response Codes on the mobile phone for sharing side, or repeatedly generate Quick Response Code, every or correspond to different files every time,
So server can complete the transmission of shared file without making any change.
The file transmission stage afterwards includes:Shared side receives the file application requests instruction that the recipient sends, solution
Separate out the file to be shared included in the file application requests instruction detailed path information residing in mobile phone(I.e.
Routing information included in FilePath);The specified shared file of the path details is sent to the recipient
(Such as pass through TCP modes);The recipient receives the shared file of the band, and file is stored in into the file road that mobile phone specifies
In footpath, this file path can be that system default or user are preassigned.
Therefore the present invention need not be filled in advance during file-sharing transmission any information of recipient, only
Recipient is needed to scan the Quick Response Code shared and generated on square mobile phone screen with the camera on mobile phone, and without oneself composite document
Sharing request instruct, it is only necessary to the shared instruction obtained from Quick Response Code be transmitted directly to share square mobile phone it is achieved that
It is convenient and swift, provide the user facility.
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, bag
Include:
Quick Response Code generates display module 100, and file to be shared is selected for the shared side of mobile terminal, will be described to be shared
The shared service information processing of file is shown on the screen of the mobile terminal into Quick Response Code, and by the Quick Response Code;Specifically as above
It is described.
Two-dimensional code scanning parsing module 200, scanned for mobile terminal recipient and parse the Quick Response Code, according to parsing
Shared service information in the Quick Response Code gone out sends file application requests by network connection to the shared side of mobile terminal;Specifically such as
It is upper described.
File sharing module 300, the file application requests are received for the shared side of mobile terminal, and will be described to be shared
File be sent to the mobile terminal recipient;As detailed above.
The shared service information of the file to be shared includes:Service IP address, port numbers and file request order.
Further, the shared file system based on Quick Response Code, as shown in figure 5, the dimension code generation display module
100 also include:
Shared file selecting unit 110, file to be shared, simultaneous selection two dimension are selected for the shared side of mobile terminal
The mode of code scanning is shared;As detailed above.
First network connection judgment unit 120, for determining whether the shared side of the mobile terminal opens network
Connection, if the network connection has already turned on, system establishes a shared service program automatically;As detailed above.
Shared service information acquisition unit 130, shared service IP address and port are obtained for the shared service program
Number, and according to the file to be shared residing routing information generation file request instruction in the terminal;Specific as above institute
State.
Quick Response Code generation unit 140, for the instruction of the shared service IP address, port numbers and file request to be processed into
Quick Response Code, and the Quick Response Code is shown on the screen of the mobile terminal;As detailed above.
Further, the shared file system based on Quick Response Code, as shown in fig. 6, the two-dimensional code scanning parses mould
Block 200 specifically includes:
Second network connection judging unit 210, for prejudging whether the mobile terminal recipient opens network company
Connect;As detailed above.
Shared service information resolution unit 220, if being had already turned on for the network connection, mobile terminal recipient sweeps
The Quick Response Code is retouched, and parses the shared service information of the file to be shared in the Quick Response Code, the shared service packet
IP address, port numbers and file request instruction containing shared service;As detailed above.
Network connecting request unit 230, for according to the service IP address that parses and port numbers to specified mobile end
The shared side in end, which is sent, establishes network connecting request;As detailed above.
File application requests unit 240, further please by the file parsed after network connecting request success
The shared side of mobile terminal for asking instruction to be sent directly to specify as file application requests;As detailed above.
Further, the shared file system based on Quick Response Code, as shown in fig. 7, the file sharing module 300 has
Body includes:
Routing information resolution unit 310, the text of the mobile terminal recipient transmission is received for the shared side of mobile terminal
Part request instruction, parse the file to be shared included in file request instruction residing path letter in the terminal
Breath;As detailed above.
File transmitting element 320, connect for the specified shared file of the routing information to be sent into the mobile terminal
Debit;As detailed above.
File reception memory cell 330, the shared file of the band is received for the mobile terminal recipient, and by text
Part is stored in the file path that mobile terminal is specified;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 includes upper
State the described shared file system based on Quick Response Code.
In summary, a kind of file sharing method based on Quick Response Code, system and mobile terminal provided by the present invention, institute
The method of stating specifically includes:The shared side of mobile terminal selects file to be shared, by the shared service information of the file to be shared
Quick Response Code is processed into, and the Quick Response Code is shown on the screen of the mobile terminal;Mobile terminal recipient is scanned and parses institute
Quick Response Code is stated, the shared service information in the Quick Response Code parsed sends text by network connection to the shared side of mobile terminal
Part sharing request;The shared side of mobile terminal receives the file application requests, and the file to be shared is sent to described
Mobile terminal recipient.The present invention need not be filled in advance during file-sharing transmission any information of recipient, only needs
Want recipient to scan the Quick Response Code shared and generated on square mobile phone screen with the camera on mobile phone, and be total to without oneself composite document
Enjoy request instruction, it is only necessary to which the shared instruction obtained from Quick Response Code is transmitted directly to share square mobile phone it is achieved that side
Just it is quick;In addition, shared side can share multiple files simultaneously, as long as generating multiple two dimensions on the mobile phone for sharing side is provided
Code, or repeatedly generates Quick Response Code, every or correspond to different files every time, and such server can be not making any change with regard to energy
Complete the transmission of shared file.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.
Claims (7)
1. a kind of file sharing method based on Quick Response Code, it is characterised in that including step:
The shared side of S1, mobile terminal selects file to be shared, by the shared service information processing of the file to be shared into two
Code is tieed up, and the Quick Response Code is shown on the screen of the mobile terminal;
S2, mobile terminal recipient are scanned and are parsed the Quick Response Code, the shared service information in the Quick Response Code parsed
File application requests are sent to the shared side of mobile terminal by network connection;
The shared side of S3, mobile terminal receives the file application requests, and the file to be shared is sent into the movement
Terminal recipient;
The shared service information of the file to be shared includes:Service IP address, port numbers and file request instruction;
The step S2 specifically includes step:
S21, prejudge whether the mobile terminal recipient opens network connection;
If S22, the network connection have already turned on, mobile terminal recipient scans the Quick Response Code, and parses the two dimension
Code in file to be shared shared service information, the IP address of the shared service packet containing shared service, port numbers and
File request instructs;
S23, sent according to the service IP address and port numbers parsed to the shared side of specified mobile terminal and establish network connection
Request;
After S24, network connecting request success, further the file request parsed is instructed straight as file application requests
The shared side of the mobile terminal specified is delivered in sending and receiving, so that the shared side of mobile terminal is carried out to the instruction that mobile terminal recipient sends
Fast verification.
2. the file sharing method according to claim 1 based on Quick Response Code, it is characterised in that the step S1 is specifically wrapped
Include step:
The shared side of S11, mobile terminal selects file to be shared, and simultaneous selection is shared with the mode of two-dimensional code scanning;
S12, determine whether the shared side of the mobile terminal opens network connection, if the network connection has already turned on,
Then system establishes a shared service program automatically;
S13, the shared service program obtain shared service IP address and port numbers, and according to the file to be shared in movement
Residing routing information generation file request instruction in terminal;
S14, the instruction of the shared service IP address, port numbers and file request is processed into Quick Response Code, and by the Quick Response Code
Display is on the screen of the mobile terminal.
3. the file sharing method according to claim 2 based on Quick Response Code, it is characterised in that the step S3 is specifically wrapped
Include step:
The shared side of S31, mobile terminal receives the file request instruction that the mobile terminal recipient sends, and parses the file
The file to be shared included in request instruction residing routing information in the terminal;
S32, the specified shared file of the routing information is sent to the mobile terminal recipient;
S33, the mobile terminal recipient receive the file to be shared, and file are stored in into what mobile terminal was specified
In file path.
A kind of 4. shared file system based on Quick Response Code, it is characterised in that including:
Quick Response Code generates display module, file to be shared is selected for the shared side of mobile terminal, by the file to be shared
Shared service information processing is shown on the screen of the mobile terminal into Quick Response Code, and by the Quick Response Code;
Two-dimensional code scanning parsing module, scanned for mobile terminal recipient and parse the Quick Response Code, according to two parsed
The shared service information tieed up in code sends file application requests by network connection to the shared side of mobile terminal;
File sharing module, the file application requests are received for the shared side of mobile terminal, and by the file to be shared
It is sent to the mobile terminal recipient;
The shared service information of the file to be shared includes:Service IP address, port numbers and file request instruction;
The two-dimensional code scanning parsing module specifically includes:
Second network connection judging unit, for prejudging whether the mobile terminal recipient opens network connection;
Shared service information resolution unit, if being had already turned on for the network connection, described in mobile terminal recipient scanning
Quick Response Code, and the shared service information of the file to be shared in the Quick Response Code is parsed, the shared service packet is containing shared
IP address, port numbers and the file request instruction of service;
Network connecting request unit, for shared square to specified mobile terminal according to the service IP address and port numbers parsed
Network connecting request is established in transmission;
File application requests unit, after network connecting request success, further the file request parsed is instructed
The shared side of mobile terminal for being sent directly to specify as file application requests, so that the shared side of mobile terminal connects to mobile terminal
The instruction that debit sends carries out fast verification.
5. the shared file system based on Quick Response Code according to claim 4, it is characterised in that the Quick Response Code generation display
Module specifically includes:
Shared file selecting unit, file to be shared, simultaneous selection two-dimensional code scanning are selected for the shared side of mobile terminal
Mode shared;
First network connection judgment unit, for determining whether the shared side of the mobile terminal opens network connection, if
The network connection has already turned on, then system establishes a shared service program automatically;
Shared service information acquisition unit, shared service IP address and port numbers, and root are obtained for the shared service program
According to the file to be shared residing routing information generation file request instruction in the terminal;
Quick Response Code generation unit, for the instruction of the shared service IP address, port numbers and file request to be processed into Quick Response Code,
And the Quick Response Code is shown on the screen of the mobile terminal.
6. the shared file system based on Quick Response Code according to claim 5, it is characterised in that the file sharing module is also
Including:
Routing information resolution unit, the file request that the mobile terminal recipient transmission is received for the shared side of mobile terminal refer to
Order, parse the file to be shared included in file request instruction residing routing information in the terminal;
File transmitting element, for the specified shared file of the routing information to be sent into the mobile terminal recipient;
File reception memory cell, the file to be shared is received for the mobile terminal recipient, and file is preserved
In the file path that mobile terminal is specified.
7. a kind of mobile terminal, it is characterised in that be total to including the file based on Quick Response Code described in any one of claim 4 to 6
Enjoy system.
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 CN104601715A (en) | 2015-05-06 |
CN104601715B true 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) |
Families Citing this family (9)
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 | 广州视源电子科技股份有限公司 | A kind of file rapid saving method, apparatus, equipment and storage medium |
CN111698191A (en) * | 2019-03-13 | 2020-09-22 | 青岛海尔电冰箱有限公司 | Shared information system |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104601715A (en) | 2015-05-06 |
WO2016119414A1 (en) | 2016-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104601715B (en) | A kind of file sharing method based on Quick Response Code, system and mobile terminal | |
KR100848502B1 (en) | Method and System for Proving Integration Theme Pack Service | |
CN109690959B (en) | File sending method, file receiving method and terminal | |
KR100835652B1 (en) | Method and System for Customizing User Interface by Editing Multimedia Content | |
US8346206B1 (en) | Customizable media feedback software package and methods of generating and installing the package | |
US20050250447A1 (en) | Communication system | |
CN110121902B (en) | Communication establishment method and terminal | |
US20060199599A1 (en) | Method for setting communication device and communication device thereof | |
WO2006079897A1 (en) | System, method and computer program product for establishing a conference session and synchronously rendering content during the same | |
CN104618780A (en) | Method and system for controlling electrical apparatus | |
EP2941058B1 (en) | Near field communication method and device | |
JP2005243011A (en) | Character processing apparatus and method of portable terminal | |
CN105323403A (en) | Cloud print method using automatic response system and cloud print system for performing the same | |
WO2008003070A2 (en) | Portable communication device | |
KR20060099667A (en) | Method for emboding macro between sim and me using sat and the apparatus therefor | |
CN103220822A (en) | Data transmission method, data transmission device and mobile terminal | |
CN104639975A (en) | WIHD (wireless high-definition) connection building method and device | |
CN103888488A (en) | Method for sharing data based on WIFI | |
CN107484016A (en) | Video dubs switching method, television set and computer-readable recording medium | |
CN103546531B (en) | The parameter rapid-setting method and system of a kind of intelligent television | |
KR100871223B1 (en) | Mobile communications system and method for transmitting multimedia message | |
CN112887194A (en) | Interactive method, device, terminal and storage medium for realizing communication of hearing-impaired people | |
EP2061214B1 (en) | Virtual terminal server, mobile communication terminal, communication control system, and communication control method | |
US8723964B2 (en) | Method and device for communication using an optical sensor | |
JP2006523070A (en) | Method and apparatus for providing multimedia service in portable terminal |
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 |