CN105763229A - Mobile terminal external equipment and file transmission method - Google Patents
Mobile terminal external equipment and file transmission method Download PDFInfo
- Publication number
- CN105763229A CN105763229A CN201610274584.0A CN201610274584A CN105763229A CN 105763229 A CN105763229 A CN 105763229A CN 201610274584 A CN201610274584 A CN 201610274584A CN 105763229 A CN105763229 A CN 105763229A
- Authority
- CN
- China
- Prior art keywords
- file
- external equipment
- communication
- mobile terminal
- communication connection
- 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.)
- Withdrawn
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 91
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000006854 communication Effects 0.000 claims abstract description 138
- 238000004891 communication Methods 0.000 claims abstract description 131
- 238000005516 engineering process Methods 0.000 abstract description 16
- 238000012545 processing Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 20
- 230000008569 process Effects 0.000 description 10
- 238000013478 data encryption standard Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000000977 initiatory effect Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 3
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 239000002184 metal Substances 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
- 230000009467 reduction Effects 0.000 description 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
- H04B5/72—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a mobile terminal, external equipment and a file transmission method. The mobile terminal comprises an encryption module, a communication module, and a sending module. The encryption module is used for carrying out encryption processing on a to-be-transmitted file to generated an encrypted file; the communication module is used for sending a first communication connection request to external equipment and establishing second communication connection with the external equipment based on the first communication connection, wherein the second communication connection is used for encrypted file transmission; and the sending module is used for sending the encrypted file to the external equipment. According to the file transmission method, the NFC and the wireless communication technology like a bluetooth or wifi are combined. File transmission can be completed only by contact the two mobile terminals by a user. Compared with the traditional Android Beam technology, the employed technologies enable the file encryption function to be provided, so that browsing people control for a transmitted file by the user can be guaranteed to a certain extent and thus private and safe control on a sent file by a sending terminal can be realized.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly, it relates to a kind of mobile terminal, external equipment and document transmission method.
Background technology
AndroidBeam is a New function done based on near-field communication, the communication between external equipment can be set up based on AndroidBeam mobile terminal, the function that mobile terminal is currently in use is shared with external equipment, as two or multiple stage support equipment room share photos and the video of NFC, it is also possible to be connected with the bluetooth supporting NFC and WiFi equipment.Two NFC device have only near can completion message transmit simultaneously, the pairing etc. of bluetooth and WiFi.
NFC ad hoc mode (P2Pmode): this pattern is similar with infrared ray, can be used for data exchange, and simply transmission range is shorter, and transmission creates speed, and data transmission bauds is also relatively fast, (bluetooth is also similar) low in energy consumption.Two are possessed the equipment wireless link of NFC function, data point-to-point transmission can be realized, such as down-load music, exchange picture or synchronizer address book.Therefore by NFC, multiple equipment such as can swap date or service between digital still camera, PDA, computer and mobile phone.But utilizing the file that routine techniques means are transmitted, its safety is difficult to be guaranteed.
Summary of the invention
The technical problem to be solved in the present invention is in that, for the drawbacks described above of prior art, it is provided that a kind of mobile terminal, external equipment and document transmission method.Described mobile terminal, is used for outside device transmission file, comprising:
Encrypting module, for being encrypted by file waiting for transmission, generates encryption file;
Communication module, for sending the first communication connection request to external equipment;And be connected with the second communication of described external equipment according to described first communication connection foundation, described second communication connects the transmission specifically for encrypting file;
Sending module, for being sent to external equipment by described encryption file.
Alternatively, described communication module also includes:
First communication unit, for setting up the first communication connection with described external equipment, described first communication connection connects for NFC ad hoc mode;
Second communication unit, is connected for setting up second communication according to described first communication connection with described external equipment, and described second communication is connected as WiFi and/or bluetooth.
Alternatively, described sending module is specifically for, after described second communication unit is set up and connected, sending encryption file by WiFi and/or bluetooth to external equipment.
Further, the present invention also provides for a kind of document transmission method, is applied to mobile terminal and sends file to external equipment, it is characterised in that described method includes:
File waiting for transmission is encrypted, generates encryption file;
The first communication connection is set up with external equipment;And be connected with the second communication of described external equipment according to described first communication connection foundation, described second communication connects the transmission specifically for encrypting file;
Described encryption file is sent to external equipment.
Alternatively, described returning method includes:
Start and send file routine;
The first communication connection is set up with external equipment;And be connected with the second communication of described external equipment according to described first communication connection foundation, described second communication connects the transmission specifically for encrypting file;
What obtain file adds confidential information, and sends the file to external equipment according to the described confidential information that adds.
Alternatively, the encrypted message packet of described acquisition file is drawn together: the file encryption password of mobile terminal setting or file store path;When described file store path is mobile terminal and external equipment foundation communication connection, external equipment described file store path is sent to mobile terminal.
Alternatively, described first communication connection connects for NFC ad hoc mode;And setting up second communication according to described first communication connection with external equipment to be connected, described second communication is connected as WiFi and/or bluetooth.
The present invention also provides for a kind of external equipment, it is characterised in that including:
Communication module, for responding the first communication connection request of mobile terminal;And be connected with the second communication of described mobile terminal according to described first communication connection foundation, described second communication connects the transmission of encryption file;
Receiver module, for receiving the encryption file that mobile terminal sends;
Sending module, for sending file encryption information to mobile terminal.
Alternatively, described communication module also includes:
Third communication unit, for setting up the first communication connection with described external equipment, described first communication connection connects for NFC ad hoc mode;
Fourth communication unit, is connected for setting up second communication according to described first communication connection with described external equipment, and described second communication is connected as WiFi and/or bluetooth.
Alternatively, described encrypted message packet is drawn together: file store path;When described file store path is external equipment and mobile terminal foundation communication connection, external equipment described file store path is sent to mobile terminal.
Implement a kind of mobile terminal of the present invention, external equipment and document transmission method, have the advantages that and NFC and the Radio Transmission Technology (bluetooth or WiFi etc.) of mobile terminal are combined, user has only to, by two mobile terminal patches gently, to complete the transmission of file.One file easily is provided, the function of file encryption is added compared to traditional AndroidBeam technology, largely ensure that transmission file is browsed people's group control by user, namely meets sender's control to sending a privacy of file and safety.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention;
Fig. 2 is the network insertion schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is a kind of mobile terminal structure schematic diagram that the embodiment of the present invention provides;
Fig. 4 is that a kind of mobile terminal NFC that the embodiment of the present invention provides exchanges data method schematic diagram;
Fig. 5 is a kind of mobile terminal document transmission method flow chart that the embodiment of the present invention provides;
Fig. 6 is the another kind of mobile terminal document transmission method flow chart that the embodiment of the present invention provides;
Fig. 7 is the another kind of mobile terminal document transmission method flow chart that the embodiment of the present invention provides;
Fig. 8 is a kind of external equipment structural representation that the embodiment of the present invention provides;
Fig. 9 is a kind of mobile terminal document transmission system schematic that the embodiment of the present invention provides;
Figure 10 is a kind of document transmission method flow chart that the embodiment of the present invention provides.
Detailed description of the invention
Should be appreciated that specific embodiment described herein is only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for being conducive to the explanation of the present invention, itself do not have specific meaning.Therefore, " module " and " parts " can mixedly use.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include the mobile terminal of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as numeral TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that, except being used in particular for the element of mobile purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.External equipment described in the present invention can include above-mentioned various types of mobile terminal, it is also possible to includes camera, printer, projector, television set or other display equipment etc..
Fig. 1 is the hardware architecture diagram of the optional mobile terminal realizing each embodiment of the present invention.
Mobile terminal 100 can include processor 110, NFC chip 120, WiFi chip, Bluetooth chip, user input unit 150 and display unit 160, and wherein processor 110 also includes starting module 111 and encrypting module 112.
Start module 111, for mobile terminal startup file router, it should be appreciated that this start-up course can before or after file encryption.
Encrypting module 112, for being encrypted by file waiting for transmission, generates encryption file.
NFC chip 120 is according to using the chip that in the middle of various RFID bandwidths, NFC (near-field communication) method of 13.56 gigahertz bandwidth is operated, various RFID bandwidths such as 135 KHz, 13.56 megahertzs, 433 megahertzs, 860~960 megahertzs and 2.45 gigahertz (GHZ)s.In embodiments of the present invention, the P2P transmitting procedure of NFC, complete less data exchange, for instance the pairing of equipment room ad hoc mode connects.
WiFi chip 130 performs to communicate with bluetooth approach according to WiFi method with Bluetooth chip 140 respectively.When using WiFi chip 130 or Bluetooth chip 140, such as service set identifier (servicesetidentifier, SSID) can first be received and dispatched with the such various link informations of session key, it is possible to by using link information to connect communication, and various information can be received and dispatched.In embodiments of the present invention, the P2P communication process of NFC completing WiFi (or bluetooth) automatization and connect, WiFi or bluetooth are for transmitting bigger data, such as picture or video file.
User input unit 150 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, such as, when user needs file waiting for transmission is encrypted, user input unit 130 input file password can be passed through, and user input unit 130 can include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, electric capacity etc. the sensitive component of change), roller, rocking bar etc..Especially, when touch pad is superimposed upon on display module 160 as a layer, it is possible to form touch screen.
Display unit 160 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100 and external equipment transmission file, display unit 160 can show the user interface (UI) or graphic user interface (GUI) etc. that its communication (such as, document transmission progress, multimedia file download etc.) is relevant.
Fig. 1 illustrates the mobile terminal with various assembly, it should be understood that be not required for implementing all assemblies illustrated.Can alternatively implement more or less of assembly.
Network insertion schematic diagram referring to the mobile terminal 100 that Fig. 2 is the embodiment of the present invention.Mobile terminal 100 is communicated with router 20 by its WiFi interface, communicates with the equipment via network 21 with server 24 and/or other networking.Mobile terminal 100 is communicated via the equipment of other pairing of network 22 by its NFC interface.Mobile terminal 100 is communicated via the equipment of other pairing of network 23 by its blue tooth interface.Mobile terminal 100 can also pass through its LTE interface and access community (base station) 25, communicates with modem 24, communicates with the equipment via network 21 with server 22 and/or other networking.
Modem 24 can be configured to provide, for community 23, the wiredly and/or wirelessly network connection being connected to network 21 via bandwidth.
Router 20 can be configured for use as using the WAP of the wireless network connectivity that one or more WiFi communication agreement provides subscriber equipment 100 and/or miscellaneous equipment.
Mobile terminal based on foregoing description, it is proposed to below example of the present invention.
Embodiment 1
Referring to Fig. 3, for a kind of mobile terminal that the embodiment of the present invention provides, this mobile terminal is as transmitting terminal for outside device transmission file, and described mobile terminal includes:
Encrypting module 101, for being encrypted by file waiting for transmission, generates encryption file.
In one embodiment, mobile terminal is as transmitting terminal, and external equipment is as receiving terminal.The file of transmission is not limited to the multimedia file such as picture, video, contact person's book, note etc..The encryption method of file can include data encryption (DataEncryptionStandard, DES), triple DEA (3DES) and AES encryption (AdvancedEncryptionStandard, AES) etc..
In an inventive embodiments, transmitting terminal is selected picture file waiting for transmission in picture library, and user manually can encrypt to this picture file, arranges a password and generates the picture file of encryption.
Communication module 102, sets up communication connection for mobile terminal with external equipment.
Specifically, communication module 102 also includes:
First communication unit 112, sets up the communication connection of NFC ad hoc mode for mobile terminal and external equipment;
The equipment supporting NFC can exchange data under actively or passively pattern.In one embodiment, Passive Mode operation is adopted to illustrate for mobile terminal (transmitting terminal), as shown in Figure 4, support that the equipment of NFC can select 106kbps, 212kbps or 424kbps one of which transmission speed, transmit data to another equipment.Another equipment is called NFC target device (external equipment), radio-frequency field need not be produced, and use load-modulate (loadmodulation) technology, namely identical speed can pass data back initiating equipment, thus setting up the communication connection of NFC ad hoc mode.
In one embodiment, transmitting terminal obtains the MAC Address of equipment, the service port number of stochastic generation and the 128bit key for AES encryption of stochastic generation and passes to data receiver by NFC touching process.Then sender's equipment is as server, arranges hotspot name, uses the MAC Address BSSID as focus of equipment, opens Wi-Fi hotspot under open mode.Hereafter, recipient joins in the LAN of this focus as client, then uses Socket to set up connection between client and server
Second communication unit 122, sets up WiFi for mobile terminal with external equipment and/or bluetooth is connected, and what described second communication unit was set up connects the transmission specifically for encrypting file.
In one embodiment, after mobile terminal and external equipment set up the communication connection of NFC ad hoc mode, carried out the connection of bluetooth or WiFi by the P2P communication module of NFC, this process is completed WiFi (or bluetooth) automatization by the P2P communication process of NFC and connects.
Sending module 103, for being sent to external equipment by described encryption file.
Specifically, WiFi between transmitting terminal and receiving terminal or after bluetooth successful connection, file waiting for transmission is sent to file reception terminal by WiFi or bluetooth.Receive terminal and complete the reception of file, when receiving terminal opens file it is to be appreciated that sender realizes the password arranged.
In one embodiment, it is possible to connected transmitting terminal and receiving terminal by Socket, wherein transmitting terminal place port numbers can be write in a program with hard coded, transmitting terminal and receiving terminal both sides are known in advance.Transmitting terminal response receiving terminal connects, and creates thread and receives file.For transmitting the process of file, at transmitting terminal, each packet is used AES key encryption, then use the AES key packet deciphering to receiving at receiving terminal.
Embodiment 2
Referring to Fig. 5, for a kind of document transmission method that the embodiment of the present invention provides, the method comprising the steps of:
S10, is encrypted file waiting for transmission, generates encryption file.
Specifically, in an embodiment of the present invention, mobile terminal is as transmitting terminal, and external equipment is as receiving terminal.The file of transmission includes but not limited to the files such as the multimedia file such as picture, video, contact person's book, note.The encryption method of file can include the methods such as DES (DataEncryptionStandard, DES), triple data encryption (3DES) and AES encryption (AdvancedEncryptionStandard, AES).
In an inventive embodiments, transmitting terminal is selected picture file waiting for transmission in picture library, and user manually can encrypt to this picture file, arranges a password and generates the picture file of encryption.
S11, mobile terminal sets up communication connection with external equipment.
Specifically, mobile terminal and external equipment are carried out the connection of bluetooth or WiFi after setting up the communication connection of NFC ad hoc mode by the P2P communication module of NFC, and this process is completed WiFi (or bluetooth) automatization by the P2P communication process of NFC and connects.
In an inventive embodiments, transmitting terminal obtains the MAC Address of equipment, the service port number of stochastic generation and the 128bit key for AES encryption of stochastic generation and touches process by NFC and pass to receiving terminal.Then sending ending equipment is as server, arranges hotspot name, uses the MAC Address BSSID as focus of equipment, opens Wi-Fi hotspot under open mode.Hereafter, receiving terminal joins in the LAN of this focus as client, then uses Socket to set up connection between transmitting terminal and receiving terminal.
S12, is sent to external equipment by described encryption file.
Specifically, WiFi between transmitting terminal and receiving terminal or after bluetooth successful connection, file waiting for transmission is sent to file reception terminal by WiFi or bluetooth.Receive terminal and complete the reception of file, when receiving terminal opens file it is to be appreciated that sender realizes the password arranged.
In one embodiment, when transmitting terminal sets up communication connection with receiving terminal, the device identifier of receiving terminal is sent to sending ending equipment, during to file encryption to be transmitted, password can be set according to the device identifier of receiving terminal, receiving terminal utilizes the device identifier of this equipment to be decrypted, so that it is guaranteed that whether file is tampered in transmitting procedure file or steals after receiving file.
In one embodiment, it is possible to connected transmitting terminal and receiving terminal by Socket, wherein transmitting terminal place port numbers can be write in a program with hard coded, transmitting terminal and receiving terminal both sides are known in advance.Transmitting terminal response receiving terminal connects, and creates thread and receives file.For transmitting the process of file, at transmitting terminal, each packet is used AES key encryption, then use the AES key packet deciphering to receiving at receiving terminal.
Based on a kind of document transmission method that the present embodiment provides, NFC and Radio Transmission Technology (bluetooth or WiFi etc.) are combined, thering is provided one file easily, user has only to, by two mobile terminal patches gently, to complete the transmission of file.Add the function of file encryption compared to traditional AndroidBeam technology, largely ensure that transmission file is browsed people's group control by user, namely meets sender's control to sending a privacy of file and safety.User is before file sends, password setting or cryptographic operation is carried out to needing the file or folder sent, then transmission process is restarted, the method is particularly suited for a kind of scene, when sender need simultaneously by encrypt in a large number file be transferred to external equipment time, it is possible to complete encrypted transmission conveniently and efficiently.
Embodiment 3
Referring to Fig. 6, for the another kind of document transmission method that the embodiment of the present invention provides, including step:
S901, startup file router.
Specifically, the mobile terminal of the embodiment of the present invention supports NFC function, and user's startup file router can utilize the entity of mobile terminal or virtual key quickly to start.User can also first select file waiting for transmission, by this document startup file router.
S902, sets up the communication connection between mobile terminal and external equipment.
Specifically, mobile terminal, as transmitting terminal, is first set up NFC point-to-point communication and is connected with external equipment, and in whole communication process, transmitting terminal provides radio-frequency field, as shown in Figure 4.106kbps, 212kbps or 424kbps one of which transmission speed can be selected, transmit data to external equipment.External equipment is called NFC target device (from equipment), it is not necessary to produces radio-frequency field, and uses load-modulate (loadmodulation) technology, namely identical speed can pass data back initiating equipment.This communication mechanism is compatible with the contact type intelligent card based on ISO14443A, MIFARE and FeliCa, therefore, NFC initiating equipment is in the passive mode, it is possible to detects contact type intelligent card or NFC target device with identical connection and initialization procedure, and sets up with it contact.
NFC between mobile terminal and external equipment matches after successful connection, the P2P communication process of NFC complete WiFi (or bluetooth) automatization and connect.
S903, is encrypted file waiting for transmission, generates encryption file.
Specifically, in an embodiment of the present invention, the file of transmission is not limited to the multimedia file such as picture, video, contact person's book, note etc..The encryption method of file can include data encryption (DataEncryptionStandard, DES), triple DEA (3DES) and AES encryption (AdvancedEncryptionStandard, AES) etc..
In an inventive embodiments, user can select picture file waiting for transmission in the picture library of transmitting terminal, and this picture file can manually be encrypted by user, arranges a password and generates the picture file of encryption.
S904, is sent to external equipment by encryption file.
Specifically, file waiting for transmission is sent to file reception terminal by WiFi or bluetooth.Receive terminal and complete the reception of file, when receiving terminal opens file it is to be appreciated that sender realizes the password arranged.
In one embodiment, it is possible to connected transmitting terminal and receiving terminal by Socket, wherein transmitting terminal place port numbers can be write in a program with hard coded, transmitting terminal and receiving terminal both sides are known in advance.Receiving terminal response transmitting terminal connects, and creates thread and receives file.
Based on a kind of document transmission method that the present embodiment provides, NFC and Radio Transmission Technology (bluetooth or WiFi etc.) are combined, thering is provided one file easily, user has only to, by two mobile terminal patches gently, to complete the transmission of file.Add the function of file encryption compared to traditional AndroidBeam technology, largely ensure that transmission file is browsed people's group control by user, namely meets sender's control to sending a privacy of file and safety.And the method is particularly suited for a kind of scene, when sender needs on a small quantity, during intermittent transmission file, it is possible to the diversity according to file, different passwords is set to become file encrypted transmission.
Embodiment 4
Referring to Fig. 7, for the another kind of document transmission method that the embodiment of the present invention provides, the method comprising the steps of:
S801, startup file router.
Specifically, the mobile terminal of the embodiment of the present invention supports NFC function, and user's startup file router can utilize the entity of mobile terminal or virtual key quickly to start.User can also first select file waiting for transmission, by this document startup file router.
S802, mobile terminal sets up communication connection with external equipment.
Specifically, mobile terminal, as transmitting terminal, is first set up NFC point-to-point communication and is connected with external equipment, and in whole communication process, transmitting terminal provides radio-frequency field, as shown in Figure 4.106kbps, 212kbps or 424kbps one of which transmission speed can be selected, transmit data to external equipment.External equipment is called NFC target device (from equipment), it is not necessary to produces radio-frequency field, and uses load-modulate (loadmodulation) technology, namely identical speed can pass data back initiating equipment.This communication mechanism is compatible with the contact type intelligent card based on ISO14443A, MIFARE and FeliCa, therefore, NFC initiating equipment is in the passive mode, it is possible to detects contact type intelligent card or NFC target device with identical connection and initialization procedure, and sets up with it contact.In the P2P transmitting procedure of NFC, transmitting terminal also gets path and the Crypted password of receiving terminal secure storage section.
NFC between mobile terminal and external equipment matches after successful connection, the P2P communication process of NFC complete WiFi (or bluetooth) automatization and connect.
S803, obtains the file store path of external equipment, and sends the file to external equipment according to file store path.
Specifically, in above-mentioned steps S802, after transmitting terminal and receiving terminal set up the communication connection of WiFi or bluetooth, receiving terminal is intended to the path of storage file and is sent to transmitting terminal by NFC or WiFi or bluetooth, and the path of this storage file can be pointed to receiving terminal and arrange an encryption section or encryption folder.Transmitting terminal transmit file time, by the store path specified and Crypted password, the file sent is sent in the memory area or file that receiving terminal specifies.
Based on a kind of document transmission method that the present embodiment provides, NFC and Radio Transmission Technology (bluetooth or WiFi etc.) are combined, thering is provided one file easily, user has only to, by two mobile terminal patches gently, to complete the transmission of file.Add the function of file encryption compared to traditional AndroidBeam technology, largely ensure that transmission file is browsed people's group control by user, namely meets sender's control to sending a privacy of file and safety.And the method is particularly suited for a kind of scene, password arranges and is completed by receiving terminal, and sender requires no knowledge about password, and the password of receiving terminal input secure storage section or file can complete browsing of file.
Embodiment 5,
Referring to Fig. 8, for a kind of external equipment structural representation that the embodiment of the present invention provides, including:
Communication module 301, for responding the first communication connection request of mobile terminal;And be connected with the second communication of described mobile terminal according to described first communication connection foundation, described second communication connects the transmission of encryption file;
Receiver module 401, for receiving the encryption file that mobile terminal sends;
Sending module 501, for sending file encryption information to mobile terminal.This encrypted message packet is drawn together: file store path;When described file store path is external equipment and mobile terminal foundation communication connection, external equipment described file store path is sent to mobile terminal.
This communication module 301 also includes:
Third communication unit 311, for setting up the first communication connection with described external equipment, described first communication connection connects for NFC ad hoc mode;
Fourth communication unit 312, is connected for setting up second communication according to described first communication connection with described external equipment, and described second communication is connected as WiFi and/or bluetooth.
External equipment is used for receiving file and file being decrypted, and external equipment is additionally operable to transmit file store path to the mobile terminal of transmitting terminal, and file store path can be an encryption section or encryption folder.
It will be understood by those skilled in the art that, based on a document transmission system, it is possible to include at least one mobile terminal 100 and at least one external equipment 900, as shown in Figure 9, this system can have a mobile terminal as transmitting terminal, has one or more external equipment as receiving terminal simultaneously.In this system, the file transfer process between mobile terminal and external equipment is referring to Figure 10:
S201, acquisition for mobile terminal equipment of itself MAC Address (focus BSSID), stochastic generation service port number, stochastic generation 128bitAES key.
In one embodiment, mobile terminal, as the transmitting terminal of file, has one or more external equipment as file reception end, and transmitting terminal sends MAC Address, service port number, 128bitAES key by NFC communication to receiving terminal.
S202, mobile terminal is set up WiFi with external equipment and is connected.
In one embodiment, mobile terminal, as transmitting terminal, arranges hotspot name, BSSID (MAC Address of hotspot device), opens Wi-Fi hotspot under opening (not encrypting) pattern, certification adds the receiving device of LAN, for its distribution DHCP dynamic IP addressing.
S302, uses the BSSID (transmitting terminal MAC Address) of focus to associate focus, adds LAN, obtain the machine dynamic IP addressing, extrapolate hotspot device IP address according to place LAN IP address prefix.
Should be understood that mobile terminal and external equipment except setting up WiFi and be connected the file of transmission larger capacity (such as million grades), wherein, WiFi connected mode can be open can also for the PSK mode encrypted.Mobile terminal and external equipment can also pass through data service (such as 3G, 4G, 5G etc.) or the Bluetooth transmission file compared with low capacity.
S203, transmitting terminal uses service port number, by the listen function monitoring service of Socket.
In one embodiment, being accepted the connection request of receiving terminal by the accept function of Socket, receiving terminal uses the service port number of transmitting terminal IP address and acquisition, by the connect functional link of Socket to file transmitting terminal.
S204, transmitting terminal uses AES key encryption file.
In one embodiment, transmitting terminal is transferred to receiving terminal after file encryption to be transmitted, receives and uses AES key deciphering file equally, reduction plaintext document, until file end of transmission.
A kind of document transmission system based on the embodiment of the present invention, one transmitting terminal can transmit file to one or more receiving terminals, transmitting terminal can be mobile phone, receiving terminal can be the equipment such as mobile phone, printer or display, adopt the mode that NFC and Radio Transmission Technology (bluetooth or WiFi etc.) combine, the file needing transmission is encrypted operation so that the safety of transmission file is controlled.
Any process in flow chart or in an embodiment of the present invention described otherwise above or method describe and are construed as, represent and include one or more module for the code of the executable instruction of the step that realizes specific logical function or process, fragment or part, and the scope of embodiment of the present invention includes other realization, wherein can not press order that is shown or that discuss, including according to involved function by basic mode simultaneously or in the opposite order, perform function, this should be understood by those skilled in the art described in embodiments of the invention.
Various embodiment described herein can to use such as computer software, hardware or its any combination of computer-readable medium to implement.Hardware is implemented, embodiment described herein can pass through to use application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, at least one that is designed to perform in the electronic unit of function described herein to implement, in some cases, such embodiment can be implemented in controller 180.Implementing for software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memorizer 160 and be performed by controller 180.
Professional it will be further appreciated that, the unit of each example described in conjunction with the embodiments described herein and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate the interchangeability of hardware and software, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel specifically can should be used for using different methods to realize described function to each, but this realization is it is not considered that beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of method can use the software module that hardware, processor perform, or the combination of the two is implemented.Software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or any other form of storage medium.
For illustrative purposes, description above employs specific term, to provide thorough understanding of the present invention.It will be apparent, however, to one skilled in the art, that be not required to concrete details to put into practice the present invention.The described above of specific embodiments of the invention is to present for purposes of illustration and description.They are not intended to detailed or limit the invention to disclosed precise forms.In view of religious doctrine above, many modifications and variations are possible.These embodiments are illustrate and described, so that others skilled in the art can utilize the present invention best and have the various embodiments of the various amendments being suitable to intended specific use in order to explain principles of the invention and practical application thereof best.It is intended to the scope of the present invention limited by following claims and its equivalent.
Claims (10)
1. a mobile terminal, is used for outside device transmission file, it is characterised in that described mobile terminal includes:
Encrypting module, for being encrypted by file waiting for transmission, generates encryption file;
Communication module, for sending the first communication connection request to external equipment;And be connected with the second communication of described external equipment according to described first communication connection foundation, described second communication connects the transmission specifically for encrypting file;
Sending module, for being sent to external equipment by described encryption file.
2. mobile terminal according to claim 1, it is characterised in that described communication module also includes:
First communication unit, for setting up the first communication connection with described external equipment, described first communication connection connects for NFC ad hoc mode;
Second communication unit, is connected for setting up second communication according to described first communication connection with described external equipment, and described second communication is connected as WiFi and/or bluetooth.
3. mobile terminal according to claim 2, it is characterised in that described sending module is specifically for, after described second communication unit is set up and connected, sending encryption file by WiFi and/or bluetooth to external equipment.
4. a document transmission method, is applied to mobile terminal and sends file to external equipment, it is characterised in that described method includes:
File waiting for transmission is encrypted, generates encryption file;
The first communication connection is set up with external equipment;And be connected with the second communication of described external equipment according to described first communication connection foundation, described second communication connects the transmission specifically for encrypting file;
Described encryption file is sent to external equipment.
5. document transmission method according to claim 4, it is characterised in that described returning method includes:
Start and send file routine;
The first communication connection is set up with external equipment;And be connected with the second communication of described external equipment according to described first communication connection foundation, described second communication connects the transmission specifically for encrypting file;
What obtain file adds confidential information, and sends the file to external equipment according to the described confidential information that adds.
6. document transmission method according to claim 5, it is characterised in that the encrypted message packet of described acquisition file is drawn together: the file encryption password of mobile terminal setting or file store path;When described file store path is mobile terminal and external equipment foundation communication connection, external equipment described file store path is sent to mobile terminal.
7. the document transmission method according to any one of claim 4-6, it is characterised in that described first communication connection connects for NFC ad hoc mode;And setting up second communication according to described first communication connection with external equipment to be connected, described second communication is connected as WiFi and/or bluetooth.
8. an external equipment, it is characterised in that including:
Communication module, for responding the first communication connection request of mobile terminal;And be connected with the second communication of described mobile terminal according to described first communication connection foundation, described second communication connects the transmission of encryption file;
Receiver module, for receiving the encryption file that mobile terminal sends;
Sending module, for sending file encryption information to mobile terminal.
9. external equipment according to claim 8, it is characterised in that described communication module also includes:
Third communication unit, for setting up the first communication connection with described external equipment, described first communication connection connects for NFC ad hoc mode;
Fourth communication unit, is connected for setting up second communication according to described first communication connection with described external equipment, and described second communication is connected as WiFi and/or bluetooth.
10. external equipment according to claim 8, it is characterised in that described encrypted message packet is drawn together: file store path;When described file store path is external equipment and mobile terminal foundation communication connection, external equipment described file store path is sent to mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610274584.0A CN105763229A (en) | 2016-04-28 | 2016-04-28 | Mobile terminal external equipment and file transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610274584.0A CN105763229A (en) | 2016-04-28 | 2016-04-28 | Mobile terminal external equipment and file transmission method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105763229A true CN105763229A (en) | 2016-07-13 |
Family
ID=56326202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610274584.0A Withdrawn CN105763229A (en) | 2016-04-28 | 2016-04-28 | Mobile terminal external equipment and file transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105763229A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106888318A (en) * | 2017-01-22 | 2017-06-23 | 张红彬 | A kind of smart mobile phone black box device |
WO2020051968A1 (en) * | 2018-09-11 | 2020-03-19 | 华为技术有限公司 | Data sharing method, graphic user interface, and electronic device and system |
CN112153209A (en) * | 2019-06-28 | 2020-12-29 | Oppo广东移动通信有限公司 | Communication system and method of mobile terminal, computer and mobile terminal |
CN112394890A (en) * | 2020-11-06 | 2021-02-23 | 厦门喵宝科技有限公司 | Printing method of intelligent terminal, label printing method and portable thermosensitive label printer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110070827A1 (en) * | 2009-09-24 | 2011-03-24 | Research In Motion Limited | Communications device and method for initiating communications at a communications device |
CN102315864A (en) * | 2011-09-07 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method of point-to-point data transmission for mobile device and device |
CN103974187A (en) * | 2014-05-27 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Near-distance file transmission method and device as well as mobile terminal |
CN104105053A (en) * | 2014-07-14 | 2014-10-15 | 康佳集团股份有限公司 | Method and system for achieving file sharing through NFC technology and Bluetooth technology |
CN105430594A (en) * | 2015-10-23 | 2016-03-23 | 中国联合网络通信集团有限公司 | Set top box and file-sharing system |
-
2016
- 2016-04-28 CN CN201610274584.0A patent/CN105763229A/en not_active Withdrawn
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110070827A1 (en) * | 2009-09-24 | 2011-03-24 | Research In Motion Limited | Communications device and method for initiating communications at a communications device |
CN102315864A (en) * | 2011-09-07 | 2012-01-11 | 百度在线网络技术(北京)有限公司 | Method of point-to-point data transmission for mobile device and device |
CN103974187A (en) * | 2014-05-27 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Near-distance file transmission method and device as well as mobile terminal |
CN104105053A (en) * | 2014-07-14 | 2014-10-15 | 康佳集团股份有限公司 | Method and system for achieving file sharing through NFC technology and Bluetooth technology |
CN105430594A (en) * | 2015-10-23 | 2016-03-23 | 中国联合网络通信集团有限公司 | Set top box and file-sharing system |
Non-Patent Citations (1)
Title |
---|
马捷等: "基于近场通信的WiFi传输连接方案", 《计算机工程》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106888318A (en) * | 2017-01-22 | 2017-06-23 | 张红彬 | A kind of smart mobile phone black box device |
WO2020051968A1 (en) * | 2018-09-11 | 2020-03-19 | 华为技术有限公司 | Data sharing method, graphic user interface, and electronic device and system |
US11544019B2 (en) | 2018-09-11 | 2023-01-03 | Huawei Technologies Co., Ltd. | Data sharing method, graphical user interface, electronic device, and system |
US11861247B2 (en) | 2018-09-11 | 2024-01-02 | Huawei Technologies Co., Ltd. | Data sharing method, graphical user interface, electronic device, and system |
CN112153209A (en) * | 2019-06-28 | 2020-12-29 | Oppo广东移动通信有限公司 | Communication system and method of mobile terminal, computer and mobile terminal |
CN112394890A (en) * | 2020-11-06 | 2021-02-23 | 厦门喵宝科技有限公司 | Printing method of intelligent terminal, label printing method and portable thermosensitive label printer |
CN112394890B (en) * | 2020-11-06 | 2022-10-14 | 厦门喵宝科技有限公司 | Printing method of intelligent terminal, label printing method and portable thermal label printer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3823329B1 (en) | Network configuration method and device | |
US8565131B2 (en) | Communication device and communication method | |
EP3065334A1 (en) | Key configuration method, system and apparatus | |
CN113055867A (en) | Method and device for auxiliary network distribution of terminal and electronic equipment | |
CN106416331A (en) | Electronic subscriber identity module selection | |
US10097524B2 (en) | Network configuration method, and related apparatus and system | |
CN105393564A (en) | Communication between host and accessory devices using accessory protocols via wireless transport | |
CN105162748A (en) | Electronic subscriber identity module application identifier handling | |
US20090274065A1 (en) | Method and apparatus for setting wireless local area network by using button | |
US20140380443A1 (en) | Network connection in a wireless communication device | |
WO2014101578A1 (en) | Communication pairing method, terminal, and system for a digital television terminal | |
CN105763229A (en) | Mobile terminal external equipment and file transmission method | |
US9781125B2 (en) | Enrollment in a device-to-device network | |
US20040131188A1 (en) | Method of generating key data for successful communication during a network link | |
WO2017091987A1 (en) | Method and apparatus for secure interaction between terminals | |
US20210243599A1 (en) | User authentication method through bluetooth device and device therefor | |
CN113301563A (en) | Network configuration method, device, equipment and storage medium | |
US10853008B2 (en) | Non-transitory computer-readable medium storing program for communication apparatus, communication apparatus and method for controlling communication apparatus | |
EP2779721A1 (en) | Method of privacy preserving during a device to device social networking | |
US11076282B2 (en) | Telecommunications apparatus with a radio-linked smart card | |
KR20130043336A (en) | Display device, and access point connection method of a display device | |
CN103379485A (en) | Wireless access equipment and encryption processing method thereof | |
CN106385684B (en) | Method and device for sharing wireless network and method and device for accessing wireless network | |
US20140355583A1 (en) | Wireless communicating method and electronic system utilizing the wireless communicating method | |
JP2016189566A (en) | Radio communication device and radio communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160713 |