CN103580727A - Short-distance wireless data transmission method and system and mobile terminals - Google Patents
Short-distance wireless data transmission method and system and mobile terminals Download PDFInfo
- Publication number
- CN103580727A CN103580727A CN201210284343.6A CN201210284343A CN103580727A CN 103580727 A CN103580727 A CN 103580727A CN 201210284343 A CN201210284343 A CN 201210284343A CN 103580727 A CN103580727 A CN 103580727A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- equipment
- transmission
- opposite end
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a short-distance wireless data transmission method and system and mobile terminals. The method includes the steps that the mobile terminal of a home terminal determines BT or Wi-Fi equipment as a sending transmission device for sending a file to be transmitted; OOB data of the determined sending transmission device are obtained, and the sending transmission device is started; the data size of the file to be transmitted and the obtained OOB data are sent to an NFC device of the mobile terminal of an opposite terminal through the NFC device, and relative information sent by the NFC device of the mobile terminal of the opposite terminal is received; the mobile terminal of the opposite terminal determines the BT or the Wi-Fi equipment as a receiving transmission device for receiving the file to be transmitted, and the receiving transmission device is started; the mobile terminal of the home terminal carries out BT pairing or Wi-Fi authentication according to the obtained OOB data of the sending transmission device and the relative information sent by the mobile terminal of the opposite terminal; a BT channel or a Wi-Fi channel needed when the file to be transmitted is transmitted is built. According to the short-distance wireless data transmission method and system and the mobile terminals, the connection building process is simple, and the transmission speed is high.
Description
Technical field
The present invention relates to the transfer of data communication technology, relate in particular to a kind of short-distance wireless data transmission method, system and mobile terminal.
Background technology
At present, mobile terminal generally includes near-field communication (Near Field Communication, NFC), bluetooth (Blue Tooth, BT), Wireless Fidelity (Wireless-Fidelity, Wi-Fi), three kinds of short-distance wireless communication modes, user selects a kind of mode wherein to carry out Wireless Data Transmission as required.
Adopt NFC mode to carry out Wireless Data Transmission, there is the simple advantage of the process of establishing of connection, only need user to select the file to be transmitted of local terminal mobile terminal, again local terminal mobile terminal and opposite end mobile terminal are approached to rear (being less than 10 centimetres), just can set up the connection between local terminal mobile terminal and opposite end mobile terminal, transmit file to be transmitted.For example, but it is slower that employing NFC mode is carried out the transmission speed of Wireless Data Transmission, is applicable to the file that transmitted data amount is less, the file below 10K.
With respect to NFC mode, adopt BT mode to carry out the transmission speed of Wireless Data Transmission very fast, but, connect process of establishing loaded down with trivial details, conventionally need first by user, to open respectively the BT equipment in local terminal mobile terminal and opposite end mobile terminal, then by user, started the matching operation of the BT equipment of local terminal mobile terminal and opposite end mobile terminal, after to be paired completing, by user, select file to be transmitted to carry out BT transmission again, just can connect, carry out transfer of data.
With respect to BT mode, it is faster that employing Wi-Fi mode is carried out the transmission speed of Wireless Data Transmission, but, connection setup time, process was loaded down with trivial details, conventionally need first by user, to open respectively the Wi-Fi equipment in local terminal mobile terminal and opposite end mobile terminal, then by user, started the authentication operations of the Wi-Fi equipment of local terminal mobile terminal and opposite end mobile terminal, after authentication completes, by user, select file to be transmitted to carry out Wi-Fi transmission again, just can connect, carry out transfer of data.
At present, also do not have a kind of NFC mode of can utilizing to connect the simple advantage of process of establishing, can utilize again BT or the fast advantage of Wi-Fi mode transmission speed, carry out the technology of Wireless Data Transmission.If user wants the file that transmitted data amount is larger, but or select to connect the simple slow NFC mode of transmission speed of process of establishing and carry out transfer of data; Select transmission speed fast, but connecting BT or the Wi-Fi mode that process of establishing is loaded down with trivial details carries out transfer of data, completes the required whole time of transfer of data all very long, has not only increased the power consumption of mobile terminal, and time of waste user.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of short-distance wireless data transmission method, system and mobile terminal, not only can realize connection process of establishing simple, and transmission speed is fast.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of short-distance wireless data transmission method, be applied to mobile terminal, described method comprises:
Local terminal mobile terminal, according to the size of the data volume of file to be transmitted, determines that according to default rule bluetooth (BT) or Wireless Fidelity (Wi-Fi) equipment are as the transmission transmission equipment that sends file to be transmitted;
Obtain outer (OOB) data of band of definite transmission transmission equipment, and open described transmission transmission equipment;
Near-field communication (NFC) equipment by local terminal mobile terminal is issued the NFC equipment of opposite end mobile terminal by the data volume of file to be transmitted and the OOB data obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent;
Opposite end mobile terminal, according to the size of the data volume of the file to be transmitted of receiving, is determined that according to default rule BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted, and is opened described reception transmission equipment;
OOB data in the OOB data of the described transmission transmission equipment that local terminal mobile terminal basis is obtained and the relevant information that opposite end mobile terminal is sent, carry out BT pairing or Wi-Fi authentication;
Set up required BT or the Wi-Fi passage of transmission file to be transmitted.
Preferably, describedly according to default rule, determine that BT or Wi-Fi equipment are as before sending the transmission transmission equipment of file to be transmitted, described method also comprises:
Local terminal mobile terminal is according to the type of service of file to be transmitted, judge that whether described file to be transmitted is can transfer files, when described file to be transmitted is can transfer files time, carry out according to default rule and determine that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted.
Preferably, before the described transmission transmission equipment of described unlatching, described method also comprises:
Described in local terminal acquisition for mobile terminal, send the state information of transmission equipment;
According to the state information of the described transmission transmission equipment obtaining, judge that whether described transmission transmission equipment is in other vocational work states, when described transmission transmission equipment does not have in other vocational work states, carry out the operation of opening described transmission transmission equipment.
Preferably, described in carry out BT pairing or Wi-Fi authentication before, described method also comprises:
Working mode of mobile terminal information in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal, whether the mode of operation that judges opposite end mobile terminal is offline mode, when the mode of operation of opposite end mobile terminal is non-offline mode, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, described in carry out BT pairing or Wi-Fi authentication before, described method also comprises:
The state information of the BT in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal or Wi-Fi equipment, judge that whether the BT of opposite end mobile terminal or Wi-Fi equipment are in other vocational work states, when the BT of opposite end mobile terminal or Wi-Fi equipment is not during in other vocational work states, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, described in carry out BT pairing or Wi-Fi authentication before, described method also comprises:
The storage information of the storage card in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal, whether the storage card that judges opposite end mobile terminal also has free space, when storage card also has free space, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
The invention provides a kind of short-distance wireless data transmission system, described system comprises: local terminal mobile terminal and opposite end mobile terminal; Wherein,
Described local terminal mobile terminal, for according to the size of the data volume of file to be transmitted, determines that according to default rule BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted;
Obtain outer (OOB) data of band of definite transmission transmission equipment, and open described transmission transmission equipment;
NFC equipment by local terminal mobile terminal is issued the NFC equipment of opposite end mobile terminal by the data volume of file to be transmitted and the OOB data obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent;
BT in the relevant information of sending according to the OOB data of the described transmission transmission equipment obtaining and opposite end mobile terminal or the OOB data of Wi-Fi equipment, carry out BT pairing or Wi-Fi authentication;
Set up required BT or the Wi-Fi passage of transmission file to be transmitted;
Described opposite end mobile terminal, for after receiving the data volume and OOB data of the file to be transmitted that local terminal mobile terminal is sent, obtains the relevant information of self, and sends described relevant information to local terminal mobile terminal; And the size of the data volume of the file to be transmitted of sending according to local terminal mobile terminal, according to default rule, determine that BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted, and open described reception transmission equipment.
The invention provides a kind of mobile terminal, described mobile terminal comprises: send transmission equipment determining unit, OOB data capture unit, send transmission equipment unlatching unit, NFC equipment, pairing/authenticating unit and BT/Wi-Fi equipment; Wherein,
Send transmission equipment determining unit, for according to the size of the data volume of file to be transmitted, according to default rule, determine that BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted;
OOB data capture unit, for obtaining the OOB data of the definite transmission transmission equipment of described transmission transmission equipment determining unit;
Send transmission equipment and open unit, for opening the definite transmission transmission equipment of described transmission transmission equipment determining unit;
NFC equipment, issues the NFC equipment of opposite end mobile terminal for the OOB data that the data volume of file to be transmitted and described OOB data capture unit are obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent;
Pairing/authenticating unit, the BT of relevant information or the OOB data of Wi-Fi equipment for the OOB data obtained according to described OOB data capture unit and NFC equipment, received, carry out BT pairing or Wi-Fi authentication;
BT/Wi-Fi equipment, for according to BT pairing or the Wi-Fi authenticating result of pairing/authenticating unit, sets up required BT or the Wi-Fi passage of transmission file to be transmitted.
Preferably, described mobile terminal also comprises: can transfer files judging unit;
Described can transfer files judging unit, be used for according to the type of service of file to be transmitted, judge that whether described file to be transmitted is can transfer files, when described file to be transmitted is can transfer files time, notify described transmission transmission equipment determining unit to carry out according to default rule and determine that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted;
Accordingly, described transmission transmission equipment determining unit, for according to notice that can transfer files judging unit, carries out according to default rule and determines that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted.
Preferably, described mobile terminal also comprises: state information acquisition unit and local terminal vocational work state judging unit; Wherein,
Described state information acquisition unit, for obtaining the state information of described transmission transmission equipment;
Described local terminal vocational work state judging unit, state information for the described transmission transmission equipment that obtains according to described state information acquisition unit, judge that whether described transmission transmission equipment is in other vocational work states, when described transmission transmission equipment does not have in other vocational work states, notify described transmission transmission equipment to open unit and carry out the operation of opening described transmission transmission equipment;
Accordingly, described transmission transmission equipment is opened unit, for open the definite transmission transmission equipment of described transmission transmission equipment determining unit according to the notice of described local terminal vocational work state judging unit.
Preferably, described mobile terminal also comprises: opposite end offline mode judging unit;
Described opposite end offline mode judging unit, working mode of mobile terminal information for the relevant information sent according to opposite end mobile terminal, whether the mode of operation that judges opposite end mobile terminal is offline mode, when the mode of operation of opposite end mobile terminal is non-offline mode, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described offline mode judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, described mobile terminal also comprises: opposite end vocational work state judging unit;
Described opposite end vocational work state judging unit, for the BT of relevant information or the state information of Wi-Fi equipment of sending according to opposite end mobile terminal, judge that whether the BT of opposite end mobile terminal or Wi-Fi equipment are in other vocational work states, when the BT of opposite end mobile terminal or Wi-Fi equipment is not during in other vocational work states, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described opposite end vocational work state judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, described mobile terminal also comprises: opposite end free space judging unit;
Described opposite end free space judging unit, storage information for the storage card of the relevant information sent according to opposite end mobile terminal, whether the storage card that judges opposite end mobile terminal also has free space, when storage card also has free space, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described opposite end free space judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, described mobile terminal also comprises: acquiring unit, reception transmission equipment determining unit and reception transmission equipment are opened unit; Wherein,
Described NFC equipment also for receiving data volume and the OOB data of the file to be transmitted that opposite end mobile terminal sends, and is notified acquiring unit after receiving OOB data; And send to opposite end mobile terminal the relevant information that acquiring unit obtains;
Acquiring unit, for according to the notice of NFC equipment, obtains the relevant information of local terminal mobile terminal;
Receive transmission equipment determining unit, for the size of the data volume of the file to be transmitted received according to NFC equipment, according to default rule, determine that BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted;
Receive transmission equipment and open unit, for opening the definite reception transmission equipment of described reception transmission equipment determining unit.
The invention provides a kind of mobile terminal, described mobile terminal comprises: NFC equipment, acquiring unit, reception transmission equipment determining unit, reception transmission equipment are opened unit and BT/Wi-Fi equipment; Wherein,
NFC equipment for receiving data volume and the OOB data of the file to be transmitted that opposite end mobile terminal sends, and is notified acquiring unit after receiving OOB data; And send to opposite end mobile terminal the relevant information that acquiring unit obtains;
Acquiring unit, for according to the notice of NFC equipment, obtains the relevant information of local terminal mobile terminal;
Receive transmission equipment determining unit, for the size of the data volume of the file to be transmitted received according to NFC equipment, according to default rule, determine that BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted;
Receive transmission equipment and open unit, for opening the definite reception transmission equipment of described reception transmission equipment determining unit.
As from the foregoing, the present invention by the following technical solutions: local terminal mobile terminal, according to the size of the data volume of file to be transmitted, determines that according to default rule BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted; Obtain outer (OOB) data of band of definite transmission transmission equipment, and open described transmission transmission equipment; NFC equipment by local terminal mobile terminal is issued the NFC equipment of opposite end mobile terminal by the data volume of file to be transmitted and the OOB data obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent; Opposite end mobile terminal, according to the size of the data volume of the file to be transmitted of receiving, is determined that according to default rule BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted, and is opened described reception transmission equipment; OOB data in the OOB data of the described transmission transmission equipment that local terminal mobile terminal basis is obtained and the relevant information that opposite end mobile terminal is sent, carry out BT pairing or Wi-Fi authentication; Set up required BT or the Wi-Fi passage of transmission file to be transmitted, thus, it is simple that the present invention not only can realize connection process of establishing, and transmission speed is fast.
Accompanying drawing explanation
Fig. 1 is the flow chart of the first embodiment of short-distance wireless data transmission method provided by the invention;
Fig. 2 is the structural representation of short-distance wireless data transmission system provided by the invention;
Fig. 3 is the structural representation of mobile terminal provided by the invention;
Fig. 4 is the structural representation of another mobile terminal provided by the invention.
Embodiment
Basic thought of the present invention is: local terminal mobile terminal, according to the size of the data volume of file to be transmitted, determines that according to default rule BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted; Obtain outer (OOB) data of band of definite transmission transmission equipment, and open described transmission transmission equipment; NFC equipment by local terminal mobile terminal is issued the NFC equipment of opposite end mobile terminal by the data volume of file to be transmitted and the OOB data obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent; Opposite end mobile terminal, according to the size of the data volume of the file to be transmitted of receiving, is determined that according to default rule BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted, and is opened described reception transmission equipment; OOB data in the OOB data of the described transmission transmission equipment that local terminal mobile terminal basis is obtained and the relevant information that opposite end mobile terminal is sent, carry out BT pairing or Wi-Fi authentication; Set up required BT or the Wi-Fi passage of transmission file to be transmitted.
The first embodiment of short-distance wireless data transmission method provided by the invention, as shown in Figure 1, described method comprises:
OOB data in the OOB data of the described transmission transmission equipment that step 105, local terminal mobile terminal basis are obtained and the relevant information that opposite end mobile terminal is sent, carry out BT pairing or Wi-Fi authentication;
Opposite end mobile terminal, equally according to both sides' OOB data, carries out BT pairing or Wi-Fi authentication;
Preferably, the rule according to default in step 101 determines that BT or Wi-Fi equipment are as before sending the transmission transmission equipment of file to be transmitted, and described method also comprises:
Local terminal mobile terminal is according to the type of service of file to be transmitted, judge that whether described file to be transmitted is can transfer files, when described file to be transmitted is can transfer files time, carry out according to default rule and determine that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted.
Preferably, before the described transmission transmission equipment of unlatching in step 102, described method can also comprise:
Described in local terminal acquisition for mobile terminal, send the state information of transmission equipment;
According to the state information of the described transmission transmission equipment obtaining, judge that whether described transmission transmission equipment is in other vocational work states, when described transmission transmission equipment does not have in other vocational work states, carry out the operation of opening described transmission transmission equipment.
Preferably, in step 105 carry out BT pairing or Wi-Fi authentication before, described method can also comprise:
Working mode of mobile terminal information in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal, whether the mode of operation that judges opposite end mobile terminal is offline mode, when the mode of operation of opposite end mobile terminal is non-offline mode, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, in step 105 carry out BT pairing or Wi-Fi authentication before, described method can also comprise:
The state information of the BT in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal or Wi-Fi equipment, judge that whether the BT of opposite end mobile terminal or Wi-Fi equipment are in other vocational work states, when the BT of opposite end mobile terminal or Wi-Fi equipment is not during in other vocational work states, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, in step 105 carry out BT pairing or Wi-Fi authentication before, described method can also comprise:
The storage information of the storage card in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal, whether the storage card that judges opposite end mobile terminal also has free space, when storage card also has free space, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
The embodiment of short-distance wireless data transmission system provided by the invention, as shown in Figure 2, described system comprises: local terminal mobile terminal and opposite end mobile terminal; Wherein,
Described local terminal mobile terminal, for according to the size of the data volume of file to be transmitted, determines that according to default rule BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted;
Obtain the OOB data of definite transmission transmission equipment, and open described transmission transmission equipment;
NFC equipment by local terminal mobile terminal is issued the NFC equipment of opposite end mobile terminal by the data volume of file to be transmitted and the OOB data obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent;
BT in the relevant information of sending according to the OOB data of the described transmission transmission equipment obtaining and opposite end mobile terminal or the OOB data of Wi-Fi equipment, carry out BT pairing or Wi-Fi authentication;
After BT pairing or the success of Wi-Fi authentication, cooperatively interact and set up transmission file to be transmitted required BT or Wi-Fi passage with opposite end mobile terminal, and send file to be transmitted by BT or the Wi-Fi passage of setting up;
Described opposite end mobile terminal, for after receiving the data volume and OOB data of the file to be transmitted that local terminal mobile terminal is sent, obtains the relevant information of self, and sends described relevant information to local terminal mobile terminal; And the size of the data volume of the file to be transmitted of sending according to local terminal mobile terminal, according to default rule, determine that BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted, and open described reception transmission equipment, and according to local terminal mobile terminal, send OOB data and the OOB data in self relevant information of obtaining, carry out BT pairing or Wi-Fi authentication; After BT pairing or the success of Wi-Fi authentication, cooperatively interact and set up transmission file to be transmitted required BT or Wi-Fi passage with local terminal mobile terminal, and receive file to be transmitted by BT or the Wi-Fi passage of setting up.
The embodiment of mobile terminal provided by the invention, as shown in Figure 3, described mobile terminal comprises: send transmission equipment determining unit, OOB data capture unit, send transmission equipment unlatching unit, NFC equipment, pairing/authenticating unit and BT/Wi-Fi equipment; Wherein,
Described transmission transmission equipment determining unit, for according to the size of the data volume of file to be transmitted, determines that according to default rule BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted;
OOB data capture unit, for obtaining the OOB data of the definite transmission transmission equipment of described transmission transmission equipment determining unit;
Send transmission equipment and open unit, for opening the definite transmission transmission equipment of described transmission transmission equipment determining unit;
NFC equipment, issues the NFC equipment of opposite end mobile terminal for the OOB data that the data volume of file to be transmitted and described OOB data capture unit are obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent;
Pairing/authenticating unit, the BT of relevant information or the OOB data of Wi-Fi equipment for the OOB data obtained according to described OOB data capture unit and NFC equipment, received, carry out BT pairing or Wi-Fi authentication;
BT/Wi-Fi equipment, for according to BT pairing or the Wi-Fi authenticating result of pairing/authenticating unit, sets up required BT or the Wi-Fi passage of transmission file to be transmitted.
Preferably, described mobile terminal can also comprise: can transfer files judging unit;
Described can transfer files judging unit, be used for according to the type of service of file to be transmitted, judge that whether described file to be transmitted is can transfer files, when described file to be transmitted is can transfer files time, notify described transmission transmission equipment determining unit to carry out according to default rule and determine that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted;
Accordingly, described transmission transmission equipment determining unit, for according to notice that can transfer files judging unit, carries out according to default rule and determines that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted.
Preferably, described mobile terminal can also comprise: state information acquisition unit and local terminal vocational work state judging unit; Wherein,
Described state information acquisition unit, for obtaining the state information of described transmission transmission equipment;
Described local terminal vocational work state judging unit, state information for the described transmission transmission equipment that obtains according to described state information acquisition unit, judge that whether described transmission transmission equipment is in other vocational work states, when described transmission transmission equipment does not have in other vocational work states, notify described transmission transmission equipment to open unit and carry out the operation of opening described transmission transmission equipment;
Accordingly, described transmission transmission equipment is opened unit, for open the definite transmission transmission equipment of described transmission transmission equipment determining unit according to the notice of described local terminal vocational work state judging unit.
Preferably, described mobile terminal can also comprise: opposite end offline mode judging unit, is connected with pairing/authenticating unit with NFC equipment respectively;
Described opposite end offline mode judging unit, working mode of mobile terminal information for the relevant information sent according to opposite end mobile terminal, whether the mode of operation that judges opposite end mobile terminal is offline mode, when the mode of operation of opposite end mobile terminal is non-offline mode, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described offline mode judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, described mobile terminal can also comprise: opposite end vocational work state judging unit, is connected with pairing/authenticating unit with NFC equipment respectively;
Described opposite end vocational work state judging unit, for the BT of relevant information or the state information of Wi-Fi equipment of sending according to opposite end mobile terminal, judge that whether the BT of opposite end mobile terminal or Wi-Fi equipment are in other vocational work states, when the BT of opposite end mobile terminal or Wi-Fi equipment is not during in other vocational work states, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described opposite end vocational work state judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, described mobile terminal can also comprise: opposite end free space judging unit, is connected with pairing/authenticating unit with NFC equipment respectively;
Described opposite end free space judging unit, storage information for the storage card of the relevant information sent according to opposite end mobile terminal, whether the storage card that judges opposite end mobile terminal also has free space, when storage card also has free space, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described opposite end free space judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
Preferably, described mobile terminal also comprises: acquiring unit, reception transmission equipment determining unit and reception transmission equipment are opened unit; Wherein,
Described NFC equipment also for receiving data volume and the OOB data of the file to be transmitted that opposite end mobile terminal sends, and is notified acquiring unit after receiving OOB data; And send to opposite end mobile terminal the relevant information that acquiring unit obtains;
Acquiring unit, for according to the notice of NFC equipment, obtains the relevant information of local terminal mobile terminal;
Receive transmission equipment determining unit, for the size of the data volume of the file to be transmitted received according to NFC equipment, according to default rule, determine that BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted;
Receive transmission equipment and open unit, for opening the definite reception transmission equipment of described reception transmission equipment determining unit.
The present invention also provides a kind of mobile terminal, and as shown in Figure 4, described mobile terminal comprises: NFC equipment, reception transmission equipment determining unit, reception transmission equipment are opened unit, acquiring unit and BT/Wi-Fi equipment; Wherein,
NFC equipment for receiving data volume and the OOB data of the file to be transmitted that opposite end mobile terminal sends, and is notified acquiring unit after receiving OOB data; And send to opposite end mobile terminal the relevant information that acquiring unit obtains;
Acquiring unit, for according to the notice of NFC equipment, obtains the relevant information of local terminal mobile terminal;
Described reception transmission equipment determining unit, for the size of the data volume of the file to be transmitted received according to NFC equipment, determines that according to default rule BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted;
Receive transmission equipment and open unit, for opening the definite reception transmission equipment of described reception transmission equipment determining unit.
The second embodiment of short-distance wireless data transmission method provided by the invention, comprises the following steps:
Type of service and the data volume of the file to be transmitted that step 501, local terminal acquisition for mobile terminal user select.
Step 502, according to the type of service of file to be transmitted, judge that whether described file to be transmitted is can transfer files, when described file to be transmitted is can transfer files time, enter step 503; When described file to be transmitted is can not transfer files time, enter step 519.
Step 503, judge that whether the data volume of file to be transmitted is less than preset value, when being greater than preset value, enters step 504; When being less than preset value, enter step 518;
Here, described preset value can be 10K.
Step 504, according to the size of the data volume of file to be transmitted, according to default rule, determine that BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted;
Here, default rule can be: data volume is more than or equal to the file that 10K is less than 3M, adopts BT short-distance wireless communication mode; Data volume is more than or equal to the file of 3M, adopts Wi-Fi short-distance wireless communication mode.
Step 505, the state information of obtaining definite transmission transmission equipment and OOB data.
The state information of the described transmission transmission equipment that step 506, basis are obtained, judges that whether described transmission transmission equipment is in other vocational work states, when described transmission transmission equipment does not have in other vocational work states, enters step 507; When described transmission transmission equipment is during in other vocational work states, enter step 519.
Step 507, open described transmission transmission equipment.
Step 508, the NFC equipment by local terminal mobile terminal are issued the NFC equipment of opposite end mobile terminal by the data volume of file to be transmitted and the OOB data obtained, and receive the relevant information that the NFC equipment of opposite end mobile terminal is sent.
Step 509, opposite end mobile terminal, according to the size of the data volume of the file to be transmitted of receiving, are determined that according to default rule BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted, and are opened described reception transmission equipment.
Working mode of mobile terminal information in the relevant information that step 510, local terminal mobile terminal are sent according to opposite end mobile terminal, whether the mode of operation that judges opposite end mobile terminal is offline mode, when the mode of operation of opposite end mobile terminal is non-offline mode, enter step 511; When the mode of operation of opposite end mobile terminal is offline mode, enter step 519.
BT in the relevant information that step 511, local terminal mobile terminal are sent according to opposite end mobile terminal or the state information of Wi-Fi equipment, judge that whether the BT of opposite end mobile terminal or Wi-Fi equipment are in other vocational work states, when the BT of opposite end mobile terminal or Wi-Fi equipment is not during in other vocational work states, enter step 512; When the BT of opposite end mobile terminal or Wi-Fi equipment are during in other vocational work states, enter step 519.
The storage information of the storage card in the relevant information that step 512, local terminal mobile terminal are sent according to opposite end mobile terminal, judges whether the storage card of opposite end mobile terminal also has free space, when storage card also has free space, enters step 513; When storage card does not have free space, enter step 519.
OOB data in the OOB data of the described transmission transmission equipment that step 513, local terminal mobile terminal basis are obtained and the relevant information that NFC equipment is received, judge whether BT has matched or whether Wi-Fi connects, when BT does not have pairing or Wi-Fi not to connect, enter step 514; When BT has matched or when Wi-Fi has connected, entered 516.
OOB data in the OOB data of the described transmission transmission equipment that step 514, local terminal mobile terminal basis are obtained and the relevant information that NFC equipment is received, carry out BT pairing or Wi-Fi authentication.
Step 515, judge the whether success of BT pairing or Wi-Fi authentication, when BT pairing or the success of Wi-Fi authentication, enter step 516; When BT pairing or Wi-Fi failed authentication, enter step 519.
Step 516, required BT or the Wi-Fi passage of foundation transmission file to be transmitted.
Step 517, by the channel transfer file to be transmitted of setting up, finish this flow process.
Step 518, the required NFC passage of foundation transmission file to be transmitted, return to step 517.
Step 519, this flow process that finishes.
As from the foregoing, no matter the data volume of file to be transmitted is how many, and local terminal mobile phone users only needs to select file to be transmitted, and close with opposite end mobile terminal, can send, and without user, mobile terminal is carried out to complicated setting.And, when the data volume of file to be transmitted hour, automatically adopt NFC mode to carry out transfer of data; When the data volume of file to be transmitted is larger, according to the size of data volume, select automatically to select BT or Wi-Fi mode to transmit, adopt the present invention to carry out transfer of data, not only connect process of establishing simple, and transmission speed is fast.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.
Claims (15)
1. a short-distance wireless data transmission method, is applied to mobile terminal, it is characterized in that, described method comprises:
Local terminal mobile terminal, according to the size of the data volume of file to be transmitted, determines that according to default rule bluetooth (BT) or Wireless Fidelity (Wi-Fi) equipment are as the transmission transmission equipment that sends file to be transmitted;
Obtain outer (OOB) data of band of definite transmission transmission equipment, and open described transmission transmission equipment;
Near-field communication (NFC) equipment by local terminal mobile terminal is issued the NFC equipment of opposite end mobile terminal by the data volume of file to be transmitted and the OOB data obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent;
Opposite end mobile terminal, according to the size of the data volume of the file to be transmitted of receiving, is determined that according to default rule BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted, and is opened described reception transmission equipment;
OOB data in the OOB data of the described transmission transmission equipment that local terminal mobile terminal basis is obtained and the relevant information that opposite end mobile terminal is sent, carry out BT pairing or Wi-Fi authentication;
Set up required BT or the Wi-Fi passage of transmission file to be transmitted.
2. method according to claim 1, is characterized in that, describedly according to default rule, determines that BT or Wi-Fi equipment are as before sending the transmission transmission equipment of file to be transmitted, and described method also comprises:
Local terminal mobile terminal is according to the type of service of file to be transmitted, judge that whether described file to be transmitted is can transfer files, when described file to be transmitted is can transfer files time, carry out according to default rule and determine that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted.
3. method according to claim 1, is characterized in that, before the described transmission transmission equipment of described unlatching, described method also comprises:
Described in local terminal acquisition for mobile terminal, send the state information of transmission equipment;
According to the state information of the described transmission transmission equipment obtaining, judge that whether described transmission transmission equipment is in other vocational work states, when described transmission transmission equipment does not have in other vocational work states, carry out the operation of opening described transmission transmission equipment.
4. method according to claim 1, is characterized in that, described in carry out BT pairing or Wi-Fi authentication before, described method also comprises:
Working mode of mobile terminal information in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal, whether the mode of operation that judges opposite end mobile terminal is offline mode, when the mode of operation of opposite end mobile terminal is non-offline mode, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
5. method according to claim 1, is characterized in that, described in carry out BT pairing or Wi-Fi authentication before, described method also comprises:
The state information of the BT in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal or Wi-Fi equipment, judge that whether the BT of opposite end mobile terminal or Wi-Fi equipment are in other vocational work states, when the BT of opposite end mobile terminal or Wi-Fi equipment is not during in other vocational work states, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
6. method according to claim 1, is characterized in that, described in carry out BT pairing or Wi-Fi authentication before, described method also comprises:
The storage information of the storage card in the relevant information that local terminal mobile terminal is sent according to opposite end mobile terminal, whether the storage card that judges opposite end mobile terminal also has free space, when storage card also has free space, carry out the operation of carrying out BT pairing or Wi-Fi authentication.
7. a short-distance wireless data transmission system, is characterized in that, described system comprises: local terminal mobile terminal and opposite end mobile terminal; Wherein,
Described local terminal mobile terminal, for according to the size of the data volume of file to be transmitted, determines that according to default rule BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted;
Obtain outer (OOB) data of band of definite transmission transmission equipment, and open described transmission transmission equipment;
NFC equipment by local terminal mobile terminal is issued the NFC equipment of opposite end mobile terminal by the data volume of file to be transmitted and the OOB data obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent;
BT in the relevant information of sending according to the OOB data of the described transmission transmission equipment obtaining and opposite end mobile terminal or the OOB data of Wi-Fi equipment, carry out BT pairing or Wi-Fi authentication;
Set up required BT or the Wi-Fi passage of transmission file to be transmitted;
Described opposite end mobile terminal, for after receiving the data volume and OOB data of the file to be transmitted that local terminal mobile terminal is sent, obtains the relevant information of self, and sends described relevant information to local terminal mobile terminal; And the size of the data volume of the file to be transmitted of sending according to local terminal mobile terminal, according to default rule, determine that BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted, and open described reception transmission equipment.
8. a mobile terminal, is characterized in that, described mobile terminal comprises: send transmission equipment determining unit, OOB data capture unit, send transmission equipment unlatching unit, NFC equipment, pairing/authenticating unit and BT/Wi-Fi equipment; Wherein,
Send transmission equipment determining unit, for according to the size of the data volume of file to be transmitted, according to default rule, determine that BT or Wi-Fi equipment are as the transmission transmission equipment that sends file to be transmitted;
OOB data capture unit, for obtaining the OOB data of the definite transmission transmission equipment of described transmission transmission equipment determining unit;
Send transmission equipment and open unit, for opening the definite transmission transmission equipment of described transmission transmission equipment determining unit;
NFC equipment, issues the NFC equipment of opposite end mobile terminal for the OOB data that the data volume of file to be transmitted and described OOB data capture unit are obtained, and receives the relevant information that the NFC equipment of opposite end mobile terminal is sent;
Pairing/authenticating unit, the BT of relevant information or the OOB data of Wi-Fi equipment for the OOB data obtained according to described OOB data capture unit and NFC equipment, received, carry out BT pairing or Wi-Fi authentication;
BT/Wi-Fi equipment, for according to BT pairing or the Wi-Fi authenticating result of pairing/authenticating unit, sets up required BT or the Wi-Fi passage of transmission file to be transmitted.
9. mobile terminal according to claim 8, is characterized in that, described mobile terminal also comprises: can transfer files judging unit;
Described can transfer files judging unit, be used for according to the type of service of file to be transmitted, judge that whether described file to be transmitted is can transfer files, when described file to be transmitted is can transfer files time, notify described transmission transmission equipment determining unit to carry out according to default rule and determine that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted;
Accordingly, described transmission transmission equipment determining unit, for according to notice that can transfer files judging unit, carries out according to default rule and determines that BT or Wi-Fi equipment are as the operation that sends the transmission transmission equipment of file to be transmitted.
10. mobile terminal according to claim 8, is characterized in that, described mobile terminal also comprises: state information acquisition unit and local terminal vocational work state judging unit; Wherein,
Described state information acquisition unit, for obtaining the state information of described transmission transmission equipment;
Described local terminal vocational work state judging unit, state information for the described transmission transmission equipment that obtains according to described state information acquisition unit, judge that whether described transmission transmission equipment is in other vocational work states, when described transmission transmission equipment does not have in other vocational work states, notify described transmission transmission equipment to open unit and carry out the operation of opening described transmission transmission equipment;
Accordingly, described transmission transmission equipment is opened unit, for open the definite transmission transmission equipment of described transmission transmission equipment determining unit according to the notice of described local terminal vocational work state judging unit.
11. mobile terminals according to claim 8, is characterized in that, described mobile terminal also comprises: opposite end offline mode judging unit;
Described opposite end offline mode judging unit, working mode of mobile terminal information for the relevant information sent according to opposite end mobile terminal, whether the mode of operation that judges opposite end mobile terminal is offline mode, when the mode of operation of opposite end mobile terminal is non-offline mode, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described offline mode judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
12. mobile terminals according to claim 8, is characterized in that, described mobile terminal also comprises: opposite end vocational work state judging unit;
Described opposite end vocational work state judging unit, for the BT of relevant information or the state information of Wi-Fi equipment of sending according to opposite end mobile terminal, judge that whether the BT of opposite end mobile terminal or Wi-Fi equipment are in other vocational work states, when the BT of opposite end mobile terminal or Wi-Fi equipment is not during in other vocational work states, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described opposite end vocational work state judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
13. mobile terminals according to claim 8, is characterized in that, described mobile terminal also comprises: opposite end free space judging unit;
Described opposite end free space judging unit, storage information for the storage card of the relevant information sent according to opposite end mobile terminal, whether the storage card that judges opposite end mobile terminal also has free space, when storage card also has free space, notify described pairing/authenticating unit to carry out the operation of carrying out BT pairing or Wi-Fi authentication;
Accordingly, described pairing/authenticating unit, for according to the notice of described opposite end free space judging unit, is carried out the operation of carrying out BT pairing or Wi-Fi authentication.
Mobile terminal described in 14. according to Claim 8 to 13 are arbitrary, is characterized in that, described mobile terminal also comprises: acquiring unit, reception transmission equipment determining unit and reception transmission equipment are opened unit; Wherein,
Described NFC equipment also for receiving data volume and the OOB data of the file to be transmitted that opposite end mobile terminal sends, and is notified acquiring unit after receiving OOB data; And send to opposite end mobile terminal the relevant information that acquiring unit obtains;
Acquiring unit, for according to the notice of NFC equipment, obtains the relevant information of local terminal mobile terminal;
Receive transmission equipment determining unit, for the size of the data volume of the file to be transmitted received according to NFC equipment, according to default rule, determine that BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted;
Receive transmission equipment and open unit, for opening the definite reception transmission equipment of described reception transmission equipment determining unit.
15. 1 kinds of mobile terminals, is characterized in that, described mobile terminal comprises: NFC equipment, acquiring unit, reception transmission equipment determining unit, reception transmission equipment are opened unit and BT/Wi-Fi equipment; Wherein,
NFC equipment for receiving data volume and the OOB data of the file to be transmitted that opposite end mobile terminal sends, and is notified acquiring unit after receiving OOB data; And send to opposite end mobile terminal the relevant information that acquiring unit obtains;
Acquiring unit, for according to the notice of NFC equipment, obtains the relevant information of local terminal mobile terminal;
Receive transmission equipment determining unit, for the size of the data volume of the file to be transmitted received according to NFC equipment, according to default rule, determine that BT or Wi-Fi equipment are as the reception transmission equipment that receives file to be transmitted;
Receive transmission equipment and open unit, for opening the definite reception transmission equipment of described reception transmission equipment determining unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210284343.6A CN103580727A (en) | 2012-08-06 | 2012-08-06 | Short-distance wireless data transmission method and system and mobile terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210284343.6A CN103580727A (en) | 2012-08-06 | 2012-08-06 | Short-distance wireless data transmission method and system and mobile terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103580727A true CN103580727A (en) | 2014-02-12 |
Family
ID=50051772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210284343.6A Pending CN103580727A (en) | 2012-08-06 | 2012-08-06 | Short-distance wireless data transmission method and system and mobile terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103580727A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105792105A (en) * | 2016-02-29 | 2016-07-20 | 联想(北京)有限公司 | Data transmission method and electronic device |
WO2018027475A1 (en) * | 2016-08-08 | 2018-02-15 | 华为技术有限公司 | Data transmission method, transmitting terminal device and receiving terminal device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101843124A (en) * | 2007-10-31 | 2010-09-22 | 摩托罗拉公司 | Negotiation of a short range wireless communication parameters using configuration data received through RFID |
CN102474721A (en) * | 2009-08-03 | 2012-05-23 | 摩托罗拉解决方案公司 | Method and system for near-field wireless device pairing |
-
2012
- 2012-08-06 CN CN201210284343.6A patent/CN103580727A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101843124A (en) * | 2007-10-31 | 2010-09-22 | 摩托罗拉公司 | Negotiation of a short range wireless communication parameters using configuration data received through RFID |
CN102474721A (en) * | 2009-08-03 | 2012-05-23 | 摩托罗拉解决方案公司 | Method and system for near-field wireless device pairing |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105792105A (en) * | 2016-02-29 | 2016-07-20 | 联想(北京)有限公司 | Data transmission method and electronic device |
WO2018027475A1 (en) * | 2016-08-08 | 2018-02-15 | 华为技术有限公司 | Data transmission method, transmitting terminal device and receiving terminal device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8213862B2 (en) | Headset charge via short-range RF communication | |
US20100211685A1 (en) | Pairing exchange | |
CN106415490B (en) | Mobile terminal, power adapter and upgrading method thereof | |
CN103068066A (en) | Intelligent mobile communication terminal and wireless network access method and system thereof | |
RU2009114831A (en) | WIRELESS COMMUNICATION SYSTEM, WIRELESS COMMUNICATION DEVICE, WIRELESS COMMUNICATION METHOD AND PROGRAM | |
CN101409871B (en) | Long-distance remote-control method, system and remote-control device | |
CN103501378A (en) | Bluetooth mobile phone with NFC function | |
CN104301456A (en) | Call transfer method, wearing device and terminals | |
CN203279086U (en) | Television control system | |
EP2941058A1 (en) | Near field communication method and device | |
KR101390402B1 (en) | Power sharing apparatus and system using power sharing program installed in mobile terminal | |
CN105554905A (en) | Method and device for achieving connection between intelligent secret key device and upper computer Bluetooth | |
CN103442344A (en) | Method and system for performing call forwarding based on NFC and Bluetooth | |
CN103052062A (en) | Switching device for communicating mobile terminal with intelligent key device and communication method for switching device | |
CN103457640A (en) | Method and system for rapid data transmission and mobile terminals | |
CN105827023A (en) | Wireless charging method between terminals and terminals | |
US20120003927A1 (en) | Communication Apparatus, Program and Communication Method | |
CN106416196B (en) | Mobile terminal, power adapter and upgrading method thereof | |
CN103326749A (en) | NFC radio frequency communication control method, device and system | |
CN202014247U (en) | Communicator applied to Beidou satellite | |
CN107318153B (en) | Bluetooth module management method and device | |
CN103580727A (en) | Short-distance wireless data transmission method and system and mobile terminals | |
CN105722244A (en) | Information processing method and electronic device | |
CN113473291A (en) | Communication method, earphone cabin and WIFI earphone | |
CN104168555A (en) | Communication prompting method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140212 |
|
RJ01 | Rejection of invention patent application after publication |