CN103078900B - A kind of document transmission method of terminal room and document transmission system - Google Patents

A kind of document transmission method of terminal room and document transmission system Download PDF

Info

Publication number
CN103078900B
CN103078900B CN201210558968.7A CN201210558968A CN103078900B CN 103078900 B CN103078900 B CN 103078900B CN 201210558968 A CN201210558968 A CN 201210558968A CN 103078900 B CN103078900 B CN 103078900B
Authority
CN
China
Prior art keywords
described
target terminal
file destination
file
end
Prior art date
Application number
CN201210558968.7A
Other languages
Chinese (zh)
Other versions
CN103078900A (en
Inventor
李政
程亮
李皓骅
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to CN201210558968.7A priority Critical patent/CN103078900B/en
Publication of CN103078900A publication Critical patent/CN103078900A/en
Application granted granted Critical
Publication of CN103078900B publication Critical patent/CN103078900B/en

Links

Abstract

The invention provides a kind of document transmission method and document transmission system of terminal room, simplify document transmission process, improve the efficiency of file transfer.Wherein, a kind of document transmission method of terminal room comprises: determine that the file that will transmit is as file destination; Further, search meet current setting other-end as target terminal entrance; Mobile described file destination is to target terminal entrance; Described file destination is transferred to described target terminal entrance.Document transmission method provided by the invention is simple to operate, simplifies file transfer step, saves the time required for file transfer thus improves the efficiency of file transfer.

Description

A kind of document transmission method of terminal room and document transmission system

Technical field

The present invention relates to file transfer field, particularly relate to a kind of document transmission method and document transmission system of terminal room.

Background technology

On the internet, user can realize the transmission of file and data by the mode such as instant messaging, mail.Such as: by QQ transmitting file, transmitting file folder and picture; The file of any form is transmitted by mailbox; The file transfer between colony is realized by group.If but user needs the file on mobile phone to send to other users, be then generally all by data wire, file is first downloaded on computer, by the mode such as such as above-mentioned instant messaging, mail on computer, file and data be transferred to other users.

Along with the rise of mobile Internet, between user and user, the file transfer between terminal and terminal also becomes more and more general, but the scheme taked is all the transplanting under the Internet model mostly.That is, by the instant messaging on mobile terminal, the modes such as mail are transmitted.But due to the disposal ability of mobile terminal, display capabilities, the restriction of bandwidth, causes file transfer not convenient; And the operation starting point of most of file transfer is contact person, by the operation of contact person and based on this could the transmission operating function of trigger file, need complicated step could realize the transmission of file, the transmission effect of complex operation, file be low.

Summary of the invention

The invention provides a kind of document transmission method and document transmission system of terminal room, simplify document transmission process, improve the efficiency of file transfer.

In order to solve the problem, the invention discloses a kind of document transmission method of terminal room, comprising:

Determine that the file that will transmit is as file destination; Further,

Search meet current setting other-end as target terminal entrance;

Mobile described file destination is to target terminal entrance;

Described file destination is transferred to described target terminal entrance.

Alternatively, also comprise:

Send a notification message to server, all end messages sent a notification message of described server record, and issue meeting pre-conditioned other-end information;

The described other-end meeting current setting of searching comprises as target terminal entrance:

Search from the other-end information that described server issues meet current setting terminal as target terminal entrance;

Describedly described file destination is transferred to described target terminal entrance and comprises:

Described file destination is uploaded to described server.3, method according to claim 2, is characterized in that, described in meet pre-conditioned other-end information and be: distance is less than the other-end information of preset value.

Alternatively, also comprise:

Send broadcast packet to local area network (LAN), and the response packet that the other-end received in described local area network (LAN) returns after receiving described broadcast packet;

The described other-end meeting current setting of searching comprises as target terminal entrance:

Search from the other-end that the response packet received is corresponding meet current setting terminal as target terminal entrance;

Describedly described file destination is transferred to described target terminal entrance and comprises:

Described file destination is sent to described target terminal entrance by point-to-point transmission agreement or file transfer protocol (FTP).

Alternatively, also comprise:

Send bluetooth notification message to the terminal connecting bluetooth;

The described other-end meeting current setting of searching comprises as target terminal entrance:

From receive bluetooth notification message and feedback other-end search meet current setting terminal as target terminal entrance;

Describedly described file destination is transferred to described target terminal entrance and comprises:

Described file destination is sent to described target terminal entrance by Bluetooth transmission protocol.

Alternatively, described in meet current setting other-end be: the other-end contacted recently, and/or, for meeting the other-end of current display number.

Alternatively, the described file destination of described movement comprises to target terminal entrance:

The position of described file destination is detected by touch panel sensor, when detecting that the position of described file destination judges when being moved that described file destination is moved, continue the change in location track detecting described file destination, when the position of described file destination meets the condition falling into target terminal entrance, described file destination is moved to described target terminal entrance;

Or, detect the angle formed between acceleration of gravity and the along slope coordinate axle of accelerometer, judge that when described angle meets presetting angle described file destination is moved, continue the track of position with Angulation changes of the described file destination of detection, when the position of described file destination meets the condition falling into target terminal entrance, described file destination is moved to described target terminal entrance.

Alternatively, the described file determining to transmit, as before file destination, also comprises:

Detect and whether enter file transfer pattern, after entering file transfer pattern, perform the step determining file destination.

The invention also discloses a kind of document transmission system of terminal room, comprising:

File determination module, for determining that the file that will transmit is as file destination;

Terminal deciding module to be passed, for search meet current setting other-end as target terminal entrance;

Target determination module, for mobile described file destination to target terminal entrance;

Object transmission module, for transferring to described target terminal entrance by described file destination.

Alternatively, also comprise:

Announcement server module, for sending a notification message to server, all end messages sent a notification message of described server record, and issue meeting pre-conditioned other-end information;

Described terminal deciding module to be passed, for search in the other-end information that issues from described server meet current setting terminal as target terminal entrance;

Described object transmission module, for being uploaded to described server by described file destination.

Alternatively, also comprise:

Notice LAN module, for sending broadcast packet to local area network (LAN), and the response packet that the other-end received in described local area network (LAN) returns after receiving described broadcast packet;

Described terminal deciding module to be passed, for search from other-end corresponding to the response packet received meet current setting terminal as target terminal entrance;

Described object transmission module, for being sent to described target terminal entrance by described file destination by point-to-point transmission agreement or file transfer protocol (FTP).

Alternatively, also comprise:

Notice bluetooth module, for sending bluetooth notification message to the terminal connecting bluetooth;

Described terminal deciding module to be passed, for from receive bluetooth notification message and feedback other-end in search meet current setting terminal as target terminal entrance;

Described object transmission module, for being sent to described target terminal entrance by described file destination by Bluetooth transmission protocol.

Alternatively, described target determination module comprises:

Transducer determination submodule, for being detected the position of described file destination by touch panel sensor, when detecting that the position of described file destination judges when being moved that described file destination is moved, continue the change in location track detecting described file destination, when the position of described file destination meets the condition falling into target terminal entrance, by described file destination to target terminal entrance;

And/or,

Gravity determination submodule, for detecting the angle formed between the along slope coordinate axle of acceleration of gravity and accelerometer, judge that when described angle meets presetting angle described file destination is moved, continue the track of position with Angulation changes of the described file destination of detection, when the position of described file destination meets the condition falling into target terminal entrance, by described file destination to target terminal entrance.

Alternatively, also comprise:

Detection module, for determining that the file that will transmit is as before file destination, detects whether enter file transfer pattern, and after entering file transfer pattern, described target determination module performs the step determining file destination.

Compared with background technology, the present invention includes following technique effect:

The embodiment of the present invention determines that the file that will transmit is as file destination, and operation starting point is file instead of contact person, does not need to carry out file transfer to the basis that is operating as of contact person, simple and quick.And the embodiment of the present invention can find meet current setting other-end as target terminal entrance, the terminal of file transfer is terminal, directly file destination can be transferred to target terminal entrance.The document transmission method of the embodiment of the present invention is simple to operate, simplifies file transfer step, saves the time required for file transfer thus improves the efficiency of file transfer.

And the embodiment of the present invention, for supporting that the different terminals of different agreement adopts different files, expands the scope of target terminal entrance, improves the efficiency of file transfer.

Accompanying drawing explanation

Fig. 1 is the flow chart of the document transmission method of a kind of terminal room of the embodiment of the present invention;

Fig. 2 is the schematic diagram of embodiment of the present invention file transfer;

Fig. 3 is the flow chart of the document transmission method of a kind of terminal room of another embodiment of the present invention;

Fig. 4 is the flow chart of the document transmission method of a kind of terminal room of another embodiment of the present invention;

Fig. 5 is the flow chart of the document transmission method of a kind of terminal room of another embodiment of the present invention;

Fig. 6 is the flow chart of the document transmission method of a kind of terminal room of another preferred embodiment of the present invention;

Fig. 7 is the structured flowchart of the document transmission system of a kind of terminal room of the embodiment of the present invention;

Fig. 8 is the structured flowchart of the document transmission system of a kind of terminal room of another embodiment of the present invention.

Embodiment

For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.

With reference to Fig. 1, show the flow chart of the document transmission method of a kind of terminal room of the embodiment of the present invention, the present embodiment specifically can comprise the following steps:

Step 100, determines that the file that will transmit is as file destination;

The embodiment of the present invention can utilize file selector to determine needs the file of transmission as file destination.Particularly, page dialog selected by the file opening system, and from the file listed by page dialog, select the file needing transmission, selected file is just as file destination.

It should be noted that, a file can be selected in the present embodiment as file destination, and multiple file also can be selected as file destination, and the present embodiment is not restricted this.

Step 102, search meet current setting other-end as target terminal entrance;

The other-end meeting current setting described in the present embodiment is: the other-end contacted in the time period recently, and/or, for meeting the other-end of current display number.

It should be noted that, "and/or" represents following three kinds of situations, and the first situation is, the other-end meeting current setting is the other-end contacted in the nearest time period; The second situation is, the other-end meeting current setting is the other-end meeting current display number; The third situation is, the other-end meeting current setting is: the other-end contacted in the time period recently and the other-end meeting current display number.

When specific implementation, the above-mentioned other-end meeting current setting can be shown in the surrounding of described file destination.

It should be noted that, above-mentioned steps 100 and step 102 are only in order to distinguish two steps, not sequencing, can first perform step 100 and perform step 102 again, also can first perform step 102 and perform step 100 again, even can perform step 100 and step 102, the embodiment of the present invention is not restricted this simultaneously.

Step 104, mobile described file destination is to target terminal entrance;

Specifically can detect described file destination by touch panel sensor or gravitational accelerometer whether to be moved, in time detecting that described file destination is moved, using the above-mentioned terminal shifted to as target terminal entrance, that is file destination will transfer to described target terminal entrance.

In the present embodiment, target terminal entrance specifically can comprise one or more target terminal entrance, and the number of the present embodiment to target terminal entrance does not limit.

Step 106, transfers to described target terminal entrance by described file destination.

The agreement supported due to different terminals is different, can adopt following different transmission means for different terminals.

1) file transfer protocol (FTP) can be adopted to carry out file transfer between the terminal equipment meeting file transfer protocol (FTP) (FileTransferProtocol, FTP);

2) utilize the mode of transit server to transmit, namely first file destination is uploaded onto the server;

3) utilize the mode of point-to-point direct transmission, but this mode is only applicable to the terminal under same LAN environment; 4) utilize the mode of bluetooth directly to transmit, be applicable to support bluetooth and the terminal of having opened bluetooth.

It should be noted that, when specific implementation, above-mentioned different transmission means can be adopted to carry out file transfer for different terminals, one or more can choosing aforesaid way carry out file transfer, also other modes can be adopted to carry out file transfer, and the embodiment of the present invention does not limit this.

The embodiment of the present invention determines that the file that will transmit is as file destination, and operation starting point is file instead of contact person, does not need to carry out file transfer to the basis that is operating as of contact person, simple and quick.Be operating as basis with contact person, referred to before carrying out file transfer, need first to select contact person, then carry out file transfer; The embodiment of the present invention based on file, can find meet current setting other-end as target terminal entrance, the terminal of file transfer is terminal, directly file destination can be transferred to target terminal entrance.The document transmission method of the embodiment of the present invention is simple to operate, simplifies file transfer step, saves the time required for file transfer thus improves the efficiency of file transfer.

Can with reference to example below and the present embodiment understood by the file transfer schematic diagram shown in composition graphs 2.

First user's login application program, the application programs such as such as instant messaging;

Then the file transfer pattern of application program is started, a file is selected to be presented at the central authorities at file transfer interface in the mode of icon as file destination, file destination 20 as shown in Figure 2, corresponding the present embodiment step 100 determines that the file that will transmit is as file destination;

Then file transfer pattern backstage is automatically searched target terminal entrance and is presented at the surrounding of file destination, multiple target terminal entrance icon 21-28 as shown in Figure 2, search in corresponding the present embodiment step 102 meet current setting other-end as target terminal entrance.

Then user by the icon moving of file destination on the file icon to be transmitted that will transmit, if file destination 20 finally shifts to target terminal entrance 25, file destination icon 20 can directly be dragged on target terminal entrance icon 25 by user, also gravity sensing can be utilized to be moved to by file destination icon 20 on target terminal entrance icon 25, corresponding the present embodiment step 104.Finally file destination 20 is transferred to target terminal entrance 25, corresponding the present embodiment step 106, described file destination is transferred to described target terminal entrance.

As can be seen from above-mentioned example, user only needs simple selection and move operation can complete the process of file transfer, simple and practical.

Above-described embodiment one describes several different file in the description of step 106, below embodiment of the method corresponding to Fig. 3, Fig. 4 and Fig. 5 describe in detail respectively and utilize the mode of transit server to carry out file transfer, utilize the mode of point-to-point direct transmission to carry out file transfer and utilize the mode of bluetooth to carry out the detailed process of file transfer.

Based on the content of above-described embodiment, the invention provides the embodiment of the method utilizing the mode of transit server to carry out file transfer, as follows.With reference to Fig. 3, show the flow chart of the document transmission method of a kind of terminal room of another embodiment of the present invention, the present embodiment specifically can comprise the following steps:

Step 300, detects whether enter file transfer pattern, after entering file transfer pattern, performs step 302;

In the present embodiment before carrying out file transfer, need first to enter file transfer pattern.

Step 302, after entering file transfer pattern, sends a notification message to server, all end messages sent a notification message of described server record, and issues meeting pre-conditioned other-end information;

Meeting pre-conditioned other-end information in the present embodiment is: distance is less than the other-end information of preset value.Server can pass through location Based service (LocationBasedService, LBS) positional information is detected, then distance is calculated, then range of a signal is less than the other-end information of preset value, here preset value can be 10 meters, and namely range of a signal is less than the information of the other-end of 10 meters.Certainly, preset value also can be set to other distance values, and the present embodiment is not restricted this.

Step 304, determines that the file that will transmit is as file destination;

The embodiment of the present invention can utilize the file selector of system to determine the file that will transmit as file destination.Particularly, page dialog selected by the file above opening system, and from the file listed by page dialog, select the file needing transmission, selected file is just as file destination.

It should be noted that, a file can be selected in the present embodiment as file destination, and multiple file also can be selected as file destination, and the present embodiment is not restricted this.

Step 306, search from the other-end information that described server issues meet current setting terminal as target terminal entrance;

Can search in the other-end information that server issues from step 302 in the present embodiment meet current setting one or more terminals as target terminal entrance.Particularly, the other-end meeting current setting described in the present embodiment is: the other-end contacted recently, and/or, for meeting the other-end of display number.

It should be noted that, terminal is provided with a default display number, and the display number of such as, current setting shown in Fig. 2 is 8, and the quantity being meant to the current maximum target terminal entry that can show is 8.Those terminals exceeding current display number cannot show.

It should be noted that, "and/or" represents following three kinds of situations, and the first situation is, the other-end meeting current setting is the other-end contacted in the nearest time period; The second situation is, the other-end meeting current setting is the other-end meeting current display number; The third situation is, the other-end meeting current setting is: the other-end contacted in the time period recently and the other-end meeting current display number.

When specific implementation, the above-mentioned other-end meeting current setting can be shown in the surrounding of described file destination.

It should be noted that, above-mentioned steps 304 and step 306 are only in order to distinguish two steps, not sequencing, can first perform step 304 and perform step 306 again, also can first perform step 306 and perform step 304 again, even can perform step 304 and step 306, the embodiment of the present invention is not restricted this simultaneously.

Step 308, mobile described file destination is to target terminal entrance; Specifically step 308 can be realized in the following manner in the present embodiment.

The position of described file destination is detected by touch panel sensor, when detecting that the position of described file destination judges when being moved that described file destination is moved, continue the change in location track detecting described file destination, when the position of described file destination meets the condition falling into target terminal entrance, described file destination is moved to described target terminal entrance; Or, detect the angle formed between acceleration of gravity and the along slope coordinate axle of accelerometer, judge that when described angle meets presetting angle described file destination is moved, continue the track of position with Angulation changes of the described file destination of detection, when the position of described file destination meets the condition falling into target terminal entrance, described file destination is moved to described target terminal entrance.It should be noted that, the position of file destination meets the condition falling into region, target terminal entry position, and to be specifically as follows the position of file destination identical with the position of target terminal entrance or close.In the present embodiment, target terminal entrance specifically can comprise one or more target terminal entrance, and the number of the present embodiment to target terminal entrance does not limit.

Step 310, is uploaded to described server by described file destination.

If meet same file host-host protocol (FileTransferProtocol, FTP), file transfer protocol (FTP) can be adopted to carry out file transfer;

If do not meet same file host-host protocol, or not at the same network segment, then the mode of transit server can be utilized to transmit, and namely first just file destination uploads onto the server.

Particularly, can be a sheet with 200 bytes by file, upload onto the server, then target terminal entrance just can start when first is uploaded onto the server to download, until downloaded all file sheets, be then combined into a file, completed file transfer.Certain target terminal entrance also can wait until that file destination is downloaded after all uploading onto the server again, and the embodiment of the present invention is not restricted this.

The document transmission method of the embodiment of the present invention is simple to operate, simplifies file transfer step, saves the time required for file transfer thus improves the efficiency of file transfer.

Based on the content of above-described embodiment, the invention provides the embodiment of the method utilizing the mode of point-to-point direct transmission to carry out file transfer, as follows.

With reference to Fig. 4, show the flow chart of the document transmission method of a kind of terminal room of another embodiment of the present invention, the present embodiment specifically can comprise the following steps:

Step 400, detects whether enter file transfer pattern, after entering file transfer pattern, performs step 402;

In the present embodiment before carrying out file transfer, need first to enter file transfer pattern.

Step 402, after entering file transfer pattern, sends broadcast packet to local area network (LAN), and the response packet that the other-end received in described local area network (LAN) returns after receiving described broadcast packet;

In the embodiment of the present invention after entering file transfer pattern, a broadcast packet can be sent to the local area network (LAN) at current place, after other-end receives this broadcast packet, can respective handling be carried out and return a response packet, so just establishing and connect and can communicate.

Step 404, determines that the file that will transmit is as file destination;

The embodiment of the present invention can utilize the file selector of system to determine that the middle file of transmission that needs is as file destination.Particularly, select page dialog at the upper file opening system, from the file listed by page dialog, select the file needing transmission, selected file is just as file destination.

It should be noted that, a file can be selected in the present embodiment as file destination, and multiple file also can be selected as file destination, and the present embodiment is not restricted this.

Step 406, search from the other-end that the response packet received is corresponding meet current setting terminal as target terminal entrance; One or more terminals of searching and meeting current setting can be returned in the other-end of response packet as target terminal entrance from step 402 in the present embodiment.Particularly, the other-end meeting current setting described in the present embodiment is: the other-end contacted in the time period recently, and/or, for meeting the other-end of current display number.

It should be noted that, "and/or" represents following three kinds of situations, and the first situation is, the other-end meeting current setting is the other-end contacted in the nearest time period; The second situation is, the other-end meeting current setting is the other-end meeting current display number; The third situation is, the other-end meeting current setting is: the other-end contacted in the time period recently and the other-end meeting current display number.

When specific implementation, the above-mentioned other-end meeting current setting can be shown in the surrounding of described file destination.

It should be noted that, above-mentioned steps 404 and step 406 are only in order to distinguish two steps, not sequencing, can first perform step 404 and perform step 406 again, also can first perform step 406 and perform step 404 again, even can perform step 404 and step 406, the embodiment of the present invention is not restricted this simultaneously.

Step 408, mobile described file destination is to target terminal entrance;

The specific implementation of step 408 can with reference to the associated description of embodiment two step 308, and therefore not to repeat here for the embodiment of the present invention.

It should be noted that, the position of file destination meets the condition falling into region, target terminal entry position, and to be specifically as follows the position of file destination identical with the position of target terminal entrance or close.In the present embodiment, target terminal entrance specifically can comprise one or more target terminal entrance, and the number of the present embodiment to target terminal entrance does not limit.

Step 410, is sent to described target terminal entrance by described file destination by point-to-point transmission agreement or file transfer protocol (FTP).

If meet same file host-host protocol (FileTransferProtocol, FTP), file transfer protocol (FTP) can be adopted to carry out file transfer;

If do not meet same file host-host protocol, or not at the same network segment, but when being in same local area network (LAN), by point-to-point transmission agreement, file destination can be sent to described target terminal entrance.

It should be noted that, file transfer pattern is entered in embodiment of the present invention step 400, file transfer pattern mentioned here can be a kind of pattern in instant messaging, before same target terminal enters file mode, can according to the identify label number (Identity of instant messaging even if start communication equally, ID) identify target terminal entrance, transmission and the reception of file destination can be that mark is carried out with the ID of instant messaging, so just can realize point-to-point transmission.

The document transmission method of the embodiment of the present invention is simple to operate, simplifies file transfer step, saves the time required for file transfer thus improves the efficiency of file transfer.

Based on the content of above-described embodiment, the invention provides the embodiment of the method utilizing the mode of bluetooth to carry out file transfer, as follows.

With reference to Fig. 5, show the flow chart of the document transmission method of a kind of terminal room of another embodiment of the present invention, the present embodiment specifically can comprise the following steps:

Step 500, detects whether enter file transfer pattern, after entering file transfer pattern, performs step 502;

In the present embodiment before carrying out file transfer, need first to enter file transfer pattern.

Step 502, after entering file transfer pattern, sends bluetooth notification message to the terminal connecting bluetooth;

In the embodiment of the present invention after entering file transfer pattern, bluetooth notification message can be sent to current terminal of having opened bluetooth, the terminal of having opened bluetooth can identify above-mentioned bluetooth notification message, thus can communicate with the terminal of opening bluetooth.

Step 504, determines that the file that will transmit is as file destination;

The embodiment of the present invention can utilize the file selector of system to determine the file that will transmit as file destination.Particularly, page dialog selected by the file above opening system, and from the file listed by page dialog, select the file needing transmission, selected file is just as file destination.

It should be noted that, a file can be selected in the present embodiment as file destination, and multiple file also can be selected as file destination, and the present embodiment is not restricted this.

Step 506, from receive bluetooth notification message and feedback other-end search meet current setting terminal as target terminal entrance;

Receive the message of other-end feedback in the present embodiment, and feed back to the other-end of message the terminal of searching and meeting current setting as target terminal entrance from these.Particularly, the other-end meeting current setting described in the present embodiment is: the other-end contacted in the time period recently, and/or, for meeting the other-end of current display number.

It should be noted that, "and/or" represents following three kinds of situations, and the first situation is, the other-end meeting current setting is the other-end contacted in the nearest time period; The second situation is, the other-end meeting current setting is the other-end meeting current display number; The third situation is, the other-end meeting current setting is: the other-end contacted in the time period recently and the other-end meeting current display number.

When specific implementation, the above-mentioned other-end meeting current setting can be shown in the surrounding of described file destination.

It should be noted that, above-mentioned steps 504 and step 506 are only in order to distinguish two steps, not sequencing, can first perform step 504 and perform step 506 again, also can first perform step 506 and perform step 504 again, even can perform step 504 and step 506, the embodiment of the present invention is not restricted this simultaneously.

Step 508, mobile described file destination is to target terminal entrance;

The specific implementation of step 508 can with reference to the associated description of embodiment two step 308, and therefore not to repeat here for the embodiment of the present invention.

It should be noted that, the position of file destination meets the condition falling into region, target terminal entry position, and to be specifically as follows the position of file destination identical with the position of target terminal entrance or close.In the present embodiment, target terminal entrance specifically can comprise one or more target terminal entrance, and the number of the present embodiment to target terminal entrance does not limit.

Step 510, is sent to described target terminal entrance by described file destination by Bluetooth transmission protocol.

The file destination determined in step 504 can be sent to by Bluetooth transmission protocol the target terminal entrance determined in step 508 in the embodiment of the present invention.

The document transmission method of the embodiment of the present invention is simple to operate, simplifies file transfer step, saves the time required for file transfer thus improves the efficiency of file transfer.

It should be noted that, although embodiment two, embodiment three and embodiment four describe three kinds of different files respectively, but when practical application, the agreement can supported for different terminals selects suitable file to carry out file transfer, as shown in Figure 6:

Step 601, detects whether enter file transfer pattern, after entering file transfer pattern, performs step 602, step 603 and step 604;

Step 602, after entering file transfer pattern, sends a notification message to server, all end messages sent a notification message of described server record, and issues meeting pre-conditioned other-end information;

Step 603, sends broadcast packet to local area network (LAN), and the response packet that the other-end received in described local area network (LAN) returns after receiving described broadcast packet;

Step 604, sends bluetooth notification message to the terminal connecting bluetooth;

It should be noted that step 602, step 603 and step 604 are coordinations, after entering file transfer pattern, perform step 602, step 603 and step 604 simultaneously.That is, after entering file transfer pattern, send simultaneously entered file transfer pattern notification message to server, transmission broadcast packet is to local area network (LAN) and transmission has entered the bluetooth notification message of file transfer pattern to the terminal having connected bluetooth, these three steps are not conflicted, and are the modes for supporting the different transmission message that the terminal of different agreement is taked.

Step 605, determines that the file that will transmit is as file destination, then performs step 606, step 607 and step 608;

Step 606, search from the other-end information that described server issues meet current setting terminal as target terminal entrance;

Step 607, search from the other-end that the response packet received is corresponding meet current setting terminal as target terminal entrance;

Step 608, from receive bluetooth notification message and feedback other-end search meet current setting terminal as target terminal entrance;

It should be noted that step 606, step 607 and step 608 are coordinations, determine that the file that will transmit is as after file destination, perform step 606, step 607 and step 608 simultaneously.

Step 609, mobile described file destination is to target terminal entrance;

Step 610, is uploaded to described server by described file destination.

Step 611, is sent to described target terminal entrance by described file destination by point-to-point transmission agreement or file transfer protocol (FTP).Step 612, is sent to described target terminal entrance by described file destination by Bluetooth transmission protocol.

It should be noted that step 610, step 611 and step 612 are coordinations, the target terminal entrance finally shifted to by described file destination, after target terminal entrance, performs step 610, step 611 and step 612 simultaneously.

Based on foregoing, present invention also offers corresponding system embodiment, as follows.

With reference to Fig. 7, show the structured flowchart of the document transmission system of a kind of terminal room of the embodiment of the present invention, the present embodiment specifically can comprise file determination module 10, terminal deciding module to be passed 12, target determination module 14 and object transmission module 16, wherein,

File determination module 10, for determining that the file that will transmit is as file destination;

Embodiment of the present invention file determination module 10 can utilize the file selector of system to determine the file that will transmit as file destination.Particularly, page dialog selected by the file that file determination module 10 opens system, and from the file listed by page dialog, select the file needing transmission, selected file is just as file destination.

It should be noted that, the present embodiment file determination module 10 can select a file as file destination, and multiple file also can be selected as file destination, and the present embodiment is not restricted this.

Terminal deciding module 12 to be passed, for search meet current setting other-end as target terminal entrance;

The other-end meeting current setting described in the present embodiment is: the other-end contacted in the time period recently, and/or, for meeting the other-end of current display number.

It should be noted that, "and/or" represents following three kinds of situations, and the first situation is, the other-end meeting current setting is the other-end contacted in the nearest time period; The second situation is, the other-end meeting current setting is the other-end meeting current display number; The third situation is, the other-end meeting current setting is: the other-end contacted in the time period recently and the other-end meeting current display number.

When specific implementation, the above-mentioned other-end meeting current setting can be shown in the surrounding of described file destination by terminal deciding module 12 to be passed.

Target determination module 14, for mobile described file destination to target terminal entrance;

In the present embodiment, whether target determination module 14 can detect described file destination by touch panel sensor or gravitational accelerometer and be moved, in time detecting that described file destination is moved, using the above-mentioned terminal entry shifted to as target terminal entrance, that is file destination will transfer to described target terminal entrance.

In the present embodiment, target terminal entrance specifically can comprise one or more target terminal entrance, and the number of the present embodiment to target terminal entrance does not limit.

Object transmission module 16, for transferring to described target terminal entrance by described file destination.

The agreement supported due to different terminals is different, and object transmission module 16 can adopt different transmission meanss for different terminals.The associated description of embodiment of the method specifically shown in Figure 1, therefore not to repeat here for the present embodiment.

Embodiment of the present invention file determination module 10 determines that the file that will transmit is as file destination, and operation starting point is file instead of contact person, does not need to carry out file transfer to the basis that is operating as of contact person, simple and quick.And terminal deciding module 12 to be passed can find meet current setting other-end as target terminal entrance, thus the terminal that file destination is finally shifted to by object transmission module 16 is as target terminal entrance, the terminal of file transfer is terminal, directly file destination can be transferred to target terminal entrance.The document transmission system structure of the embodiment of the present invention is simple, simplifies file transfer step, saves the time required for file transfer thus improves the efficiency of file transfer.

For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of Fig. 1 embodiment of the method.

With reference to Fig. 8, show the structured flowchart of the document transmission system of a kind of terminal room of another embodiment of the present invention, the present embodiment specifically can comprise detection module 20, announcement server module 21, notice LAN module 22, notice bluetooth module 23, file determination module 24, terminal deciding module to be passed 25, target determination module 26 and object transmission module 27, wherein

Detection module 20, for determining that the file that will transmit is as before file destination, detects whether enter file transfer pattern, and after entering file transfer pattern, described target determination module performs the step determining file destination.Announcement server module 21, for sending a notification message to server, all end messages sent a notification message of described server record, and issue meeting pre-conditioned other-end information;

Notice LAN module 22, for sending broadcast packet to local area network (LAN), and the response packet that the other-end received in described local area network (LAN) returns after receiving described broadcast packet; Notice bluetooth module 23, for sending bluetooth notification message to the terminal connecting bluetooth; File determination module 24, for determining that the file that will transmit is as file destination;

Embodiment of the present invention file determination module 24 can utilize the file selector of system to determine the file that will transmit as file destination.Particularly, page dialog selected by file file determination module 24 being opened system, and from the file listed by page dialog, select the file needing transmission, selected file is just as file destination.

It should be noted that, the present embodiment file determination module 24 can select a file as file destination, and multiple file also can be selected as file destination, and the present embodiment is not restricted this.

Terminal deciding module 25 to be passed, for search meet current setting other-end as target terminal entrance;

Particularly, described terminal deciding module to be passed, for search in the other-end information that issues from described server meet current setting terminal as target terminal entrance;

Described terminal deciding module to be passed, for search from other-end corresponding to the response packet received meet current setting terminal as target terminal entrance;

Described terminal deciding module to be passed, for from receive bluetooth notification message and feedback other-end in search meet current setting terminal as target terminal entrance;

The other-end meeting current setting described in the present embodiment is: the other-end contacted in the time period recently, and/or, for meeting the other-end of current display number.

When specific implementation, the above-mentioned other-end meeting current setting can be shown in the surrounding of described file destination by terminal deciding module 25 to be passed.

Target determination module 26, for mobile described file destination to target terminal entrance;

In the present embodiment, target determination module 26 specifically can comprise transducer determination submodule 261 and/or gravity determination submodule 262.I.e. following three kinds of situations, the first situation is: target determination module 26 can only include transducer determination submodule 261; The second situation is: target determination module 26 can only include gravity determination submodule 262; The third situation is: target determination module 26 comprises transducer determination submodule 261 and gravity determination submodule 262.Wherein,

Transducer determination submodule 261, for being detected the position of described file destination by touch panel sensor, when detecting that the position of described file destination judges when being moved that described file destination is moved, continue the change in location track detecting described file destination, when the position of described file destination meets the condition falling into target terminal entrance, by described file destination to target terminal entrance;

Gravity determination submodule 262, for detecting the angle formed between the along slope coordinate axle of acceleration of gravity and accelerometer, judge that when described angle meets presetting angle described file destination is moved, continue the track of position with Angulation changes of the described file destination of detection, when the position of described file destination meets the condition falling into target terminal entrance, by described file destination to target terminal entrance.

In the present embodiment, target terminal entrance specifically can comprise one or more target terminal entrance, and the number of the present embodiment to target terminal entrance does not limit.

Object transmission module 27, for transferring to described target terminal entrance by described file destination.

The agreement supported due to different terminals is different, and object transmission module 27 can adopt different transmission meanss for different terminals.Specific as follows:

Described object transmission module, for being uploaded to described server by described file destination.

Described object transmission module, for being sent to described target terminal entrance by described file destination by point-to-point transmission agreement or file transfer protocol (FTP).

Described object transmission module, for being sent to described target terminal entrance by described file destination by Bluetooth transmission protocol.

The document transmission system of the embodiment of the present invention is simple to operate, simplifies file transfer step, saves the time required for file transfer thus improves the efficiency of file transfer.And adopt different files for different terminals, improve the efficiency of file transfer.

For system embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of Fig. 6 embodiment of the method.

Based on foregoing, the embodiment of the present invention additionally provides a kind of computer readable recording medium storing program for performing recording the program of document transmission method for performing above-mentioned terminal room thereon.Described computer readable recording medium storing program for performing comprises for storing with computer-readable form or any mechanism of the information of transmission.Such as, machine readable media comprises read-only memory (ROM), random access memory (RAM), magnetic disk storage medium, optical storage media, flash medium, electricity, light, sound or other forms of transmitting signal (such as, carrier wave, infrared signal, digital signal etc.) etc.

In addition, the embodiment of the present invention additionally provides a kind of non-volatile readable storage medium, store one or more module (programs) in this storage medium, this one or more module specifically can refer to the description of module in each system embodiment of Fig. 7, Fig. 8.When this one or more module is used in the equipment with touch screen, this equipment can be made to perform the instruction (instructions) of following steps:

Determine that the file that will transmit is as file destination; Further,

Search meet current setting other-end as target terminal entrance;

Mobile described file destination is to target terminal entrance;

Described file destination is transferred to described target terminal entrance.

Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.

Those skilled in the art are easy to it is envisioned that: the combination in any application of each embodiment above-mentioned is all feasible, therefore the combination in any between each embodiment above-mentioned is all the embodiment of the application, but this specification does not just detail one by one at this as space is limited.

Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.

The application describes with reference to according to the flow chart of the method for the embodiment of the present application, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.

These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.

These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.

Although described the preferred embodiment of the application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.

Above to document transmission method and the document transmission system of a kind of terminal room provided by the present invention, be 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 for terminal room, is characterized in that, comprising:
Detect and whether enter file transfer pattern, after entering file transfer pattern, determine that the file that will transmit is as file destination; Further,
Search meet current setting other-end as target terminal entrance;
Mobile described file destination is to target terminal entrance;
The described file destination of described movement comprises to target terminal entrance: detect the angle formed between acceleration of gravity and the along slope coordinate axle of accelerometer, judge that when described angle meets presetting angle described file destination is moved, continue the track of position with Angulation changes of the described file destination of detection, when the position of described file destination meets the condition falling into target terminal entrance, described file destination is moved to described target terminal entrance;
Described file destination is transferred to described target terminal entrance.
2. method according to claim 1, is characterized in that, also comprises:
Send a notification message to server, all end messages sent a notification message of described server record, and issue meeting pre-conditioned other-end information;
The described other-end meeting current setting of searching comprises as target terminal entrance:
Search from the other-end information that described server issues meet current setting terminal as target terminal entrance;
Describedly described file destination is transferred to described target terminal entrance and comprises:
Described file destination is uploaded to described server.
3. method according to claim 2, is characterized in that, described in meet pre-conditioned other-end information and be: distance is less than the other-end information of preset value.
4. method according to claim 1, is characterized in that, also comprises:
Send broadcast packet to local area network (LAN), and the response packet that the other-end received in described local area network (LAN) returns after receiving described broadcast packet;
The described other-end meeting current setting of searching comprises as target terminal entrance:
Search from the other-end that the response packet received is corresponding meet current setting terminal as target terminal entrance;
Describedly described file destination is transferred to described target terminal entrance and comprises:
Described file destination is sent to described target terminal entrance by point-to-point transmission agreement or file transfer protocol (FTP).
5. method according to claim 1, is characterized in that, also comprises:
Send bluetooth notification message to the terminal connecting bluetooth;
The described other-end meeting current setting of searching comprises as target terminal entrance:
From receive bluetooth notification message and feedback other-end search meet current setting terminal as target terminal entrance;
Describedly described file destination is transferred to described target terminal entrance and comprises:
Described file destination is sent to described target terminal entrance by Bluetooth transmission protocol.
6., according to claim 2,4 or 5 arbitrary described methods, it is characterized in that, described in meet current setting other-end be: the other-end contacted recently, and/or, for meeting the other-end of current display number.
7. a document transmission system for terminal room, is characterized in that, comprising:
Detection module, for determining that the file that will transmit is as before file destination, detects whether enter file transfer pattern, and after entering file transfer pattern, target determination module performs the step determining file destination;
File determination module, for determining that the file that will transmit is as file destination;
Terminal deciding module to be passed, for search meet current setting other-end as target terminal entrance;
Target determination module, for mobile described file destination to target terminal entrance;
Described target determination module comprises: gravity determination submodule, for detecting the angle formed between the along slope coordinate axle of acceleration of gravity and accelerometer, judge that when described angle meets presetting angle described file destination is moved, continue the track of position with Angulation changes of the described file destination of detection, when the position of described file destination meets the condition falling into target terminal entrance, by described file destination to target terminal entrance;
Object transmission module, for transferring to described target terminal entrance by described file destination.
8. system according to claim 7, is characterized in that, also comprises:
Announcement server module, for sending a notification message to server, all end messages sent a notification message of described server record, and issue meeting pre-conditioned other-end information;
Described terminal deciding module to be passed, for search in the other-end information that issues from described server meet current setting terminal as target terminal entrance;
Described object transmission module, for being uploaded to described server by described file destination.
9. system according to claim 7, is characterized in that, also comprises:
Notice LAN module, for sending broadcast packet to local area network (LAN), and the response packet that the other-end received in described local area network (LAN) returns after receiving described broadcast packet;
Described terminal deciding module to be passed, for search from other-end corresponding to the response packet received meet current setting terminal as target terminal entrance;
Described object transmission module, for being sent to described target terminal entrance by described file destination by point-to-point transmission agreement or file transfer protocol (FTP).
10. system according to claim 7, is characterized in that, also comprises:
Notice bluetooth module, for sending bluetooth notification message to the terminal connecting bluetooth;
Described terminal deciding module to be passed, for from receive bluetooth notification message and feedback other-end in search meet current setting terminal as target terminal entrance;
Described object transmission module, for being sent to described target terminal entrance by described file destination by Bluetooth transmission protocol.
CN201210558968.7A 2012-12-20 2012-12-20 A kind of document transmission method of terminal room and document transmission system CN103078900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210558968.7A CN103078900B (en) 2012-12-20 2012-12-20 A kind of document transmission method of terminal room and document transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210558968.7A CN103078900B (en) 2012-12-20 2012-12-20 A kind of document transmission method of terminal room and document transmission system

Publications (2)

Publication Number Publication Date
CN103078900A CN103078900A (en) 2013-05-01
CN103078900B true CN103078900B (en) 2015-12-23

Family

ID=48155302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210558968.7A CN103078900B (en) 2012-12-20 2012-12-20 A kind of document transmission method of terminal room and document transmission system

Country Status (1)

Country Link
CN (1) CN103078900B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412001A (en) * 2016-07-26 2017-02-15 北京小米移动软件有限公司 Method and device for transmitting file

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450580A (en) * 2014-06-20 2016-03-30 展讯通信(上海)有限公司 Method and device for trigging transmission channel, and electronic terminal
KR20160147441A (en) * 2015-06-15 2016-12-23 엘지전자 주식회사 Mobile terminal and operating method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594172A (en) * 2008-05-27 2009-12-02 深圳蓝色飞舞科技有限公司 Bluetooth transmission method and Bluetooth transmission system
CN102523346A (en) * 2011-12-15 2012-06-27 优视科技有限公司 Cross-device file transmission method, device, transit server and device
CN102549574A (en) * 2009-10-02 2012-07-04 高通股份有限公司 User interface gestures and methods for providing file sharing functionality
CN102832975A (en) * 2012-08-14 2012-12-19 华为终端有限公司 Data transmission method, data transmission device and terminal with touch screen

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799716B (en) * 2009-12-30 2016-10-26 宇龙计算机通信科技(深圳)有限公司 The method of a kind of application foci switching and mobile terminal
TW201235928A (en) * 2011-02-22 2012-09-01 Acer Inc Handheld devices, electronic devices, and data transmission methods and computer program products thereof
US8904197B2 (en) * 2011-03-07 2014-12-02 Ricoh Co., Ltd. Power management based on combined user interface and sensor inputs
US8711118B2 (en) * 2012-02-15 2014-04-29 Immersion Corporation Interactivity model for shared feedback on mobile devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594172A (en) * 2008-05-27 2009-12-02 深圳蓝色飞舞科技有限公司 Bluetooth transmission method and Bluetooth transmission system
CN102549574A (en) * 2009-10-02 2012-07-04 高通股份有限公司 User interface gestures and methods for providing file sharing functionality
CN102523346A (en) * 2011-12-15 2012-06-27 优视科技有限公司 Cross-device file transmission method, device, transit server and device
CN102832975A (en) * 2012-08-14 2012-12-19 华为终端有限公司 Data transmission method, data transmission device and terminal with touch screen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412001A (en) * 2016-07-26 2017-02-15 北京小米移动软件有限公司 Method and device for transmitting file

Also Published As

Publication number Publication date
CN103078900A (en) 2013-05-01

Similar Documents

Publication Publication Date Title
JP4927941B2 (en) System and method for storing near field communication tags in an electronic telephone directory
US10085129B2 (en) Mobile device communication
EP2050260B1 (en) Method and system for data transfer from a hand held device
JP5001423B2 (en) Method, system, and mobile device for prioritizing a discovered device list
US20100093273A1 (en) Wireless transfer of data from a mobile device to a server
US20050117606A1 (en) System and method for synchronizing of information without data duplication
US20080288578A1 (en) Method, a Device, and a System for Enabling Data Synchronization Between Multiple Devices
US8756532B2 (en) Using a gesture to transfer an object across multiple multi-touch devices
ES2436859T3 (en) Subscriber unit for a cellular communication system
EP2945136A1 (en) Mobile terminal and method for controlling the mobile terminal
US9609679B2 (en) Wireless local area communication method and terminal supporting the same
ES2656986T3 (en) Systems and procedures for sharing data between multiple end user devices
US8291091B2 (en) Method and apparatus for sharing data in near field communication network
US9544819B2 (en) Electronic device and method for operating an electronic device
US10103784B2 (en) Creation and management of near field communications tags
JP2004112319A (en) Relay apparatus, information transmission apparatus, and information transmission method
US20130050259A1 (en) Apparatus and method for sharing data using augmented reality (ar)
CN102474910B (en) Method and apparatus for sharing function of external device through complex network
KR20140128039A (en) Method And Apparatus For Performing Communication Service
KR20080081997A (en) Ad-hoc connection between electronic devices
US20100304674A1 (en) System and method for connecting bluetooth devices
CA2805314C (en) System and method for transmitting application data between two communication devices
CN103765924A (en) Zero-click sharing of application context across devices
JP6141361B2 (en) Context-awareness proximity-based wireless communication connection establishment
WO2005025105A2 (en) Introduction system and method utilizing mobile communicators

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant