WO2021249279A1 - 文件传输方法、装置、计算机设备和存储介质 - Google Patents

文件传输方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2021249279A1
WO2021249279A1 PCT/CN2021/098158 CN2021098158W WO2021249279A1 WO 2021249279 A1 WO2021249279 A1 WO 2021249279A1 CN 2021098158 W CN2021098158 W CN 2021098158W WO 2021249279 A1 WO2021249279 A1 WO 2021249279A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
icon
file icon
information
central area
Prior art date
Application number
PCT/CN2021/098158
Other languages
English (en)
French (fr)
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 深圳市万普拉斯科技有限公司
Publication of WO2021249279A1 publication Critical patent/WO2021249279A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Definitions

  • This application relates to the field of computer technology, in particular to a file transmission method, device, computer equipment and storage medium.
  • a file transmission method includes:
  • the main interface when it is detected that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, it is triggered to place the file content corresponding to the file icon in the central area of the file icon. Display in applications with overlapping regions.
  • the page information includes video information, audio information, picture information, and document information
  • the triggering to buffer the page information corresponding to the display area includes:
  • the video information, audio information, picture information, and document information are buffered, and corresponding video file icons, audio file icons, picture file icons, and document file icons are generated in the current page.
  • the detecting that the central area of the file icon overlaps with the central area of at least one application icon in the main interface includes:
  • the method further includes:
  • the file icon When it is detected that the position coordinates of the central area of the file icon have not changed within the preset time range, the file icon is moved to a preset blank area in the current main interface for storage.
  • the method further includes:
  • the method further includes:
  • a file transmission device includes:
  • the detection module is used to browse the current page through the first application program, to detect the duration of pressing the display area in the current page, and to trigger the matching when it is detected that the display area in the current page is pressed for a preset time.
  • the page information corresponding to the display area is buffered;
  • a generating module configured to obtain the type of the buffered page information, and generate a file icon corresponding to the type of the buffered page information in the current page;
  • the jump module is used to jump from the current page to the preset main interface when it is detected that the file icon is dragged out of the current page;
  • the display module is configured to trigger the file content corresponding to the file icon to be displayed in the main interface when it is detected that the central area of the file icon overlaps with the central area of at least one application icon in the main interface.
  • the file icon is displayed in an application that overlaps the center area of the icon.
  • a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when the computer program is executed:
  • the main interface when it is detected that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, it is triggered to place the file content corresponding to the file icon in the central area of the file icon. Display in applications with overlapping regions.
  • the main interface when it is detected that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, it is triggered to place the file content corresponding to the file icon in the central area of the file icon. Display in applications with overlapping regions.
  • the above-mentioned file transmission method, device, computer equipment and storage medium browse the current page through the first application, and when it is detected that the display area in the current page is pressed for a preset time, it triggers the buffering of the page information corresponding to the display area. Obtain the type of buffered page information, and generate a file icon corresponding to the type of buffered page information in the current page. Compared with the traditional file transfer method, when it is detected that the file icon is dragged out of the current page, it will automatically jump from the current page to the preset main interface.
  • the file content corresponding to the file icon is triggered to be displayed in the application that overlaps the central area of the file icon.
  • the trigger operation when the user browses the page in the first application is detected in real time, and when the user is detected at the preset time
  • the display area in the current page is internally pressed, it triggers the buffering of the page information corresponding to the user pressing the display area, and at the same time generates the corresponding file icon in the current page, the user only needs to drag the file icon to achieve the
  • the information in a specific application is transferred to other applications for display, avoiding tedious operating procedures and consuming a lot of time, greatly simplifying the operating procedures of file transfer, and realizing that it can be carried out between different types of applications. Fast and effective file transfer.
  • FIG. 1 is a schematic flowchart of a file transmission method in an embodiment of this application
  • FIG. 2 is a schematic flowchart of steps when it is detected that the central area of the file icon overlaps with the central area of at least one application icon in the main interface in an embodiment of this application;
  • FIG. 3 is a structural block diagram of a file transmission device in an embodiment of the application.
  • Fig. 4 is an internal structure diagram of a computer device in an embodiment of the application.
  • a file transfer method is provided.
  • the method is applied to a terminal as an example.
  • the terminal can be, but is not limited to, various personal computers, notebook computers, smart phones, Tablet computers and portable wearable devices.
  • the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server.
  • the method includes the following steps:
  • step 102 the current page is browsed through the first application, and when it is detected that the display area in the current page is pressed for a preset time, the buffering of the page information corresponding to the display area is triggered.
  • Smart terminals are a type of embedded computer system equipment, and the software structure can be divided into system software and application software.
  • system software is mainly operating system and middleware.
  • Common smart terminal operating systems include Android OS, IOS, Linux, Windows CE, Symbian OS, etc.
  • Users of smart terminals with different operating systems can download multiple types of applications through the application market interface in the smart terminal, which can include system applications, desktop applications, driver applications, network applications, mobile phone applications, and the Internet of Things Applications, etc. From the functional division of users to use applications, different types of applications can include instant messaging applications, online shopping applications, audio-visual entertainment applications, and so on.
  • the user can click on an application with a specific function in the main interface of the smart terminal device to start the application and enter the page corresponding to the application.
  • the smart terminal detects that the user presses a specific display area on the current page of the display screen for a preset time, the smart terminal triggers buffering of page information corresponding to the display area.
  • the above-mentioned first application can be any one of multiple types of applications.
  • the time for detecting the user pressing the page display area can be set in the configuration file in advance.
  • the preset time can be set to 3s, that is, when the smart When the terminal detects that the time for the user to touch the display screen to press a specific display area in the current page reaches 3s, it triggers to buffer the page information corresponding to the display area pressed by the user.
  • the user can complete the buffering of the information in the display area of the current page by touching the information content in the designated page on the smart terminal display screen and pressing the display area corresponding to the designated information content for a preset time. For example, the user can click on the video application in the main interface of the smart terminal device, start the video application, and enter the page corresponding to the video program.
  • the user can press the display area corresponding to the video information in the current display page of the display screen, that is, the user can Long press the display area corresponding to the video file for a few seconds and wait for the buffering to complete.
  • Step 104 Obtain the type of the buffered page information, and generate a file icon corresponding to the type of the buffered page information in the current page.
  • the smart terminal When the smart terminal detects that the user presses a specific display area on the current page of the display screen for a preset time, it triggers buffering of page information corresponding to the display area pressed by the user.
  • the smart terminal obtains the above-mentioned buffered page information type, and generates a file icon corresponding to the buffered page information type in the current page.
  • the user can select the file information of the specific display area in the current page by long pressing the specific display area on the display screen.
  • the smart terminal obtains the information type corresponding to the file information.
  • a file icon corresponding to the information type of the buffer page is generated in the current page.
  • a small icon in a locked state centered on the user pressing area and a radius range of a preset size can be automatically generated. Move in any range up, down, left, and right.
  • the page information may include multiple types of information in different pages, such as text information, picture information, and so on.
  • the style of the file icon can also be preset as a circular icon, a rectangular icon, an icon with a custom shape, etc. according to user requirements.
  • Step 106 When it is detected that the file icon is dragged out of the current page, jump from the current page to the preset main interface.
  • the user can move the file icon up, down, left, and right arbitrarily in the current page.
  • the smart terminal detects that the file icon is dragged out of the current page, it jumps from the current page to the preset main interface.
  • the user can click on the content of any area in the current application page, and the user can also select all the information in the current application page.
  • the smart terminal detects that the user presses the display area of the current page, it continues to preset At time, the terminal is triggered to buffer the page information in the display area pressed by the user.
  • the smart terminal generates a corresponding file icon in the page of the current application program according to the preset correspondence between the page information type and the file icon.
  • the terminal detects that the file icon is dragged by the user out of the page operation display area of the current application, the terminal automatically jumps the current page to the preset main interface.
  • the boundary size thresholds of the operation display area of different types of application pages can be set in the configuration file in advance.
  • the preset application page is exceeded.
  • the terminal automatically jumps the current page to the main interface that has been set.
  • the main interface can also set the corresponding main interface display size according to the needs of the user.
  • Step 108 In the main interface, when it is detected that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, trigger the file content corresponding to the file icon to be performed in the application that overlaps the central area of the file icon exhibit.
  • the smart terminal When the smart terminal detects that the file icon is dragged out of the current page by the user, the smart terminal automatically jumps from the current application page to the preset main interface.
  • the smart terminal In the main interface, when the smart terminal detects that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, it triggers the file content corresponding to the file icon to be displayed in the application that overlaps the central area of the file icon .
  • the main interface according to the user's own preference settings, multiple icons corresponding to different applications can be displayed at the same time.
  • the icons of different types of applications in the main interface default to The small square icon is displayed on the screen of the main interface, and the coordinates of the center area of the icon are the coordinates of the center point of the square icon.
  • the smart terminal detects that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, that is, the coordinate parameter of the central area of the file icon and the coordinate parameter of the central area of another application icon in the main interface are within the preset distance range
  • the file content corresponding to the file icon is automatically triggered to be displayed in the application within the preset distance range of the coordinate parameter in the center area of the file icon.
  • the smart terminal detects that the central area of the aforementioned file icon overlaps with the central area of the instant messaging application icon in the main interface, that is, the coordinate parameters of the central area of the file icon and the central area of the instant messaging application icon in the main interface are in advance.
  • the content of the file will be automatically displayed in the instant messaging application.
  • the user can perform corresponding operations on the content corresponding to the above file icon according to the function of the instant messaging application.
  • the content corresponding to the above file icon can be directly shared to the address book through the sharing function in the instant messaging application. Friends in or directly post in the circle of friends.
  • the current page is browsed through the first application, and when it is detected that the display area in the current page is pressed for a preset time, the buffering of the page information corresponding to the display area is triggered.
  • Obtain the type of buffered page information and generate a file icon corresponding to the type of buffered page information in the current page.
  • the file icon When it is detected that the file icon is dragged out of the current page, it will automatically jump from the current page to the preset main interface.
  • the main interface when it is detected that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application that overlaps the central area of the file icon.
  • the trigger operation when the user browses the page in the first application is detected in real time, and when the user is detected at the preset time
  • the display area in the current page is internally pressed, it triggers the buffering of the page information corresponding to the user pressing the display area, and at the same time generates the corresponding file icon in the current page, the user only needs to drag the file icon to achieve the The information in a specific application is transmitted to other applications for display.
  • this method avoids cumbersome operation procedures and consumes a lot of time, greatly simplifies the operation procedure of file transfer, and realizes fast and effective file transfer between different types of applications. .
  • the page information includes video information, audio information, picture information, and document information.
  • step S102 the step of triggering buffering of page information corresponding to the display area includes:
  • Buffer video information, audio information, picture information, and document information and generate corresponding video file icons, audio file icons, picture file icons, and document file icons in the current page.
  • the smart terminal When the smart terminal detects that the user presses a specific display area on the current page of the display for a preset time, it triggers the buffering of the page information corresponding to the display area pressed by the user, and the smart terminal obtains the type of the above-mentioned buffered page information, in the current page Generate a file icon corresponding to the information type of the buffered page.
  • the page information can include video information, audio information, picture information, and document information.
  • the smart terminal obtains the buffered page information types as video information, audio information, picture information, and document information, it is automatically generated in the current page Corresponding video file icon, audio file icon, picture file icon and document file icon.
  • the smart terminal when the smart terminal obtains that the buffered page information type is a mixed information of video information, audio information, picture information, and document information, it automatically generates a mixed file icon of video, audio, picture, and document in the current page.
  • the mixed file icon can be a custom file icon of any shape and size.
  • step S108 when it is detected that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, the steps include:
  • Step 202 Obtain the horizontal and vertical coordinate information of the central area of the file icon, and track the horizontal and vertical coordinate information of the central area of the file icon in real time.
  • Step 204 When it is detected that the position coordinates of the central area of the file icon have changed, acquire the movement track data corresponding to the central area of the file icon.
  • Step 206 When it is detected that the movement track data corresponding to the central area of the file icon and the position coordinate data of the central area of the at least one application icon are within a preset distance range, trigger the file content corresponding to the file icon to be in the center of the file icon. The location coordinate data of the area is displayed in the application within the preset distance range.
  • the smart terminal when the smart terminal detects that the central area of the file icon overlaps with the central area of at least one application icon in the main interface, it triggers the file content corresponding to the file icon to be displayed in the application that overlaps the central area of the file icon .
  • the smart terminal obtains the horizontal and vertical coordinate information of the central area of the file icon, and tracks the horizontal and vertical coordinate information of the central area of the file icon in real time.
  • the smart terminal detects a change in the position coordinates of the central area of the file icon, it acquires the movement track data corresponding to the central area of the file icon.
  • the smart terminal detects that the movement track data corresponding to the central area of the file icon is within a preset distance from the position coordinate data of the central area of the at least one application icon, it triggers the file content corresponding to the file icon to be located in the center of the file icon
  • the area location coordinate data is displayed in the application within the preset distance range.
  • the smart terminal can use a pre-configured function program to solve the position information of the central area of the file icon generated in the current page, and obtain the horizontal and vertical coordinate information corresponding to the central area of the file icon.
  • the smart terminal can use a pre-configured function program to track the horizontal and vertical coordinate information of the central area of the file icon in real time.
  • the terminal can use the mean shift method and the iterative method to track the horizontal and vertical coordinate information of the central area of the file icon. Perform real-time tracking.
  • the smart terminal detects a change in the position coordinates of the central area of the file icon, the smart terminal records the horizontal and vertical coordinate information of the continuous movement of the central area of the file icon to obtain the movement track data corresponding to the central area of the file icon.
  • the smart terminal When the smart terminal detects that the movement trajectory data corresponding to the central area of the file icon is within a preset distance or the same as the position coordinate data of the central area of at least one application icon in the main interface, it will automatically trigger the corresponding file icon.
  • the content of the file is displayed within a preset distance or the same application program as the coordinate data of the central area of the file icon.
  • the smart terminal when the smart terminal detects that the movement track data corresponding to the central area of the file icon is the same as the position coordinate data of the central area of the audio-visual entertainment application icon in the main interface, it will automatically trigger the file content corresponding to the file icon in the audio-visual entertainment It can be displayed in the application program, and can perform the corresponding function in the audio-visual entertainment application program, that is, the video content corresponding to the above-mentioned file icon can be personalized editing.
  • the smart terminal when the smart terminal detects that the movement track data corresponding to the center area of the file icon is the same as the position coordinate data of the icon center area of the audio-visual entertainment application and the online shopping application in the main interface, it will automatically trigger the file icon
  • the corresponding file content is displayed in the audio-visual entertainment application and online shopping application, and can execute the corresponding functions in the audio-visual entertainment application and online shopping application, and can perform personalized editing of the video content corresponding to the above-mentioned file icon And to identify and search the item information in the video content.
  • the method further includes the step of storing the file icon, which specifically includes:
  • the file icon When it is detected that the position coordinates of the center area of the file icon have not changed within the preset time range, the file icon is moved to the preset blank area in the current main interface for storage.
  • the user can move the file icon up, down, left, and right arbitrarily in the current page.
  • the file icon is moved to a preset blank area in the current main interface for storage.
  • the corresponding parameters can be set in the configuration file in advance.
  • the preset time of the file icon can be set to 30s, that is, when the smart terminal detects that the position coordinates of the center area of the file icon have not changed within 30s , The file icon is automatically moved to the blank area preset in the current main interface for storage. Therefore, even if the user does not perform the mobile operation or the mobile operation is incorrectly recognized by the system, the terminal device can automatically save the file icon that has been buffered into the preset blank area of the interface, and it can be directly dragged when the file needs to be transferred again. Just drag the icon of the above saved file, which avoids the tedious operation process and consumes a lot of time, and simplifies the operation process of file transfer.
  • the method further includes the step of jumping from the current main interface to the next frame of the main interface, which specifically includes:
  • the user can move the file icon up, down, left, and right arbitrarily in the current page.
  • the smart terminal detects that the file icon is dragged out of the current page, it jumps from the current page to the preset main interface.
  • the smart terminal detects that the file icon is dragged out of the current main interface, it triggers an automatic jump from the current main interface to the next frame of the main interface.
  • the file icon when the user is dragging the file icon to transfer, if the appropriate application type is not found in the current main interface, the file icon can be dragged outside the operation display area of the current main interface to trigger the smart
  • the terminal automatically jumps from the current main interface to the next frame of the main interface.
  • the size range threshold of the operation display area of the main interface can be set in the configuration file in advance.
  • the main interface can also set the corresponding interface display size according to the needs of the user.
  • users can browse different types of application icons without a series of cumbersome menu operations, and realize the rapid transfer of cached files between different applications.
  • the method further includes the step of clearing the file icon in the current interface, which specifically includes:
  • the user can move the file icon up, down, left, and right arbitrarily in the current page.
  • the smart terminal detects that the file icon is dragged out of the current page, it will automatically jump from the current page to the preset main interface. In the main interface, when the smart terminal detects that the dragging of the file icon is released, it will clear the file icon in the current interface.
  • the smart terminal when the smart terminal detects that the drag and drop of the file icon is released, that is, when the user does not need the file icon that has been buffered, the user drags the file icon to the file icon in the main interface. Release, the smart terminal will automatically clear the file icon in the current main interface. This avoids a series of cumbersome menu operations, can realize the management of the transferred files, and greatly simplifies the operation process.
  • a file transmission device including: a detection module 302, a generation module 304, a jump module 306, and a display module 308, wherein:
  • the detection module 302 is configured to browse the current page through the first application program, to detect the duration of pressing the display area in the current page, and to trigger the display area corresponding to the display area when it is detected that the display area in the current page is pressed for a preset time. Page information is buffered.
  • the generating module 304 is used to obtain the type of the buffered page information, and generate a file icon corresponding to the type of the buffered page information in the current page.
  • the jump module 306 is configured to jump from the current page to the preset main interface when it is detected that the file icon is dragged out of the current page.
  • the display module 308 is used to trigger the file content corresponding to the file icon to be performed in the application program that overlaps the central area of the file icon when it is detected in the main interface that the central area of the file icon overlaps with the central area of at least one application icon in the main interface exhibit.
  • the page information includes video information, audio information, picture information, and document information.
  • the generating module 304 is also used to buffer video information, audio information, picture information and document information, and generate corresponding video file icons, audio file icons, picture file icons, and document file icons in the current page.
  • the device further includes: an acquisition module.
  • the acquisition module is used to obtain the horizontal and vertical coordinate information of the central area of the file icon, and track the horizontal and vertical coordinate information of the central area of the file icon in real time.
  • the position coordinate of the central area of the file icon is detected to change, obtain the corresponding to the central area of the file icon
  • the movement trajectory data is used to obtain the horizontal and vertical coordinate information of the central area of the file icon, and track the horizontal and vertical coordinate information of the central area of the file icon in real time.
  • the display module 308 is also used for triggering to set the file content corresponding to the file icon to the file icon when it is detected that the position coordinate data of the at least one application icon center area in the movement track data corresponding to the central area of the file icon is within a preset distance range.
  • the position coordinate data of the icon center area is displayed in the application program within the preset distance range.
  • the device further includes: a storage module.
  • the storage module is used to move the file icon to a preset blank area in the current main interface for storage when it is detected that the position coordinate of the center area of the file icon has not changed within a preset time range.
  • the jump module 306 is further configured to jump from the current main interface to the next frame of the main interface when it is detected in the main interface that the file icon is dragged out of the current main interface.
  • the device further includes: a clearing module.
  • the clear module is used to clear the file icon in the current interface when it is detected that the drag of the file icon is released.
  • Each module in the above-mentioned file transmission device can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
  • a computer device is provided.
  • the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 4.
  • the computer equipment includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, an operator's network, NFC (near field communication) or other technologies.
  • the computer program is executed by the processor to realize a file transfer method.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, or it can be a button, trackball or touchpad set on the housing of the computer equipment , It can also be an external keyboard, touchpad, or mouse.
  • FIG. 4 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor implements the steps of the foregoing method embodiments when the computer program is executed.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical storage.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM may be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种文件传输方法、装置、计算机设备和存储介质。所述方法包括:通过第一应用程序浏览当前页面,当检测到按压所述当前页面中的显示区域持续预设时间时,则触发对所述显示区域对应的页面信息进行缓冲(102);获取已缓冲页面信息的类型,在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标(104);当检测到所述文件图标被拖拽出所述当前页面时,则从所述当前页面跳转至预设的主界面中(106);在所述主界面中,当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示(108)。能够简化不同应用程序之间传输文件的操作流程。

Description

文件传输方法、装置、计算机设备和存储介质 【技术领域】
本申请涉及计算机技术领域,特别是涉及一种文件传输方法、装置、计算机设备和存储介质。
【背景技术】
随着计算机技术的发展,即时通讯应用程序、在线购物应用程序、影音娱乐应用程序等各种类型的应用程序越来越多。当用户需要将自己所需的信息在不同类型的应用程序之间进行传输时,由于不同类型的应用程序的提供者不同,通常需要将当前应用程序中的信息下载到本地进行保存后,打开目标应用程序页面,选择本地文件夹中需要发送的文件进行传输,即可将对应的文件传输到指定的目标应用程序上。
在目前的文件传输方式中,用户需要经过一系列的菜单操作才能将特定应用程序中的信息传输到目标应用程序中,操作比较繁琐,需要耗费大量的时间。
【发明内容】
基于此,有必要针对上述技术问题,提供一种能够简化操作的文件传输方法、装置、计算机设备和存储介质。
一种文件传输方法,所述方法包括:
通过第一应用程序浏览当前页面,当检测到按压所述当前页面中的显示区域持续预设时间时,则触发对所述显示区域对应的页面信息进行缓冲;
获取已缓冲页面信息的类型,在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标;
当检测到所述文件图标被拖拽出所述当前页面时,则从所述当前页面跳转至预设的主界面中;
在所述主界面中,当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示。
在其中一个实施例中,所述页面信息包括视频信息、音频信息、图片信息和文档信息;
所述触发对所述显示区域对应的页面信息进行缓冲包括:
对所述视频信息、音频信息、图片信息和文档信息进行缓冲,在所述当前页面中生成对应的视频文件图标、音频文件图标、图片文件图标和文档文件图标。
在其中一个实施例中,所述当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时包括:
获取所述文件图标中心区域的横纵坐标信息,对所述文件图标中心区域的横纵坐标信息进行实时追踪;
当检测到所述文件图标中心区域的位置坐标发生变化时,则获取与所述文 件图标中心区域对应的移动轨迹数据;
当检测到所述文件图标中心区域对应的移动轨迹数据中与至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域位置坐标数据在预设距离范围内的应用程序中进行展示。
在其中一个实施例中,所述方法还包括:
当检测到所述文件图标中心区域的位置坐标在预设时间范围内没有发生变化时,则将所述文件图标移动至当前所述主界面中预设的空白区域进行储存。
在其中一个实施例中,所述方法还包括:
在所述主界面中,当检测到所述文件图标被拖拽出当前所述主界面时,则从当前所述主界面跳转至下一帧主界面中。
在其中一个实施例中,所述方法还包括:
当检测到所述文件图标的拖拽被释放时,则将所述文件图标在当前界面中进行清除。
一种文件传输装置,所述装置包括:
检测模块,用于通过第一应用程序浏览当前页面,检测按压当前页面中的显示区域持续时间,用于在当检测到按压所述当前页面中的显示区域持续预设时间时,则触发对所述显示区域对应的页面信息进行缓冲;
生成模块,用于获取已缓冲页面信息的类型,并在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标;
跳转模块,用于在检测到所述文件图标被拖拽出所述当前页面时,从所述当前页面跳转至预设的主界面中;
展示模块,用于在所述主界面中在检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示。
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
通过第一应用程序浏览当前页面,当检测到按压所述当前页面中的显示区域持续预设时间时,则触发对所述显示区域对应的页面信息进行缓冲;
获取已缓冲页面信息的类型,在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标;
当检测到所述文件图标被拖拽出所述当前页面时,则从所述当前页面跳转至预设的主界面中;
在所述主界面中,当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
通过第一应用程序浏览当前页面,当检测到按压所述当前页面中的显示区域持续预设时间时,则触发对所述显示区域对应的页面信息进行缓冲;
获取已缓冲页面信息的类型,在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标;
当检测到所述文件图标被拖拽出所述当前页面时,则从所述当前页面跳转至预设的主界面中;
在所述主界面中,当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示。
上述文件传输方法、装置、计算机设备和存储介质,通过第一应用程序浏览当前页面,当检测到按压当前页面中的显示区域持续预设时间时,则触发对显示区域对应的页面信息进行缓冲。获取已缓冲页面信息的类型,在当前页面中生成与已缓冲页面信息的类型对应的文件图标。相对于传统的文件传输方式,当检测到文件图标被拖拽出当前页面时,则自动从当前页面跳转至预设的主界面中。在主界面中,当检测到文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠时,则触发将文件图标对应的文件内容在与文件图标中心区域重叠的应用程序中进行展示。由此使得当用户需要将某一应用程序中的数据发送到多个不同类型的应用程序中时,实时检测用户在第一应用程序中浏览页面时的触发操作,当检测到用户在预设时间内按压当前页面中的显示区域时,则触发对用户按压显示区域对应的页面信息进行缓冲,同时在当前页面中生成对应的文件图标,用户只需要通过拖拽文件图标的方式,即可实现将特定应用程序中的信息传输到其他应用程序中进行展示,避免了繁琐的操作流程和耗费大量的时间,极大的简化了文件传输的操作流程,实现了在不同类型的应用程序之间能够进行快速有效的文件传输。
【附图说明】
图1为本申请中一个实施例中文件传输方法的流程示意图;
图2为本申请中一个实施例中当检测到文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠时步骤的流程示意图;
图3为本申请中一个实施例中文件传输装置的结构框图;
图4为本申请中一个实施例中计算机设备的内部结构图。
【具体实施方式】
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
在一个实施例中,如图1所示,提供了一种文件传输方法,本实施例以该方法应用于终端进行举例说明,终端可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。可以理解的是,该方法也可以应用于服务器,还可以应用于包括终端和服务器的系统,并通过终端和服务器的交互实现。本实施例中,该方法包括以下步骤:
步骤102,通过第一应用程序浏览当前页面,当检测到按压当前页面中的显 示区域持续预设时间时,则触发对显示区域对应的页面信息进行缓冲。
智能终端(也可被称为“智能终端设备”,“终端设备”)是一类嵌入式计算机系统设备,软件结构可以分为系统软件和应用软件。在智能终端的软件结构中,系统软件主要是操作系统和中间件,常见的智能终端操作系统有Android OS,IOS,Linux,Windows CE,Symbian OS等。使用不同操作系统智能终端的用户均可以通过智能终端中的应用市场界面下载多种类型的应用程序,可以包括系统应用程序,桌面应用程序,驱动应用程序,网络应用程序,手机应用程序,物联网应用程序等。从用户使用应用程序的功能划分,不同类型的应用程序又可以包括即时通讯应用程序、在线购物应用程序、影音娱乐应用程序等。
具体的,用户可以通过点选智能终端设备主界面中的某个特定功能的应用程序,启动该应用程序进入与该应用程序对应的页面中。用户通过该应用程序浏览页面时,当智能终端检测到用户通过按压显示屏当前页面中特定显示区域持续预设时间时,则智能终端触发对该显示区域对应的页面信息进行缓冲。
其中,上述第一应用程序可以是多种类型应用程序中任意的一种,可以预先在配置文件中设置检测用户按压页面显示区域的时间,例如,可以将预设时间设置为3s,即当智能终端检测到用户接触显示屏按压当前页面中特定显示区域的时间达到3s时,则触发对该用户按压的显示区域对应的页面信息进行缓冲。
用户可以通过触摸智能终端显示屏中的指定页面中的信息内容,并对该指定信息内容对应的显示区域进行持续预设时间按压时,即可完成对当前页面该显示区域内信息的缓冲。例如,用户可以通过点选智能终端设备主界面中的视频应用程序,启动该视频应用程序,并进入与该视频程序对应的页面中。当用户在浏览该视频程序页面时,用户想要将其中某个视频内容传输到其他应用程序中展示,则用户可以通过按压显示屏当前显示页面中与该视频信息对应的显示区域,即用户可以通过长按该视频文件对应的显示区域数秒等待缓冲完成。
步骤104,获取已缓冲页面信息的类型,在当前页面中生成与已缓冲页面信息的类型对应的文件图标。
当智能终端检测到用户按压显示屏当前页面中的特定显示区域持续预设时间时,则触发对用户所按压的显示区域对应的页面信息进行缓冲。智能终端获取上述已缓冲的页面信息类型,在当前页面中生成与已缓冲页面信息类型对应的文件图标。
具体的,用户可以通过长按显示屏中特定显示区域的方式,选中当前页面中特定显示区域的文件信息,当该文件信息被选中且缓冲完成时,智能终端获取该文件信息对应的信息类型,同时在当前页面中生成与该缓冲页面信息类型对应的文件图标,例如可以自动生成以用户按压区域为中心,半径范围为预设尺寸的锁定状态的小图标,用户可以对上述生成的小图标进行上下左右任意范围内的移动。其中,页面信息可以包括不同页面中的多种类型信息,例如文字信息、图片信息等。文件图标的样式也可以根据用户需求预先设置为圆形图标、矩形图标以及自定义形状的图标等。
步骤106,当检测到文件图标被拖拽出当前页面时,则从当前页面跳转至预 设的主界面中。
在当前页面中生成与已缓冲页面信息类型对应的文件图标之后,用户可以对该文件图标在当前页面中进行任意上下左右移动。当智能终端检测到上述文件图标被拖拽出当前页面时,则从当前页面跳转至预设的主界面中。
具体的,用户可以对当前应用程序页面中任意区域的内容进行点选,用户也可以对当前应用程序页面中的全部信息进行选定,当智能终端检测到用户按压当前页面的显示区域持续预设时间时,则触发终端对用户所按压的显示区域内的页面信息进行缓冲。
进一步的,智能终端根据预先设置好的页面信息类型与文件图标的对应关系,在当前应用程序的页面中生成对应的文件图标。当智能终端检测到该文件图标被用户拖拽出当前应用程序的页面操作显示区域之外时,则终端自动将当前页面跳转至预设主界面中。其中,可以通过预先在配置文件中设置不同类型应用程序页面的操作显示区域的边界尺寸阈值,当用户将文件图标移动至上述预设应用程序页面的操作显示区域范围之外时,即超过该预设尺寸范围时,则终端自动将当前页面跳转至设置好的主界面中。其中,主界面也可以根据用户的需求设置对应的主界面显示尺寸。
步骤108,在主界面中,当检测到文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠时,则触发将文件图标对应的文件内容在与文件图标中心区域重叠的应用程序中进行展示。
当智能终端检测到文件图标被用户拖拽出当前页面时,则智能终端自动从当前应用程序页面跳转至预设的主界面中。在主界面中,当智能终端检测到文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠时,则触发将文件图标对应的文件内容在与文件图标中心区域重叠的应用程序中进行展示。
具体的,在主界面中,根据用户自身偏好设置,可以同时显示多个不同应用程序对应的图标,例如,在IOS操作系统的智能终端设备中,在主界面中不同类型应用程序的图标默认按照正方形的小图标显示在主界面的屏幕中,该图标的中心区域坐标即为正方形图标中心点的坐标。当智能终端检测到上述文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠,即文件图标中心区域的坐标参数与主界面中另一个应用程序图标中心区域的坐标参数在预设距离范围内时,则自动触发将该文件图标对应的文件内容,在处于文件图标中心区域的坐标参数的预设距离范围内的应用程序中进行展示。例如,当智能终端检测到上述文件图标中心区域与主界面中的即时通讯应用程序图标中心区域重叠,即文件图标中心区域的坐标参数与主界面中即时通讯应用程序图标中心区域的坐标参数在预设距离范围内时,则触发自动将该文件内容在即时通讯应用程序中进行显示。
进一步的,用户可以根据即时通讯应用程序的功能,对上述文件图标对应的内容执行对应的操作,例如,可以通过即时通讯应用程序中的分享功能,将上述文件图标对应的内容直接分享给通讯录中的好友或直接发布在朋友圈中。
本实施例中,通过第一应用程序浏览当前页面,当检测到按压当前页面中的显示区域持续预设时间时,则触发对显示区域对应的页面信息进行缓冲。获 取已缓冲页面信息的类型,在当前页面中生成与已缓冲页面信息的类型对应的文件图标。当检测到文件图标被拖拽出当前页面时,则自动从当前页面跳转至预设的主界面中。在主界面中,当检测到文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠时,则触发将文件图标对应的文件内容在与文件图标中心区域重叠的应用程序中进行展示。
由此使得当用户需要将某一应用程序中的数据发送到多个不同类型的应用程序中时,实时检测用户在第一应用程序中浏览页面时的触发操作,当检测到用户在预设时间内按压当前页面中的显示区域时,则触发对用户按压显示区域对应的页面信息进行缓冲,同时在当前页面中生成对应的文件图标,用户只需要通过拖拽文件图标的方式,即可实现将特定应用程序中的信息传输到其他应用程序中进行展示。
相对于传统的文件传输方式,此方法避免了繁琐的操作流程和耗费大量的时间,极大的简化了文件传输的操作流程,实现了在不同类型的应用程序之间能够进行快速有效的文件传输。
在一个实施例中,页面信息包括视频信息、音频信息、图片信息和文档信息。
步骤S102中,触发对显示区域对应的页面信息进行缓冲的步骤包括:
对视频信息、音频信息、图片信息和文档信息进行缓冲,在当前页面中生成对应的视频文件图标、音频文件图标、图片文件图标和文档文件图标。
智能终端检测到用户按压显示屏当前页面中的特定显示区域持续预设时间时,则触发对用户按压显示区域对应的页面信息进行缓冲,智能终端获取上述已缓冲页面信息的类型,在当前页面中生成与已缓冲页面信息类型对应的文件图标。
其中,页面信息可以包括视频信息、音频信息、图片信息和文档信息,当智能终端获取到缓冲的页面信息类型分别为视频信息、音频信息、图片信息和文档信息时,则在当前页面中自动生成对应的视频文件图标、音频文件图标、图片文件图标和文档文件图标。
具体的,当智能终端获取到已缓冲的页面信息类型为视频信息、音频信息、图片信息和文档信息的混合信息时,则在当前页面中自动生成视频、音频、图片和文档混合的文件图标。该混合文件图标可以为自定义任意形状大小的文件图标。
由此使得用户通过在当前应用程序中生成的图标形状大小尺寸就可以直观的判断已缓存的文件类型,避免了繁琐的一系列的菜单操作,即可实现对不同类型的文件进行快速传输。
在一个实施例中,如图2所示,步骤S108中,当检测到文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠时的步骤包括:
步骤202,获取文件图标中心区域的横纵坐标信息,对文件图标中心区域的横纵坐标信息进行实时追踪。
步骤204,当检测到文件图标中心区域的位置坐标发生变化时,则获取与文件图标中心区域对应的移动轨迹数据。
步骤206,当检测到文件图标中心区域对应的移动轨迹数据中与至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内时,则触发将文件图标对应的文件内容在与文件图标中心区域位置坐标数据在预设距离范围内的应用程序中进行展示。
在主界面中,当智能终端检测到文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠时,则触发将文件图标对应的文件内容在与文件图标中心区域重叠的应用程序中进行展示。
具体的,智能终端获取上述文件图标中心区域的横纵坐标信息,对该文件图标中心区域的横纵坐标信息进行实时追踪。当智能终端检测到文件图标中心区域的位置坐标发生变化时,则获取与该文件图标中心区域对应的移动轨迹数据。当智能终端检测到该文件图标中心区域对应的移动轨迹数据中与至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内时,则触发将文件图标对应的文件内容在位于文件图标中心区域位置坐标数据的预设距离范围内的应用程序中进行展示。
进一步地,智能终端可以利用预先配置好的函数程序对当前页面中生成的文件图标中心区域的位置信息进行求解,得到与该文件图标中心区域对应的横纵坐标信息。
进一步地,智能终端可以利用预先配置好的函数程序对该文件图标中心区域的横纵坐标信息进行实时追踪,例如,终端可以利用均值漂移法和迭代法对该文件图标中心区域的横纵坐标信息进行实时追踪。当智能终端检测到该文件图标中心区域的位置坐标发生变化时,则智能终端对该文件图标中心区域连续移动的横纵坐标信息进行记录,得到与该文件图标中心区域对应的移动轨迹数据。当智能终端检测到上述文件图标中心区域对应的移动轨迹数据中与主界面中至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内或者相同时,则自动触发将该文件图标对应的文件内容在与该文件图标中心区域坐标数据在预设距离范围内或者相同的应用程序中进行展示。例如,当智能终端检测到上述文件图标中心区域对应的移动轨迹数据中与主界面中影音娱乐应用程序图标中心区域的位置坐标数据相同时,则自动触发将该文件图标对应的文件内容在影音娱乐应用程序中进行展示,并可以执行影音娱乐应用程序中对应的功能,即可以对上述文件图标对应的视频内容进行个性化的剪辑。
此外,当智能终端检测到上述文件图标中心区域对应的移动轨迹数据中先后与主界面中影音娱乐应用程序以及在线购物应用程序的图标中心区域的位置坐标数据相同时,则自动触发将该文件图标对应的文件内容分别在影音娱乐应用程序以及在线购物应用程序中进行展示,并可以执行影音娱乐应用程序以及在线购物应用程序中对应的功能,可以对上述文件图标对应的视频内容进行个性化的剪辑以及对视频内容中的物品信息进行识别搜索。
由此使得用户只需将文件图标拖拽到不同类型的应用程序图标对应的中心区域时,即可实现该文件在不同类型的应用程序之间快速有效的传输,避免了繁琐的操作流程和耗费大量的时间,极大的简化了文件传输的操作流程。
在其中一个实施例中,该方法还包括将文件图标进行储存的步骤,具体包 括:
当检测到文件图标中心区域的位置坐标在预设时间范围内没有发生变化时,则将文件图标移动至当前主界面中预设的空白区域进行储存。
在当前页面中生成与已缓冲页面信息类型对应的文件图标之后,用户可以对该文件图标在当前页面中进行任意上下左右移动。当智能终端检测到上述文件图标中心区域的位置坐标在预设时间范围内没有发生变化时,则将文件图标移动至当前主界面中预设的空白区域进行储存。
具体的,可以预先在配置文件中设置好对应的参数,例如可以将文件图标停留的预设时间设置为30s,即当智能终端检测到上述文件图标中心区域的位置坐标在30s内没有发生变化时,则自动将文件图标移动至当前主界面中预设的空白区域进行储存。因此即使用户没有进行移动操作或移动操作有误没有被系统有效识别时,终端设备也能够自动将已缓冲生成的文件图标保存到预先设置的界面空白区域中,需要再次进行文件传输时可直接拖拽上述已保存的文件图标即可,避免了繁琐的操作流程和耗费大量的时间,简化了文件传输的操作流程。
在一个实施例中,该方法还包括从当前主界面跳转至下一帧主界面中的步骤,具体包括:
在主界面中,当检测到文件图标被拖拽出当前主界面时,则从当前主界面跳转至下一帧主界面中。
在当前页面中生成与已缓冲页面信息类型对应的文件图标之后,用户可以对该文件图标在当前页面中进行任意上下左右移动。当智能终端检测到文件图标被拖拽出当前页面时,则从当前页面跳转至预设的主界面中。在主界面中,当智能终端检测到文件图标被拖拽出当前主界面时,则触发从当前主界面自动跳转至下一帧主界面中。
具体的,当用户在拖拽该文件图标进行传输时,如果在当前主界面中没有找到合适的应用程序类型,即可通过拖拽该文件图标到当前主界面操作显示区域之外,则触发智能终端从当前主界面自动跳转至下一帧主界面中。其中,可以通过预先在配置文件中设置主界面的操作显示区域尺寸范围阈值,当用户将文件图标移动到主界面操作显示区域范围之外,即超过该预设尺寸范围时,则终端从当前主界面自动跳转至下一帧主界面中。
其中,主界面也可以根据用户的需求设置对应的界面显示尺寸。由此使得用户无需繁琐的一系列的菜单操作,即可实现浏览不同类型的应用程序图标,并实现将已缓存的文件在不同应用程序之间快速传输。
在一个实施例中,该方法还包括将文件图标在当前界面中进行清除的步骤,具体包括:
当检测到文件图标的拖拽被释放时,则将文件图标在当前界面中进行清除。
在当前页面中生成与已缓冲页面信息类型对应的文件图标之后,用户可以对该文件图标在当前页面中进行任意上下左右移动。当智能终端检测到上述文件图标被拖拽出当前页面时,则自动从当前页面跳转至预设的主界面中。在主界面中,当智能终端检测到上述文件图标的拖拽被释放时,则将文件图标在当前界面中进行清除。
具体的,在主界面中,当智能终端检测到上述文件图标的拖拽被释放时,即用户当前不需要上述已缓冲生成的文件图标时,用户通过将上述拖拽到主界面中的文件图标进行释放,则智能终端自动将该文件图标在当前主界面中进行清除。由此避免了繁琐的一系列的菜单操作,即可实现对传输文件的管理,极大的简化了操作流程。
应该理解的是,虽然图1-2的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图1-2中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图3所示,提供了一种文件传输装置,包括:检测模块302、生成模块304、跳转模块306和展示模块308,其中:
检测模块302,用于通过第一应用程序浏览当前页面,检测按压当前页面中的显示区域持续时间,用于在检测到按压当前页面中的显示区域持续预设时间时,触发对显示区域对应的页面信息进行缓冲。
生成模块304,用于获取已缓冲页面信息的类型,并在当前页面中生成与已缓冲页面信息的类型对应的文件图标。
跳转模块306,用于在检测到文件图标被拖拽出当前页面时,从当前页面跳转至预设的主界面中。
展示模块308,用于在主界面中检测到文件图标中心区域与主界面中至少一个应用程序图标中心区域重叠时,触发将文件图标对应的文件内容在与文件图标中心区域重叠的应用程序中进行展示。
在一个实施例中,页面信息包括视频信息、音频信息、图片信息和文档信息。生成模块304还用于对视频信息、音频信息、图片信息和文档信息进行缓冲,并在当前页面中生成对应的视频文件图标、音频文件图标、图片文件图标和文档文件图标。
在一个实施例中,该装置还包括:获取模块。
获取模块用于获取文件图标中心区域的横纵坐标信息,对文件图标中心区域的横纵坐标信息进行实时追踪,在检测到文件图标中心区域的位置坐标发生变化时,获取与文件图标中心区域对应的移动轨迹数据。
展示模块308还用于在检测到文件图标中心区域对应的移动轨迹数据中与至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内时,触发将文件图标对应的文件内容在与文件图标中心区域位置坐标数据在预设距离范围内的应用程序中进行展示。
在一个实施例中,该装置还包括:储存模块。
储存模块用于在检测到文件图标中心区域的位置坐标在预设时间范围内没有发生变化时,将文件图标移动至当前主界面中预设的空白区域进行储存。
在一个实施例中,跳转模块306还用于在主界面中检测到文件图标被拖拽 出当前主界面时,从当前主界面跳转至下一帧主界面中。
在一个实施例中,该装置还包括:清除模块。
清除模块用于在检测到文件图标的拖拽被释放时,将文件图标在当前界面中进行清除。
关于文件传输装置的具体限定可以参见上文中对于文件传输方法的限定,在此不再赘述。上述文件传输装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图4所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种文件传输方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述各个方法实施例的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器(Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特 征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (24)

  1. 一种文件传输方法,所述方法包括:
    通过第一应用程序浏览当前页面,当检测到按压所述当前页面中的显示区域持续预设时间时,则触发对所述显示区域对应的页面信息进行缓冲;
    获取已缓冲页面信息的类型,在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标;
    当检测到所述文件图标被拖拽出所述当前页面时,则从所述当前页面跳转至预设的主界面中;
    在所述主界面中,当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示。
  2. 根据权利要求1所述的方法,其中,所述页面信息包括视频信息、音频信息、图片信息和文档信息;所述触发对所述显示区域对应的页面信息进行缓冲包括:
    对所述视频信息、音频信息、图片信息和文档信息进行缓冲,在所述当前页面中生成对应的视频文件图标、音频文件图标、图片文件图标和文档文件图标。
  3. 根据权利要求1所述的方法,其中,所述当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时包括:
    获取所述文件图标中心区域的横纵坐标信息,对所述文件图标中心区域的横纵坐标信息进行实时追踪;
    当检测到所述文件图标中心区域的位置坐标发生变化时,则获取与所述文件图标中心区域对应的移动轨迹数据;
    当检测到所述文件图标中心区域对应的移动轨迹数据中与至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域位置坐标数据在预设距离范围内的应用程序中进行展示。
  4. 根据权利要求3所述的方法,其中,所述方法还包括:
    当检测到所述文件图标中心区域的位置坐标在预设时间范围内没有发生变化时,则将所述文件图标移动至当前所述主界面中预设的空白区域进行储存。
  5. 根据权利要求1所述的方法,其中,所述方法还包括:
    在所述主界面中,当检测到所述文件图标被拖拽出当前所述主界面时,则从当前所述主界面跳转至下一帧主界面中。
  6. 根据权利要求5所述的方法,其中,所述方法还包括:
    当检测到所述文件图标的拖拽被释放时,则将所述文件图标在当前界面中进行清除。
  7. 一种文件传输装置,所述装置包括:
    检测模块,用于通过第一应用程序浏览当前页面,检测按压当前页面中的显示区域持续时间,用于在检测到按压所述当前页面中的显示区域持续预设时 间时,触发对所述显示区域对应的页面信息进行缓冲;
    生成模块,用于获取已缓冲页面信息的类型,并在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标;
    跳转模块,用于在检测到所述文件图标被拖拽出所述当前页面时,从所述当前页面跳转至预设的主界面中;
    展示模块,用于在所述主界面中检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示。
  8. 根据权利要求7所述的文件传输装置,其中,所述装置还包括:
    获取模块,用于获取所述文件图标中心区域的横纵坐标信息,对所述文件图标中心区域的横纵坐标信息进行实时追踪;在检测到所述文件图标中心区域的位置坐标发生变化时,获取与所述文件图标中心区域对应的移动轨迹数据;
    展示模块,用于在检测到所述文件图标中心区域对应的移动轨迹数据中与至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内时,触发将所述文件图标对应的文件内容在与所述文件图标中心区域位置坐标数据在预设距离范围内的应用程序中进行展示。
  9. 根据权利要求7所述的文件传输装置,其中,所述页面信息包括视频信息、音频信息、图片信息和文档信息;所述检测模块用于对所述视频信息、音频信息、图片信息和文档信息进行缓冲,在所述当前页面中生成对应的视频文件图标、音频文件图标、图片文件图标和文档文件图标。
  10. 根据权利要求9所述的文件传输装置,其中,所述文件传输装置用于在检测到所述文件图标中心区域的位置坐标在预设时间范围内没有发生变化时,将所述文件图标移动至当前所述主界面中预设的空白区域进行储存。
  11. 根据权利要求7所述的文件传输装置,其中,所述文件传输装置用于在所述主界面中检测到所述文件图标被拖拽出当前所述主界面时,从当前所述主界面跳转至下一帧主界面中。
  12. 根据权利要求11所述的文件传输装置,其中,所述文件传输装置用于在检测到所述文件图标的拖拽被释放时,将所述文件图标在当前界面中进行清除。
  13. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现文件传输方法,所述方法包括:
    通过第一应用程序浏览当前页面,当检测到按压所述当前页面中的显示区域持续预设时间时,则触发对所述显示区域对应的页面信息进行缓冲;
    获取已缓冲页面信息的类型,在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标;
    当检测到所述文件图标被拖拽出所述当前页面时,则从所述当前页面跳转至预设的主界面中;
    在所述主界面中,当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示。
  14. 根据权利要求13所述的计算机设备,其中,所述页面信息包括视频信息、 音频信息、图片信息和文档信息;所述触发对所述显示区域对应的页面信息进行缓冲包括:
    对所述视频信息、音频信息、图片信息和文档信息进行缓冲,在所述当前页面中生成对应的视频文件图标、音频文件图标、图片文件图标和文档文件图标。
  15. 根据权利要求13所述的计算机设备,其中,所述当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时包括:
    获取所述文件图标中心区域的横纵坐标信息,对所述文件图标中心区域的横纵坐标信息进行实时追踪;
    当检测到所述文件图标中心区域的位置坐标发生变化时,则获取与所述文件图标中心区域对应的移动轨迹数据;
    当检测到所述文件图标中心区域对应的移动轨迹数据中与至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域位置坐标数据在预设距离范围内的应用程序中进行展示。
  16. 根据权利要求15所述的计算机设备,其中,所述方法还包括:
    当检测到所述文件图标中心区域的位置坐标在预设时间范围内没有发生变化时,则将所述文件图标移动至当前所述主界面中预设的空白区域进行储存。
  17. 根据权利要求13所述的计算机设备,其中,所述方法还包括:
    在所述主界面中,当检测到所述文件图标被拖拽出当前所述主界面时,则从当前所述主界面跳转至下一帧主界面中。
  18. 根据权利要求17所述的计算机设备,其中,所述方法还包括:
    当检测到所述文件图标的拖拽被释放时,则将所述文件图标在当前界面中进行清除。
  19. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现文件传输方法,所述方法包括:
    通过第一应用程序浏览当前页面,当检测到按压所述当前页面中的显示区域持续预设时间时,则触发对所述显示区域对应的页面信息进行缓冲;
    获取已缓冲页面信息的类型,在所述当前页面中生成与所述已缓冲页面信息的类型对应的文件图标;
    当检测到所述文件图标被拖拽出所述当前页面时,则从所述当前页面跳转至预设的主界面中;
    在所述主界面中,当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域重叠的应用程序中进行展示。
  20. 根据权利要求19所述的计算机可读存储介质,其中,所述页面信息包括视频信息、音频信息、图片信息和文档信息;所述触发对所述显示区域对应的页面信息进行缓冲包括:
    对所述视频信息、音频信息、图片信息和文档信息进行缓冲,在所述当前页面中生成对应的视频文件图标、音频文件图标、图片文件图标和文档文件图 标。
  21. 根据权利要求19所述的计算机可读存储介质,其中,所述当检测到所述文件图标中心区域与所述主界面中至少一个应用程序图标中心区域重叠时包括:
    获取所述文件图标中心区域的横纵坐标信息,对所述文件图标中心区域的横纵坐标信息进行实时追踪;
    当检测到所述文件图标中心区域的位置坐标发生变化时,则获取与所述文件图标中心区域对应的移动轨迹数据;
    当检测到所述文件图标中心区域对应的移动轨迹数据中与至少一个应用程序图标中心区域的位置坐标数据在预设距离范围内时,则触发将所述文件图标对应的文件内容在与所述文件图标中心区域位置坐标数据在预设距离范围内的应用程序中进行展示。
  22. 根据权利要求21所述的计算机可读存储介质,其中,所述方法还包括:
    当检测到所述文件图标中心区域的位置坐标在预设时间范围内没有发生变化时,则将所述文件图标移动至当前所述主界面中预设的空白区域进行储存。
  23. 根据权利要求19所述的计算机可读存储介质,其中,所述方法还包括:
    在所述主界面中,当检测到所述文件图标被拖拽出当前所述主界面时,则从当前所述主界面跳转至下一帧主界面中。
  24. 根据权利要求23所述的计算机可读存储介质,其中,所述方法还包括:
    当检测到所述文件图标的拖拽被释放时,则将所述文件图标在当前界面中进行清除。
PCT/CN2021/098158 2020-06-12 2021-06-03 文件传输方法、装置、计算机设备和存储介质 WO2021249279A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010532961.2A CN113805737B (zh) 2020-06-12 2020-06-12 文件传输方法、装置、计算机设备和存储介质
CN202010532961.2 2020-06-12

Publications (1)

Publication Number Publication Date
WO2021249279A1 true WO2021249279A1 (zh) 2021-12-16

Family

ID=78845265

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/098158 WO2021249279A1 (zh) 2020-06-12 2021-06-03 文件传输方法、装置、计算机设备和存储介质

Country Status (2)

Country Link
CN (1) CN113805737B (zh)
WO (1) WO2021249279A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389860A (zh) * 2012-05-07 2013-11-13 观致汽车有限公司 交互系统及其交互方法
CN106021032A (zh) * 2016-05-31 2016-10-12 宇龙计算机通信科技(深圳)有限公司 数据备份方法、数据备份装置及移动终端
CN108924035A (zh) * 2018-06-27 2018-11-30 维沃移动通信有限公司 一种文件分享方法及终端
US20190369826A1 (en) * 2017-07-18 2019-12-05 Google Llc Graphical icon manipulation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389860A (zh) * 2012-05-07 2013-11-13 观致汽车有限公司 交互系统及其交互方法
CN106021032A (zh) * 2016-05-31 2016-10-12 宇龙计算机通信科技(深圳)有限公司 数据备份方法、数据备份装置及移动终端
US20190369826A1 (en) * 2017-07-18 2019-12-05 Google Llc Graphical icon manipulation
CN108924035A (zh) * 2018-06-27 2018-11-30 维沃移动通信有限公司 一种文件分享方法及终端

Also Published As

Publication number Publication date
CN113805737A (zh) 2021-12-17
CN113805737B (zh) 2023-11-14

Similar Documents

Publication Publication Date Title
US11797249B2 (en) Method and apparatus for providing lock-screen
EP3091426B1 (en) User terminal device providing user interaction and method therefor
US20170336938A1 (en) Method and apparatus for controlling content using graphical object
US11687163B2 (en) Apparatus, system, and method for transferring data from a terminal to an electromyography (EMG) device
JP6228676B2 (ja) 接続状態プロンプティング方法および装置
US10299110B2 (en) Information transmission method and system, device, and computer readable recording medium thereof
WO2020215957A1 (zh) 界面显示方法及终端设备
US20150143291A1 (en) System and method for controlling data items displayed on a user interface
WO2020259024A1 (zh) 图标分类方法、移动终端及计算机可读存储介质
WO2019128923A1 (zh) 一种控制被选中对象在应用界面中显示的方法及终端设备
WO2022017107A1 (zh) 信息处理方法、装置、计算机设备及存储介质
WO2022194004A1 (zh) 应用图标整理方法、装置和电子设备
WO2022105425A1 (zh) 显示方法、电子设备及可读存储介质
KR20140089245A (ko) 더블 터치 제스처를 이용한 단말기 제어 방법 및 그 단말기
KR20140018661A (ko) 이동 단말기 및 그 제어방법
US20220335094A1 (en) Page processing method and apparatus, storage medium, and terminal device
KR20160073714A (ko) 전자 기기 및 이의 웹 페이지 디스플레이 방법
WO2017008646A1 (zh) 一种在触控终端上选择多个目标的方法和设备
US9674686B2 (en) Apparatus and method for pairing mobile devices
WO2019047129A1 (zh) 一种移动应用图标的方法及终端
CN114065278A (zh) 权限控制方法、智能终端及存储介质
WO2021104268A1 (zh) 内容分享方法及电子设备
WO2021249279A1 (zh) 文件传输方法、装置、计算机设备和存储介质
CN110875975A (zh) 一种信息处理方法及设备
CN114741361A (zh) 处理方法、智能终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21821957

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23.03.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21821957

Country of ref document: EP

Kind code of ref document: A1