CN104980194A - File transmission method and terminal - Google Patents

File transmission method and terminal Download PDF

Info

Publication number
CN104980194A
CN104980194A CN201510243012.1A CN201510243012A CN104980194A CN 104980194 A CN104980194 A CN 104980194A CN 201510243012 A CN201510243012 A CN 201510243012A CN 104980194 A CN104980194 A CN 104980194A
Authority
CN
China
Prior art keywords
terminal
bluetooth
file
identification
file destination
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
Application number
CN201510243012.1A
Other languages
Chinese (zh)
Other versions
CN104980194B (en
Inventor
黄伟福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201510243012.1A priority Critical patent/CN104980194B/en
Publication of CN104980194A publication Critical patent/CN104980194A/en
Application granted granted Critical
Publication of CN104980194B publication Critical patent/CN104980194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the invention provide a file transmission method and a terminal. The method comprises the steps of scanning a two-dimensional code displayed by a target terminal and acquiring a file identification of a target file and a Bluetooth identification of the target terminal; sending a Bluetooth connection request to the target terminal according to the Bluetooth identification, wherein the Bluetooth connection request carries the file identification so as to trigger the target terminal to respond to the Bluetooth connection request to establish a Bluetooth connection with a home terminal and send the target file corresponding to the file identification to the home terminal through the Bluetooth connection; and receiving the target file sent by the target terminal through the Bluetooth connection. Through adoption of the method, the file transmission efficiency can be improved.

Description

A kind of document transmission method and terminal
Technical field
The present invention relates to communication technical field, be specifically related to a kind of document transmission method and terminal.
Background technology
Along with the development of electronic technology, the function of the terminal such as mobile phone, panel computer is more and more abundanter.Wherein, the function of modal a kind of terminal is Bluetooth function.In actual applications, terminal can pass through Bluetooth function transfer files, but needs before transfer files to set up bluetooth connection.At present, bluetooth connects needs user just can be completed by multi-pass operation, and operating procedure is more loaded down with trivial details, reduces file transmission efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of document transmission method and terminal, can improve file transmission efficiency.
Embodiment of the present invention first aspect provides a kind of document transmission method, comprising:
The Quick Response Code of scanning target terminal display, obtains the file identification of file destination and the Bluetooth identification of described target terminal;
Bluetooth connection request is sent to described target terminal according to described Bluetooth identification, described Bluetooth connection request carries described file identification, described Bluetooth connection request is responded to trigger described target terminal, set up and be connected with the bluetooth of local terminal, and send described file destination corresponding to described file identification by described bluetooth connection to local terminal;
Receive described target terminal and connected the described file destination sent by described bluetooth.
Embodiment of the present invention second aspect provides a kind of terminal, it is characterized in that, comprising:
Scanning element, for scanning the Quick Response Code of target terminal display, obtains the file identification of file destination and the Bluetooth identification of described target terminal;
Communication unit, Bluetooth identification for obtaining according to described scanning element scanning sends Bluetooth connection request to described target terminal, described Bluetooth connection request carries described file identification, be connected with the bluetooth of described terminal according to described Bluetooth connection request foundation to trigger described target terminal, and send described file destination corresponding to described file identification by described bluetooth connection to described terminal;
Described communication unit, also connects for receiving described target terminal the described file destination sent by described bluetooth.
In the embodiment of the present invention, the Quick Response Code of scanning target terminal display, obtain the file identification of file destination and the Bluetooth identification of target terminal, Bluetooth connection request is sent to target terminal afterwards according to Bluetooth identification, Bluetooth connection request carries file identification, with trigger target terminal response Bluetooth connection request, sets up and is connected with the bluetooth of local terminal, and connected to file destination corresponding to local terminal transmission file identification by bluetooth, and receiving target terminal connects the file destination sent by bluetooth.Visible, when needing to obtain the file shared opposite end, only need scan the Quick Response Code comprising the Bluetooth identification of file identification and opposite end of opposite end display, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of document transmission method that the embodiment of the present invention provides;
Fig. 2 is the flow chart of the another kind of document transmission method that the embodiment of the present invention provides;
Fig. 3 is the flow chart of another document transmission method that the embodiment of the present invention provides;
Fig. 4 is the flow chart of another document transmission method that the embodiment of the present invention provides;
Fig. 5 is the structure chart of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structure chart of the another kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the structure chart of another terminal that the embodiment of the present invention provides;
Fig. 8 is the structure chart of another terminal that the embodiment of the present invention provides;
Fig. 9 is the structure chart of another terminal that the embodiment of the present invention provides;
Figure 10 is the structure chart of another terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, 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.
The embodiment of the present invention provides a kind of document transmission method and associated terminal, for improving file transmission efficiency.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the flow chart of a kind of document transmission method that the embodiment of the present invention provides.Wherein, this document transmission method is applicable to the terminal that mobile phone, panel computer etc. are provided with Bluetooth function.Wherein, the document transmission method shown in Fig. 1 describes from the terminal point sending file destination.As shown in Figure 1, this document transmission method can comprise the following steps.
The share for Bluetooth instruction that S101, detection user input for file destination.
In the present embodiment, when user needs the target terminal file destination in terminal being shared with other users use, user can input share for Bluetooth instruction for file destination by modes such as operating terminal screen, terminal push, and terminal will detect the share for Bluetooth instruction that user inputs for file destination afterwards.
S102, the instruction of response share for Bluetooth, generate the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of local terminal.
In the present embodiment, when terminal detects share for Bluetooth instruction, the instruction of response share for Bluetooth, generates the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of terminal.
The Bluetooth connection request that S103, receiving target terminal send, Bluetooth connection request carries the file identification that target terminal scanning Quick Response Code obtains.
In the present embodiment, Quick Response Code can directly be presented on terminal display screen after generating and comprising the Quick Response Code of the file identification of file destination and the Bluetooth identification of terminal by terminal, so that target terminal scanning; Also can first be stored in terminal by Quick Response Code, wait target terminal to need to show during scanning Quick Response Code, the present embodiment be not construed as limiting again.When the use user of target terminal needs to obtain file destination from terminal, this user is by the Quick Response Code of Action Target terminal scanning terminal demonstration, obtain the file identification of file destination and the Bluetooth identification of terminal, and sending Bluetooth connection request by the Bluetooth identification of terminal to terminal, terminal will receive the Bluetooth connection request of target terminal transmission afterwards.Wherein, Bluetooth connection request carries the file identification of file destination.Wherein, Quick Response Code can also comprise capacity shared by file destination, and target terminal, while the acquisition file identification of file destination and the Bluetooth identification of terminal, can also obtain capacity shared by file destination.
S104, response Bluetooth connection request, set up and be connected with the bluetooth of target terminal.
In the present embodiment, after terminal receives the Bluetooth connection request of target terminal transmission, response Bluetooth connection request, the bluetooth set up between terminal with target terminal is connected.
S105, to be connected by bluetooth and send file destination corresponding to file identification to target terminal.
In the present embodiment, set up after terminal is connected with the bluetooth of target terminal, the file destination that terminal can connect the file identification that carried by Bluetooth connection request corresponding by bluetooth is sent to target terminal.
In the document transmission method described by Fig. 1, after the share for Bluetooth instruction that user inputs for file being detected, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Fig. 2, Fig. 2 is the flow chart of the another kind of document transmission method that the embodiment of the present invention provides.Wherein, this document transmission method is applicable to the terminal that mobile phone, panel computer etc. are provided with Bluetooth function.Wherein, the document transmission method shown in Fig. 2 describes from the terminal point sending file destination.As shown in Figure 2, this document transmission method can comprise the following steps.
The share for Bluetooth instruction that S201, detection user input for file destination.
In the present embodiment, when user needs the target terminal file destination in terminal being shared with other users use, user can input share for Bluetooth instruction for file destination by modes such as operating terminal screen, terminal push, and terminal will detect the share for Bluetooth instruction that user inputs for file destination afterwards.
S202, the instruction of response share for Bluetooth, generate the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of local terminal.
In the present embodiment, when terminal detects share for Bluetooth instruction, the instruction of response share for Bluetooth, generates the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of terminal.Wherein, while generation comprises the Quick Response Code of the file identification of file destination and the Bluetooth identification of terminal, current time can be recorded, so that record generates the rise time of Quick Response Code.
S203, judge whether local terminal bluetooth is in closed condition, if local terminal bluetooth is in closed condition, then start local terminal bluetooth.
In the present embodiment, terminal judges whether terminal Bluetooth is in closed condition after the share for Bluetooth instruction that user inputs for file destination being detected, when terminal Bluetooth is in closed condition, start terminal Bluetooth, when terminal Bluetooth is in running order, perform step S204.Wherein, step S202 and step S203 can executed in parallel, and also can serial perform, the present embodiment is not construed as limiting.
As a kind of possible execution mode, after judging that terminal Bluetooth is in closed condition, judge whether terminal battery electricity quantity is greater than first and presets electricity, if terminal battery electricity quantity is greater than first preset electricity, then starts terminal Bluetooth.
In the present embodiment, need owing to using Bluetooth transmission file destination to consume terminal battery electricity quantity, therefore, when judging that terminal Bluetooth is in closed condition, first can judge whether terminal current battery charge is greater than first and presets electricity, when terminal current battery charge be greater than first preset electricity time, show the transmission of the enough support target files of terminal current battery charge or terminal battery electricity quantity can not be made to exhaust after transferring file destination, therefore, terminal Bluetooth is started.
As a kind of possible execution mode, after judging that terminal Bluetooth is in closed condition, obtain capacity shared by file destination, judge whether capacity shared by file destination is greater than preset capacity, if capacity is greater than preset capacity shared by file destination, then judge whether terminal battery electricity quantity is greater than second and presets electricity, if terminal battery electricity quantity is greater than second preset electricity, then starts terminal Bluetooth.
In the present embodiment, shared by file destination, capacity is different, needed for transmission objectives file, terminal battery electricity quantity is not identical yet, therefore, when judging that terminal Bluetooth is in closed condition, can first obtain capacity shared by file destination, judge whether capacity shared by file destination is greater than preset capacity, when shared by file destination, capacity is greater than preset capacity, show that needed for transmission objectives file, terminal battery electricity quantity is more, therefore, judge whether terminal current battery charge is greater than second and presets electricity, when terminal current battery charge is greater than the second default electricity, show the transmission of the enough support target files of terminal current battery charge or terminal battery electricity quantity can not be made to exhaust after transferring file destination, therefore, start terminal Bluetooth.
The Bluetooth connection request that S204, receiving target terminal send, Bluetooth connection request carries the file identification that target terminal scanning Quick Response Code obtains.
In the present embodiment, Quick Response Code can directly be presented on terminal display screen after generating and comprising the Quick Response Code of the file identification of file destination and the Bluetooth identification of terminal by terminal, so that target terminal scanning; Also can first be stored in terminal by Quick Response Code, wait target terminal to need to show during scanning Quick Response Code, the present embodiment be not construed as limiting again.When the use user of target terminal needs to obtain file destination from terminal, this user is by the Quick Response Code of Action Target terminal scanning terminal demonstration, obtain the file identification of file destination and the Bluetooth identification of terminal, and sending Bluetooth connection request by the Bluetooth identification of terminal to terminal, terminal will receive the Bluetooth connection request of target terminal transmission afterwards.Wherein, Bluetooth connection request carries the file identification of file destination.Wherein, Quick Response Code can also comprise capacity shared by file destination, and target terminal, while the acquisition file identification of file destination and the Bluetooth identification of terminal, can also obtain capacity shared by file destination.Wherein, terminal, the Bluetooth connection request that receiving target terminal sends while, can record current time, so that record receives the time of reception of the Bluetooth connection request that target terminal sends.
S205, response Bluetooth connection request, set up and be connected with the bluetooth of target terminal.
In the present embodiment, after terminal receives the Bluetooth connection request of target terminal transmission, response Bluetooth connection request, the bluetooth set up between terminal with target terminal is connected.
As a kind of possible execution mode, response Bluetooth connection request, set up the mode be connected with the bluetooth of target terminal and be specially:
Response Bluetooth connection request, judges whether the time difference between rise time and time of reception is less than preset value;
If the time difference between rise time and time of reception is less than preset value, then sets up and be connected with the bluetooth of target terminal.
In the present embodiment, after receiving the Bluetooth connection request of target terminal transmission, first can judge whether the time difference between rise time and time of reception is less than preset value, when the time difference between rise time and time of reception is less than preset value, foundation is connected with the bluetooth of target terminal; Time difference between rise time and time of reception is not less than preset value, shows that the stand-by period is longer, being connected, terminating this file transfer by not setting up with the bluetooth of target terminal.
S206, to be connected by bluetooth and send file destination corresponding to file identification to target terminal.
In the present embodiment, set up after terminal is connected with the bluetooth of target terminal, the file destination that terminal can connect the file identification that carried by Bluetooth connection request corresponding by bluetooth is sent to target terminal.
In the document transmission method described by Fig. 2, after the share for Bluetooth instruction that user inputs for file being detected, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Fig. 3, Fig. 3 is the flow chart of another document transmission method that the embodiment of the present invention provides.Wherein, this document transmission method is applicable to the terminal such as mobile phone, panel computer.Wherein, the document transmission method shown in Fig. 3 describes from the terminal point of receiving target file.As shown in Figure 3, this document transmission method can comprise the following steps.
The Quick Response Code of S301, the display of scanning target terminal, obtains the file identification of file destination and the Bluetooth identification of target terminal.
In the present embodiment, when terminal needs to obtain file destination by bluetooth from target terminal, first scan the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of target terminal of target terminal display, obtain the file identification of file destination and the Bluetooth identification of target terminal.
S302, send Bluetooth connection request according to Bluetooth identification to target terminal, Bluetooth connection request carries file identification, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of local terminal, and connected to file destination corresponding to local terminal transmission file identification by bluetooth.
In the present embodiment, after obtaining the file identification of file destination and the Bluetooth identification of target terminal, Bluetooth identification according to target terminal sends the Bluetooth connection request carrying the file identification of file destination to target terminal, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of terminal, and connected to file destination corresponding to terminal transmission file identification by bluetooth.
S303, receiving target terminal connect the file destination sent by bluetooth.
In the present embodiment, according to the Bluetooth identification of target terminal to after target terminal sends Bluetooth connection request, target terminal will be received and connected the file destination sent by bluetooth.
In the document transmission method that Fig. 3 describes, when needing to obtain the file shared opposite end, only need scan the Quick Response Code comprising the Bluetooth identification of file identification and opposite end of opposite end display, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Fig. 4, Fig. 4 is the flow chart of another document transmission method that the embodiment of the present invention provides.Wherein, this document transmission method is applicable to the terminal such as mobile phone, panel computer.Wherein, the document transmission method shown in Fig. 4 describes from the terminal point of receiving target file.As shown in Figure 4, this document transmission method can comprise the following steps.
The Quick Response Code of S401, the display of scanning target terminal, obtains the file identification of file destination and the Bluetooth identification of target terminal.
In the present embodiment, when terminal needs to obtain file destination by bluetooth from target terminal, first scan the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of target terminal of target terminal display, obtain the file identification of file destination and the Bluetooth identification of target terminal.
S402, judge whether local terminal bluetooth is in closed condition, if local terminal bluetooth is in closed condition, then start local terminal bluetooth.
In the present embodiment, after terminal obtains the file identification of file destination and the Bluetooth identification of target terminal by the Quick Response Code of scanning target terminal display, judge whether terminal Bluetooth is in closed condition, when terminal Bluetooth is in closed condition, start terminal Bluetooth, when terminal Bluetooth is in running order, perform step S403.
As a kind of possible execution mode, after judging that local terminal bluetooth is in closed condition, judge whether present end cell electricity is greater than first and presets electricity, if present end cell electricity is greater than first preset electricity, then starts local terminal bluetooth.
In the present embodiment, need owing to using Bluetooth transmission file destination to consume terminal battery electricity quantity, therefore, when judging that terminal Bluetooth is in closed condition, first can judge whether terminal current battery charge is greater than first and presets electricity, when terminal current battery charge be greater than first preset electricity time, show the transmission of the enough support target files of terminal current battery charge or terminal battery electricity quantity can not be made to exhaust after transferring file destination, therefore, terminal Bluetooth is started.
As a kind of possible execution mode, when obtaining the Bluetooth identification of the file identification of file destination and target terminal, also obtain capacity shared by file destination, after judging whether local terminal bluetooth is in closed condition, judge whether capacity shared by file destination is greater than preset capacity; If capacity is greater than preset capacity shared by file destination, then judge whether present end cell electricity is greater than second and presets electricity; If present end cell electricity is greater than second preset electricity, then start local terminal bluetooth.
In the present embodiment, shared by file destination, capacity is different, needed for transmission objectives file, terminal battery electricity quantity is not identical yet, therefore, when judging that bluetooth is in closed condition, judge whether capacity shared by file destination is greater than preset capacity, when shared by file destination, capacity is greater than preset capacity, show that needed for transmission objectives file, terminal battery electricity quantity is more, therefore, judge whether terminal current battery charge is greater than second and presets electricity, when terminal current battery charge is greater than the second default electricity, show the transmission of the enough support target files of terminal current battery charge or terminal battery electricity quantity can not be made to exhaust after transferring file destination, therefore, start terminal Bluetooth.
S403, send Bluetooth connection request according to the Bluetooth identification of target terminal to target terminal, Bluetooth connection request carries file identification, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of local terminal, and connected to file destination corresponding to local terminal transmission file identification by bluetooth.
In the present embodiment, after obtaining the file identification of file destination and the Bluetooth identification of target terminal, Bluetooth identification according to target terminal sends the Bluetooth connection request carrying the file identification of file destination to target terminal, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of terminal, and connected to file destination corresponding to terminal transmission file identification by bluetooth.
S404, receiving target terminal connect the file destination sent by bluetooth.
In the present embodiment, according to the Bluetooth identification of target terminal to after target terminal sends Bluetooth connection request, target terminal will be received and connected the file destination sent by bluetooth.
S405, judge whether to receive file destination, if receive file destination, then close local terminal bluetooth.
In the present embodiment, after judging to receive file destination, terminal can be closed a terminal bluetooth; Also first can judge, except setting up except bluetooth is connected with target terminal, whether to set up bluetooth with other terminal and be connected, when connecting with other terminal, terminal Bluetooth can not be closed; When not connecting with other terminal, bluetooth can be closed, to reduce power consumption.Wherein, Quick Response Code can also comprise capacity shared by file destination, terminal is when obtaining the Bluetooth identification of the file identification of file destination and target terminal, capacity shared by file destination can also be obtained, whether terminal can equal capacity shared by file destination according to capacity shared by the file destination received judges whether to receive file destination, when shared by the file destination received, capacity equals capacity shared by file destination, show to receive file destination, when shared by the file destination received, capacity is less than capacity shared by file destination, show not receive file destination.
In the document transmission method that Fig. 4 describes, when needing to obtain the file shared opposite end, only need scan the Quick Response Code comprising the Bluetooth identification of file identification and opposite end of opposite end display, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Fig. 5, Fig. 5 is the structure chart of a kind of terminal that the embodiment of the present invention provides.Wherein, this terminal can for being provided with the mobile phone, panel computer etc. of Bluetooth function.Wherein, the terminal shown in Fig. 5 describes from the terminal point sending file destination.As shown in Figure 5, this terminal 500 can comprise:
Detecting unit 501, for detecting the share for Bluetooth instruction that user inputs for file destination;
Generation unit 502, for responding the share for Bluetooth instruction that detecting unit 501 detects, generates the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of this terminal;
Receiving element 503, for the Bluetooth connection request that receiving target terminal sends, Bluetooth connection request carries the file identification of the Quick Response Code acquisition that target terminal scanning generation unit 502 generates;
Set up unit 504, for responding the Bluetooth connection request that receiving element 503 receives, setting up and being connected with the bluetooth of target terminal;
Transmitting element 505, the bluetooth for setting up by setting up unit 504 connects to file destination corresponding to target terminal transmission file identification.
In the present embodiment, when user needs the target terminal file destination in this terminal being shared with other users use, user can input share for Bluetooth instruction for file destination by the operation mode such as this terminal screen, this terminal push, and detecting unit 501 will detect the share for Bluetooth instruction that user inputs for file destination afterwards.
In the present embodiment, when detecting unit 501 detects share for Bluetooth instruction, generation unit 502 will respond share for Bluetooth instruction, generate the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of this terminal.
In the present embodiment, Quick Response Code can directly be presented on this terminal display screen after generating the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of this terminal by generation unit 502, so that target terminal scanning; Also can be first stored in this terminal by Quick Response Code, wait target terminal to need to show during scanning Quick Response Code, the present embodiment is not construed as limiting again.When the use user of target terminal needs to obtain file destination from this terminal, this user is by the Quick Response Code of this terminal demonstration of Action Target terminal scanning, obtain the file identification of file destination and the Bluetooth identification of this terminal, and sending Bluetooth connection request by the Bluetooth identification of this terminal to this terminal, receiving element 503 will receive the Bluetooth connection request of target terminal transmission afterwards.Wherein, Bluetooth connection request carries the file identification of file destination.Wherein, Quick Response Code can also comprise capacity shared by file destination, and target terminal, while the acquisition file identification of file destination and the Bluetooth identification of this terminal, can also obtain capacity shared by file destination.
In the present embodiment, after receiving element 503 receives the Bluetooth connection request of target terminal transmission, set up unit 504 and will respond Bluetooth connection request, the bluetooth set up between this terminal with target terminal is connected.
In the present embodiment, set up unit 504 and set up after this terminal is connected with the bluetooth of target terminal, the file destination that transmitting element 505 can connect the file identification that carried by Bluetooth connection request corresponding by bluetooth is sent to target terminal.
In the terminal described by Fig. 5, after the share for Bluetooth instruction that user inputs for file being detected, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Fig. 6, Fig. 6 is the structure chart of the another kind of terminal that the embodiment of the present invention provides.Wherein, this terminal can for being provided with the mobile phone, panel computer etc. of Bluetooth function.Wherein, the terminal shown in Fig. 6 describes from the terminal point sending file destination.As shown in Figure 6, this terminal 600 can comprise:
Detecting unit 601, for detecting the share for Bluetooth instruction that user inputs for file destination;
Generation unit 602, for responding the share for Bluetooth instruction that detecting unit 601 detects, generates the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of this terminal;
Receiving element 603, for the Bluetooth connection request that receiving target terminal sends, Bluetooth connection request carries the file identification of the Quick Response Code acquisition that target terminal scanning generation unit 602 generates;
First sets up unit 604, for responding the Bluetooth connection request that receiving element 603 receives, setting up and being connected with the bluetooth of target terminal;
Transmitting element 605, the bluetooth for setting up unit 604 foundation by first connects to file destination corresponding to target terminal transmission file identification.
In the present embodiment, when user needs the target terminal file destination in this terminal being shared with other users use, user can input share for Bluetooth instruction for file destination by the operation mode such as this terminal screen, this terminal push, and detecting unit 601 will detect the share for Bluetooth instruction that user inputs for file destination afterwards.
In the present embodiment, when detecting unit 601 detects share for Bluetooth instruction, generation unit 602 will respond share for Bluetooth instruction, generate the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of this terminal.
In the present embodiment, Quick Response Code can directly be presented on this terminal display screen after generating the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of this terminal by generation unit 602, so that target terminal scanning; Also can be first stored in this terminal by Quick Response Code, wait target terminal to need to show during scanning Quick Response Code, the present embodiment is not construed as limiting again.When the use user of target terminal needs to obtain file destination from this terminal, this user is by the Quick Response Code of this terminal demonstration of Action Target terminal scanning, obtain the file identification of file destination and the Bluetooth identification of this terminal, and sending Bluetooth connection request by the Bluetooth identification of this terminal to this terminal, receiving element 603 will receive the Bluetooth connection request of target terminal transmission afterwards.Wherein, Bluetooth connection request carries the file identification of file destination.Wherein, Quick Response Code can also comprise capacity shared by file destination, and target terminal, while the acquisition file identification of file destination and the Bluetooth identification of this terminal, can also obtain capacity shared by file destination.
In the present embodiment, after receiving element 603 receives the Bluetooth connection request of target terminal transmission, first sets up unit 604 will respond Bluetooth connection request, and the bluetooth set up between this terminal with target terminal is connected.
In the present embodiment, first sets up unit 604 sets up after this terminal is connected with the bluetooth of target terminal, and the file destination that transmitting element 605 can connect the file identification that carried by Bluetooth connection request corresponding by bluetooth is sent to target terminal.
As a kind of possible execution mode, this terminal 600 can also comprise:
First record cell 606, generates the rise time of Quick Response Code for record generation unit 602;
Second record cell 607, receives the time of reception of the Bluetooth connection request that target terminal sends for recording receiving element 603;
First sets up unit 604 can comprise:
First judging unit 6041, for responding the Bluetooth connection request that receiving element 603 receives, judges whether the time difference between the rise time that the first record cell 606 records and the time of reception that the second record cell 607 records is less than preset value;
Second sets up unit 6042, for when the judged result of the first judging unit 6041 is for being, sets up and being connected with the bluetooth of target terminal.
In the present embodiment, after receiving element 603 receives the Bluetooth connection request of target terminal transmission, first judging unit 6051 judges whether the time difference between the rise time that the first record cell 606 records and the time of reception that the second record cell 607 records is less than preset value, time difference between the rise time that the first record cell 606 records and the time of reception that the second record cell 607 records, when being less than preset value, second sets up unit 6052 was connected foundation with the bluetooth of target terminal; Time difference between the rise time that the first record cell 606 records and the time of reception that the second record cell 607 records is not less than preset value, showing that the stand-by period is longer, being connected not setting up with the bluetooth of target terminal, terminate this file transfer.
As a kind of possible execution mode, this terminal 600 can also comprise:
Second judging unit 608, for judging whether this terminal Bluetooth is in closed condition;
Start unit 609, for when the judged result of the second judging unit 608 is for being, starts this terminal Bluetooth.
Particularly, detecting unit 601 triggers the second judging unit 608 and judges whether this terminal Bluetooth is in closed condition after the share for Bluetooth instruction that user inputs for file destination being detected.
In the present embodiment, after detecting unit 601 detects the share for Bluetooth instruction that user inputs for file destination, second judging unit 608 judges whether this terminal Bluetooth is in closed condition, and when the judged result of the second judging unit 608 is for being, start unit 609 starts this terminal Bluetooth.
As a kind of possible execution mode, this terminal 600 can also comprise:
3rd judging unit, for when the judged result of the second judging unit 608 is for being, judging whether this terminal battery electricity quantity is greater than first and presets electricity, when the judged result of the 3rd judging unit is for being, triggering the step of this terminal Bluetooth of startup described in start unit execution.
In the present embodiment, need owing to using Bluetooth transmission file destination to consume terminal battery electricity quantity, therefore, when the second judging unit 608 judges that this terminal Bluetooth is in closed condition, 3rd judging unit will judge whether this terminal current battery charge is greater than first and presets electricity, when this terminal current battery charge is greater than the first default electricity, show the transmission of the enough support target files of this terminal current battery charge or this terminal battery electricity quantity can not be made to exhaust after transferring file destination, therefore, start unit 609 starts this terminal Bluetooth.
As a kind of possible execution mode, this terminal 600 can also comprise:
Acquiring unit, for when the judged result of the second judging unit is for being, obtains capacity shared by file destination;
4th judging unit, for judging shared by the file destination that acquiring unit obtains, whether capacity is greater than preset capacity;
5th judging unit, for when the judged result of the 4th judging unit is for being, judging whether this terminal battery electricity quantity is greater than second and presets electricity, when the judged result of the 5th judging unit is for being, triggering the step of this terminal Bluetooth of startup described in start unit execution.
In the present embodiment, shared by file destination, capacity is different, needed for transmission objectives file, terminal battery electricity quantity is not identical yet, therefore, when the second judging unit 608 judges that this terminal Bluetooth is in closed condition, acquiring unit will obtain capacity shared by file destination, 4th judging unit will judge whether capacity shared by file destination is greater than preset capacity afterwards, when shared by file destination, capacity is greater than preset capacity, show that needed for transmission objectives file, terminal battery electricity quantity is more, therefore, 5th judging unit will judge whether this terminal current battery charge is greater than second and presets electricity, when this terminal current battery charge is greater than the second default electricity, show the transmission of the enough support target files of this terminal current battery charge or this terminal battery electricity quantity can not be made to exhaust after transferring file destination, therefore, start unit 609 starts this terminal Bluetooth.
In the terminal described by Fig. 6, after the share for Bluetooth instruction that user inputs for file being detected, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Fig. 7, Fig. 7 is the structure chart of another terminal that the embodiment of the present invention provides.Wherein, this terminal can for being provided with the mobile phone, panel computer etc. of Bluetooth function.Wherein, the terminal shown in Fig. 7 describes from the terminal point sending file destination.As shown in Figure 7, this terminal 700 can comprise: at least one processor 701, as CPU, and memory 702, input unit 703, output device 704 and at least one communication bus 705.Memory 702 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Alternatively, memory 702 can also be that at least one is positioned at the storage device away from aforementioned processor 701.Wherein:
Communication bus 705, for realizing the connection communication between these assemblies;
Input unit 703, for detecting the share for Bluetooth instruction that user inputs for file destination;
Store batch processing code in memory 702, processor 701 performs following operation for calling the program code stored in memory 702:
The instruction of response share for Bluetooth, generates the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of this terminal;
Input unit 703, also for the Bluetooth connection request that receiving target terminal sends, Bluetooth connection request carries the file identification that target terminal scanning Quick Response Code obtains;
Processor 701 also performs following operation for calling the program code stored in memory 702:
Response Bluetooth connection request, sets up and is connected with the bluetooth of target terminal;
Output device 704, sends file destination corresponding to file identification for being connected by bluetooth to target terminal.
As a kind of possible execution mode, processor 701 also performs following operation for calling the program code stored in memory 702:
Record generates the rise time of Quick Response Code;
Record receives the time of reception of the Bluetooth connection request that target terminal sends;
Processor 701 responds Bluetooth connection request, sets up the mode be connected with the bluetooth of target terminal and is specially:
Response Bluetooth connection request, judges whether the time difference between rise time and time of reception is less than preset value;
If the time difference between rise time and time of reception is less than preset value, then sets up and be connected with the bluetooth of target terminal.
As a kind of possible execution mode, after processor 701 detects the share for Bluetooth instruction that user inputs for file destination, and before the Bluetooth connection request of processor 701 receiving target terminal transmission, processor 701 also performs following operation for calling the program code stored in memory 702:
Judge whether this terminal Bluetooth is in closed condition;
If this terminal Bluetooth is in closed condition, then start this terminal Bluetooth.
As a kind of possible execution mode, after processor 701 judges that this terminal Bluetooth is in closed condition, and before processor 701 starts this terminal Bluetooth, processor 701 also performs following operation for calling the program code stored in memory 702:
Judge whether this terminal battery electricity quantity is greater than first and presets electricity;
If this terminal battery electricity quantity is greater than first preset electricity, then the step of this terminal Bluetooth of startup described in performing.
As a kind of possible execution mode, after processor 701 judges that this terminal Bluetooth is in closed condition, and before processor 701 starts this terminal Bluetooth, processor 701 also performs following operation for calling the program code stored in memory 702:
Obtain capacity shared by file destination;
Judge whether capacity shared by file destination is greater than preset capacity;
If capacity is greater than preset capacity shared by file destination, then judge whether this terminal battery electricity quantity is greater than second and presets electricity;
If this terminal battery electricity quantity is greater than second preset electricity, then the step of this terminal Bluetooth of startup described in performing.
In the terminal described by Fig. 7, after the share for Bluetooth instruction that user inputs for file being detected, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Fig. 8, Fig. 8 is the structure chart of another terminal that the embodiment of the present invention provides.Wherein, this terminal can for being provided with the mobile phone, panel computer etc. of Bluetooth function.Wherein, the terminal shown in Fig. 8 describes from the terminal point of receiving target file.As shown in Figure 8, this terminal 800 can comprise:
Scanning element 801, for scanning the Quick Response Code of target terminal display, obtains the file identification of file destination and the Bluetooth identification of target terminal;
Communication unit 802, Bluetooth connection request is sent to target terminal for scanning according to scanning element 801 Bluetooth identification obtained, Bluetooth connection request carries file identification, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of this terminal, and connect to file destination corresponding to this terminal transmission file identification by bluetooth;
Communication unit 802, also connects the file destination sent by bluetooth for receiving target terminal.
In the present embodiment, when this terminal needs to obtain file destination by bluetooth from target terminal, scanning element 801, by the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of target terminal of scanning target terminal display, obtains the file identification of file destination and the Bluetooth identification of target terminal.
In the present embodiment, after scanning element 801 scans the Quick Response Code acquisition file identification of file destination and the Bluetooth identification of target terminal, Bluetooth identification according to target terminal is sent the Bluetooth connection request carrying the file identification of file destination by communication unit 802 to target terminal, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of this terminal, and connected to file destination corresponding to this terminal transmission file identification by bluetooth.
In the present embodiment, communication unit 802 sends after Bluetooth connection request to target terminal according to the Bluetooth identification of target terminal, will receive target terminal and be connected the file destination sent by bluetooth.
In the terminal described by Fig. 8, when needing to obtain the file shared opposite end, only need scan the Quick Response Code comprising the Bluetooth identification of file identification and opposite end of opposite end display, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Fig. 9, Fig. 9 is the structure chart of another terminal that the embodiment of the present invention provides.Wherein, this terminal can for being provided with the mobile phone, panel computer etc. of Bluetooth function.Wherein, the terminal shown in Fig. 9 describes from the terminal point of receiving target file.As shown in Figure 9, this terminal 900 can comprise:
Scanning element 901, for scanning the Quick Response Code of target terminal display, obtains the file identification of file destination and the Bluetooth identification of target terminal;
Communication unit 902, Bluetooth connection request is sent to target terminal for scanning according to scanning element 901 Bluetooth identification obtained, Bluetooth connection request carries file identification, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of this terminal, and connect to file destination corresponding to this terminal transmission file identification by bluetooth;
Communication unit 902, also connects the file destination sent by bluetooth for receiving target terminal.
In the present embodiment, when this terminal needs to obtain file destination by bluetooth from target terminal, scanning element 901, by the Quick Response Code comprising the file identification of file destination and the Bluetooth identification of target terminal of scanning target terminal display, obtains the file identification of file destination and the Bluetooth identification of target terminal.
In the present embodiment, after scanning element 901 scans the Quick Response Code acquisition file identification of file destination and the Bluetooth identification of target terminal, Bluetooth identification according to target terminal is sent the Bluetooth connection request carrying the file identification of file destination by communication unit 902 to target terminal, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of this terminal, and connected to file destination corresponding to this terminal transmission file identification by bluetooth.
In the present embodiment, communication unit 902 sends after Bluetooth connection request to target terminal according to the Bluetooth identification of target terminal, will receive target terminal and be connected the file destination sent by bluetooth.
As a kind of possible execution mode, this terminal 900 can also comprise:
First judging unit 903, for judging whether this terminal Bluetooth is in closed condition;
Start unit 904, for when the judged result of the first judging unit 903 is for being, starts this terminal Bluetooth.
Particularly, scanning element 901 scans the Quick Response Code of target terminal display, after obtaining the file identification of file destination and the Bluetooth identification of target terminal, triggering first judging unit 903 is judged whether this terminal Bluetooth is in closed condition.
In the present embodiment, after scanning element 901 obtains the file identification of file destination and the Bluetooth identification of target terminal by the Quick Response Code of scanning target terminal display, first judging unit 903 will judge whether this terminal Bluetooth is in closed condition, when this terminal Bluetooth is in closed condition, start unit 904 is by this terminal Bluetooth of startup.
As a kind of possible execution mode, this terminal 900 can also comprise:
Second judging unit, for when the judged result of the first judging unit is for being, judging whether this terminal battery electricity quantity is greater than first and presets electricity, when the judged result of the second judging unit is for being, triggering the step of this terminal Bluetooth of startup described in start unit execution.
In the present embodiment, need owing to using Bluetooth transmission file destination to consume terminal battery electricity quantity, therefore, when the first judging unit 903 judges that this terminal Bluetooth is in closed condition, second judging unit will judge whether this terminal current battery charge is greater than first and presets electricity, when this terminal current battery charge is greater than the first default electricity, show the transmission of the enough support target files of this terminal current battery charge or this terminal battery electricity quantity can not be made to exhaust after transferring file destination, therefore, start unit 904 is by this terminal Bluetooth of startup.
As a kind of possible execution mode, when obtaining the Bluetooth identification of the file identification of file destination and target terminal, also obtain capacity shared by file destination;
This terminal 900 can also comprise:
3rd judging unit, for when the judged result of the first judging unit is for being, judges whether capacity shared by file destination is greater than preset capacity;
4th judging unit, for when the judged result of the 3rd judging unit is for being, judging whether this terminal battery electricity quantity is greater than second and presets electricity, when the judged result of the 4th judging unit is for being, triggering the step of this terminal Bluetooth of startup described in start unit execution.
In the present embodiment, shared by file destination, capacity is different, needed for transmission objectives file, terminal battery electricity quantity is not identical yet, therefore, when the first judging unit 903 judges that bluetooth is in closed condition, 3rd judging unit will judge whether capacity shared by file destination is greater than preset capacity, when shared by file destination, capacity is greater than preset capacity, show that needed for transmission objectives file, terminal battery electricity quantity is more, therefore, 4th judging unit will judge whether this terminal current battery charge is greater than second and presets electricity, when this terminal current battery charge is greater than the second default electricity, show the transmission of the enough support target files of this terminal current battery charge or this terminal battery electricity quantity can not be made to exhaust after transferring file destination, therefore, start this terminal Bluetooth.
As a kind of possible execution mode, this terminal 900 can also comprise:
5th judging unit 905, receives file destination for judging whether;
Closing unit 906, for when the judged result of the 5th judging unit 905 is for being, closes this terminal Bluetooth.
Particularly, when communication unit 902 receiving target terminal connects by bluetooth the file destination sent, trigger the 5th judging unit 905 and judge whether to receive file destination.
In the present embodiment, after the 5th judging unit 905 judges to receive file destination, closing unit is by this terminal Bluetooth of closedown; Also first can judge, except setting up except bluetooth is connected with target terminal, whether to set up bluetooth with other terminal and be connected, when connecting with other terminal, this terminal Bluetooth can not be closed; When not connecting with other terminal, bluetooth can be closed, to reduce power consumption.Wherein, Quick Response Code can also comprise capacity shared by file destination, when scanning element 901 scans the Bluetooth identification of file identification and the target terminal obtaining file destination, capacity shared by file destination can also be obtained, whether the 5th judging unit 905 can equal capacity shared by file destination according to capacity shared by the file destination received judges whether to receive file destination, when shared by the file destination received, capacity equals capacity shared by file destination, show to receive file destination, when shared by the file destination received, capacity is less than capacity shared by file destination, show not receive file destination.
In the terminal described by Fig. 9, when needing to obtain the file shared opposite end, only need scan the Quick Response Code comprising the Bluetooth identification of file identification and opposite end of opposite end display, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
Refer to Figure 10, Figure 10 is the structure chart of another terminal that the embodiment of the present invention provides.Wherein, this terminal can for being provided with the mobile phone, panel computer etc. of Bluetooth function.Wherein, the terminal shown in Figure 10 describes from the terminal point of receiving target file.As shown in Figure 10, this terminal 1000 can comprise: at least one processor 1001, as CPU, and memory 1002, input unit 1003, output device 1004 and at least one communication bus 1005.Memory 1002 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as at least one magnetic disc store.Alternatively, memory 1002 can also be that at least one is positioned at the storage device away from aforementioned processor 1001.Wherein:
Communication bus 1005, for realizing the connection communication between these assemblies;
Store batch processing code in memory 1002, processor 1001 performs following operation for calling the program code stored in memory 1002:
The Quick Response Code of scanning target terminal display, obtains the file identification of file destination and the Bluetooth identification of target terminal;
Output device 1004, for sending Bluetooth connection request according to Bluetooth identification to target terminal, Bluetooth connection request carries file identification, with trigger target terminal response Bluetooth connection request, set up and be connected with the bluetooth of this terminal, and connect to file destination corresponding to this terminal transmission file identification by bluetooth;
Input unit 1003, connects the file destination sent by bluetooth for receiving target terminal.
As a kind of possible execution mode, processor 1001 scans the Quick Response Code of target terminal display, after obtaining the file identification of file destination and the Bluetooth identification of target terminal, and output device 1004 sends before Bluetooth connection request to target terminal according to Bluetooth identification, processor 1001 also performs following operation for calling the program code stored in memory 1002:
Judge whether this terminal Bluetooth is in closed condition;
If this terminal Bluetooth is in closed condition, then start this terminal Bluetooth.
As a kind of possible execution mode, after processor 1001 judges that this terminal Bluetooth is in closed condition, and before processor 1001 starts this terminal Bluetooth, processor 1001 also performs following operation for calling the program code stored in memory 1002:
Judge whether this terminal battery electricity quantity is greater than first and presets electricity;
If this terminal battery electricity quantity is greater than first preset electricity, then the step of this terminal Bluetooth of startup described in performing.
As a kind of possible execution mode, when processor 1001 obtains the Bluetooth identification of the file identification of file destination and target terminal, processor 1001 also obtains capacity shared by file destination;
After processor 1001 judges that this terminal Bluetooth is in closed condition, and before processor 1001 starts this terminal Bluetooth, processor 1001 also performs following operation for calling the program code stored in memory 1002:
Judge whether capacity shared by file destination is greater than preset capacity;
If capacity is greater than preset capacity shared by file destination, then judge whether this terminal battery electricity quantity is greater than second and presets electricity;
If this terminal battery electricity quantity is greater than second preset electricity, then the step of this terminal Bluetooth of startup described in performing.
As a kind of possible execution mode, processor 1001 also performs following operation for calling the program code stored in memory 1002:
Judge whether to receive file destination;
If receive file destination, then close this terminal Bluetooth.
In the terminal described by Figure 10, when needing to obtain the file shared opposite end, only need scan the Quick Response Code comprising the Bluetooth identification of file identification and opposite end of opposite end display, do not need user to carry out multi-pass operation and can complete bluetooth connection and file-sharing voluntarily, therefore, user operation step can be reduced, thus can file transmission efficiency be improved.
The sequence of steps of the method for the embodiment of the present invention can carry out adjusting, merge or deleting according to actual needs.The unit of the terminal of the embodiment of the present invention can carry out integrating according to actual needs, Further Division or delete.
The unit of the embodiment of the present invention, with universal integrated circuit (as central processor CPU), or can realize with application-specific integrated circuit (ASIC) (ASIC).
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
The document transmission method provided the embodiment of the present invention above and associated terminal are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a document transmission method, is characterized in that, comprising:
The Quick Response Code of scanning target terminal display, obtains the file identification of file destination and the Bluetooth identification of described target terminal;
Bluetooth connection request is sent to described target terminal according to described Bluetooth identification, described Bluetooth connection request carries described file identification, described Bluetooth connection request is responded to trigger described target terminal, set up and be connected with the bluetooth of local terminal, and send described file destination corresponding to described file identification by described bluetooth connection to local terminal;
Receive described target terminal and connected the described file destination sent by described bluetooth.
2. method according to claim 1, it is characterized in that, the Quick Response Code of described scanning target terminal display, after obtaining the file identification of file destination and the Bluetooth identification of described target terminal, and before sending Bluetooth connection request according to described Bluetooth identification to described target terminal, described method also comprises:
Judge whether local terminal bluetooth is in closed condition;
If local terminal bluetooth is in closed condition, then start local terminal bluetooth.
3. method according to claim 2, is characterized in that, after judging that local terminal bluetooth is in closed condition, and before starting local terminal bluetooth, described method also comprises:
Judge whether present end cell electricity is greater than first and presets electricity;
If present end cell electricity is greater than first preset electricity, then the step of the startup local terminal bluetooth described in performing.
4. method according to claim 2, is characterized in that, when obtaining the Bluetooth identification of the file identification of file destination and described target terminal, also obtains capacity shared by described file destination;
After judging that local terminal bluetooth is in closed condition, and before starting local terminal bluetooth, described method also comprises:
Judge shared by described file destination, whether capacity is greater than preset capacity;
If capacity is greater than preset capacity shared by described file destination, then judge whether present end cell electricity is greater than second and presets electricity;
If present end cell electricity is greater than second preset electricity, then the step of the startup local terminal bluetooth described in performing.
5. the method according to claim 3 or 4, is characterized in that, described method also comprises:
Judge whether to receive described file destination;
If receive described file destination, then close local terminal bluetooth.
6. a terminal, is characterized in that, comprising:
Scanning element, for scanning the Quick Response Code of target terminal display, obtains the file identification of file destination and the Bluetooth identification of described target terminal;
Communication unit, Bluetooth identification for obtaining according to described scanning element scanning sends Bluetooth connection request to described target terminal, described Bluetooth connection request carries described file identification, described Bluetooth connection request is responded to trigger described target terminal, set up and be connected with the bluetooth of described terminal, and send described file destination corresponding to described file identification by described bluetooth connection to described terminal;
Described communication unit, also connects for receiving described target terminal the described file destination sent by described bluetooth.
7. terminal according to claim 6, is characterized in that, described terminal also comprises:
First judging unit, for judging whether described terminal Bluetooth is in closed condition;
Start unit, for when the judged result of described first judging unit is for being, starts described terminal Bluetooth.
8. terminal according to claim 7, is characterized in that, described terminal also comprises:
Second judging unit, for when the judged result of described first judging unit is for being, judging whether described terminal battery electricity quantity is greater than first and presets electricity, when the judged result of described second judging unit is for being, triggering the step of the described terminal Bluetooth of startup described in the execution of described start unit.
9. terminal according to claim 7, is characterized in that, when obtaining the Bluetooth identification of the file identification of file destination and described target terminal, also obtains capacity shared by described file destination;
Described terminal also comprises:
3rd judging unit, for when the judged result of described first judging unit is for being, judges shared by described file destination, whether capacity is greater than preset capacity;
4th judging unit, for when the judged result of described 3rd judging unit is for being, judging whether described terminal battery electricity quantity is greater than second and presets electricity, when the judged result of described 4th judging unit is for being, triggering the step of the described terminal Bluetooth of startup described in the execution of described start unit.
10. terminal according to claim 8 or claim 9, it is characterized in that, described terminal also comprises:
5th judging unit, receives described file destination for judging whether;
Closing unit, for when the judged result of described 5th judging unit is for being, closes described terminal Bluetooth.
CN201510243012.1A 2015-05-13 2015-05-13 A kind of document transmission method and terminal Active CN104980194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510243012.1A CN104980194B (en) 2015-05-13 2015-05-13 A kind of document transmission method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510243012.1A CN104980194B (en) 2015-05-13 2015-05-13 A kind of document transmission method and terminal

Publications (2)

Publication Number Publication Date
CN104980194A true CN104980194A (en) 2015-10-14
CN104980194B CN104980194B (en) 2018-04-27

Family

ID=54276344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510243012.1A Active CN104980194B (en) 2015-05-13 2015-05-13 A kind of document transmission method and terminal

Country Status (1)

Country Link
CN (1) CN104980194B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978606A (en) * 2016-07-22 2016-09-28 青岛海信电器股份有限公司 Remote communication method for Bluetooth device, Bluetooth device and client
CN106604204A (en) * 2016-11-03 2017-04-26 惠州Tcl移动通信有限公司 Remote Bluetooth terminal application control method and system
CN108990029A (en) * 2018-05-29 2018-12-11 阿里巴巴集团控股有限公司 A kind of the scanning start and stop method and wireless device of wireless device
CN109089216A (en) * 2018-10-25 2018-12-25 连尚(新昌)网络科技有限公司 A kind of document transmission method and equipment based on Bluetooth transmission
CN109656508A (en) * 2019-01-29 2019-04-19 上海乐愚智能科技有限公司 A kind of projecting apparatus system and projecting method
CN110213748A (en) * 2019-04-23 2019-09-06 北京云迹科技有限公司 Data transmission method, device, terminal and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102412875A (en) * 2011-12-26 2012-04-11 中兴通讯股份有限公司 File sending and receiving method and device as well as file transmission method and system
CN102789463A (en) * 2011-05-16 2012-11-21 洛阳磊石软件科技有限公司 Data sharing method between electronic devices and electronic devices
CN103889037A (en) * 2014-03-25 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Terminal and method for controlling communication connection of terminal and auxiliary equipment thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102789463A (en) * 2011-05-16 2012-11-21 洛阳磊石软件科技有限公司 Data sharing method between electronic devices and electronic devices
CN102412875A (en) * 2011-12-26 2012-04-11 中兴通讯股份有限公司 File sending and receiving method and device as well as file transmission method and system
CN103889037A (en) * 2014-03-25 2014-06-25 宇龙计算机通信科技(深圳)有限公司 Terminal and method for controlling communication connection of terminal and auxiliary equipment thereof

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978606A (en) * 2016-07-22 2016-09-28 青岛海信电器股份有限公司 Remote communication method for Bluetooth device, Bluetooth device and client
CN106604204A (en) * 2016-11-03 2017-04-26 惠州Tcl移动通信有限公司 Remote Bluetooth terminal application control method and system
CN106604204B (en) * 2016-11-03 2020-08-21 惠州Tcl移动通信有限公司 Method and system for remotely controlling terminal application through Bluetooth
CN108990029A (en) * 2018-05-29 2018-12-11 阿里巴巴集团控股有限公司 A kind of the scanning start and stop method and wireless device of wireless device
CN108990029B (en) * 2018-05-29 2020-08-04 阿里巴巴集团控股有限公司 Scanning start-stop method of wireless equipment and wireless equipment
US11246086B2 (en) 2018-05-29 2022-02-08 Advanced New Technologies Co., Ltd. Method for initiating and terminating a scan of a wireless device, and wireless device
CN109089216A (en) * 2018-10-25 2018-12-25 连尚(新昌)网络科技有限公司 A kind of document transmission method and equipment based on Bluetooth transmission
CN109089216B (en) * 2018-10-25 2021-09-24 连尚(新昌)网络科技有限公司 File transmission method and equipment based on Bluetooth transmission
CN109656508A (en) * 2019-01-29 2019-04-19 上海乐愚智能科技有限公司 A kind of projecting apparatus system and projecting method
CN110213748A (en) * 2019-04-23 2019-09-06 北京云迹科技有限公司 Data transmission method, device, terminal and system

Also Published As

Publication number Publication date
CN104980194B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN104980194A (en) File transmission method and terminal
US10424954B2 (en) Power adaptor, terminal and charging system
CN104577231B (en) A kind of method that realizing quick charge, adapter, terminal and system
CN104505552B (en) A kind of charging method and charging device
CN105896657A (en) Method of charging mobile terminal and mobile terminal
CN110267314B (en) Method and device for switching network slices
CN109217411B (en) Charging method and device and electronic equipment
US9066292B2 (en) System and method for polling a network service
CN104392500A (en) Checking-in method
US9312948B2 (en) Method and apparatus for enabling wireless dockees to find and dock with a wireless docking host being used by another dockee
CN105045637A (en) Application start method and terminal
CN102378136B (en) Short message processing method and device
CN109450009B (en) Charging control method and device and computer storage medium
CN104346838A (en) Terminal and system
CN111008090B (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN110636598B (en) Terminal power saving control method and device, mobile terminal and storage medium
CN107484236A (en) Wi-Fi hotspot scan control method, mobile terminal and storage medium
CN104980195A (en) File transmission method and terminal
CN113364105A (en) Control method and device compatible with charging of various batteries, terminal and storage medium
CN105282327A (en) Control method, electronic device and external device
CN108112052B (en) Terminal network sharing method and device, air conditioner and storage medium
CN113131543A (en) Charging control method, device, equipment and readable storage medium
CN108337741B (en) Method, apparatus and computer-readable storage medium for establishing communication connection
CN114655057A (en) Intelligent charging method and system for new energy charging pile
CN113613310B (en) WIFI connection method and device, storage medium and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210428

Address after: DESAY No. 9789 building, 518057 Guangdong city of Shenzhen province Nanshan District Guangdong streets Shennan Road sign layer 17 layer (natural layer 15) No. 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518040, 21 floor, Times Technology Building, 7028 Shennan Road, Futian District, Guangdong, Shenzhen

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right