CN103442009A - File transmission method based on NFC - Google Patents

File transmission method based on NFC Download PDF

Info

Publication number
CN103442009A
CN103442009A CN2013103859671A CN201310385967A CN103442009A CN 103442009 A CN103442009 A CN 103442009A CN 2013103859671 A CN2013103859671 A CN 2013103859671A CN 201310385967 A CN201310385967 A CN 201310385967A CN 103442009 A CN103442009 A CN 103442009A
Authority
CN
China
Prior art keywords
file
nfc
method based
transmission method
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103859671A
Other languages
Chinese (zh)
Inventor
张国祥
马全一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRENOVATOR LAB (SUZHOU) Co Ltd
Original Assignee
CRENOVATOR LAB (SUZHOU) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CRENOVATOR LAB (SUZHOU) Co Ltd filed Critical CRENOVATOR LAB (SUZHOU) Co Ltd
Priority to CN2013103859671A priority Critical patent/CN103442009A/en
Publication of CN103442009A publication Critical patent/CN103442009A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a file transmission method based on NFC. The file transmission method based on the NFC comprises the following steps of (1) establishing connection between NFC terminal equipment in a sensing mode; (2) establishing a file transmission path, (3) carrying out compression on files to be transmitted, and carrying out file transmission through the file transmission path established in the step (2); (4) receiving the compressed files transmitted through the step (3), and carrying out decompression on the received compressed files; (5) carrying out integrity detection on the files received in the step (4), carrying out a next step if the received files are identical with the original transmitted files, and returning to the previous step to carry out file retransmission if the received files are incomplete or wrong or messy in code; (6) carrying out automatic storage management on the received files to enable a user to be capable of checking the contents of the files. The file transmission method based on the NFC is high in file transmission speed, safe and convenient to implement.

Description

A kind of document transmission method based on NFC
Technical field
The present invention relates to the NFC near field communication (NFC), relate in particular to a kind of document transmission method based on NFC.
Background technology
Along with the fast development of the communication technology and 3C Product, mobile phone has become in people's daily life must indispensable information terminal, and present smart mobile phone not only possesses basic communication functions, and can more serve daily life.Along with the Developing Extension of NFC technology, make mobile phone in life towards more quick, safe future development.
The NFC technology is a kind of the short distance wireless communication technology developed by non-contact radio-frequency identification and interconnected communication Technology Integration.The cardinal principle of this technology is that induction type card reader, induction type card and point-to-point function are concentrated on a chip, and can in short distance, with compatible equipment, be identified and exchanges data.This technology short range wireless transmission technology common with traditional bluetooth, infrared lamp compared has the advantages that the reaction time is shorter, more stable, safer and cost is lower.
In file transfer shared file resources domain, although the NFC technology makes the file transfer access between cell phone apparatus more direct and simple, also exist some problems.For example, the maximum transfer speed of simple NFC technology is 424KB, if the larger file of transmission, this transmission speed can not be well larger file service, if moreover in transmitting procedure because distance or some other factor cause file transfer to interrupt, may lose a part of file.
Summary of the invention
The present invention has overcome the deficiencies in the prior art, provides that a kind of file transfer speed is fast, the document transmission method based on NFC of safe ready and peace.
For achieving the above object, the technical solution used in the present invention is: a kind of document transmission method based on NFC, it is characterized in that, and comprise the following steps:
Step 1: between the NFC terminal equipment, induction connects;
Step 2: the path of setting up file transfer;
Step 3: the file to transmission compresses processing, and carries out file transfer by the document conveyance path of setting up in step 2;
Step 4: receive the compressed file that the step 3 kind transmits and will receive compressed file and carry out decompress(ion);
Step 5: the file received in step 4 is carried out to complete detection, if the file received is identical with the original transmitted file, carry out next step, if the file received exists disappearance or wrong mess code, return to previous step and carry out file and again transmit;
Step 6: the file received is carried out to Automatic Storage Management, so that user's accessed document content.
In a preferred embodiment of the present invention, further comprise, between described step 2 and described step 3, comprise step 1: after having set up document conveyance path, be connected with bluetooth rapidly, utilize the large file of high transmission speed fast transport of bluetooth.
In a preferred embodiment of the present invention, further comprise, comprise step 2 in described step 3 after compressed file before transfer files: whether the file that the identification judgement will be transmitted belongs to encrypt file, if belong to encrypt file can eject the window of password authentification, the user need input Crypted password could continue next step; If the file of transmission does not belong to encrypt file, continue next step.
In a preferred embodiment of the present invention, further comprise, the file to special sensitivity level before file is transmitted is manually encrypted, encryption mode comprise in cipher mode, fingerprint pattern, acoustic pattern and iris pattern any one or multiple.
In a preferred embodiment of the present invention, further comprise, setting up document conveyance path in described step 2 is that tcp transmission control protocol is realized, this TCP transmission path process is that model TCP connects, and then carries out transfer of data, finally release connection again.
In a preferred embodiment of the present invention, further comprise, will automatically stop transmission in described step 5 when the file that reception detected has disappearance or wrong mess code, the recipient does not receive the information of file to the transmit leg feedback, and after a period of time, transmit leg can initiatively resend file.
In a preferred embodiment of the present invention, further comprise, in described step 3 and step 4, file is compressed and decompress(ion) is based on java.util.zip and wraps to realize.
In a preferred embodiment of the present invention, further comprise, the path that described step 6 is stored the file received be acquiescence without manual setting, the user receives file and can manually to file, be classified, revise or delete.
In a preferred embodiment of the present invention, further comprise, the described document transmission method based on NFC is applied to the file transfer between mobile phone, PDA, PC and panel computer.
The tcp transmission control protocol that the present invention mentions is a kind of reliable transport layer communication protocol towards connecting based on byte stream.Referred to before using Transmission Control Protocol towards connection, should first set up TCP and connect, discharge again the TCP set up and connect after being transmitted.Transmission Control Protocol provides reliable and secure communication service for document transmission system of the present invention.
The java.util.zip bag related in the present invention, be a kind of algorithm of realizing data compression and decompress(ion), and wherein compression is source data to be write to the output stream of ZIP form, and decompress(ion) is reading out data from inlet flow, then reads compressed data in output stream.Usually in computer, the storage data are binary forms, and the information repeated in these binary forms is stored to realize data compression with the spcial character mark.
The NFC that the present invention mentions is a kind of near-field communication technology, claim again close range wireless communication, be a kind of short-range high frequency wireless communication technology, allow to carry out contactless Point-to-Point Data Transmission and exchanges data between electronic equipment, distance is generally within 0.1 meter.This technology is developed by contact-free formula radio-frequency (RF) identification (RFID), and backward compatible RFID, and NFC has natural fail safe, therefore is used in now in a lot of fields.
The invention solves the defect existed in background technology, there is following beneficial effect:
1. document transmission method of the present invention has increased the fail safe of document transmission system, and the method has the function of automatic identification encrypt file, just need to input Crypted password while only having the encrypt file transmission, in order to avoid encrypt file is leaked out; For non-encrypted file, can directly transmit, such benefit improves fail safe on the one hand, does not need on the other hand each file encrypted authentication, has saved the transmission process, improves file transfer speed.
2. file transfer of the present invention provides safe and reliable passage based on tcp transmission control protocol for file transfer, and the method whether can also automatically detect the file received complete or wrong, if because some transient causes cause missing documents, the file that can retransfer and interrupt or lose in transmitting procedure, the integrality but also the whole process that have not only guaranteed file are all automatically to complete, without manual operation, succinct fast.
3. in document transmission method of the present invention, NFC can be connected fast with bluetooth, the dual fast transmission rate advantage faster of induction and bluetooth of NFC, the speeding up data transmission speed utilized.
4. document transmission method of the present invention is that a kind of file transfer speed is fast, the document transmission method based on NFC of safe ready.
The accompanying drawing explanation
Below in conjunction with drawings and Examples, the present invention is further described.
Fig. 1 is the flow chart of the preferred embodiments of the present invention.
Embodiment
The present invention is further detailed explanation in conjunction with the accompanying drawings and embodiments now, and these accompanying drawings are the schematic diagram of simplification, basic structure of the present invention only is described in a schematic way, so it only shows the formation relevant with the present invention.
As shown in Figure 1, the invention provides a kind of document transmission method based on NFC, comprise the following steps: step 1: between the NFC terminal equipment, induction connects; Step 2: the path of setting up file transfer; Step 3: the file to transmission compresses processing, and carries out file transfer by the document conveyance path of setting up in step 2; Step 4: receive the compressed file that the step 3 kind transmits and will receive compressed file and carry out decompress(ion); Step 5: the file received in step 4 is carried out to complete detection, if the file received is identical with the original transmitted file, carry out next step, if the file received exists disappearance or wrong mess code, return to previous step and carry out file and again transmit; Step 6: the file received is carried out to Automatic Storage Management, so that user's accessed document content.
Document transmission method of the present invention is to utilize NFC unique advantage in the file transfer field to set up, and the network type of NFC is point-to-point form, than the bluetooth single-point, multiple spot is had to very high fail safe, the time that the NFC induction connects is less than 0.1 second, and the time that connects of bluetooth was up to 6 seconds, utilize NFC substantially within 1 second, can complete transmission, and NFC has initiatively-active and active-passive plurality of communication schemes, only have initiatively-communication pattern initiatively of Bluetooth transmission, therefore NFC has advantages of that the transmission means such as bluetooth does not have, but with respect to larger file, NFC is weaker than bluetooth on transmission speed, because the maximum transfer speed of NFC is 424KB/s, the data transmission bauds of bluetooth reaches 1MB/s, set up in method of the present invention and after the document conveyance path, utilized NFC to connect fast the interface of bluetooth, utilize the fast speed of bluetooth to be transmitted, accelerate the transmission speed of file.
Will identify the file that judgement will transmit in method of the present invention to file before transmitting and whether belong to encrypt file, if belong to encrypt file can eject the window of password authentification, the user need input Crypted password could continue next step; If the file of transmission does not belong to encrypt file, continue next step.Do like this in order to avoid the classified papers of encrypting are stolen by others, directly transmit without password authentification for non-classified papers, reduced manual steps, accelerate file transfer process.File to special sensitivity level before file is transmitted is manually encrypted, and in embodiments of the invention, concrete encryption mode comprises cipher mode, fingerprint pattern, acoustic pattern or iris mould.
Concrete, setting up document conveyance path in step 2 is that tcp transmission control protocol is realized, this TCP transmission path process is that model TCP connects, and then carries out transfer of data, finally release connection again.TCP is full-duplex communication, and after the recipient in path receives the notice of transmit leg without other transfer of data, TCP will close connection in one direction, and transmit leg will stop data and send.
Will automatically stop transmission in step 5 when the file that reception detected has disappearance or wrong mess code, the recipient does not receive the information of file to the transmit leg feedback, and after a period of time, transmit leg can initiatively resend file.The path that step 6 is stored the file received be acquiescence without manual setting, the user receives file and can manually to file, be classified, revise or delete.
In step 3 and step 4, file is compressed and decompress(ion) is based on java.util.zip and wraps to realize.The java.util.zip bag, be a kind of algorithm of realizing data compression and decompress(ion), and wherein compression is source data to be write to the output stream of ZIP form, and decompress(ion) is reading out data from inlet flow, then reads compressed data in output stream.Usually in computer, the storage data are binary forms, and the information repeated in these binary forms is stored to realize data compression with the spcial character mark.
Document transmission method based on NFC provided by the invention is applied to the file transfer between mobile phone, PDA, PC and panel computer.
Above foundation desirable embodiment of the present invention is enlightenment, and by above-mentioned description, the related personnel can, in the scope that does not depart from this invention technological thought, carry out various change and modification fully.The technical scope of this invention is not limited to the content on specification, must determine technical scope according to the claim scope.

Claims (9)

1. the document transmission method based on NFC, is characterized in that, comprises the following steps:
Step 1: between the NFC terminal equipment, induction connects;
Step 2: the path of setting up file transfer;
Step 3: the file to transmission compresses processing, and carries out file transfer by the document conveyance path of setting up in step 2;
Step 4: receive the compressed file that the step 3 kind transmits and will receive compressed file and carry out decompress(ion);
Step 5: the file received in step 4 is carried out to complete detection, if the file received is identical with the original transmitted file, carry out next step, if the file received exists disappearance or wrong mess code, return to previous step and carry out file and again transmit;
Step 6: the file received is carried out to Automatic Storage Management, so that user's accessed document content.
2. a kind of document transmission method based on NFC according to claim 1, it is characterized in that, comprise step 1 between described step 2 and described step 3: after having set up document conveyance path, be connected with bluetooth rapidly, utilize the large file of high transmission speed fast transport of bluetooth.
3. a kind of document transmission method based on NFC according to claim 1, it is characterized in that, comprise step 2 in described step 3 after compressed file before transfer files: whether the file that the identification judgement will be transmitted belongs to encrypt file, if belong to encrypt file can eject the window of password authentification, the user need input Crypted password could continue next step; If the file of transmission does not belong to encrypt file, continue next step.
4. a kind of document transmission method based on NFC according to claim 3, it is characterized in that, file to special sensitivity level before file is transmitted is manually encrypted, encryption mode comprise in cipher mode, fingerprint pattern, acoustic pattern and iris pattern any one or multiple.
5. a kind of document transmission method based on NFC according to claim 1, it is characterized in that, setting up document conveyance path in described step 2 is that tcp transmission control protocol is realized, this TCP transmission path process is that model TCP connects, then carry out transfer of data, finally release connection again.
6. a kind of document transmission method based on NFC according to claim 1, it is characterized in that, when having disappearance or wrong mess code, the file that reception detected will automatically stop transmission in described step 5, the recipient does not receive the information of file to the transmit leg feedback, after a period of time, transmit leg can initiatively resend file.
7. a kind of document transmission method based on NFC according to claim 1, is characterized in that, in described step 3 and step 4, file compressed and decompress(ion) is based on java.util.zip and wraps to realize.
8. a kind of document transmission method based on NFC according to claim 1, it is characterized in that, the path that described step 6 is stored the file received be acquiescence without manual setting, the user receives file and can manually to file, be classified, revise or delete.
9. according to the described a kind of document transmission method based on NFC of claim 1-8 any one, it is characterized in that, the described document transmission method based on NFC is applied to the file transfer between mobile phone, PDA, PC and panel computer.
CN2013103859671A 2013-08-30 2013-08-30 File transmission method based on NFC Pending CN103442009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103859671A CN103442009A (en) 2013-08-30 2013-08-30 File transmission method based on NFC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103859671A CN103442009A (en) 2013-08-30 2013-08-30 File transmission method based on NFC

Publications (1)

Publication Number Publication Date
CN103442009A true CN103442009A (en) 2013-12-11

Family

ID=49695674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103859671A Pending CN103442009A (en) 2013-08-30 2013-08-30 File transmission method based on NFC

Country Status (1)

Country Link
CN (1) CN103442009A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572102A (en) * 2015-01-08 2015-04-29 浪潮软件集团有限公司 Method for solving Chinese messy codes in JAVA
CN104716992A (en) * 2013-12-16 2015-06-17 施耐德电气工业公司 Signal device capable of updating signal and updating method and device
CN105871936A (en) * 2016-06-23 2016-08-17 北京金山安全软件有限公司 File transmission method and device and electronic equipment
WO2019051661A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 File transmission method, and terminal
CN111565166A (en) * 2019-12-09 2020-08-21 武汉空心科技有限公司 File transmission method of work platform for packet
CN114629707A (en) * 2022-03-16 2022-06-14 深信服科技股份有限公司 Method and device for detecting messy codes, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089297A1 (en) * 2007-09-28 2009-04-02 Hitachi, Ltd. File Transmission System
CN102194139A (en) * 2010-03-15 2011-09-21 欧姆龙株式会社 Tag communication apparatus, tag communication apparatus control method, and tag communication apparatus control program
CN103020157A (en) * 2012-11-23 2013-04-03 山东电力集团公司 High-reliability real-time file generation method spanning physical isolation
CN103220822A (en) * 2013-04-08 2013-07-24 北京小米科技有限责任公司 Data transmission method, data transmission device and mobile terminal
CN103220351A (en) * 2013-04-15 2013-07-24 广东欧珀移动通信有限公司 Mobile terminal, file transmission method and system thereof and network system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090089297A1 (en) * 2007-09-28 2009-04-02 Hitachi, Ltd. File Transmission System
CN102194139A (en) * 2010-03-15 2011-09-21 欧姆龙株式会社 Tag communication apparatus, tag communication apparatus control method, and tag communication apparatus control program
CN103020157A (en) * 2012-11-23 2013-04-03 山东电力集团公司 High-reliability real-time file generation method spanning physical isolation
CN103220822A (en) * 2013-04-08 2013-07-24 北京小米科技有限责任公司 Data transmission method, data transmission device and mobile terminal
CN103220351A (en) * 2013-04-15 2013-07-24 广东欧珀移动通信有限公司 Mobile terminal, file transmission method and system thereof and network system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104716992A (en) * 2013-12-16 2015-06-17 施耐德电气工业公司 Signal device capable of updating signal and updating method and device
CN104572102A (en) * 2015-01-08 2015-04-29 浪潮软件集团有限公司 Method for solving Chinese messy codes in JAVA
CN105871936A (en) * 2016-06-23 2016-08-17 北京金山安全软件有限公司 File transmission method and device and electronic equipment
CN105871936B (en) * 2016-06-23 2019-03-26 北京金山安全软件有限公司 File transmission method and device and electronic equipment
WO2019051661A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 File transmission method, and terminal
CN111565166A (en) * 2019-12-09 2020-08-21 武汉空心科技有限公司 File transmission method of work platform for packet
CN114629707A (en) * 2022-03-16 2022-06-14 深信服科技股份有限公司 Method and device for detecting messy codes, electronic equipment and storage medium
CN114629707B (en) * 2022-03-16 2024-05-24 深信服科技股份有限公司 Disorder code detection method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103442009A (en) File transmission method based on NFC
US10122841B2 (en) Smartphone proximity card emulation
US9031503B2 (en) Wireless data communications
US8712325B2 (en) Device, system, and method for logging near field communications tag interactions
Shobha et al. NFC and NFC payments: A review
CN102523092B (en) Audio-based non-contact integrated circuit (IC) card and mobile authentication data transmission device
CN102535965B (en) NFC (Near Field Communication) electronic key device based on fingerprint identification
EP3058792B1 (en) Wireless protocol message conversion method and corresponding device
US20110213978A1 (en) Secure methods of transmitting and receiving data between terminals comprising near-field communication, and corresponding terminals
Nagashree et al. Near field communication
CN101256694A (en) Method for automatically charging for electronic purse of near-field communication terminal
CN103903044A (en) Challenge response type dynamic password IC card with information and energy transmitted through radio frequency
CN102790676A (en) Remote identity identification or security method utilizing mobile phone with near field communication (NFC) function
CN103414790A (en) File transfer system based on NFC
CN102547681B (en) Intelligent key device and identity authentication method
CN103489028B (en) A kind of financial IC card, Multi-protocol communication system and method
EP2355368B1 (en) Telecommunication component and wireless communication system for coupling a cellular mobile telecommunication device to an NFC terminal
RU182969U1 (en) CRYPOGRAPHIC METER READER
CN204103933U (en) A kind of dynamic password generates equipment and transmission system
CN104239945A (en) Universal card
CN204291001U (en) There is the near field communication tag of encipherment protection and applicable near-field communication control system
CN101908912A (en) Non-contact communication data tracking device
CN202431057U (en) NFC (Near Field Communication) electronic key circuit based on fingerprint identification
KR102172855B1 (en) Method for Providing Server Type One Time Code for Medium Separation by using User’s Handheld type Medium
CN207051953U (en) Universal smart card and system based on mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131211

RJ01 Rejection of invention patent application after publication