CN109753212B - Document transmission method and device and mobile terminal - Google Patents

Document transmission method and device and mobile terminal Download PDF

Info

Publication number
CN109753212B
CN109753212B CN201810631375.6A CN201810631375A CN109753212B CN 109753212 B CN109753212 B CN 109753212B CN 201810631375 A CN201810631375 A CN 201810631375A CN 109753212 B CN109753212 B CN 109753212B
Authority
CN
China
Prior art keywords
mobile terminal
application
document
target
screen
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.)
Active
Application number
CN201810631375.6A
Other languages
Chinese (zh)
Other versions
CN109753212A (en
Inventor
李毅
鲁威
李雨萌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201810631375.6A priority Critical patent/CN109753212B/en
Priority to PCT/CN2019/086292 priority patent/WO2019214696A1/en
Priority to US16/981,274 priority patent/US11262856B2/en
Priority to SG11202011206UA priority patent/SG11202011206UA/en
Publication of CN109753212A publication Critical patent/CN109753212A/en
Priority to PCT/CN2019/087862 priority patent/WO2019242450A1/en
Application granted granted Critical
Publication of CN109753212B publication Critical patent/CN109753212B/en
Priority to US17/022,001 priority patent/US11029822B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a document transmission method, a document transmission device and a mobile terminal, wherein the transmission method is applied to the mobile terminal, when a user wants to share a document, a target document is determined in a current application through the mobile terminal, then the mobile terminal is moved to obtain a moving direction and a moving displacement of the mobile terminal when the mobile terminal moves, the current corresponding application of a mobile terminal screen is determined according to the moving direction, the moving displacement and initial positions of all applications, when a preset condition is met, the application corresponding to the mobile terminal screen is determined as the target application, the determined target document is transmitted to the target application, therefore, according to the document transmission method provided by the application, when the document needs to be transmitted, the user does not need to select the document for multiple times and jump among different applications, only the used mobile terminal needs to be moved, when the preset condition is met, the target application is determined, the document can be transmitted to the target application, so that the transmission process is simplified, the transmission efficiency is improved, and the use experience of a user is improved.

Description

Document transmission method and device and mobile terminal
Technical Field
The present application relates to the technical field of electronic devices, and in particular, to a document transmission method and apparatus, and a mobile terminal.
Background
When a user uses a mobile terminal, the user often meets the requirement of sending a document in a certain application to another application, for example, sending a Word document locally stored in the mobile terminal to a certain social media (WeChat, QQ, microblog).
In the prior art, a user selects a document to be transmitted through a mobile terminal, then, sharing is triggered in a display interface of the mobile terminal, the user jumps to a social media selection interface, and the mobile terminal jumps to a selected social media application according to the selection of the user, so that the document can be transmitted.
However, in the prior art, a document can be sent from one application to another application only by performing multiple selection operations, and the process is complex, difficult, and low in convenience, and user experience is affected.
Disclosure of Invention
In view of this, the present application provides a document transmission method, which does not require a user to perform multiple operations, simplifies the transmission process, improves the transmission efficiency, and improves the user experience.
In order to solve the technical problem, the following technical scheme is adopted in the application:
a first aspect of the present application provides a document transmission method, which is applied to a mobile terminal including a plurality of applications and a target document, and includes:
determining a target document to be transmitted;
acquiring the moving direction and the moving displacement of the mobile terminal when the mobile terminal moves;
determining the application corresponding to the screen of the mobile terminal according to the moving direction, the moving displacement and the initial position of each application; the initial position of each application is the original position of each application before the mobile terminal moves;
and when a preset condition is met, determining the application corresponding to the screen of the mobile terminal as a target application, and transmitting the target document to the target application.
Optionally, when a preset condition is met, determining the application corresponding to the screen of the mobile terminal as a target application specifically includes:
determining the current position of the mobile terminal according to the moving direction and the moving displacement;
obtaining the position distance between the mobile terminal and the target application according to the current position of the mobile terminal and the position of the target application, and judging whether the position distance is smaller than a preset distance;
and if so, determining the application corresponding to the mobile screen as a target application.
Optionally, when a preset condition is met, determining an application corresponding to the screen of the mobile terminal as a target application, specifically including:
determining an application corresponding to the mobile screen as a target application when the mobile terminal screen is detected to be touched;
or the like, or, alternatively,
determining an application corresponding to the mobile screen as a target application when detecting that a preset button on the screen of the mobile terminal is touched;
or the like, or, alternatively,
and detecting that the mobile terminal does not move within a preset time, and determining the application corresponding to the mobile screen as a target application.
Optionally, the obtaining of the moving direction of the mobile terminal during moving specifically includes:
and obtaining the moving direction of the mobile terminal according to data sent by a gyroscope sensor arranged on the mobile terminal.
Optionally, the obtaining of the movement displacement of the mobile terminal during movement specifically includes:
acquiring the moving acceleration and moving time of the mobile terminal according to data sent by an acceleration sensor arranged on the mobile terminal;
and integrating the movement acceleration and the movement time to obtain the movement displacement.
Optionally, the obtaining of the movement displacement of the mobile terminal during movement specifically includes:
acquiring an external environment image when the mobile terminal moves through a camera arranged on the mobile terminal;
acquiring the distance between every two adjacent frames of images in the external image;
and adding the distances between all the adjacent two frame images to obtain the movement displacement.
Optionally, the method further includes:
according to a preset rule, tiling each application on a preset plane; the preset plane comprises at least one surface of a hexahedron taking the mobile terminal as a body center.
Optionally, the moving direction of the mobile terminal at least includes one of the following:
up movement, down movement, left movement, right movement, forward movement, and backward movement.
Optionally, the target document includes any one of:
word documents, PDF documents, TXT documents, Excel documents, and PPT documents.
A second aspect of the present application provides a document transmission apparatus, applied to a mobile terminal, where the mobile terminal includes a plurality of applications and a target document, and the apparatus includes:
the first determining unit is used for determining a target document to be transmitted;
the mobile terminal comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring the moving direction and the moving displacement of the mobile terminal when the mobile terminal moves;
a second determining unit, configured to determine a target application corresponding to the mobile terminal according to the moving direction, the moving displacement, and initial positions of the applications; the initial position of each application is the original position of each application before the mobile terminal moves;
and the transmission unit is used for determining the application corresponding to the mobile screen as a target application when a preset condition is met, and transmitting the target document to the target application.
A third aspect of the present application provides a mobile terminal comprising at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the document transmission method of the first aspect.
A fourth aspect of the present application provides a storage medium for storing program code for executing the method for document transmission according to the first aspect.
A fifth aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the document transmission method of the first aspect.
Compared with the prior art, the method has the following beneficial effects:
the document transmission method, the device and the mobile terminal are applied to the mobile terminal, the mobile terminal comprises a plurality of applications and a target document, when a user wants to share a document, the user determines the target document in the current application through the mobile terminal, then the user moves the mobile terminal to obtain the moving direction and the moving displacement of the mobile terminal when moving, the application corresponding to the screen of the mobile terminal is determined according to the moving direction, the moving displacement and the initial position of each application, when the preset condition is met, the application corresponding to the screen of the mobile terminal is determined as the target application, and the determined target document is transmitted to the target application, so that the output of the document is realized, and the document transmission method provided by the application does not need the user to perform multiple selections and jump among different applications when the document needs to be transmitted, and only needs to move the used mobile terminal, when certain preset conditions are met, the target application is determined, the document can be transmitted to the target application, the transmission process is simplified, the transmission efficiency is improved, and the user experience is improved.
Drawings
In order that the detailed description of the present application may be clearly understood, a brief description of the drawings, which will be used when describing the detailed description of the present application, follows. It is obvious that these drawings are only some embodiments of the present application and that other drawings may be obtained by a person skilled in the art without the inventive step.
Fig. 1 is a schematic diagram of an exemplary scenario provided in an embodiment of the present application;
FIG. 2 is a flowchart of a document transmission method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating the step S204 of determining a target application according to an embodiment of the present application;
FIG. 4 is a flowchart of another document transmission method provided in the embodiments of the present application;
FIG. 5 is a schematic diagram of a layout application according to an embodiment of the present application;
fig. 5A is a schematic diagram of an application layout according to an embodiment of the present application;
FIG. 5B is a schematic diagram of another application layout provided in the embodiments of the present application;
FIG. 5C is a schematic diagram of another application layout provided in the embodiments of the present application;
FIG. 6 is a diagram of a document transmission device according to an embodiment of the present application;
fig. 7 is a structural diagram of another document transmission device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical means and advantages of the present application more clear and complete, specific embodiments of the present application will be described below with reference to the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The inventor finds in research on a conventional document transfer method that when a user needs to transfer a file from one application to another application, it is necessary to jump from the current application to a target application and then complete the transfer of the file. When the user wants to check other applications, the user needs to quit the target application and then jumps to other applications according to the selection of the user. Therefore, the whole process is complicated to operate, the efficiency is low, and the use experience of a user is influenced.
Based on this, an embodiment of the present application provides a document transmission method, when a user wants to share a document, the user determines a target document in a current application through a mobile terminal, then the user moves the mobile terminal to obtain a moving direction and a moving displacement of the mobile terminal when moving, determines a target application currently corresponding to a screen of the mobile terminal according to the moving direction, the moving displacement and initial positions of each application, and transmits the determined target document to the target application when a preset condition is met, so as to output the document.
Therefore, in the document transmission method provided by the application, multiple selections and skip among different applications are not needed by a user, the target application is determined by moving the used mobile terminal, and the document can be transmitted to the target application when certain preset conditions are met, so that the transmission process is simplified, the transmission efficiency is improved, and the user experience is improved.
For example, one of the scenarios in the embodiment of the present application may be applied to the scenario shown in fig. 1, where the mobile terminal 10 includes a screen 101 and a processor 102, a user selects a target document to be transmitted from applications displayed on the screen 101 through the mobile terminal 10, the processor 102 receives a selection operation of the user, then the user moves with the mobile terminal 10, the processor 102 obtains a moving direction and a moving displacement of the mobile terminal 10, determines an application corresponding to the mobile screen 102 according to the moving direction, the moving displacement and initial positions of the applications, and determines whether a preset condition is met, if so, determines the application corresponding to the screen 102 as the target application, and the processor 103 transmits the received target document to the target application.
It should be noted that the mobile terminal 10 in the embodiment of the present application includes, but is not limited to: existing, developing or future developing smart phones, non-smart phones, tablets, laptop personal computers, etc. mobile devices.
Those skilled in the art will appreciate that the block diagram shown in fig. 1 is only one example in which embodiments of the present application may be implemented. The scope of applicability of the embodiments of the present application is not limited in any way by this framework.
Specific implementations of the method and apparatus for document transmission in the embodiments of the present application will be described in detail below by way of embodiments with reference to the accompanying drawings.
Exemplary method
Referring to fig. 2, the figure is a flowchart of a document transmission method provided in an embodiment of the present application.
The method applies a mobile terminal, the mobile terminal comprises a plurality of applications and a target document, and the method comprises the following steps:
s201: and determining a target document required to be transmitted.
In this embodiment, a user determines a target document to be transmitted in a current application by using a mobile terminal. For example, the application currently displayed on the screen of the mobile terminal is a document reading application in which the user selects a document X that specifically needs to be transmitted.
It should be noted that, in this embodiment, the target document may be a document including text information, such as a Word document, a PDF document, a TXT document, an Excel document, and a PPT document, and of course, may also be in other forms, including a document type of text information.
S202: and acquiring the moving direction and the moving displacement of the mobile terminal when the mobile terminal moves.
In this embodiment, when a user determines a document to be transmitted through a mobile terminal, the user moves with the mobile terminal, and the mobile terminal obtains a moving direction and a moving displacement of the user, so as to determine a current position of the mobile terminal according to the moving direction and the moving position.
Wherein the moving direction may be one or more of upward movement, downward movement, leftward movement, rightward movement, forward movement, and backward movement. In a specific implementation, the moving direction of the mobile phone carried by the user needs to be determined according to the layout of each application. For example, each application may be tiled on the same plane or different planes, and the layout of each application will be described in detail later, which is not repeated herein.
Regarding to the obtaining of the moving direction, the embodiment of the present application provides a possible implementation manner, which may specifically be: and obtaining the moving direction of the mobile terminal according to data sent by a gyroscope sensor arranged on the mobile terminal. In practical application, when the position of the mobile terminal changes, the gyroscope sensor detects the direction of the mobile terminal and sends the detected data to the controller of the mobile terminal, so that the controller can obtain the moving direction of the mobile terminal according to the received data.
Regarding the acquisition of the moving displacement, the embodiments of the present application provide two implementation manners, and two manners of acquiring the moving displacement will be described below respectively.
In a first possible implementation manner, the mobile acceleration and the mobile time are obtained according to data sent by an acceleration sensor arranged on a mobile terminal; and integrating the moving acceleration and the moving time to obtain the moving displacement.
In this embodiment, the mobile terminal obtains the acceleration and the time during moving according to an acceleration sensor arranged on the mobile terminal, and performs integral calculation on the acceleration and the time, so as to obtain the displacement of the mobile terminal. The acceleration sensor can detect the moving acceleration of the mobile terminal and can also detect moving time, the acceleration sensor sends detected data to a controller of the mobile terminal, and the controller performs integral calculation on the received data to obtain the displacement of the mobile terminal.
In a second possible implementation manner, an external environment image is acquired when the mobile terminal moves through a camera arranged on the mobile terminal; acquiring the distance between every two adjacent frames of images in the external image; and adding the distances between all the adjacent two frame images to obtain the movement displacement.
It can be understood that, when the user moves with the mobile terminal, the images shot by the camera include different external environments, so that the displacement of the mobile terminal when the two images shot by the camera are obtained according to the position change of the object in the two adjacent images, and then the displacement obtained by all the two adjacent images is added to obtain the total displacement, which is the displacement.
For understanding, for example, when a user moves with the mobile terminal, the camera takes a 5-second video, which is composed of image frames taken at a frequency of 50 frames per second, so that the video comprises 250 frames of images in total, then the moving distance of the camera is determined according to the position change of the reference object in each two adjacent frames of images, and so on, and all the moving distances are added to obtain the moving displacement of the mobile terminal.
It should be noted that, when the camera on the mobile terminal is used to acquire the movement displacement, the movement distance of the camera needs to be determined according to the position change of the reference object in the image, and when the movement acceleration of the mobile terminal is large, the captured image may be blurred, so that the movement distance of the camera is determined inaccurately.
During specific implementation, the acceleration of the mobile terminal is obtained, when the acceleration is smaller than or equal to a preset acceleration threshold, the mobile terminal is indicated to be slow in moving speed and stable in moving, the second mode can be started, and the moving displacement of the mobile terminal is obtained through an image processing mode; when the acceleration is larger than the preset acceleration threshold, a first mode is started, and the movement displacement is obtained by integrating the acceleration and the time.
S203: and determining a target application corresponding to the screen of the mobile terminal according to the moving direction, the moving displacement and the initial position of each application.
The initial position of each application refers to the initial position of each application before the mobile terminal moves, and the position is a position relative to the mobile terminal.
In this embodiment, when the mobile terminal is used as the origin of coordinates, the position of the mobile terminal after movement may be determined according to the movement direction and the movement displacement, and then the application corresponding to the screen at the current position of the mobile terminal may be determined according to the initial position of each application.
S204: and when the preset condition is met, determining the application corresponding to the screen of the mobile terminal as a target application, and transmitting the target document to the target application.
In this example, when the preset condition is satisfied, the mobile terminal determines that the target application corresponding to the current screen is the target application, and transmits the selected target document to the target application.
The targeted application may have a variety of forms, and different forms will be described separately below.
The first possible form is to determine whether to transmit the target document according to the distance between the position of the mobile terminal after moving and the position of each application, as shown in fig. 3, and specifically includes the following steps:
s301: and determining the current position of the mobile terminal according to the moving direction and the moving displacement.
In this embodiment, when the position where the mobile terminal is located before moving is taken as the origin of coordinates, the current position where the mobile terminal is located may be determined according to the moving direction and the moving displacement. When the position of the mobile terminal before moving is not taken as the origin of coordinates, the position of the mobile terminal before moving needs to be acquired, and then the current position of the mobile terminal is determined according to the moving direction and the moving displacement.
It should be noted that, when the mobile terminal and each application are in the same plane, the current position of the mobile terminal can be determined by two-dimensional coordinates. For example, if the initial position of the mobile terminal is (0,0), the moving direction is upward, and the moving displacement is 0.1m, the current position of the mobile terminal is (0, 0.1). If the mobile terminal is applied in a different plane from each other, the current location of the terminal can be determined by the three-dimensional coordinates. For example, if the initial position of the mobile terminal is (0,0,0), the moving direction is first moving upward by 0.1 and moving in the positive Z direction by 0.2, the current position of the mobile terminal is (0,0.1, 0.2).
S302: and obtaining the position distance between the mobile terminal and the target application according to the current position of the mobile terminal and the position of the target application.
In this embodiment, when the current position of the movement and the position of the target application are acquired, the distance between the two positions is calculated. In specific implementation, the position distance is calculated according to the coordinate information of the two positions.
S303: and if the position distance is smaller than the preset distance, determining the application corresponding to the screen of the mobile terminal as the target application.
In this embodiment, when the position distance between the mobile terminal and the target application is smaller than the preset distance, the application corresponding to the mobile screen may be determined to be the target application.
The preset distance is preset, and may be specifically set according to an actual situation, and different distance thresholds may be set for different mobile terminals, which is not limited herein.
In a second form, when the screen of the mobile terminal corresponds to the target application and the screen of the mobile terminal is detected to be touched, the application corresponding to the mobile screen is determined as the target application. For example, when the mobile terminal moves to an application, if the application is a target application that the user wants to transmit, a determination instruction may be sent to the mobile terminal by touching the screen to implement transmission of a document.
In the third form, when the screen of the mobile terminal corresponds to the target application and a preset button on the screen of the mobile terminal is detected to be touched, the application corresponding to the mobile screen is determined as the target application. For example, when the mobile terminal moves to a certain position, and the user determines that the application corresponding to the current mobile terminal screen is the target application, a transmission instruction can be sent to the mobile terminal through a preset button on the touch screen, so that the document transmission is realized.
In the fourth form, when the screen of the mobile terminal corresponds to the target application and the mobile terminal is detected not to move within the preset time, the application corresponding to the mobile screen is determined as the target application.
During specific implementation, the time of the mobile terminal staying in the corresponding application can be counted through a timer arranged on the mobile terminal, when the staying time is longer than the preset time, the application displayed on a screen of the mobile terminal is determined to be the target application, and the selected target document is transmitted to the target application.
In addition, the residence time of the mobile terminal in the corresponding application can be counted through a camera arranged on the mobile terminal. In practical application, the mobile terminal shoots an external environment in the moving process, and when the situation that the shot image is not changed is detected, a timer is started to start timing, and the staying time of the mobile terminal is determined.
It is understood that the mobile terminal may also determine the target application in other manners, for example, according to a specific gesture of the user, or according to a turning angle of the mobile terminal itself, and the embodiment is not limited herein.
Through the document transmission method provided by the embodiment of the application, when a user wants to share a document, the user determines a target document in a current application through the mobile terminal, then the user moves the mobile terminal to obtain the moving direction and the moving displacement of the mobile terminal when moving, the application corresponding to the screen of the mobile terminal is determined according to the moving direction, the moving displacement and the initial position of each application, when a preset condition is met, the application corresponding to the screen of the mobile terminal is determined as the target application, and the determined target document is transmitted to the target application, so that the output of the document is realized, and therefore, through the document transmission method provided by the application, when the document needs to be transmitted, the user does not need to perform multiple selections and skip among different applications, only needs to move the used mobile terminal, when a certain preset condition is met, the target application is determined, and the document can be transmitted to the target application, simplify transmission process, improve transmission efficiency, promote user and use experience.
According to the method embodiment, when the method is implemented, the layout of each application in the mobile terminal needs to be known in advance, so that when the target document needs to be transmitted, a user carries the mobile terminal to move according to the preset layout, so that the target application is displayed on a screen of the mobile terminal, and therefore, when the target document is transmitted, each application can be laid out, and the method will be described with reference to the accompanying drawings.
Referring to fig. 4, a flowchart of another document transmission method provided in the embodiment of the present application is shown.
In this embodiment, the method may include the steps of:
s401: and according to a preset rule, flatly paving each application on a preset plane.
In this embodiment, each application on the mobile terminal is tiled on the preset plane in advance according to the layout rule, so that the user can move the mobile terminal according to the position of each application on the preset plane.
The preset plane comprises at least one face of a hexahedron taking the mobile terminal as a body center, the hexahedron can be a regular hexahedron such as a cuboid and a cube, and the applications in the preset plane are paved on the same plane. For example, as shown in fig. 5, the cube includes six planes 1-6, wherein the mobile terminal 10 is located at the center of the hexahedron, and the predetermined plane may be any one of the planes. Taking plane 1 as an example for explanation, the layout of each application in plane 1 is shown in fig. 5A, and 5 applications, namely applications A, B, C, D and E, are laid out in the plane, and in the figure, the screen of mobile terminal 10 corresponds to application a. Of course, each application may also be laid out in different six planes, as shown in fig. 5B, in which applications A, B, C, D, E and F are laid out in different planes, respectively, wherein the mobile terminal 10 screen corresponds to application a.
Of course, the applications may also be tiled in different planes, with the planes being parallel to each other, as shown in FIG. 5C, where the planes of applications A, B, C, D and E are parallel to each other and the mobile terminal 10 screen corresponds to application C.
In this embodiment, S402 and S202 have the same technical implementation, which may specifically refer to S202, and are not described herein again.
S403: and acquiring the moving direction and the moving displacement of the mobile terminal when the mobile terminal moves.
The moving direction comprises a left direction, a right direction, an upper direction, a lower direction, a front direction and a rear direction, and the user determines the moving direction of the mobile terminal according to the application corresponding to the current mobile terminal screen.
For ease of understanding, when the respective applications are laid out as in fig. 5A, it is assumed that when the screen of the mobile terminal 10 is displayed as application a, the mobile terminal is carried to move to the left when the user needs to transfer the document of application a to application B; when transmission to application D is required, moving to the right; when the application E needs to be transmitted, moving upwards; move down when needed to transmit to application C.
When the applications are laid out as shown in fig. 5C, assuming that the screen of the mobile terminal 10 is displayed as application C, when the document C of the application needs to be transmitted to application B, the user moves forward with the mobile terminal and moves leftward to be close to application B, so that the screen of the mobile terminal corresponds to application B; and when the application E needs to be transmitted, moving backwards, and moving leftwards to be close to the application E, so that the screen of the mobile terminal corresponds to the application E.
S404-S405 are respectively the same as S203 and S204, and the description of this embodiment is omitted here.
To facilitate understanding of the technical solutions provided by the present application, for example, a scenario shown in fig. 5A is taken as an example, in which each application of the mobile terminal 10 is tiled on a virtual plane, and the virtual plane and the mobile terminal are located on the same plane. For example, the current application displayed on the screen of the mobile terminal 10 is a, an application B, an application C, an application D, and an application E are respectively arranged around the application a, when a user wants to send a Word document of the application a to the application B, first, a Word document to be transmitted is determined in the application a, and then, the mobile terminal 10 is moved to the left, so that the application B corresponding to the screen of the mobile terminal 10 meets a preset condition, when the mobile terminal 10 determines that the application B is a target application, the Word document is transmitted to the application B.
It should be noted that the above embodiments are merely explained as exemplary scenarios, and do not limit the present application.
Exemplary devices
Based on the above method embodiment, the present application further provides a document transmission device, which will be described below with reference to the accompanying drawings.
Referring to fig. 6, which is a structural diagram of a document transmission apparatus provided in an embodiment of the present application, the apparatus is applied to a mobile terminal, the mobile terminal includes a plurality of applications and a target document, and the apparatus may include:
a first determining unit 601, configured to determine a target document to be transmitted.
An obtaining unit 602, configured to obtain a moving direction and a moving displacement when the mobile terminal moves.
A second determining unit 603, configured to determine a target application corresponding to the mobile terminal according to the moving direction, the moving displacement, and initial positions of the applications; the initial position of each application is the original position of each application before the mobile terminal moves.
A transmission unit 604, configured to determine, when a preset condition is met, an application corresponding to the mobile terminal screen as a target application, and transmit the target document to the target application.
Optionally, in some embodiments, the transmission unit specifically determines the current position of the mobile terminal according to the moving direction and the moving displacement.
Obtaining the position distance between the mobile terminal and the target application according to the current position of the mobile terminal and the position of the target application, and judging whether the position distance is smaller than a preset distance; if yes, determining the application corresponding to the screen of the mobile terminal as a target application, and transmitting the target document to the application.
Optionally, in some embodiments, the transmission unit is specifically configured to transmit the target document to the target application when detecting that the screen of the mobile terminal is touched.
Or the like, or, alternatively,
and when detecting that a preset button on the screen of the mobile terminal is touched, transmitting the target file to the target application.
Or the like, or, alternatively,
and detecting that the mobile terminal does not move within a preset time, and transmitting the target file to the target application.
In some embodiments, the obtaining of the moving direction of the mobile terminal during moving specifically includes:
and obtaining the moving direction of the mobile terminal according to data sent by a gyroscope sensor arranged on the mobile terminal.
In some embodiments, the obtaining of the movement displacement of the mobile terminal during movement specifically includes:
acquiring the moving acceleration and moving time of the mobile terminal according to data sent by an acceleration sensor arranged on the mobile terminal; and integrating the movement acceleration and the movement time to obtain the movement displacement.
In some embodiments, the obtaining of the movement displacement of the mobile terminal during movement specifically includes:
acquiring an external environment image when the mobile terminal moves through a camera arranged on the mobile terminal; acquiring the distance between every two adjacent frames of images in the external image; and adding the distances between all the adjacent two frame images to obtain the movement displacement.
In some embodiments, the apparatus further comprises:
the deployment unit is used for tiling each application on a preset plane according to a preset rule; the preset plane comprises at least one surface of a hexahedron taking the mobile terminal as a body center.
In some embodiments, the moving direction of the mobile terminal may include: up movement, down movement, left movement, right movement, forward movement, and backward movement.
In some embodiments, the target document includes any one of:
word documents, PDF documents, TXT documents, Excel documents, and PPT documents.
It should be noted that specific implementation and setting of each unit or module provided in this embodiment may refer to the method embodiment shown in fig. 2, and are not described herein again.
Through the device provided by the embodiment of the application, when a user wants to share a certain document, the user determines a target document in the current application through the mobile terminal, then the user moves the mobile terminal to obtain the moving direction and the moving displacement of the mobile terminal when moving, determines the application corresponding to the screen of the mobile terminal according to the moving direction, the moving displacement and the initial position of each application, determines the application corresponding to the screen of the mobile terminal as the target application when the preset condition is met, and transmits the determined target document to the target application, thereby realizing the output of the document, and therefore, through the document transmission device provided by the application, when the document is required to be transmitted, the user does not need to perform multiple selections and skip among different applications, only needs to move the used mobile terminal, and when the certain preset condition is met, the target application is determined, so that the document can be transmitted to the target application, simplify transmission process, improve transmission efficiency, promote user and use experience.
An embodiment of the present application further provides a mobile terminal, where a hardware structure of the mobile terminal may be as shown in fig. 7, and the hardware structure includes: at least one memory 701 and at least one processor 702.
The memory 701 is configured to store a program code, and the processor 702 is configured to call the program code stored in the memory 701 to execute the document transmission method provided in the foregoing embodiment.
In addition, the embodiment of the application also provides a storage medium, wherein the storage medium is used for storing program codes, and the program codes are used for executing the document transmission method provided by the embodiment.
In addition, the embodiment of the present application also provides a computer program product including instructions, which when run on a computer, causes the computer to execute the method for document transmission provided by the above embodiment.
The foregoing is illustrative of the preferred embodiments of the present application and is not to be construed as limiting in any way. Although the present application has been described with reference to the preferred embodiments, it is not intended to limit the present application. Those skilled in the art can now make numerous possible variations and modifications to the disclosed embodiments, or modify equivalent embodiments, using the methods and techniques disclosed above, without departing from the scope of the claimed embodiments. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present application still fall within the protection scope of the technical solution of the present application without departing from the content of the technical solution of the present application.

Claims (12)

1. A document transmission method is applied to a mobile terminal, the mobile terminal comprises a plurality of applications and a target document, and the method comprises the following steps:
according to a preset layout rule, each application in the plurality of applications is tiled on a preset plane;
determining a target document required to be transmitted in a current application of the mobile terminal, wherein the current application refers to an application corresponding to a screen of the mobile terminal before the mobile terminal moves;
acquiring the moving direction and the moving displacement of the mobile terminal when the mobile terminal moves;
determining applications corresponding to the current position of the screen of the mobile terminal according to the moving direction, the moving displacement and the initial positions of the applications, wherein the current position refers to the position of the mobile terminal after moving, the current position is determined according to the moving direction and the moving displacement, and the initial positions of the applications are the initial positions of the applications before the mobile terminal moves;
and when a preset condition is met, determining the application corresponding to the current position of the screen of the mobile terminal as a target application, and transmitting the target document to the target application.
2. The method according to claim 1, wherein when a preset condition is met, determining the application corresponding to the screen of the mobile terminal as a target application specifically comprises:
determining the current position of the mobile terminal according to the moving direction and the moving displacement;
obtaining the position distance between the mobile terminal and the target application according to the current position of the mobile terminal and the position of the target application, and judging whether the position distance is smaller than a preset distance;
and if so, determining the application corresponding to the mobile screen as a target application.
3. The method according to claim 1, wherein when a preset condition is met, determining the application corresponding to the screen of the mobile terminal as a target application specifically comprises:
determining an application corresponding to the mobile screen as a target application when the mobile terminal screen is detected to be touched;
or the like, or, alternatively,
determining an application corresponding to the mobile screen as a target application when detecting that a preset button on the screen of the mobile terminal is touched;
or the like, or, alternatively,
and detecting that the mobile terminal does not move within a preset time, and determining the application corresponding to the mobile screen as a target application.
4. The method according to claim 1, wherein the obtaining of the moving direction of the mobile terminal during moving specifically includes:
and obtaining the moving direction of the mobile terminal according to data sent by a gyroscope sensor arranged on the mobile terminal.
5. The method according to claim 1, wherein the obtaining of the movement displacement of the mobile terminal during movement specifically includes:
acquiring the moving acceleration and moving time of the mobile terminal according to data sent by an acceleration sensor arranged on the mobile terminal;
and integrating the movement acceleration and the movement time to obtain the movement displacement.
6. The method according to claim 1, wherein the obtaining of the movement displacement of the mobile terminal during movement specifically includes:
acquiring an external environment image when the mobile terminal moves through a camera arranged on the mobile terminal;
acquiring the distance between every two adjacent frames of images in the external image;
and adding the distances between all the adjacent two frame images to obtain the movement displacement.
7. The method of claim 1, further comprising:
the preset plane comprises at least one surface of a hexahedron taking the mobile terminal as a body center.
8. The method according to any of the claims 1 to 7, wherein the mobile terminal movement direction comprises at least one of:
up movement, down movement, left movement, right movement, forward movement, and backward movement.
9. The method of claim 1, wherein the target document comprises any one of:
word documents, PDF documents, TXT documents, Excel documents, and PPT documents.
10. A document transmission apparatus, applied to a mobile terminal, wherein the mobile terminal includes a plurality of applications and a target document, the apparatus comprising:
a first determining unit, configured to tile each of the multiple applications on a preset plane according to a preset layout rule, and determine a target document to be transmitted in a current application of the mobile terminal, where the current application refers to an application corresponding to the mobile terminal screen before the mobile terminal moves;
the mobile terminal comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring the moving direction and the moving displacement of the mobile terminal when the mobile terminal moves;
a second determining unit, configured to determine, according to the moving direction, the moving displacement, and initial positions of the applications, a target application corresponding to a current position of the mobile terminal, where the current position refers to a position after the mobile terminal moves, the current position is determined according to the moving direction and the moving displacement, and the initial position of each application is an original position of each application before the mobile terminal moves;
and the transmission unit is used for determining the application corresponding to the current position of the mobile screen as a target application when a preset condition is met, and transmitting the target document to the target application.
11. A mobile terminal, comprising: at least one memory and at least one processor;
wherein the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the document transmission method of any one of claims 1-9.
12. A storage medium for storing program code for performing the method of document transmission of any one of claims 1-9.
CN201810631375.6A 2018-05-11 2018-06-19 Document transmission method and device and mobile terminal Active CN109753212B (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN201810631375.6A CN109753212B (en) 2018-06-19 2018-06-19 Document transmission method and device and mobile terminal
PCT/CN2019/086292 WO2019214696A1 (en) 2018-05-11 2019-05-09 Method, device, and apparatus for interacting with operation object
US16/981,274 US11262856B2 (en) 2018-05-11 2019-05-09 Interaction method, device and equipment for operable object
SG11202011206UA SG11202011206UA (en) 2018-05-11 2019-05-09 Interaction method, device and equipment for operable object
PCT/CN2019/087862 WO2019242450A1 (en) 2018-06-19 2019-05-21 Data transmission method and apparatus, and mobile terminal
US17/022,001 US11029822B2 (en) 2018-06-19 2020-09-15 Data transmission method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810631375.6A CN109753212B (en) 2018-06-19 2018-06-19 Document transmission method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN109753212A CN109753212A (en) 2019-05-14
CN109753212B true CN109753212B (en) 2020-02-18

Family

ID=66402354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810631375.6A Active CN109753212B (en) 2018-05-11 2018-06-19 Document transmission method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN109753212B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753209B (en) 2018-06-21 2020-05-05 北京字节跳动网络技术有限公司 Application program starting method, device and equipment
WO2019214696A1 (en) * 2018-05-11 2019-11-14 北京字节跳动网络技术有限公司 Method, device, and apparatus for interacting with operation object
WO2019242450A1 (en) 2018-06-19 2019-12-26 北京字节跳动网络技术有限公司 Data transmission method and apparatus, and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218140A (en) * 2013-03-29 2013-07-24 梁庆生 Method of controlling self screen cursor or other screen cursors by using cell phone
CN104158962A (en) * 2014-08-01 2014-11-19 广州华多网络科技有限公司 Mobile terminal display screen control method and mobile terminal display screen control system
CN105094567A (en) * 2015-08-20 2015-11-25 Tcl集团股份有限公司 Intelligent terminal operation implementation method and system based on gravity sensor
CN106603846A (en) * 2016-12-19 2017-04-26 联想(北京)有限公司 Method for transmitting file and smartphone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9152321B2 (en) * 2013-05-03 2015-10-06 Barnes & Noble College Booksellers, Llc Touch sensitive UI technique for duplicating content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103218140A (en) * 2013-03-29 2013-07-24 梁庆生 Method of controlling self screen cursor or other screen cursors by using cell phone
CN104158962A (en) * 2014-08-01 2014-11-19 广州华多网络科技有限公司 Mobile terminal display screen control method and mobile terminal display screen control system
CN105094567A (en) * 2015-08-20 2015-11-25 Tcl集团股份有限公司 Intelligent terminal operation implementation method and system based on gravity sensor
CN106603846A (en) * 2016-12-19 2017-04-26 联想(北京)有限公司 Method for transmitting file and smartphone

Also Published As

Publication number Publication date
CN109753212A (en) 2019-05-14

Similar Documents

Publication Publication Date Title
US11054986B2 (en) Apparatus including a touch screen under a multi-application environment and controlling method thereof
CN106506935B (en) Mobile terminal and control method thereof
US11829581B2 (en) Display control method and terminal
US9514512B2 (en) Method and apparatus for laying out image using image recognition
CN109753212B (en) Document transmission method and device and mobile terminal
CN109743438B (en) Method and device for sending multimedia information
RU2660615C2 (en) Method and device for moving page content
KR20100122383A (en) Method and apparatus for display speed improvement of image
KR102060962B1 (en) Method and apparatus for moving contents on screen using pointing unit
KR102252807B1 (en) Method and device for manipulating virtual objects, and storage media
CN105681657B (en) A kind of method and terminal device for shooting focusing
US9229556B2 (en) Apparatus and method for sensing 3D object
CN105160219B (en) A kind of terminal unlock method and terminal
CN109753199B (en) Application page display method and mobile terminal
US20170180671A1 (en) Method for displaying operation trajectory , an electronic device and a non-transitory computer-readable storage medium
JP5696563B2 (en) Information processing apparatus, screen update method, screen update program, and information processing system
KR20140110646A (en) User termial and method for displaying screen in the user terminal
US20170168581A1 (en) Method and Device for Controlling Operation Components Based on Somatosensory
KR102462054B1 (en) Method and device for implementing user interface of live auction
CN108021313B (en) Picture browsing method and terminal
US11029822B2 (en) Data transmission method, device and mobile terminal
KR20130116167A (en) Device and method for sensing 3d object
KR101651011B1 (en) Mobile terminal
US11262856B2 (en) Interaction method, device and equipment for operable object
US9792487B2 (en) System and method for determining dimensions of an object in an image

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant