CN113805737A - File transmission method and device, computer equipment and storage medium - Google Patents
File transmission method and device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113805737A CN113805737A CN202010532961.2A CN202010532961A CN113805737A CN 113805737 A CN113805737 A CN 113805737A CN 202010532961 A CN202010532961 A CN 202010532961A CN 113805737 A CN113805737 A CN 113805737A
- Authority
- CN
- China
- Prior art keywords
- file icon
- file
- icon
- central area
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000005540 biological transmission Effects 0.000 title abstract description 20
- 230000001960 triggered effect Effects 0.000 claims abstract description 25
- 230000009191 jumping Effects 0.000 claims abstract description 13
- 238000012546 transfer Methods 0.000 claims description 14
- 230000003139 buffering effect Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 5
- 230000006870 function Effects 0.000 description 7
- 230000008859 change Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/04817—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0486—Drag-and-drop
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
The application relates to a file transmission method, a file transmission device, computer equipment and a storage medium. The method comprises the following steps: when a current page is browsed through a first application program and when the situation that a display area in the current page is pressed for a preset time is detected, page information corresponding to the display area is triggered to be buffered; acquiring the type of buffered page information, and generating a file icon corresponding to the type of the buffered page information in the current page; when the file icon is detected to be dragged out of the current page, jumping from the current page to a preset main interface; in the main interface, when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the central area of the file icon. By adopting the method, the operation flow of transmitting the files among different application programs can be simplified.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a file transfer method, an apparatus, a computer device, and a storage medium.
Background
With the development of computer technology, various types of applications such as instant messaging applications, online shopping applications, video entertainment applications, and the like are increasing. Especially, when a user needs to transmit information required by the user among different types of application programs, because providers of the different types of application programs are different, in a conventional manner, the user usually needs to download the information in the current application program to a local for storage, open a target application program page, select a file to be sent in a local folder for transmission, and then transmit the corresponding file to a specified target application program.
However, in the current file transmission method, a user needs to perform a series of menu operations to transmit information in a specific application program to a target application program, which is cumbersome to operate and requires a lot of time.
Disclosure of Invention
In view of the above, it is necessary to provide a file transfer method, an apparatus, a computer device, and a storage medium capable of simplifying operations in view of the above technical problems.
A method of file transfer, the method comprising:
when a current page is browsed through a first application program and when the situation that a display area in the current page is pressed for a preset time is detected, page information corresponding to the display area is triggered to be buffered;
acquiring the type of buffered page information, and generating a file icon corresponding to the type of the buffered page information in the current page;
when the file icon is detected to be dragged out of the current page, jumping from the current page to a preset main interface;
in the main interface, when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the central area of the file icon.
In one embodiment, the triggering to buffer the page information corresponding to the display area includes:
the page information comprises video information, audio information, picture information and document information;
and buffering the video information, the audio information, the picture information and the document information, and generating a corresponding video file icon, an audio file icon, a picture file icon and a document file icon in the current page.
In one embodiment, the detecting that the file icon center region overlaps with at least one application icon center region in the main interface includes:
acquiring the horizontal and vertical coordinate information of the central area of the file icon, and tracking the horizontal and vertical coordinate information of the central area of the file icon in real time;
when the position coordinates of the central area of the file icon are detected to be changed, acquiring moving track data corresponding to the central area of the file icon;
and when detecting that the position coordinate data of the central area of the at least one application program icon in the movement track data corresponding to the central area of the file icon is within a preset distance range, triggering to display the file content corresponding to the file icon in the application program within the preset distance range from the position coordinate data of the central area of the file icon.
In one embodiment, the method further comprises:
and when the position coordinates of the central area of the file icon are not detected to be changed within a preset time range, moving the file icon to a blank area preset in the current main interface for storage.
In one embodiment, the method further comprises:
in the main interface, when the file icon is detected to be dragged out of the current main interface, jumping from the current main interface to the next frame of main interface.
In one embodiment, the method further comprises:
and when the dragging of the file icon is detected to be released, clearing the file icon in the current interface.
A file transfer apparatus, the apparatus comprising:
the device comprises a detection module, a display module and a buffer module, wherein the detection module is used for triggering to buffer page information corresponding to a display area when detecting that the display area in a current page is pressed for a preset time when the current page is browsed through a first application program;
the generating module is used for acquiring the type of the buffered page information and generating a file icon corresponding to the type of the buffered page information in the current page;
the skipping module is used for skipping from the current page to a preset main interface when the file icon is detected to be dragged out of the current page;
and the display module is used for triggering to display the file content corresponding to the file icon in the application program overlapped with the central area of the file icon when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
when a current page is browsed through a first application program and when the situation that a display area in the current page is pressed for a preset time is detected, page information corresponding to the display area is triggered to be buffered;
acquiring the type of buffered page information, and generating a file icon corresponding to the type of the buffered page information in the current page;
when the file icon is detected to be dragged out of the current page, jumping from the current page to a preset main interface;
in the main interface, when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the central area of the file icon.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
when a current page is browsed through a first application program and when the situation that a display area in the current page is pressed for a preset time is detected, page information corresponding to the display area is triggered to be buffered;
acquiring the type of buffered page information, and generating a file icon corresponding to the type of the buffered page information in the current page;
when the file icon is detected to be dragged out of the current page, jumping from the current page to a preset main interface;
in the main interface, when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the central area of the file icon.
According to the file transmission method, the file transmission device, the computer equipment and the storage medium, when the first application program browses the current page and the pressing of the display area in the current page is detected to be continued for the preset time, the buffering of the page information corresponding to the display area is triggered. And acquiring the type of the buffered page information, and generating a file icon corresponding to the type of the buffered page information in the current page. Compared with the traditional file transmission mode, when the file icon is detected to be dragged out of the current page, the current page is automatically jumped to a preset main interface. In the main interface, when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the central area of the file icon. Therefore, when a user needs to send data in a certain application program to a plurality of application programs of different types, the triggering operation of the user in browsing the page in the first application program is detected in real time, when the user is detected to press the display area in the current page within the preset time, the page information corresponding to the display area pressed by the user is triggered to be buffered, meanwhile, the corresponding file icon is generated in the current page, the user can transmit the information in the specific application program to other application programs for displaying only by dragging the file icon, the complex operation flow and the large time consumption are avoided, the operation flow of file transmission is greatly simplified, and the rapid and effective file transmission among the application programs of different types is realized.
Drawings
FIG. 1 is a flowchart illustrating a file transfer method according to an embodiment;
FIG. 2 is a flowchart illustrating steps performed in one embodiment when a center region of a file icon is detected to overlap with a center region of at least one application icon in a host interface;
FIG. 3 is a block diagram showing the construction of a file transfer apparatus according to an embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a file transfer method is provided, and this embodiment is exemplified by applying the method to a terminal, which may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. It is understood that the method can also be applied to a server, and can also be applied to a system comprising a terminal and a server, and is realized through the interaction of the terminal and the server. In this embodiment, the method includes the steps of:
The intelligent terminal is one kind of embedded computer system equipment, and the software structure may be divided into system software and application software. In the software structure of the intelligent terminal, system software mainly comprises an operating system and middleware, and common operating systems of the intelligent terminal comprise Android OS, IOS, Linux, Windows CE, Symbian OS and the like. Users using different operating system intelligent terminals can download various types of application programs through application market interfaces in the intelligent terminals, and the application programs can include system application programs, desktop application programs, driving application programs, network application programs, mobile phone application programs, Internet of things application programs and the like. From the functional division of the user's usage of the application, the different types of applications may include, in turn, instant messaging applications, online shopping applications, video and audio entertainment applications, and the like. Specifically, a user can start an application program into a page corresponding to the application program by clicking the application program with a specific function in the main interface of the intelligent terminal device. When a user browses a page through the application program, when the intelligent terminal detects that the user continuously presses a specific display area in the current page of the display screen for a preset time, the intelligent terminal triggers to buffer page information corresponding to the display area. The first application program may be any one of multiple types of application programs, and the time for detecting that the user presses the page display area may be set in the configuration file in advance, for example, the preset time may be set to 3s, that is, when the intelligent 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, the buffering of the page information corresponding to the display area pressed by the user is triggered. The user can touch the information content in the appointed page in the display screen of the intelligent terminal and can finish the buffering of the information in the display area of the current page when the display area corresponding to the appointed information content is pressed for the duration preset time. For example, a user can start a video application program by clicking the video application program in the main interface of the intelligent terminal device, and enter a page corresponding to the video application program. When a user browses the video program page, the user wants to transmit certain video content to other application programs for display, and 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 wait for the completion of buffering by pressing the display area corresponding to the video file for a long time for several seconds.
And 104, acquiring the type of the buffered page information, and generating a file icon corresponding to the type of the buffered page information in the current page.
When the intelligent terminal detects that a user presses a specific display area in a current page of a display screen for a preset time, after triggering to buffer page information corresponding to the display area pressed by the user, the intelligent terminal obtains the type of the buffered page information and generates a file icon corresponding to the type of the buffered page information in the current page. Specifically, a user can select file information of a specific display area in a current page by pressing the specific display area in the display screen for a long time, when the file information is selected and buffering is completed, the intelligent terminal obtains an information type corresponding to the file information, and simultaneously generates a file icon corresponding to the information type of the buffered page in the current page. The page information may include multiple types of information in different pages, such as text information, picture information, and the like. The styles of the file icons can also be preset to be circular icons, rectangular icons, custom-shaped icons and the like according to the requirements of users.
And 106, jumping from the current page to a preset main interface when the file icon is detected to be dragged out of the current page.
After the file icon corresponding to the buffered page information type is generated in the current page, the user can move the file icon up, down, left and right in the current page. And when the intelligent terminal detects that the file icon is dragged out of the current page, jumping from the current page to a preset main interface. Specifically, the user can click the content of any area in the current application program page, the user can also select all information in the current application program page, and when the intelligent terminal detects that the user presses the display area of the current page for a preset time, the intelligent terminal is triggered to buffer the page information in the display area pressed by the user. Furthermore, the intelligent terminal generates a corresponding file icon in the page of the current application program according to the preset corresponding relation between the page information type and the file icon. And when the intelligent terminal detects that the file icon is dragged out of the page operation display area of the current application program by the user, the terminal automatically jumps the current page to a preset main interface. When a user moves a file icon out of the range of the operation display area of the preset application program page, namely when the file icon exceeds the preset size range, the terminal automatically jumps the current page to the set main interface. And the main interface can also set the corresponding display size of the main interface according to the requirements of the user.
And 108, in the main interface, when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface, triggering to display the file content corresponding to the file icon in the application program overlapped with the central area of the file icon.
And when the intelligent terminal detects that the file icon is dragged out of the current page by the user, the intelligent terminal automatically jumps to a preset main interface from the current application program page. In the main interface, when the intelligent terminal detects that the center area of the file icon is overlapped with the center area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the center area of the file icon. Specifically, in the main interface, icons corresponding to a plurality of different applications may be displayed simultaneously according to user preferences, for example, in an intelligent terminal device of the iOS operating system, icons of different types of applications in the main interface are displayed in a screen of the main interface as small icons of a square as default, and a center area coordinate of the icon is a coordinate of a center point of the square icon. When the intelligent terminal detects that the center area of the file icon is overlapped with the center area of at least one application program icon in the main interface, namely the coordinate parameter of the center area of the file icon and the coordinate parameter of the center area of another application program icon in the main interface are within a preset distance range, the content of the file corresponding to the file icon is automatically triggered to be displayed in the application program of which the coordinate parameter of the center area of the file icon is within the preset distance range. For example, when the intelligent terminal detects that the center area of the file icon overlaps with the center area of the instant messaging application icon in the main interface, that is, the coordinate parameter of the center area of the file icon and the coordinate parameter of the center area of the instant messaging application icon in the main interface are within a preset distance range, the file content is triggered to be automatically displayed in the instant messaging application program, further, a user can perform corresponding operation on the content corresponding to the file icon according to the function of the instant messaging application program, for example, the content corresponding to the file icon can be directly shared with friends in a contact list or directly published in a friend circle through a sharing function in the instant messaging application program.
In this embodiment, when the current page is browsed through the first application program, when it is detected that the display area in the current page is pressed for the preset time, buffering of page information corresponding to the display area is triggered. And acquiring the type of the buffered page information, and generating a file icon corresponding to the type of the buffered page information in the current page. Compared with the traditional file transmission mode, when the file icon is detected to be dragged out of the current page, the current page is automatically jumped to a preset main interface. In the main interface, when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the central area of the file icon. Therefore, when a user needs to send data in a certain application program to a plurality of application programs of different types, the triggering operation of the user in browsing the page in the first application program is detected in real time, when the user is detected to press the display area in the current page within the preset time, the page information corresponding to the display area pressed by the user is triggered to be buffered, meanwhile, the corresponding file icon is generated in the current page, the user can transmit the information in the specific application program to other application programs for displaying only by dragging the file icon, the complex operation flow and the large time consumption are avoided, the operation flow of file transmission is greatly simplified, and the rapid and effective file transmission among the application programs of different types is realized.
In one embodiment, the step of triggering buffering of page information corresponding to the display area includes:
the page information comprises video information, audio information, picture information and document information, the video information, the audio information, the picture information and the 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.
When the intelligent terminal detects that a user presses a specific display area in a current page of a display screen for a preset time, after triggering to buffer page information corresponding to the display area pressed by the user, the intelligent terminal obtains the type of the buffered page information and generates a file icon corresponding to the type of the buffered page information in the current page. The page information can comprise video information, audio information, picture information and document information, and when the types of the page information which is obtained and buffered by the intelligent terminal are the video information, the audio information, the picture information and the document information, corresponding video file icons, audio file icons, picture file icons and document file icons are automatically generated in the current page. Specifically, when the type of the cached page information acquired by the intelligent terminal is mixed information of video information, audio information, picture information and document information, a file icon for mixing video, audio, pictures and documents is automatically generated in the current page. The mixed file icon can be a file icon with a custom arbitrary shape and size. Therefore, the user can visually judge the cached file type through the size and the shape of the icon generated in the current application program, a complicated series of menu operations are avoided, and the files of different types can be quickly transmitted.
In one embodiment, as shown in FIG. 2, when it is detected that the center region of the file icon overlaps with the center region of at least one application icon in the host interface, the step includes:
And 204, when the position coordinate of the central area of the file icon is detected to be changed, acquiring the movement track data corresponding to the central area of the file icon.
In the main interface, when the intelligent terminal detects that the center area of the file icon is overlapped with the center area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the center area of the file icon. Specifically, the intelligent terminal acquires 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. When the intelligent terminal detects that the position coordinates of the central area of the file icon change, the intelligent terminal acquires the movement track data corresponding to the central area of the file icon. When the intelligent terminal detects that the position coordinate data of the central area of the at least one application program icon in the moving track data corresponding to the central area of the file icon is within the preset distance range, the intelligent terminal triggers the file content corresponding to the file icon to be displayed in the application program within the preset distance range from the position coordinate data of the central area of the file icon. Specifically, the intelligent terminal may use a pre-configured function program to solve the position information of the center area of the file icon generated in the current page, so as to obtain the information of the horizontal and vertical coordinates corresponding to the center area of the file icon. Furthermore, the intelligent terminal may track the abscissa and ordinate information of the central region of the file icon in real time by using a pre-configured function program, for example, the terminal may track the abscissa and ordinate information of the central region of the file icon in real time by using a mean shift method and an iteration method. When the intelligent terminal detects that the position coordinates of the central area of the file icon change, the intelligent terminal records the information of the horizontal and vertical coordinates 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. When the intelligent terminal detects that the position coordinate data of the central area of the at least one application program icon in the main interface in the moving track data corresponding to the central area of the file icon is within a preset distance range or is the same as the position coordinate data of the central area of the at least one application program icon in the main interface, the intelligent terminal automatically triggers the file content corresponding to the file icon to be displayed in the application program which is within the preset distance range or is the same as the position coordinate data of the central area of the file icon. For example, when the intelligent terminal detects that the moving 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-video entertainment application program icon in the main interface, the intelligent terminal automatically triggers the display of the file content corresponding to the file icon in the audio-video entertainment application program, can execute the corresponding function in the audio-video entertainment application program, and can perform personalized editing on the video content corresponding to the file icon. In addition, when the intelligent terminal detects that the moving track data corresponding to the file icon center area is the same as the position coordinate data of the icon center area of the audio-video entertainment application program and the online shopping application program in the main interface in sequence, the intelligent terminal automatically triggers the display of the file content corresponding to the file icon in the audio-video entertainment application program and the online shopping application program respectively, can execute the corresponding functions of the audio-video entertainment application program and the online shopping application program, and can perform personalized clipping on the video content corresponding to the file icon and identify and search on the article information in the video content. Therefore, when a user only needs to drag the file icon to the central area corresponding to the application program icons of different types, the file can be quickly and effectively transmitted among the application programs of different types, the complex operation process is avoided, a large amount of time is consumed, and the operation process of file transmission is greatly simplified.
In one embodiment, the method further includes a step of storing the file icon, specifically including:
and when the position coordinates of the central area of the file icon are not detected to be changed within the preset time range, moving the file icon to a blank area preset in the current main interface for storage.
After the file icon corresponding to the buffered page information type is generated in the current page, the user can move the file icon up, down, left and right in the current page. And when the intelligent terminal detects that the position coordinates of the central area of the file icon do not change within a preset time range, the file icon is moved to a blank area preset in the current main interface for storage. Specifically, corresponding parameters may be set in the configuration file in advance, for example, the preset time for the document icon to stay may be set to 30s, that is, when the intelligent terminal detects that the position coordinate of the center area of the document icon does not change within 30s, the document 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 moving operation or the moving operation is mistaken and not effectively recognized by the system, the terminal equipment can automatically store the buffered file icon into the blank area of the preset interface, and the stored file icon is directly dragged when the file transmission needs to be performed again, so that the complex operation flow and the large time consumption are avoided, and the operation flow of the file transmission is simplified.
In one embodiment, the method further includes a step of jumping from the current main interface to the next frame main interface, specifically including:
in the main interface, when the file icon is detected to be dragged out of the current main interface, jumping from the current main interface to the next frame of main interface.
After the file icon corresponding to the buffered page information type is generated in the current page, the user can move the file icon up, down, left and right in the current page. And when the intelligent terminal detects that the file icon is dragged out of the current page, jumping from the current page to a preset main interface. In the main interface, when the intelligent terminal detects that the file icon is dragged out of the current main interface, the intelligent terminal triggers the automatic skip from the current main interface to the next frame of main interface. Specifically, when a user drags the file icon for transmission, if no appropriate application program type is found in the current main interface, the file icon is dragged out of the operation display area of the current main interface, and the intelligent terminal is triggered to automatically jump to the next frame of main interface from the current main interface. When a user moves a file icon out of the operation display area range of the main interface, namely, when the size exceeds the preset size range, the terminal automatically jumps to the next frame of main interface from the current main interface. And the main interface can also set the corresponding interface display size according to the requirements of the user. Therefore, the user can browse the icons of the application programs in different types without a complicated series of menu operations, and the cached files can be quickly transmitted among the different application programs.
In one embodiment, the method further includes a step of removing the file icon in the current interface, which specifically includes:
and when the dragging of the file icon is released, clearing the file icon in the current interface.
After the file icon corresponding to the buffered page information type is generated in the current page, the user can move the file icon up, down, left and right in the current page. And when the intelligent terminal detects that the file icon is dragged out of the current page, automatically jumping from the current page to a preset main interface. In the main interface, when the intelligent terminal detects that the dragging of the file icon is released, the file icon is cleared in the current interface. Specifically, in the main interface, when the intelligent terminal detects that the dragging of the file icon is released, that is, the user does not need the buffered file icon at present, the intelligent terminal automatically clears the file icon in the current main interface by releasing the file icon dragged into the main interface by the user. Therefore, a series of complicated menu operations are avoided, the management of the transmission files can be realized, and the operation flow is greatly simplified.
It should be understood that although the various steps in the flow charts of fig. 1-2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-2 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 3, there is provided a file transfer apparatus including: a detection module 302, a generation module 304, a skip module 306, and a presentation module 308, wherein:
the detecting module 302 is configured to, when it is detected that a display area in a current page is pressed for a preset time while browsing the current page through a first application program, trigger buffering of page information corresponding to the display area.
The generating module 304 is 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 skipping module 306 is configured to skip from the current page to a preset main interface when it is detected that the file icon is dragged out of the current page.
The displaying module 308 is configured to, in the main interface, when it is detected that the center area of the file icon overlaps with the center area of at least one application icon in the main interface, trigger to display the file content corresponding to the file icon in the application program overlapping with the center area of the file icon.
In one embodiment, the page information includes video information, audio information, picture information, and document information. The generating module 304 is further configured to buffer the video information, the audio information, the picture information, and the document information, and generate a corresponding video file icon, audio file icon, picture file icon, and document file icon in the current page.
In one embodiment, the apparatus further comprises: and an acquisition module.
The acquisition module is used for acquiring the horizontal and vertical coordinate information of the central area of the file icon, tracking the horizontal and vertical coordinate information of the central area of the file icon in real time, and acquiring the moving track data corresponding to the central area of the file icon when detecting that the position coordinate of the central area of the file icon changes. The displaying module 308 is further configured to trigger displaying of file content corresponding to the file icon in the application program within the preset distance range from the position coordinate data of the file icon center area when it is detected that the position coordinate data of the at least one application program icon center area in the movement trajectory data corresponding to the file icon center area is within the preset distance range.
In one embodiment, the apparatus further comprises: and a storage module.
The storage module is used for moving the file icon to a blank area preset in the current main interface for storage when detecting that the position coordinate of the central area of the file icon does not change within a preset time range.
In one embodiment, the jump module 306 is further configured to jump from the current main interface to the next main interface in the main interface when it is detected that the file icon is dragged out of the current main interface.
In one embodiment, the apparatus further comprises: and a clearing module.
The clearing module is used for clearing the file icon in the current interface when the dragging of the file icon is released.
For the specific limitations of the file transfer device, reference may be made to the above limitations of the file transfer method, which are not described herein again. The modules in the file transmission device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 4. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement 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, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the steps of the above-described method embodiments being implemented when the computer program is executed by the processor.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method of file transfer, the method comprising:
when a current page is browsed through a first application program and when the situation that a display area in the current page is pressed for a preset time is detected, page information corresponding to the display area is triggered to be buffered;
acquiring the type of buffered page information, and generating a file icon corresponding to the type of the buffered page information in the current page;
when the file icon is detected to be dragged out of the current page, jumping from the current page to a preset main interface;
in the main interface, when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface, the file content corresponding to the file icon is triggered to be displayed in the application program overlapped with the central area of the file icon.
2. The method of claim 1, wherein the triggering the buffering of the page information corresponding to the display area comprises:
the page information comprises video information, audio information, picture information and document information;
and buffering the video information, the audio information, the picture information and the document information, and generating a corresponding video file icon, an audio file icon, a picture file icon and a document file icon in the current page.
3. The method of claim 1, wherein the detecting that the center region of the file icon overlaps with a center region of at least one application icon in the host interface comprises:
acquiring the horizontal and vertical coordinate information of the central area of the file icon, and tracking the horizontal and vertical coordinate information of the central area of the file icon in real time;
when the position coordinates of the central area of the file icon are detected to be changed, acquiring moving track data corresponding to the central area of the file icon;
and when detecting that the position coordinate data of the central area of the at least one application program icon in the movement track data corresponding to the central area of the file icon is within a preset distance range, triggering to display the file content corresponding to the file icon in the application program within the preset distance range from the position coordinate data of the central area of the file icon.
4. The method of claim 3, further comprising:
and when the position coordinates of the central area of the file icon are not detected to be changed within a preset time range, moving the file icon to a blank area preset in the current main interface for storage.
5. The method of claim 1, further comprising:
in the main interface, when the file icon is detected to be dragged out of the current main interface, jumping from the current main interface to the next frame of main interface.
6. The method of claim 5, further comprising:
and when the dragging of the file icon is detected to be released, clearing the file icon in the current interface.
7. A file transfer apparatus, characterized in that the apparatus comprises:
the device comprises a detection module, a display module and a buffer module, wherein the detection module is used for triggering to buffer page information corresponding to a display area when detecting that the display area in a current page is pressed for a preset time when the current page is browsed through a first application program;
the generating module is used for acquiring the type of the buffered page information and generating a file icon corresponding to the type of the buffered page information in the current page;
the skipping module is used for skipping from the current page to a preset main interface when the file icon is detected to be dragged out of the current page;
and the display module is used for triggering to display the file content corresponding to the file icon in the application program overlapped with the central area of the file icon when the central area of the file icon is detected to be overlapped with the central area of at least one application program icon in the main interface.
8. The document transfer apparatus according to claim 7, characterized in that the apparatus further comprises:
the acquisition module is used for acquiring the horizontal and vertical coordinate information of the central area of the file icon and tracking the horizontal and vertical coordinate information of the central area of the file icon in real time; when the position coordinates of the central area of the file icon are detected to be changed, acquiring moving track data corresponding to the central area of the file icon;
and the display module is used for triggering to display the file content corresponding to the file icon in the application program within the preset distance range from the position coordinate data of the file icon central area when the position coordinate data of the at least one application program icon central area in the movement track data corresponding to the file icon central area is detected to be within the preset distance range.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010532961.2A CN113805737B (en) | 2020-06-12 | 2020-06-12 | File transmission method, device, computer equipment and storage medium |
PCT/CN2021/098158 WO2021249279A1 (en) | 2020-06-12 | 2021-06-03 | File transmission method and apparatus, computer device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010532961.2A CN113805737B (en) | 2020-06-12 | 2020-06-12 | File transmission method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113805737A true CN113805737A (en) | 2021-12-17 |
CN113805737B CN113805737B (en) | 2023-11-14 |
Family
ID=78845265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010532961.2A Active CN113805737B (en) | 2020-06-12 | 2020-06-12 | File transmission method, device, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113805737B (en) |
WO (1) | WO2021249279A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103389860A (en) * | 2012-05-07 | 2013-11-13 | 观致汽车有限公司 | Interactive system and interactive method thereof |
CN106021032A (en) * | 2016-05-31 | 2016-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Data backup method, data backup device and mobile terminal |
CN108924035A (en) * | 2018-06-27 | 2018-11-30 | 维沃移动通信有限公司 | A kind of sharing files method and terminal |
US20190025999A1 (en) * | 2017-07-18 | 2019-01-24 | Google Inc. | Graphical icon manipulation |
-
2020
- 2020-06-12 CN CN202010532961.2A patent/CN113805737B/en active Active
-
2021
- 2021-06-03 WO PCT/CN2021/098158 patent/WO2021249279A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103389860A (en) * | 2012-05-07 | 2013-11-13 | 观致汽车有限公司 | Interactive system and interactive method thereof |
CN106021032A (en) * | 2016-05-31 | 2016-10-12 | 宇龙计算机通信科技(深圳)有限公司 | Data backup method, data backup device and mobile terminal |
US20190025999A1 (en) * | 2017-07-18 | 2019-01-24 | Google Inc. | Graphical icon manipulation |
CN108924035A (en) * | 2018-06-27 | 2018-11-30 | 维沃移动通信有限公司 | A kind of sharing files method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN113805737B (en) | 2023-11-14 |
WO2021249279A1 (en) | 2021-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10268658B2 (en) | Page loading method and system, and computer-readable storage medium | |
EP3091426B1 (en) | User terminal device providing user interaction and method therefor | |
KR20140018661A (en) | Mobile terminal and method for controlling thereof | |
CN106873844B (en) | Picture viewing method and device | |
CN112988006B (en) | Display method, display device, electronic equipment and storage medium | |
CN111596911A (en) | Method and device for generating control, computer equipment and storage medium | |
CN112269523B (en) | Object editing processing method and device and electronic equipment | |
CN105426049B (en) | A kind of delet method and terminal | |
CN113179205A (en) | Image sharing method and device and electronic equipment | |
CN112099706A (en) | Page display method and device, electronic equipment and computer readable storage medium | |
CN111813305A (en) | Application program starting method and device | |
CN113282213A (en) | Interface display method and device | |
CN114116098B (en) | Application icon management method and device, electronic equipment and storage medium | |
CN114397989A (en) | Parameter value setting method and device, electronic equipment and storage medium | |
CN114415886A (en) | Application icon management method and electronic equipment | |
CN114564134A (en) | Application icon display method and device | |
WO2024012508A1 (en) | Functional interface display method and apparatus | |
CN111324398A (en) | Recent content processing method, device, terminal and storage medium | |
US20230359343A1 (en) | Interface processing method and apparatus, electronic device, and computer-readable storage medium | |
CN110244889B (en) | Picture scaling method, device, terminal and storage medium | |
CN113805737B (en) | File transmission method, device, computer equipment and storage medium | |
CN107862728B (en) | Picture label adding method and device and computer readable storage medium | |
CN115981531A (en) | Page control method and device and electronic equipment | |
CN114296596A (en) | Information processing method, information processing apparatus, electronic device, and medium | |
CN113342222A (en) | Application classification method and device and electronic equipment |
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 |