CN104754514A - File push method and device and file receiving method and device - Google Patents
File push method and device and file receiving method and device Download PDFInfo
- Publication number
- CN104754514A CN104754514A CN201510137258.0A CN201510137258A CN104754514A CN 104754514 A CN104754514 A CN 104754514A CN 201510137258 A CN201510137258 A CN 201510137258A CN 104754514 A CN104754514 A CN 104754514A
- Authority
- CN
- China
- Prior art keywords
- nfc
- file
- bluetooth
- transmitting apparatus
- receiving equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000004044 response Effects 0.000 claims abstract description 49
- 230000005540 biological transmission Effects 0.000 claims abstract description 17
- 238000004891 communication Methods 0.000 claims abstract description 13
- 238000009434 installation Methods 0.000 claims description 18
- 238000010276 construction Methods 0.000 claims description 16
- 238000012790 confirmation Methods 0.000 claims description 15
- 238000005538 encapsulation Methods 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 239000011230 binding agent Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012546 transfer 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]
-
- 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/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Abstract
The invention provides a file push method and device and a file receiving method and device. The file push method comprises the following steps of obtaining a local storage route of a to-be-pushed file when NFC (Near Field Communication) sending equipment detects the to-be-pushed file; establishing a standard Bluetooth request message based on NFC protocol and pushing the standard Bluetooth request message to NFC receiving equipment; receiving a standard Bluetooth response message returned by the NFC receiving equipment based on the NFC protocol and executing the Bluetooth matching work with the NFC receiving equipment according to the standard Bluetooth response message; obtaining the to-be-pushed file according to the storage route and pushing the to-be-pushed file to the NFC receiving equipment through the Bluetooth. According to the file push method, Bluetooth matching of two sets of NFC equipment is automatically achieved based on the NFC protocol, file sharing between the NFC equipment is achieved, data traffic required for file loading is saved, automatic transmission of a big data file of the NFC equipment is achieved, and the user experience is improved.
Description
Technical field
The invention belongs to wireless communication technology field, relate to a kind of file push method and device, document receiving method and device.
Background technology
NFC (Near Field Communication, wireless near field communication) is a kind of short-range high frequency wireless communication technology, allows to carry out contactless Point-to-Point Data Transmission, swap data in ten centimetres between electronic equipment.
In prior art, realize short range transmission have higher data transmission credibility although touch based on NFC, two smart mobile phones only can transmit a small amount of data message based on NFC function.If the user of two smart mobile phones wishes to open same third party application, then be difficult to the installation file being transmitted application program by NFC function, the smart mobile phone not installing this application program generally needs again to download this third party application by data traffic.Data traffic resource can be taken like this, reduce Consumer's Experience.
Summary of the invention
Given this, the invention provides a kind of file push method and device, document receiving method and device, to facilitate the large data files between user to transmit, promote Consumer's Experience.
For achieving the above object, the present invention adopts following technical scheme:
First aspect, a kind of file push method that the embodiment of the present invention provides, comprising:
When NFC transmitting apparatus detects until pushing files, described in acquisition, treat the store path of pushing files in this locality;
Based on NFC protocol construction standard bluetooth request message, and push described standard bluetooth request message to NFC receiving equipment;
Receive the standard bluetooth response message that described NFC receiving equipment returns based on NFC agreement, perform the Bluetooth matching work with described NFC receiving equipment according to described standard bluetooth response message;
Treat pushing files described in obtaining according to described store path, and treat that pushing files is pushed to described NFC receiving equipment by bluetooth by described.
Second aspect, a kind of document receiving method that the embodiment of the present invention provides, comprising:
Receive the standard bluetooth request message based on NFC agreement that NFC transmitting apparatus pushes;
By the Bluetooth address information of NFC receiving equipment this locality, become standard bluetooth response message based on NFC protocol encapsulation, and return to described NFC transmitting apparatus, to set up the Bluetooth matching with described NFC transmitting apparatus;
By the file that NFC transmitting apparatus described in Bluetooth receptions pushes.
The third aspect, a kind of file push device that the embodiment of the present invention provides, comprising:
Store path acquiring unit, when NFC transmitting apparatus detects until pushing files, treats the store path of pushing files in this locality described in acquisition;
BlueTooth request builds and push unit, for based on NFC protocol construction standard bluetooth request message, and pushes described standard bluetooth request message to NFC receiving equipment;
Bluetooth matching unit, for receiving the standard bluetooth response message that described NFC receiving equipment returns based on NFC agreement, performs the Bluetooth matching work with described NFC receiving equipment according to described standard bluetooth response message;
File push unit, treats pushing files, and treats that pushing files is pushed to described NFC receiving equipment by bluetooth by described described in obtaining according to described store path.
Fourth aspect, a kind of file reception device that the embodiment of the present invention provides, comprising:
BlueTooth request receiving element, for receiving the standard bluetooth request message based on NFC agreement that NFC transmitting apparatus pushes;
Bluetooth address transmitting element, for the Bluetooth address information by NFC receiving equipment this locality, becomes standard bluetooth response message based on NFC protocol encapsulation, and returns to described NFC transmitting apparatus, to set up the Bluetooth matching with described NFC transmitting apparatus;
File reception unit, for the file pushed by NFC transmitting apparatus described in Bluetooth receptions.
Compared with prior art, the advantage of technical solution of the present invention is:
A kind of file push method provided by the invention and device, document receiving method and device, compared with prior art, the present invention is based on the Bluetooth matching that NFC agreement completes two NFC device automatically, when without wifi, achieve the function file in a NFC device being pushed to automatically another NFC device, save the data traffic required for download file, achieved the large data files automatic transmission of NFC device, improve Consumer's Experience.
Accompanying drawing explanation
Exemplary embodiment of the present invention will be described in detail by referring to accompanying drawing below, the person of ordinary skill in the art is more clear that above-mentioned and other feature and advantage of the present invention, in accompanying drawing:
The schematic flow sheet of a kind of file push method that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of a kind of file push method that Fig. 2 provides for the embodiment of the present invention two;
The schematic flow sheet of a kind of file push method that Fig. 3 provides for the embodiment of the present invention three;
The schematic flow sheet of a kind of file push method that Fig. 4 provides for the embodiment of the present invention four;
The schematic flow sheet of a kind of document receiving method that Fig. 5 provides for the embodiment of the present invention five;
The schematic flow sheet of a kind of document receiving method that Fig. 6 provides for the embodiment of the present invention six;
The structural representation of a kind of file push device that Fig. 7 provides for the embodiment of the present invention seven;
The structural representation of a kind of file push device that Fig. 8 provides for the embodiment of the present invention seven;
The structural representation of a kind of file push device that Fig. 9 provides for the embodiment of the present invention seven;
The structural representation of a kind of file reception device that Figure 10 provides for the embodiment of the present invention eight;
The structural representation of a kind of file reception device that Figure 11 provides for the embodiment of the present invention eight.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, hereinafter with reference to the accompanying drawing in the embodiment of the present invention, by execution mode, technical scheme of the present invention is described clearly and completely, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Fig. 1 gives the schematic flow sheet of a kind of file push method that the embodiment of the present invention one provides, and the method can be performed by file push device, and file push device can adopt the form of software and/or hardware to realize.As shown in Figure 1, the method comprises:
Step 101, when NFC transmitting apparatus detects until pushing files, obtain treat the store path of pushing files in this locality.
NFC transmitting apparatus and NFC receiving equipment are two and possess NFC function, realize the equipment of file push each other, are generally mobile terminal, wherein corresponding configuration file pusher and file reception device.Can in a mobile terminal simultaneously configuration file pusher and file reception device, to realize propelling movement and the reception of file with other equipment.
Exemplary, user opens the NFC function of NFC transmitting apparatus and NFC receiving equipment, by by NFC transmitting apparatus and NFC receiving equipment closely (distance is less than ten centimetres) contact, the NFC set up between NFC transmitting apparatus and NFC receiving equipment connects.What detect treats that pushing files can be the file of the current startup of NFC transmitting apparatus, also can be the file that user specifies propelling movement.
Step 102, based on NFC protocol construction standard bluetooth request message, and push standard bluetooth request message to NFC receiving equipment.
The file of small data quantity can only be transmitted between existing NFC device, transmitted the large data files such as third party application, video, document by NFC and be difficult to realize.And the present embodiment can transmit based on the automatic bluetooth of large data files between NFC protocol realization NFC device.
Bluetooth is the radiotechnics of a kind of support equipment short haul connection (in general 10m).Wireless messages exchange can be carried out comprising between numerous equipment such as mobile phone, PDA, wireless headset, notebook computer, related peripherals.Utilize Bluetooth technology, effectively can simplify the communication between mobile communication terminal device, also can communication successfully between simplified apparatus and internet Internet, thus transfer of data becomes efficient more rapidly, is radio communication widening road.Bluetooth adopts distributed network structure and fast frequency hopping and short packet technology, supports point-to-point and point-to-multipoint delivery, is operated in 2.4GHz ISM (i.e. industry, science, the medical science) frequency range of global general-use.Its data rate is 1Mbps.Time division duplex transmission scheme is adopted to realize full duplex transmission.
Before realizing Bluetooth transmission, the Bluetooth matching work of NFC transmitting apparatus to NFC receiving equipment be completed.Exemplary, NFC transmitting apparatus builds the standard bluetooth request message of the reference format NDEF of NFC message, namely based on NFC protocol construction standard bluetooth request message, then this standard bluetooth request message is encapsulated in NdefMessage, is pushed to NFC receiving equipment reliably, accurately and efficiently to make this standard bluetooth request message.
The standard bluetooth response message that step 103, reception NFC receiving equipment return based on NFC agreement, performs the Bluetooth matching work with NFC receiving equipment according to standard bluetooth response message.
Wherein, standard bluetooth response message comprises the Bluetooth address information of NFC receiving equipment.Exemplary, NFC transmitting apparatus receives the standard bluetooth response message that NFC receiving equipment returns based on NFC agreement, thread reads NDEF data, obtain NdefMessage data wherein, NdefMessage data transaction is become this standard bluetooth response data, and from this standard bluetooth response data, obtain the Bluetooth address information of NFC receiving equipment, according to the Bluetooth address information and executing of NFC receiving equipment and the Bluetooth matching work of NFC receiving equipment.
Step 104, to obtain according to store path and treat pushing files, and will treat that pushing files is pushed to NFC receiving equipment by bluetooth.
Exemplary, after completing Bluetooth matching with NFC receiving equipment, NFC transmitting apparatus obtains according to store path and treats pushing files, will treat that pushing files is pushed to NFC receiving equipment finally by bluetooth.
It should be noted that, in the present embodiment, treat that pushing files can be the large data files such as installation file, video, audio frequency, document, picture of third party application.
The file push method that the embodiment of the present invention one provides, automatically the Bluetooth matching with NFC receiving equipment is completed based on NFC agreement by NFC transmitting apparatus, when without wifi, achieve and NFC transmitting apparatus will treat that pushing files is pushed to the function of NFC receiving equipment automatically, save and downloaded the data traffic treated required for pushing files, achieve the large data files automatic transmission between NFC device, improve Consumer's Experience.
Embodiment two
Fig. 2 gives the schematic flow sheet of a kind of file push method that the embodiment of the present invention two provides, the present embodiment is optimized based on above-described embodiment, in the present embodiment, after NFC transmitting apparatus detects to treat pushing files, add step: based on NFC agreement to described NFC receiving equipment send comprise described in treat the sending out notice message of the file identification of pushing files; Receive the propelling movement confirmation response message that described NFC receiving equipment returns.
Accordingly, the method for the present embodiment comprises the steps:
Step 201, when NFC transmitting apparatus detects until pushing files, obtain treat the store path of pushing files in this locality.
Step 202, to send to NFC receiving equipment based on NFC agreement and comprise the sending out notice message of the file identification treating pushing files.
Consider that NFC receiving equipment may exist identical with NFC transmitting apparatus file title, the different files that even file size is identical, treat in the present embodiment that the file identification of pushing files comprises file name, file size and the file format treating pushing files.
Exemplary, after NFC transmitting apparatus detects and treats pushing files, obtain file name, file size and the file format for the treatment of pushing files, and be packaged into the sending out notice message of NDEF form, send to NFC receiving equipment, to notify that NFC receiving equipment needs pushing files, inquires about the machine to make NFC receiving equipment and whether there is the file identical with treating pushing files, and be confirmed whether to need propelling movement to treat pushing files.
The propelling movement confirmation response message that step 203, reception NFC receiving equipment return.
In this step, NFC transmitting apparatus receives the propelling movement confirmation response message of the NDEF form that this NFC receiving equipment returns by NFC, to be confirmed whether that pushing files is treated in propelling movement, if so, then to perform step 204, if not, then terminates this push operation.
Step 204, based on NFC protocol construction standard bluetooth request message, and push standard bluetooth request message to NFC receiving equipment.
The standard bluetooth response message that step 205, reception NFC receiving equipment return based on NFC agreement, performs the Bluetooth matching work with NFC receiving equipment according to standard bluetooth response message.
Step 206, to obtain according to store path and treat pushing files, and will treat that pushing files is pushed to NFC receiving equipment by bluetooth.
The file push method that the embodiment of the present invention two provides, sent the sending out notice message comprising the file identification treating pushing files to NFC receiving equipment based on NFC agreement by NFC transmitting apparatus, and receive the propelling movement confirmation response message that NFC receiving equipment returns, to be confirmed whether that pushing files is treated in propelling movement, in order to avoid file repeat transmission, cause the waste of time and resource.
Embodiment three
Fig. 3 gives the schematic flow sheet of a kind of file push method that the embodiment of the present invention three provides, the present embodiment is optimized based on above-described embodiment, in the present embodiment, by step when NFC transmitting apparatus detects until pushing files, obtain and be optimized for until the store path of pushing files in this locality: when NFC transmitting apparatus detects the third party application of startup, using the installation file of third party application as treating pushing files; Obtain the URI of installation file in NFC transmitting apparatus this locality, as store path.
Accordingly, the method for the present embodiment comprises the steps:
Step 301, when NFC transmitting apparatus detects the third party application of startup, using the installation file of third party application as treating pushing files; Obtain the URI of installation file in NFC transmitting apparatus this locality, as store path.
Exemplary, NFC transmitting apparatus detects the third party application of startup automatically by process, simultaneously, consider that NFC receiving equipment cannot open the third party application directly pushed, therefore, the installation file of the third party application of startup searched by NFC transmitting apparatus, and using the installation file of third party application as treating pushing files.In addition, NFC transmitting apparatus obtains the Uniform Resource Identifier URI of this installation file in this locality, as store path by the publicSourceDir variable in ApplicationInfo class.
Step 302, to send to NFC receiving equipment based on NFC agreement and comprise the sending out notice message of the file identification treating pushing files.
The propelling movement confirmation response message that step 303, reception NFC receiving equipment return.
Step 304, based on NFC protocol construction standard bluetooth request message, and push standard bluetooth request message to NFC receiving equipment.
The standard bluetooth response message that step 305, reception NFC receiving equipment return based on NFC agreement, performs the Bluetooth matching work with NFC receiving equipment according to standard bluetooth response message.
Step 306, to obtain according to store path and treat pushing files, and will treat that pushing files is pushed to NFC receiving equipment by bluetooth.
The file push method that the embodiment of the present invention three provides, when pushing third party application, detects the third party application of startup, using the installation file of third party application as treating pushing files by NFC transmitting apparatus; Obtain the URI of installation file in NFC transmitting apparatus this locality, as store path.Achieve the automatic detection treating pushing files, the installation file of automatic acquisition third party application and store path thereof, effectively prevent the direct propelling movement of third party application, the problem that the third party application solving the reception of NFC receiving equipment cannot be opened.
Embodiment four
Fig. 4 gives the schematic flow sheet of a kind of file push method that the embodiment of the present invention four provides, the present embodiment is optimized based on embodiment one, in the present embodiment, when NFC transmitting apparatus detects until pushing files, described in acquisition, treat that pushing files adds step after the store path of this locality: added to by store path in the array to be sent of NFC agreement; Then comprise based on NFC protocol construction standard bluetooth request message: when based on NFC protocol discovery NFC receiving equipment, inquire about in array to be sent whether there is store path; If so, then based on NFC protocol construction standard bluetooth request message.
Accordingly, the method for the present embodiment comprises the steps:
Step 401, when NFC transmitting apparatus detects until pushing files, obtain treat the store path of pushing files in this locality.
Step 402, store path to be added in the array to be sent of NFC agreement.
Exemplary, NFC transmitting apparatus will treat that the store path of pushing files is encapsulated in Uri array, then by NFC agreement, Uri array is stored in NfcActivityState.uris array, obtained the data in NfcActivityState.uris array again by Binder communication, finally the data of acquisition are added in the array P2pLinkManager.mUrisToSend to be sent of NFC agreement.
Step 403, when based on NFC protocol discovery NFC receiving equipment, inquire about in array to be sent whether there is store path.If so, then perform step 404, if not, then perform step 405.
Consider and may go wrong when obtaining store path due to NFC transmitting apparatus, cause obtaining store path, cause to obtain according to store path and treat pushing files, cause and treat that pushing files pushes failure all the time.The present embodiment can when based on NFC protocol discovery NFC receiving equipment, and NFC transmitting apparatus inquires about in array P2pLinkManager.mUrisToSend to be sent whether there is store path.If there is store path, then automatically perform step 404.If there is not store path, then perform step 405.
Step 404, based on NFC protocol construction standard bluetooth request message, and push standard bluetooth request message to NFC receiving equipment.
Step 405, periodicity detect this array to be sent.
The standard bluetooth response message that step 406, reception NFC receiving equipment return based on NFC agreement, performs the Bluetooth matching work with NFC receiving equipment according to standard bluetooth response message.
Step 407, to obtain according to store path and treat pushing files, and will treat that pushing files is pushed to NFC receiving equipment by bluetooth.
Wherein, step 405 can also be other default actions, such as, terminates this push operation.
The file push method that the embodiment of the present invention four provides, by being added in the array to be sent of NFC agreement by store path, is convenient to identification and the acquisition of store path; Inquire about again in array to be sent and whether there is store path, to confirm to obtain store path, effectively prevent NFC transmitting apparatus to go wrong when obtaining store path, cause obtaining store path, cause to obtain according to store path and treat pushing files, cause and treat that pushing files pushes failure all the time.Technique scheme, can also make address acquisition function and file push function change independently of one another, Parallel Implementation.
Embodiment five
Fig. 5 gives the schematic flow sheet of a kind of document receiving method that the embodiment of the present invention five provides, and the method can be performed by file reception device, and this file receiving system can be realized by the form of software and/or hardware.As shown in Figure 5, the method comprises:
The standard bluetooth request message based on NFC agreement that step 501, reception NFC transmitting apparatus push.
Exemplary, NFC receiving equipment receives the standard bluetooth request message that NFC transmitting apparatus pushes, and thread reads the data in the NdefMessage of NDEF form, and the data transaction in NdefMessage is become standard bluetooth request msg.
Step 502, by the Bluetooth address information of NFC receiving equipment this locality, become standard bluetooth response message based on NFC protocol encapsulation, and return to NFC transmitting apparatus, to set up the Bluetooth matching with NFC transmitting apparatus.
Exemplary, whether NFC receiving equipment criterion BlueTooth request data meet BlueTooth request standard, if meet, then by the Bluetooth address information of this locality, standard bluetooth response message is become based on NFC protocol encapsulation, be encapsulated in NdefMessage, and return to NFC transmitting apparatus by NFC, to set up the Bluetooth matching with NFC transmitting apparatus.
Step 503, the file pushed by Bluetooth receptions NFC transmitting apparatus.
Exemplary, after NFC receiving equipment and the success of NFC transmitting apparatus Bluetooth matching, NFC transmitting apparatus pushing files waited for by NFC receiving equipment, when inquiring NFC transmitting apparatus and having file push, and the file pushed by Bluetooth receptions NFC transmitting apparatus.
The document receiving method that the embodiment of the present invention five provides, based on NFC agreement, the Bluetooth address Information encapsulation of NFC receiving equipment this locality is become standard bluetooth response message by NFC receiving equipment, and return to NFC transmitting apparatus, to set up the Bluetooth matching with NFC transmitting apparatus, when without wifi, achieve the function of the file that NFC receiving equipment automatic reception NFC transmitting apparatus pushes, save and downloaded the data traffic treated required for pushing files, achieve the large data files automatic transmission between NFC device, improve Consumer's Experience.
Embodiment six
Fig. 6 gives the schematic flow sheet of a kind of document receiving method that the embodiment of the present invention six provides, the present embodiment is optimized based on above-described embodiment, in the present embodiment, before the standard bluetooth request message based on NFC agreement receiving the propelling movement of NFC transmitting apparatus, step is added: the sending out notice message comprising the file identification treating pushing files receiving the transmission of NFC transmitting apparatus based on NFC agreement; Select to return to NFC transmitting apparatus to push confirmation response message according to user.
Accordingly, the method for the present embodiment comprises the steps:
Step 601, the sending out notice message comprising the file identification treating pushing files sent based on NFC agreement reception NFC transmitting apparatus.
Consider that NFC receiving equipment may exist identical with NFC transmitting apparatus file title, the different files that even file size is identical, treat in the present embodiment that the file identification of pushing files comprises file name, file size and the file format treating pushing files.
Exemplary, NFC receiving equipment receives the sending out notice message comprising the file identification treating pushing files that NFC transmitting apparatus sends, and obtains file name, file size and the file format for the treatment of pushing files from the sending out notice message of NDEF form.
Step 602, select to return to NFC transmitting apparatus to push confirmation response message according to user.
Exemplary, NFC receiving equipment is according to treating the file name of pushing files, file size and file format, whether inquiry the machine exists the file identical with treating pushing files, Query Result is showed user, user selects to push the need of NFC transmitting apparatus to treat pushing files according to Query Result, then is selected to return propelling movement confirmation response message based on NFC agreement to NFC transmitting apparatus according to user by NFC receiving equipment.
The standard bluetooth request message based on NFC agreement that step 603, reception NFC transmitting apparatus push.
Step 604, by the Bluetooth address information of NFC receiving equipment this locality, become standard bluetooth response message based on NFC protocol encapsulation, and return to NFC transmitting apparatus, to set up the Bluetooth matching with NFC transmitting apparatus.
Step 605, the file pushed by Bluetooth receptions NFC transmitting apparatus.
The document receiving method that the embodiment of the present invention six provides, received the sending out notice message comprising the file identification treating pushing files of NFC transmitting apparatus transmission based on NFC agreement by NFC receiving equipment, and select to return to NFC transmitting apparatus to push confirmation response message according to user, what avoid file repeats transmission, causes the waste of time and resource.
Embodiment seven
The structural representation of a kind of file push device that Fig. 7 provides for the embodiment of the present invention seven.As shown in Figure 7, this file pusher 70 comprises:
Store path acquiring unit 701, when NFC transmitting apparatus detects until pushing files, obtains and treats the store path of pushing files in this locality;
BlueTooth request builds and push unit 702, for based on NFC protocol construction standard bluetooth request message, and pushes standard bluetooth request message to NFC receiving equipment;
Bluetooth matching unit 703, for receiving the standard bluetooth response message that NFC receiving equipment returns based on NFC agreement, performs the Bluetooth matching work with NFC receiving equipment according to standard bluetooth response message;
File push unit 704, treats pushing files for obtaining according to store path, and will treat that pushing files is pushed to NFC receiving equipment by bluetooth.
Wherein, store path acquiring unit 701 builds with BlueTooth request and push unit 702 is connected, and Bluetooth matching unit 703 is connected with file push unit 704, and above-mentioned file push device 70 is arranged in NFC transmitting apparatus.
The file push device that the embodiment of the present invention seven provides, automatically the Bluetooth matching with NFC receiving equipment is completed based on NFC agreement, when without wifi, achieve and NFC transmitting apparatus will treat that pushing files is pushed to the function of NFC receiving equipment automatically, save and downloaded the data traffic treated required for pushing files, achieve the large data files automatic transmission between NFC device, improve Consumer's Experience.
Further, with reference to figure 8, above-mentioned file push device 70 also comprises:
File identification push unit 801, for sending the sending out notice message comprising the file identification treating pushing files to NFC receiving equipment based on NFC agreement;
Push and confirm receiving element 802, for receiving the propelling movement confirmation response message that NFC receiving equipment returns.
Wherein, store path acquiring unit 701 is connected with file identification push unit 801, with propelling movement, file identification push unit 801 confirms that receiving element 802 is connected, and pushes and confirms that receiving element 802 builds with BlueTooth request and push unit 702 is connected.
Further, store path acquiring unit 701 specifically for: when NFC transmitting apparatus detects the third party application of startup, using the installation file of third party application as treating pushing files; Obtain the URI of installation file in NFC transmitting apparatus this locality, as store path.
Further, with reference to figure 9, above-mentioned file push device 70 can also comprise:
Store path adding device 901, for adding in the array to be sent of NFC agreement by store path;
Store path query unit 902, for when based on NFC protocol discovery NFC receiving equipment, inquires about in array to be sent whether there is store path; If so, then indicate BlueTooth request structure and push unit 702 based on NFC protocol construction standard bluetooth request message.
Wherein, store path acquiring unit 701 is connected with store path adding device 901, and store path adding device 901 and store path query unit 902, store path query unit 902 builds with BlueTooth request and push unit 702 is connected.
Embodiment eight
The structural representation of a kind of file reception device that Figure 10 provides for the embodiment of the present invention eight.As shown in Figure 10, this file receiving system 100 comprises:
BlueTooth request receiving element 1001, for receiving the standard bluetooth request message based on NFC agreement that NFC transmitting apparatus pushes;
Bluetooth address transmitting element 1002, for the Bluetooth address information by NFC receiving equipment this locality, becomes standard bluetooth response message based on NFC protocol encapsulation, and returns to NFC transmitting apparatus, to set up the Bluetooth matching with NFC transmitting apparatus;
File reception unit 1003, for the file pushed by Bluetooth receptions NFC transmitting apparatus.
Wherein, BlueTooth request receiving element 1001 is connected with Bluetooth address transmitting element 1002, and above-mentioned file reception device 100 is arranged in NFC receiving equipment.
The file reception device that the embodiment of the present invention eight provides, based on NFC agreement, the Bluetooth address Information encapsulation of NFC receiving equipment this locality is become standard bluetooth response message, and return to NFC transmitting apparatus, to set up the Bluetooth matching with NFC transmitting apparatus, when without wifi, achieve the function of the file that NFC receiving equipment automatic reception NFC transmitting apparatus pushes, save and downloaded the data traffic treated required for pushing files, achieve the large data files automatic transmission between NFC device, improve Consumer's Experience.
Further, with reference to Figure 11, above-mentioned file reception device 100 also comprises:
File identification receiving element 1101, for receiving the sending out notice message comprising the file identification treating pushing files that NFC transmitting apparatus sends based on NFC agreement;
Pushing and confirm transmitting element 1102, pushing confirmation response message for selecting to return to NFC transmitting apparatus according to user.
Wherein, with propelling movement, file identification receiving element 1101 confirms that transmitting element 1102 is connected.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.
Claims (12)
1. a file push method, is characterized in that, comprising:
When wireless near field communication NFC transmitting apparatus detects until pushing files, described in acquisition, treat the store path of pushing files in this locality;
Based on NFC protocol construction standard bluetooth request message, and push described standard bluetooth request message to NFC receiving equipment;
Receive the standard bluetooth response message that described NFC receiving equipment returns based on NFC agreement, perform the Bluetooth matching work with described NFC receiving equipment according to described standard bluetooth response message;
Treat pushing files described in obtaining according to described store path, and treat that pushing files is pushed to described NFC receiving equipment by bluetooth by described.
2. file push method according to claim 1, is characterized in that, describedly also comprises after NFC transmitting apparatus detects to treat pushing files:
Based on NFC agreement to described NFC receiving equipment send comprise described in treat the sending out notice message of the file identification of pushing files;
Receive the propelling movement confirmation response message that described NFC receiving equipment returns.
3. file push method according to claim 2, is characterized in that, when NFC transmitting apparatus detects until pushing files, treats that pushing files comprises at the store path of this locality described in acquisition:
When NFC transmitting apparatus detects the third party application of startup, the installation file of described third party application is treated pushing files as described;
Obtain the URI of described installation file in described NFC transmitting apparatus this locality, as store path.
4. file push method according to claim 1, it is characterized in that, when NFC transmitting apparatus detects until pushing files, treat described in acquisition that pushing files is after the store path of this locality, also comprises: added to by described store path in the array to be sent of NFC agreement;
Then comprise based on NFC protocol construction standard bluetooth request message: when based on NFC protocol discovery NFC receiving equipment, inquire about in described array to be sent whether there is store path; If so, then based on NFC protocol construction standard bluetooth request message.
5. a document receiving method, is characterized in that, comprising:
Receive the standard bluetooth request message based on NFC agreement that wireless near field communication NFC transmitting apparatus pushes;
By the Bluetooth address information of NFC receiving equipment this locality, become standard bluetooth response message based on NFC protocol encapsulation, and return to described NFC transmitting apparatus, to set up the Bluetooth matching with described NFC transmitting apparatus;
By the file that NFC transmitting apparatus described in Bluetooth receptions pushes.
6. document receiving method according to claim 5, is characterized in that, also comprises before the standard bluetooth request message based on NFC agreement receiving the propelling movement of NFC transmitting apparatus:
The sending out notice message treating the file identification of pushing files described in comprising of described NFC transmitting apparatus transmission is received based on NFC agreement;
Select to return to described NFC transmitting apparatus to push confirmation response message according to user.
7. a file push device, is characterized in that, comprising:
Store path acquiring unit, when wireless near field communication NFC transmitting apparatus detects until pushing files, treats the store path of pushing files in this locality described in acquisition;
BlueTooth request builds and push unit, for based on NFC protocol construction standard bluetooth request message, and pushes described standard bluetooth request message to NFC receiving equipment;
Bluetooth matching unit, for receiving the standard bluetooth response message that described NFC receiving equipment returns based on NFC agreement, performs the Bluetooth matching work with described NFC receiving equipment according to described standard bluetooth response message;
File push unit, treats pushing files, and treats that pushing files is pushed to described NFC receiving equipment by bluetooth by described described in obtaining according to described store path.
8. file push device according to claim 7, is characterized in that, also comprise:
File identification push unit, for based on NFC agreement to described NFC receiving equipment send comprise described in treat the sending out notice message of the file identification of pushing files;
Push and confirm receiving element, for receiving the propelling movement confirmation response message that described NFC receiving equipment returns.
9. file push device according to claim 8, is characterized in that, described store path acquiring unit specifically for:
When NFC transmitting apparatus detects the third party application of startup, the installation file of described third party application is treated pushing files as described;
Obtain the URI of described installation file in described NFC transmitting apparatus this locality, as store path.
10. file push device according to claim 7, is characterized in that, also comprise:
Store path adding device, for adding in the array to be sent of NFC agreement by described store path;
Store path query unit, for when based on NFC protocol discovery NFC receiving equipment, inquires about in described array to be sent whether there is store path; If so, then indicate BlueTooth request structure and push unit based on NFC protocol construction standard bluetooth request message.
11. 1 kinds of file reception devices, is characterized in that, comprising:
BlueTooth request receiving element, for receiving the standard bluetooth request message based on NFC agreement that wireless near field communication NFC transmitting apparatus pushes;
Bluetooth address transmitting element, for the Bluetooth address information by NFC receiving equipment this locality, becomes standard bluetooth response message based on NFC protocol encapsulation, and returns to described NFC transmitting apparatus, to set up the Bluetooth matching with described NFC transmitting apparatus;
File reception unit, for the file pushed by NFC transmitting apparatus described in Bluetooth receptions.
12. file reception devices according to claim 11, is characterized in that, also comprise:
File identification receiving element, for receive based on NFC agreement that described NFC transmitting apparatus sends comprise described in treat the sending out notice message of the file identification of pushing files;
Pushing and confirm transmitting element, pushing confirmation response message for selecting to return to described NFC transmitting apparatus according to user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510137258.0A CN104754514B (en) | 2015-03-26 | 2015-03-26 | A kind of file push method and device, document receiving method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510137258.0A CN104754514B (en) | 2015-03-26 | 2015-03-26 | A kind of file push method and device, document receiving method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104754514A true CN104754514A (en) | 2015-07-01 |
CN104754514B CN104754514B (en) | 2019-04-09 |
Family
ID=53593497
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510137258.0A Expired - Fee Related CN104754514B (en) | 2015-03-26 | 2015-03-26 | A kind of file push method and device, document receiving method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104754514B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017219642A1 (en) * | 2016-06-21 | 2017-12-28 | 广州视睿电子科技有限公司 | Information sharing method and system |
CN109151012A (en) * | 2018-08-11 | 2019-01-04 | 宁波亿拍客网络科技有限公司 | A kind of push mode runs program technic and its application method, correlation technique |
CN113132473A (en) * | 2021-04-09 | 2021-07-16 | 深圳市木千科技有限公司 | Data processing method and device of Bluetooth equipment and computer equipment |
CN113934452A (en) * | 2021-09-30 | 2022-01-14 | 北京五八信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1633104A1 (en) * | 2003-06-06 | 2006-03-08 | Sony Corporation | Communication system, communication device, communication method, and program |
CN103546200A (en) * | 2013-08-26 | 2014-01-29 | 深圳Tcl新技术有限公司 | Data transmission method and system based on near-field communication |
CN103780952A (en) * | 2014-01-28 | 2014-05-07 | 广东欧珀移动通信有限公司 | Intelligent terminal message sending method and system |
CN103781068A (en) * | 2012-10-18 | 2014-05-07 | 中兴通讯股份有限公司 | Data transmission method and terminal device |
-
2015
- 2015-03-26 CN CN201510137258.0A patent/CN104754514B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1633104A1 (en) * | 2003-06-06 | 2006-03-08 | Sony Corporation | Communication system, communication device, communication method, and program |
CN103781068A (en) * | 2012-10-18 | 2014-05-07 | 中兴通讯股份有限公司 | Data transmission method and terminal device |
CN103546200A (en) * | 2013-08-26 | 2014-01-29 | 深圳Tcl新技术有限公司 | Data transmission method and system based on near-field communication |
CN103780952A (en) * | 2014-01-28 | 2014-05-07 | 广东欧珀移动通信有限公司 | Intelligent terminal message sending method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017219642A1 (en) * | 2016-06-21 | 2017-12-28 | 广州视睿电子科技有限公司 | Information sharing method and system |
CN109151012A (en) * | 2018-08-11 | 2019-01-04 | 宁波亿拍客网络科技有限公司 | A kind of push mode runs program technic and its application method, correlation technique |
CN113132473A (en) * | 2021-04-09 | 2021-07-16 | 深圳市木千科技有限公司 | Data processing method and device of Bluetooth equipment and computer equipment |
CN113934452A (en) * | 2021-09-30 | 2022-01-14 | 北京五八信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104754514B (en) | 2019-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5990275B2 (en) | Method for transmitting data between terminals and terminal | |
US10278099B2 (en) | Electronic device and operating method thereof | |
US8369889B2 (en) | Method and system for sharing a single antenna for frequency modulation (FM) transmission, FM reception and near field communication (NFC) | |
CN101807945B (en) | Wireless data transmission system and data transmission method utilizing same | |
CN103220822B (en) | Data transmission method, device and mobile terminal | |
CN101621314B (en) | Bluetooth mobile phone and pairing and binding method thereof | |
CN102201846B (en) | Wireless data transmission system and method based on soft AP (access point) technology | |
CN102983890A (en) | Method and device of pairing connection of equipment | |
CN102833345A (en) | Method, apparatus and system for sharing content between devices | |
JP2015029301A (en) | Wlan peer-to-peer group owner negotiation | |
JP2010519863A (en) | Method and apparatus for generating a multicast group based on proximity | |
CN103765931A (en) | Methods and apparatus for improving management of NFC logical connections | |
KR20090005604A (en) | Method and apparatus for peer to peer connection in wireless communication system | |
CN104429155A (en) | Method and apparatus for handling topology in wireless communication system | |
WO2005036794A2 (en) | Call management system and method for servicing multiple wireless communication devices | |
CN104754514A (en) | File push method and device and file receiving method and device | |
US10091720B2 (en) | Connecting wireless communication apparatuses in a wireless network based on a user input | |
CN103987038A (en) | Radio communication method and system | |
CN104469658A (en) | Method and device for improving compatibility between POS machine and mobile terminal Bluetooth part | |
US20230291799A1 (en) | Method and Apparatus of Network Configuration for Internet-of-Things Device | |
CN102412875A (en) | File sending and receiving method and device as well as file transmission method and system | |
CN102843434A (en) | Method, device and system for sharing contents among equipment | |
CN101808160B (en) | File processing method applied on mobile terminal and mobile terminal | |
CN101222266A (en) | Document transmission method and device | |
CN108684021A (en) | A kind of Bluetooth Low Energy communication means and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190409 |
|
CF01 | Termination of patent right due to non-payment of annual fee |