Movatterモバイル変換


[0]ホーム

URL:


CN106375958A - File transmission method and device - Google Patents

File transmission method and device
Download PDF

Info

Publication number
CN106375958A
CN106375958ACN201610849153.2ACN201610849153ACN106375958ACN 106375958 ACN106375958 ACN 106375958ACN 201610849153 ACN201610849153 ACN 201610849153ACN 106375958 ACN106375958 ACN 106375958A
Authority
CN
China
Prior art keywords
sent
terminal
file
information
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610849153.2A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co LtdfiledCriticalMeizu Technology Co Ltd
Priority to CN201610849153.2ApriorityCriticalpatent/CN106375958A/en
Publication of CN106375958ApublicationCriticalpatent/CN106375958A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a file transmission method and device. The file transmission method comprises the steps of receiving a sending instruction for sending a file by a first terminal, wherein the sending instruction carries a to-be-sent file and sending direction information of the to-be-sent file; and sending the to-be-sent file to a second terminal in the corresponding direction based on the sending direction information of the to-be-sent file. By adoption of the file transmission method provided by the invention, a user when sending a file can realize file transmission without carrying out complex operations, the operation is convenient and simple, and the user experience is enhanced.

Description

A kind of document transmission method and device
Technical field
The present invention relates to wireless communication technology field, more particularly, to a kind of document transmission method and device.
Background technology
With scientific and technological fast development, the popularization of smart mobile phone, user utilizes mobile terminal (as smart mobile phone) to pass through noLine or mobile network send audio, video data, instant message and file etc. more and more generally, to the literary composition in the first mobile terminalWhen part is transmitted, user can be to realize the transmission of file using modes such as bluetooths.
When being transmitted to file using bluetooth, user needs to open the indigo plant in the first mobile terminal such as user firstTooth, the first mobile terminal starts automatically to search the mark of the other mobile terminals having turned on bluetooth near this first mobile terminal,Then select file sends the corresponding mark of the second mobile terminal and sets up communication connection with this second mobile terminal, finally selectsNeeding the file of transmission, this document being given the second mobile terminal by Bluetooth transmission, additionally, building with the second mobile terminal firstDuring vertical communication connection, first terminal is needed to be matched with second terminal, that is, first terminal needs input at least one-bit digital, such asNumeral 1, is then sent to second terminal, and second terminal is equally also required to input and first terminal identical numeral, you can pairingSuccess, otherwise matches unsuccessfully.As can be seen here, when file being sent using bluetooth approach, the especially restrictive condition of use, i.e. two endsEnd is both needed to open bluetooth, needs afterwards to transmit file after matching operation, successful matching, so that file transmission behaviourMake process CIMS loaded down with trivial details.
Content of the invention
The embodiment of the present invention provides a kind of document transmission method and device, transmits operating process in order to simplified-file, improvesConsumer's Experience.
The embodiment of the present invention provides a kind of document transmission method, comprising:
First terminal receives the transmission instruction sending file, and described transmission carries file to be sent and to be sent in instructionThe sending direction information of file;
According to the sending direction information of described file to be sent, described file to be sent is sent in respective directionSecond terminal.
The embodiment of the present invention provides a kind of file transfer means, comprising:
Receiving unit, for receive send file transmission instruction, described send instruction in carry file to be sent andThe sending direction information of file to be sent;
Transmitting element, for the sending direction information according to described file to be sent, described file to be sent is sent toSecond terminal in respective direction.
The beneficial effect of the embodiment of the present invention:
Document transmission method provided in an embodiment of the present invention and device, the transmission file of first terminal receive user triggeringSend instruction, in described transmission instruction, carry the sending direction information of file to be sent and file to be sent, wherein to be sentThe sending direction information of file is the directional information of this first terminal or the operation trace direction of the mobile file to be sent of userThe moving direction information of information or this first terminal;This first terminal according to the sending direction information of described file to be sent,The second terminal that file to be sent is sent in respective direction, simplifies file transfer operation flow process, and improves useFamily is experienced.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from descriptionObtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations writeIn book, claims and accompanying drawing, specifically noted structure is realizing and to obtain.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, thisBright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 a is the sensing schematic diagram of first terminal in document transmission method provided in an embodiment of the present invention;
Fig. 1 b is the moving direction information of first terminal in document transmission method provided in an embodiment of the present invention;
Fig. 1 c is the operation rail of the mobile described file to be sent of user in document transmission method provided in an embodiment of the present inventionMark directional information;
Fig. 2 a is the implementation process diagram of document transmission method provided in an embodiment of the present invention;
Fig. 2 b is the operation rail determining the mobile file to be sent of user in document transmission method provided in an embodiment of the present inventionThe implementation process diagram of mark directional information;
Fig. 2 c is the enforcement of the first method determining second terminal in document transmission method provided in an embodiment of the present inventionSchematic flow sheet;
In the document transmission method that Fig. 2 d provides for inventive embodiments, the directional information of first terminal and second terminal is illustratedFigure;
Fig. 3 is the enforcement stream of the second method determining second terminal in document transmission method provided in an embodiment of the present inventionJourney schematic diagram;
Fig. 4 is the structural representation of file transfer means provided in an embodiment of the present invention.
Specific embodiment
Document transmission method provided in an embodiment of the present invention and device, simplify the operating process of file transmission, and improveConsumer's Experience.
It should be noted that first terminal can be as the mobile terminal devices such as mobile phone, panel computer, the embodiment of the present inventionThis is not defined.
Herein it is to be understood that in involved term:
The directional information of first terminal, it can be understood as first terminal (as mobile phone) direction from bottom to top, is such as schemedShown in 1a, it is also understood that the direction from the top to the bottom for first terminal or other direction, user can be as neededSelf-defining, when being embodied as, the embodiment of the present invention is not defined to this.
It can be understood as in the case of keeping flat first terminal, first terminal is by for the moving direction information of first terminalOne position moves to current location, and as shown in Figure 1 b, first terminal moves to, by primary importance, the direction letter that current location obtainsBreath is the moving direction information of first terminal.
The operation trace directional information of the mobile file to be sent of user, is detecting the first terminal storing file to be sentWhen being in touch screen flat condition upward, the direction of the mobile file to be sent of user can be confirmed as user and move literary composition to be sentThe operation trace directional information of part, with reference to shown in Fig. 1 c, the sensing of arrow in Fig. 1 c can be understood as user and moves literary composition to be sentThe operation trace directional information of part.
First terminal when determining second terminal, determined by second terminal in respective direction, refer specifically to second terminalDirectional information relative with the directional information of file to be sent, for example, the directional information of file to be sent is the finger of first terminalTo information, and the directional information of first terminal is due south, then the directional information of second terminal should be with the directional information of first terminalRelatively, that is, the directional information of second terminal is positive north, then, when first terminal determines second terminal, determine the finger in first terminalIt is second terminal to information Due South terminal relative with the directional information of first terminal (direct north) upwards.
Additionally, any number of elements in accompanying drawing is used to example and unrestricted, and any name is only used for distinguishing,And there is no any limitation.
Below in conjunction with Figure of description, the preferred embodiments of the present invention are illustrated it will be appreciated that described hereinPreferred embodiment is merely to illustrate and explains the present invention, is not intended to limit the present invention, and in the case of not conflicting, thisEmbodiment in bright and the feature in embodiment can be mutually combined.
Embodiment one,
As shown in Figure 2 a, be document transmission method provided in an embodiment of the present invention implementation process diagram, can includeFollowing steps:
S21, first terminal receive the transmission instruction sending file, and described transmission carries file to be sent and treat in instructionSend the sending direction information of file.
When being embodied as, the sending direction information of described file to be sent include described first terminal directional information orThe mobile operation trace directional information of described file to be sent of user or the moving direction information of described first terminal.
It is preferred that the directional information of first terminal can be by the client being arranged in first terminal according to the needs of userVoluntarily specify, then the directional information determined is reported first terminal, you can determine the directional information of first terminal, canWith the directional information with reference to shown in Fig. 1 a.
Preferably, when determining the moving direction information of first terminal, it is first determined this first terminal is in flat condition,Client detects that user, to the whipping of first terminal or moving operation, obtains this user couple by built-in acceleration transducerThe whipping of first terminal or moving direction, can obtain the moving direction information of this first terminal in conjunction with built-in compass, andThe moving direction information of this first terminal is sent to first terminal, specifically, user is to the whipping of first terminal or movementOperation may be referred to the change in location of the first terminal shown in Fig. 1 b.
It is preferred that when determining the operation trace directional information of the mobile described file to be sent of user, can be according to Fig. 2 bShown method is implemented:
S211, judge whether first terminal is in touch screen flat condition upward.
When being embodied as, execute document transmission method provided in an embodiment of the present invention when, client need to detect this firstWhether terminal is in touch screen flat condition upward, is in touch screen flat condition upward when this first terminal is detectedWhen, the operation trace directional information of the file to be sent of acquisition could be made more accurate, just can accurately navigate to second terminal;If client detects this first terminal and is not in touch screen flat condition upward, user is pointed out to adjust first terminalTo touch screen flat condition upward, then execute subsequent operation again.
S212, acquisition user move the direction of described file to be sent on the touchscreen.
S213, when first terminal is in touch screen flat condition upward, obtain user move on described touch screenDescribed file to be sent operation trace directional information.
Specifically, in conjunction with step s211 and s212, client determine first terminal be in touch screen upward keep flat shapeAfter state, you can obtain the direction that user moves file to be sent on the touchscreen, obtain user in conjunction with built-in compass and existThe operation trace directional information of mobile file to be sent on this first terminal touch screen, and this operation trace directional information is sentTo first terminal.
S22, the sending direction information according to file to be sent, described file to be sent is sent in respective directionSecond terminal.
When being embodied as, first terminal, can be according to shown in Fig. 2 c after the sending direction information obtaining file to be sentFlow process determine second terminal, and file to be sent is sent to the second terminal determined:
S221, acquisition are currently used in the WLAN of transmission data.
When being embodied as, first terminal, before sending file to be sent, determines and opens wireless network in advance, this firstTerminal, when determining the second terminal of file to be sent, need to obtain the WLAN being currently used in transmission data, and such as firstTerminal is connected to the entitled tplink-xiaoming of wireless routing device of WLAN in advance.
S222, the sending direction information according to file to be sent, file to be sent is sent in respective direction andAccess the second terminal in current wireless Local Area Network network.
When being embodied as, in conjunction with step s221, first terminal in the sending direction information determining file to be sent and obtainsTake the WLAN that current first terminal accesses, the WLAN being currently accessed first according to the first terminal obtainingInformation, determines all terminals accessing this WLAN, then the sending direction according to the file to be sent determinedInformation, determines that the terminal on this sending direction is second terminal.
It is preferred that determine all terminals accessing current wireless Local Area Network network in first terminal after, using literary composition to be sentWhen the sending direction information of part determines the terminal being located in this direction, such as first terminal determines the direction letter of file to be sentBreath is the directional information of first terminal, and the directional information of first terminal is the sensing shown in Fig. 2 d, first terminal in Fig. 2 dDirectional information is direct north, then, when determining second terminal in this direction, the sensing of this second terminal should with first eventuallyRelatively, i.e. the sensing of second terminal should be due south direction, and based on this, first terminal can be utilized this first terminal for the sensing at endDirectional information determine the second terminal in this sensing, then after determining second terminal, file to be sent is sent outGive second terminal.
Further, first terminal, after the sending direction information obtaining file to be sent, can also obtain this first endThe primary importance information at end, determines the second terminal in respective direction, and file to be sent is sent out according still further to the flow process described in Fig. 3Give the second terminal determined:
The second position information of the second terminal that s31, acquisition are located in respective direction.
When being embodied as, first terminal after determining the primary importance information of this first terminal, according to this first terminalThe sending direction information of the file to be sent receiving, the such as directional information of first terminal, can obtain this first terminal and point toThe second position information of all second terminals on direction message.
S32, the primary importance information according to acquisition and second position information, file to be sent is sent to and first terminalThe distance between nearest second terminal.
After first terminal obtains the second position information of all second terminals of primary importance information core of this first terminal,Determine apart from the closest second terminal of this first terminal, and file to be sent is sent to the second terminal determined.
It is preferred that first terminal, when determining the second terminal of file to be sent, can also be currently used in transmission in acquisitionAfter the WLAN of data, obtain the primary importance information of this first terminal, it is then determined that going out apart from this first terminalNear and access second terminal in current wireless Local Area Network network, after determining this second terminal, file to be sent is sentTo this second terminal.
Document transmission method provided in an embodiment of the present invention, first terminal receive send file transmission instruction after,According to the sending direction information of the file to be sent carrying in this transmission instruction, determine that second in direction information is wholeEnd, and file to be sent is sent to the second terminal determined, using document transmission method provided in an embodiment of the present invention, literary compositionPart transfer process is easy, and improves Consumer's Experience.
Embodiment two,
Based on same inventive concept, additionally provide a kind of file transfer means in the embodiment of the present invention, due to said apparatusThe principle of solve problem is similar to document transmission method, and the enforcement of therefore said apparatus may refer to the enforcement of method, repeats itPlace repeats no more.
As shown in figure 4, the structural representation for file transfer means provided in an embodiment of the present invention, comprising: receiving unit41 and transmitting element 42, wherein:
Receiving unit 41, for receiving the transmission instruction sending file, described transmission in instruction carries file to be sentSending direction information with file to be sent;
Transmitting element 42, for the sending direction information according to described file to be sent, described file to be sent is sentTo the second terminal in respective direction.
When being embodied as, described transmitting element, specifically include acquisition subelement and send subelement, wherein;
Obtain subelement, for obtaining the WLAN being currently used in transmission data;
Send subelement, for the sending direction information according to described file to be sent, described file to be sent is sentTo the second terminal in respective direction and in the described WLAN of access.
When being embodied as, described device, also include: first acquisition unit 43, wherein:
First acquisition unit 43, for obtaining the primary importance information of described first terminal;
Described transmitting element 42, is additionally operable to obtain the second position information of the second terminal being located in respective direction;According toDescribed primary importance information and described second position information, described file to be sent is sent to and described first terminal betweenClosest second terminal.
It is preferred that described sender includes the directional information of described first terminal to information or user's movement is described pendingSend the operation trace directional information of file or the moving direction information of described first terminal.
When being embodied as, described device, also include judging unit 44, second acquisition unit 45 and the 3rd acquiring unit 46,Wherein;
Described judging unit 44, for judging whether described first terminal is in touch screen flat condition upward;
Described second acquisition unit 45, for obtaining the side of user's mobile described file to be sent on described touch screenTo;
When described judging unit 44, described 3rd acquiring unit 46, for judging that first terminal is in touch screen upwardDuring flat condition, obtain user on described touch screen mobile described file to be sent operation trace directional information.
The file transfer means that embodiments herein is provided can be realized by computer program.Those skilled in the artIt should be appreciated that above-mentioned Module Division mode is only one of numerous Module Division modes, if being divided into other mouldsBlock or non-division module, as long as file transfer means have above-mentioned functions, all should be within the protection domain of the application.
Document transmission method provided in an embodiment of the present invention and device, the transmission file of first terminal receive user triggeringSend instruction, in described transmission instruction, carry the sending direction information of file to be sent and file to be sent, wherein to be sentThe sending direction information of file is the directional information of this first terminal or the operation trace direction of the mobile file to be sent of userThe moving direction information of information or this first terminal;This first terminal according to the sending direction information of described file to be sent,The second terminal that file to be sent is sent in respective direction, simplifies file transfer operation flow process, and improves useFamily is experienced.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer programProduct.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or the reality combining software and hardware aspectApply the form of example.And, the present invention can be using in one or more computers wherein including computer usable program codeThe upper computer program implemented of usable storage medium (including but not limited to disk memory, cd-rom, optical memory etc.) producesThe form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer programFigure and/or block diagram are describing.It should be understood that can be by each stream in computer program instructions flowchart and/or block diagramFlow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be providedThe processor instructing general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device is to produceA raw machine is so that produced for reality by the instruction of computer or the computing device of other programmable data processing deviceThe device of the function of specifying in present one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide computer or other programmable data processing device with spyDetermine in the computer-readable memory that mode works so that the instruction generation inclusion being stored in this computer-readable memory refers toMake the manufacture of device, this command device realize in one flow process of flow chart or multiple flow process and/or one square frame of block diagram orThe function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that countingOn calculation machine or other programmable devices, execution series of operation steps to be to produce computer implemented process, thus in computer orOn other programmable devices, the instruction of execution is provided for realizing in one flow process of flow chart or multiple flow process and/or block diagram oneThe step of the function of specifying in individual square frame or multiple square frame.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creationProperty concept, then can make other change and modification to these embodiments.So, claims are intended to be construed to including excellentSelect embodiment and fall into being had altered and changing of the scope of the invention.
Obviously, those skilled in the art can carry out the various changes and modification essence without deviating from the present invention to the present inventionGod and scope.So, if these modifications of the present invention and modification belong to the scope of the claims in the present invention and its equivalent technologiesWithin, then the present invention is also intended to comprise these changes and modification.

Claims (10)

CN201610849153.2A2016-09-232016-09-23File transmission method and devicePendingCN106375958A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610849153.2ACN106375958A (en)2016-09-232016-09-23File transmission method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610849153.2ACN106375958A (en)2016-09-232016-09-23File transmission method and device

Publications (1)

Publication NumberPublication Date
CN106375958Atrue CN106375958A (en)2017-02-01

Family

ID=57898112

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610849153.2APendingCN106375958A (en)2016-09-232016-09-23File transmission method and device

Country Status (1)

CountryLink
CN (1)CN106375958A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107436716A (en)*2017-07-142017-12-05珠海格力电器股份有限公司File transmission method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070146347A1 (en)*2005-04-222007-06-28Outland Research, LlcFlick-gesture interface for handheld computing devices
CN101945499A (en)*2010-09-062011-01-12深圳市同洲电子股份有限公司Method, terminal and system for transferring files
TW201122902A (en)*2009-12-182011-07-01Hon Hai Prec Ind Co LtdPortable electronic device with file transmitting function and method thereof
CN103457988A (en)*2012-05-172013-12-18Ncr公司Data transfer between devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070146347A1 (en)*2005-04-222007-06-28Outland Research, LlcFlick-gesture interface for handheld computing devices
TW201122902A (en)*2009-12-182011-07-01Hon Hai Prec Ind Co LtdPortable electronic device with file transmitting function and method thereof
CN101945499A (en)*2010-09-062011-01-12深圳市同洲电子股份有限公司Method, terminal and system for transferring files
CN103457988A (en)*2012-05-172013-12-18Ncr公司Data transfer between devices

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107436716A (en)*2017-07-142017-12-05珠海格力电器股份有限公司File transmission method and device and electronic equipment

Similar Documents

PublicationPublication DateTitle
CA2810223C (en)Creation and management of near field communications tags
KR101465906B1 (en)Methods and apparatuses for gesture based remote control
CA2815733C (en)Device, system, and method for logging near field communications tag interactions
KR102415870B1 (en)Apparatus and method for adaptively changing subject performing operation
KR101881925B1 (en)Method and apparatus for implementing multi-vision system using multiple portable terminals
EP2763387B1 (en)Method and system for sharing web page information
CN102215041B (en) Data sending smart tool and data receiving smart tool associated with touch screen
KR20150128303A (en)Method and apparatus for controlling displays
CN103167338A (en)System and method for input control of smart television based on mobile terminal
KR20140125671A (en)Controlling Method for input and Electronic Device supporting the same
CN108347720A (en)Communication connection method, device, terminal and storage medium
EP3721327B1 (en)Dynamic interaction adaptation of a digital inking device
CN104991493B (en)Data transmission method, apparatus and system
KR20150042318A (en)Operating Method For Nearby Function and Electronic Device supporting the same
CN118092697A (en) Active pen detection method
CN106325648B (en)The setting method and mobile terminal of icon
CN112787769A (en)Method, device, equipment and storage medium for determining NFI
CN102457328B (en) Combined wireless data transmission method and system
WO2022199434A1 (en)Method and apparatus for transmitting target between devices, and electronic device
CN105335434B (en)Log management method and device and electronic equipment
CN106375958A (en)File transmission method and device
CN103974451B (en) Mobile electronic device and connection establishment method between mobile electronic devices
WO2020017682A1 (en)Location information sharing method using qr code
EP3471424A1 (en)Display device and display system including same
CN103167432A (en)System and method for achieving near-field information sending based on bluetooth transmission protocol

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20170201

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp